/*
* @Author: ducth
* @Date:   2017-10-09 06:30:58
* @Last Modified by:   ducth
* @Last Modified time: 2017-11-16 00:16:11
*/

#tophomecarousel .carousel-inner,.carousel,.item,.fill {
  height:100%;
  width:100%;
  background-position:center center;
  background-size:cover;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 44px;
}
#tophomecarousel .slide-wrapper{display:inline;}
#tophomecarousel .slide-wrapper .container{padding:0px;}

/*------------------------------ vertical bootstrap slider----------------------------*/

// #tophomecarousel .carousel-inner> .item.next ,  .carousel-inner > .item.active.right{ transform: translateY(100%); -webkit-transform: translateY(100%); -ms-transform: translateY(100%);
// -moz-transform: translateY(100%); -o-transform: translateY(100%);  top: 0;left:0;}
// #tophomecarousel .carousel-inner > .item.prev ,.carousel-inner > .item.active.left{ transform: translateY(-100%); -webkit-transform: translateY(-100%);  -moz-transform: translateY(-100%);
// -ms-transform: translateY(-100%); -o-transform: translateY(-100%); top: 0; left:0;}
// #tophomecarousel .carousel-inner > .item.next.left , .carousel-inner > .item.prev.right , .carousel-inner > .item.active{transform:translateY(0); -webkit-transform:translateY(0);
// -ms-transform:translateY(0);-moz-transform:translateY(0); -o-transform:translateY(0); top:0; left:0;}
// @media all and (transform-3d), (-webkit-transform-3d) {
//   .carousel-inner > .item.next,
//   .carousel-inner > .item.active.right {
//     left: 0;
//     -webkit-transform: translate3d(-100%, 0, 0);
//     transform: translate3d(-100%, 0, 0);
// }
// .carousel-inner > .item.prev,
// .carousel-inner > .item.active.left {
//     left: 0;
//     -webkit-transform: translate3d(100%, 0, 0);
//     transform: translate3d(100%, 0, 0);
// }
// }
/* Change the direction of the transition. */
// @media all and (transform-3d), (-webkit-transform-3d) {
//   .carousel-inner > .item.next,
//   .carousel-inner > .item.active.right {
//     right: 0;
//     -webkit-transform: translate3d(-100%, 0, 0);
//     transform: translate3d(-100%, 0, 0);
//   }
//   .carousel-inner > .item.prev,
//   .carousel-inner > .item.active.left {
//     right: 0;
//     -webkit-transform: translate3d(100%, 0, 0);
//     transform: translate3d(100%, 0, 0);
//   }
// }
// @media all and (transform-3d), (-webkit-transform-3d) {
//   .carousel-inner > .item.next,
//   .carousel-inner > .item.active.right {
//     left: 0;
//     -webkit-transform: translate3d(100%, 0, 0);
//             transform: translate3d(100%, 0, 0);
//   }
//   .carousel-inner > .item.prev,
//   .carousel-inner > .item.active.left {
//     left: 0;
//     -webkit-transform: translate3d(100%, 0, 0);
//             transform: translate3d(100%, 0, 0);
//   }
// }
/*------------------------------- vertical carousel indicators ------------------------------*/
#tophomecarousel .carousel-indicators{
  position: absolute;
  /* top: 0; */
  bottom: 83px;
  margin: auto;
  height: 20px;
  right: 29px;
  left: 189px;
  width: auto;
  text-align: left;
}
#tophomecarousel .carousel-indicators li{display:inline-block; margin-bottom:5px; border: 1px solid #0077c3; background-color: white; border: none;}
#tophomecarousel .carousel-indicators li.active{    margin-bottom: 1px;
  background: #0077c3;}
  #tophomecarousel .carousel-indicators li {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    border-radius: 10px;
  }
  /*-------- Animation slider ------*/

  .animated{
   animation-duration:3s;
   -webkit-animation-duration:3s;
   -moz-animation-duration:3s;
   -ms-animation-duration:3s;
   -o-animation-duration:3s;
   visibility:visible;
   opacity:1;
   transition:all 0.3s ease;
 }
 #tophomecarousel .carousel-img{   
  display: inline-block;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
