@font-face {
    font-family: Sarabun;
    src: url('fonts/Sarabun.woff2');
}

@font-face {
    font-family: SarabunLatin;
    src: url('fonts/SarabunLatin.woff2');
}

@font-face {
    font-family: PoppinLatin;
    src: url('fonts/PoppinLatin.woff2');
}


html,
body {
    font-family: 'Sarabun', 'SarabunLatin', cursive;
}

.chck-box-tbl {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bg-1 {
    background-color: #d5d5d5;
}

.bg-2 {
    background-color: #f5f5f5;
}

.highcharts-title {
    font-family: Sarabun, SarabunLatin !important;
    font-size: 15px !important;
}

.border-bottom-1 {
    border-bottom: solid 2px red
}

;

.datepicker table tr td.day {
    color: #5F5D5E;
}

.datepicker tbody tr>td.day.old {
    color: #D1D1D1;
}

.datepicker tbody tr>td.day.new {
    color: #D1D1D1;
}

.datepicker tbody tr>td.disabled {
    color: #D1D1D1;
}

.datepicker tbody tr>td.disabled {
    color: #A5A5A5;
}

.fc-event {
    cursor: pointer;
}

.radio_btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.vh-100 {
    min-height: 100vh;
}

.textbox:focus {
    outline: none !important;
    border-color: #3699FF;
    box-shadow: 0 0 2px #3699FF;
}

.box-1 {
    width: 20px;
    height: 20px;
    border: solid 1px;
}

.border-dotted {
    border-bottom: 1px dotted;
}

.tbl-info-hide {
    display: none;
}

.tbl-info-show {
    display: table-row;
}

.cursor-pointer {
    cursor: pointer;
}

.banner {
    /*background-image: linear-gradient(180deg, #FFFFFF 2%, #a6e4feAB 50%), url('../imgs/banner33.jpg');
    /*background-color: #8950fc;*/
    background-image: url('../imgs/banner2.png');
    background-size: cover;
    height: 70vh;
    position: relative;
    margin-bottom: -60vh;
    z-index: -1;
}

.subheader h7 {
    color: #fff !important;
    font-weight: bold !important;
    font-size: 20px;
}

.subheader h5 {
    color: #fff !important;
    font-weight: bold !important;
    font-size: 20px;
}

.subheader span {
    color: #fff !important;
}

.subheader-separator {
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.font-tinymce {
    font-family: 'Sarabun', 'SarabunLatin', cursive !important;
}


@media (min-width: 550px) {
    .form-group .text-right {
        text-align: left !important;
    }

    .btn-srch-inline {
        margin-top: 29px;
    }

}

@media (max-width: 450px) {
    .fancybox-slide--iframe .fancybox-content {
        width: 100% !important;
        height: 90% !important;
    }

    .form-group .text-right {
        text-align: left !important;
    }

}

@media (min-width: 900px) {
    .form-group .text-right {
        text-align: right !important;
    }

}

@media (max-width: 740px) {
    .form-group label.text-right {
        text-align: left !important;
    }

    .fancybox-slide {
        padding: 0px !important;
    }

    .fancybox-slide--iframe .fancybox-content {
        width: 100% !important;
        height: 90% !important;
    }

    .form-group label.text-right {
        text-align: left !important;
    }

}

.btn-sm,
.btn-group-sm>.btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.925rem;
    line-height: 1.35;
    border-radius: 0.42rem;
}

.btn-xs {
    padding: 0.3rem 0.4rem !important;
    font-size: 0.8rem !important;
    min-width: 70px !important;
    line-height: 1.35 !important;
}

.btn-xs .fa-eye {
    margin-top: 0px !important;
}

.card_custom_high {
    min-height: calc(65vh - 5px)
}


.fancybox-button {
    background-color: #f11a61;
    border-radius: 50%;
    margin-top: 60px;
    margin-right: 35px;
    color: #fff;
}

/* file upload button */
.file_upload::file-selector-button {
    border-radius: 4px;
    padding: 0 10px;
    height: 33px;
    cursor: pointer;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    margin-right: 16px;
    transition: background-color 200ms;
}

/* file upload button hover state */
.file_upload::file-selector-button:hover {
    background-color: #f3f4f6;
}

/* file upload button active state */
.file_upload::file-selector-button:active {
    background-color: #e5e7eb;
}

@media (max-width: 1600px) {

    html,
    body {
        font-size: 13px !important;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

.subheader h5 {
    font-size: 18px !important;
}