/* 
    start for migrate bootstrap 4 to bootstrap5
 */
 .form-group label {
    font-weight: 500;
}
.form-group {
    margin-bottom: 0.5rem;
}
.form-control {
    min-height: 2.2rem;
    font-size: 0.9rem;
    padding: .3rem .4rem;
}
.form-control::placeholder {
    color: #6c757d;
    opacity: 0.65;
    font-size: 0.85rem;
}
.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 0.65;
    font-size: 0.85rem;
}
.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 0.65;
    font-size: 0.85rem;
}
.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 0.65;
    font-size: 0.85rem;
}
.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 0.65;
    font-size: 0.85rem;
}

/*
    endfor migrate bootstrap 4 to bootstrap 5
 */

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.result-item img {
    max-width: 100px;
    margin-right: 15px;
}

.input-search input {
    width: 876px;
    height: 56px;
    display: flex;
    align-content: center;
    box-shadow: 0px 24px 34px 0px #2527700d;
    border-radius: 62px !important;
    outline: none;
    border: 0;
    padding-left: 20px;
}

.input-search {
    margin-bottom: 10px;
    justify-content: center !important;
}

.header-title h1 {
    color: #ffffff;
}

.title1 {
    padding-top: 50px;
    font-size: 35px;
    text-transform: uppercase;
    display: block;
}

.title2,
.title3 {
    font-size: 25px;
    text-transform: uppercase;
}

.header-wrapper {
    background-image: url("/static/images_public/banner-1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    width: 100%;
}

/* Position the submenu to the right */
.dropdown-menu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    /* Optional: small gap between parent and submenu */
    display: none;
    /* Ensure submenus are hidden by default */
}

/* .dropdown-submenu .arrow-right {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.8em;
}

.dropdown-submenu .dropdown-toggle::after {
    display: none;
} */

.dropleft .dropdown-menu {
    position: absolute;
    top: 0;
    right: 100%;
    left: auto;
    margin-right: 0.1rem;
    /* Optional: small gap between parent and submenu */
    display: none;
    /* Ensure submenus are hidden by default */
}

/* Show submenu on click */
.dropdown-menu.show .dropdown-menu.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

.circle-icon {
    /* background: #e6ebe8; */
    padding: 8px;
    border-radius: 100%;
    border-style: solid;
    border-width: 1px 2px 2px 1px;
    border-color: rgb(230, 238, 239);
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .16), 0 2px 6px 0 rgba(0, 0, 0, .12);
}

/* Ensure submenus open to the right */
.dropdown-menu-right .dropdown-menu {
    right: auto;
    left: 100%;
}
/* Dropdowns boostrap5*/
.dropdown-toggle::after {
    margin-left: 0.5em;
    display: none; /* Hide the caret for bootstrap5 */
}
.dropdown-item{
    --bs-dropdown-item-border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}
/* Dropdown hover effects */
.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056c1;
}

.dropdown-submenu .dropdown-item:hover, .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056c1;
}

.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
    background-color: #e9ecef;
    color: #0056c1;
}
/* Ensure submenu items are visible on hover */
/* .dropdown-submenu:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
} */
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
/* Modal updates boostrap5*/
.modal-dialog {
    margin: 1.75rem auto;
}

/* start loader */
.loader {
    display: none;
    position: fixed;
    width: 100vw;
    height: calc(100vh);
    background: transparent;
    transition: all 0.2s ease;
    z-index: 1055;
}

.loader .loader-circle,
.loader .loader-circle::before,
.loader .loader-circle::after {
    border: 2px solid transparent;
}

body[data-layout-mode="horizontal"] .container-fluid {
    max-width: 100% !important;
}

/* Table updates boostrap5*/
.table {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    --bs-table-hover-color: inherit;
}

.table td,
.table th {
    padding: 0.3rem 0.75rem;
    --bs-body-font-size: 0.875rem !important;
    font-size: 0.875rem !important;
}

.table thead th {
    color: #2e3133;
    cursor: pointer;
    border-bottom: None;
    border-top: 0px;
}

.loader-circle {
    position: relative;
    width: 50px;
    height: 50px;
    top: calc(50% - 45px);
    left: calc(50% - 30px);
    z-index: 1006;
}

.loader-content {
    width: 160px;
    position: absolute;
    bottom: -19px;
    left: calc(50% - 80px);
    color: #b3b0b0;
    text-align: center;
    font-size: 12.5px;
}

.loader.active {
    background: rgba(0, 0, 0, 0.7);
    display: block;
}

.loader-circle::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    border-radius: 50%;
    border-top: 2px solid #2073c5 !important;
    border-right: 2px solid #2073c5 !important;
    animation: spin1 1.5s linear infinite;
}

.loader-circle::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
    border-top: 2px solid #00b7ff !important;
    border-right: 2px solid #00b7ff !important;
    animation: spin2 1s linear infinite;
}

@keyframes spin1 {
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg)
    }

    ;
    /* 20% {transform: rotate(150deg)}
    40% {transform: rotate(300deg)}
    80% {transform: rotate(300deg)}
    100% {transform: rotate(360deg)} */
}

@keyframes spin2 {

    /* 0% {transform: rotate(-30deg)}
    20% {transform: rotate(-30deg);
         border-color: transparent transparent #00b7ff #00b7ff}
    21% {border-color: orange orange transparent transparent}
    40% {transform: rotate(-30deg)}
    60% {transform: rotate(120deg);
        border-color: orange orange transparent transparent}
    61% {border-color: transparent transparent orange orange}
    80% {transform: rotate(270deg)} */
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg)
    }

    ;
}



