body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #212121;
    width: 100%;
    overflow-x: hidden;
}

body.login-page {
    background: url(../images/login-background.png) no-repeat center;
}

body.AB-present.noadminbar {
    padding-top: 0 !important;
}

body.noadminbar .AB-parent {
    display: none;
}

main {
    width: 100vw;
    min-height: calc(100vh - 100px);
}

.side-bar {
    position: relative;
    width: 260px;
    padding: 5px 30px 5px 5px;
    transition: all 0.2s ease-in-out;
    flex: 0 0 auto;
}

.side-bar.collapsed {
    width: 80px !important;
    padding: 5px;
}

.side-bar .logo {
    margin: 0;
    display: flex;
    transition: all 0.2s ease-in-out;
}

.side-bar.collapsed .logo {
    opacity: 0;
}

.side-bar .collapse-link {
    position: absolute;
    width: 32px;
    height: 53px;
    top: 10px;
    right: 0;
    border-radius: 10px 0 0 10px;
    background: #FBFBFB;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear ease-in-out;
    z-index: 100;
}

.side-bar .collapse-link:after {
    content: '';
    background: url(../images/collapse.svg) no-repeat center;
    width: 18px;
    height: 12px;
    transition: all 0.2s ease-in-out;
}

.side-bar.collapsed .collapse-link:after {
    transform: rotate(180deg);
}

.side-bar>ul {
    margin: 20px 10px;
}

.side-bar.collapsed>ul {
    margin: 10px 0;
}

.side-bar>ul>li {
    border-top: 1px solid #267684;
    padding: 20px 5px;
}

.side-bar>ul>li:last-child {
    border-bottom: 1px solid #267684;
}

.side-bar.collapsed>ul>li {
    font-size: 0;
    margin: 0;
    padding: 20px 0;
    align-items: center;
    justify-content: center;
}

.side-bar.collapsed>ul>li>ul {
    display: none !important;
}

.side-bar.collapsed>ul>li {
    margin: 0;
}

.side-bar>ul ul {
    display: none;
    margin: 10px;
}

.side-bar:not(.collapsed)>ul li.active ul {
    display: block;
}

.side-bar li span {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    font-size: 18px;
}

.side-bar.collapsed li span {
    margin: 0;
}

.side-bar li.service span {
    background-color: #fff;
    -webkit-mask: url(../images/service.svg) no-repeat center;
    mask: url(../images/service.svg) no-repeat center;
}

.side-bar li.sales span {
    background-color: #fff;
    -webkit-mask: url(../images/sales.svg) no-repeat center;
    mask: url(../images/sales.svg) no-repeat center;
}

.side-bar li.manage span {
    background-color: #fff;
    -webkit-mask: url(../images/manage.svg) no-repeat center;
    mask: url(../images/manage.svg) no-repeat center;
}

.side-bar li {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.side-bar li li {
    font-size: 16px;
    font-weight: normal;
    height: 40px;
    align-items: center;
    display: flex;
}

.side-bar li a:hover {
    color: inherit;
}

.show-more,
.show-less {
    font-size: 14px;
    font-weight: bold;
    color: #A6E1EC;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.show-more:before,
.show-less:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/arrow-circle.svg) no-repeat center;
}

.show-less:before {
    transform: rotate(180deg);
}


/* test fixed sidebar */

.side-bar.bg-main-colour {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    z-index: 1000;
    background-color: #086575;
    overflow-y: auto;
}

.main-container {
    flex: auto;
    max-width: calc(100% - 260px);
    /*  */
    margin-left: 260px;
    /*  */
}

.collapsed+.main-container {
    max-width: calc(100% - 80px);
}

footer {
    height: 100px;
    width: 100vw;
    background: #E4E4E4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 16px;
    padding: 0 20px;
    color: #20A8C1;
}

#blade.show {
    z-index: 1000000;
}

body.login-page .main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    width: 530px;
}

.login-form>a {
    margin-left: auto;
    color: #086575;
    text-decoration: underline;
}

.login-form>form {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px #00000029;
    align-self: stretch;
    padding: 20px;
    border-radius: 10px;
}

.login-form>form>div.login-header {
    font-size: 20px;
    font-weight: bold;
    color: #086575;
    line-height: 60px;
    border-bottom: 1px solid #EEECEC;
    margin-bottom: 20px;
}

.login-form>form label {
    color: #086575;
    font-size: 13px;
    font-weight: bold;
}

.login-form>form button {
    width: 50%;
    font-weight: bold;
}

