.is-mt20{
  margin-top: 20px;
}
.is-savebutton{
  background: #018361;
}
.view-wrapper {
  overflow: hidden;
}
.simplebar-content-wrapper {
  /* ทำให้ action dropdown-menu สามารถแสดงทะลุออกมาข้างนอกกรอบได้ */
  overflow: visible !important;
}
select .mtw-select2{
  color: #000000;
}
select .mtw-select2 a{
  color: #000000;
}
.fieldset-separator{
  margin: 1.5rem 0;
  border-top: 1px solid #dbdbdb;
  width: 100%;
}
.form-section{
  padding: 40px;
  border-bottom: 1px solid #e3e3e3;
}
.form-section-inner{
  padding: 40px;
}

.field-builder-card {
  background-color: white;
  border-radius: 24px;
  padding: 20px;
}

.mtw-summernote {
  text-align: left;
}

.create_down {
  /* display: flex; */
  display: inline-block;
}

.create_down i::before {
  font-size: 30px;
  color: #61D2A4;
}
.create_down button {
  border: none;
  background: none;
  cursor: pointer;
}
.invoice-button {
  float: left;
}
.receipt-button {
  float: right;
}
.is-after-service {
  background-color: #72C531;
}

.select2-selection__arrow {
  display: none;
}
.select2-selection__rendered {
  padding-right: 35px !important;
}

.div-width-100 {
  width: 100% !important;
}

.add-document a.button {
  margin: 0px !important;
}
/* ----- Edit by Manop -------- */
.add-document a svg {
  width: 17px;
  color: #A3A5B7;
  margin: 0 5px;
}
.table-wrapper .table.is-datatable .checkbox {
  color: #000000;
}
.cursor-pointer {
  cursor: pointer;
}
.tab-content.is-active {
  position: relative;
}
.tab-content.is-active .download {
  position: absolute;
  top: -50px;
  right: 10px;
  color: #5D2CC1;
}
.tab-content.is-active .h-modal-trigger {
  position: absolute;
  top: -50px;
  right: 40px;
  color: #5D2CC1;
}
.tab-content.is-active .duplicate {
  position: absolute;
  top: -50px;
  right: 80px;
  color: #5D2CC1;
}
.boxRight.tab-content.is-active {
  position: inherit!important;
}
.tabs-wrapper.is-slider .student-tab .tabs {
  max-width: 350px!important;
}
.tabs-wrapper.is-slider .student-tab .tabs li {
  width: 50%;
}
.listSlip {
  margin: 5px 0 0;
  padding: 0;
}
.listSlip li {
  display: block;
  background: url("../../tpl_assets/img/pdf_2.png") no-repeat 40px 0;
}
.listSlip li a.downloadFile {
  /*margin-left: 58%;*/
}
.listSlip li:last-child {
  background: none;
}
.listSlip li span {
  padding-left: 70px;
  display: block;
  float: left;
  padding-right: 10px;
}
.listFinance {
  margin: 0;
  padding: 0;
}
.listFinance li {
  margin-top: 5px;
}
.listBalance {
  margin: 0;
  padding: 0;
}
.listBalance li {
  line-height: 2em;
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px dashed #000000;
  padding: 10px;
}
.listBalance li span {
  display: block;
  float: left;
  width: 250px;
}
.listInterest .checkbox {
  color: #000000;
}
.doc-agreement {
  display: block;
  width: 100%;
  background: url("../../tpl_assets/img/pdf_2.png") no-repeat 0 0px;
  padding: 0 0 20px 30px;
  line-height: 1.3em;
}
.table-pay td {
  vertical-align: top!important;
}
.check-commission {
  margin-top: 20px;
}
.button-add {
  height: 38px;
  line-height: 1.1;
  font-size: 0.95rem;
  font-family: "Roboto", sans-serif;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;

}
.button-add span {
  padding-left: 0px!important;
  padding-right: 0px!important;
}
.button-add span.file-cta {
  margin-left: 42px;
  padding: 10px 22px 10px 22px!important;
  border-radius: 8px!important;
  height: 38px!important;
  background: #fff;
}
.table-wrapper .table.is-datatable td {
  background: #ffffff;
}
.has-child.checkbox {
  padding: 0!important;
  color: #000;
}
.create-name .column {
  padding: 0!important
}
.create-name label {
  font-family: "Sarabun", sans-serif !important;
}
.create-name input {
  width: 93%!important;
  margin-bottom: 10px!important
}
.create-name i {
  margin-top: 12px!important;
}
.create-name button {
  margin: 10px 0!important;
}
.dropdown-content .h-modal-trigger {
  position: relative!important;
  display: block;
  right: inherit!important;
  top: inherit!important;
}
textarea.form-control {
  /*width: 100%!important;
  max-width: 98%;
  min-width: 98%;*/
}
tr.ss2c_item td {
  vertical-align: top!important;
  padding: 12px 9px !important;
}
.tabs-wrapper.is-slider .student-tab .tabs li:nth-child(2).is-active ~ .tab-naver {
  margin-left: 50%!important;
}
.choices__inner {
  border: 1px solid #ddd !important;
}
.file-cta .file-icon {
  margin: auto;
}
#modal-assign-to-sales .choices__list choices__list--dropdown {
  position: relative!important;
} 
.choices__list--dropdown, .choices__list[aria-expanded] {
  overflow: visible !important;
  z-index: 9 !important;
}
.ss4c_item .check-commission {
  margin-top: 10px!important
}
.table-entry th:first-child, .table-entry th:first-child {
  width: 25%!important;
}
.container-student-wallet .field {
  padding: 0 0px 0 0!important;
}
.container-student-wallet .form-icon {
  left: 85%!important;
  top: 5px!important;
}
.container-visa-detail table {
  position: relative;
}
.container-visa-detail td {
  padding: 3px 5px!important;
}
.container-visa-detail .field {
  padding: 0 10px 0 0!important;
}
.container-visa-detail .listSlip li.fileItem {
  display: block;
  background: url("../../tpl_assets/img/pdf_2.png") no-repeat 4px 0!important;
}
.container-visa-detail .listSlip a.downloadFile {
  /*margin-left: 70%!important;*/
}
.container-visa-detail .listSlip span {
  padding-left: 30px;
}
.container-visa-detail .listSlip span.file-cta {
  margin-left: 5px!important
}
.container-visa-detail .deleteDetail {
  /*position: absolute;
  top: 63px;*/
}
.container-pre-departure .animated-checkbox {
  float: left;
}
.container-pre-departure .field {
  padding: 0 10px 0 0!important;
}

