/* 縮小失敗。正在傳回未縮小的內容。
(262,31): run-time error CSS1046: Expect comma, found '248'
(262,39): run-time error CSS1046: Expect comma, found '/'
 */
.has-feedback {position: relative; padding-bottom:0; margin-bottom: 0;}
.has-feedback.has-error {-webkit-box-shadow:none; box-shadow:none;} 
.has-feedback label {padding-top:0;}
.has-feedback .form-control {padding-right: 42.5px;}
.has-feedback .form-control-feedback {
  position: absolute;
  top: 25px;
  right: 0;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
}
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
  color: #3c763d;
  text-align:right;
}
.has-success .form-control {
  border-color: #3c763d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-success .form-control:focus {
  border-color: #2b542c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
}
.has-success .input-group-addon {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #3c763d;
}
.has-success .form-control-feedback {
  color: #3c763d;
  top: 28px !important;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
  color: #8a6d3b;
}
.has-warning .form-control {
  border-color: #8a6d3b;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-warning .form-control:focus {
  border-color: #66512c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
}
.has-warning .input-group-addon {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #8a6d3b;
}
.has-warning .form-control-feedback {
  color: #8a6d3b;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
  color: #a94442;
  text-align: right;
}
.has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-error .form-control:focus {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.has-error .input-group-addon {
  color: #a94442;
  background-color: #f2dede;
  border-color: #a94442;
}
.has-error .form-control-feedback {
  color: #a94442;
  top: 28px !important;
}
.form-control-static {
  margin-bottom: 0;
}
.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #737373;
}

.form-horizontal .has-feedback .form-control-feedback {
  top: 25px;
  right: 15px;
}

.fa-asterisk {
    font-size: smaller;
    color: rgb(0, 151, 211);
}

.form-group:after {
	display:block; content:".";
	height:0; line-height:0;
	clear:both; visibility:hidden;
}
form label {font-weight:400;}

.form-horizontal .form-group {margin-right:0 !important; margin-left:0 !important;}

#contact .form-group {padding-bottom: 0;}

.footer-bottom { background: #f5f5f5;}

.tooltip-inner {padding-right:5px;}

.main-container, .section-title, footer {display:none;}
.main-container { margin-bottom: 60px;}
.banner {
	margin-top: 81px;
	-webkit-transition: all 0.1s ease-out 0s;
	-moz-transition: all 0.1s ease-out 0s;
	-ms-transition: all 0.1s ease-out 0s;
	-o-transition: all 0.1s ease-out 0s;
	transition: all 0.1s ease-out 0s;
}

.banner .item {
    height:auto;
    max-height: 768px;
    border-bottom: 0px solid #dddddd;
}

/* owl-carousel */
.owl-theme .owl-nav .disabled {
    opacity: .5;
    cursor: default;
}
.owl-carousel, .owl-stage-outer, .owl-stage, .owl-item {height:inherit;}
.owl-item {  transition: all .3s ease-in-out; }
.owl-theme .owl-dots .owl-dot.active span {transition: unset;}
.owl-theme .owl-dots .owl-dot.active { transition: all .2s linear;}
.owl-theme .owl-dots .owl-dot.active span { background: #b8b8b8;}
#productslider .owl-dots .owl-dot.active {
    margin-right: 10px !important;
    transition: all .3s ease-in-out;
}

/* sliderbanner owl-carousel */
#sliderbanner {
    background-image: url(/images/dot.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;   
    transition: all .3s ease-in-out;
}
#sliderbanner .owl-dots {
    text-align: center;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: 10px;
    background-color: #fff;
}
#sliderbanner .owl-nav {margin-top:0;}
#sliderbanner .item {margin-bottom: 0; }

#sliderbanner .owl-prev, #sliderbanner .owl-next {
    width: 50px;
    height:70px;
    position: absolute;   
    background-color: rgba(53, 53, 53, 0.5);
    text-align: center;
    color:#fff;
    font-weight:bold;
    padding-top:20px;
}

#sliderbanner .owl-prev {left: 0;}
#sliderbanner .owl-next {right: 0;}
#sliderbanner .owl-nav [class*=owl-]:hover { background-color: rgba(53, 53, 53, 0.3);}
#sliderbanner .owl-nav [class*=owl-] {margin: 0;}

#sliderbanner .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    zoom: 1;
    margin: 0;
    padding: 5px 0 !important;
    text-align:center;
    height: 15px;
}
#sliderbanner .owl-dots span {
    border-radius: 4px;
    display: block;
    width: 8px;
    height: 8px;
    margin: 1px 10px 1px 0 ;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4) inset;
    transition:width .2s linear;
    transition-delay:0ms;
    transform-origin:left;
}