.section-header {
    background: #FBFBFB;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.section-header .section {
    display: flex;
    align-items: center;
    width: 150px;
    font-size: 18px;
    font-weight: bold;
}

.section-header .section span {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #fff;
}

.section-header .section.sales span {
    -webkit-mask: url(../images/sales.svg) no-repeat center;
    mask: url(../images/sales.svg) no-repeat center;
}

.section-header .section.service span {
    -webkit-mask: url(../images/service.svg) no-repeat center;
    mask: url(../images/service.svg) no-repeat center;
}

.section-header .section.manage span {
    -webkit-mask: url(../images/manage.svg) no-repeat center;
    mask: url(../images/manage.svg) no-repeat center;
}

.universal-search {
    width: 530px;
    position: relative;
}

.universal-search input {
    background: #fff url(../images/search.svg) no-repeat right 10px center;
    border-color: #F6F4F4;
    height: 50px;
}

.universal-search-results {
    position: absolute;
    top: calc(100% - 4px);
    z-index: 1000;
    width: 100%;
    border: 1px solid #20a8c1;
    border-width: 0 1px 1px;
    border-radius: 0 0 10px 10px;
    background: #fff;
    padding: 10px;
}

.universal-search-results h3 {
    text-transform: uppercase;
    color: #086575;
    line-height: 30px;
    margin-bottom: 10px;
    font-size: 14px;
}

.universal-search-results h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 5px;
    background: #20a8c1;
}

.universal-search-results a {
    display: block;
    margin: 3px 0;
    font-size: 12px;
    line-height: 20px;
}

.universal-search-results a:hover {
    background: #FBFBFB;
}

.logout {
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #5B5F60;
    align-items: center;
    gap: 10px;
}

.logout:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/logout.svg) no-repeat center;
}

.offcanvas-header .btn-close {
    position: absolute;
    left: -26px;
    top: calc(50% - 28px);
    width: 26px;
    height: 56px;
    border-radius: 10px 0 0 10px;
    border: #FBFBFB;
    border-width: 1px 0 1px 1px;
    background: #F6F6F6;
    padding: 0;
    opacity: 1;
    z-index: 100;
    outline: 0 !important;
    box-shadow: none !important;
}

.offcanvas-header .btn-close:before {
    content: '';
    background: #23B5CF;
    -webkit-mask: url(../images/collapse.svg) no-repeat center;
    mask: url(../images/collapse.svg) no-repeat center;
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}

.offcanvas.offcanvas-end {
    background-color: #F6F6F6;
    border-left-color: #FBFBFB;
    width: 66% !important;
}

.sub-section-container {
    padding: 20px;
}

.options {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.options>button {
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #F6F4F4;
    font-size: 14px;
    height: 60px;
}

.options>button:before {
    content: '';
    width: 30px;
    height: 30px;
    background-position: left center;
    background-repeat: no-repeat;
}

.options>button.search:before {
    background-image: url(../images/search.svg);
}

.options>button.views:before {
    background-image: url(../images/views.svg);
}

.options>button.export:before {
    background-image: url(../images/export.svg);
}

.options>button.add:before {
    background-image: url(../images/add.svg);
}

.options>button.archive:before {
    background-image: url(../images/archive.svg);
}

.options>button.merge:before {
    background-image: url(../images/merge.svg);
}

.options>button.edit-contact:before,
.options>button.edit-vehicle:before {
    background-image: url(../images/edit.svg);
}

.options>button.book-vehicle:before {
    background-image: url(../images/book.svg);
}

.options>button.job-vehicle:before {
    background-image: url(../images/add.svg);
}

.options>button.sell-vehicle:before {
    background-image: url(../images/sell.svg);
}

.options>button.sell-vehicle.delete:before {
    background-image: url(../images/delete.svg);
}

.options>button.resend-xero:before {
    background-image: url(../images/xero.svg);
    background-size: contain;
}

.options>button.date-range:before {
    background-image: url(../images/date-range.svg);
}

.options>div {
    width: 670px;
    border: 1px solid #167282;
    background: #FBFBFB;
    border-radius: 5px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    z-index: 100;
}

.options>div>div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 50px 20px 20px;
}

.options>div>div>a {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: url(../images/close.svg) no-repeat center;
}

#option-view>div>div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#option-view .view-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 10px 0;
}

#option-view .view-selector a {
    width: 170px;
    padding: 10px;
    margin-right: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    height: 40px;
    overflow: hidden;
}

#option-view .view-selector a:nth-child(3) {
    margin-right: 0;
}

.date-range-selector {
    width: 100%;
}

