body.dark-theme {
    color: #a0a0a0;
    background-color: #101010;
}
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: #e0e0e0;
}
body.dark-theme hr.theme-a {
    border-color: #404040;
}
.main-sidebar {
    /* border-bottom: 1px solid #e0e0e0; */
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    border-right: 1px solid #39456e;
    z-index: 100;
}
body.dark-theme .main-sidebar {
    background-color: #141414;
    border-right-color: #000000;
}
.main-sidebar ul {
    list-style: none;
    padding-left: 0;
}
.main-sidebar ul > li {
    display: block;
}
.main-sidebar ul:first-child > li > a {
    text-align: center;
}
.main-sidebar ul:nth-child(2) {
    margin-top: 16px;
}
.main-sidebar ul > li > a {
    display: block;
    width: 100%;
    color: #363636;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    box-sizing: border-box;
}
body.dark-theme .main-sidebar ul > li > a {
    color: #c0c0c0;
}
.main-sidebar ul > li > a[data-type="logo"] > img {
    /* width: 75%;
    aspect-ratio: 1/1;
    border-radius: 8px; */
    width: 100%;
}
.main-sidebar ul > li > a[data-type="main"] {
    color: var(--color-text-theme);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
}
.main-sidebar ul > li > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.main-sidebar ul > li > a.active {
    color: #ffffff;
    background-color: #2d415e;
    font-weight: 700;
}
body.dark-theme .main-sidebar ul > li > a.active {
    background-color: #292929;
}
.main-sidebar ul:nth-child(2) > li > a > img {
    vertical-align: middle;
    margin-right: 12px;
}
body.dark-theme .main-sidebar ul > li > a > img {
    filter: invert(50%);
}
.main-sidebar ul:nth-child(2) > li > a.active > img {
    filter: invert(100%);
}
.main-sidebar ul:nth-child(2) > li > a > span {
    vertical-align: middle;
    letter-spacing: -0.02rem;
}
.btn.main-header-mobile-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    padding: 0;
    line-height: 50px;
}
.btn.main-header-mobile-btn img {
    height: 24px;
}
.main-body {
    min-height: calc(100% - 40px);
    margin-left: 250px;
}
.main-footer {
    padding: 12px 16px;
    color: #808090;
    background-color: #fafafc;
    height: 40px;
    box-sizing: border-box;
    margin-left: 250px;
}
body.dark-theme .main-footer {
    background-color: #101010;
}

body.dark-theme .combobox {
    background-color: #202020;
    border-color: transparent;
    color: #a0a0a0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='gray' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.ct-hn {
    margin-top: 0;
}

@media only screen and (min-width: 992px) {
    .btn.main-header-mobile-btn { display: none; }
}
@media only screen and (min-width: 601px) and (max-width: 991px) {
}
@media only screen and (max-width: 600px) {

}
@media only screen and (max-width: 991px) {
    .main-sidebar {
        display: none;
    }
    .main-sidebar.active {
        display: block;
    }
    .main-body {
        margin-left: 0; 
    }
    .main-footer {
        margin-left: 0;
    }
}