:root { /* system-variable */
  --main-color: #e6814a; 
}

.dts-sd-ft {
    background-color: #3d2514;
    color: white;
    padding-top: 2em;
    padding-bottom: 3em;
}

.dts-sd-ft .sel-mod-pri {
    color: white !important;
    line-height: 1.4 !important;
    font-family: 'KanitLight' !important;
    font-size: 16pt;
}

.dts-sd-ft .sel-mod-sec {
    color: #cacaca;
    line-height: 1.4 !important;
    font-size: 11pt;
    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;
}

.footer {
    background-color: white;
}

.copyright.sel-mod-sec {
    font-size: 11pt;
    color: #414141;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px 15px;
}

.top-page-bg {
    background-color: var(--main-color);
    padding-top: 1em;
    padding-bottom: 1em;
}

.box-header .header-title {
    font-size: 14pt;
    color: white;
    max-width: 170px;
    display: inline-block;
    line-height: 1;
}

.box-header > img {
    width: 110px;
}

.twotone-bg {
    background: rgb(160,160,160);
    background: linear-gradient(90deg, rgb(160,160,160) 0%, rgb(160,160,160) 50%, rgba(239, 239, 239, 1) 50%, rgba(239, 239, 239, 1) 100%);
}

@media screen and (max-width: 576px) {
    .twotone-bg {
    background: rgb(160,160,160);
    }
}

span.page-title {font-size: 17pt;}

.white-txt {
    color: white !important;
}

.menu-bg {
    background-color: #efefef;
}

.group-menu {
    display: flex;
    justify-content: space-between;
}

.group-menu > a.group-menu-item {
    display: inline-flex;
    text-decoration: none;
    color: black;
    font-size: 11pt;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    border-bottom: 5px solid #efefef;
    margin: 0px 10px;
}

.group-menu > a.group-menu-item.active {
    border-bottom: 5px solid #998877;
}

.group-menu > a.group-menu-item:hover {
    border-bottom-color: #c68f58;
}

a.group-menu-item .no > span {
    border: 1px dotted #ffffff;
    aspect-ratio: 1/1;
    display: inline-flex;
    width: 28px;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15pt;
}

a.group-menu-item .no {
    display: inline-block;
    padding-top: 5px;
}

a.group-menu-item > .menu-txt {
    padding-top: 5px;
    padding-bottom: 3px;
}

span.no.item-1 > span {
    border-color: orange;
    color: orange;
}

span.no.item-2 > span {
    border-color: #e71616;
    color: #e71616;
}

span.no.item-3 > span {
    border-color: #009d9d;
    color: #009d9d;
}

span.no.item-4 > span {
    border-color: #0059d9;
    color: #0059d9;
}

.content, .link-txt, .form-check-label > span {
    font-size: 13pt;
    line-height: 1.4;
}

.content-title {
    font-size: 18pt;
    line-height: 1.2;
}

.section {
    padding-top: 4em;
    padding-bottom: 8em;
    background: white;
}

.content-title, .content {
    color: #333;
}

a.link-txt {
    color: #0096e9;
    display: inline-block;
    text-decoration: none;
}

