html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    color: #3f4254;
}

[class*="sidebar-dark-"] {
    background-color: #0c3865;
}

.brand-link .brand-image {
    width: 57.59px;
}

option[disabled] {
    display: none;
}

label:not(.form-check-label):not(.custom-file-label) {
    margin-bottom: 0px;
    font-weight: 400;
}

.form-control {
    font-size: 14px;
    padding: 7px 12px;
}


.myinput {
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.impotant {
    color: #ff1c33;
}

.headingText {
    color: #ffffff;
    background-color: #00bc8c;
    padding: 0px 12px;
    border-radius: 5px;
    margin: 12px 0px 24px 0px;
}

/* .forminfo .form-control {
    color: #004b96;
    font-weight: 500;
    border-radius: 0px;
    border: 0px;
    border-bottom: 1px solid #ced4da;

}

.dataconEdit .form-control {
    color: #004b96;
    font-weight: 500;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;

}

.formedit .form-control {
    color: #004b96;
    font-weight: 500;


}

.formcard .form-control {
    color: #004b96;
    font-weight: 500;
    border-radius: 0px;
    border: 0px;
    border-bottom: 1px solid #ced4da;

}

.formcardedit .form-control {
    color: #004b96;
    font-weight: 500;


} */

.os-content {
    margin-top: 23px;
}

.btn-success {
    background-color: #00bc8c;
    border-color: #00bc8c;
}

.btn-success:hover {
    background-color: #008f6b;
    border-color: #008f6b;
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
}

.btn-success:not(:disabled):not(.disabled):active {
    background-color: #008f6b;
    border-color: #008f6b;
}

.btn-success:focus {
    background-color: #008f6b;
    border-color: #008f6b;
}

.btn-success:disabled {
    color: #fff;
    background-color: #00bc8c;
    border-color: #00bc8c;
}

.btn-danger {
    color: #fff;
    background-color: #e97999;
    border-color: #e97999;
}

.btn-danger:hover {
    color: #fff;
    background-color: #dc4f77;
    border-color: #dc4f77;
}

.btn-danger:disabled {
    color: #fff;
    background-color: #e97999;
    border-color: #e97999;
}

.btn-edit {
    font-size: 14px;
    padding: 0.375rem 0.75rem;
    color: #ffffff;
    border-radius: 0.25rem;
    background-color: #f8a73d;
    border: 1px solid #f8a73d;
}

.btn-edit:hover {
    color: #ffffff;
    background-color: #d88820;
    border-color: #d88820;
}

.btn-edit:not(:disabled):not(.disabled):active {
    background-color: #d88820;
    border-color: #d88820;
}

.btn-edit:focus {
    background-color: #d88820;
    border-color: #d88820;
}

.color1 {
    color: #004b96;
    font-weight: 500;
    margin: 0px;
}
.color2{
    color: #00bc8c;
}

.text400 {
    font-weight: 400;
    margin: 0px;
}

.userimg {
    width: clamp(150px, 12vw, 200px);
    height: auto;
    border-radius: 0.25rem;
}

.table td,
.table th {
    padding-right: 30px;
    vertical-align: middle;
    border-top: 0px;
}

table.dataTable>tbody>tr.odd {
    background-color: rgba(0, 0, 0, 0.05);
}

table thead th {
    font-weight: 600;
    text-align: center !important;
}

table.table-bordered.dataTable {
    border-right-width: 1px;
}

.table-bordered th,
.table-bordered td {
    border: none;
}

.table-bordered {
    border: 0px;
}

/* .table th, .table td {
    padding: 6px 8px;
} */

#dataReportM1 th,
#dataReportM1 td {
    padding: 0.5rem 0.75rem;
}

.dataTables_empty {
    text-align: center;
}


.c1 {
    width: 2%;
}

.c2 {
    width: 4%;
}

.c3 {
    width: 6%;
}

.c4 {
    width: 7%;
}

.c5 {
    width: 10%;
}

.c6 {
    width: 12%;
}

.c7 {
    width: 14%;
}

.c8 {
    width: 16%;
}

.c9 {
    width: 18%;
}

.c10 {
    width: 20%;
}

#forminfoadmin_filter .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#forminfoadmin_length .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#datacontractM1_filter .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#datacontractM1_length .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#datacontractM4_filter .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#datacontractM4_length .form-control {
    border: 1px solid #ced4da;
    border-radius: 3px;
}

.form-control:focus {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
}





thead {
    color: #0056b3;
}

.table td,
.table th {
    /* padding-right: 30px; */
    vertical-align: middle;
    border-top: 0px;
}

/* td .btn {
    width: 38px;
    height: 38px;
    padding: 4px 7px 7px 7px;
} */
td .btn {
    width: 28px;
    height: 28px;
    padding: 4px 7px 7px 7px;
}

