@import url(../fonts/ds-isaraphap/stylesheet.css);
@import url(../fonts/opensans/stylesheet.css);


article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary {
  display: block;
}

audio,canvas,video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%; 
  -webkit-text-size-adjust: 100%; 
  -ms-text-size-adjust: 100%; 
}

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
}

html,button,input,select,textarea, body {
  font-family: "WF Opensans", sans-serif;
  font-weight: 400;
	color: #503D33;
	font-size: 14px;
  line-height: 1.4em;
  -webkit-font-smoothing: antialiased;
}


a {
  text-decoration: none;
  transition: color 0.4s;
	color: #503D33;
}
a:focus {
  outline: thin dotted;
}
a:active,a:hover,a:focus {
  outline: none;
  text-decoration: none;
  color: #222;
}

h1,h2,h3,h4,h5,h6 {
	font-family: Isaraphap, sans-serif;
	font-weight: normal;
  margin: 0 0 0.5em;
  padding: 0;
  line-height: 1.3em;
}

h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.6em;
}

h4 {
	font-size: 1.4em;
}

h5 {
  font-size: 1.2em;
}

h6 {
  font-size: 1.1em;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,strong {
  font-weight: bold;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 15px ;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
	font-family: sans-serif;
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.1em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
  font-style: italic;
}


dfn {
  font-style: italic;
}

p,pre,address {
	padding: 0;
  margin: 0 0 0.8em 0;
  font-style: normal;
  font-weight: normal;
  font-weight: 300;
}

code,kbd,pre,samp {
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before,q:after {
  content: '';
  content: none;
}

small {
  font-size: 80%;
  line-height: 1.2em;
}

sub,sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

dl,menu,ol,ul {
  margin: 0 0 1em;
}


dd {
  margin: 0 0 0 40px;
}

menu,ol,ul {
  padding: 0 0 0 2em;
}

ul {
	list-style-image: url(../img/bullet.png);
}

nav ul,nav ol {
  list-style: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
}

img {
  border: 0; 
  padding: 0;
  margin: 0;
  max-width: 100%;
  -ms-interpolation-mode: bicubic; 
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
  *margin-left: -7px;
}

button,input,select,textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
  
	-moz-box-sizing:border-box;
}

button,input {
  line-height: normal;
}

button,html input[type="button"], 
input[type="reset"],input[type="submit"] {
  -webkit-appearance: button; 
  cursor: pointer; 
  *overflow: visible;  
}

button[disabled],input[disabled] {
  cursor: default;
}

input[type="checkbox"],input[type="radio"] {
	-moz-box-sizing:border-box;
  box-sizing: border-box; 
  padding: 0; 
  *height: 13px; 
  *width: 13px; 
}

input[type="search"] {
  -webkit-appearance: textfield; 
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; 
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto; 
  vertical-align: top; 
}

hr, .hr {
	display: block;
	clear: both;
	margin: 10px 0 15px;
	padding: 0;
	border: 0;
	height: 1px;
	background: #ddd;
}

.shell {
  color: #D53027;
}

table {
  border-collapse:collapse;
  border-spacing: 0;
  margin: 0 0 20px;
  width: 100%;
  border: none;
  font-size: 0.9em;
  line-height: 1.3em;
  
}
td, th {
	padding: 4px 2px;
}
td {
	vertical-align: top;
}
th {
	font-weight: bold;
	text-align: center;
	border: none;
	background: #fbe7fa;
}
tbody td {
	border: none;
}
table p:last-child {
	padding: 0;
	margin: 0;
}
iframe {
	border: 1px solid #eee;
}

.clear {clear:both;}
.fl-left {float: left;}
.fl-right {float: right;}
img.fl-left{padding: 0 20px 10px 0;}
img.fl-right{ padding: 0 0 10px 20px; }
.left{ text-align: left;}
.right{ text-align: right;}
.center{ text-align: center;}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

.section {
	max-width: 800px;
	margin: 0 auto;
}
.section-item {
	padding: 15px 20px;
}
.section-item.bordered {
	border-bottom: 4px solid #503D33;
}
.section-item:last-child {
	border: none;
}
.section-header {
	font-size: 60px;
	line-height: 0.85em;
	padding: 0;
	margin: 0;
}
.section-header strong {
	white-space: nowrap;	
	font-weight: normal;
}

@media only screen and (max-width: 800px) { 
	.section-header {
		font-size: 50px;
	}
}
@media only screen and (max-width: 600px) { 
	.section-header {
		font-size: 40px;
	}
}
@media only screen and (max-width: 480px) { 
	.section-header {
		font-size: 30px;
	}
}
@media only screen and (max-width: 320px) { 
	.section-header {
		font-size: 20px;
	}
}

.section-full-image {
	margin: 10px -20px;
}

.page-header {
	font-size: 55px;
	line-height: 1em;
	border: none;
	padding: 10px 20px 0;
	margin: 0;
}

.product-list {
	
}
.product-item {
	margin: 20px 0;
	padding: 0;
	border-bottom: 4px solid #503D33;
}
.product-item:last-child {
	border: none;
}
.product-carousel .slick-slide {
	margin: 0 10px;
	opacity: 0.6;
}
.product-carousel .slick-current {
	opacity: 1;
}
.product-carousel .slick-arrow {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	background: transparent  no-repeat center center;
	background-size: contain;
	border: none;
	outline: none;
	text-indent: -999px;
	overflow: hidden;
	z-index: 3;
	margin-top: -20px;
}
.product-carousel .slick-prev {
	background-image: url(../img/left-arr.png);
	left: 5px;
}
.product-carousel .slick-next {
	background-image: url(../img/right-arr.png);
	right: 5px;
}
.product-detail {
	padding: 10px 20px 5px;
}
.product-detail h2 {
	padding: 0;
	margin: 0;
	font-size: 30px;
	color: #EE7203;
}

@media only screen and (max-width: 780px) { 
	.product-carousel .slick-slide {
		margin: 0 5px;	
	}
	.product-carousel .slick-arrow {
		width: 30px;
		height: 30px;
	}
}

#main-header {
	background: #EDEDED;
	overflow: hidden;
}
#main-logo {
	max-width: 550px;
	margin: 20px auto;
	padding: 0 50px;
}
#main-nav {
	background: #503D33;
	text-align: center;
}
#main-nav > section > ul > li > a {
	font-family: Isaraphap, sans-serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 20px;
}
#main-nav > section > ul > li > a:hover {
	color: #EB7522;
}
#main-nav > section > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#main-nav > section > ul > li {
	display: inline-block;
	padding: 10px 5%;
	position: relative;
}
@media only screen and (max-width: 780px) { 
	#main-nav > section > ul > li {
		padding: 10px 2%;	
	}
}
@media only screen and (max-width: 480px) { 
	#main-nav > section > ul > li {
		padding: 10px 30px;	
	}
}
@media only screen and (max-width: 320px) { 
	#main-nav > section > ul > li {
		padding: 10px 20px;	
	}
}
#main-nav .subnav {
	font-size: 14px;
	position: absolute;
	background: #fff;
	top: 38px;	
	left: 0;
	right: 0;
	text-align: left;
	border: 1px solid #503D33;
	min-width: 150px;
	z-index: 2;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s;
}
#main-nav li:hover .subnav {
	max-height: 500px;
}
#main-nav .subnav a {
	display: block;
	padding: 5px 10px;
	color: #503D33;
	border-top: 1px solid #503D33;
	font-weight: bold;
}
#main-nav .subnav a:hover {
	color: #EB7522;
}

