/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */

.carousel {  
  overflow: hidden;
  width: 100%;
  margin-bottom: 30px;
  padding: 0px 20px;
}
.carousel .direction{ 
  position: absolute;
  top: 50%;
  width: 100%;
}
#wrapper-top .sub-container {
  max-width: 1840px;
  margin: 0 auto;
}
.carousel .carousel-item img{ height: auto;}

.carousel .carousel-item .caption {
  color: #212529;
  bottom: 9%;
  left: 3%;
}
.carousel .carousel-item .caption .slide-text {
  padding: 40px;
  background-color: #212529;
}
.carousel .carousel-item .caption .slide-text .slidertext1 {
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
  font-weight: 500;  
}
.carousel .carousel-item .caption .slide-text .slidertext2 {
  font-size: 38px;
  line-height: 48px;
  font-weight: 600;  
  padding: 10px 0px;
  color: #ffffff;  
}
.carousel .carousel-item .caption .slide-text .slidertext3 {  
  color: #ffffff;
}
.carousel .carousel-item .caption .slide-text a.sliderbutton{
  padding: 12px 40px;
  margin-top: 20px;
}
.carousel .carousel-control.left, .carousel .carousel-control.right {
  top: 50%;
  bottom: auto;
}
.carousel-inner{
  margin: 0px;
  border-radius: 5px;
}
.carousel .carousel-item figure{
  margin: 0px;
}
.carousel .carousel-item figure a{ display: inline-block;}
.carousel-control{
  width: 5%;
}
.carousel-indicators{
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
}
.carousel-indicators li{
  background-color: #ffffff;
  border: none;
  width: 15px;
  height: 15px;
}
.carousel-indicators .active{
  width: 35px;
  height: 15px;
  background-color: var(--primary-color);
  border: none;
}
.carousel-control .icon-prev, .carousel-control .icon-next{
  width: 40px;
  height: 40px;
}
.carousel .carousel-control.left, .carousel .carousel-control.right{
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.carousel .carousel-control.left{ left: -50px;}
.carousel .carousel-control.right{ right:  -50px;}
.carousel:hover .carousel-control.right{ right: 15px;}
.carousel:hover .carousel-control.left{ left: 20px;}
.carousel .carousel-control .icon-next::before{
  content: "";
  height: 40px;
  width: 40px;
  display: inline-block;
  vertical-align: top;
  -webkit-mask-image: url(../images/right-arrow.svg);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(../images/right-arrow.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: #d3d3d3;
  mask-size: 18px;
  font-size: 18px;
  -webkit-mask-size: 18px;  
} 
.carousel .carousel-control .icon-prev::before{
  content: "";
  height: 40px;
  width: 40px;
  display: inline-block;
  vertical-align: top;
  -webkit-mask-image: url(../images/left-arrow.svg);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(../images/left-arrow.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: #d3d3d3;
  mask-size: 18px;
  font-size: 18px;
  -webkit-mask-size: 18px;  
}
.carousel .carousel-control .icon-next:hover::before, 
.carousel .carousel-control .icon-prev:hover::before {
  background-color: #212529;
}
.carousel .carousel-control .icon-prev{ left: 10px;}
.carousel .carousel-control .icon-next { right: 10px;}
.cphomeslider-container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
}
.cphomeslider {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.cphomeslider li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.cphomeslider img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
}

.cphomeslider .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 1em;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0,0,0, .6);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.cphomeslider_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 52%;
  left: 0;
  opacity: 0.7;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../cphomeslider.gif") no-repeat left top;
  margin-top: -45px;
}

.cphomeslider_nav:active {
  opacity: 1.0;
}

.cphomeslider_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

@media (max-width: 1199px) {
  .carousel .carousel-item .caption .slide-text { padding: 20px; }
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 25px; line-height: 32px; padding: 3px 0px; }
}

@media (max-width: 991px) {  
  .carousel .carousel-item .caption .slide-text .slidertext1 { font-size: 12px; line-height: 18px; }  
}

@media (max-width: 767px) {
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 22px; line-height: 28px; padding: 10px 0px 15px 0px; }
  .carousel .carousel-item .caption .slide-text .slidertext3 { display: none; }
  .carousel .carousel-item .caption .slide-text a.sliderbutton { padding: 3px 20px; margin-top: 0px; }
}

@media (max-width: 600px) {
  .carousel .carousel-item .caption .slide-text { padding: 10px; }
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 16px; line-height: 22px; padding: 5px 0px 10px 0px; }
}

@media (max-width: 480px) {
  .carousel .carousel-item .caption { 
    left: 0%; 
    bottom: 0%; 
    top: 0%; 
    background-color: #212529; 
    height: 100%; 
    display: flex; 
    align-items: center;
  }
  .carousel .carousel-item .caption .slide-text .slidertext1 { font-size: 11px; line-height: 12px; }
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 13px; line-height: 15px; }
  .carousel .carousel-item .caption .slide-text .slidertext3 { font-size: 12px; line-height: 15px; }
  .carousel .carousel-item .caption .slide-text a.sliderbutton { padding: 2px 8px; font-size: 12px;} 
}
