html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 1378px) {
    .hidden-maxw1280px {
        visibility: hidden !important;
    }
}


/* Additional hover effects */
.onhover-shadow:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.onhover-bg-light:hover {
    background-color: #f8f9fa;
    font-weight: 700;
}

.onhover-bg-info:hover {
    background-color: #cff4fc;
    font-weight: 700;
}

.onhover-bg-warning:hover {
    background-color: #ffe69c;
    font-weight: 700;
}

.onhover-bg-success:hover {
    background-color: #d1e7dd;
    font-weight: 700;
}

.onhover-bg-primary:hover {
    background-color: #cfe2ff;
    font-weight: 700;
}

.onhover-bg-secondary:hover {
    background-color: #e2e3e5;
    font-weight: 700;
}

.onhover-bg-danger:hover {
    background-color: #f8d7da;
    font-weight: 700;
}

.onhover-bold:hover, .onhover-bold:focus, .onhover-bold:active, .onhover-bold.active, .open > .dropdown-toggle.onhover-bold {
    font-weight: 700;
}
.onhover:hover, .onhover:focus, .onhover:active, .onhover.active, .open > .dropdown-toggle.onhover {
    font-size: 100%;
    font-weight: 700;
    color: #00a2e8 !important;
}

.onhover-light:hover, .onhover-light:focus, .onhover-light:active, .onhover-light.active, .open > .dropdown-toggle.onhover {
    font-size: 100%;
    font-weight: 700;
    color: white !important;
}

.onhover-primary:hover, .onhover-primary:focus, .onhover-primary:active, .onhover-primary.active, .open > .dropdown-toggle.onhover-primary {
    font-size: 100%;
    font-weight: 700;
    color: #007bff !important;
}
.onhover-warning:hover, .onhover-warning:focus, .onhover-warning:active, .onhover-warning.active, .open > .dropdown-toggle.onhover-warning {
    font-size: 100%;
    font-weight: 700;
    color: orange !important;
}

.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;
}

.btn-orange {
    background-color: #f2671c;
    color: white;
    border-color: #f2671c;
}

    .btn-orange:hover, .btn-orange:focus, .btn-orange:active, .btn-orange.active, .open > .dropdown-toggle.btn-orange {
        background-color: #f2671c;
        color: white;
        border-color: #f2671c;
    }


.btn-outline-orange {
    color: #f2671c;
    background-color: white;
    border-color: #f2671c;
    letter-spacing: 0.05em;
}

    .btn-outline-orange:hover, .btn-outline-orange:focus, .btn-outline-orange:active, .btn-outline-orange.active, .open > .dropdown-toggle.btn-outline-orange {
        background-color: #f2671c;
        color: white;
    }

.btn-pink {
    background-color: deeppink;
    color: white;
    border-color: deeppink;
}

    .btn-pink:hover, .btn-pink:focus, .btn-pink:active, .btn-pink.active, .open > .dropdown-toggle.btn-pink {
        background-color: deeppink;
        color: white;
        border-color: deeppink;
    }


.btn-outline-pink {
    color: deeppink;
    background-color: white;
    border-color: deeppink;
    letter-spacing: 0.05em;
}

    .btn-outline-pink:hover, .btn-outline-pink:focus, .btn-outline-pink:active, .btn-outline-pink.active, .open > .dropdown-toggle.btn-outline-pink {
        background-color: deeppink;
        color: white;
    }


.btn-violet {
    background-color: darkviolet;
    color: white;
    border-color: darkviolet;
}

.btn-outline-violet {
    color: darkviolet;
    background-color: violet;
    border-color: darkviolet;
    letter-spacing: 0.05em;
}

    .btn-outline-violet:hover, .btn-outline-violet:focus, .btn-outline-violet:active, .btn-outline-violet.active, .open > .dropdown-toggle.btn-violet {
        background-color: darkviolet;
        color: white;
        border-color: darkviolet;
    }

.btn-light2 {
    background-color: #f0f0f0;
    color: black;
    border-color: #f0f0f0;
}

    .btn-light2:hover {
        background-color: #a9a9a9;
        color: black;
        border-color: #a9a9a9;
    }

.btn-lightgreen {
    background-color: lightgreen;
    color: gray;
    border-color: #d1e7dd;
}

