/* font converted using font-converter.net. thank you! */
/* font converted using font-converter.net. thank you! */
@font-face {
    font-family: "cschatthaiui";
    src: url("cschatthaiui.ttf"); /* IE9 Compat Modes */
    src: url("cschatthaiui.eot");
    src: url("cschatthaiui.svg");
    src: url("cschatthaiui.woff");
    src: url("cschatthaiui.woff2");
    font-weight: normal;
    font-style: normal;
}

@media only screen and (max-width: 1500px) {
    #mainMenu nav > ul > li > a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1400px) {
    #mainMenu nav > ul > li > a {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 1290px) {
    #mainMenu nav > ul > li > a {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 1235px) {
    #mainMenu nav > ul > li > a {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 1199px) {
    #mainMenu nav > ul > li > a {
        font-size: 16px !important;
    }
}

body {
    font-family: 'cschatthaiui', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    overflow-y: auto;
}

/* H1 - H6 font */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6, button, strong ,p,a {
    font-family: 'cschatthaiui', sans-serif !important;
}

.main-header .logo {
    font-family: 'cschatthaiui', sans-serif;
}

#mainMenu nav > ul > li > a {
    font-size: 18px;
    font-family: 'cschatthaiui', sans-serif;
!important;
    /*font-weight: bold !important;*/
}


@media only screen and (max-width: 1024px) {
    #footer {
       /* margin-bottom: 40px;*/
    }

    #mainMenu nav > ul > li > a {
        font-size: 16px !important;
    }

    #footer-fixed-navigation {
        display: block !important;
    }

    #scrollTop {
        bottom: 70px !important;
        right: 5px !important;
    }
}

@media only screen and (max-width: 887px) {
    #topbar {
        display: none;
    }
}

#footer-fixed-navigation {
    border-top: 2px #d0d0d0 solid;
    z-index: 99;
    padding: 10px;
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
}

@media only screen and (max-width: 1024px) {
    #mainMenu.menu-lines > .container nav ul li ul li a {
        font-size: 14px !important;
    }
}


