::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e41e26;
}

#sidebar ul.menu-categories::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#sidebar ul.menu-categories::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#sidebar ul.menu-categories::-webkit-scrollbar-thumb {
    background: #e41e26;
}

.customer-error-msg,
.error {
    color: red;
}

.widget-cover-body-cover .float-main-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transition: all 0.4s linear;
}

#sidebar ul.menu-categories {
    position: static;
    padding: 20px 0;
    margin: 10px auto 0;
    width: 100%;
    /* overflow: hidden;
    overflow-y: auto;
    height: 495px; */
}

/* The loader */

/* .wrapper-height {
    width: 100%;
    height: 100%;
     min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} */

.form-control:invalid,
.form-control:valid,
input:valid,
input:invalid {
    background: none;
}

.eye-open {
    display: none;
}

.field-icon {
    position: absolute;
    right: 0px;
    border: none;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 48px;
    border-radius: 0 8px 8px 0;
    transition: 0.3s;
    background: var(--color-primary);
}

.submit-loader-div {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
}

.submit-loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    animation: spin 2s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.iti.iti--allow-dropdown {
    width: 100%;
}

.table
    > tbody
    > tr
    > td
    .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown)
    .dropdown-menu.show {
    position: absolute !important;
    inset: inherit !important;
    margin: 0px !important;
    transform: translate(0px, 22px) !important;
}

/* .sidebar-wrapper {
    width: 300px;
    position: static !important;
    height: 100vh;
} */

.side-menu-div {
    background: white;
    height: 100vh;
    z-index: 10;
    max-width: 350px;
    transition: all 0.4s linear;
    overflow: hidden;
    overflow-y: auto;
}

#content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-grow: 1 !important;
    margin: 0px;
    z-index: unset;
}

.hide-sidemenu {
    width: 0 !important;
    opacity: 0;
    visibility: hidden;
}

.header-container {
    background: #fff;
    z-index: 0;
    position: static;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}

.dropify-wrapper {
    width: 120px;
}

.img-uploader-content .dropify-wrapper {
    width: 120px;
    height: 120px;
}

.dataTables_wrapper label .form-control {
    padding: 7px 30px 7px 16px !important;
}

.dataTables_wrapper label input,
.dataTables_wrapper label form {
    width: 100% !important;
    max-width: 300px !important;
}

div.dataTables_wrapper div.dataTables_filter svg {
    right: 0px !important;
}

div#load_screen {
    background: rgb(255, 236, 236) !important;
    z-index: 999999999999999999999999999 !important;
}

.navbar .navbar-item .nav-item.dropdown.language-dropdown .dropdown-menu {
    height: 288px;
    overflow: hidden;
    overflow-y: auto;
}

.spinner-grow {
    color: #e41e26 !important;
}

.introjs-tooltip {
    background: #fff;
}

.introjs-button,
.introjs-button:hover,
.introjs-button:focus,
.introjs-button:active,
.introjs-disabled,
.introjs-disabled:focus,
.introjs-disabled:hover {
    color: #000;
}

.float-main-content {
    width: calc(100% - 350px);
    margin-left: auto;
    transition: all 0.4s linear;
}

/* .footer-cover {
    width: calc(100% - 350px);
    margin-left: auto;
    transition: all .4s linear;
} */

.nav-item.sidebar-toggle .menuCollapse {
    display: none;
}

#sidebar .theme-brand {
    background-image: url("../../images/ob-flw.png") !important;
    background-position: center;
    width: 100%;
    min-height: 50px;
}

.introjs-tooltiptext {
    color: #e41e26;
}

.header-container {
    box-shadow: none;
    border: none;
}

.introjs-button:hover,
.introjs-button:focus,
.introjs-button:active {
    border: 1px solid #e41e26;
}

.add-appointment-form .iti__selected-flag {
    height: 31px;
}

.add-appointment-form .iti.iti--allow-dropdown input {
    padding: 7px 16px 7px 52px !important;
}

@media (max-width: 1199px) {
    .header-cover-div {
        background: #fff !important;
    }

    .nav-item.sidebar-toggle .menuCollapse {
        display: flex;
    }

    .side-menu-div {
        position: fixed;
        top: 0px;
        left: 0;
        z-index: 999;
        margin-top: 0 !important;
    }

    .float-main-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .introjs-tooltipReferenceLayer,
    .introjs-helperLayer,
    .introjs-overlay,
    .introjs-tooltip {
        display: none !important;
    }

    /* body.layout-boxed {
        overflow: hidden !important;
        position: relative;
        overflow-y: hidden !important;
        overflow-x: hidden !important;
        height: 100vh !important;
    }

    body.layout-boxed::after {
        content: "" !important;
        background: rgba(0, 0, 0, 0.80);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;
    }

    .side-overlay-dashboard{
        overflow: hidden !important;
        position: relative;
        overflow-y: auto !important;
        height: auto !important;


    }

    .side-overlay-dashboard::after{
        display: none !important;
    } */
}

@media (max-width: 540px) {
    .header-cover-div {
        /* position: static !important; */
        max-width: 100%;
    }

    nav.header .navbar.navbar-expand-sm .navbar-item .nav-item {
        margin: 0 !important;
    }

    nav.header ul.navbar-item {
        gap: 10px;
    }

    /* .header-container {
        padding-left: 0;
        padding-right: 0;
    } */
    .side-menu-div {
        max-width: 280px;
    }

    .busniess-sec-mob {
        width: 100% !important;
        padding: 0 !important;
    }

    .header-container .header.navbar {
        flex-wrap: nowrap;
    }

    .language-dropdown .top-text.selected_option {
        display: none;
    }
}