.btn-outline-lightgreen {
    color: #198754;
    /*background-color: #ffffff;*/
    border-color: #198754;
    letter-spacing: 0.05em;
}

    .btn-outline-lightgreen:hover, .btn-outline-lightgreen:focus, .btn-outline-lightgreen:active, .btn-outline-lightgreen.active, .open > .dropdown-toggle.btn-lightgreen {
        background-color: #d1e7dd;
        font-weight: 800;
        color: green;
    }

.btn-brown {
    background-color: saddlebrown;
    color: white;
    border-color: saddlebrown;
}

.btn-outline-brown {
    color: saddlebrown;
    /*background-color: #ffffff;*/
    border-color: saddlebrown;
    letter-spacing: 0.05em;
}

    .btn-outline-brown:hover, .btn-outline-brown:focus, .btn-outline-brown:active, .btn-outline-brown.active, .open > .dropdown-toggle.btn-brown {
        background-color: saddlebrown;
        font-weight: 800;
        color: white;
    }

.btn-gold {
    background-color: #D4AF37;
    color: black;
    border-color: #D4AF37;
}
.btn-outline-gold {
    color: #D4AF37;
    /*background-color: #ffffff;*/
    border-color: #D4AF37;
    letter-spacing: 0.05em;
}

    .btn-outline-gold:hover, .btn-outline-gold:focus, .btn-outline-gold:active, .btn-outline-gold.active, .open > .dropdown-toggle.btn-lightgreen {
        background-color: #D4AF37;
        font-weight: 800;
        color: black;
    }

.btn-warning-custom {
    /*color: black !important;*/
    /* background-color: #837171;*/
    /*border-color: #837171;*/ /*set the color you want here*/
}

    .btn-warning-custom:hover, .btn-warning-custom:focus, .btn-warning-custom:active, .btn-warning-custom.active, .open > .dropdown-toggle.btn-warning-custom {
        color: black !important;
        background-color: #ffc107;
        /*border-color: #837171;*/ /*set the color you want here*/
    }

.btn-info-custom {
    /*color: black !important;*/
    /* background-color: #837171;*/
    /*border-color: #837171;*/ /*set the color you want here*/
}

    .btn-info-custom:hover, .btn-info-custom:focus, .btn-info-custom:active, .btn-info-custom.active, .open > .dropdown-toggle.btn-info-custom {
        color: black !important;
        background-color: #cff4fc;
        background-color: #cff4fc;
        /*border-color: #837171;*/ /*set the color you want here*/
    }

.hidden-arrow.dropdown-toggle:after {
    display: none
}


html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: 'Poppins', 'Arial', sans-serif;
}

.w-24rem {
    width: 24rem;
}

.w-2perc {
    width: 2%;
}

.w-5perc {
    width: 5%;
}

.w-6perc {
    width: 6%;
}

.w-10perc {
    width: 10%;
}

.w-15perc {
    width: 15%;
}

.w-20perc {
    width: 20%;
}

.w-30perc {
    width: 30%;
}

.w-35perc {
    width: 35%;
}

.w-40perc {
    width: 40%;
}

.w-60perc {
    width: 60%;
}

.w-70perc {
    width: 70%;
}

.fs-50perc {
    font-size: 50%;
}

.fs-60perc {
    font-size: 60%;
}

.fs-70perc {
    font-size: 70%;
}

.fs-75perc {
    font-size: 75%;
}

.fs-80perc {
    font-size: 80%;
}

.fs-90perc {
    font-size: 90%;
}

.fs-96perc {
    font-size: 96%;
}

.fs-100perc {
    font-size: 100%;
}

.fs-105perc {
    font-size: 105%;
}

.fs-110perc {
    font-size: 110%;
}

.mw-1perc {
    min-width: 1%;
}

.mw-20perc {
    min-width: 20%;
}

.mw-70perc {
    min-width: 70% !important;
}

.mw-90perc {
    min-width: 90%;
}

.mw-96perc {
    min-width: 96%;
}

.mw-100perc {
    min-width: 100%;
}

.mw-18rem {
    min-width: 18rem !important;
}

.mw-10px {
    min-width: 10px;
}

.mw-20px {
    min-width: 20px;
}

.mw-25px {
    min-width: 25px;
}

.mw-30px {
    min-width: 30px;
}

.mw-35px {
    min-width: 35px;
}

