.menu-button, a.menu-button {
    background-color: #bdccd4;
    font-weight: bold;
    color: black;
    padding: .8em 1em;
    margin: 1em .3em;
    font-size: 1em;
}

label:empty {
    display: none;
}

.menu-button.active, a.menu-button.active {
    background-color: #3fa9f5;
}

.inst-course-bg {
    background-color: #fbfbf8;
}

.mh-sm {
    min-height: 300px;
}

.header {
    font-size: 2em;
}

label {
    margin: 0;
}

.course-box {
    display: inline-block;
    vertical-align: top;
    margin: 10px 1.2em;
    margin-left: 0px;
    width: 50%;
}

.course-box .banner {
    display: inline-block;
    width: 100%;
    padding-top: 56.24%;
    background-size: cover;
    background-position: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.course-box .course-name {
    font-size: 1.3em;
    font-weight: normal;
    margin: 8px 0px 5px;
    line-height: 1.2;
    min-height: 40px;
    color: #222;
}

.course-box .course-dsc,
.course-box .course-progress {
    color: gray;
    font-size: 1.1em;
    margin: 6px 0px;
}

.course-box .course-progress {
    color: #007791;
}

@media (max-width: 992px) {
    .c-con-w.container {
        max-width: initial;
    }
}

a.lnkSteelBlue {
    color: #0f7c90;
    font-weight: bold;
    font-size: 1.3em;
}

.course-group .course-box:last-child {
    margin-right: 0px;
}

@media (max-width: 560px) {
    .course-box {
        width: 47%;
    }
    .course-group .course-box:nth-child(even) {
        margin-right: 0px;
    }
}

.form-group-sm .input-group i {
    line-height: initial !important;
    font-size: 1rem;
    color: white;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.form-group-sm .fa {
    font-size: 1.5em;
    line-height: 2rem;
    color: #17b0d3;
}

a.course-title-icon {
    color: #333336;
    font-size: 2em;
    display: inline-block;
}

.header-1 {
    font-size: 2em;
    font-weight: bold;
}

.header-2 {
    font-size: 1.7em;
}

.tran-white-bg-t .header-2 {
    color: black;
}

.course-title-dsc {
    font-size: 1.2em;
}

.course-overview-main-container {
    max-width: 38rem;
}

.form-label.content {
    font-size: 1.4em;
    line-height: 1.25;
    white-space: pre-wrap;
    white-space: pre-line;
}

.tab-content {
    padding: 1.5em 0em;
}

.dts .nav-tabs .nav-item.show .nav-link, 
.dts .nav-tabs .nav-link.active {
    background-color: #5c7277;
    color: white;
     border-bottom: 1px solid #c3c3c3;
}

.dts .nav-tabs .nav-link {
    font-size: 1.237em;
    background-color: #f2f2f2;
    border-bottom: 1px solid #c3c3c3;
    margin-right: 0.5em;
    color: #6e6e6e;
}

.dts .nav-tabs {
    border-bottom: 1px solid #c3c3c3;
}

@media only screen and (max-width: 768px) {
    nav.dts {
        display: initial;
    }
}

.c-con-w.container {
    position: relative;
}

.sidebar-container-content {
    width: 15rem;
    /* border-bottom: 1px solid #dcdacb; */
    box-sizing: border-box;
    /* box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 4px 12px rgb(0 0 0 / 8%); */
    border-radius: 4px;
    background-color: #fff;
}

.sidebar-container {
    display: block;
    /* position: absolute; */
    /* top: -1rem; */
    margin: 0px -15px;
    z-index: 1;
    background-color: #444;
}

@media (max-width: 1400px) {
    .course-overview-main-container {
        max-width: 800px;
    }
    .sidebar-container {
        /* margin-left: 34rem; */
    }
}

@media (max-width: 1200px) {
    .course-overview-main-container {
        max-width: 800px;
    }
    .sidebar-container {
        /* margin-left: 27rem; */
    }
}

@media (max-width: 992px) {
    .sidebar-container {
        /* margin: 0px; */
        /* background-color: #1e1e1c; */
        padding: 2em;
    }
    .sidebar-container-content {
        width: initial;
        /* margin: 1em 4rem 0em; */
        background-color: transparent;
        border: none;
    }
    .sidebar-container-content label {
        /* color: white; */
    }
    .course-overview-main-container {
        margin: 0px auto;
        max-width: 39rem;
    }

}

a.couse-status-text {
    padding: 2px 8px;
    color: white;
}

a.couse-status {
    padding: 2px 4px;
    color: white;
}

.c-publish a.couse-status-text {
    background-color: #b1d397;
}

.c-publish a.couse-status {
    background-color: #39b54a;
}

.c-draft a.couse-status-text {
    background-color: #bbbbbb;
}

.c-draft a.couse-status {
    display:none;
}

.course-icon {
    color: #17b0d3;
    font-size: 1.3em;
}

.course-menu-box {
    margin: 0px;
    margin-top: 1.5em;
}

.form-label {
    font-size: 1.3em;
}

.container button.btn {
    font-size: 1.3em;
    padding: .25rem .5rem;
}

.uu-img {
    width: 100%;
    max-width: 38rem;
}

.c-box {
    padding: 10px 0px;
}

.c-box-vid {
    background-color: #f2f2f2;
    padding: 10px !important;
    margin-bottom: 1em;
}

.w-xs {
    max-width: 400px;
}

textarea.form-control-sm {
    min-height: calc(7.5em + .5rem + 2px);
}

.blue-txt {
    color: #0086c8;
}

input.form-check-input {
    width: 1.5em;
    height: 1.5em;
    vertical-align: top;
}

label.form-check-label {
    vertical-align: top;
    margin: 4px 0px 0px 10px;
}

.menu-button.select-item i {
    margin-right: .8em;
    cursor: pointer;
}

.menu-button.select-item span {
    white-space: initial;
}

.menu-button.select-item {
    background-color: #f1f1f1;
    font-size: 1.2em;
    white-space: nowrap;
    display: inline-block;
    margin: 0px 5px 5px 0px;
}

.course-overview-main-container textarea.form-control-sm {
    white-space: pre-wrap;
    white-space: pre-line;
    min-height: calc(18.5em + .5rem + 2px);
}

.course-overview-main-container.short-content textarea.form-control-sm {
    min-height: calc(10.5em + .5rem + 2px);
}

.page-item {
    background-color: #f2f2f2;
    padding: .6em 1em;
    font-size: 1.3em;
    max-width: 600px;
}

.page-no {
    color: white;
    background-color: #bdccd4;
    padding: .3em;
    margin-right: 10pt;
    width: 40px;
    text-align: center;
    font-size: 1.5em;
    min-width: 40px;
    height: 40px;
}

.page-action i, .page-order i {
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
}

.page-name {
    width: 100%;
    max-width: 372px;
    margin-right: 10pt;
    line-height: 1.3;
}

.page-item-overview {
    width: 100%;
    margin-right: 10pt;
    font-size: 1.3em;
    line-height: 1.3;
    color: #0082b5;
}

.edit-icon {
    color: #3fa9f5;
}

.dp-icon {
    color: #00a99d;
}

.page-order i {
    color: #8cc63f;
}

.pages-list {
    margin-bottom: 1em;
}

.page-action, .page-order {
    white-space: nowrap;
}

.form-group .pages-list:nth-child(2) .up-icon,
.form-group .pages-list:last-child .down-icon {
    filter: grayscale(1);
    opacity: .5;
    pointer-events: none;
}

.section-no {
    font-size: 2.5em;
    font-weight: bold;
    font-style: italic;
    margin-right: .5em;
}

label.form-label-status {
    background-color: #f2f2f2;
    padding: 5px;
    font-size: 1.2em;
}

label.form-label-status.not-ready {
    background-color: #ffc65d;
}

.toast:not(.showing):not(.show) {
    display: none;
}
.qq-uploader-selector.qq-uploader.qq-gallery {
    background: transparent;
    border: 0px;
}

div#btn-img1, div#btn-img2 {
    left: -20px;
    top: -15px;
    background: #0dcaf0;
    border-radius: 5px;
    border: 0px;
}

.ui-menu-item-wrapper {
    background: white;
    width: 25%;
    font-size: 13pt;
    font-weight:bold;
    padding: 8px;
    border: 1px solid #caebe6;
    margin: 0px 0px 0px 0px;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 0px;
    margin: 0 0 10px 25px;
    list-style: none;
    background: white;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    border: none;
}
.ui-autocomplete *,
.ui-menu * {
    border: none;
    font-weight:normal;
}

.ui-menu-item {
    list-style-type: none;
    border:none;
    border-bottom: 1px solid #ccc;
    font-weight: notmal;
}

li.ui-menu-item:last-child{
    border:none;    
}
.ui-corner-all {
    border: none;
}

.ui-state-hover, .ui-state-active {
    color: #0072c5;
    text-decoration: none;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.mb-3 label.form-label {
    display: block;
}

.modal-content .row {
    margin: 0px !important;
}


.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
  min-width: 270px;
  max-width: 270px;
  min-height: 100vh;
  padding-top: 40px;
}

#sidebar.active {
    margin-left: 0px;
}

