/*
Theme Name: EP Decor (Thailand) Co.,Ltd
Theme URI: https://devsign.info
Author: Chanatip Trongpanyachot
Author URI: https://devsign.info
Description: ผ้าม่านมีความหลากหลายทั้งรูปร่าง วัสดุ ขนาด สีสันและลวดลาย โดยส่วนมากจะมีแผนกที่จำหน่ายผ้าม่านโดยเฉพาะในห้างสรรพสินค้า ขณะที่ในบางร้านก็ขายผ้าม่านโดยเฉพาะ ม่านในบางประเทศอาจทึบในประเทศเขตร้อนอย่างเช่น สเปน ที่บานเกล็ดไม้ที่ยึดไว้ภายนอกอาคารเพื่อความส่วนตัวและเก็บความเย็นภายในอาคารได้ ม่านยังเป็นส่วนหนึ่งของหน้าต่างและเป็นรูปลักษณ์หน้าตาภายนอกของบ้าน และยังช่วยควบคุมสภาพแวดล้อมและแสงจากธรรมชาติสู่ภายในห้อง
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: devsign, epdecor, EP Decor, epdecor (Thailand), chanatip

*/


/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.


@import url(fonts/th_baijam.css);*/
@import url(fonts/thsarabunnew.css);

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

p{ 
    font-family: 'THSarabunNew',sans-serif;     
    font-size: 0.68em !important;
    line-height: 2em !important; 
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}
.taxonomy-description p{  font-size: 0.5em !important; color:#333; }
h3{ font-family: 'THSarabunNew',sans-serif; font-size: 0.80em !important; line-height: 1.8em; }
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 62.5%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    background: #f1f1f1;
}

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

ol,
ul {
    list-style: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    quotes: none;
}

a:focus {
    outline: 2px solid #c1c1c1;
    outline: 2px solid rgba(51, 51, 51, 0.3);
}

a:hover,
a:active {
    outline: 0;
}

a img {
    border: 0;
}

/* initial design by panjakit */

@font-face {
    font-family: CordiaUPC;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/CordiaUPC.ttf);
}

@font-face {
    font-family: CordiaUPC;
    font-style: normal;
    font-weight: 700;
    src: url(fonts/CordiaUPC_Bold.ttf);
}
html {
    /*font-family: Tahoma, CordiaUPC;*/
    /*font-family: Tahoma;*/
    font-size: 62.5%;
    font-family: CordiaUPC;
}
body {    
    background-image: url('css/images/all/bg.png');    
    background-repeat: repeat;
    font-size: 2.0em;
    color: #252525;
}

a {
    color: #252525;
}

a:hover,
a:active {
    color: #be0000;
    text-decoration: none;
}
@media (min-width: 1200px) {
    html, body {
        font-size: 20px;
    }
    .container {
        width: 1200px;
    }
}
/*.row {
    margin-right: -10px;
    margin-left: -10px;
}*/
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-left: 10px;
    padding-right: 10px;
}
#top {
    background-color: #8a0116;
    color: #FFF;
    padding: 10px 0;
    /*height: 25px;*/
}
/*#top .location-top,
#top .social-top {
    text-align: center;
}*/
#top .social-top {
    text-align: right;
}
#top .location-top span {
    color: #FFF;
}
#top .location-top span a {
    color: #FFF;
}
body.home #header { 
    background:transparent;
    margin-bottom: -345px;
}
body.home #header .header-banner {
    text-align: center;    
    margin: 20px 0;
    position: relative;
    z-index: 3;
}
body.home #header .header-banner img.header-banner-img-ce {
    width: 106px;
}
body.home #header .header-banner img.header-banner-img-main {
    width: 100%;
}
body.home #header .header-banner .header-banner-text {
    text-shadow: 0 0 1px #fff,
             0 0 3px #fff,
             0 0 5px #fff,
             0 0 7px #fff,
             0 0 9px #fff,
             0 0 10px #fff, 
             0 0 11px #fff,
             0 0 15px #fff,
             0 0 20px #fff, 
             0 0 25px #fff,
             0 0 30px #fff, 
             0 0 35px #fff,
             0 0 40px #fff, 
             0 0 45px #fff,
             0 0 50px #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0;
}
.header-banner-img-main{
    position: relative;
    z-index: 2;
    top: -345px;
    right: 0px;
}
body.home #header .container{
    position: relative;
    z-index: 5;
}
.classified-title{
  /*-webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;*/
  font-family: 'THSarabunNew',sans-serif; 
  color: #fff;
  font-size: 0.9em;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  margin-top: -10px;
  margin-bottom: 20px;
  background: #be0000;
  background-image: -webkit-linear-gradient(top, #be0000, #8a0116);
  background-image: -moz-linear-gradient(top, #be0000, #8a0116);
  background-image: -ms-linear-gradient(top, #be0000, #8a0116);
  background-image: -o-linear-gradient(top, #be0000, #8a0116);
  background-image: linear-gradient(to bottom, #be0000, #8a0116);
}
.classified-title a{
  color: #fff;
  font-weight: bold;
}

.classified-title:hover {
  background: #be0000;
  text-decoration: none;
}

.container .flex-direction-nav a {	height: 45px ; }
.container .flex-direction-nav .flex-disabled { margin-left:-80px; }

@media (min-width: 1200px) {
    #top {
        padding: 0;
    }
    #top .location-top {
        text-align: initial;
    }
    
    #top .location-top span {
        display: initial;
    }
    body.home #header {
        /*background-image: url('css/images/home/banner.png');*/
        background-size: 100%;
        min-height: 514px;
		background: linear-gradient(rgba(0,0,0,.2),transparent);
    }

    body.home #header .header-banner {
        width:450px;
        margin: 0 auto;
        margin-top: 88px;
    }
    body.home #header .header-banner img.header-banner-img-ce {
        /*width: initial;*/
    }

    body.home #header .header-banner img.header-banner-img-main {
        display: none;
    }
    body.home #header .header-banner .header-banner-text {
        /*background-image: url('css/images/home/banner-ce-blur.png');*/
		text-shadow: 0 0 1px #fff,
					 0 0 3px #fff,
					 0 0 5px #fff,
					 0 0 7px #fff,
					 0 0 9px #fff,
					 0 0 10px #fff, 
					 0 0 11px #fff,
					 0 0 15px #fff,
					 0 0 20px #fff, 
					 0 0 25px #fff,
					 0 0 30px #fff, 
					 0 0 35px #fff,
					 0 0 40px #fff, 
					 0 0 45px #fff,
					 0 0 50px #fff;
        font-size: 36px;
        font-weight: 700;
        width: 500px;
        height: 61px;
        line-height: 61px;
    }
}