.container-pre-departure .deleleteItem {
  padding-top: 15px;
}
.container-entry-requirement .listSlip a.downloadFile {
  /*margin-left: 65%!important;*/
}
.clearCancle {
  padding: 5px 20px;
  height: auto;
}
/*============= Application Start ==============*/
.box_student {
  overflow: hidden;
}
.box_student .is-6 {
  float: left;
  width: 70%;
}
.student_app .column .doc_list {
  width: 30%;
}
.box_student .document-list {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: transparent;
  border-radius: 0px;
  border: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.container_document_list {
  width: 100%;
}
.container_document_list li {
  font-size: 18px;
  margin-bottom: 5px;
}
.container_document_list li span {
  float: right;
}
.application-started .column:nth-child(2n) {
  float: none!important;
}
#tab-document-checklist table,
#tab-additional table,
#tab-entry-requirement table, 
#tab-application-submit table, 
#tab-upload-file table,
#tab-school-offer table,
#tab-pay-to-school table,
#tab-student-wallet table,
#tab-after_service-checklist  {
  width: 96%!important;
  margin: auto;
}
#tab-document-checklist .control .animated-checkbox, 
#tab-additional .control .animated-checkbox, 
#tab-entry-requirement .control .animated-checkbox,
#tab-school-offer .control .animated-checkbox,
#tab-pay-to-school .control .animated-checkbox,
#tab-student-wallet .control .animated-checkbox,
#tab-after_service-checklist .control .animated-checkbox
 {
  float: left;
}
#tab-document-checklist .control span, 
#tab-additional .control span, 
#tab-entry-requirement .control span,  
#tab-application-submit .control span, 
#tab-school-offer .control span,
#tab-pay-to-school .control span,
#tab-student-wallet .control span,
#tab-after_service-checklist .control span  
{
  float: left;
  margin-top: 0px!important;
  text-align: left;
}
#tab-document-checklist .table td,
#tab-additional .table td, 
#tab-entry-requirement .table td, 
#tab-application-submit .table td,
#tab-upload-file .table td,
#tab-school-offer .table td,
#tab-after_service-checklist .table td {
  border: none!important;
}
#tab-pay-to-school .table td,
#tab-student-wallet .table td,
#tab-after_service-checklist .table td
  {
  border: none!important;
  padding: 10px;
}
#tab-document-checklist table .field, 
#tab-additional table .field, 
#tab-entry-requirement table .field,
#tab-application-submit table .field,
#tab-school-offer table .field,
#tab-pay-to-school table .field,
#tab-pay-to-school table,
#tab-student-wallet table .field,
#tab-student-wallet table,
#tab-after_service-checklist .field,
#tab-after_service-checklist
{
  padding: 0!important;
}
#tab-document-checklist th:first-child, 
#tab-document-checklist td:first-child, 
#tab-document-checklist td:nth-child(2), 
#tab-additional th:first-child, 
#tab-additional td:first-child, 
#tab-additional td:nth-child(2), 
#tab-entry-requirement th:first-child, 
#tab-entry-requirement td:first-child, 
#tab-entry-requirement td:nth-child(2),
#tab-upload-file th:first-child, 
#tab-upload-file td:first-child, 
#tab-upload-file td:nth-child(2),
#tab-pay-to-school th:first-child, 
#tab-pay-to-school td:first-child, 
#tab-pay-to-school td:nth-child(2),
#tab-after_service-checklist th:first-child, 
#tab-after_service-checklist td:first-child, 
#tab-after_service-checklist td:nth-child(2)   {
  border-right: 1px solid #fff!important;
}
#tab-document-checklist .table thead, 
#tab-additional .table thead, 
#tab-entry-requirement .table thead,
#tab-application-submit .table thead,
#tab-school-offer .table thead,
#tab-upload-file .table thead,
#tab-pay-to-school .table thead,
#tab-student-wallet .table thead,
#tab-after_service-checklist .table thead  {
  background: #e9e9e9;
}
#tab-document-checklist .table.is-datatable tr:hover td, 
#tab-additional .table.is-datatable tr:hover td,
#tab-entry-requirement .table.is-datatable tr:hover td,
#tab-pay-to-school .table.is-datatable tr:hover td{
  background: none !important;
}
#tab-document-checklist tr:nth-child(even) td, 
#tab-additional tr:nth-child(even) td{
  padding: 0px 0px 20px!important;
}
#tab-pay-to-school tr:nth-child(even) td {
  padding: 10px !important;
}
#tab-document-checklist .field, #tab-additional .field {
  text-align: left!important;
}
#tab-document-checklist .table-wrapper .table.is-datatable th:nth-child(2), 
#tab-additional .table-wrapper .table.is-datatable th:nth-child(2),
#tab-entry-requirement .table-wrapper .table.is-datatable th:nth-child(2), 
#tab-application-submit .table-wrapper .table.is-datatable th:nth-child(2),
#tab-pay-to-school .table-wrapper .table.is-datatable th:nth-child(2) {
  border-right: 1px solid #fff!important;
}
.header-title {
  width: 100%;
}
.header-title .title {
  float: left;
  text-transform: uppercase;
  font-weight: normal;
}
.header-title {
  width: 100%;
}
.application-started .column .field {
  padding: 0 2px 20px 20px;
}
.header-title .field .select select {
  box-shadow: none!important;
  border: 1px solid #cbcbcb!important;
}
.deleleteItem svg {
  width: 20px;
}
.icon-menu li a:active {
  color: #000;
}
/*============= Pay to School ==============*/
.table-pay-to-school.s-card {
  border: none!important;
}
.table-pay-to-school td {
  border: none;
  padding: 0.5em 0!important;
}
.table-pay-to-school th {
  font-weight: 400!important;
  font-size: 11px!important;
  border-width: 0 0 1px!important;
}
.table-pay-to-school td.td-commission {
  vertical-align: top!important
}
.table-pay-to-school .animated-checkbox {
  float: left;
}
.table-pay-to-school .field {
  padding: 10px 10px 10px!important;
}
.pay-to-school svg {
  width: 18px;
  margin-top: 5px;
}
.table-pay-to-school .fileItem svg {
  width: 18px;
}
.table-pay-to-school label.checkbox {
  padding: 0!important;
}
/*============= Enquiry Table ==============*/
.enquriy-list.table-wrapper {
  overflow: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  max-height: 100vh;
  background: #fff;
}
.enquriy-list .table.is-datatable {
  background: none!important;
}
.enquriy-list .table.is-datatable th {
  border: none;

}
.enquriy-list .table.is-datatable tbody tr:hover {
  background: none!important;
}
.enquriy-list .table.is-datatable tbody tr {
}