.mw-40px {
    min-width: 40px;
}

.mw-50px {
    min-width: 50px;
}

.mw-55px {
    min-width: 55px;
}

.mw-60px {
    min-width: 60px;
}

.mw-70px {
    min-width: 70px;
}

.mw-80px {
    min-width: 80px;
}

.mw-100px {
    min-width: 100px;
}

.mw-120px {
    min-width: 120px;
}

.mw-140px {
    min-width: 140px;
}

.mw-150px {
    min-width: 150px;
}

.mw-160px {
    min-width: 160px;
}

.mw-175px {
    min-width: 175px;
}

.mw-180px {
    min-width: 180px;
}

.mw-185px {
    min-width: 185px;
}

.mw-200px {
    min-width: 200px;
}

.mw-205px {
    min-width: 205px;
}

.mw-220px {
    min-width: 220px;
}

.mw-240px {
    min-width: 240px !important;
}

.mw-260px {
    min-width: 260px;
}

.mw-280px {
    min-width: 280px;
}

.mw-300px {
    min-width: 300px;
}

.mw-320px {
    min-width: 320px !important;
}

.mw-420px {
    min-width: 420px !important;
}

.mw-520px {
    min-width: 520px !important;
}

.mw-600px {
    min-width: 600px !important;
}

.mw-800px {
    min-width: 800px !important;
}

.mw-1000px {
    min-width: 1000px !important;
}

.mw-1200px {
    min-width: 1200px !important;
}

.maxw-5px {
    max-width: 5px;
}

.maxw-10px {
    max-width: 10px;
}

.maxw-20px {
    max-width: 20px;
}

.maxw-25px {
    max-width: 25px;
}

.maxw-30px {
    max-width: 30px;
}

.maxw-35px {
    max-width: 35px;
}

.maxw-40px {
    max-width: 40px;
}

.maxw-45px {
    max-width: 45px;
}

.maxw-50px {
    max-width: 50px;
}

.maxw-55px {
    max-width: 55px;
}

.maxw-60px {
    max-width: 60px;
}

.maxw-80px {
    max-width: 80px;
}

.maxw-100px {
    max-width: 100px;
}

.maxw-120px {
    max-width: 120px;
}

.maxw-140px {
    max-width: 140px;
}

.maxw-150px {
    max-width: 150px;
}

.maxw-160px {
    max-width: 160px;
}

.maxw-180px {
    max-width: 180px;
}

.maxw-200px {
    max-width: 200px;
}

.maxw-220px {
    max-width: 220px;
}

.maxw-240px {
    max-width: 240px;
}

.maxw-260px {
    max-width: 260px;
}

.maxw-280px {
    max-width: 280px;
}

.maxw-300px {
    max-width: 300px;
}

.maxw-320px {
    max-width: 320px;
}

.maxw-600px {
    max-width: 600px;
}

.maxw-800px {
    max-width: 800px;
}

.maxw-1200px {
    max-width: 1200px;
}

.maxw-96perc {
    max-width: 96%;
}
.maxw-100 {
    max-width: 100%;
}

.maxw-16rem {
    max-width: 16rem;
}

.maxw-18rem {
    max-width: 18rem !important;
}

.minw-maxw-10px {
    min-width: 10px !important;
    max-width: 10px !important;
}

.minw-maxw-12px {
    min-width: 12px !important;
    max-width: 12px !important;
}

.minw-maxw-15px {
    min-width: 15px !important;
    max-width: 15px !important;
}

.minw-maxw-20px {
    min-width: 20px !important;
    max-width: 20px;
}

.minw-maxw-30px {
    min-width: 30px !important;
    max-width: 30px;
}

.minw-maxw-40px {
    min-width: 40px !important;
    max-width: 40px !important;
}

.minw-maxw-50px {
    min-width: 50px !important;
    max-width: 50px !important;
}

.minw-maxw-60px {
    min-width: 60px !important;
    max-width: 60px !important;
}

.minw-maxw-70px {
    min-width: 70px !important;
    max-width: 70px !important;
}

.minw-maxw-80px {
    min-width: 80px !important;
    max-width: 80px !important;
}

.minw-maxw-100px {
    min-width: 100px !important;
    max-width: 100px !important;
}

.minw-maxw-120px {
    min-width: 120px !important;
    max-width: 120px;
}

