﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Noto+Sans:wght@100..900&display=swap');

html {
    font-size: 12px;
}

body {
    font-family: "Noto Sans", "Noto Sans Thai", sans-serif !important;
    font-size: 1.15rem;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Noto Sans", "Noto Sans Thai", sans-serif !important;
    font-weight: 500;
}

.h2, h2 {
    font-size: 1.8rem;
}

.h3, h3 {
    font-size: 1.5rem;
}

.h4, h4 {
    font-size: 1.3rem;
}

.h5, h5, .h6, h6 {
    font-size: 1.15rem;
}

pre, code, kbd, samp {
    font-family: "Noto Sans", "Noto Sans Thai", sans-serif !important;
}

.theme-primary.fixed .main-header {
    /*background: linear-gradient(223.19deg, #03B4C1 6.74%, #2369B5 101.09%);*/
    /*background-color: rgb(3 180 193 / 50%);*/
    background: #fff;
}

    .theme-primary.fixed .main-header .navbar, .main-header div.logo-box {
        background: unset;
    }

.theme-primary .svg-icon {
    /*filter: unset;*/
}

.theme-primary a:hover .svg-icon, .theme-primary a:active .svg-icon, .theme-primary a:focus .svg-icon {
    /*filter: unset;*/
}

.theme-primary .main-sidebar a:hover .svg-icon, .theme-primary .main-sidebar a:active .svg-icon, .theme-primary .main-sidebar a:focus .svg-icon {
    filter: unset;
}

.theme-primary .main-sidebar .svg-icon {
    /*filter: invert(0.5) sepia(1) saturate(1) hue-rotate( 185deg );*/
    filter: unset;
    padding: 2px;
}

.theme-primary.light-skin .sidebar-menu > li:hover a img.svg-icon, .theme-primary.light-skin .sidebar-menu > li:active a img.svg-icon, .theme-primary.light-skin .sidebar-menu > li.active a img.svg-icon {
    /*filter: invert(0.6) sepia(1) saturate(50) hue-rotate( 120deg );*/
    filter: unset;
}

.btn {
    font-size: 1.15rem;
    font-weight: 500;
}

.btn-outline:hover, .btn-outline:active, .btn-outline.active {
    color: #6AC0F1 !important;
}

.sidebar-menu {
    margin: 0 15px;
}

    .sidebar-menu > li {
        padding-left: 0;
    }

        .sidebar-menu > li > a {
            padding: 10px 10px 10px 0;
        }

        .sidebar-menu > li:hover > a {
            padding-left: 10px !important;
        }

    .sidebar-menu li > a > .pull-right-container {
        right: -20px;
    }

    .sidebar-menu > li > a > img.svg-icon {
        border: unset;
        border-radius: unset;
    }

.treeview-menu > li > a {
    padding: 5px 15px 5px 30px;
}

    .treeview-menu > li > a:hover {
        padding-left: 35px;
    }

.theme-primary.light-skin .sidebar-menu > li:hover a, .theme-primary.light-skin .sidebar-menu > li:active a, .theme-primary.light-skin .sidebar-menu > li.active a {
    color: #2369B5;
}

.theme-primary.light-skin .sidebar-menu > li.active.treeview > a {
    color: #2369B5 !important;
}

.theme-primary.light-skin .sidebar-menu > li.active .treeview-menu li.active:not(.menu-open) {
    color: #fff;
    background: #6AC0F1;
}

    .theme-primary.light-skin .sidebar-menu > li.active .treeview-menu li.active:not(.menu-open) > a {
        color: #fff !important;
    }

table.dataTable {
    border-collapse: collapse !important;
}

