@font-face {
    font-family: 'suk-l';
    src: url(/fonts/sukhumvit/SukhumvitLight.woff) format("woff"),
            url(SukhumvitLight.ttf) format("truetype");
}

@font-face {
    font-family: 'suk-m';
    src: url(/fonts/sukhumvit/SukhumvitMedium.woff) format("woff"),
            url(SukhumvitMedium.ttf) format("truetype");
}

@font-face {
    font-family: 'suk-b';
    src: url(/fonts/sukhumvit/SukhumvitBold.woff) format("woff"),
            url(SukhumvitBold.ttf) format("truetype");
}

@font-face {
    font-family: 'suk-sb';
    src: url(/fonts/sukhumvit/SukhumvitSemiBold.woff) format("woff"),
            url(SukhumvitSemiBold.ttf) format("truetype");
}

/*
*reset
**/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	/*vertical-align: baseline;*/
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html,body{
	height: 100%;
	min-height: 100%;
}

body{
   	font-family: "suk-m", Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6em;
	min-height:100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background: #fff;
    color: #9b6f23;
}

b,strong,h1,h2,h3,h4,h5,h6{
	font-family: "suk-sb", Helvetica, sans-serif;
}

h1{
    color: #85482a;
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 12px;
}

h2{
    color: #3b4044;
    font-size: 2em;
    margin-bottom: 12px;
    line-height: 32px;
}

h3{
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #85482a;
}

h4{
    font-size: 1em;
    color: #85482a;
}

ul, ul li, ul li ul {
	list-style: none;
	margin: 0;
}

a{
	text-decoration: none;
    color: #85482a;
    /*all: unset;*/
}

input,textarea, select{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	font-family: r;
	padding: 0;
	margin: 0;
	color: #6f6b7d;
	border: 1px solid #dbdade;
	border-radius: 4px;
    font-size: 16px;
}

input[type='text'],
input[type='password'],
input[type='email'],
textarea{
	height: 42px;
	padding: 4px 8px;
}

select{
    height: 42px;
    padding: 4px 8px;
}

::placeholder {
  color: #ccc;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #ccc;
}

img{
	display: inline-block;
	width: 100%;
	height: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.form label,
input[type='text'],
input[type='password'],
input[type='email'],
textarea,
.form select{
	display: block;
	width: 100%;
}

.form p{
    display: block;
    margin-bottom: 22px;
}

.form label{
    margin-bottom: 4px;
    font-family: b;
}

.blue_button{
    display: inline-block;
    color: #fff;
    background-color: #2a4ff6;
    padding: 10px 20px;
    border-radius: 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.5s ease;
    text-align: center;
    border: 0;
}

.blue_button:hover{
    transition: background-color 0.5s ease;
    background-color: #1037e8;
    
}

.blue_button:active{
    position: relative;
    top: 1px;
}

.white_button{
    display: inline-block;
    color: #2a4ff6;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.5s ease;
    text-align: center;
    border: 0;
}

.white_button:hover{
    transition: background-color 0.5s ease;
    background-color: #f9f9f9;
    
}

.white_button:active{
    position: relative;
    top: 1px;
}

.order_button{
    border: 1px solid #de5323;
    color: #de5323;
    border-radius: 16px;
    padding: 5px 10px;
    font-size: 0.9em;
    font-family: "suk-m", Helvetica, sans-serif;
}

.order_button i{
    margin-right: 4px;
}

.order_button:hover{
    cursor: pointer;
    border: 1px solid #de5323;
    color: #fff;
    background: #de5323;
}

.order_button:active{
    position: relative;
    top: 1px;
}

a.contact_button img{
    max-width: 220px;
}


/*
** template
*/

.contact_form{
    padding: 32px 12px;
}

.contact_form form{
    display: block;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 32px 16px;
}

.contact_form h3{
    font-size: 30px;
    margin-bottom: 22px;
}

.contact_form form input,
.contact_form form select, .contact_form form textarea{
    width: 100%;
    margin-bottom: 12px;
}

.contact_form form textarea{
    height: 120px;
}

.contact_form form .button{
    margin-top: 32px;
}


.wrapper{
	display: block;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
    padding: 0 10px;
    

	/*padding: 0 22px;
	margin-top: 20px;
	padding-bottom: 20px;*/
}

.wrapper:after{
	content: "";
	display: table;
	clear: both;
}

#menu{
    position: absolute;
    max-width: 400px;
    width: 100vw;
    max-height: 100vh;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li{
    padding: 20px 0;
    font-size: 22px;
}

#menu li label{
    cursor: pointer;
}

header{
    position: fixed;
    top: 0;
    height: 140px;
    z-index: 99;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
}

/* Menu code starts here */
/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  max-width: 400px;
  width: 100vw;
  max-height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #000;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}



#menuToggle{
    display: block;
    /* You can also use relative/absolute here if you want to stay on the top */
    position: relative;
    top: 20px;
    left: 20px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a{
    font-weight: bold;
    color: #9b6f23;
    text-decoration: none;
    transition: color 0.3s ease;
}

#menuToggle a:hover{
    color: tomato;
}


#menuToggle input{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #9b6f23;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #9b6f23;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*** end menu***/