.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: calc(50% - 45px);
    left: calc(50% - 30px);
    z-index: 1006;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

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

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

.loader .spinner-icon,
.loader .spinner-icon::before,
.loader .spinner-icon::after {
    border: 2px solid transparent;
}

.loader .spinner-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 35px);
    /* margin: -50px 0 0 -50px; */
    -webkit-animation: spin 2s linear infinite;
    animation: spinner-icon 1.7s linear infinite;
}

.loader .spinner-content {
    position: absolute;
    width: 161px;
    color: #b3b0b0;
    top: calc(50%);
    left: calc(50% - 81px);
    text-align: center;
}

.loader .spinner-icon,
.loader .spinner-icon::before,
.loader .spinner-icon::after {
    border-radius: 50%;
    border-top-color: #00b7ff;
}

.loader .spinner-icon::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spinner-icon 1.5s linear infinite;
}

.loader .spinner-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    -webkit-animation: spin 3s linear infinite;
    animation: spinner-icon 3s linear infinite;
}

@keyframes spinner-icon {
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg)
    }

    ;
}

.navbar-nav i {
    margin-top: -5px;
    font-style: normal;
}

.inputs_active_account {
    width: 16.66%;
}

.search-collection {
    position: relative;
    padding-top: 1px;
    justify-content: flex-start;    
}
.search-collection .form-control{
    text-align: left;
}

/* .search-collection input {
    position: absolute;
    right: 0px;
} */
.grid_row.bg-primary {
    color: #fff;
}

.custom-file-label {
    height: 2rem;
    padding: 0.35rem .9rem;
}

.custom-file-label::after {
    content: "Upload";
    cursor: pointer;
    height: 1.86rem;
    padding-top: 4px;
}

.custom-file input {
    cursor: pointer;
    height: 2rem;
}

.custom-file {
    height: 2rem;
}

.list-image {
    cursor: pointer;
}

input.form-control,
select.form-control,
button#baocao,
button#export_excel,
button.btn-toathuoccu,
.btn-list-send-bhyt button,
.clockpicker-ngay-khoiphat .input-group-text {
    height: calc(1.5em + .5rem + 2px) !important;
    padding: .15rem .5rem;
}

textarea.form-control {
    padding: .15rem .5rem;
}

.form-group .input-group .form-control,
.form-group .input-group .input-group-append,
.clockpicker .input-group-append,
.clockpicker-ngaykethuc .input-group-append,
.clockpicker-dichvu .input-group-append {
    height: calc(1.5em + .5rem + 2px) !important;
}

.input-group-text {
    padding: .15rem .5rem;
}

label {
    margin-bottom: 0.1rem;
}

.custom-checkbox label,
.permissions-options label {
    font-weight: 400 !important;
    padding-left: 5px;
}
small, .small {
    font-size: .775em;
  }

.form-group {
    margin-bottom: 0.5rem;
}


.navbar-custom {
    height: 52px;
    background: url("/static/images_public/background-header.png") no-repeat center bottom;
    z-index: 999;
    margin: 0;
    padding: 0 0 0 0;
}

.logo-box .logo,
.navbar-custom .topnav-menu .nav-link {
    line-height: 52px;
}

.navbar-custom .topnav-menu .nav-link-features {
    padding: 0 12px;
    min-width: 32px;
    display: block;
    line-height: 52px;
    text-align: center;
    max-height: 60px;
    font-size: 12pt;
}

.navbar-custom .button-menu-mobile {
    height: 52px;
    line-height: 52px;
}

/* boostrap5 */
.navbar-custom a {
    text-decoration: none;
}

.logo-box {
    height: 52px !important;
    background: url("/static/images_public/header_base.png") no-repeat center bottom;
}

.content-page {
    padding: 50px 15px 0px 15px;
}

.editable-clear {
    clear: both;
    font-size: 0.9em;
    text-decoration: none;
    text-align: right;
}

/* IOS-style clear button for text inputs */
.editable-clear-x {
    background: url('/static/images_public/clear.png') center center no-repeat;
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    opacity: 0.6;
    z-index: 100;

    top: 30%;
    right: 6%;
    /* margin-top: 8px; */

}

.editable-clear-x:hover {
    opacity: 1;
}

.search-collection .editable-clear-x {
    right: 3% !important;
}

.notification-list .noti-icon-badge {
    top: 10px;
}

.topnav {
    margin-top: 52px;
}

.logo-text {
    line-height: 20px;
    max-width: 200px;
    color: #fff;
    flex-direction: column;
    align-self: center;
    text-align: left;
}

.logo-text-line-1 {
    font-weight: 400;
}

@media (min-width: 1367px) {
    .logo-text {
        display: flex;
    }
}

/* Container to hold the news items */
.news-container {
    /*  width: 100%; Full width */
    height: 35px;
    /* Fixed height for the news ticker */
    overflow: hidden;
    /* Hide overflow */
    position: relative;
    /* Position relative for absolute positioned child */
    /* background-color: #f8f9fa; Light background */
    background-color: rgba(255, 255, 255, 0);
    /* border: 1px solid rgba(255,255,255,0.3); Border */
    display: flex;
    align-items: center;
    /* Vertically center the text */
    color: #FFFFFF;
}

.news-container a {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 3px 10px;
    margin-right: 20px;
    margin-left: 20px;
}

/* Scrolling news items */
.news-items {
    display: inline-block;
    white-space: nowrap;
    /* Prevent text from wrapping */
    position: absolute;
    right: 0px;
    will-change: transform;
    animation: scrollNews 30s linear infinite;
    /* Apply the animation */
}