@media (max-width: 767px) {
    #top {
        font-size: 18px;
	    position: fixed;
	    width: 100%;
	    top: 0;
	    z-index: 999;
    }
    section#header{margin-top: 45px;}
    .site-home-partners img {
        width: 23%;
    }
    .site-home-partners{ padding-top:0 !important; }
    .entry-content img { /*width:100% !important;*/ height:100% !important; }
    .site-home-products .site-home-products-items .site-home-products-item{
        width: 48% !important;
        padding-left: 15px !important;
    }
    a.mobile-tel{display:none;}
}

@media (max-width: 320px) {
	#top {
        font-size: 17px;
    }
    .site-home-products .site-home-products-items .site-home-products-item { 
    	padding-left: 5px !important;
    	font-size: 0.2em;
    }
    .site-home-products .site-home-products-items .site-home-products-item a {    
    	font-size: 4.7em; 
    }
    .location-top a img{ width: 15px; margin-right:0!important; margin-left: 8px !important;}
}
@media (max-width: 319px) {
	#top {
        font-size: 15px;
        padding: 0;
        margin: 0;
    }
    #top .location-top, #top .social-top {
        padding: 0;
        margin: 0;
    }
    #top .location-top span {
        line-height: 28px;
    }
}


.social-top {
/*    margin-top: 5px;
    margin-bottom: -5px;*/
}
.social-top .social-top-label {
    position: relative; 
    top: 0px;
}
.social-top ul {
    /*display: none;*/
    display: inline-block;
    position: relative; 
    top: 4px;
}
.social-top ul li.lang-item {
    display: inline-block;
}
.social-top ul li.lang-item a {
    display: inline-block;
    width: 18px;
    height: 18px;
}
.social-top ul li.lang-item-th a {
    background-image: url('css/images/all/lang-th.png')
}
.social-top ul li.lang-item-th.current-lang a {
    background-image: url('css/images/all/lang-th-active.png')
}
.social-top ul li.lang-item-en a {
    background-image: url('css/images/all/lang-en.png')
}
.social-top ul li.lang-item-en.current-lang a {
    background-image: url('css/images/all/lang-en-active.png')
}
.social-top ul li.lang-item img {
    display: none;
}

#header .main-navigation {
    display: none;
}

.nav-menu li#menu-item-864 {display: none !important;}

