body#Body {
    overflow-x: hidden;
}

.hide-th, .hide-en, .hide-cn {
    display: none !important;
}

.th img.hide-th {
    display: block !important;
}

.en-gb img.hide-en {
    display: block !important;
}

.cn img.hide-cn {
    display: block !important;
}

body div, body span, body li {
    font-size: 12pt;
}

.CommandButton, .Head, .Normal, .NormalBold, .NormalDisabled, .NormalRed, .NormalTextBox, .SubHead, .SubSubHead, a:hover, a:link, a:visited, body, h1, h2, h3, h4, h5, h6, input, table, td, th {
    font-family: 'KanitLight', sans-serif;
}

a:hover, a:link, a:visited {
    text-decoration: none;
}

.menu-bar-bg {
    background-color: #006837;
}

.menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0px;
}

.menu-bar a.menu-item {
    color: white;
    margin: 0px 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

a.menu-item.active {
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
}

a.menu-item:hover {
    background-color: #004d29;
    padding: 4px 8px;
}

a.btn.btn-dark:visited {
    color: white;
}

.dts-sd-ft {
    background-color: #042816;
    color: white;
    padding-top: 2em;
    padding-bottom: 2.2em;
}

.dts-sd-ft .sel-mod-sec {
    color: #cacaca;
    line-height: 1.4 !important;
    font-size: 10pt;
    font-family: 'KanitLight' !important;
}

.dts-sd-ft .sub-footer-box a {
    color: white !important;
    text-decoration: none !important;
    display: block;
    line-height: 1.5 !important;
}

.dts-sd-ft .sel-mod-pri {
    color: white !important;
    line-height: 1.4 !important;
    font-family: 'KanitLight' !important;
    font-size: 14pt;
}

.copyright.sel-mod-sec {
    font-size: 10pt;
    color: #414141;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
}

.contact-box {
    background-color: #bbb;
    color: white;
    text-align: center;
    font-size: 1em;
    line-height: 1.2;
    position: relative;
}

.comment-detail {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.white-line {
    background-color: white;
    height: 16px;
    position: relative;
    bottom: -15px;
}

.comment-detail .detail {
    text-align: left;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px;
    background-color: #006b00;
    border-radius: 4px;
    top: 2em;
}

.comment-detail .title {
    font-size: 1.3em;
}

.comment-detail .content {
    font-size: 1em;
}

.comment-detail .desc {
    font-size: .9em;
}

.comment-man {
    width: 100%;
    max-width: 300px;
}

.white-line.close-top {
    bottom: initial;
    position: absolute;
    top: 0px;
    width: 100%;
}

.slide-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%; 
    height: 100%;
    background-image: url(/portals/0/images/bg/MainBanner-DarkGrayBG-100.jpg);
    background-size: cover;
    background-repeat: repeat-x; 
    animation: moveBackground 200s linear infinite;
}

@keyframes moveBackground {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.foreground {
    position: relative;
    display: block;
    aspect-ratio: 13/18;
    height: 100%; 
    max-height: calc(100vh - 236px);
    margin: auto;
}

.row.section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.info .title {
    font-size: 1.3em;
    line-height: 1;
    margin-bottom: 3px;
}

.info .content {
    line-height: 1.2;
    font-size: 1em;
    margin-bottom: 12px;
}

.info .content span {
    font-family: inherit;
    font-size: inherit;
}

.value-txt {
    color: green;
    white-space: pre;
}

.info.content-2 {
    display: flex;
}

.info.content-2 .img {
    width: 100%;
    max-width: 30%;
}

.info.content-2 .img img {
    width: 100%;
}

.main .info.content-1, .main .info.content-2 {
    padding: 0px 15px;
}

a.btn.btn-dts.btn-sm, .btn-sim.btn-sm {
    font-size: .9em;
    padding: .0725rem .5rem;
}

.fix-border-lg-sep {
    border-bottom: 1px solid #efefef;
}

.header-bg {
    background-size: cover;
    background-position: top center;
    padding-top: .5em;
    padding-bottom: 1em;
    position: relative;
}

.header-bg.my-submissions {
    background-image: url('/portals/0/images/bg/banner-01-l.jpg');
}

.header-bg.agreement {
    background-image: url('/portals/0/images/bg/Banner-05-large.jpg');
}


.header-main .logo {
    width: 100px;
}

.page-title {
    font-size: 1.5em;
    font-weight: bold;
}

.gray-txt {
    color: #dddddd;
}

.menu-bar-banner {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.menu-bar-banner .menu-bar {
    background-color: rgb(0 0 0 / 30%);
    border-radius: 8px;
}

.dark-yellow-bg {
    background-color: #C4C427;
}

.info-bar .desc-txt {
    font-size: 11pt;
    display: inline-block;
    line-height: 1.1;
    color: #444;
}

.info-bar {
    padding: 12px 0px;
}

.info-bar a.desc-txt {
    color: #00608e;
    text-decoration: underline;
}

.no-img {
    display: block;
}

.data-list .order-no {
    font-size: 2em;
    font-weight: bold;
    color: #b8c4c8;
    line-height: 0.78;
    width: 60px;
    display: inline-block;
    text-align: center;
}

.no-img .submission-thumb {
    width: calc(100% - 65px);
}

.data-list .title {
    font-size: 1.3rem;
    line-height: 1;
}

.data-list .subject {
    color: #afafaf;
}

.data-list .content {
    color: #444;
    line-height: 1.3;
    font-size: 1em;
}

.data-list .btn-group {
    display: flex;
    padding-top: 8pt;
    padding-bottom: 8pt;
}

.btn-action {
    cursor: pointer;
}

.data-list .btn-action {
    font-size: 1.2em;
    border: 1px solid #d5d5d5;
    border-radius: 4pt;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 32px;
    margin-right: 8pt;
}

.btn-action .fa-trash {
    color: orange;
}

.btn-action .fa-pen {
    color: #0bb2d3;
}

.data-list > .row {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 2em;
}

.data-list > .row:last-child {
    border: none;
}

div#submission-list {
    padding-top: 1em;
    padding-bottom: 5em;
}

.header-bg.submission-detail {
    background-image: url(/portals/0/images/bg/banner-02-l.jpg);
}

.header-bg.contest-detail {
    background-image: url(/portals/0/images/bg/Banner-06-large.jpg);
}

.darkgreen-bg {
    background-color: darkgreen;
}

.sim.form .form-label {
    font-size: 1.2em;
}
.subject .form-label {
    margin: 5px 0px;
    display: inline-block;
}

i.fa-solid.fa-asterisk {
    color: #ff6c00;
    font-size: 1.2em;
    margin-left: 5px;
    display: inline-block;
}

.sim.form .form-control, .sim.form .form-select {
    padding: .175rem .55rem;
    font-size: 1.2em;
}

.sim-control {
    padding-bottom: 1em;
}

.upload-thumbnail {
    width: 100%;
    max-width: 500px;
}

.dark-txt {
    color: #222;
}

.sim-form.announce .title {
    color: darkgreen;
}

.sim-form.announce li, .sim-form.announce .content {
    font-size: 1.125em;
}

@media (min-width: 576px) {
    .comment-detail .detail {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px 8px;
        background: none;
        position: initial;
        top: initial;
    }
}

@media (min-width: 992px) {
    .fix-border-lg-sep {
        border-right: 1px solid #efefef;
        border-bottom: none;
    }
}



/*LOGIN Page*/
.login-box a {
    display: inline-block;
    width: 31.5%;
    /* border: 3px solid #f8f8f8; */
    margin: 2px;
    border-radius: 6px;
    overflow: hidden;
}

.login-box {
    display: flex;
    flex-wrap: wrap;
}
.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.bottom-col-bg {
    background-color: rgb(248 248 248 / 50%);
}

.set-h {
    display: flex;
    align-items: center;
    padding: 2em;
}

.login-page .title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.btn.btn-secondary-outline, .btn.btn-secondary-outline:visited {
    color: #ededed;
    border: 1px solid #939393;
    background-color: rgb(128 128 128 / 20%);
}

@media screen and (min-width: 992px) {
    .header-banner .header-title {
        font-size: 26pt;
        max-width: 280px;
        top: -4px;
    }

    .login-box a {
        width: 16%;
    }

    .box-header.header-banner > img {
        width: 180px;
    }
    
}
@media (min-width: 768px) {
    .set-h {
        min-height: calc(100vh - 280px);
    }
}.login-box a {
    display: inline-block;
    width: 31.5%;
    /* border: 3px solid #f8f8f8; */
    margin: 2px;
    border-radius: 6px;
    overflow: hidden;
}

.login-box {
    display: flex;
    flex-wrap: wrap;
}
.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.bottom-col-bg {
    background-color: rgb(248 248 248 / 50%);
}

.set-h {
    display: flex;
    align-items: center;
    padding: 2em;
}

.login-page .title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.btn.btn-secondary-outline, .btn.btn-secondary-outline:visited {
    color: #ededed;
    border: 1px solid #939393;
    background-color: rgb(128 128 128 / 20%);
}

@media screen and (min-width: 992px) {
    .header-banner .header-title {
        font-size: 26pt;
        max-width: 280px;
        top: -4px;
    }

    .login-box a {
        width: 16%;
    }

    .box-header.header-banner > img {
        width: 180px;
    }
    
}
@media (min-width: 768px) {
    .set-h {
        min-height: calc(100vh - 280px);
    }
}

#dnn_ctr396_Login_pnlLogin {
    display: none;
}


.LogBlock-header {
    background-color: rgb(255 255 255 / 100%);
    max-width: 380px;
    margin: auto;
    display: block;
    padding: 0pt;
    text-align: center;
    border-top-left-radius: 4pt;
    border-top-right-radius: 4pt;
    padding: 20px;
}
.login-desc-box .login-desc {
    font-size: 12pt;
    font-family: 'KanitLight' !important;
}

.admin_message {
    text-align: left;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 80px;
    vertical-align: middle;
    border-radius: 10px;
    display: block;
    height: auto;
}
.admin_message_block {
    width: 80%;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 100px;
    margin-left: 10%;
    margin-right: 10%;
}
 
.admin_text_desc {
    padding-top: 15px;
    font-size: 1.8em;
    color: #dcdcdc;
    width: 90%;
    line-height: 0.8 !important;
}

.LogButton {
    background-color: #5B5362;
}

.LogButton {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100px;
    font-size: 12pt;
    color: white;
    background-color: #23657F;
    border-radius: 10px;
    border: 1px solid #d2e7f7;
}.LogButton {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100px;
    font-size: 12pt;
    color: white;
    background-color: #23657F;
    border-radius: 10px;
    border: 1px solid #d2e7f7;
}

*, *:after {
    box-sizing: border-box;
}
/*---------------------*/

.agreement-block {
    border: 1px solid #efefef;
    border-radius: 1em;
    padding: 0px 1em;
    margin: 1em 0px;
}

.sim-form.announce .agreement-block .title {
    color: #005400;
}

.text-bold {
    font-weight: bold;
}

.no-point {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.no-point li {
    counter-increment: item;
}

ol.no-point li {
    list-style-type: none;
    display: flex;
}
.no-point li::before {
    min-width: 34px !important;
}

.no-point.start-2 li::before {
    content:"2."  counter(item) " ";
}

.no-point.start-3 li::before {
    content:"3."  counter(item) " ";
}

.no-point.start-4 li::before {
    content:"4."  counter(item) " ";
}
.no-point.start-5 li::before {
    content:"5."  counter(item) " ";
}
.no-point.start-6 li::before {
    content:"6."  counter(item) " ";
}
.no-point.start-7 li::before {
    content:"7."  counter(item) " ";
}
ol.no-point li {
    list-style-type: none;
}

.container.f-100 {
    width: 100%;
    max-width: 100% !important;
}

.usr.lng {
    color: white;
    background-color: #1e88c3;
    padding: 2px 10px;
    margin: 0px 7px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 10pt;
    display: flex;
    align-items: center;
    align-content: center;
}

.dts-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 4px;
    padding: 2px;
    border: 1px solid #eeefff;
    right: 22px;
    top: 26px;
    z-index: 2;
}

.dts-dropdown .dropdown-item {
    background-color: #f2f2f2;
    margin: 2px 0px;
    border-radius: 4px;
}

.dts-dropdown .dropdown-item.actived {
    background-color: #bdbdbd;
    color: white;
    pointer-events: none;
}

.usr.lng #showLang {
    font-size: 13px;
    display: block;
}

