@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Nunito/Nunito-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Sarabun";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Sarabun/Sarabun-Regular.ttf") format("truetype");
}

html, body {
    background-color: #fff;
    color: #636b6f;
    font-family: 'Nunito', 'Sarabun' , sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}
.content-wrapper>.content {
    padding-bottom: 0.5rem;
}
.main-footer {
    padding: 0.25rem 1rem;
}

.main-footer.text-sm, .text-sm .main-footer {
    padding: .325rem;
}

.login-page, .register-page {
    background-color: inherit;
    height: 80vh;
}

.login-box,
.register-box {
    width: 400px;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.dropdown-footer, .dropdown-header {
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
}

.swal2-popup {
    padding: 1em!important;
}

.swal2-content {
    font-size: 1em!important;
}

.swal2-actions {
    z-index: 0!important;
}

.swal2-html-container {
    font-size: 1em!important;
}

.swal2-html-container .form-group {
    text-align: left;
}

.dropdown.bootstrap-select.open, .dropdown-menu.open {
    z-index: 1010;
}

.help-block.error-help-block, .required, .error {
    color: #dc3545;
}

.error:not(:empty)::before,
.help-block.error-help-block:not(:empty)::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f071";
    margin-right: 0.5rem;
}

.input-uppercase { 
    text-transform: uppercase;
}
::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}
::placeholder { /* Recent browsers */
    text-transform: none;
}

.table td, .table th {
    padding: 0.5rem;
}

.table-sm td, .table-sm th, 
.table.dataTable th,
.table.dataTable td  {
    padding-top: 0.325rem;
    padding-bottom: 0.325rem;
}

.bootstrap-select>.dropdown-toggle {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background: inherit;
}

.swal2-title {
    font-size: 1.5em!important;
}

.input-daterange {
    width: 100%;
}

.input-daterange input:first-child {
    border-radius: 3px 0 0 3px;
}

.input-daterange input {
    text-align: center;
}

.input-daterange .input-group-addon {
    width: auto;
    min-width: 16px;
    padding: 4px 15px;
    line-height: 1.42857143;
    border-width: 1px 0;
    margin-left: -5px;
    margin-right: -5px;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
}

.img-menu-icon {
    height: 32px;
    width: 32px;
    margin-right: 5px;
}

.ms-container {
    width: 100%;
}

.ms-container .ms-list {
    height: 140px;
}

.ms-container .ms-selectable li.ms-elem-selectable, .ms-container .ms-selection li.ms-elem-selection {
    padding: 5px 10px;
    font-size: inherit;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
  background-color: #ffc107;
}

.form-control.is-limited {
    /*padding-right: 2.25rem;*/
    background-image: url("../img/limit.png");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.input-positive {
    background-color: #F1F8E9!important;
    border-color: #C5E1A5!important;
}

.input-negative {
    background-color: #FFEBEE!important;
    border-color: #FFCDD2!important;
}

