/*
Theme Name: thaihom
Text Domain: th
Domain Path: /languages
Author: Crevis
Author URI: http://www.crevis.ch
Description: A clean responsive Theme
Version: 1.0
License: GNU General Public License
*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
::-webkit-scrollbar {
    display: none;
}
html {
    margin:0;
    padding:0;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
    -webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	text-rendering:optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}
body {
    opacity: 0;
    -webkit-transition:opacity 0.25s ease-in-out;
    -moz-transition:opacity 0.25s ease-in-out;
    -o-transition:opacity 0.25s ease-in-out;
    transition:opacity 0.25s ease-in-out;
    padding:0;
    margin:0;
    font-family: 'Arial', sans-serif;
    font-style: normal;
    font-size:16px;
    line-height:24px;
    font-weight:normal;
    color:#630;
    background-image:url('assets/img/bg1300deck50.gif');
    background-position: left top;
    background-repeat: repeat-y;
    background-attachment: scroll;
}
body.afterload  {
    opacity: 1;
}
.container {
    margin:0 auto;
    max-width:1180px;
    padding-right:30px;
    padding-left:30px;
    position:relative;
}
.hidden {
    opacity:0;
}
.visible {
    opacity:1;
}
a {
	border:0;
	outline:0;
    color:#630;
    text-decoration:underline;
	transition:color 0.25s ease-in-out;
    -webkit-transition:color 0.25s ease-in-out;
}
a:hover {
	color:inherit;
    text-decoration:none;
}
a[href$=".pdf"]:before {
    content: url('assets/img/pdf-icon-16x16.png');
    vertical-align: middle;
    padding-right:5px;
    white-space: nowrap;
}
img {
	max-width: 100%;
	height: auto;
    border:0;
    outline:0;
}
p {
    margin-top: 0;
    margin-bottom: 26px;
}
ul, ol {
    margin: 0 0 26px 18px;
	padding: 0;
	text-align:left;
}
ul {
	list-style: disc;
}
ol {
    list-style: decimal;
}
ol li {
    margin-bottom:26px;
}
b, strong, .strong {
    font-weight: 500;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
.page-id-3622 .aside-img,
.page-id-3660 .aside-img {
    display:none;
}
.lang-select {
    position:absolute;
    left:30px;
    top:20px;
    font-size: 13px;
    text-transform: uppercase;
}
.lang-select a {
    text-decoration: none;
}
.lang-select a:hover {
    color: #db1400;
}
.flag {
    padding-right:5px;
}
img.alignright {
    float:right; 
    margin:0 0 1em 1em;
}
img.alignleft {
    float:left; 
    margin:0 1em 1em 0;
}
img.aligncenter {
    display: block; 
    margin-left: auto; 
    margin-right: auto;
}
#cookie-notice, #cookie-notice .cn-button {
    font-family: 'Arial', sans-serif !important;
}
#cookie-notice .cn-button {
    color: #fff !important;
}
h1, h2, h3, h4, h5, h6 {
    padding:0;
    margin:0;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
}
h1 {
    color:#630;
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
h2 {
    color:#630;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 12px;
}
h3 {
    color:#630;
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 12px;
}
.toggle-nav, #nav-container {
    display:none;
}
.spacer {
    height:170px;
}
.custom-logo-link {
    text-decoration: none;
}
.custom-logo {
    max-width:800px;
    width:100%;
    margin:20px 0;
}
.main-menu {
    list-style:none;
    margin:0;
    padding:0;
    font-size: 13px;
    line-height: 28px;
    text-transform: uppercase;
}
.main-menu li {
    display:block;
    position: relative;
}
.main-menu li a {
    color:#630;
    text-decoration:none;
}
.main-menu li a:hover{
    color:#db1400;
    background-color:#cccc66;
}
.main-menu li.current-menu-item > a,
.main-menu li.current-menu-parent > a {
    color:#db1400;
}
#page-section {
    margin:40px 0;
}
#page-footer {
    font-size:14px;
    padding:20px 0;
    position:relative;
}
.meta-menu-container {
    float: right;
}
.meta-menu {
    list-style:none;
    margin:0;
    padding:0;
    font-size: 14px;
}
.meta-menu li {
    display:inline-block;
}
.meta-menu li + li:before {
  content: "|";
  padding: 0 7px;
}
.meta-menu li a {
    color:#630;
    text-decoration:none;
}
.meta-menu li a:hover,
.meta-menu li.current-menu-item a {
    color:#db1400;
}
.btn, .gform_button {
    background-color: #db1400;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1 !important;
    border-radius:18px;
    text-align: center;
    padding: 10px 24px;
    margin-bottom:26px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #db1400;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
	transition:all 0.25s ease-in-out;
    -webkit-transition:all 0.25s ease-in-out;
}
.gform_wrapper.gravity-theme .gfield textarea,
.gform_wrapper.gravity-theme .gfield input {
    border:1px solid #ccc;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
}
.gform_wrapper.gravity-theme .gfield textarea {
    resize: none;
}
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
    display: none;
}
.gform_wrapper .gform_validation_errors {
    border-color: #c02b0a !important;
    margin-bottom: 15px !important;
}
.gform-icon--close::before {
    content: "\e903";
}
.btn:hover, .gform_button:hover {
    background-color:#630;
    border-color:#630;
}
::placeholder { 
    color: #000;
    opacity: 1;
}
:-ms-input-placeholder { 
    color: #000;
}
::-ms-input-placeholder {
    color: #000;
}
textarea:focus, input:focus {
    outline: none;
}
.privacy-policy a {
    overflow-wrap: break-word;
}
/*md-viewport*/
@media only screen and (max-width: 991px) {
    .col-md-offset-0 {
        margin-left: 0 !important;
    }
    .hidden-md {
        display: none;
    }
}
/*sm-viewport*/
@media only screen and (max-width: 767px) {
    .custom-logo {
        max-width:480px;
        width:100%;
        margin:40px 0 0 0;
    }
    .main-menu-container {
        display:none !important;
    }
    .lang-select {
        left:20px;
    }
    .toggle-nav {
        z-index:102;
        position:absolute;
        top: 20px;
        right: 20px;
        width: 24px;
        height: 24px;
        padding:5px;
        background-color:#630;
        line-height: 24px;
        text-align: center;
        display: block;
        cursor: pointer;
        color: #fff;
        font-size: 24px;
        transition: color 0.25s ease-in-out;
        -webkit-transition: color 0.25s ease-in-out;
    }
    .toggle-nav:hover, .toggle-nav .fa-times:hover {
        color:#fff;
    }
    .toggle-nav .fa-times {
        color:#fff;
        transition: color 0.25s ease-in-out;
        -webkit-transition: color 0.25s ease-in-out;
    }
    #nav-container {
        display: block;
        position: absolute;
        z-index: 1002;
    }
    #nav-container .bg {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        background: #000;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
    }
    #nav-container.open .bg {
        visibility: visible;
        opacity: .5;
    }
    #nav-content {
        opacity: 0;
        visibility: hidden;
        overflow: auto;
        width: 320px;
        height: 100%;
        position: fixed;
        top: 0;
        right: -320px;
        z-index: 10;
        background: #c82d2d;
        box-shadow: 0px 12px 64px rgba(0, 0, 0, 0.25);
        transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
    }
    #nav-container.open #nav-content {
        right: 0;
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu.first-menu {
        margin-top:60px;
        margin-bottom:0;
    }
    .mobile-menu {
        list-style: none;
        margin:0 0 50px 0;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600px;
        text-transform: uppercase;
    }
    .mobile-menu li {
        padding:15px 30px;
    }
    .mobile-menu li a {
        display:block;
        text-decoration:none;
        color:#fff;
    }
    .mobile-menu li.current-menu-item,
    .mobile-menu li.current-menu-parent {
        background-color:rgba(255, 255, 255, 0.25)
    }
    .hidden-sm {
        display: none;
    }
    .container {
        padding-right:20px;
        padding-left:20px;
    }
    .col-sm-offset-0 {
        margin-left: 0 !important;
    }
    .meta-menu-container {
        float: left;
    }
}
/*xs-viewport*/
@media only screen and (max-width: 480px) {
    .col-xs-offset-0 {
        margin-left: 0 !important;
    }
    .hidden-xs {
        display: none;
    }

}