/**
Lifting By Design Pty Ltd.

Primary:        #0070c0 (Blue)
Primary #2:     #001D3A (Dark Blue)
Secondary:      #00b0f0 (Light Blue)

*/

body  {font-family: 'Verdana', sans-serif !important;}

a {
    color: #0070c0;
}
a:hover {
    color: #00b0f0;
}

.btn-primary {
    background-color: #0070c0;
    border-color: #0070c0;
}
.btn-primary:hover {
    background-color: #005FA3;
    border-color: #005FA3;
}

.popover {
    z-index: 99999 !important
}

.btn-soft-primary {
    background-color: rgba(0,112,192,.25);
    border-color: rgba(0,112,192,.25);
    color: #0070c0;
}
.btn-soft-primary:hover {
    color: #0070c0;
}


.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #0070c0;
    border-color: #0070c0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.stick-ontop {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 150px !important;
    z-index:9999 !important;
    align-self: flex-start;
    height: auto;
}

.btn-soft-success:hover {
    color: #2BA176;
}
.btn-soft-danger:hover {
    color: #F25454;
}


.btn-primary.disabled, .btn-primary:disabled {
    background-color: #0070c0;
    border-color: #0070c0;
}

.text-primary {
    color: #0070c0 !important;
}

.authentication-bg {
    background-image: url('/themes/lbd/images/login-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-color: #001D3A;
}


body[data-layout=horizontal][data-topbar=colored] #page-topbar {
    background: #001D3A;
    background: linear-gradient(180deg, rgba(40, 69, 98, 1) 0%, rgba(60, 89, 118, 61) 60%, rgba(150, 150, 150, 1) 100%);
}

#page-topbar {
    position: relative;
}
#page-topbar > .container {
    width: fit-content;
}

.topnav {
    background: #0070c0 !important;
    color: #FFFFFF !important;
}
.topnav .navbar-nav .nav-item .nav-link {
    color: #FFFFFF;
}
.topnav .navbar-nav .nav-item .nav-link.active {
    background: #f5f6f8 !important;
    color: #0070c0;
}

.topnav .navbar-nav .nav-item:first-child .nav-link.active,
.topnav .navbar-nav .nav-item:first-child .nav-link:focus,
.topnav .navbar-nav .nav-item:first-child .nav-link:hover {
    border-radius: 4px 0 0 4px;
}
.topnav .navbar-nav .nav-item:last-child .nav-link.active,
.topnav .navbar-nav .nav-item:last-child .nav-link:focus,
.topnav .navbar-nav .nav-item:last-child .nav-link:hover{
    border-radius: 0 4px 4px 0;
}


.topnav .navbar-nav .nav-link:focus, .topnav .navbar-nav .nav-link:hover {
    background: #005C9F !important;
    color: #FFFFFF;
}
.topnav .navbar-nav .nav-link {
    font-size: 12px !important;
    padding: 0.5rem 0.8rem !important;
}


.topnav .navbar-nav .dropdown-item.active, .topnav .navbar-nav .dropdown-item:hover {
    color: #0070c0;
}
.topnav .navbar-nav .dropdown.active>a {
    color: #0070c0;
    background:#f5f6f8;
}

/**
CUSTOM SPINNERS AND STYLING
**/


.sk-rotating-plane, .sk-double-bounce .sk-child, .sk-wave .sk-rect, .sk-wandering-cubes .sk-cube, .sk-spinner-pulse,
.sk-chasing-dots .sk-child, .sk-three-bounce .sk-child, .sk-circle .sk-child:before, .sk-cube-grid .sk-cube,
.sk-fading-circle .sk-circle:before, .sk-folding-cube .sk-cube:before {
    background-color: #64c5b1; }

.sk-fading-circle .sk-circle {
    margin-top: 0; }

table#jobItems thead tr th,table#quoteItems thead tr th {
    font-size: 11px!important;
}

table#jobItems tbody tr td,table#quoteItems tbody tr td {
    padding-top:0px!important;
    padding-bottom:0px!important;
}