.date-range-selector h4 {
    text-transform: uppercase;
    font-size: 16px;
}

.date-range-selector input {
    width: 250px;
    margin-right: 120px;
}

.date-range-box {
    gap: 10px;
    margin: 10px 0;
}

.date-range-box>div:nth-child(1) {
    flex: auto;
    height: 300px;
}

.date-range-box>div:nth-child(2) {
    width: 100px;
    gap: 10px;
}

.date-range-box>div:nth-child(2) a {
    color: #23B5CF;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.search-form button {
    border-width: 1px;
    border-style: solid;
}

.search-header {
    display: flex;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    gap: 30px;
    margin: 10px 0;
}

.search-header>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-header>div a {
    width: 14px;
    height: 14px;
    background: url(../images/close.svg) no-repeat center;
    background-size: contain;
}

.search-table {
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #F5F3F3;
    overflow-x: auto;
    max-width: 100%;
    width: auto;
}

.search-table>* {
    width: fit-content;
    min-width: 100%;
}

.search-table .th,
.search-table .tr {
    display: flex;
    align-items: stretch;
    height: 60px;
    font-size: 13px;
}

.search-table .th {
    font-weight: bold;
    font-size: 12px;
}

.search-table .tr:nth-child(odd) {
    background: rgba(235, 252, 255, 1);
}

.search-table .tr:not(:last-of-type) {
    border-bottom: 1px solid #F3F1F1;
}

.search-table .tr[data-id] {
    cursor: pointer;
}

.search-table .tr.show {
    background: #f3fdff;
}

.search-table .tr.archived {
    background: #f6f6f6;
}

.search-table>*:first-child {
    border-radius: 5px 5px 0 0;
}

.search-table .td {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 0 5px;
    border-right: 1px solid #F3F1F1;
    margin: 10px 0;
    width: 120px;
    flex: 0 0 auto;
    overflow: hidden;
}

.search-table .td>span {
    max-height: 40px;
    overflow: hidden;
}

.search-table .th .td {
    border-right-color: #1A7F91;
}

.search-table .td:first-child {
    width: 50px;
    margin: 0;
    padding: 0;
}

.search-table .tr .td:first-child {
    background: #FBFBFB;
}

.search-table .td:last-child {
    border-right: 0;
}

.search-table .td.sortableHeader {
    cursor: pointer;
    display: flex;
}

.search-table .td.sortableHeader.sorting:after {
    content: '';
    width: 20px;
    height: 20px;
    background: url(../images/sort-arrow.svg) no-repeat center;
}

