@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,700|Roboto:300,400,700&display=swap');
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Kanit', sans-serif;
    /* font-family: 'Roboto', sans-serif; */
    /* background-color: whitesmoke; */
    background-color: #fff;
}

a {
    color: #00B7FF;
}

content {
    flex: 1;
}

h4 {
    font-size: 2.5rem;
}

.box {
    margin: 30px 0;
}

.main-section {
    padding: 1.5rem;
}

.index-header {
    display: inline-block;
}

.index-header>.head-text {
    display: inline-block;
    /* margin-bottom: 5px; */
    margin-top: 5px;
}

.mini-underline {
    border-radius: 5px;
    width: 30%;
}

.underline-s-4 {
    border: 4px solid red;
}

.underline-s-3 {
    border: 3px solid red;
}

.underline-s-2 {
    border: 2px solid red;
}

.section-1 {
    width: 100%;
    /* min-height: 250px; */
}

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


/* option */

.margin-h-5 {
    margin: 0 5px;
}

.margin-b-20 {
    margin-bottom: 20px;
}

.margin-b-30 {
    margin-bottom: 30px;
}

.margin-t-0 {
    margin-top: 0px;
}

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


/* end option */


/* Map */

#map {
    height: 400px;
    width: 100%;
}


/* End Map */

nav,
.page-footer {
    background-color: #917E7C;
    /* width: 100%; */
}

input {
    font-family: 'kanit', sans-serif;
    margin-top: 10px !important;
}

textarea {
    margin-top: 10px !important;
    font-family: 'kanit', sans-serif;
}

.input-field>label,
label {
    font-size: 20px;
    color: #85706E;
}

.input-field>label.active {
    font-size: 25px;
    color: #85706E !important;
}

input:not([type]):focus:not([readonly]),
input[type=text]:not(.browser-default):focus:not([readonly]),
input[type=password]:not(.browser-default):focus:not([readonly]),
input[type=email]:not(.browser-default):focus:not([readonly]),
input[type=url]:not(.browser-default):focus:not([readonly]),
input[type=time]:not(.browser-default):focus:not([readonly]),
input[type=date]:not(.browser-default):focus:not([readonly]),
input[type=datetime]:not(.browser-default):focus:not([readonly]),
input[type=datetime-local]:not(.browser-default):focus:not([readonly]),
input[type=tel]:not(.browser-default):focus:not([readonly]),
input[type=number]:not(.browser-default):focus:not([readonly]),
input[type=search]:not(.browser-default):focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 2px solid #85706e;
    box-shadow: 0 1px 0 0 #85706E;
}

.select-wrapper input.select-dropdown:focus {
    border-bottom: 2px solid #85706E;
    box-shadow: 0 1px 0 0 #85706E;
}

.dropdown-content li>a,
.dropdown-content li>span {
    color: #85706E;
}

.dropdown-content li>a,
.dropdown-content li>span {
    font-size: 18px;
}

.select-wrapper {
    margin-top: 15px;
}

.btn-submitform {
    background-color: #85706E;
    width: 100%;
    font-size: 20px;
    font-family: 'kanit', sans-serif;
}

.btn-submitform:hover {
    background-color: #85706E;
    width: 100%;
    font-family: 'kanit', sans-serif;
}

.btn-brown {
    background-color: #85706E;
}

.btn-brown:hover {
    background-color: whitesmoke;
    color: #85706E;
    font-weight: 600;
}