.sk-three-bounce.small {
    margin: 0.5px auto;
    width: 80px;
    text-align: center;
}

.sk-three-bounce.small .sk-child {
    width:10px !important;
    height:10px !important;
}
.sk-three-bounce.white .sk-child {
    background-color:rgba(255,255,255, 0.65) !important;
}


.alert-solid.alert-success {
    background-color: #10b759;
    border-color: #10b759;
}
.alert-solid.alert-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}
.alert-solid.alert-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}
.alert-solid.alert-info {
    background-color: #00b8d4;
    border-color: #00b8d4;
}

.alert-solid:not(.alert-secondary), .alert-solid:not(.alert-light) {
    color: #fff;
}

.text-underline {
    text-decoration: underline !important;
}
.text-underline-dotted {
    border-bottom: 1px dotted #444;
    text-decoration: none !important;
}

table.narrowRows tbody tr td,table.narrowRows tbody tr th {
    padding-top: 3px;
    padding-bottom: 3px;
}

/**
=======================================================================================
\\\                             PLACEHOLDER ANIMATIONS                              \\\
=======================================================================================
*/

@keyframes shimmer {
    0% {
        background-position: -400px 0; }
    100% {
        background-position: 400px 0; } }

.placeholder-paragraph .line {
    position: relative;
    width: 87%;
    margin: 20px 0; }
.placeholder-paragraph .line, .placeholder-paragraph .line::before, .placeholder-paragraph .line::after {
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: #f4f5f8;
    background: linear-gradient(to right, #e3e7ed 8%, #cdd4e0 18%, #e3e7ed 33%);
    background-size: 800px 10px;
    height: 8px; }
.placeholder-paragraph .line::before, .placeholder-paragraph .line::after {
    content: '';
    position: absolute;
    left: 0; }
.placeholder-paragraph .line::before {
    top: -20px;
    width: 84%; }
.placeholder-paragraph .line::after {
    bottom: -20px;
    width: 64%; }
.placeholder-paragraph .line + .line {
    margin-top: 52px;
    width: 93%; }
.placeholder-paragraph .line + .line::before {
    width: 88%; }
.placeholder-paragraph .line + .line::after {
    width: 36%; }

.placeholder-paragraph.aligned-centered {
    display: flex;
    flex-direction: column;
    align-items: center; }
.placeholder-paragraph.aligned-centered .line::before {
    margin-left: 50%;
    left: -42%; }
.placeholder-paragraph.aligned-centered .line::after {
    margin-left: 50%;
    left: -32%; }
.placeholder-paragraph.aligned-centered .line + .line {
    margin-top: 32px; }
.placeholder-paragraph.aligned-centered .line + .line::before {
    left: -44%; }
.placeholder-paragraph.aligned-centered .line + .line::after {
    left: -18%; }

.placeholder-paragraph.aligned-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; }
.placeholder-paragraph.aligned-right .line::before, .placeholder-paragraph.aligned-right .line::after {
    left: auto;
    right: 0; }
.placeholder-paragraph.aligned-right .line + .line {
    margin-top: 32px; }

.placeholder-media .line {
    position: relative;
    margin-top: 8px;
    margin-bottom: 25px;
    margin-left: 70px;
    height: 16px; }
.placeholder-media .line::before {
    content: '';
    position: absolute;
    top: -11px;
    left: -70px;
    width: 55px;
    height: 55px;
    border-radius: 100%; }
.placeholder-media .line::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 65%;
    height: 8px; }
.placeholder-media .line, .placeholder-media .line::before, .placeholder-media .line::after {
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: #e3e7ed;
    background: linear-gradient(to right, #e3e7ed 8%, #cdd4e0 18%, #e3e7ed 33%);
    background-size: 800px 10px; }

.placeholder-media.company {
    padding:20px;
}

.placeholder-media.company .line {
    position: relative;
    margin-top: 15px;
    margin-bottom: 25px;
    margin-left: 96px;
    height: 20px; }
.placeholder-media.company .line::before {
    content: '';
    position: absolute;
    top: -35px;
    left: -116px;
    width: 96px;
    height: 96px;
    border-radius: 100%; }
.placeholder-media.company .line::after {
    content: '';
    /*display:none !important;*/
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 65%;
    height: 10px; }

/****/
/****/
/****/
.placeholder-media.company-users {
    padding:0px;
}

.placeholder-media.company-users .line {
    position: relative;
    /*margin-top: 15px;*/
    margin-bottom: 25px;
    margin-left: 53px;
    height: 20px; }
.placeholder-media.company-users .line::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -53px;
    width: 40px;
    height: 40px;
    border-radius: 100%; }