#tophomecarousel  .item img{margin:auto;visibility:hidden; opacity:0; transition:all 0.3s ease; -webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; -ms-transition:all 0.3s ease; -o-transition:all 0.3s ease;}
#tophomecarousel  .item .carousel-desc{
 color:#fff; text-align:left;padding-left: 380px;font-family: Arial;}
 #tophomecarousel  .item  h2{
  font-family: Arial;
 font-weight: 900;
 font-size: 62px;
 color: black;
 /*text-shadow: 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3;*/
 margin: 0;
 position: relative; animation-delay:1.5s;animation-duration:1s; width: 60%;}
 #tophomecarousel  .see-more{
   animation-delay:1.5s;animation-duration:1s;
 }
 #tophomecarousel  .item  p{animation-delay:2.5s;animation-duration:1s; width:50%; margin:auto;}

 #tophomecarousel  .item .fill{padding:0px 30px; display:table; }


 #tophomecarousel .item .inner-content {
  position: absolute;
  bottom: 180px;
  left: 78px;
}
.carousel-desc .see-more {
  width: 163px;
  height: 47px;
  margin-top: 30px;
  animation-delay: 1.5s;
  animation-duration: 1s;
}
@media(max-width:1366px){
	#tophomecarousel  .item .fill.img_slider{
		/*background-size: 100%!important;*/
	}
	.slider-header #tophomecarousel {
	    height: 517px;
	}
	.prod-brand .carousel .carousel-inner .item img{
		height: auto;
	}
}
@media(max-width:991px)
{
	#tophomecarousel  .item .carousel-desc , .item.item3 .carousel-desc{text-align:center;}
	#tophomecarousel  .item .carousel-desc p {width:80%;}
}
@media(max-width:768px)
{
  #tophomecarousel  .item .carousel-img img, .item.active .carousel-img img{max-height:155px;}
  #tophomecarousel  .item  h2{font-size:30px; margin-top:0px;}
  #tophomecarousel .item .carousel-desc p{width:100%; font-size:12px;}
}
@media(max-width:480px)
{
  #tophomecarousel .item  h2{font-size:30px;}
  #tophomecarousel .item .carousel-desc p{width:100%;
}
}
@media (min-width: 1200px ) and (max-width: 1400px) {
  #tophomecarousel .carousel-indicators{
    position: absolute;
    /* top: 0; */
    bottom: 30px;
    margin: auto;
    height: 15px;
    right: 46px;
    left: 110px;
    width: auto;
    text-align: left;
  }
  #tophomecarousel  .item  h2{font-family: "Pacifico";
  font-size: 36px;
  font-weight: normal;
  color: black;
  /*text-shadow: 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3;*/
  margin: 0;
  position: relative; animation-delay:1.5s;animation-duration:1s; width: 60%;    min-width: 600px;}
  #tophomecarousel  .item .inner-content{    position: absolute;
    bottom: 50px;
    left: 35px;}
    .carousel-desc .see-more {
      width: 109px;
      height: 38px;
      margin-top: 30px;
      animation-delay: 1.5s;
      animation-duration: 1s;
    }
  }

  @media (min-width: 1400px ) and (max-width: 1600px) {
  #tophomecarousel .carousel-indicators{
    position: absolute;
    /* top: 0; */
    bottom: 30px;
    margin: auto;
    height: 15px;
    right: 46px;
    left: 110px;
    width: auto;
    text-align: left;
  }
  #tophomecarousel  .item  h2{font-family: "Pacifico";
  font-size: 36px;
  font-weight: normal;
  color: black;
  /*text-shadow: 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3, 0 0 4px #0077c3;*/
  margin: 0;
  position: relative; animation-delay:1.5s;animation-duration:1s; width: 60%;    min-width: 600px;}
  #tophomecarousel  .item .inner-content{    position: absolute;
    bottom: 50px;
    left: 35px;}
    .carousel-desc .see-more {
      width: 109px;
      height: 38px;
      margin-top: 30px;
      animation-delay: 1.5s;
      animation-duration: 1s;
    }
  }
  .carousel {
    position: relative
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden
}
.carousel-inner>.item {
    position: relative;
    display: none;
    -webkit-transition: .6s ease-in-out left;
    -o-transition: .6s ease-in-out left;
    transition: .6s ease-in-out left
}
.carousel-inner>.item>a>img,
.carousel-inner>.item>img {
    line-height: 1
}
@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-inner>.item {
        -webkit-transition: -webkit-transform .6s ease-in-out;
        -o-transition: -o-transform .6s ease-in-out;
        transition: transform .6s ease-in-out;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px
    }
    .carousel-inner>.item.active.right,
    .carousel-inner>.item.next {
        left: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0)
    }
    .carousel-inner>.item.active.left,
    .carousel-inner>.item.prev {
        left: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0)
    }
    .carousel-inner>.item.active,
    .carousel-inner>.item.next.left,
    .carousel-inner>.item.prev.right {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}
.carousel-inner>.active,
.carousel-inner>.next,
.carousel-inner>.prev {
    display: block
}
.carousel-inner>.active {
    left: 0
}
.carousel-inner>.next,
.carousel-inner>.prev {
    position: absolute;
    top: 0;
    width: 100%
}
.carousel-inner>.next {
    left: 100%
}
.carousel-inner>.prev {
    left: -100%
}
.carousel-inner>.next.left,
.carousel-inner>.prev.right {
    left: 0
}
.carousel-inner>.active.left {
    left: -100%
}
.carousel-inner>.active.right {
    left: 100%
}
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: black;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    background-color: rgba(0, 0, 0, 0);
    filter: alpha(opacity=50);
    opacity: .5
}
.carousel-control.left {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x
}
.carousel-control.right {
    right: 0;
    left: auto;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x
}
.carousel-control:focus,
.carousel-control:hover {
    color: black;
    text-decoration: none;
    filter: alpha(opacity=90);
    outline: 0;
    opacity: .9
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
    margin-top: -10px
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
    left: 50%;
    margin-left: -10px
}
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
    right: 50%;
    margin-right: -10px
}
.carousel-control .icon-next,
.carousel-control .icon-prev {
    width: 20px;
    height: 20px;
    font-family: serif;
    line-height: 1
}
.carousel-control .icon-prev:before {
    content: '\2039'
}
.carousel-control .icon-next:before {
    content: '\203a'
}
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none
}
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000\9;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    border-radius: 10px
}
.carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #fff
}
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
}
.carousel-caption .btn {
    text-shadow: none
}
@media screen and (min-width: 768px) {
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next,
    .carousel-control .icon-prev {
        width: 30px;
        height: 30px;
        margin-top: -10px;
        font-size: 30px
    }
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .icon-prev {
        margin-left: -10px
    }
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next {
        margin-right: -10px
    }
    .carousel-caption {
        right: 20%;
        left: 20%;
        padding-bottom: 30px
    }
    .carousel-indicators {
        bottom: 20px
    }
}