@media only screen and (max-width: 600px) { 
	#main-nav .subnav {
		display: none;
	}
}
#main-footer {
	font-size: 12px;
	clear: both;
	padding: 30px 0;
	margin: 20px 0 0 0;
	background: #503D33;
	color: #fff;
}
#main-footer .footer-logo {
	margin: 0 0 20px;
}
@media only screen and (max-width: 780px) { 

	#main-footer {
		padding: 20px;
	}
	#main-footer .footer-logo {
			max-width: 200px;
	}
}

.gallery {
	margin: 20px 0;
	column-count: 3;
	column-gap: 10px;
}
.gallery-item {
	display: block;
	margin-bottom: 10px;
}

.contact-header {
	font-size: 70px;
	padding: 10px 0 0;
	margin: 0;
}
.contact-form ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.contact-form li {
	padding: 10px 0;
	margin: 0;	
	clear: both;
}
.contact-form li.form-left {
	padding-right: 10px;
}
.contact-form li.form-right {
	padding-left: 10px;
}
.contact-form li.form-mid {
	padding-left: 20px;
	padding-right: 20px;
}
.contact-form li.form-half {
	width: 50%;
	float: left;	
	clear: none;
}
.contact-form li.form-third {
	width: 33%;
	float: left;	
	clear: none;
}
.contact-form label {
	display: none;
}
.contact-form .field-news label {
	display: block;
}
.contact-form input[type=text],
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	line-height: 30px;
	padding: 5px 10px;
	box-sizing: border-box;
	height: 44px;
}
.contact-form textarea {
	height: 80px;	
}
.field-country {
	position: relative;
}