.placeholder-media.company-users .line::after {
    content: '';
    /*display:none !important;*/
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 65%;
    height: 10px; }
/****/
/****/
/****/

.placeholder-row .line {
    position: relative;
    width: 100%;
    margin: 2px 0; }
.placeholder-row .line, .placeholder-row .line::before, .placeholder-row .line::after {
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: #f4f5f8;
    background: linear-gradient(to right, #e3e7ed 8%, #cdd4e0 18%, #e3e7ed 33%);
    background-size: 800px 10px;
    height: 13px; }
.placeholder-row .line::before, .placeholder-row .line::after {
    content: '';
    position: absolute;
    left: 0; }
/*.placeholder-row .line::before {
    top: -20px;
    width: 84%; }
.placeholder-row .line::after {
    bottom: -20px;
    width: 64%; }*/
.stickME {
    position: -webkit-sticky !important;
    z-index:150!important;
    position: sticky !important;
    top: 0; /* This will be overridden by JavaScript */
    align-self: flex-start;
    /*height: auto;*/
}
header.stickME,
header .stickME {
    z-index:250!important;
}

/* Ensure sticky elements have proper backgrounds */
.job-items-header.stickME {
    background-color: #fff !important;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0 !important;
}

table#jobItems thead.stickME,
table#quoteItems thead.stickME {
    background-color: #f8f9fa !important;
    z-index: 152 !important;
    position: sticky !important;
}

table#jobItems thead.stickME th,
table#quoteItems thead.stickME th {
    background-color: #f8f9fa !important;
    border-bottom: 2px solid #dee2e6;
}

/* Ensure tbody doesn't overlap with sticky thead */
table#jobItems thead.stickME + tbody,
table#quoteItems thead.stickME + tbody {
    position: relative;
    z-index: 149;
}

table#jobItems thead.stickME + tbody tr:first-child td,
table#quoteItems thead.stickME + tbody tr:first-child td {
   /* padding-top: 66px !important;  Increased padding to ensure no overlap */
    border-top: none;
}

.main-content {
    overflow: initial !important;
}

.dropdown-menu {z-index:999!important;}

