@font-face {
    font-family: 'DBHelvethaicaX';
    src: url('../../fonts/DBHelvethaicaX-55Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DBHelvethaicaX';
    src: url('../../fonts/DBHelvethaicaX Med.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Kanit';
    src: url('../../fonts/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('../../fonts/Kanit-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'K2D';
    src: url('../../fonts/K2D-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'K2D';
    src: url('../../fonts/K2D-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'K2D';
    src: url('../../fonts/K2D-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'K2D';
    src: url('../../fonts/K2D-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/* -------------------------------------- globle style -------------------------------------- */
html {
    font-size: 14px;
}
body {
    font-family: 'K2D';
}

body .m0 {
    margin: 0px;
}

body .m5 {
    margin: 5px;
}

body .m10 {
    margin: 10px;
}

body .m15 {
    margin: 15px;
}

body .m20 {
    margin: 20px;
}

body .m25 {
    margin: 25px;
}

body .m30 {
    margin: 30px;
}

body .ml0 {
    margin-left: 0px;
}

body .ml5 {
    margin-left: 5px;
}

body .ml10 {
    margin-left: 10px;
}

body .ml15 {
    margin-left: 15px;
}

body .ml20 {
    margin-left: 20px;
}

body .ml25 {
    margin-left: 25px;
}

body .ml30 {
    margin-left: 30px;
}

body .ml45 {
    margin-left: 45px;
}

body .mr0 {
    margin-right: 0px;
}

body .mr5 {
    margin-right: 5px;
}

body .mr10 {
    margin-right: 10px;
}

body .mr15 {
    margin-right: 15px;
}

body .mr20 {
    margin-right: 20px;
}

body .mr25 {
    margin-right: 25px;
}

body .mr30 {
    margin-right: 30px;
}

body .mr45 {
    margin-right: 45px;
}

body .mt0 {
    margin-top: 0px;
}

body .mt5 {
    margin-top: 5px;
}

body .mt10 {
    margin-top: 10px;
}

body .mt15 {
    margin-top: 15px;
}

body .mt20 {
    margin-top: 20px;
}

body .mt25 {
    margin-top: 25px;
}

body .mt30 {
    margin-top: 30px;
}

body .mb0 {
    margin-bottom: 0px;
}

body .mb5 {
    margin-bottom: 5px;
}

body .mb10 {
    margin-bottom: 10px;
}

body .mb15 {
    margin-bottom: 15px;
}

body .mb20 {
    margin-bottom: 20px;
}

body .mb25 {
    margin-bottom: 25px;
}

body .mb30 {
    margin-bottom: 30px;
}

body .p0 {
    padding: 0px;
}

body .p5 {
    padding: 5px;
}

body .p10 {
    padding: 10px;
}

body .p15 {
    padding: 15px;
}

body .p20 {
    padding: 20px;
}

body .p25 {
    padding: 25px;
}

body .p30 {
    padding: 30px;
}

body .pl0 {
    padding-left: 0px;
}

body .pl5 {
    padding-left: 5px;
}

body .pl10 {
    padding-left: 10px;
}

body .pl15 {
    padding-left: 15px;
}

body .pl20 {
    padding-left: 20px;
}

body .pl25 {
    padding-left: 25px;
}

body .pl30 {
    padding-left: 30px;
}

body .pl35 {
    padding-left: 35px;
}

body .pl40 {
    padding-left: 40px;
}

body .pl45 {
    padding-left: 45px;
}

body .pl50 {
    padding-left: 50px;
}

body .pl85 {
    padding-left: 85px;
}

.pl64 {
    padding-left: 64px;
}

body .pl110 {
    padding-left: 110px;
}

body .pl120 {
    padding-left: 120px;
}

body .pr0 {
    padding-right: 0px;
}

body .pr5 {
    padding-right: 5px;
}

body .pr10 {
    padding-right: 10px;
}

body .pr15 {
    padding-right: 15px;
}

body .pr20 {
    padding-right: 20px;
}

body .pr25 {
    padding-right: 25px;
}

body .pr30 {
    padding-right: 30px;
}

body .pt0 {
    padding-top: 0px;
}

body .pt5 {
    padding-top: 5px;
}

body .pt10 {
    padding-top: 10px;
}

body .pt15 {
    padding-top: 15px;
}

body .pt20 {
    padding-top: 20px;
}

body .pt25 {
    padding-top: 25px;
}

body .pt30 {
    padding-top: 30px;
}

body .pt45 {
    padding-top: 45px;
}

body .pb0 {
    padding-bottom: 0px;
}

body .pb5 {
    padding-bottom: 5px;
}

body .pb10 {
    padding-bottom: 10px;
}

body .pb15 {
    padding-bottom: 15px;
}

body .pb20 {
    padding-bottom: 20px;
}

body .pb25 {
    padding-bottom: 25px;
}

body .pb30 {
    padding-bottom: 30px;
}

body .pb45 {
    padding-bottom: 45px;
}

body .text-bold {
    font-weight: bold !important;
}

body .text-left {
    text-align: left !important;
}

body .text-right {
    text-align: right !important;
}

body .container { max-width: 1350px;}

main {
    min-height: calc(100vh - 309px);
    /* min-height: 80vh; */
    height: auto !important;
    height: 100%;
    margin: 0 auto 0px;
    background-image: url('../../images/login-bg-backoffice.png');
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer {
    /* position: fixed; */
    /* height: 200px; */
    bottom: 0;
    width: 100%;
}

.mt-120 {
    margin-top: 120px;
}

.img-card-120 {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 60px;
}

.border-radius14 {
    border-radius: 14px;
}

.cardshow:hover {
    cursor: pointer;
    background-color: #0051B7;
    color: white;
}

.swal-wide {
    width: 850px !important;
}



.error.help-block {
    color: #ff0000;
}

.control-label.labelRequest::after {
    content: '*';
    margin-left: 5px;
    color: #ff0000;
}

.border-bottom-gray {
    border-bottom: 1px solid #ccc;
}

.inline-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0051B7;
    color: white;
    margin-bottom: 6px;
}

.mr-10 {
    margin-left: 1rem;
}

.mr-20 {
    margin-left: 2.0rem;
}

.mr-25 {
    margin-left: 2.5rem;
}

.mr-35 {
    margin-left: 3.5rem;
}

.bold {
    font-weight: bold;
}

.bolder-radius125 {
    border-radius: 1.25rem
}

.k2d-12 {
    font-family: 'K2D';
    font-size: 12px;
}

.k2d-14 {
    font-family: 'K2D';
    font-size: 14px;
}

.k2d-16 {
    font-family: 'K2D';
    font-size: 16px;
}

.k2d-18 {
    font-family: 'K2D';
    font-size: 18px;
}

.k2d-20 {
    font-family: 'K2D';
    font-size: 20px;
}

.k2d-22 {
    font-family: 'K2D';
    font-size: 22px;
}

.k2d-26 {
    font-family: 'K2D';
    font-size: 26px;
}

.k2d-30 {
    font-family: 'K2D';
    font-size: 30px;
}

.k2d-35 {
    font-family: 'K2D';
    font-size: 35px;
}

.Kanit-15 {
    font-family: 'Kanit';
    font-size: 15px;
}
.Kanit-16 {
    font-family: 'Kanit';
    font-size: 16px;
}

.DBHel-19 {
    font-family: 'DBHelvethaicaX';
    font-size: 19px;
}

.DBHel-21 {
    font-family: 'DBHelvethaicaX';
    font-size: 21px;
}

.DBHel-22 {
    font-family: 'DBHelvethaicaX';
    font-size: 22px;
}

.DBHel-23 {
    font-family: 'DBHelvethaicaX';
    font-size: 23px;
}

.DBHel-25 {
    font-family: 'DBHelvethaicaX';
    font-size: 25px;
}

.DBHel-28 {
    font-family: 'DBHelvethaicaX';
    font-size: 28px;
}

.DBHel-30 {
    font-family: 'DBHelvethaicaX';
    font-size: 30px;
}


.DBHel-33 {
    font-family: 'DBHelvethaicaX';
    font-size: 33px;
}


.DBHel-35 {
    font-family: 'DBHelvethaicaX';
    font-size: 35px;
}

.DBHel-40 {
    font-family: 'DBHelvethaicaX';
    font-size: 40px;
}

.DBHel-45 {
    font-family: 'DBHelvethaicaX';
    font-size: 45px;
}

.DBHel-50 {
    font-family: 'DBHelvethaicaX';
    font-size: 50px;
}

.DBHel-55 {
    font-family: 'DBHelvethaicaX';
    font-size: 55px;
}

.cloud-width {
    font-size: 40px;
}

/*
.jFiler-file-image {
    width: 180px;
    height: 120px;
    object-fit: contain;
    border-bottom: solid 1px #ccc;
    padding-bottom: 5px;
}

.jFiler-items-box {
    display: inline-block;
    margin: 5px 15px 5px 0px;
    background: #fff;
    border: solid 1px #ccc;
    position: relative;
    padding: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.jFiler-items-box:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .4);
}

.jFiler-items-box {
    display: inline-block;
    margin: 5px 15px 5px 0px;
    background: #fff;
    border: solid 1px #ccc;
    position: relative;
    padding: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.jFiler-item-title {
    display: block;
    padding: 5px 0 0;
    width: calc(100% - 45px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 180px;
}

.jFiler-lnk-preview {
    display: inline-block;
    position: absolute;
    right: 25px;
    bottom: 0;
    padding: 5px;
    cursor: pointer;
}

.jFiler-lnk-preview:hover {
    color: #23527c;
}

.jFiler-items-grid .jFiler-item {
    float: unset;
}

.icon-jfi-trash.jFiler-item-trash-action {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px;
}

.jFiler-input-dragDrop {
    height: unset;
    padding: 15px 15px 15px 15px;
}

.jFiler-input-text a,
.jFiler-input-icon em {
    color: #8267aa;
}

.custom-row-item {
    margin-top: 10px;
}

.custom-row-item .jFiler-items-list {
    background: #f4f4f4;
}

#lightbox {
    display: none;
}
*/

/** form-control : overwrite */
.form-control[readonly][data-provide="datepicker"] {
    background-color: unset;
}



/* -------------------------------------- jFiler display style -------------------------------------- */
.jFiler.jFiler-display {}
.jFiler.jFiler-display .jFiler-items-default .jFiler-item {margin-bottom: 5px; padding: 10px;}
.jFiler.jFiler-display .jFiler-item-inner {display: flex; gap: 15px;}

.jFiler.jFiler-display .jFiler-items-default .jFiler-item .jFiler-item-icon {margin-right: 0px; width: 80px;}
.jFiler.jFiler-display .jFiler-items-default .jFiler-item .jFiler-item-info {flex: 1;}

/* -------------------------------------- jFiler style -------------------------------------- */

.jFiler-theme-default .jFiler-input-caption {
    padding-top: 4px !important;
}

.jFiler-theme-default .jFiler-input-caption span,
.jFiler-theme-default .jFiler-input-button {
    font-size: 13px;
}

.jFiler-items-default .jFiler-item .jFiler-item-others span.jFiler-item-status {
    display: block;
}

.jFiler-items-default .jFiler-item-assets {
    top: 25px !important;
    right: 10px !important;
    margin-top: 0 !important;
}

.jFiler-items-default .jFiler-item {
    padding: 15px;
}

.jFiler-items-default .jFiler-item .jFiler-item-icon .img-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: top;
}

.jFiler-items-default .jFiler-item .jFiler-item-title {
    max-width: calc(100% - 15px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-jfi-trash:before {
    font-size: 16px;
}

.circle-header {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f05a";
    color: #fff;
    background: #0046AC;
    padding: 10px;
    border-radius: 50%;
    margin-right: 7px;
}

.upload-block-list {
    border: 1px solid #eee;
    padding: 15px;
    padding-top: 5px;
    /* margin-top: 15px; */
    border-radius: 5px;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.card-height {
    height: 130px;
    /* width: 339px; */
}

.bg-black {
    background-color: #000;
    color: #fff !important;
}

/* ------------------------------------ datatable style ------------------------------------- */

.dataTable {
    margin-top: 0px !important;
}

.dataTable tbody tr td,
.dataTable tbody tr td a {
    font-size: 14px;
    vertical-align: middle;
}

.dataTables_info {
    padding-top: 7px;
}

.dataTables_paginate .pagination {
    display: flex;
    justify-content: center !important;
}

.dataTables_length {
    display: flex;
    justify-content: flex-end;
}

.dataTables_length label {
    margin-bottom: 0px;
    margin-top: 7px;
    display: flex;
    gap: 10px;
}

.dataTables_length select {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    top: -3px;
}

.dataTable th { border: 1px solid #dee2e6 !important; background: linear-gradient(#E6E6E6, #FFFFFF) !important; }
.dataTable td { border: 1px solid #dee2e6 !important; }
.table.dataTable tbody tr td, .dataTable tbody tr td a { padding: 0.5rem; }
.dataTable tbody tr td p { margin-bottom: 0px; }
.dataTable tbody tr:nth-child(even) { background: #fafafa; }
.dataTable.tblData caption,
.tblData caption,
.dataTable caption {caption-side: top;background-color: #132E50; color: #fff; font-weight: bold; padding: 10px 15px;}
.dataTable.tblData a {color: #415AA7;}
.dataTable + .bottom .page-item.active .page-link,
.dataTable.tblData + .bottom .page-item.active .page-link,
.tblData + .bottom .page-item.active .page-link {background-color: #415AA7; border-color: #415AA7; color: #fff;}
.dataTable + .bottom .page-item .page-link,
.dataTable.tblData + .bottom .page-item .page-link,
.tblData + .bottom .page-item .page-link {color: #415AA7;}

.dataTable tbody tr:hover,
.dataTable tbody tr:nth-child(even):hover {background-color: #89c4e7;}


.v-card.v-card--density-default { background: #fff; }
.v-card .v-card-title { border-bottom: solid 1px #eee; padding: 15px; }
.v-card-actions { border-top: solid 1px #eee; padding: 15px !important; }



/* font-size : body-fontsize-small */
body.body-fontsize-small {
    font-size: 0.8rem;
}
body.body-fontsize-small .main-menu .nav-item .nav-link {font-size: 20px;}
body.body-fontsize-small .header-title .title-top {font-size: 65px;}
body.body-fontsize-small .header-title2 {font-size: 30px;}

body.body-fontsize-small .moc-stat-search-panel .title {font-size: 24px;}

body.body-fontsize-small .tabmocmenu .tab h2 {font-size: 36px;}
body.body-fontsize-small .tabmocmenu .tab button {font-size: 20px;}
body.body-fontsize-small .h3 {font-size: 1.5rem;}
body.body-fontsize-small .tabmocmenu .tabcontent a {font-size: 20px;}


/* font-size : body-fontsize-large */
body.body-fontsize-large {
    font-size: 1.2rem;
}
body.body-fontsize-large .main-menu .nav-item .nav-link {font-size: 24px;}
body.body-fontsize-large .header-title .title-top {font-size: 75px;}
body.body-fontsize-large .header-title2 {font-size: 40px;}

body.body-fontsize-large .moc-stat-search-panel .title {font-size: 32px;}

body.body-fontsize-large .tabmocmenu .tab h2 {font-size: 44px;}
body.body-fontsize-large .tabmocmenu .tab button {font-size: 26px;}
body.body-fontsize-large .h3 {font-size: 2rem;}
body.body-fontsize-large .tabmocmenu .tabcontent a {font-size: 24px;}


/* goto report */
.moc-stat-result-panel + div {
    z-index: 10000;
}

.filte-bg.search-custom + .go-to-report {
    z-index: 10000;
}

@media screen and (max-width: 767px) {
    .footer .footer-address {text-align: center;}
    .footer .footer-address img {position: relative !important;}
    .footer .footer-address p {padding-left: 0px !important; text-align: center;}

    .footer .footer-link-compatible {text-align: center;}
    .footer .footer-copyright {text-align: center;}
    .footer .footer-visitor {text-align: center;}


    /* goto report */
    .moc-stat-result-panel + div {
        display: none;
    }
    .filte-bg.search-custom + .go-to-report {
        display: none;
    }

    /* */
    .header-title .title-top {
        font-size: 50px !important;
    }
    .header-title .line-title {
        display: none;
    }

}