.enquriy-list .table.is-datatable td {
  background: #ffffff!important;
  padding: 10px 20px;
}
.enquriy-list .table.is-datatable td:first-child {
  position: sticky;
  left: 0;
  z-index: 0;
  border-right: 1px solid #efefef;
}
.enquriy-list .table.is-datatable th:first-child {
  left: 0;
  position: sticky;
  z-index: 0;
  border-right: 1px solid #efefef!important;
}
.enquriy-list .table.is-datatable td:first-child {
  
}
.enquriy-list .table.is-datatable td:last-child {
  
}
.enquriy-list .table.is-datatable th:nth-child(2) {
  position: sticky;
  left: 77px;
  z-index: 0;
  border-right: 1px solid #000000!important;
}
.enquriy-list .table.is-datatable td:nth-child(2) {
  left: 77px!important;

}
.enquriy-list .table.is-datatable td.sale {
  width: 10%;
}
.assign-status {
  font-size: 11px;
  font-weight: bold;
  display: block;
  top: 10%;
  right: 0
}
.table-application table{
  padding: 10px;
}
.table-application td {
  padding: 15px 0px!important
}
.table-application th.school_name {
  width: 25%
}
.table-application td .school_name {
  padding-left: 20px!important;
}
.list-school ul li.is-active {
  background: #d2afff!important;
  color: #fff;
  cursor: pointer;
}
.list-school ul li.is-active .s-card {
  background: #d2afff!important;
  color: #fff;
  cursor: pointer;
}
.list-school ul li.is-active .media-flex-center .flex-meta span:nth-child(2), .list-school ul li.is-active .card-inner p span {
  color: #fff;
}
.list-school ul li.is-active .dropdown.is-dots .is-trigger svg {
  stroke: #fff;
}
#tab-pay-to-school .listSlip li a.downloadFile {
  /* margin-left: 60%; */
  /*margin-left: 56%;*/
}
#tab_visa_detail .table-wrapper .table.is-datatable td:nth-child(2) {
  left: 0;
}
/*  Student App */
.table-application .is-status a > span {
  display: inline-block;
  margin: 0 2px;
  border-radius: 50%;
  border: 1px solid #E5E5E5;
  width: 25px;
  min-width: 25px;
  height: 25px;
  text-align: center;
  color: #999999;
  font-size: 12px;
  font-weight: normal;
  line-height: 23px;
}
.is-kanban-wrapper .kanban-column {
  flex: 1;
  height: 100%;
}
.canban_block {
  height: 100%
}
.item-agreement {
  text-align: right!important;
}
/*
#frm_step4, #frm_step2 {
  position: relative;
}
*/
.document-list {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.document-list ul {
  margin-left: 10px;
}
.document-list ul li {
  list-style: disc;
}
.document-list ul li span {
  float: right;
}
.addCourse {
  position: relative;
  z-index: 99;
}
#tab-application-submit .table-wrapper .table {
  width: 96%!important;
  margin: auto;
}
.title-accommodation {
  text-align: left;
}
.tab-content .field.area-contact {
  padding-bottom: 0px!important
}
.application-started .tab-content .field.accommodation-checklist {
  padding: 0 0 20px!important;
  text-align: left;
}
.accommodation-checklist .title {
  padding: 0 20px!important
}
.application-started .tab-content .field.document-uploaded {
  padding: 0 0 20px!important;
  text-align: left;
}
.document-uploaded .title {
  padding: 0 20px!important
}
.field.selectAccommodation {
  text-align: left!important;
}
.is-received {
  background: #40f8e7!important;
}
.container-student-wallet-credit .button-download-invoice, .container-student-wallet-credit .button-download-receipt {
  display: none;
}
.table-application td svg {
  margin-bottom: 80%;
  width: 17px;
  color: #A3A5B7;
}
.table-application-submit td svg {
  margin-top: 10%!important
}
/* ========== Drag and Drop Noti =============*/
#sortable li {
  cursor: grab;
  display: block;
  padding: 5px;
}
#sortable li:hover {
  background: #ededed;
  border-radius: 10px;
}
#sortable li p {
  margin-left: 12px;
  display: block;
  font-size: 1.2rem;
  color: #283252;
  font-weight: 600;
}
#sortable li span {
  display: block;
  color: #000000;
  font-size: 1rem;
  font-weight: normal;
}
.title-wallet {
  background: #000000;
  padding: 10px;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  font-family: 'Sarabun';
}
.timeline-header .control {
  float: left;
  margin-right: 20px;
}
.sortable-list a.viewall {
  margin: 10px 0;
  float: right;
}
.datetimepicker.is-active {
  z-index: 999;
}
/*======== Notification =========*/
.detailNoti {

}
.detailNoti span {
  font-weight: normal!important;
  padding: 0 10px;
}
.detailNoti span.name {
  font-size: 16px;
  font-weight: 600!important;
}
/* Enquiry status color */
.wc-new {
  background-color: #ff0000 !important;
  color: white !important;
  animation: blinker 1.5s linear infinite;

}
.wc-applied {
  background-color: #dedb38 !important;
  color: white !important;
}
.wc-assigned {
  background-color: #de783c !important;
  color: white !important;
}
.wc-onprocess {
  background-color: green !important;
  color: white !important;
}
.wc-accept {
  background-color: #51d1c5 !important;
  color: white !important;
}
.wc-cancel {
  background-color: red !important;
  color: white !important;
}
/* END Enquiry status color */
/* Status Cancel Step 3 */
.list-school ul li .s-card .card-head .tag-cancel {
  position: absolute;
  right: 0;
  top: 70px;
  width: 80px;
  text-align: center;
  border-radius: 9999px;
  color: #fff;
  font-size: 12px;
  padding: 5px 0;
}
.is-fail {
  background: #fa113d;
}
.is-withdraw {
  background: #11abfa;
}
/* ทำให้ tag a ครอบ element แล้ว style ไม่เสีย */
.a_wrap {
  display: contents;
  color: unset;
}
/* END ทำให้ tag a ครอบ element แล้ว style ไม่เสีย */
.a_wrap button {
  color: unset !important;
}
/* ========= CSS for Finance ========== */
#finance-dashboard a {
  width: 30.3%;
  margin: 20px;
}
.finance-list {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  width: 100% !important;
}
.table-waiting-approve .table-wrapper .table.is-datatable th:nth-child(2) {
  border-right: none!important;
}
.table-waiting-approve .table-wrapper .table.is-datatable th {
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
}
.table-waiting-approve .table-wrapper .table.is-datatable td a {
  color: #671cc9;
}
.table-waiting-approve .table-wrapper .table.is-datatable td .h-avatar span {
  font-size: 12px;
}
.finance-list .card-metric {
  padding: 20px 0 10px;
}
.finance-list strong {
  font-weight: 700;
  font-size: 2.8rem;
  color: #283252;
  padding-right: 10px;
}