.minw-maxw-150px {
    min-width: 150px !important;
    max-width: 150px;
}

.minw-maxw-320px {
    min-width: 320px !important;
    max-width: 320px;
}
.minw-maxw-350px {
    min-width: 350px !important;
    max-width: 350px;
}
.minw-maxw-400px {
    min-width: 400px !important;
    max-width: 400px;
}
.minw-maxw-500px {
    min-width: 500px !important;
    max-width: 500px;
}
.minw-maxw-600px {
    min-width: 600px !important;
    max-width: 600px;
}

.minw-maxw-58mm {
    min-width: 58mm !important;
    max-width: 58mm !important;
}

.minw-maxw-60mm {
    min-width: 60mm !important;
    max-width: 60mm !important;
}

.minw-maxw-65mm {
    min-width: 65mm !important;
    max-width: 65mm !important;
}

.minw-maxw-70mm {
    min-width: 70mm !important;
    max-width: 70mm !important;
}

.minw-maxw-75mm {
    min-width: 75mm !important;
    max-width: 75mm !important;
}

.minw-maxw-80mm {
    min-width: 80mm !important;
    max-width: 80mm !important;
}

.minh-10px {
    min-height: 10px !important;
}

.minh-25px {
    min-height: 25px !important;
}

.minh-30px {
    min-height: 30px !important;
}

.minh-40px {
    min-height: 40px !important;
}

.minh-50px {
    min-height: 50px !important;
}

.minh-60px {
    min-height: 60px !important;
}

.minh-80px {
    min-height: 80px !important;
}

.minh-100px {
    min-height: 100px !important;
}

.minh-150px {
    min-height: 150px !important;
}

.minh-200px {
    min-height: 200px !important;
}

.minh-300px {
    min-height: 300px !important;
}

.minh-400px {
    min-height: 400px !important;
}

.minh-500px {
    min-height: 500px !important;
}

.minh-600px {
    min-height: 600px !important;
}

.minh-640px {
    min-height: 640px !important;
}

.minh-vh-80 {
    min-height: 80vh !important;
}

.minh-vh-90 {
    min-height: 90vh !important;
}

.maxh-5px {
    max-height: 5px;
}

.maxh-10px {
    max-height: 10px;
}

.maxh-25px {
    max-height: 25px;
}

.maxh-30px {
    max-height: 30px;
}

.maxh-40px {
    max-height: 40px;
}

.maxh-50px {
    max-height: 50px;
}

.maxh-80px {
    max-height: 80px;
}

.maxh-100px {
    max-height: 100px;
}

.maxh-200px {
    max-height: 200px !important;
}

.maxh-300px {
    max-height: 300px !important;
}

.maxh-400px {
    max-height: 400px;
}

.maxh-540px {
    max-height: 540px;
}

.maxh-60vh {
    max-height: 60vh;
}

.maxh-80vh {
    max-height: 80vh;
}
.maxh-100 {
    max-height: 100%;
}
.minh-maxh-10px {
    min-height: 10px !important;
    max-height: 10px;
}

.minh-maxh-15px {
    min-height: 15px !important;
    max-height: 15px;
}

.minh-maxh-80px {
    min-height: 80px !important;
    max-height: 80px;
}

.minh-maxh-90px {
    min-height: 90px !important;
    max-height: 90px;
}

.minh-maxh-100px {
    min-height: 100px !important;
    max-height: 100px;
}

.minh-maxh-120px {
    min-height: 120px !important;
    max-height: 120px;
}

.minh-maxh-150px {
    min-height: 150px !important;
    max-height: 150px;
}

.minh-maxh-240px {
    min-height: 240px !important;
    max-height: 240px;
}

.minh-maxh-100mm {
    min-height: 100mm !important;
    max-height: 100mm !important;
}

.minh-maxh-140mm {
    min-height: 140mm !important;
    max-height: 140mm !important;
}

.left-min5px {
    left: -5px;
}

.left-min7px {
    left: -7px;
}

.left-min10px {
    left: -10px;
}

.left-min15px {
    left: -15px;
}

.left-0px {
    left: 0px;
}

.left-5px {
    left: 5px;
}

.left-10px {
    left: 10px;
}

.left-15px {
    left: 15px;
}

.left-20px {
    left: 20px;
}

