html { font-size: 62.5%; }
body {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem; /* 16px */
    font-weight: 400;
    color: #000000;
    line-height: 2.0rem;
    margin:0;
}

/* HEADER & MENU */

header {
    position: relative;
    height: 150px;
}

header .top {background:#D0D3D4;}
header .middle {background:#ffffff;}
header .bottom {background:#003057;border: 1px solid #003057;}

header .top .timecard-toggle {font-size: 1.4rem; line-height: 1.4rem; padding:5px;}
header .top .timecard-toggle a {text-decoration: none;color:#000000;}
header .top .translate {
    position: absolute;
    right: 0;
    top: -1px;
}

header .login {
    position: absolute;
    right: 10px;
    top: 35px;
    width: 200px;
    max-height: 75px;
}

header .login img {float: right; border-radius: 5px;}

header .greeting-text {
    margin-right: 50px;
    text-align: right;
    margin-top: 0;
    font-size: 1.4rem;
    line-height: 1.4rem;
}

header .status {
    text-align: right;
    margin-top: 0;
    font-size: 1.4rem;
    line-height: 1.4rem;
}

header .login .dropdown {
    background: #FFF;
    display: none;
    font-size: 1.4rem;
    padding: 5px;
    position: absolute;
    right: 5px;
    text-align: right;
    top: 55%;
    border: solid 1px #003057;
}
header .login .dropdown a { color: #003057; font-size: 1.4rem; }
header .login .logout-trigger:hover .dropdown { display: block; }

header a {text-decoration: none;}

#logo {
    display: block;
    padding: 15px 15px 0 15px;
    width: 10%;
    margin:auto;
}

#logo img {
    width: 100%;
}

.nav {margin:auto;}

header .search {position: absolute;top: 120px;right: 0;}

/* FOOTER */

footer {
    background: #003057;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 400;
    margin-top:25px;
}

footer a {color:#ffffff;}

footer .copyright-legal {
    text-align: center;
}

/* GENERAL */

.container-fluid {width:unset !important;}

.error {border: #ff0000 solid 1px;}

.user-editing-space {margin: 15px 0 5px;padding: 15px 0 0;}

.field {display: inline-block;}

.last {
    border: none;
    height: 5px;
    /* Set the hr color */
    color: #003057; /* old IE */
    background-color: #003057; /* Modern Browsers */
}

.header-row {background: #666666;}
.subheader-row {background: #cccccc;}

i {color:#ffffff;}

#create-request i, #project-details i {color:red;}

#project-details i.fa-solid, #create-request i.fa-solid {color:#003057;}

#clearSearch i {color:#003057;}

.title-wrap {position: relative;}
.btn-right {
    position: absolute;
    right: 25px;
    top: 15px;
}

.btn-second-right {
    position: absolute;
    right: 175px;
    top: 15px;
}

.btn-third-right {
    position: absolute;
    right: 290px;
    top: 15px;
}

.capital {text-transform: capitalize;}

.btn-default, button.btn-default, .acf-button {
    background: #003057 !important;
    display: inline-block;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    box-shadow: none;
    border:none;
    border-radius: 5px;
    width: max-content;
}

.btn-border {border:2px #ffffff solid; padding:10px 25px;}

.btn-default:hover, .acf-button:hover {
    background: #407EC9;
    cursor: pointer;
}

.btn-danger, .btn-danger:hover {background: #EED484 !important;}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.flex-container > div {
    border: #ccc solid 2px;
    width: 10%;
    margin: 10px;
    text-align: center;
    position: relative;
}

.flex-item {
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.flex-image {
    flex: 1 0 auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.flex-image img {

}

.flex-item p {
    padding: 5px 0 0;
}

.text-right { text-align: right !important; }
.alignright { float: right; }
img.alignright { margin: 0 0 20px 20px; }
.text-center { text-align: center !important; }
.aligncenter { display: block; margin: auto; text-align: center; }
img.aligncenter { margin: 0 auto 20px; text-align: center; }
.text-left { text-align: left !important; }
.alignleft { float: left; }
img.alignleft { margin: 0 20px 20px 0; }

.navy-blue {color: #003057;}
.light-blue {color: #407EC9;}
.gold {color:#EED484;}
.grey {color:#D0D3D4;}
.red {color: #ff0000;}

table {
    border-collapse: collapse; /* Ensure that the borders between cells are not duplicated */
    width: 100%; /* Optional: Makes the table take the full width of its container */
}

th, td {
    border: 1px solid black; /* Add a 1px solid black border to table headers and cells */
    padding: 5px; /* Optional: Adds padding inside the table cells for better spacing */
    text-align: left; /* Optional: Align text to the left */
    word-wrap: break-word
}

/* Optional: Add styling to table headers */
th {
    background-color: #f2f2f2; /* Light gray background for table headers */
}

.row-header {font-weight: bold;}

.installer tr td {border-bottom: 1px solid #000000;border-left: 1px solid #000000;padding: 5px;}

.bottom-border td {border-bottom: 1px solid #000000;}

.top-border {border-top: 1px solid #000000;}

.bottom-border-spacer {border-bottom: 2px solid #000000;}

.install-warning {font-weight: bold;color: #ff0000;}
.eta-warning {font-weight: bold;background: yellow;}


a {
    color: #666666;
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
    margin: 15px 0 !important;
}
h1 {
    font-size: 3.0rem;
    line-height: 4.0rem;
    font-weight: 600;
}

h2 {
    font-size: 2.75rem;
    line-height: 3.0rem;
    font-weight: 900;
}
h3 {
    font-size: 2.0rem;
    line-height: 2.5rem;/*2.1*/
    font-weight: 600;
}

h1 a, h2 a, h3 a {
    text-decoration: none;
}

hr {
    margin: 20px 0;
    height: 0;
    border: none;
    border-top: 1px solid #ccc;
}

img {
    max-width: 100%;
    height: auto;
}

img.circle {
    border-radius: 50%;
}

.hide {
    display: none !important;
}

.show {
    display: block;
}

div.clear {
    clear: both;
}

section + section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px; /* 1px width, 1000px height */
}

.horizontal-form {
    display: flex;
    align-items: center;
}

.horizontal-form input[type="text"],
.horizontal-form button,
.horizontal-form a {
    margin-right: 10px;
}

.form-field-container {
    margin: 20px 0;
}

.form-field {
    appearance: none; /* Remove default styling */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px; /* Rounded borders */
    background-color: white;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    position: relative; /* Required for the select caret positioning */
    width: 70%;
    float: inline-end;
}

.form-field input, .form-field select {
    display: inline-block;
}

.custom-select, .form-style {
    display: inline-block;
    margin: 20px 0;
    position: relative;
}

.form-field-container label {
    font-weight: bold;
}

.custom-select select, .form-style input {
    appearance: none;
    max-width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    float: inline-end;
}

.custom-select::after {
    content: '▼';
    position: absolute;
    top: 45%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #514e4e;
    background-color: #f2f5f9;
    border: 1px solid #ced4da;
    box-shadow: none !important;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.form-fields {
    appearance: none; /* Remove default styling */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px; /* Rounded borders */
    background-color: white;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    position: relative; /* Required for the select caret positioning */
    min-width: 170px;
}

.form-fields input, .form-fields select {
    display: inline-block;
}

.oor-clone-options .col-2 {padding-bottom: 5px;}

/*Typeahead and loading overlay*/

.tt-input {vertical-align: unset !important;}
.twitter-typeahead, .tt-hint, .tt-input, .tt-menu { width: 70%; }

.tt-menu, .tt-dropdown-menu {
    width: 100%;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    margin: 0 5px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.display-none {
    display: none !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}

.lds-dual-ring {
    display: inline-block;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 25% auto;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*Scrollable Table*/
.table-container-scroll {
    width: 100%;
    max-height: 600px; /* Set the desired height */
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
    border: 1px solid #ccc;
}

.table-container-scroll table {
    width: 100%;            /* Table occupies full width of container */
    table-layout: fixed;    /* Forces columns to fit into the table’s width */
    border-collapse: collapse;
}

.table-container-scroll th, .table-container-scroll td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Make the header sticky */
.table-container-scroll th {
    position: sticky;
    top: 0;
    background-color: #f1f1f1;
    z-index: 1;
}

.table-container-scroll .row-header {
    background-color: #f9f9f9;
    font-weight: bold;
}



/*RESPONSIVE*/

.modal .row {padding:3px 0;}

@media (max-width: 412px) {
}
@media only screen and (min-width: 413px) and (max-width: 767px) {
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
}
@media only screen and (min-width: 1024px) {
}
@media only screen and (min-width: 901px) and (max-width: 1023px) {
}
@media only screen and (min-width: 1024px) and (max-width: 1279px){
}
@media (min-width: 1280px) and (max-width: 1920px){
}
@media (min-width: 1921px) and (max-width: 2560px){
    .general {margin-top: 40px;}
}
@media (min-width: 2561px){
}

/*PRINT*/
@media print {
    header { display: none; }
    footer { display: none; }
    html, body {
        width: 11.5in;
        height: 8in;
        margin: 0;
        padding: 0;
    }
    body {
        font-size: 11px;
    }
    hr { margin: 5px 0; }
    h2 { font-size: 1.75rem; }
    .btn-default, .btn-right {display: none !important;}

    .print-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-size: 12px;
        color: gray;
    }

    #oor_billing_clone_report {
        font-size: 10px;
    }

    .page-number::after {
        content: "Page " counter(page) " of " counter(pages);
    }

    @page {
        size: auto;
        margin: 20mm;
        counter-increment: page;
    }

    body {
        counter-reset: page;
    }

    .no-page-break {
        page-break-inside: avoid;
    }

    .no-print {display: none;}
}