span.is-recieved {
  background-color: #40f8e7;
}
span.is-highlight {
  background-color: #fffbc5;
}
span.is-decline {
  background-color: red !important;
  color: white !important;
}
span.is-reject {
  background-color: red !important;
  color: white !important;
}
.footer-search-btn-block {
  display: block;
  text-align: center;
}
.container-pay-to-school .control.has-icon, .container-student-wallet-debit .control.has-icon {
  /*width: 120px;*/
}
.container-student-wallet-debit .control.has-icon .form-icon, .container-student-wallet-credit .control.has-icon .form-icon {

}
.container-student-wallet-debit .field {

}
.container-student-wallet-debit td {
  /*padding: 10px 0!important;*/
}
.list-deposit .control {
  /* width: 180px!important; */
  width: 165px!important;
}
.wallet-price .control.is-expanded input {
  width: 65px;
}
.table-wallet td {
  padding: 12px 5px !important;
}
.container-student-wallet-credit td .field {
  margin-top: 5px;
  /*padding: 0!important;*/
}
.container-student-wallet-credit td.wallet-price .field {
  /*padding: 0!important;*/
}
.finance-enquiry {
  background: #e7e2f0;
  border-radius: 20px;
  margin: 15px 0;
}
.finance-student {
  background: #c4fdef;
  border-radius: 20px;
  margin: 15px 0;
}
.finance-commission {
  background: #fee7ed;
  border-radius: 20px;
  margin: 15px 0;
}
.student-wallet svg {
  width: 18px;
  margin-top: 5px;
}
/* ========= CSS for Forecast Revenue Date : 20240925 ========== */
.select-forecast .select:not(.is-multiple) {
  border: none!important;
}
.select-forecast .current {
  color: #671cc9;
}
.stat-widget.line-stats-widget .line-stats .line-stat span:first-child, .stat-widget.line-stats-widget .line-stats .line-stat span {
  color: #000;
  font-size: 16px!important;
}
.stat-widget.line-stats-widget .line-stats .line-stat span.current {
  font-size: 18px!important;
  color: #671cc9;
}
#forecast-revenue {
  width: 49%;
  border: 1px solid #e5e5e5;
  padding: 20px 0px!important;
  border-radius: 6px;
  min-height: 452px;
  margin: 0 20px 0 0!important;
  background-color: white;
}
#forecast-revenue .stat-widget {
  border: none!important;
  padding: 0!important;
}
#forecast-revenue-service {
  width: 49%;
  border: 1px solid #e5e5e5;
  padding: 20px 0px!important;
  border-radius: 6px;
  min-height: 420px;
  background-color: white;
}
#forecast-revenue-service .stat-widget {
  border: none!important;
  padding: 0!important;
}
#forecast-revenue-service .tabs.is-toggle li:first-child a {
  border-top-left-radius: 10px!important;
  border-bottom-left-radius: 10px!important;
}
.finance-dashboard .column.is-12 {
  padding: 0 0.75rem 0 0;
}
.finance-dashboard .column.is-2 {
  float: left;
}
.finance-dashboard .h-icon.is-small {
  width: 10px!important;
  height: 10px!important;
  min-width: 10px!important;
}
.finance-dashboard.analytics-dashboard .dashboard-tile .tile-body {
  font-size: 1.2rem!important;
  color: #671cc9!important;
}
.finance-dashboard.analytics-dashboard .dashboard-tile .tile-body span {
  color: #671cc9!important;
}
.finance-dashboard.analytics-dashboard .dashboard-tile .tile-foot span:first-child {
  color: #a2a5b9;
  font-weight: normal!important;
}
.detail-forecast {
  width: 100%;
}
.detail-forecast .column.is-12 {
  padding: 0;
  overflow: hidden;
}
.forecast-name, .forecast-total {
  float: left;
  padding: 0.75rem 0.75rem 0 0;

}
.select-forecast .select.is-rounded select {
  border-color: #fff;
  box-shadow:  2px 2px 1px grey;
  border-radius: 12px!important;
  margin-left: 20px;
}
.line-stats {
  display: block;
  margin: 20px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.line-stats .line-stat {
  width: 33.33%;
  padding: 20px;
  border-right: 1px solid #e5e5e5;
  margin-right: 0!important
}
.line-stats .line-stat:last-child {
  border-right: none;
}
#forecast-revenue-service .tabs-wrapper.is-slider .tabs {
  margin: 0 20px 20px!important;
}
#forecast-revenue-service .tabs-wrapper.is-slider .tabs li, #forecast-revenue-service .tabs-wrapper-alt.is-slider .tabs li {
  width: 33.33%;
}
#forecast-revenue-service .tabs-wrapper.is-slider .tabs li:nth-child(2).is-active ~ .tab-naver {
  width: 33.33%!important;
  margin-left: 33.33%;
}
#forecast-revenue-service .tabs-wrapper.is-slider .tabs li:nth-child(3).is-active ~ .tab-naver {
  width: 33.33%!important;
  margin-left: 66.66%;
}
#forecast-revenue-service .line-stats {
  border-top: none;
  border-bottom: none;
  margin: 0 0;
}
#forecast-revenue-service .stat-widget.line-stats-widget .line-stats .line-stat span:nth-child(2) {
  font-weight: normal;
}
#forecast-revenue-service .stat-widget.line-stats-widget .line-stats .line-stat span.current {
  font-weight: bold;
}
.head-forecast-service {
  margin: 20px 0;
}
.head-forecast-service .select:not(.is-multiple) {
  border: none;
  border-color: #eee!important;
}
.head-forecast-service .total-person {
  margin: 15px 0;
  color: #671cc9;
  font-size: 16px;
  font-weight: bold;
}
/* ========= CSS for Company Setting Date : 20240930 ========== */
#company-setting {
  display: block;
  margin: 30px 57px;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}
