﻿@font-face {
    font-family: 'thsarabun';
    src: url('../fonts/thsarabunnew-webfont.eot') format('embedded-opentype'), url('../fonts/thsarabunnew-webfont.ttf') format('truetype'), url('../fonts/thsarabunnew-webfont.woff') format('woff'), url('../fonts/thsarabunnew_bold-webfont.eot') format('embedded-opentype'), url('../fonts/thsarabunnew_bold-webfont.ttf') format('truetype'), url('../fonts/thsarabunnew_bold-webfont.woff') format('woff'), url('../fonts/thsarabunnew_bolditalic-webfont.eot') format('embedded-opentype'), url('../fonts/thsarabunnew_bolditalic-webfont.ttf') format('truetype'), url('../fonts/thsarabunnew_bolditalic-webfont.woff') format('woff'), url('../fonts/thsarabunnew_italic-webfont.eot') format('embedded-opentype'), url('../fonts/thsarabunnew_italic-webfont.ttf') format('truetype'), url('../fonts/thsarabunnew_italic-webfont.woff') format('woff');
}

body {
    font-family: thsarabun !important;
    font-weight: 500 !important;
}

.ibox {
    border-radius: .25rem !important;
}

.nrls_neader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0px !important;
    z-index: 1000;
    background: #f8f9fa !important;
    height: 50px;
}
.nrls_pdf {
    position: fixed;
    left: 0;
    right: 0;
    top: 0px !important;
    z-index: 1000;
    background: #f8f9fa !important;
    height: 60px;
}
.header {
    background: #f8f9fa !important;
}

body.fixed-layout .header, body.fixed-navbar .header {
    position: fixed;
    left: 0;
    right: 0;
    top: 40px !important;
    z-index: 1000;
}

body.fixed-layout .content-wrapper, body.fixed-navbar .content-wrapper {
    padding-top: 96px !important;
}

.datepicker {
    z-index: 1005 !important;
}

.widget-stat-icon {
    border-radius: 0 .25rem .25rem 0 !important;
}

.requireField {
    border-color: red;
}

.unrequireField {
    border: 1px solid rgba(0,0,0,.15);
}

.navbar .dropdown-toggle, .navbar .dropdown-menu a {
    cursor: pointer;
}

.navbar .dropdown-item.active, .navbar .dropdown-item:active {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

.navbar .dropdown-item:focus, .navbar .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-menu .dropdown-item, .dropdown-menu > li > a {
    padding: 5px 8px !important;
    color: inherit;
}

@media (min-width: 767px) {
    .navbar .dropdown-toggle:not(.nav-link)::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .5em;
        vertical-align: 0;
        border-bottom: .3em solid transparent;
        border-top: .3em solid transparent;
        border-left: .3em solid;
    }
}

select.form-control {
    padding-top: 1px !important;
    width: 100% !important;
    /*margin-bottom: 10px;*/
    height: calc(1.8125rem + 10px) !important;
}

.form-control {
    padding: .5rem .5rem;
    line-height: 1.8 !important;
}

.alert-minimalist {
    background-color: rgb(241, 242, 240);
    border-color: rgba(149, 149, 149, 0.3);
    border-radius: 3px;
    color: rgb(149, 149, 149);
    padding: 10px;
}

    .alert-minimalist > [data-notify="icon"] {
        height: 50px;
        margin-right: 12px;
    }

    .alert-minimalist > [data-notify="title"] {
        color: rgb(51, 51, 51);
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .alert-minimalist > [data-notify="message"] {
        font-size: 80%;
    }

.card {
    margin-top: 20px !important;
}

.btn-margin-right {
    margin-right: 5px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 32px !important;
    user-select: none;
    -webkit-user-select: none;
}

.btn-purple {
    color: #fff;
    background-color: #cd3ce7;
    border-color: #a033c4;
}

.badge-purple, .label-purple {
    background-color: #a52ecc;
}

.badge-yellow, .label-yellow {
    background-color: #fbdd0c;
}

.message-box {
    margin-right: 50px;
    margin-left: 50px;
    margin-top: -40px;
}

.mr-auto-bg-white {
    background-color: #f8f9fa;
}