.search-table .td.notes {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-table .pager {
    width: 100%;
    border: 1px solid #F5F3F3;
    border-width: 1px 0 0 0;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 20px;
}

.search-table .pager a.prev,
.search-table .pager a.next {
    width: 30px;
    height: 30px;
    -webkit-mask: url(../images/nav-arrow.svg) no-repeat center;
    mask: url(../images/nav-arrow.svg) no-repeat center;
}

.search-table .pager a.next {
    transform: rotate(180deg);
}

.search-table .pager a.prev.inactive,
.search-table .pager a.next.inactive {
    background: #CBCECF;
}

.search-table .pager>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-table .pager>div>a {
    border-right: 1px solid #CBCECF;
    padding-right: 10px;
    font-size: 16px;
    color: #5B5F60;
    height: 16px;
    display: flex;
    align-items: center;
}

.search-table .pager>div>a:last-child {
    border-right: 0;
}

.search-table .pager>div>a.current-page {
    text-decoration: underline;
}

.search-table .dropdown-toggle {
    width: 50px;
    height: 50px;
    -webkit-mask: url(../images/menu.svg) no-repeat center;
    mask: url(../images/menu.svg) no-repeat center;
    transition: all 0.2s ease-in-out;
    outline: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

.search-table .dropdown-toggle.show {
    transform: rotate(90deg);
    background-color: #fff;
}

.search-table .dropdown-toggle:after {
    display: none;
    border: 0 !important;
}

.search-table .dropdown-item:focus,
.search-table .dropdown-item:hover {
    background: inherit;
    text-decoration: underline;
}

.search-table .dropdown-menu {
    border: 0;
    border-radius: 0;
    margin: 0;
}

.search-table-categories {
    border-top: 1px solid #F3F2F2;
    margin-top: 10px;
    display: flex;
    padding: 15px 15px 0;
    gap: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    align-items: center;
}

.search-table-categories a {
    position: relative;
}

.search-table-categories a.active:after {
    content: '';
    width: 0;
    height: 0;
    border: 6px solid #aaa;
    border-color: transparent transparent #aaa transparent;
    position: absolute;
    bottom: -11px;
    left: calc(50% - 6px);
}

.search-table.invoices .td:nth-child(2) {
    width: 200px;
}

.search-table.invoices .td:nth-child(3) {
    width: 500px;
}

.search-table.invoices .td:nth-child(4) {
    width: 100px;
    text-align: right;
}

.item-table {
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #F5F3F3;
}

.item-table .th,
.item-table .tr {
    display: flex;
    align-items: center;
    height: 60px;
    font-size: 13px;
}

.item-table .th {
    font-weight: bold;
    font-size: 12px;
}

.item-table .tr:not(:last-of-type) {
    border-bottom: 1px solid #F3F1F1;
}

.item-table>*:first-child {
    border-radius: 5px 5px 0 0;
}

.item-table .td {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 0 5px;
    border-right: 1px solid #F3F1F1;
}

.item-table .td>span {
    max-height: 40px;
    overflow: hidden;
}

.item-table .th .td {
    border-right-color: #1A7F91;
}

.item-table-header {
    border-radius: 5px 5px 0 0;
    background: #167282;
    padding: 0 20px;
    height: 90px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.item-table-header input {
    width: 500px;
    margin-left: auto;
}

.item-table-body>.tr:first-child {
    text-transform: uppercase;
    font-size: 16px;
    color: #086575;
    background: #F3F1F1;
}

.item-table-body .th,
.item-table-body .td {
    width: auto;
    padding: 0 5px;
    border-right: 1px solid #E9E8E8;
}

.item-table-body .td {
    height: 60px;
}

.item-table-body .td input {
    border: 0;
    width: 100%;
    height: 99%;
}

.item-table-body .removeLine {
    width: 30px;
    height: 30px;
    background: url(../images/delete.svg) no-repeat center;
}

.item-table-totals {
    background: #FBFBFB;
    padding: 20px 50px 20px 20px;
}

.item-table-footer {
    background: #F3F1F1;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}

.item-table-footer button {
    background: #23B5CF;
    color: #fff;
    font-size: 14px;
    height: 40px;
    width: 130px;
}

.partInfo {
    position: absolute;
    right: 30px;
    height: 100%;
    width: 20px;
    height: 20px;
    background: url(../images/info.svg) no-repeat center;
    background-size: contain;
    display: none;
}

.partRemove {
    position: absolute;
    right: 5px;
    height: 100%;
    width: 20px;
    height: 20px;
    background: url(../images/close.svg) no-repeat center;
    background-size: contain;
    display: none;
}

.new-line {
    border: 1px solid #20A8C1;
    font-size: 14px;
    font-weight: bold;
    color: #20A8C1;
}

.new-line:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/new-line.svg) no-repeat center;
}

.handle {
    display: flex;
    padding: 0 !important;
    margin: 0;
    background: #F3F1F1;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #E9E8E8 !important;
    border-width: 0 1px !important;
    cursor: move;
}

.duplicate-warning:not(:empty) {
    display: flex;
    height: 30px;
    align-items: center;
    gap: 5px;
    margin: 2px 0;
    padding: 0 5px;
    font-size: 12px;
    background: #C23474;
    color: #fff;
    border-radius: 0.375rem;
}

.duplicate-warning:not(:empty):before {
    content: '';
    width: 20px;
    height: 20px;
    background: url(../images/important.svg) no-repeat center;
}

.KPIs {
    margin: 0 0 10px;
    background: #FBFBFB 0% 0% no-repeat padding-box;
    border: 1px solid #F6F4F4;
    border-radius: 5px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 1px;
    max-width: 100%;
}

.KPIs>div {
    display: flex;
    align-items: center;
    min-height: 38px;
    overflow: hidden;
    flex-wrap: wrap;
}

.KPIs>div>div {
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    border-right: 1px solid #F2F1F1;
    padding: 0 20px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.KPIs>div>div>div {
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    border-right: 1px solid #F2F1F1;
    padding: 0 20px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.KPIs>a {
    width: 30px;
    height: 30px;
    background: url(../images/collapse.svg) no-repeat center;
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out;
}

.KPIs>div.show+a {
    transform: rotate(0);
}

.divider {
    margin: 30px 0;
    height: 2px;
    background: #F1F1F1;
}

.ready-for-sale {
    display: flex;
    height: 40px;
    margin: 10px 0;
    align-items: center;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    gap: 0px;
}

.ready-for-sale:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/ready.svg) no-repeat left center;
}

.ready-for-sale:after {
    content: 'Ready for Sale';
    color: #15C550;
}

.ready-for-sale.notready:before {
    background: url(../images/notready.svg) no-repeat left center;
}

.ready-for-sale.notready:after {
    content: 'Not Ready for Sale';
    color: #167282;
}

.vehicle-image,
.dealer-image {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.vehicle-image>div,
.dealer-image>div {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.vehicle-image a,
.dealer-image a {
    position: absolute;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 40px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    gap: 5px;
    right: 0;
    bottom: 0;
}

.vehicle-image a:before,
.dealer-image a:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url(../images/edit-round.svg) no-repeat left center;
    background-size: contain;
}

.vehicle-image .objLoading,
.dealer-image .objLoading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.125);
}

.vehicle h3 {
    position: relative;
}

.vehicle h3>a {
    width: 30px;
    height: 30px;
    background: url(../images/edit-round.svg) no-repeat center;
    position: absolute;
    right: 0px;
    top: 0px;
    background-size: contain;
}

.note {
    background: #fff;
    padding: 10px;
    border: 1px solid #EEEEEE;
    border-radius: 5px;
    margin-top: 10px;
}

.note-header {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.search-table.stock .td:last-child {
    margin-left: auto;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.hasNotes {
    width: 20px;
    height: 30px;
    background: url(../images/note.svg) no-repeat center;
}

.accordion {
    border-radius: 0;
}

.accordion-item {
    border-radius: 0 !important;
    margin-bottom: 10px;
    border-top: 1px solid rgb(222, 226, 230) !important;
}

.accordion-header {
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
}

.accordion-header button {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-transform: uppercase !important;
    background: none !important;
    transform: none !important;
    padding: 0 10px;
    height: 60px;
    box-shadow: none !important;
}

.accordion-header button .missing-fields {
    margin-left: 10px;
    color: #900;
}

section {
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #F6F4F4;
    background: #FBFBFB;
    margin: 10px 0;
}

.object-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 5px;
    font-size: 15px;
    color: #0B3A42;
    margin-bottom: 10px;
}

.object-data label {
    font-size: 13px;
    font-weight: bold;
}

.objFields label {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #0B3A42;
}

.contact h1 {
    text-transform: capitalize;
}

.contact-vehicles>div>div {
    background: #fff;
    padding: 0 5px;
    margin: 2px 0;
    height: 30px;
}

.contact-vehicles>div>div>div:first-child {
    width: 150px;
}

.contact-vehicles>div>div>a {
    width: 30px;
    height: 30px;
    background: url(../images/delete.svg) no-repeat center;
    margin-left: auto;
}

.contact-services>div>div>div:first-child {
    width: 150px;
}

.contact-services>div>div>div:nth-child(2) {
    width: 100px;
}

.contact-services>div>div>a {
    width: 30px;
    height: 30px;
    background: url(../images/search.svg) no-repeat center;
    margin-left: auto;
}

.contact-parts>div>div>div:first-child {
    width: 150px;
}

.contact-parts>div>div>div:nth-child(2) {
    width: 100px;
}

.contact-parts>div>div>a {
    width: 30px;
    height: 30px;
    background: url(../images/search.svg) no-repeat center;
    margin-left: auto;
}

.purchase .row,
.purchase .form-group,
.job-card .row,
.job-card .form-group {
    margin-bottom: 10px;
}

.job-card .item-table-header .row {
    margin: 0;
}

.job-card .item-table-header .templateBox,
.job-card .item-table-header .saveTemplateBox {
    width: 200px;
}

.saveTemplateBox a {
    color: #fff !important;
}

.purchase label:not(.form-check-label),
.job-card label:not(.form-check-label) {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 30px;
}

.purchase input:not([type=radio]),
.purchase select,
.job-card input:not([type=radio]),
.job-card select {
    height: 58px;
}

#newContact {
    position: absolute;
    z-index: 100;
}

#newContact>div {
    display: flex;
    align-items: center;
    height: 30px;
    gap: 10px;
    font-size: 14px;
}