.assessment {
    padding: 4px 7px 7px 7px;
    border-radius: 0.25rem;
}

.assessment.disabled,
.assessment:disabled,
span.disabled {
    opacity: 0.65;
}

td .btn,
td {
    font-size: 12px;
}

td .form-control {
    font-size: 12px;
    height: 28px;
}

.button5 {
    border-radius: 50%;
}

td .btn-edit {
    color: #f8a73d;
    background-color: transparent;
    border: 2px solid #f8a73d;
}

td .btn-edit:hover {
    color: #fff;
    background-color: #e39024;
    border-color: #e39024;
}

td .btn-danger {
    color: #e97999;
    background-color: transparent;
    border: 2px solid #e97999;
}

td .btn-danger:hover {
    color: #fff;
    background-color: #e97999;
    border-color: #e97999;
}

.btn {
    font-size: 14px;
}

.green {
    color: #00bc50;
}

.dataTables_wrapper .btn-group {
    display: block;
}

.dataTables_length {
    width: 50%;
    padding: 10px 0px;
    float: left;
}

.dataTables_length label {
    width: 100%;
}

.dataTables_filter {
    width: 50%;
    padding: 10px 0px;
    float: right;
    text-align: right;
}

.dataTables_filter label {
    width: 100%;
}

.dataTables_length .custom-select {
    width: 80px;
}

.dataTables_filter .form-control {
    width: 200px;
    display: inline;
    margin-left: 5px;
}

table.dataTable>tbody>tr.selected {
    background-color: #cde0f5;
}

div.dataTables_paginate {
    float: right;
}

div.dataTables_info {
    float: left;
}

.picon-1 {
    padding: 2px 5px;
}

ol ul ul {
    list-style-type: circle;
}
.card{
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.10);
    border-radius: 8px;
}

.card-title {
    font-size: 1rem;
}

.content-wrapper {
    margin-top: 0px;
}

/* .modal-footer {
    display: block;
} */

input.input-lg {
    width: 15px;
    height: 15px;
    accent-color: #008f6b;
}



*::-webkit-scrollbar {
    background-color: #fff;
    width: 16px;
}

/* background of the scrollbar except button or resizer */
*::-webkit-scrollbar-track {
    background-color: #fff;
}

/* scrollbar itself */
*::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 4px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {
    display: none;
}

.btn[disabled] {
    pointer-events: none;
}


@media screen and (max-width: 768px) {
    .font13 {
        font-size: 13px;
    }

    .alert-light {
        max-height: 150px;
    }
}

@media screen and (min-width: 768px) {
    .alert-light {
        max-height: 390px;
    }
}


.icogreen {
    color: #34a853;
}

/* .icogreen:hover {
    text-shadow: -1px 0 #34a853, 0 1px #34a853, 1px 0 #34a853, 0 -1px #34a853;
  } */
.icored {
    color: #ff2e2e;
}

.icoyellow {
    color: #fbbc04;
}

thead .sorting_disabled,
tbody td {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}


.round0 {
    background-color: rgb(212, 237, 188);
    color: rgb(17, 115, 75);
    padding: 0.05rem 1.2rem;
    border-radius: 12px;
}

.round1 {
    background-color: rgb(230, 207, 242);
    color: rgb(90, 50, 134);
    padding: 0.05rem 1.2rem;
    border-radius: 12px;
}

.round2 {
    background-color: rgb(191, 225, 246);
    color: rgb(10, 83, 168);
    padding: 0.05rem 1.2rem;
    border-radius: 12px;
}

.round3 {
    background-color: rgb(255, 207, 201);
    color: rgb(177, 2, 2);
    padding: 0.05rem 1.2rem;
    border-radius: 12px;
}

.round4 {
    background-color: rgb(255, 229, 160);
    color: rgb(71, 56, 33);
    padding: 0.05rem 1.2rem;
    border-radius: 12px;
}

.textblue {
    color: #198fb2;
}

.textred {
    color: #e97999;
}

.textedit {
    color: #f8a73d;
}


.statistic {
    background-color: #f3f5f7;
    border-radius: 0.25rem;
}

.statistic:hover {
    transform: translateY(-10px);
    transition: all 300ms ease 0ms;
}


.icondash {
    background-color: #00bc8c;
    padding: 4px 8px 6px 8px;
    float: right;
    border-radius: 0.25rem;
}

.statisticStd svg {
    color: #fff;
}

#formLogin svg {
    color: #212529;
}

.icondash2 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.25rem;
    font-size: 3vw;

}

.centerX {
    text-align: center;
    padding-top: 35vh;
}


table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    padding: 6px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table.tb_control {
    border: 1px solid #ced4da;
    border-radius: 10px;
}