#company-setting p.boxInput {
  width: 25%;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 5px 10px;
  margin: 10px 0 40px;
}
#company-setting p.input-commistion-description {
  width: 40%;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 5px 10px;
  margin: 10px 0 50px;
}
.add-new-bank {
  margin: 30px 0;
  border-color: #671cc9;
  color: #671cc9;
}
.table-bank {
  display: block;
  width: 60%!important;
}
.button-save {
  text-align: center;
  margin: auto;
}
.finance-checkin {
  display: inline-flex;
}
.row-graph {
  display: flex;
}
.item_payment div.field, .subagent-widget div.field {
  padding: 0.75rem;
}

/* Blink animation */
.blink_me {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
/* END Blink animation */

.soring-arrow {
  display: block;
  line-height: 14px;
}
.soring-arrow i {
  font-size: 12px;
}
.soring-arrow.is-active {
  color: #671cc9;
}

.container-th-sorting {
  display: flex;
  align-items: center;
}
.container-th-sorting div {
  margin-left: 10px;
}

.title-pre-d-extra {
  text-align: left !important;
  padding-bottom: 5px !important;
}

.pre-d-carlender1 {
  text-align: left !important;
}

.std-app-summary-date {
  font-size: 18px;
}

.tr-is-overdue td, .tr-is-overdue a {
  background-color: red !important;
  color: white !important;
}

.com-payment-receive a, .com-payment-receive input {
  font-size: 12px !important;
}

.com-payment-receive-footer div.flex-table-cell {
  justify-content: end !important;
}



/* Error label */
label.error {
  color: red !important;
  font-size: bold !important;
  animation: error-blinker 1s linear infinite;
  display: block;
}
@keyframes error-blinker {
  50% {
    opacity: 0;
  }
}
/* END Error label */

.h-modal .is-modal-scroll {
  overflow: auto !important;
}

.table-wrapper .table.is-datatable tr:hover {
  background: #ccc;
}
.flex-list-v1 .table thead {
  
}
.table-student .h-avatar.is-medium .badge:nth-child(4) {
  left: 60px!important
}

/* Google Calendar event tag color */
.calendar-event.google {
  background: #60d864;
  color: #ffffff !important;
  font-weight: bold;
}

.no-fix-max-height {
  max-height: none;
}

.typeahead.dropdown-menu li {
  background-color: white;
  border: 1px solid gray;
  text-align: left;
  padding: 5px 5px;
}
.typeahead.dropdown-menu li:hover {
  background-color: gainsboro;
}

.typeahead.dropdown-menu li a strong {
  color: #611abe;
}

/* ========= CSS for Responsive Date : 20240806 ========== */
@media (max-width: 767px) {
  .flex-table .flex-table-item a {
    margin-left: auto;
  }
  .mobile-navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }
  #btn-custom-field.button.h-button {
    padding: 8px 5px!important;
    margin-right: 5px!important;
  }
  .user-grid-toolbar {
    display: block!important;
  }
  .buttons.add-new:last-child {
    position: absolute;
    top: 13.2%;
    left: 69%;
  }
  .list-flex-toolbar {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .list-flex-toolbar .control {
    margin-bottom: 10px;
  }
  .table-application {
    width: 1000px!important;
  }
  .table-wrapper .table.is-datatable.table-application td:nth-child(2) {
    position: relative!important;
  }
  .table_student {
    margin-top: 5px;
  }
  .table_student .demo-table {
    overflow-x: auto;
    overflow-y: visible;
  }
  .title-application {
    margin: 20px 0 0;
  }
}
#ui-datepicker-div {
  z-index: 999 !important
}

