﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'DBHelvethaicaX-55';
    src: url('../fonts/DB_Helvethaica_X.woff') format('truetype');
}

@font-face {
    font-family: 'DBHelvethaicaX-65Med';
    src: url('../fonts/DB_Helvethaica_X_Med.woff') format('truetype');
}

@font-face {
    font-family: 'DBHelvethaicaX-75Bd';
    src: url('../fonts/DB_Helvethaica_X_Bd.woff') format('truetype');
}

@font-face {
    font-family: 'THSarabun';
    src: url('../fonts/THSarabun.ttf');
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    font-family: 'DBHelvethaicaX-55';
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

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

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
* {
    font-family: 'DBHelvethaicaX-55';
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: 'DBHelvethaicaX-55';
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.Main-Menu-Name {
    height: 32px;
    margin: 0 0 20px 13px;
    font-family: DBHelvethaicaX-75Bd;
    font-size: 32px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.23;
    letter-spacing: normal;
    text-align: left;
    color: #3a3c41;
}


.form-group-box {
    margin-bottom: 15px !important;
}

@media (min-width: 576px) {
    .form-group-box {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }
}

.form-group-head {
    margin: 0 0 0 7px;
    padding: 0 5px 0 5px;
    z-index: 2;
}

.form-group-label-text {
    font-family: DBHelvethaicaX-65Med;
    font-size: 16px;
    color: #9b9b9b;
    margin-bottom: 0;
    width: 100%;
    padding: 0 5px 0 5px;
}

@media (max-width: 576px) {
    .form-group-label-text {
        margin-bottom: 15px;
    }
}

.removeline {
    width: 100%;
    height: 8px;
    background-color: white;
    margin-top: -19px;
}

.form-group-detail {
    width: 100%;
    margin-top: -5px;
    font-family: 'DBHelvethaicaX-65Med';
}

.input-detail {
    border-radius: 12px !important;
    border: solid 1px #c7c7c7 !important;
    font-size: 20px !important;
    color: #9b9b9b !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 36px;
}

    .input-detail::placeholder {
        color: #9b9b9b !important;
    }

.dropdown-custom {
    margin-top: 1px;
    position: relative;
    font-family: 'DBHelvethaicaX-65Med';
}

    .dropdown-custom select {
        display: none;
    }

.select-selected {
    background-color: transparent;
}

    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 17px;
        right: 14px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #838383 transparent transparent transparent;
    }

    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #fff transparent;
        top: 7px;
    }

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: white;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #dbdbdb;
    border-radius: 9px;
    padding: 9px 0 9px 0;
    max-height: 300px;
    overflow: auto;
}

    .select-items::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        background-color: #F5F5F5;
    }

    .select-items::-webkit-scrollbar {
        width: 4px;
        background-color: #F5F5F5;
    }

    .select-items::-webkit-scrollbar-thumb {
        background-color: #d40000;
    }

.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(100, 100, 100, 0.1);
    color: #555555 !important;
}

.select-selected {
    color: #9b9b9b;
    padding: 2px 13.7px 2px 15px;
    border: 1px solid transparent;
    border: solid 1px #c7c7c7;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    margin-top: -1px;
}

.select-items div {
    color: #9b9b9b;
    padding: 4px 13.7px 8px 15px;
    border: 0;
    cursor: pointer;
    user-select: none;
    height: 39px;
    margin-top: -1px;
}


/* --Select2--  */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
}

.select2-selection__rendered {
    padding-left: 0 !important;
    height: auto !important;
    margin-top: -3px !important;
    font-size: 20px;
    color: #6b6b6b !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    padding: .46875rem .75rem !important;
    height: calc(2.25rem + 2px) !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 31px !important;
        right: 6px !important;
    }

/* ---Select2---  */

/* ---Time Picker--- */

.glyphicon {
    font-weight: 900;
}

.glyphicon {
    font-family: "Font Awesome 5 Free";
}

.glyphicon {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}


.glyphicon-chevron-up:before {
    content: "\f106";
}

.glyphicon-chevron-down:before {
    content: "\f107";
}

.glyphicon-remove-circle:before {
    content: "\f2f1";
}

.select2-selection {
    border-radius: 12px !important;
    border: solid 1px #c7c7c7 !important;
    font-family: 'DBHelvethaicaX-65Med' !important;
    min-height: 37px !important;
}

    .select2-selection::placeholder {
        color: #9b9b9b !important;
    }

.select2-results__option {
    font-family: 'DBHelvethaicaX-65Med' !important;
    font-size: 20px !important;
}

.select2-search__field {
    font-family: 'DBHelvethaicaX-65Med' !important;

}

    .select2-search__field:focus {
        outline: 0;
        box-shadow: none;
    }



.select2-dropdown {
    border: 1px solid rgba(0,0,0,.15) !important;
}



.select2-results__options::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #fefefe;
}

.select2-results__options::-webkit-scrollbar {
    width: 4px;
    background-color: #fefefe;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background-color: #bfbfbf;
}





.main-search {
    margin: -50px 10px 70px 0;
}

.btn-main-search {
    padding: 4px 25px !important;
    font-family: DBHelvethaicaX-65Med !important;
    font-size: 30px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    border-radius: 21px !important;
    border: none !important;
    float: right !important;
    margin: 0 5px 0 5px !important;
}

.btn-ExportExcel {
    padding: 4px 25px !important;
    font-family: DBHelvethaicaX-65Med !important;
    font-size: 24px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    border-radius: 21px !important;
    border: none !important;
    float: right !important;
    margin: 0 5px 0 5px !important;
    color: #f4f5f7 !important;
    background-color: #007a15 !important;
}