.contact-form select {
	-webkit-appearance: button;
	-moz-appearance: button;
	-webkit-user-select: none;
	-moz-user-select: none;
	-webkit-padding-end: 30px;
	-moz-padding-end: 30px;
	-webkit-padding-start: 2px;
	-moz-padding-start: 2px;
	background-color: #fff;
	background-position: center right;
	background-repeat: no-repeat;
	border: 1px solid #503D33;
	border-radius: 2px;
	box-shadow: none;
	color: #555;
	font-size: inherit;
	margin: 0;
	overflow: hidden;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 30px;
	height: 44px;
	box-sizing: border-box;
}
.field-country:after {
	content: "";
	display: block;
  width: 0; 
  height: 0; 
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  
  border-top: 10px solid #999;
  
  position: absolute;
  top: 27px;
  right: 35px;
  
  pointer-events: none;
}

.contact-form select:focus {
    outline: none;
}

li.field-news {
	padding: 10px 100px;
	position: relative;
}
li.field-news input {
	position: absolute;
	opacity: 0;
	top: 0;
	left: 0;
	bottom:0;
	right:0;
	width: 100%;
	height: 100%;
}
li.field-news label {
	font-size: 16px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	line-height: 1.2em;
}
li.field-news small {
	font-size: 14px;
}
label.checkbox-wrap {
  position: absolute;
  top: 10px;
  left: 65px;
  height: 25px;
  width: 25px;
	border: 1px solid #503D33;
}
label.checkbox-wrap:after {
  content: "";
  position: absolute;
  display: none;
  background: url(../img/check.png) no-repeat center center;
  background-size: 100% 100%;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
}

li.field-news input:checked ~ label.checkbox-wrap:after {
  display: block;
}

li.field-news .label.checkbox-wrap:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.breadcrumb {
	margin: 0;
	padding: 5px 20px;
	background: none;
	font-size: 12px;
	border-bottom: 4px solid #503D33;
}

.category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.category-list li {
	display: block;
	position: relative;
	margin: 0 0 20px;
}
.category-list strong { 
	font-family: Isaraphap, sans-serif;
	font-weight: normal;
	display: block;
	bottom:0;
	left: 0;	
	color: #FFF;
	position: absolute;
	padding: 0 0 20px 30px;
	font-size: 60px;
	line-height: 1em;
	width: 200px;
}
@media only screen and (max-width: 780px) { 
	.category-list strong { 
		font-size: 30px;
		padding: 0 0 10px 10px;
	}
}

.cd-top {
  display: inline-block;
  height: 30px;
  width: 30px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #503D33 url(../img/cd-top-arrow.svg) no-repeat center center;
  visibility: hidden;
  opacity: 0;
  border-radius: 30px;
  border: 4px solid #fff;
  transition: opacity 0.4s;
}

.cd-top.cd-top--show {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}

.cd-top:hover {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

.ajax-form {
	position: relative;
}
.ajax-form-saving {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	line-height: 200px;
	text-align: center;
	background: #fff;
	background: rgba(255,255,255,0.8);
	border-radius: 5px;
	font-size: 30px;
}
.ajax-form-success {
	background: #ecfdf3;
	color: #0d7739;
	border: 1px solid #0d7739;
	padding: 30px;
	font-weight: bold;
	text-align: center;
	border-radius: 0;
}
.ajax-form .asterisk {
	color: #EE7203;
}
.ajax-form em.error {
	position: absolute;
	top: 3px;
	right: 5px;
	font-size: 13px;
	color: #EE7203;
}


.button {
	background: #EE7203;
	border: none;
	color: #fff;
	line-height: 45px;
	height: 45px;
	padding: 0 70px;
	font-size: 20px;
	font-weight: bold;
}
.form-buttons {
	text-align: center;
	margin: 10px 0 30px;
}