#siteWrapper {
    width: 100%;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #sidebar {
        /* margin-left: -270px; */
    }
    #sidebar.active {
        margin-left: 0;
    }
}

#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    background: #56a951;
    color: #fff;
    transition: all 0.3s;
    margin-left: -270px;
}

#sidebar .sidebar-header {
    padding: 15px;
    background: #2e8529;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    /* color: #7386D5; */
    background: #369730;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    /* color: #ffc107; */
    /* background: #7a1c80; */
    border-bottom: solid 1px #2f8529;
}

#sidebar * {font-family: 'KanitLight', sans-serif;}
#sidebar a, #sidebar a:hover, #sidebar a:visited {
  color: white;
}

.sidebar-header .header {
    font-size: 14pt;
    line-height: 1.2;
}


.div-logo {
    background-color: white;
    border-radius: 10px;
    margin: 1px;
    border: 1px solid #e2e2e2;
    padding: 0px !important;
    margin-bottom: 4px;
    overflow: hidden;
}

.login-box a img.logo-s {
    width: 100%;
}

img.logo-s.sp, img.logo-l.sp {
    height: 70px;
    padding: 10px;
}

td.claysTextWarningHeader {
    font-family: 'KanitLight', sans-serif !important;
    font-size: 12pt;
    line-height: 1.2 !important;
}

table.claysTextWarningBox {
    max-width: 400px;
    margin: 0px auto;
    margin-top: -60px;
}

.welcome-txt-1 {font-weight: bold;font-size: 30pt;}

