html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

#navigation .menu-primary .child-link {
    display: none;
}

.menu-primary {
    display: inline-block;
}

    .menu-primary li.menu-item {
        display: inline-block;
        padding: 0px 10px;
        font-weight: 600;
        position: relative;
    }

    .menu-primary > li.menu-item.menu-item-has-children > a:after {
        content: "\f078";
        font-size: 13px;
        font-family: "Font Awesome 5 Free";
        position: relative;
        line-height: 1;
        right: 0;
        top: 50%;
        margin-top: -5px;
        margin-left: 5px;
    }

    .menu-primary > li.menu-item > a {
        display: block;
        font-size: 17px;
        padding: 0px 15px;
        line-height: 100px;
        color: var(--menu-link-color);
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

#create-btn {
    background-color: #5156be
}

.menu-light .menu-primary li.menu-item a {
    color: var(--white-color);
}

.menu-light .menu-primary > li.menu-item:hover > a, .menu-light .menu-primary > li.menu-item.active > a {
    opacity: 0.6;
    color: var(--white-color);
}

.menu-fixed .menu-primary li.menu-item a {
    color: var(--menu-link-color);
}

.menu-primary .sub-menu {
    position: absolute;
    top: 100%;
    background: var(--white-color);
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    padding: 5px 10px;
    min-width: 280px;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    z-index: -100;
}

    .menu-primary .sub-menu li.menu-item > .sub-menu {
        left: 100%;
        top: -30px;
        margin-left: 15px;
    }

.menu-primary li.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    z-index: 1;
}

.menu-primary .sub-menu > li.menu-item {
    padding: 8px 15px;
    display: block;
}

    .menu-primary .sub-menu > li.menu-item > a {
        color: var(--menu-link-color);
        padding: 0px 0px;
        font-size: 15px;
        position: relative;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        display: block;
    }

        .menu-primary .sub-menu > li.menu-item > a:before {
            height: 3px;
            width: 0px;
            content: "";
            display: inline-block;
            position: absolute;
            top: 10px;
            left: 0;
            background: var(--heading-text-color);
            -webkit-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
        }

    .menu-primary .sub-menu > li.menu-item:hover > a, .menu-primary .sub-menu > li.menu-item.active > a {
        padding: 0px 0px 0px 35px;
    }

        .menu-primary .sub-menu > li.menu-item:hover > a:before, .menu-primary .sub-menu > li.menu-item.active > a:before {
            width: 25px;
        }

.menu-primary > li.menu-item.mega-menu {
    position: static;
}

.menu-primary .mega-menu-inner {
    width: 100%;
    max-width: 1170px;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    flex-wrap: nowrap;
}

    .menu-primary .mega-menu-inner > li.menu-item {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        min-width: 0;
        max-width: 100%;
    }

        .menu-primary .mega-menu-inner > li.menu-item > .sub-menu {
            position: static;
            opacity: 1;
            transform: none;
            visibility: visible;
            box-shadow: none;
            margin: 0;
            padding: 0;
        }

.menu-primary .sub-menu > li.menu-item.col-title > a {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    font-weight: bold;
    padding: 0px 15px 0px 15px;
    margin-bottom: 15px;
}

    .menu-primary .sub-menu > li.menu-item.col-title > a:before {
        display: none;
    }

    .menu-primary .sub-menu > li.menu-item.col-title > a:after {
        height: 3px;
        width: 45px;
        content: "";
        display: block;
        background: var(--heading-text-color);
        margin-top: 10px;
    }

.menu-primary .sub-menu > li.menu-item.col-title:hover > a {
    color: inherit;
}

.menu-primary .sub-menu > li.menu-item.menu-item-has-children > a::after {
    content: "\f054";
    font-size: 13px;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    line-height: 1;
    right: 0;
    top: 50%;
    margin-top: -5px;
    margin-left: 5px;
}

.navbar-right {
    display: flex;
    flex-wrap: nowrap;
}

    .navbar-right .search-option {
        padding: 0px 0px 0px 30px;
    }

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

ul {
    list-style: none outside none;
}

.required {
    color: red;
}

@media screen and (min-width: 1629px) and (max-width: 1400px) {
    .button {
        width: 45%;
    }
}

.btn_upload {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    color: #fff;
    background-color: #2a72d4;
    border: 1px solid #166b8a;
    padding: 5px 10px;
}

    .btn_upload:hover,
    .btn_upload:focus {
        background-color: #7ca9e6;
    }