table.tb_control th,
table.tb_control td {
    border: 0px;
}

.verticalthead {
    padding-right: 8px;
    writing-mode: vertical-rl;
    /* การเขียนแนวตั้งจากขวาไปซ้าย */
    text-orientation: mixed;
    /* การแสดงข้อความในแนวตั้ง */
    transform: rotate(-170deg);
    max-height: 30ch;
    /* กำหนดความยาวสูงสุดเป็น 15 ตัวอักษร */
    white-space: nowrap;
    /* ไม่ให้ข้อความขึ้นบรรทัดใหม่ */
    overflow: hidden;
    /* ซ่อนเนื้อหาที่เกินขนาด */
    text-overflow: ellipsis;
    /* แสดง ... เมื่อข้อความเกินขนาด */
}

.outsidetable {
    overflow-x: scroll;
    padding: 3px;
}

table#activitiesReport th,
table#activitiesReport td {

    border: 1px solid #ced4da;
}

table#activitiesReport {
    border-collapse: collapse !important;
}

table#activitiesReport th {
    padding: 8px;
    vertical-align: middle;
}

table#activitiesReport td i {
    font-size: 16px;
}

.td-none {
    background-color: #c9c9c9;
}


table.tb_control:hover {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
    cursor: pointer;
}


.myinput:focus-visible {
    outline: none;
}

.myinput:hover:not([disabled]) {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
    cursor: pointer;
}

#filterTerm,
#filterSubType {
    border-color: #28a745;
}




.tail-select .select-label {
    cursor: default;
}

.tail-select .select-label:hover {
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
}

.tail-select.active .select-label {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, .5);
}

ion-icon {
    overflow: hidden;
    vertical-align: middle;
}

table.dataTable tr.dtrg-group.dtrg-level-0 th {
    color: #212529;
    /* background-color: #ced1d1;  */
    background-color: #d9dee3;
    font-weight: 500;
    padding-left: 20px;
}

.register table.dataTable tr.dtrg-group.dtrg-level-0 th {
    color: #212529;
    background-color: #ffffff;
    border-color: #ffffff;
    padding-left: 20px;
}

.tail-select .select-label .label-inner {
    padding: 8px 16px;

}

.tail-select,
.tail-select .select-label,
.tail-select .select-label .label-inner {
    height: 38px;
}

#TH-map {
    height: 650px;
    min-width: 80%;
    max-width: 80%;
    margin: 0 auto;
}

.highcharts-credits,
.highcharts-exporting-group {
    display: none;
}

@media (max-width: 601px) {
    .d-sm-hide {
        display: none;
    }

    .stdselect table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before {
        display: none;
    }

}

.alert-secondary {
    color: #3f0077;
    background-color: #e1ccf4;
    border-color: #d2b3ee;

}

.alert-success {
    color: rgb(0, 119, 20);
    background-color: #ccf4cf;
    border-color: #b3eec4;

}

.alert {
    margin-bottom: 0px;
}

#checkcredit td {
    font-size: 14px;
}



#calendar {
    background-color: #fff;
    padding: 10px;
    /* box-shadow: 0.1rem 0.25rem 0.25rem rgba(0, 0, 0, 0.075); */
    margin-bottom: 20px;
}

#calendar button {
    padding: 2px 5px;
}

#calendar .fc-prev-button,
#calendar .fc-next-button {
    padding: 0;
}

.fc-sun a {
    color: orangered;
}

/* .fc-sat a {
    color: rgba(0, 81, 255, 0.329);
} */
.fc-day-header {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    background-color: #1d4f91;
}

.fc-day-number {
    font-size: 14px;
    /* padding-right: 10px; */
    font-weight: 400;
}

.fc th {
    padding: 4px 10px;
}

.activity img {
    width: 100%;
}

.navmenu {
    font-size: 18px;
    font-weight: 300;
}