@media (max-width: 360px) {
    .widget.widget-card-five .account-box .info-box .icon span img {
        width: 30px;
        height: 30px;
    }

    .widget.widget-card-five {
        padding: 10px;
    }
}

body:before {
    display: none !important;
}

.custom-loader {
    position: fixed;
    z-index: 999999999999999999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000000e3;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

input.password ~ em.error {
    position: absolute;
    bottom: -20px;
    left: 0;
}

/* .footer-cover {
    position: fixed;
    left: auto;
    right: 0;
    bottom: 0;
} */

.main-content-flex {
    /* display: flex; */
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px
    min-height: 100vh;
}

input.password:invalid,
input.password.is-invalid,
input.password {
    background-image: none !important;
    background: none !important;
}

input.password {
    padding: 0.75rem 40px 0.75rem 1.25rem !important;
}

.iti__selected-flag {
    height: 48px;
}

.select2-container {
    max-width: 100% !important;
    width: auto !important;
    display: block !important;
    /* min-width: 100%; */
}

/* span.select2-selection.select2-selection--single {
    width: 100% !important;
} */

.select2-selection {
    height: 50px !important;
    padding: 10px !important;
}

.select2-selection__arrow {
    top: 10px !important;
}

/* .form-switch .form-check-input:focus {
    border-color: #e41e26 !important;
} */

.form-check.form-check-primary {
    position: relative;
}

/* .form-check.form-check-primary .form-check-input:checked::before {
    position: absolute;
    content: "";
    left: -1px;
    width: 15.5px;
    height: 15px;
    background: #e41e26 !important
} */

.form-check.form-check-primary .form-check-input:checked {
    background: #e41e26 !important;
}

.form-check.form-check-primary .form-check-input::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 8px;
    width: 5px;
    transform: rotate(45deg);
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
    left: 5px;
    top: 6px;
}

.form-check.form-check-primary .form-check-input:checked::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.cswitch {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.cswitch--label {
    margin-left: 0.5rem;
    font-size: 14px;
    font-weight: 400;
    color: #515365;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cswitch--input {
    position: absolute;
    opacity: 0;
    display: none;
    width: 0;
    height: 0;
    top: -100rem;
    left: -100rem;
}

.cswitch--trigger {
    position: relative;
    height: 1.2rem;
    width: 2.5rem;
    border-radius: 5rem;
    transition: all 0.3s ease-in;
    background-color: rgba(15, 31, 77, 0.15);
}

.cswitch--trigger::after {
    content: "";
    position: absolute;
    height: 1rem;
    width: 1rem;
    background: #fff;
    left: 0.5rem;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 100%;
    box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15),
        0 0 0 1px rgba(34, 36, 38, 0.15) inset;
}

.cswitch:hover .cswitch--trigger {
    background-color: rgba(15, 31, 77, 0.2);
}

.cswitch input:checked ~ .cswitch--trigger {
    box-shadow: 0 0 0.25rem 0 #e41e26 inset;
    background-color: #e41e26;
}

.cswitch input:checked ~ .cswitch--trigger::after {
    left: calc(100% - 0.6rem);
}

.common-form .form-control {
    background: #fff !important;
}

.common-form .btn.btn-primary.searchButton {
    height: 48px;
}

.filter-fields .form-control,
.filter-fields .select2-selection,
.filter-fields .apply-filter-btn {
    height: 48px !important;
}

.table > thead > tr > th {
    text-transform: initial;
    border-top: none;
    background: transparent;
}

.table-custom-style tr {
    border-radius: 4px;
    border-bottom: 1px solid #e0e6ed !important;
}

.table-custom-style tr:first-child {
    border-top: 1px solid #e0e6ed !important;
}

.table-custom-style {
    border-collapse: collapse;
    border-spacing: 0;
}

.table-custom-style td button.btn.btn-md {
    width: 100%;
    max-width: 120px;
    padding: 0.4375rem 0.75rem;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle i {
    height: 20px;
    width: 24px;
    display: inline-flex;
    font-size: 17px;
    margin-right: 2px;
    align-items: center;
    justify-content: center;
    color: #515365;
    fill: #888ea81a;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover i {
    color: #e41e26;
    fill: #e41e260a;
}

.navbar
    .navbar-item
    .nav-item.user-profile-dropdown
    .dropdown-menu
    .dropdown-item
    i {
    width: 18px;
    margin-right: 7px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
}

.card .card-header.border-danger {
    background: #e41e26;
}

.pkg-grade {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    padding: 2px 8px;
}

.pkg-grade img {
    margin: 0 auto;
}
.report-box .widget.widget-card-five {
    min-height: 196px;
}

.dataTable .badge {
    width: 100%;
}

.page-item .page-link:hover {
    background: #e41e26;
    color: #fff;
}

.page-item.next .page-link {
    background: none !important;
}
.page-item.next .page-link svg {
    color: #888ea8 !important;
}
@media (max-width: 575px) {
    .report-box .widget.widget-card-five {
        min-height: auto;
    }
}
