:focus-visible {
    outline-color: #6c16d0;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.navbar-toggler {
    border: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}

.e-service-search {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
}
.e-service-search input {
    border-radius: 30px;
    width: 100%;
    border: 1px solid #aaa;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1rem;
}

.main .main-content {
    margin-left: 250px;
}
.main.full .main-content {
    margin-left: 0;
}
.main .main-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: rgb(108,23,208);
    background: linear-gradient(180deg, rgba(108,23,208,1) 40%, rgba(198,33,145,1) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}
.main .main-sidebar-overlay {
    transition: background-color .3s;
}

.main-sidebar .logo img {
    max-width: 55%;
    display: block;
    margin: 0 auto;
}
.main-sidebar .ms-header {
    padding: 12% 0;
    margin: 0 5%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.main-sidebar .ms-content {
    height: 100%;
    overflow-y: overlay;
    scrollbar-width: thin;
    margin: 0;
    padding: 5%;
}
.main-sidebar .ms-footer {
    margin: 0 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.ms-content .nav-item {
    width: 100%;
    margin: 3% 0;
}
.ms-content .nav-item .nav-link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 50rem;
    color: #fff;
    text-align: start;
    width: 100%;
}
.ms-content .nav-item .nav-link i.bi {
    margin-right: 5%;
}
.ms-content .nav-item .nav-link i.bi::before {

}
.ms-content .nav-item .nav-link .badge {

}
.ms-content .nav-pills .nav-link.active {
    color: #333;
    background-color: #fff;
}
.ms-content .nav-link.disabled, .ms-content  .nav-link:disabled {
    color: rgba(255,255,255, .7);
}

.bg-purple-rmutp {
    background-color: #652d91;
}

.navbar-brand img {
    width: auto;
    height: 32px;
}

.bg-attachment-fixed {
    background-attachment: fixed;
}
.bg-size-cover {
    background-size: cover;
}
.bg-position-center {
    background-position: center;
}
.bg-overlay-purple-rmutp {
    position: relative;
}
.bg-overlay-purple-rmutp * {
    z-index: 1;
}
.bg-overlay-purple-rmutp::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(30 0 64 / 52%);
    z-index: 0;
}

.bg-gradient-to-g {
    background: linear-gradient(200deg, rgba(52, 152, 219,1), rgba(26, 188, 156,1));
}

.bg-g {
    background: rgb(26, 188, 156);
}

.dt-column-order::after, .dt-column-order::before {
    font-size: .6em!important;
}

.btn-google svg {
    width: 16px;
    height: 19px;
    vertical-align: text-bottom;
}
.btn-light {
    background-color: #e7e8e9;
}

.text-overflow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Sans Thai", sans-serif;
}

ol.decimal-nested {
    counter-reset: item;
    list-style: none;
    padding-left: 1.5rem;
}
.decimal-nested li {
    display: block;
    margin: .3rem 0;
}
.decimal-nested li::before {
    content: counters(item, ".") ". ";
    counter-increment: item;
}
.decimal-nested li > ol {
    counter-reset: item;
}

/* xs sm md */
@media (max-width: 991.98px) {
    .main .main-content {
        margin-left: 0;
    }
    .main .main-sidebar {
        z-index: 1021;
        transform: translateX(-100%);
        transition: transform .3s;
    }
    .main.show-sidebar .main-sidebar {
        transform: translateX(0);
    }
    .main.show-sidebar .main-sidebar-overlay {
        z-index: 1020;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.5);
    }

}