/* Keyframes for the scrolling animation */
@keyframes scrollNews {
    0% {
        transform: translateX(100%);
        /* Start from right */
    }

    100% {
        transform: translateX(-100%);
        /* Move to left */
    }
}

.modal-header {
    padding: 0.5rem 1rem;
    background: #00459b;
}

.modal-header .modal-title {
    color: #FFFFFF;
}

.modal-header .close {
    color: #FFFFFF;
    ;
}

.modal-footer {
    padding: .5rem;
    border-top: 1px solid #e5e8eb;
}

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

/* Ensure the table fits within the container and maintains a fixed header/footer */

.grid_container {
    background-color: #FFFFFF;
}


.px-05 {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* tr.px-05 td{
    padding-left: 2px !important;
    padding-right: 2px !important;
} */

/* end loader */

/* Utility classes updates boostrap5 */
.float-start { float: left !important; }
.float-end { float: right !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }

/* Form validation boostrap5*/
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Custom card boostrap5*/
.card_small {
    margin-bottom: 5px !important;
    box-sizing: border-box;
    border-radius: 7px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    padding: 5px;
    --bs-card-border-radius: 0.375rem;

}

.card {
    margin-bottom: 2px !important;
    box-sizing: border-box;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    --bs-card-border-radius: 0.375rem;/* boostrap5 */
    /* padding: 5px;	 */
}

.card-body {
    padding: 0.5rem 0.5rem;
}

.border-right-5 {
    border-right: 5px solid #e5e8eb !important;
}

.border-left-5 {
    border-left: 5px solid #e5e8eb !important;
}

.border-5 {
    border: 5px solid #e5e8eb !important;
    border-radius: 0.2rem !important;
}



.button-scroll-show {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: red;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}


#button-alway-show {
    position: fixed;
    bottom: 0px;
    z-index: 1030;
    width: 100%;
    background: #F0F0F0;
    padding-bottom: 10px;
    padding-top: 5px;
}

#button-alway-show.btns-tiepnhan {
    position: relative;
}

/* .modal-lg.modal-xl {
    max-width:90% !important;
} */
body[data-layout-mode=horizontal] .content-page {
    padding: 50px 5px 0px 5px;
}

.input-group>.custom-select:not(:last-child),
.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;/* boostrap5 */
    border-bottom-right-radius: 0;/* boostrap5 */
}

.input-group-date .input-group-append {
    margin-left: 0 !important;/* boostrap5 */
}

.input-group-date .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}


.input-search input {
    width: 876px;
    height: 56px;
    display: flex;
    /* align-content: center; */
    box-shadow: 0px 24px 34px 0px #2527700d;
    border-radius: 62px !important;
    outline: none;
    border: 0;
    padding-left: 20px;
}

.input-search {
    margin-bottom: 10px;
    justify-content: center !important;
}

.input-search .btn-close:hover {
    opacity: 1;
}

.input-search .btn-close {
    right: 3% !important;
    position: absolute;
    padding-top: 37px;
    opacity: 0.6;
}

.btn-close-search {
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    --bs-btn-close-opacity: 0.5;
    --bs-btn-close-hover-opacity: 0.75;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-btn-close-focus-opacity: 1;
    --bs-btn-close-disabled-opacity: 0.25;
    --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    padding-top: 0.25em;
    color: var(--bs-btn-close-color);
    background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat;
    border: 0;
    border-radius: .375rem;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    opacity: var(--bs-btn-close-opacity);
}

/* Button updates  *//* boostrap5 */
.btn-close {
    background: "transparent escape-svg($btn-close-bg) center/1em auto no-repeat";
}

/* Navbar updates *//* boostrap5 */
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}
.modal-custom-50 {
    max-width: 50% !important;
}
.modal-custom-60 {
    max-width: 60% !important;
}
.modal-custom-70 {
    max-width: 70% !important;
}
.modal-custom-80 {
    max-width: 80% !important;
}
.modal-custom-90 {
    max-width: 90% !important;
}
.modal-custom-95 {
    max-width: 95% !important;
}
.modal-custom-100 {
    max-width: 100% !important;
}
@media (max-width: 768px) {
    .modal-custom-50,
    .modal-custom-60,
    .modal-custom-70,
    .modal-custom-80,
    .modal-custom-90,
    .modal-custom-95 {
        max-width: 100% !important;
    }
}

.width-sm {
    padding: 0.4rem 0.8rem;
    line-height: 1.4;
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.selectize-control.plugin-clear_button.single .clear {
    right: 1.3rem;
}


@media (min-width:992px) {
    .modal-lg {
        max-width: 90% !important;
    }

    body[data-layout-mode=horizontal] .content-page {
        padding: calc(50px) 5px 0px 5px;
    }

    /* .modal-lg #button-alway-show {
        max-width:90% !important;
    } */
}

@media (min-width:1367px) {
    .modal-xl {
        max-width: 1140px !important;
    }

    body[data-layout-mode=horizontal] .content-page {
        padding: calc(50px) 5px 0px 5px;
    }
    /* boostrap5 remove */
    /* body[data-layout-mode=horizontal].fullscreen-enable .content-page {
        padding: 10px 5px 0px 5px !important;
    } */

    body[data-layout-mode=horizontal] .container-fluid {
        max-width: 100% !important;
    }

}

@media (max-width:556px) {

    #button-alway-show .btn-group .width-sm {
        min-width: 30px;
    }
}

@media (max-width: 1580px) {
    .input-search {
        width: 60%;
    }

    .input-search .btn-close {
        right: 2%;
    }
}

.text-info-left {
    width: 105px;
    color: #505e6a;
    /* padding-bottom: 9px; */
    /* margin-bottom: 0.35rem; */
}

