﻿@font-face {
    font-family: THSarabunNew;
    src: url("../fonts/THSarabunNew.ttf?45905ce12b4739c794a5ebdaee506202") format("truetype")
}

@font-face {
    font-family: THSarabunNew;
    font-weight: 900;
    src: url("../fonts/THSarabunNew\ Bold.ttf?bdd8eb542ab9aa84e5809edb230f07cc") format("truetype")
}

@font-face {
    font-family: THSarabunNew;
    font-style: italic;
    src: url("../fonts/THSarabunNew\ Italic.ttf?05a052030bb61432929f643579b82ce1") format("truetype")
}

@font-face {
    font-family: THSarabunNew;
    font-style: italic;
    font-weight: 900;
    src: url("../fonts/THSarabunNew\ BoldItalic.ttf?0b381613886ea1af245b0a8120019ecb") format("truetype")
}

.spRequire, .required {
    color: red !important;
}

.spBlue {
    color: blue !important;
}

.spGreen {
    color: green !important;
}

.fnWhite {
    color: white !important;
}

.fnWeight600 {
    font-weight: 600 !important;
}

.fnWeight900 {
    font-weight: 900 !important;
}

.noDisplay {
    display: none;
}

.mouseClick {
    cursor: pointer;
}

.btnWidth {
    padding-left: 15px;
    padding-right: 20px;
}

.modal-lg1000 {
    max-width: 1000px;
}

.modal-lg1200 {
    max-width: 1200px;
}

.form-group label, form label {
    text-transform: none !important;
}

.text-right {
 text-align:right;
}

.text-left {
    text-align: left;
}

/*Template*/
.gradient-wps {
    background-image: linear-gradient(45deg, #562DB7, #60AFF0);
    background-repeat: repeat-x;
}

.gradient-green-red-wps {
    background-image: linear-gradient(45deg, #32b714, #cc3415);
    background-repeat: repeat-x;
}


.modal {
    overflow: auto !important;
}

.control-label {
    font-weight: 900 !important;
    text-align:right;
}

/* Custom Template */
body {
    font-family: THSarabunNew !important;
    font-size: 1.3rem !important;
    color:black !important;
}

.auth-body-bg {
    background-image: url(../img/login_bg_01.png) !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-overlay {
    background-color: #114481 !important;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0px;
    top: 0px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit !important;
    color: inherit !important;
}

.form-control {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: 600 !important;
}

.btn {
    font-size: inherit !important;
    font-weight: 600 !important;
}

body[data-topbar=dark] #page-topbar {
    background-color: #0074BD;
}

#sidebar-menu ul li a {
    padding: .1rem 1rem;
    font-size: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
    font-weight: 600;
}

.dropdown-menu {
    padding: .1rem 0;
    font-size: inherit !important;
    color: black;
}

#sidebar-menu ul li a i {
    font-size: 1.1rem;
    color: black;
    font-weight: 400;
}

#sidebar-menu ul li a {
    padding: .4rem 1rem;
    line-height: 1;
    display: flex;
}

#sidebar-menu ul li:hover {
    color: #0f9cf3 !important;
    border: 1px solid #e8ecf4;
    background-color: #eff2f7;
}

#sidebar-menu ul li.menu-title i {
    font-size: 1.1rem;
    color: black;
    font-weight: 400;
    vertical-align: middle;
}

.mm-active,
.mm-active .active {
    color: black !important;
}


.menu-title {
    font-size: 1.3rem;
    color: black;
    font-weight: 600;
    font-family: inherit !important;
    opacity: 1;
    vertical-align: middle;
}

.menu-dot {
    margin-right: 5px;
    font-size: 70px;
    line-height: 16px !important;
}

.page-title-box h4 {
    font-size: inherit;
    font-weight: 600;
}

.form-control {
    padding: .1rem .75rem;
    line-height: 1.5;
}

.page-title-box {
    padding-bottom: inherit !important;
    color: #0F9CF3 !important;
}

.card-title {
    margin: 15px 0 7px 15px;
    font-weight: 700;
    font-family: inherit !important;
    font-size: inherit;
}

.line {
    position: absolute;
    width: 2px;
    height: 21px;
    background-color: #1194f6;
    top: 0;
    margin: auto;
    margin-top:15px;
}

.toast {
    font-size: 2rem;
    font-weight: 700;
}

.swal2-container .swal2-title {
    font-size: 2em !important;
}

.swal2-content {
    font-size: 2em !important;
}

.swal2-styled.swal2-confirm {
    font-size: 1.5em !important;
}

.swal2-styled.swal2-cancel {
    font-size: 1.5em !important;
}

.PositionFix {
    position: fixed;
    float:right;
    width: 100%;
    top: 150px;
    
}

.PositionFixScorll {
    position: fixed;
    float: right;
    top: 150px;
    width: 300px;
    height: 450px;
    overflow-y: scroll;
}