.welcome-txt-2 {
    font-size: 20pt;
    font-weight: bold;
}

.welcome-dsc {
    font-size: 12pt;
}

.block-main-login {
    display: block;
    max-width: 1200px;
    margin: auto;
    border-radius: 4px;
    overflow: hidden;
    padding: 20px 20px;
}

@media (max-width: 768px) {
    .block-main-login {
        display: block;
    }
    .left-bg, .right-bg {
        margin: 0px auto;
    }
    .welcome-txt-1 {
        font-size: 20pt;
    }
    .welcome-txt-2 {
        font-size: 15pt;
    }
    div.left-bg {
        padding: 20px !important;
    }
    .d-none-s {
        display: none;
    }
}

@media (max-width: 420px) {
    
    .div-logo {
        width: 48%;
        text-align: center;
    }
   .welcome-dsc {
        font-size: 11pt;
    }
}

span {
    font-size: inherit;
}

.qq-gallery.qq-uploader {
    min-height: inherit !important;
}

.block-content:nth-child(odd) {
    background-color: #e4ebec;
}

.block-content {
    padding: 10px;
}

.dts-title {
    font-weight: bold;
    margin-bottom: .5rem;
    color: #005677;
}

a.dropdown-toggle.collapsed {
    color: #fff;
    background: #379730;
    border-bottom: solid 1px #2f8529;
    /* padding-left: 15px !important; */
    font-size: 0.95em !important;
}

div#sidebar ul li a {
    border-bottom: 1px dashed #379730;
    font-size: 0.95em;
}

a.chapter.active {
    color: #0d0d0d !important;
    font-weight: bold;
}

.pages > .form-group > * {
    vertical-align: top;
}

.pages > .form-group > .cat {
    display: inline-block;
    margin-right: 5px;
}


.pages > .form-group > .cat .far {
    font-size: 1.5em;
    color: #ed6b2a;
    line-height: .5;
}


.pages .form-group:last-child .cat .down-icon,
.pages .form-group:first-child .cat .up-icon {
    filter: grayscale(1);
    opacity: .5;
    pointer-events: none;
}

.pages .form-group > .pages-list:last-child .down-icon,
.form-label + .pages-list .up-icon {
    filter: grayscale(1);
    opacity: .5;
    pointer-events: none;
}

div#sidebar > ul > li > a {
    padding-left: 15px;
    border-top: solid 1px #2f8529;
    background-color: green;
}

div#sidebar > ul > li > a span {
    color: white;
}

div#sidebar .list-unstyled a.chapter {
    padding-left: 35px !important;
    background-color: #93d28f;
    color: #101010;
}

div#sidebar > ul > li > ul a {
    padding-left: 25px;
}

div#sidebar > ul > li > ul a.dropdown-toggle {
    background-color: #379730;
    border-bottom: 1px dashed #218219;
}

.question-number {
    background: #becdd5;
    padding: 7px 15px;
    color: white;
    font-size: 17pt;
    width: 40px;
    display: inline-block;
    text-align: center;
}

.question-title {
    padding-left: 10px;
}
.pink-btn {
    background: #ff7bac !important;
    border: 1px solid #ff7bac !important;
    border-radius: 5px !important;
    color:white !important;
}



.form-check-input.check-modal {
    margin-left: 0 !important;
}


.btn-orange{
    background-color: #f15a24 !important;
    color: white !important;
}

.btn-choosefile {
    background: deepskyblue;
    color: white;
    padding: 5px 10px;
    border: 1px solid #0d99c8;
    font-size: 13pt;
    border-radius: 7px;
}








.subject-no {
    font-size: 18pt;
}

.subject {
    font-size: 20pt;
}

.choiceText.desc {
    font-size: 11pt;
    display: block;
    line-height: 1.2;
    color: #006c3a;
}

.choiceText.question {
    font-size: 13pt;
    line-height: 1.2;
    padding-top: 3px;
    display: inline-block;
    padding-bottom: 2px;
}

.unpublish {
    filter: grayscale(1);
    pointer-events: none;
    opacity: .4;
}
.form-check-input {
    position: unset;
    margin-left: 0;
}


.selected {
    background-color: #4CAF50 !important;
    color: white;
}

.div-logo a {
    display: block;
    overflow: hidden;
}

.div-logo a img.logo-s {
    height: 73px;
}

.langbtn {
    padding: 1px 6px !important;
    background: #009688;
    color: white !important;
    font-size: 10pt !important;
    margin-right: 5px;
}
.langbtn:hover {
    background: #4c7315;
    border-color: #4c7315;
}

.black-bg-t {
    background-color: black;
    color: white;
}


.tran-dark-bg-t {
    background-color: rgb(0 0 0 / 57%);
}

.tran-dark-bg-t label, .tran-dark-bg-t span, .tran-dark-bg-t div {
    color: white;
}

.tran-dark-bg-t .course-box {
    background-color: rgb(255 255 255 / 90%);
    padding: 8px;
    border-radius: 4px;
}

.tran-dark-bg-t .course-box .course-name {
    color: #222;
    font-weight: normal;
}

.tran-dark-bg-t .course-box .course-dsc {
    color: #444;
}

.tran-dark-bg-t .course-box .course-progress {
    color: #222;
    font-size: 1em;
    margin-top: 8pt;
}

a.btn.btn-all {
    background-color: #65B152;
    color: white;
}