.text-info-right {
    width: calc(100% - 105px);
    padding-left: 5px !important;
    /* margin-bottom: 0.35rem; */
}

.clockpicker input {
    padding: .15rem .2rem !important;
}


@media (max-width: 991.9px) {
    .text-info-right {
        width: calc(100% - 168px);
        padding-left: 10px !important;
        padding-bottom: 9px;
    }

    .text-info-left {
        width: 168px;
        padding-bottom: 9px;
    }

    .img-thumbnail {
        width: 100px !important;
        height: 100px !important;
    }

    /* .avatar_url {
        position: absolute;
        bottom: 74% !important;
        right: 37% !important;
        background-color: white;
        border-radius: 50%;
        padding: 5px;
    } */

    /* .remove_avatar {
        position: absolute;
        top: 0px;
        right: 38% !important;
        padding: 5px;
        cursor: pointer;
    } */
}

.collapsed .mdi::before {
    transform: rotate(270deg) !important;
}

table .fa.fa-times {
    cursor: pointer;
}

#form-kcb label {
    color: #505e6a;
}

.day.today {
    background-color: #e5e8eb;
}

.gonrin-datetimepicker-widget table td.today {
    background-color: #e5e8eb !important;
    background: #e5e8eb !important;
    color: aqua;
}


.cursor-pointer {
    cursor: pointer;
}

.timeline-sm-item .text-title {
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
}

.disable-click {
    pointer-events: none
}

.title-benhkemtheo {
    background-color: #f0f2f4;
    position: relative;
    margin-bottom: 7px;
}

.title-tongtien {
    font-size: 18px;
    font-weight: 600;
}

.title-benhkemtheo .accordion-arrow {
    padding-top: calc(.1rem + 1px) !important;
    padding-bottom: calc(.45rem + 1px) !important;
    margin-bottom: 0 !important;
}

.timeline-sm-item {
    padding-bottom: 10px !important;
}

.hososuckhoe-button {
    font-weight: 500;
    font-size: 16px;
}

.hososuckhoe-button a {
    color: #459ab9 !important;
}

/* .timeline-sm-date {
    font-size: 17px !important;
    margin-top: -3px !important;
} */
.timeline-sm li .timeline-sm-date {
    left: -119px !important;
    font-size: 17px !important;
    margin-top: -3px !important;
}

/* .timeline-sm li {
    padding-left: 22px !important;
} */
/* .nav-button-tab {
    padding-left: 100px;
} */
.btn-back-hssk {
    background-color: #009688 !important;
    color: #fff !important;
}

@media (max-width: 997px) {
    .timeline-sm {
        padding-left: 0px;
    }

    .timeline-sm li .timeline-sm-date {
        position: relative !important;
        left: 0px !important;
        left: 0px;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 12px;
    }

    /* .nav-button-tab {
        padding-left: 0px !important;
    } */
}

.nav-button-tab .nav-item,
.nav-button-tab>.nav-link {
    flex-basis: revert !important;
    flex-grow: 0 !important;
    text-align: center !important;
}

.radio-kcb .custom-control {
    width: 30%;
}

/* body[data-layout-mode="horizontal"] .button-menu-mobile {
    display: inherit;
} */
/* body[data-sidebar-size="condensed"] .left-side-menu #sidebar-menu>ul>li:hover>a {
    width: calc(330px) !important;
}

body[data-sidebar-size="condensed"] .left-side-menu .form-inline .h5.text-white {
    display: none;
}

body[data-sidebar-size="condensed"] .left-side-menu #sidebar-menu>ul ul {
    min-width: 260px !important;
}

body[data-sidebar-size="condensed"] #sidebar-menu>ul>li:hover>a {
    width: calc(330px) !important;
}

body[data-sidebar-size="condensed"] .form-inline .h5.text-white {
    display: none;
}

body[data-sidebar-size="condensed"] #sidebar-menu>ul ul {
    min-width: 260px !important;
} */
.left-side-menu {
    padding-top: 0px;
}

body[data-sidebar-size="default"] #sidebar-menu>ul>li>a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 12px 5px 12px 12px;
}

@media (min-width: 992px) {
    .icon-switch-menu {
        position: absolute;
        right: 0px;
        margin-top: 19px;
    }
}

@media (max-width: 991.9px) {
    .icon-switch-menu {
        visibility: hidden;
    }
}

.layout-menudoc #button-alway-show {
    width: calc(100% - 240px) !important;
}

/* body[data-sidebar-size="condensed"] .layout-menudoc #button-alway-show {
    width: calc(100% - 70px) !important;
} */

@media (min-width: 992px) {
    .modal-body #button-alway-show {
        width: calc(100% - 30px);
    }
}

/* bootstrap5 */
.form-group .dropdown-menu {
    z-index: 1200 !important;
    scrollbar-width: none;
    transform: translate(0px, 40px) !important;
    inset: auto auto auto 0; /* Top Right Bottom Left */
    /* margin-top: 0.125rem; */
    position: absolute;
}

.text-label-left {
    width: 104px;
    /* padding-top: 7px; */
    /* text-transform: uppercase; */
    /* font-weight: 600; */
    /* text-align: right; */
    padding-right: 18px;
}

.text-input-right {
    width: calc(100% - 104px);
    padding-right: 15px;
}

.text-donvicungung-left {
    padding-top: 7px;
    /* text-transform: uppercase; */
    /* font-weight: 600; */
    text-align: right;
    padding-right: 18px;
    width: 145px;
}

.text-donvicungung-right {
    width: calc(100% - 145px);
    padding-right: 15px;
}