#newContact>div>span {
    text-transform: uppercase;
    color: #C23474;
    font-weight: bold;
}

#newContact>div>a {
    text-decoration: underline;
}

#contactAutocomplete,
.partAutocomplete,
.jobAutocomplete,
.costAutocomplete,
#jobcardAutocomplete {
    position: absolute;
    z-index: 100;
    top: 100%;
}

.partAutocomplete,
.jobAutocomplete,
.costAutocomplete,
#jobcardAutocomplete {
    top: 100%;
}

#contactAutocomplete.show,
.partAutocomplete.show,
.jobAutocomplete.show,
.costAutocomplete.show,
#jobcardAutocomplete.show {
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

#contactAutocomplete a,
.partAutocomplete a,
.jobAutocomplete a,
.costAutocomplete a,
#jobcardAutocomplete a {
    background: #efefef;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin: 0 0 2px 0;
}

#contactAutocomplete a:hover,
.partAutocomplete a:hover,
.jobAutocomplete a:hover,
.costAutocomplete a:hover,
#jobcardAutocomplete a:hover {
    background: #086575;
    color: #fff;
}

#contactAutocomplete p {
    padding: 10px;
    margin: 0;
}

.autoPartContainer a {
    color: #23B5CF;
}

.editPart a {
    width: 20px;
    height: 20px;
    background: url(../images/edit-round.svg) no-repeat center;
    background-size: contain;
    display: block;
    margin-right: 5px;
}