#sliderbanner .owl-dot.active > span {
    background-position: 0 0;
    background-size: 0 8px;
    background-repeat: no-repeat;
    border-radius: 4px;
    overflow:hidden;
    width:80px;
    transition-delay:.0s !important;
}
#sliderbanner .owl-dot.active > span > span {
    background-color: #000;
    border-radius: 4px;
    width: 0;
    height: 6px;
    display:block;
}
#progressBar {
    position: absolute;
    bottom: -1px;
    width: 100%;
    z-index: 100;
    display: none;
}
 #bar {
    height: 1px;
    background-color: #c5c5c5;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#announce {
    position: fixed;
    z-index: 1000;
    border-left: 0;
    border-radius: 5px;
    border: 1px solid #8a6d3b85;
    font-size: 15px;
    background-color: rgb(252 248 227 / 90%);
}

    #announce i {
        margin-right: 10px;
        margin-left: 5px;
        font-size: 18px;
        color: #c55400;
        animation: blinker 1s linear infinite;
    }

/* productslider owl-carousel */
.productslider { 
    padding-top: 30px; 
    opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 1.5s;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.productslider .owl-stage-outer { 
    max-height:418px; 
    overflow:hidden;
}
.productslider .owl-nav {
    width: 100%;
    top: 35%;
    position: absolute;
}
.productslider .owl-nav [class*=owl-] {
    margin: 0 -5px;height: auto;
    padding: 10px 0;
    font-size: 20px;
    line-height: 1;
}
.productslider .owl-nav [class*=owl-]:hover {background-color:#afafaf}
.productslider .item {padding-left: 10px; padding-top: 4px;}
.productslider .owl-prev, .productslider .owl-next {
    width: 40px;
    height: 55px;
    font-size:20px;
    position: absolute;
    background-color: rgb(165, 165, 165);
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 0;
    padding-top: 15px;
}
.productslider .owl-prev {left: 2px;}
.productslider .owl-next {right: 0;}

.productslider .owl-dots {
    text-align: center;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: 0;
}

.productslider .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    zoom: 1;
    margin: 0 2px;
    width: 15px;
}
.productslider .owl-dots span {
    border-radius: 5px !important;
    display: block;
    width: 10px !important;
    height: 10px !important;
    margin: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4) inset;
}
.productslider .owl-dot.active span {
    background: #696969 !important;
}

.section-title.style2 {margin: 10px 0 -10px; padding-top:20px; margin-top:50px;}
.container > div:first-child .section-title {}

.section-title.style2:after {
    background: #DDDDDD;
    content: "";
    display: block;
    height: 1px;
    margin-left: 20%;
    position: absolute;
    top: 48px;
    width: 60%;
    z-index: 1;
}

.section-title.style2>span {
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    width:auto;
    font-size: 28px;
    color: #929292;
    background: #f9f9f9;
}

#hot {background-color:#fff; padding:50px 0 0; width: 100%; overflow: hidden;}
#hot .row {margin-right: 4px; margin-left: 4px;}
#hot .hot_title {position: relative; padding: 25px 0 20px 0;}
#hot .hot_title>span {        
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    width: auto;
    font-size: 28px;
    color: #777777;
    background:#fff;
}
#hot .hot_title:after {
    background: #DDDDDD;
    content: "";
    display: block;
    height: 1px;    
    position: absolute;
    top: 40px;
    z-index: 1;
}
#hot .hot_contaiiner {position: relative; z-index:1; }
#hot .hot_item {
    background-color:#f4f4f4; 
    background-repeat:no-repeat;     
    -webkit-transition: all .1s cubic-bezier(.45,.05,.55,.95);
    -moz-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s ease-in-out;
    height:100%;
}
#hot .w-box {   
    width:100%;
    height:100%;
    position: relative;
    overflow: hidden;
    cursor: default;
}

#hot .hot_item .figcaption {
    text-align: center;  
    height: 100%;
    width: 100%;
    position: absolute;
    background: rgba(193, 193, 193, 0.6);
    color: #FFF;
    left: 0;
    top: auto;
    bottom: 0;
    opacity: 0;
    z-index:2;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    -webkit-transition: -webkit-transform .2s,opacity .1s .3s;
    -moz-transition: -moz-transform .2s,opacity .1s .3s;
    -o-transition: -o-transform .2s,opacity .1s .3s;
    transition: transform 0.2s, opacity 0.1s 0.3s
}

#hot .hot_item .figcaption-btn {
    width: 100%;
    top: 80%;
    position: absolute; 
    text-align: center;  
    z-index:1000;
}

#hot .hot_item h3 {font-size:13px; transform: scaleY(1.1); transform-origin: bottom center; font-weight: 600; color: #737373; line-height:1.4;} 
#hot .hot_item p { margin: 0;}
#hot .hot_item p.price {min-height:unset;}
#hot .hot_item .product-btns {position: relative; opacity:0; }
#hot .hot_item .product-btns span { display: inline-block; line-height: 3;}
#hot .hot_item .li-icon {
    background-color: #FFF;
    color: #4A3638;
    font-size: 16px;
    padding: 0;
    text-align: center;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    display: inline-block;
}