.usr .dropdown-item {
    display: block;
    width: 100%;
    padding: .1rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    font-size: 10pt;
    white-space: nowrap;
    background-color: transparent;
    cursor:pointer;
    border: 1px solid #f5f5f5;
}

.usr .dropdown-item:hover {
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #c5c5c5;
}

.dts .usr-role {
    margin: 0px;
    margin-left: 7px;
    background-color: #009800;
    padding: 5px 10px;
    align-items: center;
    font-size: 13px;
    display: none;
}

.dts .usr-detail .usr-display {
    font-size: 13.3px;
    overflow: hidden;
}

a.btn-logoff {
    color: gray;
}

a.btn-logoff:hover {
    color: black;
}

.main-login-bg {
    background-image: url("/portals/0/images/bg/BG-Login2.jpg");
    background-position: center;
    background-size: cover;
}

.white-txt {
    color: white;
}

a.btn.btn-primary:visited {
    color: white;
}

.content.dsc-txt {
    font-size: 14px;
}


#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: #198754;
    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: #efefef;
}

h2#swal2-title {
    font-size: 14pt;
}

.swal2-html-container {
    line-height: 1.2;
    padding-top: 6px;
}

.sim .modal-title {
    font-size: 16pt !important;
}


a.btn.btn-success.btn-dts {
    color: white;
    background-color: #009e00;
    border-color: #019001;
}