/*.nav-menu .dropdown-toggle { display:none; }*/
.nav-menu li.menu-item ul.sub-menu {
	left: 100%;
	position:absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
	z-index:999;
}
.nav-menu li.menu-item:hover ul.sub-menu {
	visibility: visible;
}
.dropdown-menu>.active>a { font-weight:700;}
.nav-menu ul.dropdown-menu li.menu-item { padding:0 !important; }
.nav-menu ul.dropdown-menu li.menu-item a {font-size:20px !important; font-weight:normal !important; color:#898989 !important; line-height:normal !important; }
.nav-menu ul.dropdown-menu li.menu-item a:hover { color:#be0000 !important; }


.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

    /* top arrow */
.dropdown-menu:before, .dropdown-menu:after {
  content: '';
  display: block;
  position: absolute;
}
.dropdown-menu:before {
  /*height: 12px;
  width: 12px;
  border: 1px solid #be0000;
  border-right: 0;
  border-bottom: 0;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #be0000;*/
	top: -14px;
	left: 42px;
	width: 0;
	height: 0;
	content: '';
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #be0000;
}
/*.dropdown-menu:after {
  height: 1px;
  width: 18px;
  background: #be0000;
  top: -2px;
  left: 44px;
}*/

@media (min-width: 768px) and (max-width: 991px) {
	.nav-menu ul.dropdown-menu li.menu-item { padding:0 !important; }
    #header .main-navigation div ul.nav-menu li.menu-item {
        padding: 0 1.3%;
    }
	#header .main-navigation div ul.nav-menu li.menu-item a{font-size:22px;}
}
@media (min-width: 991px) and (max-width: 1200px) {
	.nav-menu ul.dropdown-menu li.menu-item { padding:0 !important; }
    #header .main-navigation div ul.nav-menu li.menu-item {
        padding: 0 2%;
    }
	#header .main-navigation div ul.nav-menu li.menu-item a{font-size:22px;}
}
@media (min-width: 768px) {
    #header .main-navigation {
        display: block;
    }
    #header .main-navigation div ul.nav-menu {
        background-color: #FFF;
        border-radius: 4px;
        border:1px solid #e1e1e1;
        height: 50px;
        margin-top: 20px;
		text-align:center;
    }
    #header .main-navigation div ul.nav-menu li {
        display: inline;
        line-height: 50px;
        padding: 0 36px;
    }
    #header .main-navigation div ul.nav-menu li .menu-item-description {
        display: none;
    }
    #header .main-navigation div ul.nav-menu li a {
        font-size: 24px;
        color: #898989;
    }
    #header .main-navigation div ul.nav-menu li a:hover,
    #header .main-navigation div ul.nav-menu li a:active,
    #header .main-navigation div ul.nav-menu li a:focus {
        text-decoration: none;
    }
    #header .main-navigation div ul.nav-menu li a:hover,
    #header .main-navigation div ul.nav-menu li.current-menu-item a,
    #header .main-navigation div ul.nav-menu li.current-menu-parent a,
    #header .main-navigation div ul.nav-menu li.current_page_parent a {
        color: #be0000;
    }
    #header .main-navigation div ul.nav-menu li.current-menu-item a,
    #header .main-navigation div ul.nav-menu li.current-menu-parent a,
    #header .main-navigation div ul.nav-menu li.current_page_parent a {
        font-weight: 700;
    }
}
footer .site-social {
    /*height: 80px;*/
    background-color: #8a0116;
    color: #FFF;
    /*font-size: 20px;*/
    /*font-size: 15px;*/
    font-size: 11px;
    text-align: center;
}
footer .site-social .form-inline .form-control {
    /*width: 292px;    */
    /*width: 240px;*/
    width: 150px;
    /*height: 40px;*/
    /*font-size: 20px;*/
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
footer .site-social .form-inline button {
    background: none;
    border: none;
}
footer .site-social .site-social-page {
    text-align: center;
    margin: 5px 0;
}
/*footer .site-social .site-social-page .fb_iframe_widget {
    margin: 4px 0;
}*/
footer .site-social .site-social-page .fb_iframe_widget > span > iframe {
    height: 72px!important;
}
footer .site-social .site-social-name,
footer .site-social .site-social-page {
    margin: 10px 0;
}
footer .site-social .site-social-search {

}
footer .site-social .site-social-search form {
    display: inline-block;
    margin-top: 10px;
}
footer .site-social .site-social-search .site-social-search-label {
    margin-right: 7px;
    /*width: 100%;*/
    text-align: left;
    height: 32px;
}
footer .site-social .site-social-name .site-social-name-icon {
    margin-top: 10px;
}

footer .site-social {
    margin: 10px 0;
}
footer .site-social .site-social-search .form-inline .form-group > * {
    float: left;
}
footer .site-social .site-social-search .form-inline .form-group > button {
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0; 
    margin-left: 5px;
    margin-top: -3px;
    background-image: url('css/images/all/icon-search.png');
}
@media (min-width: 480px) {

    footer .site-social .site-social-search .form-inline {
        display: inline-block;
        margin-top: 10px;
    }
    footer .site-social .site-social-search .site-social-search-label {
        width: initial;
        height: initial;
    }
    footer .site-social .form-inline .form-control {
        /*width: 320px;*/
    }
    footer .site-social .site-social-search .form-inline .form-group > button {
        top: 5px;
        position: relative;
    }
}

footer .site-social .site-social-name span {
    display: inline-block;
}

@media (min-width: 768px) {
/*    footer .site-social .site-social-name .site-social-name-text,
    footer .site-social .site-social-name .site-social-name-icon {
        float: left;
    }*/
}
@media (max-width: 1200px) {
    footer .site-social,.form-control  {
        font-size: 20px;
    }
}
@media (min-width: 1200px) {
    footer .site-social {
        height: 80px;
        margin: 0;
        font-size: 24px;
        text-align: initial;
    }
    footer .site-social .site-social-name,
    footer .site-social .site-social-page {
        margin: 0;
    }

    footer .site-social .site-social-name,
    footer .site-social .site-social-search {
        line-height: 80px;
    }
    footer .site-social .site-social-page {
        text-align: right;
        margin: 5px 0;
    }
    footer .site-social .site-social-name .site-social-name-icon {
        margin-top: 0;
    }

    footer .site-social .site-social-search .form-inline {
        margin-top: 0;
    }

    footer .site-social .site-social-search .form-inline .form-group > * {
        float: none;
    }

    footer .site-social .form-inline .form-control {
        width: 248px;
        height: 40px;
        font-size: 24px;
    }
}

/*home */

.site-home-products {
    /*background-color: #FFF;*/
    background: #FFF url('css/images/all/bg-product-pick.png') repeat;
    padding: 10px 0;
}
.site-home-products {
    padding-bottom: 20px !important;
}
.site-home-products  .page-header .page-title {
    margin-bottom: 10px;
}
/*.site-home-products .site-home-products-items .site-home-products-item {
    padding: 10px 0;
}*/
.site-home-products .site-home-products-items .site-home-products-item a {
    font-size: 22px;
    font-weight: 700;
    color: #252525;
    vertical-align: top;
    text-align: center;
    display: block;
    /*padding-top: 5px;*/
}
.site-home-products .site-home-products-items .site-home-products-item:hover a {
    color: #be0000;    
    text-decoration: none;
}
.site-home-products .site-home-products-items .site-home-products-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.site-home-partners img {
    margin-top: 10px;
}
.site-home-partners { padding-top:40px; }

.site-news {
    padding: 10px;
    background-color: #FFF;
    border-bottom: 1px solid #CCC;
}
.site-home-news {
    padding: 10px 0;
}
.site-home-news .page-header .page-title {
    margin-bottom: 10px;
}
.site-home-news .site-home-news-items .site-home-news-item {
    padding: 10px 0;
	border: #eee solid 1px;
    margin-bottom: 12px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.02);
}
.site-home-news .site-home-news-items .site-home-news-item a {
    font-size: 20px;
    font-weight: 700;
    color: #252525;
}
.site-home-news .site-home-news-items .site-home-news-item:hover  a{
    color: #be0000;    
}
.site-home-news .site-home-news-items .site-home-news-item .site-home-news-item-shortdesc {
    color: #707070;    
    height: 83px;
    overflow: hidden;
}
.site-home-news .site-home-news-items .site-home-news-item:hover .site-home-news-item-shortdesc {
    color: #252525;    
}
.site-home-news .site-home-news-items .site-home-news-item img {
    max-width: 100%;
    height: auto;
    position: absolute;
    top: -18%;
}