.btn.btn-xs {
    padding: 4px 10px;
    font-size: 10pt;
    line-height: 1;
}

.logo-txt {
    font-size: 16pt;
    line-height: 1.2;
    padding-top: 2px;
}

.light-mode .logo-txt {
    color: #438948;
}

a.lnkBanner {
    display: inline-block;
}

.cssLink {
    cursor: pointer;
}


.n24 .course-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0px;
}

.search-bg {
    background-color: #E6E6E6;
}

.question-img-col {
    padding-top: 13px;
    display: flex;
    align-items: end;
}

.search-title {
    font-size: 14pt;
    color: #444;
}

.search-box {
    display: block;
}

.banner-block.mainpage {
    background-image: url("/portals/0/images/bg/main-bg-s.jpg");
}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.menu-item {
    padding: 4px 10px;
    font-size: 11.5pt;
    line-height: 1;
    cursor: pointer;
    display: inline-block;
    margin: 2px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.light-mode a.menu-item {
    border: 1px solid #888;
    border-radius: 4px;
    color: #444;
}

.light-mode a.menu-item.active,
.light-mode a.menu-item:hover{
    background-color: #009700;
    color: white;
    border-color: #007700;
}

.light-mode a.menu-item.active:hover {
    background-color: #007700;
}

.main-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.learning-cat-title {
    display: flex;
    align-items: center;
}

a.btn.btn-more {
    border: 1px solid #ccc;
    color: #222;
}

a.btn.btn-more:hover {
    color: white;
    background-color: #ccc;
}

.n24 .course-name {
    min-height: initial;
}

.n24 .course-name {
    font-size: 1.4em;
    margin-bottom: 5px;
    line-height: 1.1;
}

.n24 .course-by {
    color: gray;
    font-size: 1em;
    margin: 0px;
}

.n24 .course-dsc, .n24 .course-dsc p {
    color: #444;
    font-size: 13px;
    margin: 8px 0px 12px;
    max-height: 48px !important;
    overflow: hidden;
    line-height: 1.2;
}

.course-lang a.btn.btn-xs {
    color: #444;
    border-color: #888;
}

.dts .nav-tabs .nav-link {
    border-radius: 2px;
}

.order-s-minus {
    order: -1;
}

.sidebar-container-content label {
    color: white;
}


@media screen and (min-width: 576px) {
    .banner-block.mainpage {
        background-image: url("/portals/0/images/bg/main-bg-m.jpg");
    }
}

@media screen and (min-width: 768px) {
    .order-s-minus {
        order: initial;
    } 

    .sidebar-container {
        background: transparent;
        padding: 0px;
        margin: 0px;
        padding-top: 1.5rem;
    }

    .sidebar-container-content label {
        color: #444;
    }
}

@media screen and (min-width: 1200px) {
    .banner-block.mainpage {
        background-image: url("/portals/0/images/bg/main-bg-xxl.jpg");
    }

    .search-title {
        font-size: 17pt;
    }
}


.dark-mode .logo-txt {
    color: white;
}

.dark-mode .lm {
    display: none;
}

.light-mode .dm {
    display: none;
}


.inside-menu {
    display: flex;
    align-items: center;
}

.inside-menu a.sub-menu-item {
    background: none;
    border: none;
    padding: 0px;
}

.inside-menu a.sub-menu-item > * {
    font-size: 14pt;
    color: white;
}

.profile-frame img {
    width: 100%;
    position: absolute;
}

.profile-frame {
    width: 80px;
    display: inline-flex;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    vertical-align: top;
}

.profile-name {
    display: inline-block;
    font-size: 12pt;
    text-align: center;
}

.dark-mode .profile-name {
    color: white;
}

.section-gap {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.ins-menu a.tab-menu-item {
    margin: 0px 4px 2px;
    border-radius: 4px;
    padding: 4px 8px;
    border: 1px solid white;
    background-color: rgb(128 128 128 / 60%);
    color: white;
}

.ins-menu a.tab-menu-item.active {
    background-color: #d9d91a;
    color: #444;
    font-weight: bold;
}

.ins-menu a.tab-menu-item:hover {
    background-color: gray;
}

.ins-menu a.tab-menu-item.active:hover {
    background-color: #d9d91a;
}

.has-search .form-select, .has-search .form-control {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.has-search .btn {
    padding: 0;
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 16pt;
}

.set-h {
    display: flex;
    align-items: center;
    padding: 2em;
    min-height: calc(100vh - 233px);
}


.top-col-bg {
    background-color: rgb(23 18 18 / 70%);
}

.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.header-banner .header-title {
    font-size: 16pt;
    max-width: 200px;
    position: relative;
    top: -4px;
    color: white;
}

.content, .link-txt, .form-check-label > span {
    font-size: 13pt;
    line-height: 1.4;
}

.header-banner .content-desc {
    color: #a6a6a6;
}

.content-desc {
    font-size: 11.5pt;
    line-height: 1.4;
}

.bottom-col-bg {
    background-color: #f8f8f8;
}

.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.login-box {
    display: flex;
    flex-wrap: wrap;
}

.login-box a {
    display: inline-block;
    width: 33.3%;
    border: 3px solid #f8f8f8;
    border-radius: 6px;
    overflow: hidden;
}


.box-header > img {
    width: 110px;
}

.box-header.header-banner > img {
    width: 100%;
    max-width: 180px;
}

.box-header.header-banner > img {
    width: 120px;
}

.LogBlock-header {
    background-color: white;
    max-width: 380px;
    margin: auto;
    display: block;
    padding: 0pt;
    text-align: center;
}

.login-desc-box {
    background-color: white;
    max-width: 380px;
    margin: auto;
    padding: 0px 28pt;
}

.login-desc-box .login-desc {
    font-size: 12pt;
    font-family: 'KanitLight' !important;
}

.dts-bt-ft {
    background-color: rgb(21 21 21 / 50%);
    border-top: 1px solid #bdcbd4;
    padding-top: 20pt;
    padding-bottom: 20pt;
    font-size: 11pt;
}

.dts-bt-ft .sel-mod-pri {
    color: white !important;
    line-height: 1.4 !important;
    font-family: 'KanitLight' !important;
    font-size: 10pt;
}

.dts-bt-ft .sel-mod-sec {
    line-height: 1.4 !important;
    font-size: 8pt;
    font-family: 'KanitLight' !important;
}

.dts-bt-ft img {
    max-width: 100px !important
}

@media (min-width: 576px) {
    .login-box a {
        width: 20%;
    }
}

@media (min-width: 768px) {
    .set-h {
        min-height: calc(100vh - 280px);
    }
}

@media screen and (min-width: 992px) {
    .header-banner .header-title {
        font-size: 26pt;
        max-width: 280px;
        top: -4px;
    }

    .login-box a {
        width: 16.6%;
    }

    .box-header.header-banner > img {
        width: 180px;
    }
    
}

.box-info .box-title {
    font-size: 14pt;
    padding: 8px 0px;
}

.box-info .box-dsc {
    font-size: 10pt;
    padding-bottom: 16px;
}

.box-btn {
    display: flex;
    justify-content: center;
}

.btn-circle {
    background-color: #009f00;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    aspect-ratio: 1/1;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 10pt;
    cursor: pointer;
}

.btn-circle:hover {
    color: white;
    background-color: green;
}

.box-info {
    padding-bottom: 16pt;
}

.content-dsc {
    font-family: 'KanitLight', sans-serif;
    font-size: 14pt;
    font-weight: normal;
}

.btn.btn-dts-info {
    background-color: rgb(0 107 157 / 90%);
    border: 1px solid rgb(107 152 173 / 90%);
    color: white;
    text-align: left;
    padding: 4px 12px;
}

.btn.btn-dts-info span {
    font-family: 'KanitLight', 'sans-serif' !important;
    line-height: 1.2 !important;
    display: block;
    font-size: 11pt;
}

.btn.btn-dts-info .sub-title {
    font-size: 9pt;
}

.btn.btn-dts-info:hover {
    background-color: rgb(0 65 95 / 90%);
}

.stage-middle {
    height: calc(100vh - 340px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-box {
    display: inline-flex;
    flex-direction: column;
    width: fit-content;
    padding: 2em;
    border-radius: 16pt;
    background-color: rgb(255 255 255 / 50%);
}

.glass-box div {
    color: black;
}

.text-bold {
    font-weight: bold;
}

.percent-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.percent-btn .fa-trash-alt {
    color: #ff6a00;
    cursor: pointer;
}

.menu-bar .btn {
    border-radius: 2px;
}

.menu-bar .btn-light {
    background: #f5f5f5;
    border-color: #edecec;
}

.menu-bar .btn span {
    display: block;
    text-align: left;
}

.menu-bar span.lng-main {
    font-size: 10.5pt;
    line-height: 1.2;
}

.menu-bar span.lng-en {
    font-size: 10pt;
    color: gray;
}

.menu-bar 
.btn-secondary  span.lng-en {
    color: #bbbbbb;
}

.lng-bar label, .lng-bar .btn {
    font-size: 12pt;
}

.lng-bar .btn-sm {
    padding: 0pt 8pt;
    border-radius: 4pt;
}

.container .form-control-sm,
.container .form-select-sm {
    font-size: 1.3em;
}

.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
    font-family: "Font Awesome 6 Pro" !important;
}

.txt-info {
    color: #009fb7;
}

.menu-bar .btn.btn-light:hover {
    border-color: #444;
}

.accordion h5 {
    font-size: 1.3em;
}

.accordion .card-header {
    padding: .3em .5em;
}

.accordion .card-body {
    padding: .8em 1.5em;
}

.form-no {
    font-size: 20pt;
    font-weight: bold;
    color: #a5a5a5;
    margin-bottom: 0px;
}

.question-box {
    background-color: #f6f6f6;
    padding-top: 12pt;
}

.choice-item:nth-child(odd) {
    background-color: #fbfbfb;
}

.choice-item {
    padding-top: 8pt;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10pt;
}

label.form-label.form-dsc {
    color: #43577c;
    padding-top: 8px;
    padding-bottom: 0px;
    margin-bottom: 4px;
    font-size: 11pt;
    display: block;
}

@media screen and (min-width: 576px) {
    label.form-label.form-dsc {
        display: none;
    }
}

.menu-button.select-item i:last-child {
    margin: 0px;
}

.fa-trash-alt {
    color: #d96a17;
}

.fa-pencil {
    color: #057bc6;
}

.container button.btn.btn-sm {
    font-size: 1.2em;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-list {
    background-color: #f1f1f1;
    font-size: 1.2em;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 8px;
    width: 100%;
    padding: 10px;
}

.question-list .question-title {
    font-weight: bold;
    font-size: 11pt;
    color: #222;
    padding: 0px 10px;
    text-wrap:wrap;
}

.menu-item-group i {
    cursor: pointer;
}

.menu-item-group {
    display: flex;
    align-items: center;
}

.question-list span.question-number {
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
    padding: 10px 0px;
    min-width: 40px;
    min-height: 40px;
}

.question-modal {
    background-image: url(/Portals/0/images/bg/bnr-pretest-m.jpg);
    background-position: center;
}

.question-modal .form-label.subject {
    font-size: 16pt;
    color: white;
}

.inside-menu .sub-menu-item:hover {
    background-color: transparent;
    border: none;
    text-decoration: underline;
}

.badge.badge-test {
    background-color: #009eec;
    font-size: 10pt;
    border-radius: 50px;
    padding: 5px 16px;
}

.test-title-name {
    font-size: 16pt;
}

.test-title-dsc {
    font-size: 12pt;
    color: #00679a;
    line-height: 1.2;
}

.frm-question {
    display: flex;
    margin-bottom: 20pt;
}

.question-no {
    width: 24pt;
}

.questionare .subject, .question-no .subject-no {
    font-size: 16pt;
}

.question-no .subject-no {
    font-weight: bold;
    color: gray;
}

.questionare .choices {
    font-size: 11pt;
}

.choice-set {
    display: flex;
    margin-top: 6px;
}

.choice-set .choice-check {
    padding-right: 8px;
}

.test-title-name:empty, .test-title-dsc:empty {
    display: none;
}

#modalQuestion .modal-dialog {
    margin-top: 3rem;
}



#modalQuestion .modal-dialog .modal-content {
    background-color: #393939;
    color: white;
    padding: 1em;
}

.test-result-title {
    color: white;
    font-size: 18pt;
    font-weight: bold;
}

.test-result-dsc {
    font-size: 11pt;
    color: #d9d9d9;
}

.test-result .form-label.text-warning, .test-result .form-label.text-success {
    font-size: 80pt;
    font-weight: bold;
}

div#modalQuestion .modal-footer {
    border: none;
    padding-top: 0px;
}

.container.mw-100 {
    max-width: 100% !important;
    padding: 0px;
}

.footer {
    background-color: rgb(0 0 0 / 70%);
}

.footer div {
    font-family: 'KanitLight', sans-serif !important;
    font-size: 10pt;
}


button.btn.dropdown-toggle.sim-dropdown {
    padding: 0px;
    background: none;
    border: none;
    color: #444;
    font-size: 18pt;
    display: inline-block;
}

button.btn.dropdown-toggle.sim-dropdown:focus, 
button.btn.dropdown-toggle.sim-dropdown:active {
    outline: none; 
    box-shadow: none;
    border: none;
    background-color: transparent;
}

ul.dropdown-menu.sim-dropdown li {
    list-style-type: none;
}

.sim-dropdown-box .dropdown-toggle::after {
    display: none;
}

.dropdown.sim-dropdown-box {
    display: inline-block;
}

ul.dropdown-menu.sim-dropdown.show {
    background-color: #01017a;
}

ul.dropdown-menu.sim-dropdown.show * {
    color: white;
}

ul.sim-dropdown li .page-group, ul.sim-dropdown li .title {
    padding: .25rem 1rem;
    display: inline-block;
}

ul.sim-dropdown li .page-no {
    font-size: 15pt;
    background: none;
    font-weight: bold;
    width: 24pt;
    display: inline-block;
    text-align: center;
    padding: 0px;
    margin-right: 5px;
    min-width: initial;
    height: initial;
}

ul.sim-dropdown li a {
    display: flex;
    align-items: start;
}

ul.dropdown-menu.sim-dropdown .group {
    margin-top: 10pt;
}

.sim-dropdown .dropdown-item:focus, .dropdown-item:hover {
    background-color: #004fb1 !important;
}

a.sub-menu-item.inactive * {
    color: #999999 !important;
}

.filter-box .form-check-label {
    font-size: 12pt;
}

.filter-box .form-check {
    display: flex;
    align-items: center;
    min-height: initial;
    margin: 8px 0px;
}

.filter-box .form-check label {
    min-height: initial;
    margin: 0px;
    margin-left: 10px;
}

.filter-box .filter-section {
    padding: 0px;
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
}

.search-result-box a.course-box {
    margin: 0px;
    margin-bottom: 16px;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

.search-result-box a.course-box .banner {
    margin-bottom: 8pt;
}

.search-result-box a.course-box div {
    color: #555;
}

.search-result-box a.course-box .course-name {
    margin: 4px 0px 8px;
    min-height: initial;
    font-size: 12pt;
    color: #222;
}

.search-result-box a.course-box .course-by {
    margin-bottom: 5px;
    min-height: initial;
    font-size: 11pt;
}

.search-result-box a.course-box .course-dsc {
    margin-bottom: 5px;
    min-height: initial;
    font-size: 12pt;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.search-result-box a.course-box:last-child {
    border: none;
    margin-bottom: 3em;
}

.banner-block .swiper-button-next, .banner-block .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  z-index: 50;
}

.banner-block .swiper-button-next:after, .banner-block .swiper-button-prev:after {
 font-size: 2em;
}

.course-lang .btn-more.btn-xs {
    background-color: #478e4a;
    color: white !important;
    margin-bottom: 4px;
}

.course-lang .btn-more.btn-xs:hover {
    background-color: green;
}

.container .footer-section-main {
    padding-left: 0rem;
    padding-right: 0rem;
}

.dts-sd-ft .container .sel-mod-pri {
    font-size: 16pt;
    margin-bottom: 4px;
}

.dts-sd-ft .footer-section img {
    max-width: 100px;
}

.dts-sd-ft  .sel-mod-pri {
    font-size: 10pt !important;
}

.dts-sd-ft .sel-mod-sec {
    font-size: 8pt !important;
    line-height: 1.2 !important;
}

a.bnr-announce {
    display: inline-block;
    width: 100%;
    aspect-ratio: 15/5;
    background-size: cover;
    position: relative;
    padding: 1rem;
}

span.dp-status {
    display: inline-block;
    position: absolute;
    bottom: 10%;
    left: 4%;
    padding: 3px 5px;
    background-color: #919191;
    border-radius: 4px;
    border: 1px solid #747474;
    font-size: 1em;
    color: #e3e3e3;
}

.pass-y span.dp-status {
    background-color: #3c9954;
    border: 1px solid green;
    color: white;
}

a.bnr-announce .dp-status {
    display: none;
}

.pass-y span.dp-status {
    color: white;
}

a.bnr-announce.pass-n .pass-stat-n {
    display: inline-block;
}
a.bnr-announce.pass-y .pass-stat-y {
    display: inline-block;
}

@media screen and (min-width: 992px) {
    span.dp-status {
        left: 8%;
        font-size: 10pt;
    }
}

@media screen and (min-width: 1200px) {
    span.dp-status {
        font-size: 12pt;
    }
}

.c-pointer {
    cursor: pointer;
}

.mh-sm .form-check label.form-check-label {
    margin: 0px;
    font-size: 12pt;
    margin-left: 8px;
}

.mh-sm .form-check {
    display: flex;
    align-items: center;
}

button i.fas.fa-user, button i.fa-gear {
    padding: 5px;
    font-size: 12pt;
}
.group-user {
    padding: 0px !important;
}
.btn-setting {
    position: absolute;
    right: 30px;
    background: none;
    border: none;
    margin: 5px 5px;
    color: #008a44;
}

.btn-usr {
    right: 65px !important;
}

.swal-back {
    background-color: #222 !important;
}
.swal-action {
    background-color: #0f48b4 !important;
}

.swal-delete {
    background-color: #dc3545 !important;
}
.swal-action-publish {
    background-color: #0f48b4 !important;
}
.swal-action-un-publish {
    background-color: #ffc107 !important;
}
.swal-close {
    background-color: #888 !important;
}

.g-bg {
    background: #f8f9fa;
}

.g-bg .course-box {
    box-shadow: 0 3px 3px -2px rgba(39, 44, 51, .1), 0 3px 4px 0 rgba(39, 44, 51, .04), 0 1px 8px 0 rgba(39, 44, 51, .02);
    transition: box-shadow .28s cubic-bezier(.4,0,.2,1);
    will-change: box-shadow;
    background-color: white;
    border-radius: .5rem;
    padding-bottom: 8px;
    height: 100%;
    margin: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.g-bg .course-box .banner {
    border-radius: 4px 4px 0px 0px;
}

.g-bg .course-box > div:not(.banner) {
    padding: 0px 12px;
}

.course-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.g-list .menu-button.select-item {
    background-color: #d5f4fb;
    border: 1px solid #cbe9ef;
}

.g-list .menu-button.select-item i {
    color: #ff4200;
}

.ui-helper-hidden-accessible{
    display: none;
}


.swal2-title {
        font-size: 1.5em !important;
}

.swal2-title, .swal2-actions button {
    font-family: kanitlight, sans-serif;
}

.btn.btn-warning.back {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn.btn-warning.back:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

#pageContent .dropdown-item {
    cursor: pointer;
}

#pageContent .dropdown-item.active {
    background-color: #0064ff;
}

#pageContent .dropdown-item.active:hover {
    cursor: default;
    background-color: #0064ff !important;
}

li.ui-menu-item div.ui-menu-item-wrapper {
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

li.ui-menu-item div.ui-menu-item-wrapper:hover {
    background-color: #efefef;
}

h3.dropzone-previews.ui:empty {
    display: none;
}

.dropzone .dz-message .dz-button {
    font-style: italic;
}

.dropzone {
    min-height: initial !important;
    background: white;
    padding: 8pt !important;
    text-align: center;
    border-radius: 2px !important;
    border: 1px dashed #b9b9b9 !important;
    background-color: #f3f3f3 !important;
}

.dropzone .dz-message {
    text-align: center;
    margin: 0 !important;
}

.dropzone .dz-message .dz-button {
    font-style: italic !important;
}

div.dropzone {
    font-size: 10pt !important;
}

.flex-middle {
    display: inline-flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.form-list.dts-dsc li {
    font-size: 10pt;
    line-height: 1.2;
    padding-top: 5px;
    list-style-type: initial;
}

ul.form-list {
    margin-left: 0px;
}

#progress-wrp {
    border: 1px solid #0099CC;
    padding: 1px;
    position: relative;
    height: 30px;
    border-radius: 3px;
    margin: 10px;
    text-align: left;
    background: #fff;
    box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
    display: none;
}

#progress-wrp .progress-bar {
    height: 100%;
    border-radius: 3px;
    background-color: #f39ac7;
    width: 0;
    box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

#progress-wrp .status {
    top: 3px;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #000000;
}

.upload-normal {
    font-size: 12pt;
    margin: 8px 0px;
}

.form-group-top-line {
    border-top: 1px dashed #c4c4c4;
    padding-top: 1rem;
}

.img-theater {
    background-color: #898989;
    text-align: center;
    padding: 5px;
}

.img-theater .ful-frame {
    border-radius: 0px;
    border: none;
    margin: 0px;
}


.ql-editor {
    min-height: 200px;
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow
{
    background-color: white;
}

.white-bg {
    background-color: white !important;
}


.dropzone:not(:has(.dz-preview.dz-image-preview)) {
    display: none;
}

.page-content-group {
    max-width: 800px;
    padding: 0px 10px;
}

.clear-box.ql-editor {
    box-sizing: border-box;
    line-height: initial;
    height: initial;
    outline: none;
    overflow-y: initial;
    padding: initial;
    tab-size: 4;
    -moz-tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.page-video-group {
    max-width: 800px;
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 2em !important;
}

.vid-frame {
    position: relative;
    overflow:hidden;
    padding-bottom:56.25%;
    display: flex;
}

.content-sec.page-title {
    margin: 1em 10px 1.5em;
}

.page-content-group {
    margin-bottom: 2em;
}

.page-content-group .uu-img {
    margin-bottom: 1.5em;
}

.clear-box.ql-editor h1 {
    font-size: 1.7em;
}

.clear-box.ql-editor h2 {
    font-size: 1.5em;
}

.clear-box.ql-editor h3 {
    font-size: 1.2em;
}

.form-group .ql-snow .ql-editor h1 {font-size: 2em;}
.form-group .ql-snow .ql-editor h2 {font-size: 1.8em;}
.form-group .ql-snow .ql-editor h3 {font-size: 1.45em;}

.ql-toolbar {
    border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
}

.ql-container {
    border-bottom-left-radius: .2rem;
    border-bottom-right-radius: .2rem;
}

.ql-textbox.validated:has(.ql-editor.ql-blank) {
    border: 1px solid #dc3545;
    border-radius: .2rem;
}

.ql-editor li {
    margin-bottom: .4rem;
}

.ql-editor p {
    margin-bottom: .2rem !important;
}

.px-m10 {
    margin-left: -10px;
    margin-right: -10px;
}

.extension-vdo * {
    font-size: 90%;
}

.high-frame {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

html, body, div#siteWrapper {
    height: 100%;
}

.container-main {
    margin-top: 0px !important;
    padding-top: 40px;
}

.dark-mode * {
    color: white;
}

.role-comp {
    display: flex;
    align-items: center;
}

.role-comp .role-name {
    font-size: 30pt;
}

.role-comp div, .role-comp span {
    font-size: 12pt;
    display: block;
}

.sub-detail.course .course-name {
    font-size: 1.4em;
    margin-bottom: 5px;
    line-height: 1.1;
}
.sub-detail.course .course-by {
    color: gray;
    font-size: 1em;
    margin: 0px;
}
.sub-detail.course .course-dsc {
    color: #444;
    font-size: 1.2em;
    margin: 8px 0px 12px;
    max-height: 3.6em;
    overflow: hidden;
    line-height: 1.2;
}
.sub-detail.course {
    background-color: #ededff;
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 4px;
}

.sub-menu * {
    font-size: 11pt;
    display: inline-flex;
    align-items: center;
}

.sub-menu a:hover {
    background-color: #efefef;
}

.sub-menu a .fa-user-plus {
    color: #00c400;
}

.sub-menu a .fa-trash {
    color: #ff9400;
}

.sub-menu .label-m {
    font-weight: bold;
    font-size: 13pt;
}

.sub-menu .box-assign-person {
    align-items: baseline;
}

.chkName {
    display: flex;
}

.chkName .chkItem {
    margin-right: 8px;
}

.chkName .form-check-input {
    width: 18pt;
    height: 18pt;
    margin-top: 0px;
    position: relative;
    top: -3px;
}

.row-header .chkTitle, .row-item .chkTitle {
    font-size: 12pt;
}

.row-item {
    margin-top: 8px !important;
}

.row-header .chkTitle {
    font-weight: bold;
}

.switch .btn-sm {
    font-size: 12pt;
    border: 1px solid #efefef;
    padding: .2rem .5rem;
}

.btn.btn-secondary-outline {
    border: 1px solid #cbcbcb;
}

.modal-content .row.row-item {
    padding-top: 7px !important;
}

.add-emp-ft-bg {
    background-image: url("/portals/0/images/bg/add-emp-ft.jpg");
    background-size: cover;
    background-position: center;
}

.assign-card {
    display: flex;
    background-color: #f5f5f5;
    padding: 12px 20px;
    font-size: 11pt;
    height: 100%;
}

.assign-card .assign-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.assign-detail .subject {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 5px;
}

.assign-card .assign-detail > div {
    line-height: 1.2;
}

.assign-detail .label-m {
    font-size: 12pt;
}

.assign-btn {
    display: flex;
    padding-top: 3px;
}

.archived-btn {
    font-size: 14pt;
    padding-top: 8px;
}

.archived-btn a .fa-graduation-cap {
    color: #02b196;
}

.archived-btn a .fa-book-open {
    color: #00bfff;
}
.btn-home {
    padding:0px 5px 0px 0px !important
}