#sophieu,
#sohoadon {
    border: 1px solid #ced4da;
    color: #6c757d;
    border-radius: 2px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .1);
}

.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-5 {
    width: 5% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-35 {
    width: 35% !important;
}

.w-50 {
    width: 50% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}


.pt-5px {
    padding-top: 5px !important;
}

.text-capthuoc {
    font-size: 17px;
}

.text-capthuoc .col-form-label {
    font-weight: 400 !important;
}

.text-capthuoc .col-form-label span {
    font-weight: 500 !important;
}

.selectize-input {
    height: calc(1.5em + .5rem + 2px) !important;
}

.has-error .invalid-feedback {
    display: contents;
    margin-top: 0.05rem;
}

.has-error input {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border-color: #bb5250;
}

.form-control.is-invalid,
.was-validated .form-control:invalid,
.selectize-input.invalid {
    background-image: none !important;
    padding-right: 0.75em;
    background-position: none !important;
    background-size: none !important;
}

.form-control.is-valid,
.was-validated .form-control:valid,
.selectize-input.valid {
    background-image: none !important;
    padding-right: 0.75em;
    background-position: none !important;
    background-size: none !important;

}


.radio-export-xml .custom-control {
    width: 23% !important;
}


.font-weight-400 {
    font-weight: 400 !important;
}

.input-xutri {
    padding-left: 3px !important;
}

.tab-thongtinkhambenh .xutri-chuyentuyen .input-group.combobox-control .form-control,
.select-thuoc .input-group.combobox-control .form-control {
    height: calc(1.5em + .5rem + 2px) !important;
    padding: .15rem .5rem !important;
}

.text-info-right1 {
    position: relative;
}

.text-info-right1 .gonrin-datetimepicker-widget.dropdown-menu {
    inset: 30px 0px auto auto !important;
}


.selectize-dropdown {
    z-index: 99999 !important;
    position: absolute !important;
}

.selectize-dropdown.single.form-control .selectize-dropdown-content div h5,
.selectize-dropdown-content div h5 {
    font-weight: 400;
    font-size: 0.9rem;
}


.selectize-control.plugin-remove_button [data-value] .remove {
    padding: 2px 0 0 0;
}


.text-align-center {
    text-align: center;
}

.selecttize-of-kcb input {
    position: relative;
    /* top: 4px; */
}



.selectize-input {
    padding-top: 4px !important;
}

.active-menu {
    height: 52px !important;
    box-sizing: border-box !important;
    border-bottom: 4px solid #37a2a2 !important;
    color: #0056c1;
}

.navbar-nav .active-menu .nav-link {
    color: #0056c1;
}

.active-menu-v {
    background-color: #c3c5cd !important;
    box-sizing: border-box !important;

}

.active-menu-v a {
    color: #00459b !important;
    font-weight: 500 !important;

}
.navbar-nav li.nav-item {
    height: 52px !important;
    align-content: center !important;
    font-size: 15px !important;
    /* padding-left: 10px;  */
    padding-right: 10px;
}


.selectize-dropdown-content>div.active,
.selectize-dropdown-content>div.option:hover,
.selectize-dropdown-content>div.active h5,
.selectize-dropdown-content>div.option:hover h5 {
    background-color: #E9ECEF !important;
    color: #282d31 !important;
}

.combobox-group .input-group.combobox-control li.active,
.combobox-group .input-group.combobox-control li:hover {
    background-color: #E9ECEF !important;
    color: #E9ECEF !important;
}

.combobox-group .input-group.combobox-control li.active a,
.combobox-group .input-group.combobox-control li:hover a {
    color: #282d31 !important;
}

/* bootstrap5 */
.combobox-group .input-group.combobox-control ul li a {
    color: #353c42 !important;
    text-decoration: none;
}

.tab-chon-benhnhan .nav-link {
    /* text-transform: uppercase; */
    font-size: 1rem;
    text-align: center;
}

.tab-chon-benhnhan .nav-link.active {
    background-color: #0056c1 !important;
    color: #ffffff;
}



#tong-so,
#tong-so-datkham {
    font-size: 15px;
    font-weight: bold;
    color: #0056c1;
}