.site-home-maps {
    padding: 10px 0;
}
.site-home-maps .page-header .page-title {
    margin-bottom: 10px;
}
.site-home-maps .site-home-maps-item {
    padding: 0 10px;
}

@media (min-width: 1200px) {
    .site-home-products {
        padding: 40px 0px;
		margin: 10px 0;
		border-radius: 5px;
		border: #eee solid 1px;
    }
    .site-home-products .site-home-products-items .site-home-products-item {
        padding: 10px;
    }
	.site-home-products .site-home-products-items .site-home-products-item a:first-child {
		width: 275px;
		height: 275px;
		overflow: hidden;
	}
    .site-home-products .site-home-products-items .site-home-products-item a {
        font-size: 24px;
        /*        text-align: initial;
                display: initial;*/
    }
    .site-home-partners img {
        margin-top: 0;
    }

    .site-news {
        padding: 20px 0;
    }
    .site-home-news .site-home-news-items .site-home-news-item a {
        font-size: 24px;
    }
}

footer .site-info {
    background-color: #FFF;
    padding-top: 6px;
    /*padding-bottom: 10px;*/
    text-align: center;
}
.social-navigation div ul li {
    display: inline;
}
.social-navigation div ul li:before {
    content: '| '
}
.social-navigation div ul li:nth-child(1):before {
    content: none;
}
.social-navigation div ul li a {
    color: #252525;
}

.social-navigation div ul li.current_page_item a,
.social-navigation div ul li a:hover {
    color: #be0000;
    font-weight: 700;
}

footer .site-info .site-info-copyright-text {
    font-family: Arail;
    font-size: 12px;
    color: #a1a1a1;
    margin-top: 10px;
}

footer .site-info .site-info-certificate .site-info-certificate-logo,
footer .site-info .site-info-certificate .site-info-certificate-text {
    margin: 10px 0;
}

footer .site-info .site-info-copyright {
	width:60%;
}
footer .site-info .site-info-certificate {
	width:40%;
}

footer #Certificate-banners img{
    height: 75px;
    content: url("css/images/all/DBD_epdecor.png");
}
	