.btn-light._bordered{border-color:#cccccc !important;}
.btn-light._bordered:hover{border-color:#cccccc;background-color:#E7E9EE;}

.ui-state-highlight { background-color:#EAEDF0; border-color:transparent !important; }

table .collapse.in {
    display:table-row;
}

table thead.coh_subItems_borderTop {
    border-top: 1px solid #e0e0e0;
}
table tfoot.coh_subItems_borderBottom {
    border-bottom: 1px solid #e0e0e0;
}

.popover {max-width: 500px !important;width:300px; z-index:99999 !important;}
#popover-container {z-index:99999 !important;}

.hoverHand {cursor:pointer;}


/**
CUSTOM DROPZONE STYLING FOR UPLOADS
*/

.COHdropzone, .COHdropzone * {
    box-sizing: border-box; }

.COHdropzone {
    min-height: 150px;
    border: 2px dotted rgba(0, 0, 0, 0.3);
    background: white;
    padding: 20px 20px; }
.COHdropzone.dz-clickable {
    cursor: pointer; }
.COHdropzone.dz-clickable * {
    cursor: default; }
.COHdropzone.dz-clickable .dz-message, .COHdropzone.dz-clickable .dz-message * {
    cursor: pointer; }
.COHdropzone.dz-started .dz-message {
    display: none; }
.COHdropzone.dz-drag-hover {
    border-style: solid; }
.COHdropzone.dz-drag-hover .dz-message {
    opacity: 0.5; }
.COHdropzone .dz-message {
    text-align: center;
    margin: 2em 0; }
.COHdropzone .dz-message .dz-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit; }
.COHdropzone .dz-preview {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    min-height: 100px; }
.COHdropzone .dz-preview:hover {
    z-index: 1000; }
.COHdropzone .dz-preview:hover .dz-details {
    opacity: 1; }
.COHdropzone .dz-preview.dz-file-preview .dz-image {
    border-radius: 20px;
    background: #999;
    background: linear-gradient(to bottom, #eee, #ddd); }
.COHdropzone .dz-preview.dz-file-preview .dz-details {
    opacity: 1; }
.COHdropzone .dz-preview.dz-image-preview {
    background: white; }
.COHdropzone .dz-preview.dz-image-preview .dz-details {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear; }
.COHdropzone .dz-preview .dz-remove {
    font-size: 14px;
    text-align: center;
    display: block;
    cursor: pointer;
    border: none; }
.COHdropzone .dz-preview .dz-remove:hover {
    text-decoration: underline; }
.COHdropzone .dz-preview:hover .dz-details {
    opacity: 1; }
.COHdropzone .dz-preview .dz-details {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 13px;
    min-width: 100%;
    max-width: 100%;
    padding: 2em 1em;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    line-height: 150%; }
.COHdropzone .dz-preview .dz-details .dz-size {
    margin-bottom: 1em;
    font-size: 16px; }
.COHdropzone .dz-preview .dz-details .dz-filename {
    white-space: nowrap; }
.COHdropzone .dz-preview .dz-details .dz-filename:hover span {
    border: 1px solid rgba(200, 200, 200, 0.8);
    background-color: rgba(255, 255, 255, 0.8); }
.COHdropzone .dz-preview .dz-details .dz-filename:not(:hover) {
    overflow: hidden;
    text-overflow: ellipsis; }
.COHdropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
    border: 1px solid transparent; }
.COHdropzone .dz-preview .dz-details .dz-filename span, .COHdropzone .dz-preview .dz-details .dz-size span {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 0 0.4em;
    border-radius: 3px; }
.COHdropzone .dz-preview:hover .dz-image img {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-filter: blur(8px);
    filter: blur(8px); }
.COHdropzone .dz-preview .dz-image {
    border-radius: 20px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    z-index: 10; }
.COHdropzone .dz-preview .dz-image img {
    display: block; }
.COHdropzone .dz-preview.dz-success .dz-success-mark {
    -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
    -moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
    -ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
    -o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
    animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
.COHdropzone .dz-preview.dz-error .dz-error-mark {
    opacity: 1;
    -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
.COHdropzone .dz-preview .dz-success-mark, .COHdropzone .dz-preview .dz-error-mark {
    pointer-events: none;
    opacity: 0;
    z-index: 500;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -27px;
    margin-top: -27px; }
.COHdropzone .dz-preview .dz-success-mark svg, .COHdropzone .dz-preview .dz-error-mark svg {
    display: block;
    width: 54px;
    height: 54px; }
.COHdropzone .dz-preview.dz-processing .dz-progress {
    opacity: 1;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear; }
.COHdropzone .dz-preview.dz-complete .dz-progress {
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in;
    -moz-transition: opacity 0.4s ease-in;
    -ms-transition: opacity 0.4s ease-in;
    -o-transition: opacity 0.4s ease-in;
    transition: opacity 0.4s ease-in; }
.COHdropzone .dz-preview:not(.dz-processing) .dz-progress {
    -webkit-animation: pulse 6s ease infinite;
    -moz-animation: pulse 6s ease infinite;
    -ms-animation: pulse 6s ease infinite;
    -o-animation: pulse 6s ease infinite;
    animation: pulse 6s ease infinite; }
.COHdropzone .dz-preview .dz-progress {
    opacity: 1;
    z-index: 1000;
    pointer-events: none;
    position: absolute;
    height: 16px;
    left: 50%;
    top: 50%;
    margin-top: -8px;
    width: 80px;
    margin-left: -40px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transform: scale(1);
    border-radius: 8px;
    overflow: hidden; }
.COHdropzone .dz-preview .dz-progress .dz-upload {
    background: #333;
    background: linear-gradient(to bottom, #666, #444);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    -webkit-transition: width 300ms ease-in-out;
    -moz-transition: width 300ms ease-in-out;
    -ms-transition: width 300ms ease-in-out;
    -o-transition: width 300ms ease-in-out;
    transition: width 300ms ease-in-out; }
.COHdropzone .dz-preview.dz-error .dz-error-message {
    display: block; }
.COHdropzone .dz-preview.dz-error:hover .dz-error-message {
    opacity: 1;
    pointer-events: auto; }
.COHdropzone .dz-preview .dz-error-message {
    pointer-events: none;
    z-index: 1000;
    position: absolute;
    display: block;
    display: none;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    font-size: 13px;
    top: 130px;
    left: -10px;
    width: 140px;
    background: #be2626;
    background: linear-gradient(to bottom, #be2626, #a92222);
    padding: 0.5em 1.2em;
    color: white; }
.COHdropzone .dz-preview .dz-error-message:after {
    content: '';
    position: absolute;
    top: -6px;
    left: 64px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #be2626; }



textarea.no-resize {resize: none !important;}

.img-fluid-custom {
    height:100%!important;
    max-width:100%;
}

select.coh_width_auto {width:auto!important;}

.text-italic {
    font-style:italic;
}
body .topnav,
body[data-layout=horizontal] .topnav {
    margin: 0;
}


body[data-layout=horizontal] .page-content {
    margin-top:0;

    padding: calc(1.25rem) calc(1.25rem / 2) 60px calc(1.25rem / 2)
}

.lbdFlag {
    background-image: url('../images/lbd_ico_memo.gif');
    background-repeat: no-repeat;
    background-size: 11px 11px;
    width:11px;
    height:11px;
    display:inline-block;
}

@media (min-width: 1200px) {
    body[data-layout=horizontal] .main-content .container-fluid,body[data-layout=horizontal] #page-topbar .container-fluid  {
        max-width: 100% !important;
    }
}



.form-control-sm+.select2-container--default .select2-selection--single {
    height: 29px !important;
    padding: 5px 8px;
    font-size: 13px;
    line-height: 15px;
    border-radius: 6px;
}
.form-control-sm+.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 40% !important;
}
.form-control-sm+.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 15px !important;
}
.form-control-sm+.select2-container--default .select2-selection--single {
    border: 1px solid #CCC !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}


select.form-control-sm {
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: .7875rem;
    border-radius: 0.2rem;
}

.btn-check:active+.btn-light, .btn-check:checked+.btn-light, .btn-light.active, .btn-light:active, .show>.btn-light.dropdown-toggle {
    color: #000;
    background-color: #D0D6DC !important;
    border-color: #D0D6DC !important;
}

li.nav-item:not(:last-child) {
    border-right: 1px solid #ccc;
}


 table td i[class^=uil-]:before {
    color:black;
    font-size: 1.25rem;
 }
 table td i.uil-expand-arrows:before,
 table td i.uil-arrows-shrink-v:before {
    font-size: 1rem;
 }

 table td i.uil-check-circle::before {
    color:darkgreen;
    font-size: 1.25rem;
 }

table td i.uil-times-circle::before {
    color:darkred;
    font-size: 1.25rem;
 }

 .btn-group.dropleft .dropdown-menu[style] {
    left:-131px !important;
 }


 .table > :not(caption) > * > * {
    padding: 0 .5rem;
 }
.table td, .table th, .table tr {
    border-bottom-color: #aaa;
    border-bottom-width: 1px;
}

#job .job-info-header thead > tr > th {
    border-bottom-color: #aaa;
    border-bottom-width: 1px;
}

.table td .text-underline-dotted,
.table th .text-underline-dotted  {
    border-bottom: none;
}

.table td.long-desc {
    overflow-wrap: break-word;
    text-wrap: auto;
}
.table td.long-desc.bg-soft-warning {
    color:black;
}
table tr > td.client-reference,
table tr > td.client-reference {
    overflow-wrap: break-word;
    text-wrap: auto;
    max-width: 12em;
}
.___statusUnCosted,
.___statusUn-Costed,
.__statusItemUnCosted,
.___statusSubItemUnCosted,
.table-uncosted td,
.table-uncosted th,
tr[data-status="Un-Costed"] > td,
tr[data-status="Un-Costed"] > th {
    background: #f7d5ff;
}

.text-uncosted {
    color:#0070c0;
    font-weight: bold;
}
.lineItem td {
    color:black;
}
#subItemContainer td {
    color:black;
}

.___statusOverdue,
tr[data-status="Overdue"] > td,
tr[data-status="Overdue"] > th {
    background-color: #ffc8b9;
}

.___statusPaid,
tr[data-status="Paid"] > td ,
tr[data-status="Paid"] > th {
    background-color: #c0e9b5;
}

.___statusInvoiced,
tr[data-status="Invoiced"] > td,
tr[data-status="Invoiced"] > th {
    background-color: #FFFFC5;
}

.___statusHire,
tr[data-status="Hire"] > td,
tr[data-status="Hire"] > th {
    background-color: rgb(91, 115, 232, 0.25)
}

.dropdown-item[data-status="live"] {
    background-color: #dcedfc;
}
.dropdown-item[data-status="won"] {
    background-color: #d6f3e9;
}
.dropdown-item[data-status="lost"] {
    background-color: #fddede;
}

#billingStatus.dropdown-menu,
#quoteStatus.dropdown-menu {
    padding-bottom: 0;
}

.table thead > tr > th {
    background: url('/themes/lbd/images/lbj_filler_row2.gif') repeat-x;
}

.header-item {
    height: auto;
}
.navbar-header {
    height: auto;
}


.navbar-header .d-flex {
    display: flex;
}

.dropdown.d-inline-block {
    margin-left: auto;
}
@media (min-width: 1200px) {
    body[data-layout="horizontal"] {
        .container-fluid,
        .navbar-header {
            max-width: 100%;
            padding-left: 0;
        }
    }
    body[data-layout="horizontal"] #page-topbar {
        padding-left: 0;
    }
    .navbar-nav, .topnav {
        padding:0;
    }
}   
    

.breadcrumb-item {
    display: none;
}
.breadcrumb-item:first-child {
    display: inline-block;
}

/** Pagination **/
.page-nav {
    display: flex;
}
.page-nav .page-display {
    flex: 1;
    margin: auto 0;
}
#newQuote .card {
    background: #50a5f164;
}
#newQuote .card .text-dark {
    font-weight: bold;
}
#newJob .card,
#editJob .card {
    background: rgba(100%,100%,50%,50%);
}
#newJob .card .text-dark {
    font-weight: bold;
}

.job-info-header table tr > th {
    background: #f5f6f8;
    font-weight: bold;
}
.job-info-header table tr > th a,
.job-info-header table tr > th a * {
    font-weight: bold;
    color: #0070c0;
}
.job-info-header table tr > th,
.job-info-header table tr > td {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    vertical-align: middle;
    padding: 0.5rem 0.5rem;
}
#jobDates,
#jobCosts {
    width: auto;
}
.jobCosts > div > *,
#jobDates > div > div{
    margin-right: 4px;
    margin-left:4px;
    min-width: 80px;
}
.jobCosts > div > *:first-child,
#jobDates > div > div:first-child{
    min-width: 100px;
}

.add-btn.right {
    position: absolute;
    right: 0;
    border: none;
    background: none;
}

#job .table-responsive,
#quote .table-responsive {
    overflow: visible;
}

.job-items-header {
    background-color: white;
}

/* Default sticky behavior for table headers (except job and quote items tables) */
thead:not(#jobItems thead):not(#quoteItems thead) tr > th { 
    position: sticky; 
    top: 0; 
    z-index: 1; 
}

.page-title-right {
    margin-right:2em;
}