.navmenu .menu-r {
    background-color: #1d4f91;
    border: 1px solid transparent;
    border-color: #1d4f91;
    border-radius: 0;
    padding: 10px 12px;
    margin-bottom: 6px;
    box-shadow: 0.1rem 0.25rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navmenu .menu-r:hover {
    background-color: #fff;
    text-decoration: none;
}

.fc-time,
.fc-title {
    color: #fff;
}

.fc-content {
    font-weight: 300;
}

tbody td.fc-widget-content {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.fc-today a.fc-day-number {
    text-align: center;
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    padding: 3px;

}

.fc-today a.fc-day-number:hover {
    color: #fff;
    background: #c82333;
    border-color: #bd2130;
}

a[data-goto]:hover {
    text-decoration: none;
}

.fc-event {
    font-size: 14px;
}



/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services .icon-box {
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.10);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
}





.featured-services .icon-box::before {
    content: "";
    position: absolute;
    background: #cbe0fb;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.3s;
    z-index: -1;
}

.featured-services .icon-box:hover::before {
    /* background: #004bae; */

    color: #fff;
    top: 0;
    border-radius: 0px;
}


.box-green:hover::before {
    background: linear-gradient(to bottom right, #B0DB7D 40%, #99DBB4 100%);
}

.box-red:hover::before {
    background: linear-gradient(to bottom right, #B0DB7D 40%, #99DBB4 100%);
    background: linear-gradient(to bottom left, #EF8D9C 40%, #FFC39E 100%);
}

.centerY {
    position: absolute;
    top: 50%;
    right: 0%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.centerXY {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.selecticon {
    font-size: 30px;
    padding: 5px;
}

.featured-services .icon i {
    font-size: 48px;
    line-height: 1;
    color: #1fa4a3;
    transition: all 0.3s ease-in-out;
}

.featured-services .icon i.icon2 {
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    color: #28a745;
    transition: all 0.3s ease-in-out;
}

.featured-services .icon i.icon3 {
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    color: #1fa4a3;
    transition: all 0.3s ease-in-out;
}
.featured-services .icon i.icon4 {
    /* cursor: pointer; */
    font-size: 35px;
    line-height: 1;
    color: #9ea4a9;
    transition: all 0.3s ease-in-out;
}

.featured-services .title {
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 22px;
    transition: all 0.3s ease-in-out;
}

.featured-services .heading {
    font-weight: 400;
    font-size: 38px;
    color: #3f4254;
    transition: all 0.3s ease-in-out;
}

.featured-services .title {
    color: #3f4254;
}

.featured-services .subtitle {
    color: #6c757d;
    transition: all 0.3s ease-in-out;
}

.featured-services .description {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.featured-services .icon-box:hover .title,
.featured-services .icon-box:hover .heading,
.featured-services .icon-box:hover .subtitle,
.featured-services .icon-box:hover .description {
    color: #fff;
}


.featured-services .icon-box:hover .icon i {
    color: #fff;
}
.featured-services .icon-box:hover .icon i.icon2 {
    color: #28a745;
}


.cusBox {
    border: 1px solid #ced4da;
    border-radius: 10px;
}

.cusBox:hover {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
}

.cusBoxActive {
    border-color: #04ba97;
    box-shadow: 0 0 0 0.2rem rgb(72 180 97 / 50%);
}

.examform span.form-control {
    height: calc(1.25rem + 2px);
}

.examform label {
    font-size: 10px;
}

.cusbtn {
    padding: 4px 7px;
    border-radius: 0.25rem;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1300px;
    }
}

label.btn {
    padding: 0.2rem 0.4rem;
}

label.btn span.fa-check {
    margin-left: 0px;
    opacity: 0;
    color: #fff;
    font-size: 20px;
}

label.btn.active span.fa-check {
    opacity: 1;
}

#formeaddCalendar input[type="radio"] {
    display: none;
    visibility: hidden;
}

.layout-navbar-fixed .wrapper .brand-link {
    background-color: #0c3865;
}
.text-color7{
    background-color: #d9ededbd;
    color: #0c3865;
    border-radius: 10px;
}

.note-editor .note-editable {
    line-height: 1.8;
}


.btn-pass {
    font-size: 25px;
}

.uploadimg {
    border: 1px solid #8b8b8b32;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
}

.actpass {
    font-size: 20px;
    padding: 8px 12px;
    border: 2px solid #28a745;
    color: #28a745;
    background-color: #ccf4cf;
    border-radius: 10px;
}

.actsave {
    font-size: 20px;
    padding: 8px 12px;
    background-color: #28a745;
    color: #fff;
    border-radius: 10px;
}

.actwait {
    font-size: 20px;
    padding: 8px 12px;
    border: 2px solid #6f42c1;
    color: #6f42c1;
    background-color: #e1ccf4;
    border-radius: 10px;
}

.text1 {
    background-color: rgb(212, 237, 188);
    color: rgb(17, 115, 75);
    padding: 0.1rem 0.6rem;
    border-radius: 12px;
    font-size: 14px;
}
.text2 {
    background-color: rgb(255, 207, 201);
    color: rgb(177, 2, 2);
    padding: 0.1rem 0.6rem;
    border-radius: 12px;
    font-size: 14px;
}

.f-16 {
    font-size: 16px;
}

.clubselect:hover{
    background-color: #eaf6de;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.money {
    font-size: 28px;
}
.wrapper .content-wrapper {
   height: 2500px;
}
.testx{
    height: 2500px;
}
.formcard .container-fluid{
    background-color: #f4f6f9;
}
.alert a {
    color: #0c3865;
    text-decoration: none;
}