:root {
    --primary-blue: #1f396c;
    --primary-light-blue: #3f96b4;
    --secondary-blue: #0054a6;
    --primary-white: #ffffff;
    --primary-grey: #414042;
    --primary-light-grey: #dcdddc;
    --secondary-grey: #808285;
    --cool-grey: #d9d8d6;
    --border-size: 4px;
    --font-x-small: 10px;
    --font-small: 12px;
    --font-medium: 14px;
    --font-large: 16px;
    --font-x-large: 18px;
    --font-xx-large: 20px;
}

@font-face {
    font-family: "Arboria";
    src: url("../font/Arboria/Arboria-Medium.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Arboria";
    src: url("../font/Arboria/Arboria-Bold.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Arboria";
    src: url("../font/Arboria/Arboria-Light.ttf") format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: "ITC Avant Garde";
    src: url("'../font/ItcAvantGarde/ITC Avant Garde Gothic Pro-Medium.otf'") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ITC Avant Garde";
    src: url("'../font/ItcAvantGarde/ITC Avant Garde Gothic Pro-Book.otf'") format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "ITC Avant Garde";
    src: url("'../font/ItcAvantGarde/ITC Avant Garde Gothic Pro-Bold.otf'") format('truetype');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'Font Awesome 6';
    src: url('../font/FontAwesome/fa-solid-900.woff2') format('woff2'), url('path/to/fontawesome-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    /*font-family: "Arboria", "ITC Avant Garde", Arial !important;*/
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
    /*zoom: 0.85;*/
}

body {
    background-color: #F8F9FC;
    height: max-content;
}


h1, .h1, .h1, h2, .h2, .h2, h3, .h3, .h3 {
    font-weight: 600;
    font-family: "Roboto", sans-serif;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.g-sidenav-show.bg-gray-100 {
    /*    zoom: 80%*/
}
/* Create background color class for all variables*/
.bg-primary {
    background-color: var(--primary-blue) !important;
    box-shadow: none;
}

    .bg-primary:hover {
        box-shadow: none;
    }

.bg-primary-light-blue {
    background-color: var(--primary-light-blue) !important;
}

.bg-secondary {
    background-color: var(--secondary-blue) !important;
}

.bg-primary-grey {
    background-color: var(--primary-grey) !important;
}

.bg-primary-light-grey {
    background-color: var(--primary-light-grey) !important;
}

.bg-secondary-grey {
    background-color: var(--secondary-grey) !important;
}

.bg-cool-grey {
    background-color: var(--cool-grey) !important;
}

/* Create font color class for all variables */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-primary-light-blue {
    color: var(--primary-light-blue) !important;
}

.text-secondary-blue {
    color: var(--secondary-blue) !important;
}

.text-white {
    color: var(--primary-white) !important;
}

.text-primary-grey {
    color: var(--primary-grey) !important;
}

.text-secondary-grey {
    color: var(--secondary-grey) !important;
}

.text-primary-light-grey {
    color: var(--primary-light-grey) !important;
}

.text-cool-grey {
    color: var(--cool-grey) !important;
}

/* Text class for specific font family*/
.font-arborio {
    font-family: "Arboria" !important;
}

.font-itc-avant-garde {
    font-family: "ITC Avant Garde" !important;
}

.font-arial {
    font-family: Arial !important;
}

.page-title {
    font-size: var(--font-large);
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.font-size-lg {
    font-size: 1.25rem !important;
}

.font-small {
    font-size: 0.875rem !important;
}

.x-small-text {
    font-size: var(--font-x-small) !important;
}

.small-text {
    font-size: var(--font-small) !important;
}

.medium-text {
    font-size: var(--font-medium) !important;
}

.large-text {
    font-size: var(--font-large) !important;
}

.x-large-text {
    font-size: var(--font-x-large) !important;
}

.xx-large-text {
    font-size: var(--font-xx-large) !important;
}

/* Class override and new class */
.navbar.navbar-main {
    padding-top: 0;
}

.card.grid-card .card-header {
    padding: 0.75rem 0 0.5rem 0;
}

.action-item-label {
    font-size: var(--font-medium);
    font-weight: bold;
    color: var(--primary-grey);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.375rem 0.75rem;
}

.accordion .accordion-button {
    font-size: var(--font-large) !important;
}

.signin-img {
    background: linear-gradient(rgba(31, 57, 108,.7), rgba(31, 57, 108,.9)), url("../img/Decmil_PeopleCulture1-1024x532.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .signin-img.signin-img-10250 {
        background: linear-gradient(rgba(31, 57, 108,.7), rgba(31, 57, 108,.9)), url("../img/10250/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .signin-img.signin-img-10255 {
        background: linear-gradient(rgba(31, 57, 108,.7), rgba(31, 57, 108,.9)), url("../img/10255/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .signin-img.signin-img-10256 {
        background: linear-gradient(rgba(31, 57, 108,.7), rgba(31, 57, 108,.9)), url("../img/10256/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 30% 50%;
    }

.left-box-img {
    background: url("../img/Decmil_PeopleCulture1-1024x532.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
}

    .left-box-img.left-box-img-10250 {
        background: url("../img/10250/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .left-box-img.left-box-img-10255 {
        background: url("../img/10255/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 30% 75%;
    }

    .left-box-img.left-box-img-10256 {
        background: url("../img/10256/SignInImage.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 30% 70%;
    }

.btn-logout {
    background-color: var(--secondary-blue) !important;
    color: var(--primary-white) !important;
    border: 1px solid var(--primary-white) !important;
    border-radius: var(--border-size);
    transition: all 0.375s ease-in-out;
    box-shadow: none !important;
    border-radius: var(--border-size)
}

    .btn-logout:hover {
        background-color: var(--primary-blue) !important;
        color: var(--primary-white) !important;
        transition: all 0.375s ease-in-out;
        box-shadow: none !important;
    }

.active-toggle {
    --width: 32px;
    --height: 30px;
    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    top: 3px;
    margin-block-end: 0;
    /*    left: 22.5%;*/
    padding-block: 0.375rem;
    padding-inline: 0.75rem;
    line-height: 1.5;
}

    .active-toggle input {
        display: none;
    }

    .active-toggle .labels {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        font-family: sans-serif;
        transition: all 0.3s ease-in-out;
        overflow: hidden;
        border-radius: var(--border-size);
    }

        .active-toggle .labels::after {
            font: var(--fa-font-solid);
            content: "\f00d";
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            color: var(--primary-grey);
            background-color: #f19999;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
            transition: all 0.4s ease-in-out;
        }

        .active-toggle .labels::before {
            font: var(--fa-font-solid);
            content: "\f00c";
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            top: 0;
            left: calc(var(--width) * -1);
            height: 100%;
            width: 100%;
            color: var(--primary-white);
            background-color: var(--secondary-blue);
            text-align: center;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
            transition: all 0.4s ease-in-out;
        }

        .active-toggle .labels.disabled::before {
            font: var(--fa-font-solid);
            content: "\f00c";
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            top: 0;
            left: calc(var(--width) * -1);
            height: 100%;
            width: 100%;
            color: var(--primary-white);
            background-color: #5f91bd;
            text-align: center;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
            transition: all 0.4s ease-in-out;
        }

    .active-toggle input:checked ~ .labels::after {
        transform: translateX(var(--width));
    }

    .active-toggle input:checked ~ .labels::before {
        transform: translateX(var(--width));
    }


#signin-left-box {
    width: 66.67%;
    height: 80vh;
    background-color: rgba(255, 255, 255,.7);
    border: none !important;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#signin-right-box {
    border: none !important;
    background-color: rgba(255, 255, 255,.7);
    border-radius: 0px;
    height: 100vh;
}

.simple-pagination ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.pagination-container {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
    width: 100%;
}

.simple-pagination li {
    display: inline-block;
    margin-right: 5px;
}

    .simple-pagination li a,
    .simple-pagination li span {
        color: #666;
        font-size: 1rem;
        padding: 5px 10px;
        text-decoration: none;
        border: 1px solid #EEE;
        background-color: #FFF;
        box-shadow: 0px 0px 10px 0px #EEE;
        border-radius: 10px;
        width: 2.5rem;
        display: block;
    }

.simple-pagination .current {
    color: #FFF;
    font-size: 1rem;
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    width: 2.5rem;
}

.simple-pagination .prev.current,
.simple-pagination .next.current {
    background-color: var(--primary-blue);
    width: 2.5rem;
}

.spinner-container {
    z-index: 50;
}



.card {
    border: 1px solid var(--primary-light-grey) !important;
}

.no-data-container {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 100%; /* Set the height of the container */
    min-height: 400px;
}

.no-data-text {
    text-align: center; /* Center the text */
}

.date-card {
    margin-inline-end: 0.25rem;
    cursor: pointer !important;
    transition: all 0.1s ease-in-out;
}



    .date-card h1, .date-card h5 {
        color: var(--primary-blue) !important;
        transition: all 0.1s ease-in-out;
    }

    .date-card.active {
        background-color: var(--primary-blue) !important;
        transition: all 0.1s ease-in-out;
    }

        .date-card.active h1, .date-card.active h5 {
            color: var(--primary-white) !important;
            transition: all 0.1s ease-in-out;
        }

.button-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

    .button-content span {
        flex-grow: 1;
        /*text-align: center;*/ /* You can adjust alignment as needed */
    }

.grid-card {
    /*height:97vh;*/
}

.crew-badge {
    font-size: 12px !important;
    border-radius: var(--border-size) !important;
    background-color: var(--secondary-blue) !important;
    color: var(--primary-white) !important;
}

    .crew-badge:hover {
        background-color: var(--primary-blue) !important;
        color: var(--primary-white) !important;
    }

.hours-state-circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    /*position: absolute;
    top: 20%;*/
}


.status-site-diary, .status-load-and-haul {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
}

.bg-amber {
    background-color: #FFBF00 !important;
}

.bg-light-amber {
    background-color: #FFC300 !important;
}


.navbar .nav-link {
    font-size: var(--font-medium);
}

.navbar-nav .nav-item .nav-link {
    color: var(--primary-white) !important;
    padding: 0.5rem 1rem;
    margin-inline: 1rem;
}

    .navbar-nav .nav-item .nav-link:hover {
        background-color: var(--secondary-blue);
        border-radius: 5px;
        transition: all 0.375s ease-in-out;
    }

    .navbar-nav .nav-item .nav-link.active {
        background-color: rgba(155,155,155,0.3) !important;
    }

input[type=file]::file-selector-button {
    margin-block: 4px;
    margin-right: 20px;
    margin-left: 5px;
    padding-block: 5px;
    padding-inline: 10px;
    border: none;
    background: var(--secondary-blue);
    border-radius: var(--border-size);
    color: var(--primary-white);
    cursor: pointer;
    transition: background .2s ease-in-out;
}

    input[type=file]::file-selector-button:hover {
        background: var(--primary-blue);
    }

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn.bg-secondary {
    border-radius: var(--border-size) !important;
    background-color: var(--secondary-blue) !important;
}

.accordion-item.collapse.show {
    border: 3px solid black;
    border-radius: 0.375rem;
}

.attachment-form {
    align-items: flex-end;
    gap: 1%;
    display: flex;
}

    .attachment-form .form-control {
        border-radius: unset;
    }

.switch-slider {
    position: relative;
    display: inline-block;
    width: 47px;
    height: 23px;
}

    .switch-slider input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .custom-slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .custom-slider {
    background-color: var(--secondary-blue);
}

input:checked:disabled + .custom-slider {
    background-color: rgba(118, 118, 118, 0.3);
}

input:focus + .custom-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .custom-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.custom-slider.round {
    border-radius: 34px;
}

    .custom-slider.round:before {
        border-radius: 50%;
    }

.upload-container {
    gap: 12px;
}

.sidenav.navbar .ps__rail-y {
    display: none;
}

.k-pager-md .k-pager-sizes .k-dropdownlist {
    width: 6.5em;
}

.btn-custom-icon {
    padding: 10px 15px;
}

/*dashboard*/
#top-7-days-manning-container {
    width: 100%;
    height: 55vh;
}

#top-10-cost-code-container, #top-5-equipment-container, #top-7-days-manning-equipment-container {
    width: 100%;
    height: 23vh;
}

/*#top-7-days-manning-container {
    width: 100%;
    height: 71vh;
}

#top-10-cost-code-container, #top-5-equipment-container, #top-7-days-manning-equipment-container {
    width: 100%;
    height: 31vh;
}*/

/*sign in button in prestart*/
.crew-sign-in-container .k-menu-button.k-dropdown-button {
    background-color: var(--secondary-blue) !important;
    height: 100%;
}

    .crew-sign-in-container .k-menu-button.k-dropdown-button .k-button-text {
        font-family: Roboto;
        font-weight: 600;
        font-size: 12px;
    }

/*note clip icon in SD page*/
.note-clip-icon {
    position: absolute;
    top: 11px;
    padding-left: 2px;
}

.diary-event-star-icon {
    position: absolute;
    top: 2px;
}
/* Override Bootstrap Class */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1440px;
    }

    .date-card h1 {
        font-size: 2.25rem;
    }

    .date-card h5 {
        font-size: 0.8rem;
    }
}

@media (min-width: 1820px) {
    html {
        zoom: 1;
    }

    .date-card h1 {
        font-size: 3rem;
    }

    .date-card h5 {
        font-size: 1.25rem;
    }

    #ModalSiteDiaryEquipment .modal-dialog, #ModalEquipmentRate .modal-dialog {
        left: 7%;
        --bs-modal-width: 85%;
    }
}

@media (max-width:1550px) {
    #top-7-days-manning-container {
        width: 100%;
        height: 45vh;
    }

    #top-10-cost-code-container, #top-5-equipment-container, #top-7-days-manning-equipment-container {
        width: 100%;
        height: 16.5vh;
    }



    .employee-span-container {
        width: 20%
    }

    .crew-span-container {
        width: 10%
    }

    .compoany-span-container {
        width: 27%
    }

    .shift-span-container {
        width: 6%
    }

    .hours-span-container {
        width: 12%
    }

    #production-quantities-container {
        height: 45vh;
    }

    #ModalSiteDiaryEquipment .modal-dialog, #ModalEquipmentRate .modal-dialog {
        left: 8%;
        --bs-modal-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .k-list-item, .k-list-optionlabel {
        font-size: 18px;
    }
}

/*@media (max-width:1550px) {
    #top-7-days-manning-container {
        width: 100%;
        height: 66vh;
    }

    #top-10-cost-code-container, #top-5-equipment-container, #top-7-days-manning-equipment-container {
        width: 100%;
        height: 27vh;
    }
}*/