.card-head_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 20px;
}
/*action-link custom*/
.action-link-custom {
  position: relative;
  display: inline-block;
  font-weight: 500;
  color: #ea0000;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.action-link-custom:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1.6px dotted #ea0000;
}
.action-link-custom:hover {
  color: #f52121;
  opacity: 0.6;
}
/*============= Edit CSS Course Setting 31/1/68 ================= */
#modal-course .modal-card-body .control {
  text-align: left!important;
}


/*META*/


.meta {
  margin-left: 10px;
}
.meta > span {
  font-family: "Roboto", sans-serif;
  display: block;
}
.meta > span:first-child {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #283252;
  font-size: 0.85rem;
}
.meta > span:nth-child(2), .meta > span:nth-child(3) {
  font-size: 0.85rem;
  color: #a2a5b9;
}
.meta > span:nth-child(2) i, .meta > span:nth-child(3) i {
  position: relative;
  top: -2px;
  font-size: 4px;
  margin: 0 6px;
}
.meta > span:nth-child(3) {
  color: #671cc9;
}
.meta > span span {
  display: inline-block;
}

/*Table TH fix by mamuya*/
.th_style_app{
  background: #000000;
  padding: 10px 0px !important;
  font-family: "Kanit", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: #ffffff !important;
  text-align: left !important;
}