a.btn.btn-success.btn-dts:hover {
    background-color: #008000;
}

.LogBlock-header.ft {
    border-radius: 0px;
    border-bottom-left-radius: 4pt;
    border-bottom-right-radius: 4pt;
}

.LogBlock-header * {
    font-family: kanitlight !important;
}

a.btn-dl {
    background-color: #007133;
    color: white;
    padding: 3px 6px;
    line-height: 1;
    border-radius: 4px;
    display: inline-block;
}

.login-desc {
    line-height: 1.5 !important;
}

.img-example-set a.gallery {
    width: 31.5%;
    display: inherit;
    border: 1px solid #efefef;
    padding: 5px;
    border-radius: 4px;
    margin: .2rem;
    background-color: #fafafa;
    overflow: hidden;
    aspect-ratio: 16/11;
    /* align-items: center; */
    justify-content: center;
}

.img-example-set a.gallery img {
    border-radius: 4px;
    border: 1px solid #efefef;
    width: 100%;
}

.img-example-set {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 1em;
}

.img-example-set.example-photo-cat-box a.gallery  {
    width: 45%;
}

@media (min-width: 992px) {
    .img-example-set a.gallery {
        width: 15.5%;
    }
    .img-example-set.example-photo-cat-box a.gallery  {
        width: 20%;
    }
}


