@import url('https://fonts.googleapis.com/css?family=Sarabun:100,300,400,500,600,700,900');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons');

body {
    font-family: 'Sarabun', 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #00274d;
    text-align: center;
    width: auto;
    min-height: 100vh;
    overflow-x: auto;
    overflow-y: scroll;
    margin: 0;
}

main {
    visibility: hidden;
    opacity: 0;
    transition: visibility .33s, opacity .33s linear;
    -webkit-transition: visibility .33s, opacity .33s linear;
}

.height {
    min-height: 100vh;
}

.center {
    text-align: center;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
}

.logo-image {
    margin: 6px;
    width: 120px;
    height: 120px;
    /* background: url('../images/logo.jpg'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
    background-position-y: 50%;
    border: 0px solid white;
    border-radius: 50%;
}

.pointer {
    cursor: pointer;
}

.m-0 {
    margin: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.ml-1 {
    margin-left: 10px !important;
}

.ml-2 {
    margin-left: 20px;
}

.mr-1 {
    margin-right: 10px;
}

.mr-2 {
    margin-right: 20px;
}

.py-2 {
    padding: 0 20px !important;
}

.py-3 {
    padding: 0 30px !important;
}

.pr-4 {
    padding-right: 40px;
}

.pl-2 {
    padding-left: 20px;
}

.p-0 {
    padding: 0 !important;
}

.pb-2 {
    padding-bottom: 20px;
}

.modal-header>h5 {
    font-weight: 500;
    margin: 0 !important;
    line-height: 3em !important;
}

.modal-header,
.modal a.agree {
    color: whitesmoke;
    background-color: #968352;
}

.success .modal-header h5,
.modal.success .modal-footer a.agree {
    color: whitesmoke;
    background-color: forestgreen;
}

.modal.success .modal-footer a.disagree {
    background-color: #eeeeee;
}

.warning .modal-header,
.modal.warning a.agree {
    background-color: crimson;
}

.modal-content {
    margin-top: 20px;
    font-weight: 400;
    font-size: 14pt;
}

.btn-flat {
    min-width: 75px;
}

.text-bold {
    font-weight: 700;
}

.fw-500 {
    font-weight: 500;
}

.fs-p-moblie {
    font-size: 1.1rem;
}


.m-start-0 {
    margin-block-start: 0;
}

.m-end-0 {
    margin-block-end: 0;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px rgb(200, 200, 200);
    border-radius: 3px;
    background-color: #00274d;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    box-shadow: inset 0 0 6px #cfbb87;
    background-color: #99844d;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #7e6b3e;
}

@media only screen and (max-width: 600px) {
    .pc-only {
        display: none;
    }
}

@media only screen and (min-width: 601px) {
    .mobile-only {
        display: none;
    }
}