.th_style{
    background: #fff8e7;
    padding: 20px 0px !important;
    font-family: "Kanit", sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: #283252 !important;
    text-align: left !important;
}
.text-ellipsis{
    width: 9ch; /* กำหนดให้แสดงแค่ 10 ตัวอักษร */
    white-space: nowrap; /* ไม่ให้ขึ้นบรรทัดใหม่ */
    overflow: hidden; /* ซ่อนส่วนที่เกิน */
    text-overflow: ellipsis; /* เติม ... */
}

.stdw-subject-price {
  max-width: 150px;
  min-width: 150px;
  margin-right: 1px;
}

.has-bottom-line {
  border-bottom: 1px solid !important;
}

.td-finance-stdw-payment-name {
  vertical-align: unset !important;
}

/* css tab for others revenue forcast revenue */
ul.css-others-rev li {
  width: 50% !important;
}
#forecast-revenue-service .tabs-wrapper.is-slider .tabs ul.css-others-rev li:nth-child(2).is-active ~ .tab-naver {
  width: 50% !important;
  margin-left: 50% !important;
}
/* END css tab for others revenue forcast revenue */

.block-hide-value {
  border: 1px solid;
  border-radius: 20px;
  border-color: black;
}
.tabCourse:hover{
  background: #d2afff!important;
  cursor: pointer;
}