#hot .hot_item.li-icon.active, #hot .hot_item .li-icon.added, #hot .hot_item .add-fav.active .li-icon, #hot .hot_item .li-icon:hover {
    background-color: #323237;
    color: #fff;
}
#hot .thumbnail { margin-bottom: 5px; border:0; height:100%;}
#hot .flag {
    position: absolute;
    display:block;
    z-index: 10;
    padding:0;
    margin: 0;
    width: 38px;
    height:24px;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    font-weight: 500;
}
.flag.flag_1_color {background-color: #e53935;}
.flag.flag_2_color {background-color: #26a69a;}
.flag.flag_3_color {background-color: #f6aa00;}
.flag.flag_4_color {background-color: #91c246;}
.flag.flag_5_color {background-color: #2196f3;}

.promo_cate {
    height: 495px;     
    background-position: 0 0; 
    background-repeat: no-repeat; 
    background-size: auto 100%;
}
.promo_cate:nth-child(1) { background-color: #f9f3ee; }
.promo_cate:nth-child(2) { background-color: #f1f8f5; margin-top: 10px;}
.promo_cate:nth-child(3) { background-color: #eaf3fd; margin-top: 10px;}
.promo_cate .product>.add-fav { right: 15px; }

.container > div:nth-child(1) .section-title>span, .promo_cate:nth-child(1) .section-title>span { color: #fbc182;}
.container > div:nth-child(2) .section-title>span, .promo_cate:nth-child(2) .section-title>span { color: #77b4ff;}
.container > div:nth-child(3) .section-title>span, .promo_cate:nth-child(3) .section-title>span { color: #0058ae;}

#service { background-color: #fff; border-top: 1px solid #ddd;}
#service .thumbnail { padding: 40px 0 0 0; border:0;}
#service h4 { color: #767676; padding-top: 5px;}
#service .col-xs-4:not(:last-child) {border-right: 1px solid #ddd;} 
#service .col-xs-6:not(:last-child) { border-right: 1px solid #ddd;
}

.shake {
	-webkit-animation-name: spaceboots;
	-webkit-animation-duration: 0.8s;
	-webkit-transform-origin:50% 50%;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}

@-webkit-keyframes spaceboots {
  10%, 90% {
    -webkit-transform: translate3d(-1px, 0, 0);
            transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
            transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    -webkit-transform: translate3d(-4px, 0, 0);
            transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    -webkit-transform: translate3d(4px, 0, 0);
            transform: translate3d(4px, 0, 0);
  }
}

@media (min-width: 1601px) { 
    #hot .hot_item { min-height:350px; background-position-y: 50%; background-position-x: 100%; background-size: auto 65%;}
    #hot .hot_contaiiner {width:40%; margin-left:25px; margin-top:25%;}
    #hot .hot_item p {margin-left:2px;}
}
@media (max-width: 1600px) and (min-width: 1201px) { 
    #hot .hot_item { min-height:300px; background-position-y: 50%; background-position-x: 105%; background-size: auto 60%;}
    #hot .hot_contaiiner {width:40%; margin-left:25px; margin-top:15%;}
    #hot .hot_item p {margin-left:2px;}
}

@media (min-width: 1200px) {
    #hot .hot_item h3 {font-size: 14px; transform: scaleY(1.0);}
    .productslider .item {padding-right: 2px;}
    .promo_cate:nth-child(1) { background-image: url('/images/index/cate01.png'); }
    .promo_cate:nth-child(2) { background-image: url('/images/index/cate02.png');}
    .promo_cate:nth-child(3) { background-image: url('/images/index/cate04.png');}
    #announce {        
        width: 1180px;
        margin: 5px calc((100vw - 1180px) / 2);
    }
}

@media (max-width: 1199px) {
    .productslider .item {padding-right: 10px;}
    body {background: #f9f9f9;}
    .promo_cate { background-color:#f9f9f9 !important; height: auto !important; margin-top: 0 !important; }  
    #service {margin-top:100px;}
    #announce {
        width: calc(90vw);
        margin: 5px calc(5vw);
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    #hot .hot_item { min-height:450px; background-position-y: 90%; background-position-x: 50%; background-size: auto 45%;}
    #hot .hot_contaiiner {width:90%; margin-left:5%; margin-top:25%; text-align:center;}
}

@media (min-width: 992px) {    
    .banner {margin-top: 96px !important; height:calc(40vw); max-height:768px;}
    #hot .hot_title:after {margin-left: 30%; width: 40%;} 
}
@media (max-width: 991px) and (min-width: 768px) {    
    .banner {height:calc(40vw); max-height:768px;}
    #hot .hot_title:after {margin-left: 25%; width: 50%;}
    #hot .hot_item { min-height:300px; background-position-y: 50%; background-position-x: 102%; background-size: auto 68%;}
    #hot .hot_item h3 {font-size:13px;}
    #hot .hot_contaiiner {width:45%; margin-left:8%; margin-top:13%; }
}

@media (min-width: 768px) {    
    #sliderbanner, #sliderbanner .owl-stage-outer , #sliderbanner .item>a>img {height:calc(40vw); max-height:768px;}
    #sliderbanner .item>a>img {width:auto; margin: 0 auto;}
    #sliderbanner .owl-prev, #sliderbanner .owl-next { top: 40%;}
    #hot .hot_item .figcaption-btn {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        -webkit-transition: -webkit-transform .4s,opacity .1s .3s;
        -moz-transition: -moz-transform .4s,opacity .1s .3s;
        -o-transition: -o-transform .4s,opacity .1s .3s;
        transition: transform 0.4s, opacity 0.1s 0.3s;
    }
    #hot .hot_item:hover .figcaption-btn, #hot .w-box:hover .figcaption-btn {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transition: -webkit-transform .4s,opacity .1s;
        -moz-transition: -moz-transform .4s,opacity .1s;
        -o-transition: -o-transform .4s,opacity .1s;
        transition: transform 0.4s, opacity 0.1s;
    }
    #hot .hot_item:hover .product-btns, #hot .w-box:hover .product-btns {
        opacity: 1;   
    }
    #hot .hot_item:hover .figcaption, #hot .w-box:hover .figcaption {
        opacity: 0.8; 
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transition: -webkit-transform .2s,opacity .1s;
        -moz-transition: -moz-transform .2s,opacity .1s;
        -o-transition: -o-transform .2s,opacity .1s;
        transition: transform 0.2s, opacity 0.1s;
    }
}
@media (max-width: 767px) {   
    .banner, #sliderbanner, #sliderbanner .item>a>img {height:calc(78.91vw);}
    #hot .hot_item .figcaption {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transition: -webkit-transform .2s,opacity .1s;
        -moz-transition: -moz-transform .2s,opacity .1s;
        -o-transition: -o-transform .2s,opacity .1s;
        transition: transform 0.2s, opacity 0.1s;
    }
    #hot .hot_item .figcaption-btn {opacity: 1; }
    #hot .hot_item .product-btns { opacity: 1; }
    #hot .hot_title:after {margin-left: 20%; width: 60%;}
    #hot .hot_item { min-height:350px; background-position-y: 50%; background-position-x: 100%; background-size: auto 68%;}
    #hot .hot_contaiiner {width:60%; margin-left:8%; margin-top:13%; }
    #hot .hot_item h3 {font-size:15px;}
    #sliderbanner .owl-prev, #sliderbanner .owl-next { top: 35%;}
    .section-title.style2 span { font-size: 27px;}    
    .promotion { margin-left: 3px;}
    #service h4 { font-size: 15px;}
}

@media (max-width: 580px) {
    #sliderbanner .owl-prev, #sliderbanner .owl-next { display: none;}
    .section-title.style2 {line-height: 30px; font-weight: normal;}
    .section-title .container > span { display:block; }
    #hot .hot_contaiiner {width:50%; margin-left:7%; margin-top:14%; }
}

@media (max-width: 559px) {    
    .main-container { margin-bottom: 0;}    
    .productslider .owl-stage-outer { max-height:none; }
    .productslider .owl-stage {width: 100% !important; float: left;}
    .productslider .owl-nav, .productslider .owl-dots {display:none; }
    .section-title.style2 { margin-top: 0;}
    .section-title.style2 span { font-size: 22px;}
    .container > div:first-child .section-title {margin-top: 40px;}
    .section-title.style2:after { top: 36px; width: 94%; margin-left: 3%;} 
    .productslider { padding-top: 25px;}
    #service { padding-top: 0;}
    #service h4 { font-size: 13px;}
    #service .thumbnail {margin-bottom:0; padding-top:20px;}
    #service .col-xs-4:not(:last-child) {border-right: 1px solid #ddd;} 
    #hot .hot_item h3 {font-size:14px;}
}

@media (max-width: 480px) {    
    #sliderbanner .owl-dot.active > span {width:65px;}
    #hot .hot_item { min-height:300px; background-position-y: 50%; background-position-x: 100%; background-size: auto 60%;}
    #hot .hot_item h3 {font-size:13px;}
    #hot .hot_contaiiner {width:45%; margin-left:6%; margin-top:15%; }
    .productslider .item {margin-bottom: 15px;}
    #service .col-xs-4 {padding-right: 0; padding-left: 0; }
    #service h4 { font-size: 12px;}
}