.reset-password-result {
    margin: 10px 0;
    font-size: 20px;
}

.reset-password-result span {
    font-weight: bold;
    color: #086575;
}

.custom-tabs {
    gap: 20px;
    margin-bottom: 10px;
}

.custom-tabs>button {
    color: #A6E1EC;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.custom-tabs>button:not(.collapsed) {
    background: #E0F4F8;
    color: #086575;
}

.option-dropdown>div>div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.option-dropdown>div>div>input {
    width: 0;
    flex: auto;
}

.option-dropdown>div>div>a {
    width: 30px;
    height: 30px;
    background: url(../images/delete.svg) no-repeat center;
}

.traffic-lights {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.traffic-lights>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.traffic-lights>div>label {
    border-radius: 50%;
    border: 1px solid #0B3A42;
    width: 22.5px;
    height: 22.5px;
}

.objFields .traffic-lights>div>label {
    width: 34px;
    height: 34px;
    margin: 10px 0;
}

.traffic-lights>div>label.green {
    background: #05C812;
}

.traffic-lights>div>label.orange {
    background: #F2D40E;
}

.traffic-lights>div>label.red {
    background: #FF0D0D;
}

.traffic-lights > div > label.x {
  background: brown;
  position: relative;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  line-height: 34px;
}

.traffic-lights > div > label.x::after {
  content: 'X';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vehicle-costs .accordion-button span {
    margin-left: auto;
}

.vehicle-costs .accordion-button:after {
    margin-left: 30px;
}

.vehicle-costs>.accordion>.accordion-item>.accordion-header,
.service-costs>.accordion>.accordion-item>.accordion-header {
    font-weight: bold;
}

.vehicle-costs>.accordion>.accordion-item>.accordion-collapse {
    padding: 10px;
}

.paymentMethod>strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #086575;
    text-transform: uppercase;
    width: 160px;
    flex: 0 0 auto;
}

.paymentMethod>strong:before {
    content: '';
    width: 20px;
    height: 20px;
    -webkit-mask: url(../images/credit-card.svg) no-repeat left center;
    mask: url(../images/credit-card.svg) no-repeat left center;
    background-size: contain;
    background-color: #086575;
}

.paymentMethod>span {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.paymentMethod.active {
    background: #e8fbff !important;
    border-color: rgba(0, 0, 0, 0.125);
    color: inherit;
}

.addPaymentMethod,
.changePlan {
    margin-left: auto;
}

.vehicle-mini-details {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #5B5F60;
}

.vehicle-mini-details .vehicle-image {
    width: 100px;
    flex: 0 0 auto;
}

.book-customer .col-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #20A8C1;
}

.book-customer input[type=text] {
    height: 60px;
    padding-left: 90px;
    border: 1px solid #CBCECF !important;
}

.book-customer>.col-4>span {
    position: absolute;
    width: 80px;
    height: 60px;
    top: 0;
    left: 10px;
    border-radius: 5px 0 0 5px;
    background: #FBFBFB url(../images/contact.svg) no-repeat center;
    border: 1px solid #CBCECF;
}

.create-customer {
    display: flex;
    align-items: center;
    height: 60px;
    border: 1px solid #1D93A8;
    background: #fff;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    font-size: 20px;
    justify-content: center;
    color: #20A8C1;
}

.item-table-footer button {
    margin-left: 10px;
    width: 140px;
    font-size: 14px;
}

.attach-file {
    border: 1px solid #20A8C1;
    font-size: 14px;
    font-weight: bold;
    color: #20A8C1;
    margin-left: 10px;
}

.attach-file:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/attach.svg) no-repeat center;
}

