/* ========== slider ========== */
.carousel-inner .item{
    min-height: 550px;
}
.carousel-inner .item .container{
    position: relative;
}
.item-heroBanner-01{
    background: url(../image/heroBanner_01.jpg) 50% 50%;
    background-size: cover;
}
.item-heroBanner-02{
    background: url(../image/heroBanner_02.jpg) 50% 50%;
    background-size: cover;
}
.item-heroBanner-03{
    background: url(../image/heroBanner_03.jpg) 50% 50%;
    background-size: cover;
}
.carousel-control.left,
.carousel-control.right{
    background-image: none;
    font-size: 50px;
    color: #63be45;
    text-shadow: none;
}
.carousel-caption {
    text-align: left;
    text-shadow: none;
}
.carousel-caption h1{
    color: #63be45;
    font-weight: 500;
}
.carousel-caption h3{
    color: #474747;
    font-weight: 500;
}
button.btn-readMore{
    width: 180px;
    margin-top: 20px;
}
.carousel-control{
    opacity: 1;
    width: 8%;
}
.carousel-control .icon-angle-left,
.carousel-control .icon-angle-right{
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
  margin-top: -25px;
}
.carousel-control .icon-angle-left {
    left: 0;
}
.carousel-control .icon-angle-right {
    right: 0;
}
.carousel-indicators li {
  width: 40px;
  height: 6px;
  background-color: #acacac \9;
  background-color: #acacac;
  border: none;
  margin: 0 8px;
  border-radius: 10px;
}
.carousel-indicators .active {
  width: 40px;
  height: 6px;
  background-color: #a1e147;
  margin: 0 8px;
}
@media screen and (min-width: 768px) {
  .carousel-caption {
    right: auto;
    left: 60px;
    padding-bottom: 30px;
    max-width:  470px;
    top: 115px;
  }
  .carousel-control .icon-angle-left,
  .carousel-control .icon-angle-right {
    width: 50px;
    height: 50px;
  }
}
/* ========== feature-product ========== */
.feature-product {
    margin-top: 60px;
}
h3.section-title{
	text-align: center;
  	font-weight: 500;
    margin-bottom: 25px;
}
.feature-banner-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(244,246,249,0.2);
    opacity: 0;
}
.feature-banner {
    border: 1px solid #f4f6f9;
    margin-bottom: 10px;
    position: relative;
}
.feature-banner img{
	max-width: 100%;
	width: 100%;
}
.feature-banner:hover .feature-banner-mask{
    opacity: 1;
    transition: all 0.1s ease-in-out;
}
figure.feature-item{
	padding: 28px 15px;
	text-align: center;
    background: #f4f6f9;
    position: relative;
    height: 395px;
    margin-bottom: 10px;
}
.figcaption-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244,246,249,0.85);
    border: 3px solid #8cd035;
    opacity: 0;
}
button.btn-detail{
    width: 135px;
    opacity: 0;
    margin: 10px auto 0;
    position: relative;
    z-index: 1;
    top: 70px;
}
.feature-proTitle {
    font-size: 20px;
    color: #656565;
    font-weight: 600;
    line-height: 1.2;
    margin: 5px auto;
	max-height: 48px;
    height: 48px;
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.feature-proVolume {
    font-size: 16px;
    color: #474747;
    margin: 8px auto;
    line-height: 1.2;
    max-height: 38px;
    height: 38px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.feature-proPrice{
	color: #474747;
}
.label-product{
	color: #fff;
    font-size: 14px;
	width: 55px;
	height: 74px;
	top: 20px;
    left: 20px;
	position: absolute;
	background: url(../image/label.png);
}
.label-txt{
    font-size: 21px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: -6px;
}
span.currentPrice {
    font-size:  20px;
}
span.originalPrice {
    margin-left:  10px;
    font-size:  16px;
    text-decoration: line-through;
}
figure.feature-item figcaption{
	position: absolute;
	top: 250px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    z-index: 1;
}
figure.feature-item:hover figcaption{
    top: 200px;
}
figure.feature-item:hover .figcaption-border {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; 
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}
figure.feature-item:hover button.btn-detail{
	opacity: 1;
}
#customerType-modal {
    font-size: 20px;
}

@media screen and (max-width: 1200px) {
    .carousel-inner .item {
        min-height: 450px;
    }
}
@media screen and (max-width: 1024px) {
    .carousel-inner .item {
        min-height: 350px;
    }
    figure.feature-item:hover figcaption{
        top: 250px;
        height: auto;
    }
    figure.feature-item:hover .figcaption-border{
        opacity: 0;
    }
    figure.feature-item button.btn-detail{
        display: none;
    }
}
@media screen and (max-width: 768px) {
    h3.section-title {
        margin-top: 70px;
    }
    .item-heroBanner-01{
        background: url(../image/hero-m1.jpg) 50% 50%;
        background-size: cover;
    }
    .item-heroBanner-02{
        background: url(../image/hero-m2.jpg) 50% 50%;
        background-size: cover;
    }
    .item-heroBanner-03{
        background: url(../image/hero-m3.jpg) 50% 50%;
        background-size: cover;
    }
    .carousel-inner{
        overflow: visible;
    }
    .carousel-inner .item {
        min-height: 250px;
    }
    .carousel-caption{
        bottom: auto;
        margin-top: 270px;
        right: 0;
        width: 100%;
        left: 0;
        text-align: center;
        padding: 10px 30px;
        max-width: 100%;
        top: 0;
    }
    .carousel-indicators{
        display: none;
    }
    .carousel-control.left, .carousel-control.right{
        font-size: 30px;
    }
    .carousel-control .icon-angle-left, .carousel-control .icon-angle-right {
        /*top: 130%;*/
        margin-top: -15px;
    }
    .carousel-caption h1{
        font-size: 26px;
    }
    .carousel-caption h3{
        font-size: 20px;
    }
    button.btn-readMore {
        margin-top: 5px;
    }
    .feature-product {
        margin-top: 100px;
    }
    figure.feature-item{
        padding: 20px 0px;
        height: auto;
    }
    figure.feature-item img{
        max-width: 100%;
        max-height: 140px;
    }
    figure.feature-item figcaption,
    figure.feature-item:hover figcaption {
        position: relative;
        top: auto;
    }
    .feature-proTitle {
        font-size: 16px;
        height: 38px;
        max-height: 38px;
    }
    .feature-proVolume {
        font-size: 14px;
        margin: 5px auto;
        height: 32px;
        max-height: 32px;
    }
    .label-product{
        top: 5px;
        left: 5px;
        transform: scale(0.7);
    }
}
@media screen and (max-width: 600px) {
    figure.feature-item {
        height: 295px;
    }
}
@media screen and (max-width: 320px) {
    .feature-item-outer{
        width: 100%;
    }
    figure.feature-item {
        height: 285px;
    }
}