.list-group-item.active {
    color: darkblue;
    font-weight: 600;
}

.small {
    font-size: .875em;
}

/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.quill-editor-container {
    min-height: 300px !important;
}

.wrapper {
    align-items: stretch;
    background: #222e3c;
    display: flex;
    width: 100%;
}

.sidebar,
.sidebar-content {
    /* background: #222e3c; */
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
}

.sidebar {
    direction: ltr;
    max-width: 260px;
    min-width: 260px;
}

.sidebar.collapsed {
    margin-left: -260px;
}

@media (min-width: 1px) and (max-width: 991.98px) {
    .sidebar.collapsed {
        margin-left: 0;
    }
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    left: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;

    /* padding-right: 10px;  */
    /* Khoảng này ≈ chiều rộng scrollbar */
    /* box-sizing: content-box; */

    overflow-y: auto;
    scrollbar-gutter: stable;
    /* scrollbar-width: thin;  */
    /* Firefox */
    scrollbar-color: rgba(196, 182, 182, 0.3) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: none;
}

/* .sidebar-content::-webkit-scrollbar {
            width: 8px;
        } */


.sidebar-content:hover {
    scrollbar-width: thin;
}





.simplebar-wrapper {
    height: inherit;
    max-height: inherit;
    max-width: inherit;
    overflow: hidden;
    width: inherit;
}

.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    flex-basis: 0;
    flex-grow: inherit;
    flex-shrink: 0;
    float: left;
    height: 100%;
    margin: 0;
    max-height: 1px;
    max-width: 1px;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: relative;
    width: 100%;
    z-index: -1;
}

.simplebar-mask,
.simplebar-offset {
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.simplebar-mask {
    direction: inherit;
    height: auto !important;
    overflow: hidden;
    width: auto !important;
    z-index: 0;
}

.simplebar-offset {
    -webkit-overflow-scrolling: touch;
    box-sizing: inherit !important;
    direction: inherit !important;
    resize: none !important;
}

.simplebar-mask,
.simplebar-offset {
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.simplebar-content-wrapper {
    -ms-overflow-style: none;
    box-sizing: border-box !important;
    direction: inherit;
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    position: relative;
    scrollbar-width: none;
    width: auto;
}

.simplebar-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 0 !important;
}

/* .sidebar-content:hover::-webkit-scrollbar {
    display: initial;
} */
.simplebar-content:after,
.simplebar-content:before {
    content: " ";
    display: table;
}

.sidebar-brand {
    color: #f8f9fa;
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.15rem 1.5rem;
}

.sidebar-nav {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.sidebar-header {
    background: transparent;
    color: #ced4da;
    font-size: .75rem;
    /* padding: 1.5rem 1.5rem 24px .375rem; */
    padding: 1.5rem 1.5rem 10px 2rem;
}

/* .sidebar-dropdown .sidebar-item.active .sidebar-link{
            color: #518be1;
            background: transparent;
            border-left: 0;
        }
        .sidebar-dropdown .sidebar-item .sidebar-link:hover {
            color: #e9ecef;
            border-left: 0;    
            font-weight: 400;
        }
        */

.sidebar-link,
a.sidebar-link {
    /* background: #222e3c; */
    border-left: 3px solid transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: block;
    font-weight: 400;
    padding: .425rem 1.625rem;
    position: relative;
    text-decoration: none;
    transition: background .1s ease-in-out;
}

.sidebar-link i,
.sidebar-link svg,
a.sidebar-link i,
a.sidebar-link svg {
    color: rgba(233, 236, 239, .5);
    margin-right: .75rem;
    height: 18px;
    width: 18px;
    stroke-width: 2;
}

a.sidebar-link svg {
    /* fill: rgba(233, 236, 239, .5); */
    /* stroke: rgba(233, 236, 239, .5); */
}

.sidebar-link:hover,
.sidebar-link:hover i,
.sidebar-link:hover svg {
    color: rgba(233, 236, 239, .75);
}

.sidebar-link:hover {
    /* background: #222e3c; */
    color: #fff;
    border-left-color: transparent;
}

.feather {
    stroke-width: 2;
    height: 18px;
    width: 18px;
}

@media (min-width: 1px) and (max-width: 991.98px) {
    .sidebar {
        margin-left: -260px;
    }
}







.main {
    background: #f5f7fb;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
    width: 100%;
}

.navbar-bg {
    background: #fff;
}

.navbar {
    border-bottom: 0;
    box-shadow: 0 0 2rem 0 rgba(33, 37, 41, .1);
}

.navbar-expand {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.content {
    direction: ltr;
    flex: 1;
    max-width: 100vw;
    padding: 1.5rem 1.5rem .75rem;
    width: 100vw;
}

@media (min-width: 768px) {
    .content {
        max-width: auto;
        width: auto;
    }
}

/* @media (min-width: 992px) {
            .content {
                padding: 3rem 3rem 1.5rem;
            }
        } */

.sidebar-cta-content {
    background: #2b3947;
    border-radius: .3rem;
    color: #e9ecef;
    margin: 1.75rem;
    padding: 1.5rem;
}

.sidebar-toggle {
    margin-right: 1rem;
    cursor: pointer;
    display: flex;
    height: 26px;
    width: 26px;
}

.hamburger,
.hamburger:after,
.hamburger:before {
    background: #495057;
    border-radius: 1px;
    content: "";
    cursor: pointer;
    display: block;
    height: 3px;
    transition: background .1s ease-in-out, color .1s ease-in-out;
    width: 24px;
}

/* .form-control.is-valid,
.was-validated .form-control:valid {
    display: none !important;
} */

.form-control.is-valid,
.was-validated .form-control:valid,
.was-validated .form-select:valid:not([multiple]):not([size]) {
    /* border-color: inherit !important; */
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding-right: inherit !important;
    background-image: none !important;
    background-repeat: initial !important;
    background-position: initial !important;
    background-size: initial !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

.modal-custom-size {
    max-width: 90%!important;
    width: 90%!important;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}