.job-files {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
}

.job-files a.delete,
.customerFaults a {
    width: 20px;
    height: 20px;
    background: url(../images/close.svg) no-repeat center;
    background-size: contain;
    margin-left: 30px;
}
.editFault {
    background-image: url(../images/edit.svg) !important;
}
.job-card .item-table-header {
    font-size: 14px;
}

.printJobcard {
    width: 30px;
    height: 30px;
    background: url(../images/print.svg) no-repeat center;
}

.job-card .item-table textarea {
    border: 0;
    width: 100%;
    height: auto;
    padding: 0;
    font-size: 14px;
    font-family: inherit;
    resize: none;
}

.customerFaults {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.customerFaults>div {
    background: #fff;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-card .vehicle-mini-details {
    flex-direction: column;
    align-items: flex-start;
}

.job-card .vehicle-mini-details>div:nth-child(2) {
    font-size: 14px;
}

.job-card .vehicle-mini-details>div:nth-child(2) a {
    color: #20A8C1;
    text-decoration: underline;
}

.job-card .vehicle-mini-details>div {
    width: 100%;
}

.scheduled-event {
    background: #fff;
    margin: 2px 0;
    padding: 0 5px;
    display: flex;
    flex-direction: column;
}

.scheduled-event>div:first-child {
    width: 100%;
    display: flex;
    align-items: center;
    height: 46px;
}

.scheduled-event>div>button {
    margin-left: auto;
    border: 1px solid #20A8C1;
    color: #20A8C1;
}

.scheduled-event>div>a {
    margin-left: auto;
    border: 1px solid #20A8C1;
    width: 40px;
    height: 40px;
    background: url(../images/search.svg) no-repeat center;
    background-size: 50%;
    border-radius: 4px;
    margin-right: 5px;
}

.scheduled-event>div:first-child>div:first-child {
    width: 200px;
}

.scheduled-event>div:first-child>div:nth-child(2) {
    width: 150px;
}

.scheduled-event>div:first-child>div:nth-child(3) {
    width: auto;
    flex: auto;
}

.scheduled-event>div:first-child>div:nth-child(4) {
    width: 150px;
}

.scheduled-event>div:nth-child(2)>div {
    display: flex;
    margin: 0 20px;
}

.scheduled-event>div:nth-child(2)>div>div:first-child {
    width: 200px;
}

.scheduled-event>div:nth-child(2)>div>div:nth-child(2) {
    width: 300px
}

.scheduled-event>div:nth-child(2)>div>div:nth-child(3) {
    width: 200px;
}

.chooseVehicle {
    height: 60px;
}

.warning,
.info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.warning:before,
.info:before {
    content: '';
    width: 20%;
    background: url(../images/warning.svg) no-repeat center;
    height: 60px;
}

.info:before {
    background: url(../images/info.svg) no-repeat center;
    color: #0B3A42;
}

.info>div {
    font-size: 24px;
    color: #0B3A42;
}

.warning div {
    font-size: 24px;
    color: #20A8C1;
}

.info a,
.warning a {
    font-size: 14px;
    color: #23B5CF;
    text-decoration: underline;
}

.field-picker {
    display: flex;
    align-items: stretch;
}

.field-picker>ul {
    width: 45%;
    min-height: 300px;
    border: 1px solid #ccc;
}

.field-picker>div:nth-child(2) {
    width: 10%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #23B5CF;
}

.templateBox {
    position: relative;
}

.templateList {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #CBCECF;
    box-shadow: 0px 0px 6px #00000029;
}

.templateBox>a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff !important;
}

.templateBox>a:after {
    content: '';
    width: 20px;
    height: 20px;
    background: url(../images/blue-arrow-down.svg) no-repeat center;
    transition: all 0.2s ease-in-out;
}

.templateBox>a.open:after {
    transform: rotate(180deg);
}

.template {
    display: flex;
    color: #23B5CF;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 5px;
}

.template>a {
    color: #000;
}

.rules>div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 5px 0;
}

.rules>div.condition {
    justify-content: center;
}

.rules>div.condition>select {
    width: calc(20% - 15px);
    margin: 0 30px 0 0;
}

.rules>div>select,
.actions>div>select {
    width: 40%;
}

.rules>div>div,
.actions>div>div {
    width: 40%;
}

.rules>div>a,
.actions>div>a {
    margin-left: auto;
}

.rules>div>select[data-field=option] {
    width: 20%;
}

.actions>div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 5px 0;
}