.rounded-top-left-1 {
    border-top-left-radius: 5px;
}

.rounded-top-left-2 {
    border-top-left-radius: 10px !important;
}

.rounded-top-left-3 {
    border-top-left-radius: 15px !important;
}

.rounded-top-left-4 {
    border-top-left-radius: 20px !important;
}

.rounded-top-right-1 {
    border-top-right-radius: 5px;
}

.rounded-top-right-2 {
    border-top-right-radius: 10px !important;
}

.rounded-bottom-left-1 {
    border-bottom-left-radius: 1rem;
}

.rounded-bottom-left-2 {
    border-bottom-left-radius: 1rem;
}

.rounded-bottom-right-1 {
    border-bottom-right-radius: 1rem;
}

.rounded-bottom-right-2 {
    border-bottom-right-radius: 1rem;
}

.border-bottom-pink-1 {
    border-bottom: 1px solid #e46774;
}

.border-darkorange-2-dashed {
    border: 2px dashed darkorange;
}

.border-bottom-light-1 {
    border-bottom: 1px solid lightgray;
}

.border-bottom-info-1 {
    border-bottom: 1px solid #00ffff;
}

.border-bottom-primary-1 {
    border-bottom: 1px solid #007bff;
}

.border-bottom-success-1 {
    border-bottom: 1px solid green;
}

.border-bottom-warning-1 {
    border-bottom: 1px solid orange;
}

.border-success-2-dashed {
    border: 2px dashed lightgreen;
}

.border-primary-2-dashed {
    border: 2px dashed cyan;
}

.border-secondary-2-dashed {
    border: 2px dashed gray;
}


.border-warning-2-dashed {
    border: 2px dashed orange;
}

.border-bottom-danger-1 {
    border-bottom: 1px solid red;
}

.border-bottom-dark-1 {
    border-bottom: 1px solid black;
}

.border-bottom-secondary-1 {
    border-bottom: 1px solid gray;
}

.border-bottom-watery-1 {
    border-bottom: 1px solid cyan;
}

.border-bottom-wateryplus-1 {
    border-bottom: 1px solid #1abaff;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.vertical-center-relative {
    margin: 0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.border-radius-2px {
    border-radius: 2px;
}

.border-radius-4px {
    border-radius: 4px;
}

.border-radius-8px {
    border-radius: 8px;
}
.top-min3px {
    top: -3px;
}
.top-min5px {
    top: -5px;
}

.top-min10px {
    top: -10px;
}

.top-min20px {
    top: -20px;
}

.top-min25px {
    top: -25px;
}

.top-min30px {
    top: -30px;
}

.top-min40px {
    top: -40px;
}

.top-min50px {
    top: -50px;
}

.top-min70px {
    top: -70px;
}

.top-0px {
    top: 0px;
}

.top-5px {
    top: 5px;
}

.top-10px {
    top: 10px;
}

.top-15px {
    top: 15px;
}

.top-20px {
    top: 20px;
}

.top-25px {
    top: 25px;
}

.top-25vh {
    /*position:relative;*/
    top: 25vh !important;
}

.top-30px {
    top: 30px;
}

.top-40px {
    top: 40px;
}

.top-50px {
    top: 50px;
}

.top-50vh {
    /*position:relative;*/
    top: 50vh !important;
}

.top-60px {
    top: 60px;
}

.top-70px {
    top: 70px;
}

.top-80px {
    top: 80px;
}

.top-90px {
    top: 90px;
}

.text-watery {
    color: #00a2e8;
}

.text-wateryplus {
    color: #1abaff !important;
}

.text-hotpink {
    color: hotpink !important;
}

.text-deeppink {
    color: deeppink !important;
}

.text-violet {
    color: darkviolet;
}

.text-blueviolet {
    color: blueviolet;
}

.text-gold {
    color: gold;
}

.text-orange {
    color: #f99124;
}

.text-darkorange {
    color: darkorange;
}

.text-lightgreen {
    color: #28a745;
}

.bg-pink {
    background-color: pink !important;
}

.bg-violet {
    background-color: violet !important;
}

.bg-palegrey {
    background-color: #f8f9fa;
}

.bg-watery {
    background-color: #8de6fd;
}

.bg-watery {
    background-color: #8de6fd;
}

.bg-dashboard {
    background-color: #f1fcfe !important;
}

.btn-pulse {
    background-color: none;
    border-radius: 50%;
    position: relative;
    animation: btn-animate 3s linear infinite
}

    .btn-pulse i {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        height: 100%;
        cursor: pointer
    }

.login-pulse {
    width: 70px;
    height: 70px;
    background-color: none;
    border-radius: 50%;
    position: relative;
    animation: animate 3s linear infinite
}

    .login-pulse i {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        color: #fff;
        height: 100%;
        cursor: pointer
    }

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 162, 232, 0.7), 0 0 0 0 rgb(0, 162, 232, 0.7)
    }

    40% {
        box-shadow: 0 0 0 20px rgb(0, 162, 232, 0), 0 0 0 0 rgb(0, 162, 232, 0.7)
    }

    80% {
        box-shadow: 0 0 0 20px rgb(0, 162, 232, 0), 0 0 0 20px rgb(0, 162, 232, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(0, 162, 232, 0), 0 0 0 20px rgb(0, 162, 232, 0)
    }
}