.yes {
    display: flex;
    align-items: flex-start;
    margin-top: 10px !important;
}

.btn_upload input {
    cursor: pointer;
    height: 100%;
    position: absolute;
    filter: alpha(opacity=1);
    -moz-opacity: 0;
    opacity: 0;
}

.it {
    height: 100px;
    margin-left: 10px;
}

.btn-rmv1,
.btn-rmv2,
.btn-rmv3,
.btn-rmv4,
.btn-rmv5 {
    display: none;
}

.rmv {
    cursor: pointer;
    color: #fff;
    border-radius: 30px;
    border: 1px solid #fff;
    display: inline-block;
    background: rgba(255, 0, 0, 1);
    margin: -5px -10px;
}

    .rmv:hover {
        background: rgba(255, 0, 0, 0.5);
    }

.option {
    background-color: white;
    transition: background-color 0.5s;
}

    .option:hover {
        background-color: blue;
    }

.button2 {
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
}

    .button2:hover {
        background-color: #008CBA;
        color: white;
    }

.inputbutton {
    background-color: #04AA6D; /* Green */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important
}

.photocard {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
}

.profile-user {
    position: relative;
    display: inline-block;
}

    .profile-user img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
    }

.profile-photo-edit {
    position: absolute;
    top: 50%;
    left: 63%;
    transform: translate(50%, 50%);
    cursor: pointer;
}

    .profile-photo-edit input[type="file"] {
        display: none;
    }

    .profile-photo-edit .avatar-title {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background-color: #f8f9fa; /* Light background color */
        border: 1px solid #ddd;
        border-radius: 50%;
    }

    .profile-photo-edit .bg-light {
        background-color: #f8f9fa !important;
    }

.rounded-circle {
    border-radius: 50% !important;
}

.createbutton-div {
    display: flex;
    justify-content: end;
}

/* Vehicle Registration Page CSS */
@media (min-width: 450px) and (max-width: 789px) {
    .custom-img-button-width {
        width: 91px;
    }
}

@media (min-width: 200px) and (max-width: 440px) {
    .custom-img-button-width {
        width: 86px;
    }
}

/*Job Card CSS*/
@media only screen and (max-width: 1076px) and (min-width:993px) {
    .serachbacktofullist-div {
        min-width: 209px !important;
    }

    .jobcardtype-div {
        min-width: 161px !important;
    }
}

@media only screen and (max-width: 1899px) and (min-width:1200px) {
    .paginationselect-div {
        max-width: 652px !important;
    }
}

@media only screen and (max-width: 412px) {
    .serachbacktofullist-div {
        min-width: 176px !important;
        max-width: 176px !important;
    }

    .paginationselect-div {
        max-width: 159px !important;
    }

    .countpage-div {
        max-width: 203px !important;
    }

    .nextprevious-div {
        max-width: 152px !important;
    }
}

@media only screen and (max-width: 1140px) and (max-height: 866px) {
    .custome-delete-button0-div {
        justify-content: end;
        display: flex;
        align-items: end;
        padding-top: 10px;
    }

    .custom-deltebutton {
        max-width: 7%;
    }
}



/**Header CSS */
@media screen and (max-width: 988px) {
    #globalSearchForm {
        display: none !important;
    }

    #openSearchButton {
        display: block !important; /* Show the button on smaller screens */
    }
}

/*Report PAge Css*/
@media (max-width: 1699px), (min-width: 992px) {
    #paginationbox {
        display: none; /* Hide the form on smaller screens */
    }
}

.headerSelect {
    z-index: 99999 !important;
}

option:hover {
    background-color: #1967d2;
}


/*Progessive bar */
.progress-container {
    position: relative;
    text-align: center;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #ccc;
}

.dot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.dot {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #ccc;
    border-radius: 50%;
    text-align: center;
}

    .dot.active {
        background-color: #28a745; /* Green color for active dots */
    }

    .dot span {
        position: absolute;
        top: -30px;
        left: -15px;
        width: 60px;
        text-align: center;
    }

    .dot small {
        position: absolute;
        top: 30px;
        left: -20px;
        width: 60px;
        text-align: center;
    }

body[data-sidebar-size=sm] {
    min-height: 0px !important;
}

    body[data-sidebar-size=sm] .vertical-menu {
        position: fixed !important;
    }


#photoPreviewContainer:hover #removeImageButton {
    display: block;
}

.badge-soft-submitted {
    color: darkorange;
    background-color: rgba(255, 140, 0, .18);
}