.loading:after {
    content: '';
    display: block;
    position: absolute;
    right: 20px;
    top: 45px;
    z-index: 100;
    width: 30px;
    height: 30px;
    border: 2px solid #f3f3f3;
    /* Light grey */
    border-top: 2px solid #3498db;
    /* Blue */
    border-radius: 50%;
    margin: auto;
    animation: spin .5s linear infinite;
    flex: 0 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 28px;
    line-height: 38px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

h2 {
    font-size: 24px;
    line-height: 34px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h4 {
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h5 {
    font-size: 16px;
    line-height: 26px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h1 span {
    font-weight: normal;
}

input,
select,
textarea {
    box-shadow: none !important;
}

button {
    border: 0;
    border-radius: 4px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    justify-content: center;
    background: #FBFBFB;
    color: #1A7F91;
}

.cancelButton,
.saveButton {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    min-width: 180px;
    height: 60px;
    margin-right: 10px;
}

.cancelButton {
    border: 1px solid #ddd;
}

.hidden {
    display: none;
}

#snackbar {
    visibility: hidden;
    text-align: center;
    position: fixed;
    z-index: 10000000;
    top: 30px;
    left: 50%;
    width: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.emptyLoader:empty:not(.hidden) {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: center;
}

.emptyLoader:empty:after {
    content: '';
    border: 2px solid #f3f3f3;
    /* Light grey */
    border-top: 2px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: auto;
    animation: spin .5s linear infinite;
    flex: 0 0 auto;
}

.mc-box {
    display: flex;
    align-items: stretch;
    position: relative;
}

.mc-box.contact-lookup {
    flex-direction: column;
}

.mc-logo {
    background: #FBFBFB url(../images/motorcheck.png) no-repeat center;
    background-size: contain;
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    border: 1px solid #CBCECF;
    border-width: 1px 0 1px 1px;
    border-radius: 5px 0 0 5px;
}

.mc-lookup {
    position: relative;
    width: 200px;
    height: 80px;
    border: 1px solid #1D93A8;
    background: #23B5CF;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff !important;
    flex: 0 0 auto;
    border-radius: 0 5px 5px 0;
    text-align: center;
    justify-content: center;
}

.mc-box input {
    height: 80px !important;
    border: 1px solid #CBCECF;
    border-width: 1px 0 1px 1px;
    flex: auto;
}

.mc-box input.autoContact {
    border-width: 1px;
}

.grouped {
    display: flex;
    align-items: stretch;
}

.grouped input {
    border-radius: 5px 0 0 5px;
    border-right: 0;
    margin: 0;
}

.grouped select {
    width: 75px;
    flex: 0 0 auto;
    border-radius: 0 5px 5px 0;
    margin: 0;
}

.modal-header {
    flex-direction: column-reverse;
    align-items: center;
    border: 0;
}

.modal-header .btn-close {
    background: url(../images/delete.svg) no-repeat center;
    width: 30px;
    height: 30px;
}

.modal-body {
    text-align: center;
}

.modal-footer {
    justify-content: center;
    border: 0;
}

.modal-footer button.btn-primary {
    background: rgba(32, 168, 193, 1);
    border-color: rgba(32, 168, 193, 1);
}

.modal.show {
    background: rgba(0, 0, 0, .72);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

#option-view>div>div>a {
    text-decoration: underline;
    color: #23B5CF;
}

.options>button.active {
    border-color: #167282;
}

.contact-details section a,
.changeCustomer {
    color: #23B5CF;
}

.contact-name {
    font-size: 24px;
    color: #20A8C1;
    text-decoration: underline;
}

.contact-address,
.contact-phone,
.contact-email {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.contact-address:not(:empty):before {
    content: '';
    width: 14px;
    height: 14px;
    background: url(../images/contact-address.svg) no-repeat left center;
}

.contact-phone:not(:empty):before {
    content: '';
    width: 14px;
    height: 14px;
    background: url(../images/contact-phone.svg) no-repeat left center;
}

.contact-email:not(:empty):before {
    content: '';
    width: 14px;
    height: 14px;
    background: url(../images/contact-email.svg) no-repeat left center;
}

.otherViewers>div {
    margin: 10px 10px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background: #ff0000;
    color: #fff;
}

.search-table .th {
    z-index: 900;
    transition: top 0.3s;
}

.th.sticky {
    position: fixed;
    top: 0;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
    background-color: #0056b3;
}

.highlight {
    border: 2px solid red !important;
    background-color: #ffe6e6;
    }

.highlight:focus {
    outline: 2px solid red;
}