.overview-item--c1 {
    /* background-image: -webkit-linear-gradient(60deg, #00ffa9 -5%, #0d4dff 100%); */
    background-image: -webkit-linear-gradient(60deg, #17e4e4 -40%, #676ac0 100%);
    color: #FFF;
}

.overview-item--c2 {
    background-image: -webkit-linear-gradient(60deg, #b67e93 -5%, #fab44b 100%);
    color: #FFF;
}

.overview-item--c3 {
    /* background-image: -webkit-linear-gradient(60deg, #008ac5 -5%, #ffff7e 100%); */
    background-image: -webkit-linear-gradient(60deg, #ffff7e -50%, #008ac5 100%);
    color: #FFF;
}

.overview-item--c4 {
    background-image: -webkit-linear-gradient(60deg, #FFCF71 -60%, #2376DD 100%);
    color: #FFF;
}

.overview-item--c5 {
    background-image: -webkit-linear-gradient(45deg, #F1CA74 -35%, #A64DB6 100%);
    color: #FFF;
}

.dasdboard-collection .card-body h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

.dasdboard-collection .number-dashboard {
    font-size: 40px;
}

.dasdboard-collection .card {
    height: 115px;
    padding-left: 20px;
    padding-right: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.topnav {
    margin-top: 52px;
    height: 50px !important;
}

.topnav .navbar-nav .nav-link {
    padding: 1rem 0.5rem;
}


.icon-svg-menu {
    width: 17px;
    height: 17px;
    margin-right: 5px;
    margin-left: 5px;
}

.danhsach-healthrecord,
.danhsach-phieuxuat {
    font-size: 16px;
}

/* data-sidebar-size="condensed" */
/* .datetime-picker-input table th, .datetime-picker-input table td {
    border: none;
} */
/* .datetime-picker-input .gonrin-datetimepicker-widget {
    inset: -285px auto auto 5.5px !important;
} */

/* .form-control, .selectize-input {
    border: 1px solid #aab0b7 !important;
}
.form-control.selectize-control {
    border: 1px solid #fff !important;
}
input::placeholder { 
    color: #96979b !important;
    opacity: 1 !important;
}
  
:-ms-input-placeholder {
    color: #9c9da0 !important;
}
  
::-ms-input-placeholder {
    color: #9c9da0 !important;
}
.table-boder-bold table th,.table-boder-bold table td{
    border: 1px solid #bcc7cc !important;
    color: #373535;
}
.table-boder-bold table th {
    border-bottom: 2px solid #bcc7cc !important;
} */
/* padding: 6px 8px; */
.img-cdha {
    height: 180px;
}

#phieu-xn-cdha .text-info-left {
    width: 100px !important;
}

#phieu-xn-cdha .text-info-right {
    width: calc(100% - 100px) !important;
}

.modal-lg #button-alway-show {
    right: 0px;
    left: 0px;
    margin-left: auto;
    margin-right: auto;
}

.modal-body {
    scrollbar-width: thin;
    direction: inherit;
    visibility: visible;
    position: relative;
}

.grid-data tr:hover {
    background-color: #E9ECEF;
}

/* .gonrin-datetimepicker-widget tr:hover {
    background-color: white !important;
} */
.tr-selected {
    background-color: #E9ECEF;
}

ul {
    margin-bottom: 0.6rem;
}


.container-fluid {
    padding-right: 2px !important;
    padding-left: 2px !important;
}

li.class_parent_1 a#topnav-apps {
    padding-right: 6px !important;
    padding-left: 6px !important;
}

.check_box_dichvu .custom-control-label::before {
    left: -1.2rem !important;
}

.check_box_dichvu .custom-control-label::after {
    left: -1.2rem !important;
}

input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.p_hover:hover {
    color: #0056c1 !important;
}

.highlight_gray {
    background-color: #3bafda;
    color: #fff;
}

.col-30 {
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    flex: 0 0 30%;
    max-width: 30%;
}

.col-70 {
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    flex: 0 0 70%;
    max-width: 70%;
}

.datetime-top .gonrin-datetimepicker-widget.dropdown-menu {
    inset: -306px auto auto auto !important;
}

.datetime-left {
    width: calc(100% - 87px) !important;
}

.clockpicker {
    width: 87px;
}

.datetime-left .gonrin-datetimepicker-widget.dropdown-menu {
    inset: auto 10% auto auto !important;
}

.datetime-left .gonrin-datetimepicker-widget.dropdown-menu::after,
.datetime-left .gonrin-datetimepicker-widget.dropdown-menu::before,
.datetime-top .gonrin-datetimepicker-widget.dropdown-menu::after,
.datetime-top .gonrin-datetimepicker-widget.dropdown-menu::before {
    display: none;
    ;
}

.no-hover {
    pointer-events: none;
}

input.warning,
input.warning:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border-color: #bb5250;
}


.list-item-kiemke .table-bordered thead th {
    text-align: center !important;
}

.button-edit {
    padding-right: 9px;
}

table tr td {
    direction: inherit;
    visibility: visible;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    /* line-clamp: 3; */
    /* overflow: hidden;
    text-overflow: ellipsis; */
}
.vattu-input-datetime {
    width: 200px !important;
}

.vattu-input-datetime label,
.vattu-selectize label {
    width: 85px !important;
}

.vattu-selectize {
    width: 270px !important;
}

.vattu-input-search {
    width: calc(100% - 830px);
}

.donvi-btn-check-bhxh,
.donvi-btn-check-datkham,
.btn-check-lienthong-quocgia,
.btn-check-taikhoan-bacsi {
    height: 31px !important;
    min-width: 85px !important;
}

.card-export-xml .text-qt-left {
    width: 150px;
    padding-top: 7px;
    padding-right: 15px;
}

.card-export-xml .text-input-right {
    padding-right: 0px;
}

body[data-layout-mode="horizontal"] .navbar-custom {
    padding: 0px 0px !important;
    left: 0;
    right: 0;
}

.topnav {
    padding: 0 0 !important;
}

.inventory-quantity.error-soluong {
    border: 3px solid red !important;
    color: red;
}

.selectize-control.form-control {
    height: 31px;
}


.combobox-group .input-group::after {
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: transparent #adb5bd #adb5bd transparent;
    content: '';
    display: block;
    height: 7px;
    margin-top: -5px;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all .15s ease-in-out;
    width: 7px;
}

.combobox-group .input-group:focus-within::after {
    transform: rotate(-135deg);
}

.combobox-group .input-group>.form-control:focus {
    z-index: 1500 !important;

}

.lichlamviec-label-left {
    font-weight: normal;
    line-height: 25px;
    width: 340px;
    margin-bottom: 0;
}

.lichlamviec-input-right {
    width: calc(100% - 340px);
}

.lichlamviec_thu {
    cursor: pointer;
}

/* baocao */
.custom-bold {
    color: #333333;
}

/* end baocao */

/* css giay kham suc khoe */
.text-img-4-6 {
    text-align: center;
    align-items: center;
    padding-top: 75px;
}

.area-anhdaidien {
    width: 160px !important;
}

.anhdaidien-giaykham {
    width: 160px !important;
    height: 240px;
    border: 2px solid;
}

.thongtin-canhan-gksk {
    width: calc(100% - 160px) !important;
    padding-left: 10px;
}


.col-2-5 {
    flex: 0 0 20.833333%;
    max-width: 20.833333%;
}

.col-4-5 {
    flex: 0 0 37.5%;
    max-width: 37.5%;
}

.col-7-5 {
    flex: 0 0 62.5%;
    max-width: 62.5%;
}

.col-9-5 {
    flex: 0 0 79.166667%;
    max-width: 79.166667%;
}

.btn-chonhinh {
    font-size: 11px;
}

.time_text_gksk,
.text-chuyenkhoa {
    width: 115px;
    cursor: pointer;
}

.canbo_ten_gksk {
    padding-left: 20px;
    cursor: pointer;
    display: inline-block;
}

.sacto .form-check-input {
    margin-top: .15rem !important;
}

.sacto .form-check-label {
    font-weight: 400;
}

.text-cauhoi-tiensu {
    font-weight: 400;
}

.td-checkbox {
    max-width: 45px;
    padding-left: 5px !important;
    padding-right: 5px !important;
    text-align: center;

}

td .form-check-input {
    position: relative !important;
    /* margin-left: -8px !important; */
}

.tiensu_ten_benh {
    width: calc(100% - 50px);
    margin-left: 13px;
}

.lichsu-kham .list-unstyled {
    height: 100%;
}

.lichsu-kham .list-unstyled li {
    margin-right: 20px !important;
    cursor: pointer;
    margin-top: auto;
    margin-bottom: auto;
}

.lichsu-kham .list-unstyled li .control-label {
    padding-left: 5px !important;
}

.td-column-no {
    min-width: 55px !important;
}

.img-chukyso-bacsi {
    height: 60px;
    width: 250px;
    background-size: contain;
    background-repeat: no-repeat;
}

.bacsi-xacnhan-info {
    color: #00459b;
    font-weight: 500;
}

.el-xetnghiem-ksk .selectize-control.form-control {
    width: 175px !important;
}

table tr .td-stt-vacxin {
    width: 40px !important;
}

.table-xetnghiem tr .td-tinhtrang-vacxin {
    width: 315px !important;
}

.table-xetnghiem tr .td-column-yes {
    width: 30px !important;
}

.table-xetnghiem tr .td-column-no {
    width: 30px !important;
}

.table-xetnghiem tr .td-column-other {
    width: 60px !important;
}

.radio-custom {
    margin-top: 3px;
}

.prepend-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.icon-warning-thuoc {
    color: orange;
    cursor: pointer;
}

.col-ketqua input {
    width: 150px !important;
}

.logo-dongthap {
    width: 95px;
    height: 95px;
}

.logo-healthchain {
    width: 100%;
}

.highlight-input,
.highlight-input:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border-color: rgb(28, 200, 28);
}