.no_blink {
  animation: none !important;
}

/*Table scrollbar left right*/
.table-scrollbar{
  border: 0px solid #ccc;
  border-radius: 0px;
  
}
.table-scrollbar table {
  width: 1200px; /* ให้กว้างเกินขนาด container เพื่อเกิด scroll */
  max-height: 100vh;
  border-collapse: collapse;
  min-width: 800px;
  min-height: 100px !important;
}
.table-scrollbar th, td {
  border: 1px solid #ccc;
  padding: 15px 8px;
  text-align: center;
  white-space: nowrap;
}
.table-scrollbar  th {
  background-color: #f2f2f2;
}
.vertical-middle{
  vertical-align: middle;
}

/* Custom Sweet Alert 2 */

div:where(.swal2-container) h2:where(.swal2-title){
  font-size: 18px !important;
}

/* Note */
.div-note{
  word-break: break-word;
}
.div-icon-note{
  display: inline-flex;
  align-self: flex-start;
  margin-inline-start: auto;
}
.div-icon-note a{
  margin-left: 5px;
}
/* END Note */

.td-ellipsis-100px {
    max-width: 100px;   /* ปรับตามที่ต้องการ */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.present-but-unseen {
  opacity: 0;
}

/* Badge จำนวน unread notification ที่กระดิ่ง (มุมขวาบนของไอคอน bell) */
.toolbar .toolbar-notifications .dropdown .is-trigger {
  position: relative;
}
.toolbar .toolbar-notifications .dropdown .is-trigger .bell-unread-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e62965;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
  z-index: 2;
}
/* unread item ใน dropdown กระดิ่ง: แถบซ้ายสีชมพูบอกว่ายังไม่อ่าน */
.toolbar .toolbar-notifications .dropdown .dropdown-menu .dropdown-content .notification-list .notification-item.is-unread {
  background: rgba(230, 41, 101, 0.06);
}
/* ===== section Upload Files (การ์ด + dropzone) — ใช้ร่วมหน้า edit_lead (ฝั่ง lead) และ student_edit (ฝั่ง student) ===== */
.upf-card{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; border:1px solid #e5e7f2; border-radius:12px; padding:14px 16px; background:#fff; height:100%; }
.upf-ic{ width:40px; height:40px; border-radius:10px; background:#f3effc; color:#671cc9; display:flex; align-items:center; justify-content:center; font-size:16px; flex:none; }
.upf-meta{ flex:1; min-width:0; }
.upf-label{ font-weight:600; color:#283252; margin:0; line-height:1.3; }
.upf-hint{ font-size:.72rem; color:#999fb1; margin:2px 0 0; }
.upf-dropfile{ width:100%; display:block; margin:0; }
.upf-dropfile .file-label{ width:100%; }
.upf-dropzone{ width:100%; border:2px dashed #d8d3f0; border-radius:10px; padding:10px 14px; display:flex; align-items:center; justify-content:center; gap:10px; color:#671cc9; background:#faf9ff; cursor:pointer; font-size:.9rem; }
.upf-dropzone:hover{ background:#f3effc; border-color:#b39ddb; }
.upf-card .fileoutput{ width:100%; display:block; }
.upf-card .fileoutput:empty{ display:none; }
.upf-card .fileoutput p{ display:flex; align-items:center; gap:8px; background:#f8f9fd; border:1px solid #eef0f7; border-radius:8px; padding:6px 10px; margin:0 0 8px !important; }
.upf-card .fileoutput p::before{ content:"\f0c6"; font-family:"Font Awesome 5 Free"; font-weight:900; color:#671cc9; font-size:.9rem; }
.upf-card .fileoutput .input{ max-width:220px; height:2.05em; font-size:.85rem; }
.upf-card .fileoutput a{ color:#8a90a5; }
.upf-card .fileoutput a:hover{ color:#e62965; }
.upf-card .fileoutput .lnil{ font-size:17px; vertical-align:middle; }