.btn.btn-primary-dts {
    --bs-btn-color: white;
    --bs-btn-bg: #00688e;
    --bs-btn-border-color: #025d7e;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: #008bbe;
    --bs-btn-hover-border-color: #025d7e;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

.form-check-input[type=checkbox].form-check-lg {
    font-size: 20pt;
    margin-left: 0px;
    float: initial;
    margin: 0px;
    display: inline-block;
    min-width: 26px;
    aspect-ratio: 1/1;
    border-radius: 2px;
}

.form-check.form-check-dts {
    padding-left: 0px;
    margin-left: 0px;
    display: flex;
    align-items: center;
}

a.link-txt > i {
    font-size: 17pt;
}

.main-bg {
    background-color: var(--main-color);
}

.section-pd {
    padding-top: 10%;
}

.header-banner > img.logo {
    width: 110px;
}

.header-banner .header-title {
    font-size: 16pt;
    max-width: 200px;
    position: relative;
    top: -4px;
}

.focus-box {
    background-color: #efefef;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-desc {
    font-size: 11.5pt;
    line-height: 1.4;
}

.subject-box {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.btn.btn-addData {
    --bs-btn-color: white;
    --bs-btn-bg: #009ed8;
    --bs-btn-border-color: #0192c7;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: #008bbe;
    --bs-btn-hover-border-color: #0192c7;
    display: flex;
    align-items: center;
    font-size: 12pt;
    line-height: 1.5;
}

.subject-box span.subject {
    font-size: 14pt;
    line-height: 1.125;
}

.answer-list {
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 10px 20px;
}

.question-box {
    margin-bottom: 2.5em;
}

.answer-list:empty {
    display: none;
}

.answer-list .no {
    font-weight: bold;
    font-size: 16pt;
    line-height: 1;
    color: #888;
}

.clickable {
    cursor: pointer;
}

.deletable {
    color: #ff6500;
}

.deletable:hover {
    color: #e95c00;
}

.editable {
    color: #0093ef;
}

.editable:hover {
    color: #0083d4;
}

.answer-list > .row {
    padding: 5px 0px;
}

.answer-list > .row:nth-child(even) {
    background-color: #fff9f5;
}

.modal-dts-compact span,
.modal-dts-compact div,
.modal-dts-compact .form-control,
.modal-dts-compact .form-select {
    font-size: 12pt;
}

.modal-dialog {
    margin-top: 4rem !important;
}

.modal-dts-compact .modal-header,
.modal-dts-compact .modal-body,
.modal-dts-compact .modal-footer {
    padding: 1em;
}

.modal-dts-compact .modal-body {
    background-color: #f6f6f6;
}

.modal-dts-compact .modal-caption {
    display: inline-block;
    /* width: 100%; */
    margin-bottom: 6px;
}

span.modal-caption.req {
    color: #b8000f;
}

.modal-dts-compact .modal-body > .row {
    padding-bottom: 10px;
}

.modal-dts-compact .modal-body > .row:last-child {
    padding-bottom: 0px;
}

.modal-dts-compact .modal-title-caption {
    font-weight: bold;
    color: #005e95;
}

.modal-dts-compact .modal-title {
    font-weight: bold;
}

.section .tooltip {
    opacity: 1 !important;
    font-family: "Font Awesome 6 Pro" !important;
    color: #4a8fc4;
    font-size: 16pt !important;
    font-weight: 900 !important;
    z-index: 5;
}

.tooltipster-content {
    font-family: kanitlight !important;
    font-size: 12pt !important;
}

.tooltipster-default .tooltipster-content {
    border-left: 5px solid #509bd5 !important;
}

.thank-bg {
    background-image: url('/portals/0/images/bg/thank-bg.jpg');
    background-size: cover;
    background-position: center;
}

.thank-box {
    background-color: rgb(99 106 99 / 80%);
    display: inline-block;
    padding: 3em;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
}

.content-annouce {
    font-family: 'KanitLight';
    font-size: 32pt;
    line-height: 1;
}

.p-banner {
    padding-top: 10%;
    padding-bottom: 15%;
}

.thank-secton-bg {
    background: rgb(206,153,15);
    background: linear-gradient(90deg, rgba(206,153,15,1) 51%, rgba(230,230,234,1) 51%, rgba(230,230,234,1) 100%);
}

.group-menu.w-100 {
    max-width: 600px;
    margin: auto;
    padding-top: 5px;
}

.set-h {
    display: flex;
    align-items: center;
    padding: 2em;
}

.top-col-bg {
    background-color: rgb(23 18 18 / 70%);
}

.bottom-col-bg {
    background-color: #e6e6e6;
}

.top-col-bg, .bottom-col-bg {
    padding: 3em 2.5em !important;
}

.login-box a {
    display: inline-block;
    width: 50%;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

.login-box a img.logo-s {
    width: 100%;
}

.login-box {
    display: flex;
    flex-wrap: wrap;
}

.header-banner .content-desc {
    color: #a6a6a6;
}

.box-header.header-banner > img {
    width: 100%;
    max-width: 180px;
}

.login-desc-box {
    background-color: white;
    max-width: 380px;
    margin: auto;
    padding: 0px 28pt;
}

.login-desc-box .login-title {
    font-size: 20pt;
}

.login-desc-box .login-desc {
    font-size: 12pt;
    font-family: 'KanitLight' !important;
}

.tb-col-title {
    font-size: 10.5pt;
    color: #0050a5;
    display: block;
}

.answer-list .content {
    padding-bottom: 8px;
    display: inline-block;
}

.box-header.header-banner > img {
    width: 120px;
}

.tooltip.inside-txt {
    display: inline;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    color: #0071d1;
    border-bottom: 1px dotted;
    padding: 0px;
    cursor: help;
    margin: 0px 5px;
}

.pageNo {
    line-height: 1;
    font-size: 20pt;
    color: #bfbfbf;
}

.pageNo > .currentPage {
    color: #494949;
    font-size: 20pt;
    font-weight:bold;
}

span.colex-ico i {
    font-size: 20pt;
    color: gray;
}

.collapsed .fa-caret-down,
.fa-caret-up {
    display: none;
}

.collapsed .fa-caret-up {
    display: block;
}

.row[data-bs-toggle="collapse"] {
    border-top: 1px solid #efefef;
    padding-top: 5px;
    padding-bottom: 5px;
}

.row.multi-collapse {
    background-color: #fcfcfc;
    padding-top: 2em;
    box-shadow: inset 0px 12px 11px -16px rgb(0 0 0 / 20%), inset 0px -12px 11px -16px rgb(0 0 0 / 20%);
}

.review .answer-list {
    background-color: white;
}

.review .answer-list > .row:nth-child(even) {
    background-color: #f4fbfe;
    border-top: 1px solid #e8f1f5;
    padding-top: 8px;
}

.hightlight-txt {
    display: inline;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    color: #0071d1;
    margin: 0px 5px;
}

.usr-role {
    background: white !important;
    margin: 0px !important;
    padding: 0px 2px !important;
}

@media screen and (max-width: 1200px) {
    .container.thank-bg {
        max-width: initial;
    }
}

@media (max-width: 576px) {
    .order-sm-bottom {
      order: 2;
    }
    .order-sm-top {
      order: 1;
    }
}

@media (min-width: 576px) {
    .login-box a {
        width: 33%;
    }

    .answer-list .content {
        padding-bottom: 0px;
    }
}

@media (min-width: 768px) {
    .thank-bg {
        min-height: calc(100vh - 425px);
    }

    .set-h {
        min-height: calc(100vh - 300px);
    }
}

@media screen and (min-width: 992px) {
    .section-pd {
        padding-bottom: 10%;
    }

    .login-box a {
        width: 20%;
    }

    .box-header.header-banner > img {
        width: 180px;
    }
    
    .banner-bg-mainpage {
        background-image: url("/portals/0/Images/elms/Banner.png");
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: 380px;
        background-position-x: calc(50% + 280px);
    }

    .header-banner > img.logo {
        width: 180px;
    }
    
    .header-banner .header-title {
        font-size: 26pt;
        max-width: 280px;
        top: -4px;
    }
        
}

@media screen and (min-width: 1200px) {
    
    .banner-bg-mainpage {
        background-image: url("/portals/0/Images/elms/Banner.png");
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: 520px;
        background-position-x: calc(50% + 300px);
    }

    .section-pd {
        padding: 12em 0px;
    }
}

@media screen and (min-width: 1400px) {
    .p-banner {
        padding-top: 12em;
        padding-bottom: 16em;
    }
}

/*-- Dashboard --*/
.dashboard .title {
    font-size: 20pt;
    color: #000;
    position: relative;
    line-height: 1;
}

.dashboard .subtitle {
    font-size: 13pt;
}

.dashboard div, .dashboard span {
    color: #333334;
}

.dash-box {
    display: inline-block;
    background: #4DB6AC;
    border-radius: 4px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.dash-box.total {
    width: 160px;
}

.dash-box .title {
    font-size: 15pt;
    margin-bottom: 2px;
}

.dash-box .subtitle {
    margin-bottom: 5px;
    font-size: 12pt;
    line-height: 1.2;
    display: block;
}

.dash-box .Content-val {
    font-size: 24pt;
    color: white;
}

.dash-box .unit {
    color: #333334;
    font-size: 12pt;
}

.dashboard .Content {
    font-size: 24pt !important;
    color: white;
    line-height: 1;
    position: relative;
    top: -1px;
}

.dash-box.detail {
    background-color: #0288D1;
}

.dashboard .div-box {
    display: inline-block;
    padding: 0px 12px;
    border-left: 1px dotted #FFFFFF;
    text-align: center;
    min-width: 139px;
}

.dashboard .div-box:first-child {
    border-left: none;
}

.dash-box .Content-val {
    font-size: 24pt;
    color: white;
    line-height: 1;
}

.dash-box-l2 .Content {
    color: #006064;
    font-size: 38pt !important;
}

.dash-box-l2 .subtitle.Content {
    font-size: 23pt !important;
}

.dataTables_wrapper .subtitle {
    font-weight: 100;
}

.dataTables_wrapper  div,
.dataTables_wrapper span,
.dataTables_wrapper td,
.dataTables_wrapper th {
    font-family: kanitlight;
    font-size: 12pt;
}


.dashboard img {
    border-radius: 4px;
    width: 100%;
    max-width: 161px !important;
}

.dash-box-l2 .title {
    font-size: 17pt;
}

.dash-box-l2 .subtitle {
    font-family: kanitlight;
    line-height: 1.5;
}

.dash-box-l2 {
    display: inline-block;
    vertical-align: top;
}

.dataTable {
    background-color: white;
    border-radius: 4px;
    position: relative;
    top: 8px;
}

.dataTables_filter input {
    background-color: white !important;
}

a.dt-button {
    display: inline-block;
    line-height: 1;
    color: #000;
    background-color: #0dcaf0;
    border: 1px solid #0dcaf0;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    transition: color .15s ease-in-out, 
        background-color .15s ease-in-out, 
        border-color .15s ease-in-out, 
        box-shadow .15s ease-in-out;
}

a.dt-button:hover {
    color: #000;
    background-color:#31d2f2;
    border: 1px solid #25cff2;
}

.dt-buttons {
    display: inline-block;
}

.dash-box-img {
    background-color: white;
    border-radius: 4px;
    margin: auto;
    display: block;
    width: 125px;
}

.db-label {
    text-align: center;
    color: #005300;
    font-size: 12pt;
    padding: 5px;
    padding-bottom: 0px;
}

/*-- End Dashboard --*/

.frameBody.error {
    border-top: 20px solid #444;
    padding-top: 2em;
    padding-bottom: 2em;
    min-height: calc(100vh - 295px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px !important;
}

.error .block-content {
    text-align: center;
    max-width: 576px;
    margin: 0px auto;
    font-family: kanitlight;
}

.error .block-content .title {
    font-size: 21pt;
    line-height: 1.2;
    font-weight: 200;
    font-family: kanitlight;
}

.error .block-content .detail {
    font-size: 14pt;
    line-height: 1.325;
    font-family: kanitlight;
}

.bg-nopm {
    background-color: #fdb015;
}

.remark-txt {
    font-size: 11pt;
    color: #da002c;
}

.backtoedit a.btn.btn-addData, 
.backtoedit a.btn.btn-addData > * {
    color: white;
    text-decoration: none;
}

.lang-click span {
    font-size: 13pt;
    margin: 0px 2px;
}

.lang-click {
    display: flex;
    align-items: center;
    margin: 0px 10px;
}

.lng-txt.active {
    font-weight: bold;
    pointer-events: none;
}

.lng-txt {
    cursor: pointer;
}

.lng-txt:hover {
    text-decoration: underline;
}

.group-menu-item:nth-child(4) {
    display: none !important;
}

.focus.inside-txt {
    display: inline;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    color: #0071d1;
    padding: 0px;
    margin: 0px 5px;
}

a.btn-logoff, .btn-lang {
    display: inline-flex;
    background-color: rgb(228, 230, 235);
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    color: #6e6e6e;
    font-size: 13pt;
    position: relative;
    right: 5px;
    z-index: 10;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    text-decoration: none;
    margin-left: 5px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

a.btn-logoff:hover, .btn-lang:hover {
    background-color: gray;
    color: white;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
        background-color: transparent;
    border: 0;
}

.dts-modal-setting span,
.dts-modal-setting div {
    font-size:12pt;
}

.uname-sec {
    color: black;
    padding-bottom: 3px;
}

img.st-item-img {
    width: 30px;
}


.list-group a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.report-block {
    padding: 15px;
    border-radius: 4px;
    background-color: #e8e8e8;
}

span.report-title {
    font-size: 14pt;
}

a.btn-report {
    border-radius: 4px;
    margin: 5px;
    display: inline-block;
    vertical-align: top;
}

.LogBlock-header img.logo {
    max-width: 200px;
    border-radius: 4px;
    margin: 10px 0px;
}