li.radio-option {
    cursor: pointer;
}

li.radio-option input {
    margin-right: 6px;
}


/* Background of disabled */
.justview:disabled {
    background-color: rgb(222, 222, 222) !important;
    border-color: #000000 !important;
}

.pt-0_5 {
    padding-top: 3px
}

.cs-mw-160px {
    min-width: 160px !important;
}

.cs-mw-130px {
    min-width: 130px !important;
}


.table,
body,
#sidebar-menu .menu-title,
#sidebar-menu>ul>li>a,
.nav-second-level li a,
.dropdown-item {
    color: #282d31;

}

#sidebar-menu .menu-title {
    font-size: 15px !important;
}

.auth-fluid {
    background-size: cover;
}

.auth-fluid .auth-fluid-right {
    background-color: rgba(0, 0, 0, 0.14);
    background: url(/static/images_public/pingpong.jpg) center;
    background-size: cover;
}

/* Position utilities *//* boostrap5 */
.position-sticky {
    position: sticky !important;
    top: 0;
    z-index: 1020;
}

.table-wrapper {
    position: relative;
    overflow: scroll;
    /* overflow-y: auto; */
    max-height: calc(100vh - 187px);
    /* Adjust the height as needed */
    direction: inherit;
    box-sizing: border-box !important;
    display: block;
    height: 100%;
    width: auto;
    visibility: visible;
    max-width: 100%;
    scrollbar-width: none;
    height: calc(100vh - 187px);;
    /*  thin/none  */

}

.grid-header {
    position: sticky;
    top: 0;
    /* background-color: #f8f9fa;  */
    /* Same as thead background to prevent overlap */
    z-index: 1;
    background-color: #e5eafe;
    /* bootstrap5 */
    --bs-table-bg: #e5eafe !important; 
}


.table th,
.table td {
    text-align: center;
    white-space: nowrap;
    /* Prevent text wrapping */
    /* border: 1px solid #dee2e680; */
    cursor: pointer;
    vertical-align: middle;
}

.btn-primary,
.btn-secondary,
.custom-select,
.form-control,
.selectize-input {
    box-shadow: none;
}

.auth-user-testimonial p.lead {
    max-width: 800px;
}

.toolbar .toolbar-group {
    padding-top: 2px;
}

.modal-md {
    max-width: 650px;
}

.form-control:focus {
    border-color: #0056c1 !important;
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6); */
}

input.form-control, textarea.form-control, select.form-control,
.selectize-input {
    color: #353c42 !important;
}

.selectize-control.multi .selectize-input>div {
    color: #fff;
    background-color: #0056c1;
    border-color: #0056c1;
}