.logo {
    width: 17%;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

nav,
.brand-logo {
    /* padding: 8px; */
    align-items: center;
}

.mb-50 {
    margin-bottom: 50px
}

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

.text-red {
    color: #BF202B;
}

.bg-red {
    background-color: #BF202B;
}

.bg-red:focus,
.bg-red:hover {
    background-color: #BF202B;
}

.text-brown {
    color: #85706E;
}

.bg-brown {
    background-color: #85706E;
}

.text-white {
    color: whitesmoke;
}

.bg-green {
    background-color: #566964;
}

.btn-green {
    background-color: #566964;
}

.btn-green:focus,
.btn-green:hover {
    background-color: #333F3C;
}

.bg-brownblack {
    background-color: #8d4b34;
}

.bg-redwhite {
    background-color: #C53640;
}

.bg-red {
    background-color: #BF202B;
}

.bg-redgrey {
    background-color: #AB1C26;
}

.bg-redbrown {
    background-color: #981922;
}

.bg-redblack {
    background-color: #85161e;
}

.padding {
    padding: 0 .75rem;
}

.logo-tecmove {
    width: 15%;
}

.confirm-tel {
    width: 30%;
}

.map-bg {
    position: absolute;
    z-index: -5;
    /* left: 0; */
    /* right: 0; */
    left: auto;
    right: auto;
    opacity: 0.3;
    left: 20%;
    width: 31%;
}

.space {
    letter-spacing: 1px;
}

.flag {
    width: 4%;
}

.mt-15 {
    margin-top: 15px;
}

.line-logo {
    width: 18%;
}

.report-page {
    width: 50%;
    margin: auto;
}

.page-footer {
    padding: 0;
}

footer>.footer-social>a>.facebook {
    width: 3%;
}

footer>.footer-social {
    margin-right: 5%;
    padding: 10px;
}

.confirm {
    word-break: break-word;
}

.title-confirm {
    margin-bottom: 30px;
}

.small-text {
    font-size: 1rem;
}

.search-card {
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;
}

.search-item {
    display: flex;
    justify-content: space-between;
}

ul.inner-search-box {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.inner-search-box>li {
    display: inline-block;
}

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

content>.main-section>.stat>div>div>div>.stat-box>.statbox {
    padding: 15px;
    margin: 10px 15px;
    color: whitesmoke;
}

content>.main-section>.stat>div>div>div>.stat-box>.statbox>div:nth-child(1) {
    font-size: 15px;
    font-weight: 400;
}

content>.main-section>.stat>div>div>div>.stat-box>.statbox>div:nth-child(2) {
    font-size: 50px;
    font-weight: 600;
}

content>.main-section>.stat>div>div>div>.stat-box>.statbox>div:nth-child(3) {
    font-weight: 400;
}

content>.main-section>.stat>div>div>div>.stat-box>.statbox>div:nth-child(3)>span>i {
    vertical-align: bottom;
}

content>.main-section>.stat>div>.upload-image {
    width: 100%;
}

content>.main-section>.stat>div>.upload-image>img {
    width: 70%;
    display: block;
    margin: auto;
}

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

ul.tabs>li.report>a {
    background-color: #BF202B;
}

.tabs>.report>a:focus,
.tabs>.report>a:hover,
.tabs>.report>a.active,
.tabs>.report>a:focus.active {
    background-color: whitesmoke;
    text-decoration: none;
    color: #BF202B !important;
}

.tabs {
    background-color: #917E7C;
    color: whitesmoke;
}

.tabs>.tab>a {
    background-color: #85706E;
    color: whitesmoke;
    font-size: 15px;
}

.tabs>.tab>a:focus,
.tabs>.tab>a:focus.active {
    background-color: whitesmoke;
    color: #85706E;
    text-decoration: none;
}

.tabs>.tab>a:hover,
.tabs>.tab>a.active {
    color: #85706E;
    background-color: whitesmoke;
}

.tab-red>.tab>a:hover,
.tabs>.line-height {
    line-height: 30px;
}

.title {
    margin: auto;
}

content>.main-section>.stat>div>.box-thailand {
    border-right: 5px solid #eee;
}

content>.main-section>.report>div>.section-1>.main-center>h6 {
    line-height: 22px;
    margin-bottom: 30px;
}

content>.main-section>.report>div>.section-1>.main-center>h6>span {
    font-weight: 600;
}

.card>.card-action>a {
    color: #85706E !important;
}
.announce-box{
    margin-top: 30px;
}

.announcetitle {
    /* font-weight: 600; */
    font-size: 17px;
    word-wrap: break-word;
    margin-bottom: 10px !important;
    overflow:hidden;
    height: 45px;
    text-overflow: ellipsis;
    white-space: normal;
}

.announcetime {
    font-size: 13px;
    color: #ccc;
}

.btnpluse {
    width: 20px;
    height: 20px;
}

.logo-tecmove{
    width: 15%;
    vertical-align: middle;
}
.page-footer > .footer-copyright{
    display: block;

}
.page-footer > .footer-copyright > .copyright:nth-child(1) {
    margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
    header,
    main,
    footer {
        padding-left: 0;
    }
    .logo {
        width: 100%;
        margin: 0;
        vertical-align: sub;
    }
    .logo-tecmove{
        width: 30%;
        vertical-align: middle;
    }
    .page-footer > .footer-copyright{
        display: block;
    }
    .page-footer > .footer-copyright > .copyright {
        margin-bottom: 10px;
    }
    .flag {
        width: 12%;
    }
    .map-bg {
        left: 0;
        width: 91%;
    }
    .report-page {
        width: 100%;
    }
    content>.main-section>.stat>div>.box-thailand {
        border: none;
    }
    content>.main-section>div>.stat-box>.stat>div:nth-child(2) {
        font-size: 25px;
    }
    .confirm-tel {
        width: 90%;
    }
    footer>.footer-social>a>.facebook {
        width: 10%;
    }
    content>.main-section>.stat>div>.upload-image>img {
        width: 100%;
    }
    .stat>div>.thailand-stat>.block-st-all>div>.card-default>h1 {
        font-size: 3rem;
    }
    content>.main-section>.stat>div>div>div>.statbox>div:nth-child(1) {
        font-size: 14px;
        font-weight: 400;
    }
    content>.main-section>.stat>div>div>div>.statbox>div:nth-child(2) {
        font-size: 45px;
        font-weight: 600;
    }
    .tabs>.tab>a {
        font-size: 13px;
    }
    a.brand-logo {
        text-align: center;
    }
    .announcetitle {
        /* font-weight: 600; */
        font-size: 15px;
        word-wrap: break-word;
        margin-bottom: 10px !important;
        
    }
    .announcetime {
        font-size: 13px;
        color: #ccc;
    }
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
    header,
    main,
    footer {
        padding-left: 0;
    }
    .logo {
        width: 65%;
    }
    .flag {
        width: 7%;
    }
    .map-bg {
        left: 74px;
        width: 55%;
    }
    .report-page {
        width: 70%;
        margin: auto;
    }
    content>.main-section>div>.stat-box>.stat>div:nth-child(2) {
        font-size: 25px;
    }
    .confirm-tel {
        width: 90%;
    }
    footer>.footer-social>a>.facebook {
        width: 6%;
    }
    a.brand-logo {
        text-align: center;
    }
    .logo-tecmove{
        width: 18%;
        vertical-align: middle;
    }
    .page-footer > .footer-copyright{
        display: block;
    }
    .page-footer > .footer-copyright > .copyright:nth-child(1) {
        margin-bottom: 10px;
    }
}