@keyframes btn-animate {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 162, 232, 0.7), 0 0 0 0 rgb(0, 162, 232, 0.7)
    }

    40% {
        box-shadow: 0 0 0 5px rgb(0, 162, 232, 0), 0 0 0 0 rgb(0, 162, 232, 0.7)
    }

    80% {
        box-shadow: 0 0 0 5px rgb(0, 162, 232, 0), 0 0 0 10px rgb(0, 162, 232, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(0, 162, 232, 0), 0 0 0 10px rgb(0, 162, 232, 0)
    }
}

@media (max-width: 768px) {
    .sidebar {
        /* visibility: hidden;
    clear: both;
    float: left;
    display: none;*/
        min-height: 100vh;
    }
}

@media (min-width: 768px) {

    /* The sidebar menu */
    .sidebar {
        overflow-x: hidden;
        transition: 240ms;
        min-height: 100vh;
        /*min-width: 50px;*/
        position: fixed;
        z-index: 1;
        top: 30px;
        left: -5px;
        /*background-color: white !important;*/
    }

        /* The sidebar links */
        .sidebar a {
            text-decoration: none;
            font-size: 90%;
            color: #818181;
            display: block;
            transition: 240ms;
        }

            /* When you mouse over the navigation links, change their color */
            .sidebar a:hover {
                /*color: #f1f1f1;*/
                color: #1ca7f2;
                background-color: #eeeee4;
                font-size: 100%;
                font-weight: 700;
                min-width: 100%;
            }

    .myitem {
        flex: 1;
        width: 50px;
        height: 100vh;
        font-size: 100%;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        transition: flex 0.8s ease;
        scrollbar-width: none;
    }

        .myitem:hover {
            flex: 1;
            height: 100vh;
            width: 240px;
            font-size: 100%;
        }
}

::-webkit-scrollbar {
    width: 1px;
}

::-webkit-scrollbar-track {
    background: transparent;
    background: #fff
}

::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 20px;
    border: transparent;
}

@media (min-width: 768px) {
    .patient-custom-dropdown {
        /*  display: flex;
                    flex-wrap: wrap; */
        min-height: 480px !important;
    }
}

@media (max-width: 768px) {
    .patient-custom-dropdown {
        /*  display: flex;
                    flex-wrap: wrap; */
        max-height: 160px !important;
    }
}