kbd,
pre,
samp {
    font-family: Roboto, sans-serif;
    font-size: 100%;
}

.selectize-control.plugin-remove_button .remove-single {
    top: -7px;
}

.custom-checkbox {
    padding-top: 5px;
}

.app-search-box {
    padding-top: 0.15rem !important;
}

.modal-open .modal {
    overflow: visible;
}

.img-thumbnail {
    width: 100px !important;
    height: 100px !important;
}

.camera-icon {
    position: absolute; bottom: 15px; right: 5px; background: #fff; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.remove-icon {
    position: absolute; top: 5px; right: 5px; background: #fff; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.camera-icon i, .remove-icon i{
    color: #000;
    font-size: 12px !important;
}

.today-hc {
    color: #004497;
    font-weight: 550;
}

.logo .logo-lg-text-light {
    font-size: 16px;
}

/* .modal-content {
    font-family: "Roboto", sans-serif;
}

body {
    font-family: "Roboto", sans-serif;
} */

.selectize-control.multi,
.selectize-control.multi .selectize-input {
    height: auto !important;
}

@media (min-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}
/* bootstrap5 */
@media (max-width: 768px) {
    .row {
        --bs-gutter-x: 1rem;
    }
    .page-title {
        font-size: 1rem;
        font-weight: 500;
    }
}

/* Adjust gutter for small screens *//* bootstrap5 */
@media (max-width: 576px) {
    .row {
        --bs-gutter-x: 0.5rem;
    }
    .page-title {
        font-size: 0.8rem;
        font-weight: 500;
    }
}


.selectize-input.is-invalid {
    border-color: #e74856;
    padding-right: calc(1.5em + .9rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23e74856' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74856' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .225rem) center;
    background-size: calc(.75em + .45rem) calc(.75em + .45rem);
}

.btn-sm {
    padding: 0.2rem 0.4rem;
    line-height: 1.4;
}

.btn-sm-height-low {
    padding: 0.4rem 0.8rem;
    line-height: 1;
}

/* .avatar_url {
    position: absolute;
    bottom: 43%;
    right: 23%;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
} */

/* .remove_avatar {
    position: absolute;
    top: 0px;
    right: 23%;
    padding: 5px;
    cursor: pointer;
} */

.col-form-label {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

/*         RESPONSIVE MENU/NAVBAR      */
@media (max-width: 1204px) {
    .logo-sm { display: block !important; }
    .logo-lg, .logo-lg-text-light, #side-menu-top { display: none !important; }/* boostrap5 */
    .button-menu-mobile { display: inline-block !important; }
    .logo-box { padding-right: 0px !important; }
    .left-side-menu {
        z-index: 9999 !important;
        top: 52px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    body.sidebar-enable .left-side-menu { transform: translateX(0); }
}

@media (min-width: 1205px) {
    .left-side-menu { display: none !important; }
}

/*           SIDEBAR             */
.left-side-menu {
    min-width: 250px !important;
    overflow-y: auto;
    padding-top: 0px !important;
}

#sidebar-menu {
    padding: 10px 0;
}

#sidebar-menu li {
    list-style: none;
    padding: 6px 5px 6px 15px ;
}

#sidebar-menu .menu-title {
    display: flex !important;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    padding: 6px 15px;
    margin-bottom: 5px;
}

#sidebar-menu .view { padding-left: 0px !important; }

#sidebar-menu li a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 4px;
    transition: background 0.2s ease-in-out;
}

#sidebar-menu li a:hover { background: #404859; }

#sidebar-menu li a i {
    font-size: 16px;
    margin-right: 10px;
}

/*         SUBMENU STYLES        */
.nav-second-level {
    padding-left: 20px;
}

#sidebar-menu li a[aria-expanded="true"] + .collapse {
    display: block !important;
}

.menu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

#sidebar-menu li a[aria-expanded="true"] .menu-arrow {
    transform: rotate(90deg);
}

/*       SCROLLBAR STYLES        */
.left-side-menu::-webkit-scrollbar { width: 5px; }

.left-side-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
/*     END RESPONSIVE MENU/NAVBAR      */



.modal-lg {
    max-width: 900px;
}

/* .table th, .table td {
    vertical-align: middle !important;
    font-size: 14px;
} */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table td:nth-child(2) {
    word-break: break-word;
}

.close-dialog {
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

.download-file {
    text-decoration: none;
    font-weight: bold;
}

/* RESPONSIVE: Điều chỉnh kích thước trên màn hình nhỏ */
@media (max-width: 420px) {
    .modal-lg {
        max-width: 95%;
    }

    .table th, .table td {
        font-size: 14px;
        padding: 4px;
    }
    .table th:nth-child(1), 
    .table td:nth-child(1) {
        width: 10%;
    }

    .table th:nth-child(3),
    .table td:nth-child(3),
    .table th:nth-child(4),
    .table td:nth-child(4) {
        width: 15%;
    }
    .table-responsive {
        overflow-x: auto;
        display: block;
    }
}


.min-h-65 {
    min-height: 65% !important;
}
.min-h-75 {
    min-height: 75% !important;
}
.min-h-80 {
    min-height: 80% !important;
}
.min-h-100 {
    min-height: 100% !important;
}
@media (max-width: 768px) {
    .min-h-65 {
        min-height: 85% !important;
    }
}


.dropdown-item.d-flex {
    justify-content: space-between;
}

.dropdown-item .menu-text {
    flex-grow: 1;
    margin-left: 0.5rem;
}

.dropdown-item .ms-auto i {
    font-size: 0.9rem;
    vertical-align: middle;
}

