html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    /* height: 100%; */
    font-family: 'Sarabun', sans-serif !important;
    /* font-family: 'Bai Jamjuree', sans-serif !important; */
    /* font-family: 'Kanit', sans-serif !important; */
    /* font-family: 'Trirong', serif !important; */
    font-weight: 400;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

.footer {
    /* z-index: 100; */
    /* height: 600px; */
    /* background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px; */
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

table.detail-view th {
    width: 25%;
}

table.detail-view td {
    width: 75%;
}

.detail-value-2 {
    width: 30% !important;
}

.detail-value-1 {
    width: 80% !important;
}

.nowrap {
    white-space: nowrap
}

.input-group .twitter-typeahead:last-child .tt-input,
.input-group .twitter-typeahead:last-child .tt-hint {
    border-radius: 0px;
}

/* .select2-container .select2-selection--single .select2-selection__rendered{
    display: inline !important;
  } */

.select2-container--krajee .select2-selection {
    border-radius: 0px !important;
}

.select2-container--krajee .select2-search--dropdown .select2-search__field {
    border-radius: 0px;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    padding-top: 2px !important;
}

.panel-heading {
    /* padding: 8px 15px 4px !important; */
}

.vertical-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.box-header {
    margin: 0 0 12px;
    border-bottom: 1px dotted #E2E2E2;
    padding-bottom: 10px;
    padding-top: 7px
}

.box-header h3 {
    padding: 0;
    margin: 0 8px;
    font-size: 18px;
    color: #2679B5
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400
}

.box-header h1 small {
    margin: 0 6px;
    font-size: 14px;
    font-weight: 400;
    color: #8089A0
}

.panel {
    border-radius: 0px;
}

/* .kv-child-table th{
    background-color: #EDF3F4;
  } */
.detail-info.table-bordered>thead>tr>th,
.detail-info.table-bordered>tbody>tr>th,
.detail-info.table-bordered>tfoot>tr>th,
.detail-info.table-bordered>thead>tr>td,
.detail-info.table-bordered>tbody>tr>td,
.detail-info.table-bordered>tfoot>tr>td {
    border: 1px solid #DCEBF7 !important;
}

.kv-child-table-row th {
    /* border-left:1px solid red !important; */
    border-right: 1px solid #DCEBF7 !important;
    border-left: 0;
}

.kv-child-table-row td {
    border-right: 1px solid #DCEBF7 !important;
}

.detail-info-label {
    background-color: #EDF3F4 !important;
    width: 20% !important;
    text-align: right !important;
    vertical-align: middle !important;
    color: #336199 !important;
}

.section-header {
    font-size: 13px;
    color: #69AA46
}

.form-box {
    padding: 10px;
    border: 1px solid #CDD8E3;
    min-height: 180px;
    margin-bottom: 20px;
    background-color: #EFF3F8;
}

.form-box table {
    background-color: #fff;
}

.login-container {
    margin-top: 60px !important;
    padding: 6px;
    padding-top: 30px;
    border: 5px solid #D5E3EF;
}

.chosen-rtl .chosen-search:before,
.select2-search:before {
    content: "" !important;
}

input[readonly].krajee-datepicker,
input[readonly].txt_readonly {
    background: #FFF !important;
}

/* .nav-list>li>a>.menu-icon{
    font-weight:900 !important;
} */

.table-bg-white {
    background-color: #fff;
}

.select2-container--krajee-bs3 .select2-selection {
    border-radius: 0;
}

.info-toggle {
    visibility: hidden !important;
    cursor: pointer;
}

.info-toggle::before {
    font-family: "FontAwesome";
    content: '\f070   Show';
    visibility: visible;
    color: #E64A19;
}

.info-show {
    visibility: visible !important;
    cursor: pointer;
}

.info-show::before {
    cursor: pointer;
    font-family: "FontAwesome";
    content: '\f06e  ';
    color: #82AF6F;
}

/* For datatable */
.table>thead>tr>th:last-child {
    border-right-color: #ddd;
}

form div.required label.control-label:after {
    content:" * ";
    color:red;
}

/* Custom menu responsive in Tablet and Mobile */

@media (max-width: 992px) {
    #sidebar2.sidebar.navbar-collapse {
        display: none !important;
    }
    #sidebar2.sidebar.navbar-collapse.in {
        display: block !important;
    }

    #sidebar2 .nav {
        height: auto;
        max-height: 300px;
        overflow-y: auto;
        padding-left: 10px;
    }

    .no-skin .nav-list > li > a {
        /* background-color: #e8e8e8 !important; */
    }

    .no-skin .nav-list > li:hover > a {
        background-color: #f2f2f2 !important;
    }

    #sidebar2 .nav > li.hover::before {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: #2b7dbc;
        content: "";
    }

    /* จัดการ navbar-buttons */
    .navbar-buttons.navbar-collapse {
        display: none !important;
        float: none !important;
    }

    .navbar-buttons.navbar-collapse.in {
        display: block !important;
        float: right !important;
        clear: both;
    }

    .navbar-buttons.navbar-collapse.in .ace-nav {
        float: right !important;
        margin: 0;
    }

    .navbar-toggle {
        display: block !important;
    }
}

/* End Custom menu responsive in Tablet and Mobile */