@media print {
    @page {
        /* padding-left: 0px;
                                    padding-right: 0px; */
        margin-left: 0.0in;
        margin-right: 0.0in;
        margin-top: 0.5in;
        margin-bottom: 0.5in;
        font-size: 120%;
    }

    .main {
        position: relative;
        top: -30px;
    }

    /*.body-container {*/
    /*  padding-left: 0px;
                                    padding-right: 0px; */
    /*margin-left: 0.0in;
        margin-right: 0.0in;
        margin-top: 0.5in;
        margin-bottom: 0.5in;
        font-size: 120%;
        position: relative;
        top: -30px;
    }*/
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content2 {
    display: none;
    position: fixed;
    left: -200px;
    top: 200px;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content2 a {
        padding: 6px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0,174,239,.15);
    border-right: 6px solid rgba(0,174,239,.15);
    border-bottom: 6px solid rgba(0,174,239,.15);
    border-top: 6px solid rgba(0,174,239,.8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.bg-primary-subtle-2 {
    background-color: #e6f2ff !important;
}
.bg-success-subtle-2 {
    background-color: #f1f8f5 !important;
}
.bg-gold-subtle {
    background-color: #f6ebc2 !important;
}
/*  ----------------------------- CUSTOM CSS-SCRIPTS  ------------------------*/
/* Define CSS variables for theme customization */
:root {
    --primary-color: #0d6efd; /* Bootstrap primary blue */
    --secondary-color: #6c757d; /* gray */
    --warning-color: #ffc107; /* amber */
    --danger-color: #dc3545; /* red */
    --success-color: #198754; /* green */
    --info-color: #0dcaf0; /* cyan */
    /*--background-color: #ffffff;*/
    --text-color: #212529;
    --border-radius: 0.75rem;
    --transition-duration: 0.3s;
}

body {
    /*font-family: 'Inter', sans-serif;*/
    /*background-color: var(--background-color);*/
    color: var(--text-color);
}

/* Search input styling */
.search-input {
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: 0.375rem 0.75rem;
    width: 180px;
    font-size: 0.95rem;
    transition: border-color var(--transition-duration), box-shadow var(--transition-duration);
}

    .search-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 8px rgba(13, 110, 253, 0.25);
        outline: none;
    }

/*Dropdown menu styling*/
.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Dropdown item hover effect */
.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s, transform 0.1s;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        transform: translateX(2px);
    }

/* Buttons inside dropdowns */
.dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}

    .dropdown-btn:hover {
        background-color: #f1f3f5;
        transform: translateX(1px);
    }


/* Card hover for elevation */
.card-hover {
    transition: box-shadow var(--transition-duration);
}

    .card-hover:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* Table row hover */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Header card styles */
.card-header-custom {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.transition {
    transition: all 0.2s ease-in-out;
}

/* Transition class for smooth animations */
.transition-all {
    transition: all var(--transition-duration) ease-in-out;
}

.spinner-rem {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 768px) {
    /* Main container fluid */
    .margin-left {
        position: relative;
        /* left: 40px !important; */
        margin-left: 40px !important;
    }
}

/* Make dropdown width responsive and switch layout */
@media (min-width: 768px) {
    /* Desktop: 2 columns side-by-side with 500px width */
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 450px;
    }

    .dropdown-menu-max {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        width: 500px;
    }
}

@media (max-width: 767px) {
    /* Mobile: single column with 200px width */
    .grid-container {
        display: block;
        width: 240px;
    }

    .dropdown-menu-max {
        width: 240px;
        justify-content: end;
    }
}


/*  
    ------------------------------------------
    Popup customisations  
    ------------------------------------------
*/


/* Modal content: clean, rounded, subtle shadow */
.modal-content {
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1.0rem;
    background-color: #fff;
}


/* Body: spacious, clean scroll */
.modal-body {
    /*padding-top: 1.5rem;*/
    padding-bottom: 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
}

/* Labels: subtle and clear */
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.2rem;
}

/* Input fields: modern, soft borders, focus highlight */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d1d1;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-control:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.2);
        outline: none;
    }

/* Form group spacing */
.form-group {
    margin-bottom: 0.6rem;
}


/* Footer: aligned right, minimal spacing */
.modal-footer {
    border-top: none;
    padding-top: 0.2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

/* Scrollbar styling for minimalism */
.modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 3px;
}

/*  End of popup customisations  */


/* Headers with gradient backgrounds transitioning from semi-opaque on left to transparent on right */
.bg-primary-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #c2dbff, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-info-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient( to right, rgba(135, 239, 250, 0.5), /* watery aqua, 80% opacity */
    rgba(102, 166, 255, 0.0) /* semi-transparent blue, 10% opacity */
    );
}

.bg-success-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: darkgreen;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #80c080, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-success2-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: green;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #b3d9b3, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-warning-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: darkorange;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #ffe69c, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-danger-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: red;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #ee9aa2, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-pink-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: deeppink;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #ffa1d4, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-violet-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: darkviolet;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #b025be, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-secondary-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, gray, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-light-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, lightgray, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-gold-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #f6ebc2, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}