.table > tbody > tr > td, .table > tbody > tr > th {
    padding: 0.7rem;
    font-size: 1.1rem;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.bg-gradient-warning, .theme-warning .bg-gradient-warning, .theme-warning .art-bg {
    background: #CCD6DB;
}

.bg-gradient-info, .theme-info .bg-gradient-info, .theme-info .art-bg {
    background: #fff;
    color: #5A5F65 !important;
    border: 1px solid #5A5F65 !important;
}

.bg-gradient-secondary, .theme-secondary .bg-gradient-secondary, .theme-secondary .art-bg {
    background: #7F889A;
}

.bg-gradient-success, .theme-success .bg-gradient-success, .theme-success .art-bg {
    background: #6AC0F1;
}

.bg-gradient-primary, .theme-primary .bg-gradient-primary, .theme-primary .art-bg {
    background: #334E9D;
}

.btn-custom.tab-table {
    background: #fff;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

    .btn-custom.tab-table:hover {
        border: unset;
        border-bottom: 2px solid #2369B5 !important;
        border-radius: 0;
        box-shadow: unset !important;
    }

    .btn-custom.tab-table.active {
        border: unset;
        border-bottom: 2px solid #2369B5 !important;
        border-radius: 0;
    }

.form-control {
    font-weight: 300;
}

.form-group label {
    font-weight: 300;
}

label[id$="-error"] {
    color: #FF2829;
    font-weight: 300;
    font-size: 12px;
    padding-left: 5px;
}

    label[id$="-error"]::before {
        content: '*';
        margin-right: 5px;
    }

.dropzone {
    border: 2px dashed #03B4C1;
    border-radius: 10px;
}

    .dropzone .dz-message {
        color: #999;
    }

.sidebar-menu li > a {
    font-weight: 300;
    font-size: 1.25rem;
}

.treeview-menu > li > a {
    font-size: 1.2rem;
}

.table > thead > tr > td, .table > thead > tr > th {
    font-weight: 500;
}

.theme-primary .paging_simple_numbers .pagination .paginate_button.active a {
    /*background: linear-gradient(223.19deg, #03B4C1 6.74%, #2369B5 101.09%);*/
    /*background-color: rgb(3 180 193 / 50%);*/
    background: #6AC0F1;
}

.theme-primary .paging_simple_numbers .pagination .paginate_button:hover a {
    background-color: rgb(106 192 241 / 50%) !important;
}

.theme-primary .pagination li a:hover {
    background-color: rgb(106 192 241 / 50%) !important;
}

.table-responsive {
    padding-bottom: 0.5rem;
}

    .table-responsive::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .table-responsive::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        /*background: linear-gradient(223.19deg, #03B4C1 6.74%, #2369B5 101.09%);*/
        /*background-color: rgb(3 180 193 / 50%);*/
        background: #003C77;
        border-radius: 5px;
        cursor: pointer;
    }

    .table-responsive div.dataTables_wrapper div.dataTables_info {
        height: 45px;
    }

    .table-responsive div.dataTables_wrapper div.dataTables_paginate {
        right: 1.5rem;
        position: absolute;
    }

div.dataTables_wrapper div.dataTables_length label {
    font-weight: 300;
}

.dropdown-item {
    font-weight: 300;
}

.dropzone .dz-preview:hover .dz-details {
    opacity: 1;
}

.dz-success-mark, .dz-error-mark {
    margin-top: -55px !important;
}

.dropzone .dz-preview:hover .dz-error-message {
    top: 50px !important;
    opacity: 0.6 !important;
}

.theme-primary .bg-primary-custom {
    /*background: linear-gradient(223.19deg, #03B4C1 6.74%, #2369B5 101.09%);*/
    /*background-color: rgb(3 180 193 / 50%);*/
    background: #003C77;
    color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(35 105 181 / 5%);
}

.sorting_asc.sorting_disabled {
    cursor: unset !important;
}

    .sorting_asc.sorting_disabled:before, .sorting_asc.sorting_disabled:after {
        content: "" !important;
    }

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-right: 1rem;
}

.btn-toggle.active {
    background-color: #38D871;
}

.btn-dropdown-custom.btn-outline.btn-default, .btn-dropdown-custom.btn-outline.btn-default:hover, .btn-dropdown-custom.btn-outline.btn-default:active, .btn-dropdown-custom.btn-outline.btn-default.active {
    background: transparent !important;
    border: unset !important;
    box-shadow: unset !important;
}

.custom-title {
    display: block;
}

h3.custom-title, h4.custom-title, h5.custom-title {
    font-weight: 500;
}

label.custom-title, span.custom-title {
    font-size: 1rem;
    font-weight: 300;
}

    label.custom-title.mb {
        margin-bottom: 0.7142857143rem;
    }

    label.custom-title.mt {
        margin-top: 0.7142857143rem;
    }

.color-black {
    color: #172b4c !important;
}

.color-light-gray {
    color: #999 !important;
}

.color-blue {
    color: #2369B5 !important;
}

.color-blue-green {
    color: #03B4C1 !important;
}

.sweet-alert {
    font-family: "Noto Sans", "Noto Sans Thai", sans-serif !important;
    font-size: 1.15rem;
}

    .sweet-alert .sa-icon.sa-success {
        border-color: #6AC0F1;
    }

        .sweet-alert .sa-icon.sa-success .sa-line {
            background-color: #6AC0F1;
        }

        .sweet-alert .sa-icon.sa-success .sa-placeholder {
            border: 4px solid rgba(106, 192, 241, 0.2);
        }

    .sweet-alert button {
        border-radius: 5px;
        padding: 8px 16px;
        font-size: 1.15rem;
    }

    .sweet-alert p {
        font-size: 1.5rem;
    }

.form-label {
    margin-bottom: 0;
}

.box-header .box-title {
    font-weight: 500;
}

.select2-dropdown {
    z-index: 1060;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}