@media (min-width: 1200px) {
    footer .site-info {
        text-align: initial;
    }
    footer .site-info .site-info-copyright-logo {
        margin-bottom: 7px; 
    }
    footer .site-info .site-info-copyright-text {
        font-family: Arail;
        font-size: 12px;
        margin-top: 3px;
    }

    footer .site-info .site-info-certificate {
        text-align: right;
    }
    footer .site-info .site-info-certificate .site-info-certificate-logo,
    footer .site-info .site-info-certificate .site-info-certificate-text {
        margin-right: 5px;
    }
    footer .site-info .site-info-certificate .site-info-certificate-text {
        line-height: 20px;
        margin-top: 10px;
    }
}
/* home */
body.home .entry-header {
    display: none;
}
/*
body.home .site-content {
    background-color: #FFF;
}*/
body.home .home-redbox {
    /*background-image: url('css/images/home/home-redbox.png');*/

    color: #FFF;
    text-align: center;
    padding-top: 10px;
    margin-top: -100px;

    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;

    /* fallback */
    background-color: #4d0000;
    background: url(images/linear_bg_2.png);
    background-repeat: repeat-x;

    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d0000), to(#be0000));

    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #be0000, #4d0000);

    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #be0000, #4d0000);

    /* IE 10 */
    background: -ms-linear-gradient(top, #be0000, #4d0000);

    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #be0000, #4d0000);
}
body.home .home-redbox .home-redbox-quote {
    padding: 0 10px;
}
.aboutus-redbox {
    /*background-image: url('css/images/home/home-redbox.png');*/

    color: #FFF;
    text-align: center;
    padding-top: 10px;
    margin: 10px;
    /*    margin-top: -100px;*/

    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;

    /* fallback */
    background-color: #4d0000;
    background: url(images/linear_bg_2.png);
    background-repeat: repeat-x;

    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d0000), to(#be0000));

    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #be0000, #4d0000);

    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #be0000, #4d0000);

    /* IE 10 */
    background: -ms-linear-gradient(top, #be0000, #4d0000);

    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #be0000, #4d0000);
}

@media (min-width: 1200px) {
    body.home .home-redbox {
        width: 1180px;
        height: 120px;

        font-size: 26px;
        font-weight: 700;
    }
    .aboutus-redbox {
        font-size: 26px;
        font-weight: 700;
    }
}

body.home .home-redbox .home-redbox-company {
    font-size: 20px;
    font-weight: 400;
}

.aboutus-redbox .aboutus-redbox-company {
    font-size: 20px;
    font-weight: 400;
}

.aboutus-redbox .aboutus-redbox-quote {
    padding: 0 10px;
}
body.home .home-welcome {
    text-align: center;    
    padding: 40px 0;
}
body.home .home-welcome .home-welcome-header {
    font-size: 24px;
    font-weight: 700;
    color: #be0000;
}
body.home .home-welcome .home-welcome-company {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    color: #252525;
}
body.home .home-welcome .home-welcome-detail {
    font-size: 20px;
    padding-top: 20px;
    color: #707070;
}
body.home .home-welcome .home-welcome-readmore {
    font-size: 20px;
    color: #252525;
}
body.home .home-welcome .home-welcome-readmore:hover {
    color: #be0000;    
}

@media (min-width: 1200px) {
    body.home .home-redbox .home-redbox-company {
        font-size: 28px;
    }
    body.home .home-welcome .home-welcome-header {
        font-size: 30px;
    }
    body.home .home-welcome .home-welcome-company {
        font-size: 26px;
        margin-top: 0;
    }
    body.home .home-welcome .home-welcome-detail {
        font-size: 22px;
    }
    body.home .home-welcome .home-welcome-readmore {
        font-size: 24px;
    }

    .aboutus-redbox .aboutus-redbox-header {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .aboutus-redbox .aboutus-redbox-company {
        font-size: 22px;
    }
}

/* page */
.comments-area, #comments {
    display: none;
}
.site-content {
    padding: 40px 0;
    position: relative;
    z-index: 9;
}
/*.site-content article.post {
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    float: left;
    width: 25%;
}
.site-content article.post .post-thumbnail img {
    max-width: 100%;
    height: auto;
}
.site-content article.post .entry-header .entry-title {
    text-align: center;    
}
.site-content article.post .entry-header .entry-title a {
    font-size: 24px;
    color: #252525;
}
.site-content article.post:hover .entry-header .entry-title a {
    color: #be0000;
    text-decoration: none;
}
.site-content article.post .entry-content,
.site-content article.post .entry-footer {
     display: none; 
}*/
.page-header {
    padding-bottom: 0; 
    margin: 0; 
    border-bottom: none; 
}
.page-header .page-title,
.entry-header .entry-title {
    font-size: 24px;
    font-weight: 700;
    color: #be0000;
    margin-bottom: 30px;
}
@media (min-width: 1200px) {
    .page-header .page-title,
    .entry-header .entry-title {
        font-size: 30px;
        padding-left: 10px;
    }

    .aboutus-box {
        padding: 0 10px;
    }

    .aboutus-box h3.aboutus-box-company {
        font-size: 24px;
        font-weight: 700;
        color: #be0000;
    }
    .aboutus-box .aboutus-box-address {
        font-size: 24px;
        font-weight: 700;
        color: #252525;
        margin: 5px 0;
    }
    .aboutus-box .aboutus-box-detail {
        font-size: 22px;
        color: #707070;
        text-align: justify;
    }
}
.comments_closed p { display: none; }
.entry-footer {
    text-align: right;
    margin-top: 20px;
    display: none;
}

.table-jobs {
    width: 100%;
}
.table-jobs thead th:nth-child(1) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.table-jobs thead th:nth-child(5) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.table-jobs thead th {
    padding: 5px;
    text-align: center;
    color: #FFF;
    font-size: 15px;

    /* fallback */
    background-color: #7a0000;
    /*background: url(images/linear_bg_2.png);*/
    background-repeat: repeat-x;

    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#7a0000), to(#be0000));

    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #be0000, #7a0000);

    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #be0000, #7a0000);

    /* IE 10 */
    background: -ms-linear-gradient(top, #be0000, #7a0000);

    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #be0000, #7a0000);
}
.table-jobs tbody tr td {
    background-color: #ebebeb;
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
}
.table-jobs tbody tr:hover,
.table-jobs tbody tr:hover a {
    color: #be0000;
    text-decoration: none;
}
.table-jobs tbody tr.spacer td {
    background: none;
}

.table-jobs tbody tr td:nth-child(1) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.table-jobs tbody tr td:nth-child(5) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media(min-width:768px)
{
    .table-jobs thead th {
        padding: 10px 25px;
        font-size: 24px;
    }
    .table-jobs tbody tr td {
        font-size: 22px;
    }
}

/* partners */
.partners-box-item { background-color: #FFF;height: 500px;border: 1px solid #e1e1e1; padding:20px; margin-bottom: 30px; }
.partners-box-item .partners-box-item-topbar { background-color: #be0000; width:82%; height:15px;     margin: 0 auto; top: -28px; position: relative; }
.partners-box-item .partners-box-item-figure {text-align: center; margin-bottom:45px;}
.partners-box-item .partners-box-item-figure img {
    width: 192px;
    height: 192px;
    border-radius: 96px;
    -webkit-border-radius: 96px;
    -moz-border-radius: 96px;
    border: 3px solid #be0000;
}
.partners-box-item .partners-box-item-header {font-size:24px; font-weight:700; color:#be0000;}
.partners-box-item .partners-box-item-button {width:70px;height:28px; background-color:#be0000;font-size:18px;position:relative; bottom:0;color:#FFF;text-align:center;line-height: 32px;top:436px;}

/*.page-id-22 .site-content {
    background-color: #FFF;
}*/

.factory-box img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.contactus-box .contactus-box-address {
    margin-bottom: 20px;
}
.contactus-box .contactus-box-address .contactus-box-address-name {
    font-size: 24px;
    font-weight: 700;
    color: #be0000;
    text-align:center;
}
.contactus-box .contactus-box-address .contactus-box-address-detail {
    font-size: 20px;
    font-weight: 700;
    color: #252525;
    text-align:center;
}

.contactus-box iframe {
    width: 100%;
    /*    height: auto;*/
    /*    margin-bottom: 20px;*/
}

.contactus-box img {
    width: 100%;
    height: auto;
    /*    margin-bottom: 20px;*/
}

@media (min-width: 1200px) {
    .contactus-box .contactus-box-address .contactus-box-address-name {
        font-size: 30px;
    }
    .contactus-box .contactus-box-address .contactus-box-address-detail {
        font-size: 24px;
    }
    .contactus-box iframe,
    .contactus-box img {
        width: 364px;
        height: 242px;
    }
}
.aboutus-banner {
    background-color: #FFF;
    float: left;
    width: 100%;
    padding: 15px 0;
}
.aboutus-banner,
.aboutus-banner .aboutus-banner-header {
    text-align: center;
}
@media (min-width: 1200px) {
    .aboutus-banner {
        text-align: initial;
    }
    .aboutus-banner .aboutus-banner-header {
        text-align: right;
        line-height: 76px;
    }
}

.page-id-24 .site-content,
.page-id-97 .site-content {
    padding-bottom: 0;
}

.page-id-24 .site-content .entry-header,
.page-id-97 .site-content .entry-header {
    padding-left: 20px;
}
@media (min-width: 1200px) {
    .page-id-24 .site-content .entry-header,
    .page-id-97 .site-content .entry-header {
        width: 1200px;
        margin: 0 auto;
        padding-left: 0;
    }
}
.page-id-24 .site-content .entry-footer,
.page-id-97 .site-content .entry-footer {
    display: none;
    margin-top: 0;
    padding-top: 20px;
    background-color: #8a0116;    
}

.contactus-fullbar {
    margin-top: 20px;

    /* fallback */
    background-color: #50010d;
    background: url(images/linear_bg_2.png);
    background-repeat: repeat-x;

    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#50010d), to(#8a0116));

    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #8a0116, #50010d);

    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #8a0116, #50010d);

    /* IE 10 */
    background: -ms-linear-gradient(top, #8a0116, #50010d);

    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #8a0116, #50010d);

    /*    background-color: #8a0116;*/
}
.contactus-fullbar .contactus-fullbar-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFF;
    padding: 20px 10px;
    padding-bottom: 0;
}

.contactus-fullbar .contactus-fullbar-form .layout-control-group {
    width:100%;
}

@media (min-width: 1200px) {
    .contactus-fullbar .contactus-fullbar-title {
        padding: 20px 80px;
    }
    .contactus-fullbar .contactus-fullbar-form {
        padding: 0 100px;
    }

    .contactus-fullbar .contactus-fullbar-form .layout-control-group {
        width:50%;
    }
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group {
    float: left;
    /*width:50%;*/
    padding: 0 10px;
    margin-bottom: 30px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group:nth-of-type(5),
.contactus-fullbar .contactus-fullbar-form .layout-control-group:nth-of-type(8) {
    width: 100%;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group:nth-of-type(9) {
    width: 100%;
    text-align: right;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .layout-control-label {
    display: none!important;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .input_control {
    max-width: initial;
    width: 100%;
    height: 40px;
    background-color: transparent!important;
    font-size: 22px!important;
    color: #FFF!important;
    padding-left: 20px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group textarea.input_control {
    min-height: 109px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .contactus-fullbar-form-btn-submit {
    width: 122px;
    height: 33px;
    background: url('css/images/contactus/btn-submit.png');
    background-position: 0 0;
    text-indent: -9999px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .contactus-fullbar-form-btn-submit:hover {
    background-position: 0 -46px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .contactus-fullbar-form-btn-cancel {
    width: 112px;
    height: 33px;
    background: url('css/images/contactus/btn-cancel.png');
    background-position: 0 0;
    text-indent: -9999px;
    margin-left: 10px;
}
.contactus-fullbar .contactus-fullbar-form .layout-control-group .contactus-fullbar-form-btn-cancel:hover {
    background-position: 0 -46px;
}
/* woocommerce */
/*#site-navigation,
#social-navigation {
    display: none;
}*/

@media(max-width: 768px) {
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        width: 100%;
    }
	.aboutus-banner-imgages img {
        width: 18.5%;
    }
	footer .site-info .site-info-certificate{ display:none;}
	footer .site-info .site-info-copyright {
	width:100%;
    }
    #top .social-top,.site-info-copyright-text,#Certificate-banners { display: none; }
    /*#product-all div .products .product, #product-all div .products .product.first, #product-all div .products .product.last, #product-all #main div .products .product.last{
        margin: 0 0 1.2em;
        width: 48%;
    }*/
}
.woocommerce .products ul, 
.woocommerce ul.products {
    margin: 0;
}
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    margin-bottom: 15px;
}
.woocommerce ul.products li.product .button,
.woocommerce-result-count,
.woocommerce-ordering {
    display: none; 
}

body:not(.tax-product_cat):not(.single-product) .woocommerce-breadcrumb {display: none; }

.woocommerce .woocommerce-breadcrumb {
    float: right;
    margin-right: 20px;
    color: #be0000;
    font-size: 20px;
}
.woocommerce .woocommerce-breadcrumb li {
    display: inline;
    font-weight: 700;
}
.woocommerce .woocommerce-breadcrumb li:after {
    content : ' > ';
    color: #707070;
}
.woocommerce .woocommerce-breadcrumb li:last-child:after {
    content : none;
}
.woocommerce .woocommerce-breadcrumb li a {
    color: #707070;
    font-weight: 400;
}
.woocommerce .woocommerce-breadcrumb li a:hover {
    color: #be0000;
}
.woocommerce ul.products li.product a img {
    margin-bottom: 0;
}
.woocommerce ul.products li.product a h3 {
    font-size: 24px;
    color: #252525;
    padding: 0;
    padding-top: 10px;
    text-align: center;
}
.woocommerce ul.products li.product a .onsale,
.woocommerce ul.products li.product a .price {
    display: none;
}
.woocommerce ul.products li.product a:hover h3 {
    color: #be0000;
}

.woocommerce nav.woocommerce-pagination {
    text-align: right;
}
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
    margin-right: 10px;    
}

.woocommerce nav.woocommerce-pagination ul li a, 
.woocommerce nav.woocommerce-pagination ul li span {
    background-color: #898989;
    padding:0;
    color: #FFF;
    text-align: center;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, 
.woocommerce nav.woocommerce-pagination ul li a:hover, 
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #be0000;
    color: #FFF;
}
@media (min-width: 1200px) {
    .woocommerce .site-content #container #content {
        width: 1200px;
        margin: 0 auto;
    }
    .woocommerce ul.products li.product a:first-child {
        width: 250px;
        /*height: 160px;*/
        display: block;
        overflow: hidden;
    }
}
.widget-news .row {
    margin: 30px 0;
}
.widget-news .row a img {
    /*width: 300px;*/
    width: 100%;
    height: auto;
}
@media (min-width: 1200px) {
    .widget-news .row .col-xs-4 {
        width: 320px;
    }
    .widget-news .row .col-xs-8 {
        width: 860px;
    }
    .widget-news .row .col-xs-4 a {
        width: 300px;
        height: 200px;
        display: block;
        overflow: hidden;
    }
}
.widget-news .row a h3 {
    margin-bottom: 10px;
    color: #252525;
}
.widget-news .row:hover a h3 {
    color: #be0000;
}
.widget-news .row .widget-news-item-desc {
    padding-left: 10px;
    font-size: 22px;
    color: #707070;
    height: 93px;
    overflow: hidden;
}
.widget-news .row:hover .widget-news-item-desc {
    color: #252525;
}

/*.post-job .post-job-header .entry-title {
    margin-bottom: 0;
}*/
@media (min-width: 1200px) {
    .post-job .post-job-detail {
        padding: 0 100px;
        font-size: 22px;
    }
/*    .widget-news .row a img {
        width: 300px;
        height: 200px;
    }*/
}
.post-job .post-job-detail .post-job-detail-label,
.product-detail-label {
    font-weight: 700;
    color: #252525;
}
.post-job .post-job-detail .post-job-detail-value,
.product-detail-value {
    color: #707070;
}
.post-job .post-job-detail .clearfix .post-job-detail-value {
    padding-left: 35px;
}

.post-job .post-job-footer,
.post-news-footer {
    margin-top: 20px;
}
.post-job .post-job-footer a,
.post-news-footer a {
    color: #707070;
}
.post-job .post-job-footer a:hover,
.post-news-footer a:hover {
    color: #be0000;
}

.product-detail-title {
    font-size: 30px;
    font-weight: 700;
    color: #be0000;
    margin-bottom: 10px;
}

.product-detail-categoryname {
    font-size: 30px;
    font-weight: 700;
    color: #be0000;
    margin-bottom: 10px;
    text-align: center;
}
.onsale {
    display: none;
}
.ad-gallery .ad-image-wrapper {
    width: 100%!important;
}

.product_gallery .lazy-load {
    display: none!important;
}
.product_gallery .ad-image-wrapper .slide-ctrl , 
.product_gallery .ad-image-wrapper .icon_zoom{
    display: none!important;
}
.ad-gallery .ad-back {
    width: 23px;
}
.product_gallery .ad-nav .ad-back, .product_gallery .ad-nav .ad-forward {
    display: block!important;
}
.product_gallery .ad-gallery .ad-nav .ad-thumbs {
    margin-left: 23px!important;
    margin-right: 23px!important;
}

footer.site-footer {
    margin-bottom: 60px;
}
ul.footer-app {
    background: url('css/images/all/app-bg.png') repeat-x;
    width: 100%;
    height: 60px;
    position: fixed;
    z-index:999;
    bottom: 0;
    /*left: 0;*/
}
.footer-app-form {
    background: url('css/images/all/app-bg-active.png') repeat-x;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 60px;
    padding: 13px 5px;
    display: none;
}
.footer-app-form input {
    width: 80%;
}
.footer-app-form button {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0; 
    margin-left: 5px;
    margin-top: -3px;
    background-image: url('css/images/all/icon-search.png');
}
.woocommerce ul.products li.product a img {
	max-width: 300px;
    margin-left: auto;
    margin-right: auto
}
ul.footer-app li {
    display: inline-block;
    line-height: 60px;
    text-align: center;
    width: 19%;
}
ul.footer-app li.active {
    background: url('css/images/all/app-bg-active.png') repeat-x;
    cursor: pointer;
}

ul.footer-app li a {
    line-height: 60px;
    padding: 18px 0;
}
ul.footer-app li a:hover {
    cursor: pointer;
}
ul.footer-app li.active a {
    background: none;
}
#map-canvas {
	position:relative;
        margin: 0px;
        padding: 0px;
	left:30px;
	height: 380px;
	width: 550px; 
}
#pano { 
	position:relative;
	left:650px;  
	height: 380px; 
	width: 550px; 
	top:-380px;
	margin-bottom:-380px;
}
@media screen and (min-width: 768px) {
    footer.site-footer {
        margin-bottom: 0;
    }
    ul.footer-app {
        display: none;
    }
}
@media screen and (max-width: 782px) {
    html #wpadminbar {
        min-width: 295px;
    }
	#map-canvas {
		margin-left:auto !important;
		margin-right:auto !important;
		position:relative;
		padding: 0px;
		height: 380px;
		width: 90% !important; 
		left:0 !important;
	}
	#pano { 
		margin-left:auto;
		margin-right:auto;
		position:relative;  
		height: 380px; 
		width: 90% !important; 
		top:0 !important;
		margin-bottom:0 !important;
		left:0 !important;
	}
	.widget-news .row a img{
		margin-top:60%;
	}
}