.bg-orange-gradient {
    padding: 0.5rem 1.0rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    /* border-top-right-radius: 20px; */
    font-weight: 600;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1); */
    box-shadow: none;
    /* Gradient background with opacity transition from left to right */
    background: linear-gradient(135deg, #f9b38e, #fafafa); /* Aquatic gradient */
    /*background: linear-gradient( to right, rgba(135, 239, 250, 0.5),*/ /* watery aqua, 80% opacity */
    /*rgba(102, 166, 255, 0.0)*/ /* semi-transparent blue, 10% opacity */
    /*);*/
}


.margin-0_5mm {
    margin: 0.5mm;
}

.margin-1mm {
    margin: 1mm;
}

/* add border to the select element */
.select2-border {
    border: 1px solid gray; /* Change color and thickness as needed */
    border-radius: 4px; /* Optional: rounded corners */
    padding: 0.375rem 0.75rem; /* Match Bootstrap form-control padding if needed */
}

/* Make selected text bold */
.select2-selection__rendered {
    font-weight: bold;
}


/* Optional: To set the height of the results list specifically */
.select2-results {
    max-height: 200%;
    overflow-y: scroll;
    font-weight: 700;
    color: #6c757d;
}

/* Increase the height of the select2 container to 150% of its default height */
.select2-container--default .select2-selection {
    height: calc(1.4 * 38px); /* Assuming default height ~38px, adjust as needed */
    min-height: calc(1.4 * 38px);
    display: flex;
    align-items: center;
    padding: 0 15px !important; /* optional, for spacing */
    border-radius: 12px;
    box-sizing: border-box; /* ensure padding doesn't affect height */
    border-color: #d1d1d1 !important;
    line-height: normal !important; /* Reset line-height if needed */
}

/* Vertically center the text inside the rendered selection */
.select2-container--default .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
}


/* Force all text to be white within dark theme */
[data-bs-theme="dark"] * {
    color: var(--bs-white) !important;
}

/* Revert specific classes to their original colors to prevent override */
[data-bs-theme="dark"] .text-white {
    color: black !important; /* Bootstrap's success color */
}
/* Revert specific classes to their original colors to prevent override */
[data-bs-theme="dark"] .text-primary {
    color: #007bff !important; /* Bootstrap's success color */
}

/* Revert specific classes to their original colors to prevent override */
[data-bs-theme="dark"] .text-success {
    color: #198754 !important; /* Bootstrap's success color */
}

[data-bs-theme="dark"] .text-secondary {
    color: #6c757d !important; /* Bootstrap's secondary color */
}

[data-bs-theme="dark"] .text-danger {
    color: #dc3545 !important; /* Bootstrap's danger color */
}

[data-bs-theme="dark"] * {
    color: #6c757d !important;
}


/* Exclude specific button classes to keep their original colors */
[data-bs-theme="dark"] .btn-success,
[data-bs-theme="dark"] .btn-primary,
/*[data-bs-theme="dark"] .btn-warning,*/
[data-bs-theme="dark"] .btn-danger {
    color: initial !important; /* Reset to Bootstrap default color for buttons */
}

/* Exclude outline buttons to keep their original styling */
[data-bs-theme="dark"] .btn-outline-success,
[data-bs-theme="dark"] .btn-outline-primary,
/*[data-bs-theme="dark"] .btn-outline-warning,*/
[data-bs-theme="dark"] .btn-outline-danger {
    color: inherit !important; /* Keeps their default border and text color */
    /* background-color: transparent !important; /* Ensures background remains transparent for outline buttons */
}

/* Optional: ensure button backgrounds stay styled properly */
[data-bs-theme="dark"] .btn-success {
    background-color: #198754; /* Bootstrap success color */
}

[data-bs-theme="dark"] .btn-primary {
    background-color: #0d6efd; /* Bootstrap primary color */
}

[data-bs-theme="dark"] .btn-warning {
    background-color: #ffc107;
}

[data-bs-theme="dark"] .btn-danger {
    background-color: #dc3545; /* Bootstrap danger color */
}

[data-bs-theme="dark"] .btn-light {
    background-color: lightgray; /* Bootstrap danger color */
    color: black !important; /* Bootstrap's success color */
}

[data-bs-theme="dark"] .bg-success-subtle-2 {
    background-color: #051b11 !important;
}

[data-bs-theme="dark"] .bg-white {
    background-color: transparent !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: transparent !important;
}