.btn-main-ok {
    color: #f4f5f7 !important;
    background-color: #e8162d !important;
}

.btn-main-cancel {
    color: #3a3c41 !important;
    background-color: #f0f3f6 !important;
}

.form-group-box-dat {
    float: left;
    width: 30px;
    text-align: center;
    height: 53px;
    font-size: 28px;
    font-family: 'DBHelvethaicaX-65Med' !important;
    padding-top: 11px;
}



.has-search .form-control {
    padding-left: 2.375rem;
    width: 280px;
    border-radius: 21px !important;
    background-color: #f0f3f6;
    color: #a9adb7;
    font-size: 16px;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: auto;
    height: 1.1rem;
    line-height: 1.3rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    top: 9px;
    margin-left: 10px;
}

.multiselect-container {
    width: 100% !important;
}

    .multiselect-container > .active {
        background-color: #5897fb;
        color: white;
    }


.multiselect {
    border-radius: 25px !important;
    background-color: white !important;
    border: 1px solid #ced4da !important;
}


.checkbox::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid #D3CFC8;
    border-radius: 0;
    margin-left: -29px;
}

.checkbox > input {
    display: none;
}

li.active > a > label::before {
    background-color: #337ab7;
    border-color: #2e6da4;
}


li.active > a > label::after {
    content: "";
    display: inline-block;
    position: absolute;
    left: 10px;
    width: 7px;
    height: 10px;
    border: 2px solid #fff;
    border-left: none;
    border-top: none;
    transform: translate(7.75px,4.5px) rotate( 45deg );
}

.spinner-border, .spinner-grow {
    -webkit-animation-duration: 1.5s;
    animation-duration: 0.4s;
}

.modal-content {
    border-radius: 2rem !important;
    padding: 0.5rem !important;
    border: 0px !important
}

.div-search-main {
    display: flex !important;
    justify-content: flex-end !important;
}


.multiselect {
    font-size: 20px !important;
    font-weight: normal !important;
    color: #3a3c41 !important;
    text-align: left !important;
}

.checkbox {
    font-size: 20px !important;
    font-weight: normal !important;
    color: rgba(0,0,0,.87) !important;
}

.multiselect-native-select > .btn-group {
    height: 36px !important;
}

    .multiselect-native-select > .btn-group > .multiselect {
        padding-top: 4px !important;
        border-radius: 12px !important;
    }


.input-date {
    width: 48% !important;
    display: inline-block !important;
}

@media (max-width: 1024px) {
    .input-date {
        width: 46% !important;
    }
}

thead {
    background-color: #f6f7f9;
    color: #727983;
}

th {
    font-size: 18px !important;
}
td {
    font-size: 18px !important;
}

.container-content {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow:unset;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));

    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        /*font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;*/
    }

        .loading:not(:required):after {
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            justify-content: center;
           
            /*-webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;*/
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.btn-filter {
    width: 86px;
    height: 36px;
    border-radius: 21px !important;
    background-color: #3a3c41;
    color: white;
}

.btn-cancel {
    width: 88px;
    height: 36px;
    border-radius: 21px !important;
    background-color: #f0f3f6;
    color: #3a3c41;
}

.btn-submit {
    width: 88px;
    height: 36px;
    border-radius: 21px !important;
    background-color: #e8162d;
    color: white;
}

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

.bg-gray {
    background-color: #f4f5f7;
}

.label-head-gray {
    color: #3a3c41;
    font-size: 20px;
}

.contenth100 {
    min-height: calc(100vh - 120px);
}

.contenth90 {
    min-height: calc(100vh - 180px);
}

.floatright {
    float: right;
}

.img-icon {
    width: 30px;
    height: 30px;
}

.spn-icon {
    color: #d93025;
    font-size: 18px;
    padding-left: 10px;
    font-weight: 300;
}

.spn-det {
    color: #616365;
    font-size: 14px;
}

.bg-disable {
    background: white !important;
}

.text-select {
    font-size: 20px !important;
}

.modal-dialog {
    font-family: 'DBHelvethaicaX-55';
}

.Modal-btn-link {
    padding: 4px 25px !important;
    font-family: DBHelvethaicaX-65Med !important;
    font-size: 24px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-align: center !important;
    color: #d93025 !important;
}

    .Modal-btn-link:hover {
        color: #d93025 !important;
        text-decoration: none !important;
    }


.Modal-btn-red {
    padding: 4px 25px !important;
    font-family: DBHelvethaicaX-55 !important;
    font-size: 27px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    color: #f4f5f7 !important;
    border-radius: 21px !important;
    border: none !important;
    background-color: #e8162d !important;
    float: right !important;
}

.Modal-btn-grey {
    padding: 4px 25px !important;
    font-family: DBHelvethaicaX-75Bd !important;
    font-size: 23px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    color: #f4f5f7 !important;
    border-radius: 21px !important;
    border: none !important;
    float: right !important;
    color: #3a3c41 !important;
    background-color: #f0f3f6 !important;
}
.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin-bottom: 1rem;
    list-style: none;
    font-family: 'DBHelvethaicaX-55';
    background-color: white !important;
    font-size: 18px;
}

.breadcrumb-item > a {
    color: #6c757d;
    text-decoration: none;
}

.text-menu-head {
    font-family: 'DBHelvethaicaX-55';
    color: #3a3c41;
    font-size: 26px;
    font-weight:600;

}

::placeholder {
    font-family: 'DBHelvethaicaX-55';
    font-size: 20px;
}

:-ms-input-placeholder {
    font-family: 'DBHelvethaicaX-55';
    font-size: 20px;
}

::-ms-input-placeholder {
    font-family: 'DBHelvethaicaX-55';
    font-size: 20px;
}