.topcontact{
    background: #9b6f23;
    text-align: right;
    color: #fff;
    height: 40px;
    line-height: 14px;
}

.topcontact ul{
    position: relative;
    top: 12px;
    font-size: 0.9em;
}

.mtopnav .logo a{
    display: block;
    position: absolute;
    left: 70px;
    top: 50px;
}

.mtopnav .logo img{
    width: 100px;
    height: auto;
}

.ltopnav{
    display: none;
}


.webcontainer{
    margin-top: 140px;
    text-align: center;
}

.webcontainer.no_banner{
    margin-top: 0;
    padding-top: 180px;
}

.breadcrumb{
    text-align: left;
    margin-bottom: 18px;
}

.breadcrumb ul:after{
    display: table;
    content: '';
    clear: both;
}

.breadcrumb ul li{
    float: left;
}

.breadcrumb ul li span{
    margin: 0 8px;
}


.bg2{
    background: #fff0d6;    
}

footer{
    border-top: 1px solid #ccc;
    padding: 22px;
    text-align: left;
}

footer p{
    margin-bottom: 14px;
}


footer .logo{
    margin-bottom: 4px;
}

footer .logo a{
    display: block;
}

footer .logo a img{
    width: 120px;
}

footer .address{
    margin-bottom: 24px;
}

footer .social{
    margin-bottom: 14px;
}

footer .social ul{
    display: flex;
    gap: 8px;
}

footer .social ul img{
    width: 32px;
    height: auto;
}

footer h4{
    font-family: suk-b;
}

footer{
    /*background: url(/img/footer_background.png);*/
    background: #9b6f23;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


@media only screen and (min-width:768px){
    .contact_form form{
        margin: 0 auto;
        max-width: 700px;        
    }

    .contact_form form > div{
        display: flex;
        flex-wrap: wrap;
        column-gap: 12px;
    }

    .contact_form form > div p{
        width: calc(50% -  6px);
    }

    .contact_form form > div p.message_box{
        width: 100%;
    }

    .contact_form form .button{
        margin-top: 18px;
    }
}

@media only screen and (min-width:998px){
    header .mnav {
        display: none;
    }

    header{
        
    }

    header > .wrapper{
        display: flex;
    }

    header .logo a{
        top: 24px;
    }

    header .logo{
        width: 120px;
    }

    .mtopnav{
        display: none;
    }

    /****/
    /*
    *.ltopnav nav
    */

    .ltopnav{
        display: flex;
        width: 100%;
    }

    .ltopnav .logo a{
        display: block;
        margin-top: 10px;
    }

    .ltopnav .logo img{
        width: 120px;
        height: auto;
    }

    .ltopnav ul.nav{
        width: calc(100% - 130px);
        margin-left: auto;
        display: flex;
        justify-content:flex-end;
        column-gap: 30px;
        position: relative;
        top: 42px;
        height: 40px;
        font-size: 1em;
    }

    .ltopnav ul li {
        display: inline-block;
        
        margin-top: 1px;
        padding-top: 5px;
        position: relative;
        cursor: default;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }

    .ltopnav ul li a{
        font-family: SukhumvitBold;
        display:block;
        color:#818493;
        line-height: 18px;
        text-transform: uppercase;
        cursor: pointer;

    }

    .ltopnav ul li a.haschild{
        /*cursor: default;*/
    }

    .ltopnav ul li a.active{
        font-family: SukhumvitBold;
        color: #444;
    }

    .ltopnav ul > li.active {
        background: rgba(129, 132, 147, .9);
        color: #8a8c8e;
    }

    .ltopnav ul > li:hover {
        /*background: rgba(129, 132, 147, .9);*/
        background: none;
    }

    .ltopnav ul li:hover > a {
        font-family: SukhumvitBold;
        color: #444;
        display:block;
    }

    .ltopnav ul li ul {
        padding: 0;
        position: absolute;
        font-size: 1em;
        z-index:999;
        /*top: 34px;*/
        padding-top: 22px;
        left: 24px;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        -webkit-transiton: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        -ms-transition: opacity 0.2s;
        -o-transition: opacity 0.2s;
        -transition: opacity 0.2s;
    }

    .ltopnav ul li ul li { 
        border-bottom: 0;
        /*margin-top: 1px;*/
        /*background: #dddddd;*/
        background: rgba(255, 255, 255, .8);
        display: block;
        top: -8px;
        position: relative;
        width: 160px;
        padding-left: 10px;
        padding-right: 0;
        text-align: left;
    }

    .ltopnav ul li:nth-child(3) ul li {
        width: 240px;
    }

    .ltopnav ul li ul li a{
        color:#818493;
        text-transform: uppercase;
        /*text-shadow: 1px 1px 2px #666;*/
    }

    .ltopnav ul li.active ul li a{ 
        color:#818493;
    }

    .ltopnav ul li ul li:hover {
        background: rgba(255, 255, 255, .9);
    }

    .ltopnav ul li ul li:hover a {
        color: #444;
    }

    .ltopnav ul li:hover > ul {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .ltopnav ul ul ul {
        position: absolute;
        left: 100%;
        top: 8px;
        margin-left: 1px;
    }

    .ltopnav ul ul ul li {
        width: 260px;
    }


    /****/




    section.container{
        margin-top: 100px;
    }


}