/**
 * 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 {    
  margin: 0 0;
  overflow: hidden;
  width: 100%;  
}
.carousel .direction{ 
  position: absolute;
  top: 50%;
  width: 100%;
}
.carousel .carousel-item img{ height: auto;}

.carousel .carousel-item .caption {
  color: #0f1111;
  top: 19%;
  left: 14%;
}
.carousel .carousel-item .caption .slide-text .slidertext1{
  font-size: 16px;
  color: #2b67ca;
  line-height: 22px;
  font-weight: 500;
  text-transform: capitalize;  
}
.carousel .carousel-item .caption .slide-text .slidertext2{
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
  text-transform: capitalize;
  color: #0f1111;
  margin: 10px 0px;
}
.carousel .carousel-item .caption .slide-text .slidertext3{
  font-size: 20px;
  line-height: 30px;
  text-transform: capitalize;  
  color: #fd3535;
  font-weight: 500;
}
.carousel .carousel-item .caption .slide-text .slidertext4{
  font-size: 28px;
  line-height: 38px;
  text-transform: capitalize;
  margin-top: 0px;
  color: #fd3535;
  font-weight: 600;
}
.carousel .carousel-item .caption .slide-text a.sliderbutton{
  margin-top: 20px;
  width: auto;
  padding: 12px 35px;
}
.carousel .carousel-control.left, .carousel .carousel-control.right {
  top: 50%;
  bottom: auto;
}
.carousel-inner{
  margin: 0px;
  border-radius: 0px;
}
.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: 13px;
  height: 13px;
}
.carousel-indicators .active{
  width: 35px;
  height: 13px;
  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: 20px;}
.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: #bfbfbf;
  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: #bfbfbf;
  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: #222222;
}
.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: 1649px) {
  .carousel .carousel-item .caption .slide-text .slidertext2{ font-size: 42px; line-height: 52px; } 
}
@media (max-width: 1449px) {
  .carousel .carousel-item .caption { left: 9%; }
  .carousel .carousel-item .caption .slide-text .slidertext2{ font-size: 34px; line-height: 44px; } 
}
@media (max-width: 1199px) {
  .carousel .carousel-item .caption { top: 16%; }
  .carousel .carousel-item .caption .slide-text .slidertext1{ margin-bottom: 10px; } 
  .carousel .carousel-item .caption .slide-text .slidertext2{ font-size: 30px; line-height: 40px; } 
  .carousel .carousel-item .caption .slide-text .slidertext3{ font-size: 14px; line-height: 22px; margin-top: 10px; }
  .carousel .carousel-item .caption .slide-text a.sliderbutton { margin-top: 15px; }
}
@media (max-width: 991px) {  
  .carousel{ width: 100%;}
  .carousel .carousel-item .caption { top: 12%; left: 8%; }
  .carousel .carousel-item .caption .slide-text .slidertext1 { margin-bottom: 5px; }  
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 20px; line-height: 24px; margin: 5px 0px; }
  .carousel .carousel-item .caption .slide-text .slidertext3 { margin-top: 5px; }
  .carousel .carousel-item .caption .slide-text .slidertext4 { font-size: 20px; line-height: 24px;}
  .carousel .carousel-item .caption .slide-text a.sliderbutton { margin-top: 10px; }

}
@media (max-width: 767px) {
  .carousel .carousel-item .caption { left: 4%; }
  .carousel .carousel-item .caption .slide-text .slidertext1 { font-size: 12px; line-height: 14px;}
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 14px; line-height: 18px; padding-top: 0; }
  .carousel .carousel-item .caption .slide-text a.sliderbutton { margin-top: 2px; padding: 2px 10px; }
  .carousel .carousel-item .caption .slide-text .slidertext3 { font-size: 12px; line-height: 14px; }
  .carousel .carousel-item .caption .slide-text .slidertext4 { font-size: 15px; line-height: 17px; }
   
}
@media (max-width: 480px) {
  .carousel .carousel-item .caption { left: 5%; top: 8%; }  
  .carousel .carousel-item .caption .slide-text .slidertext2 { font-size: 14px; line-height: 18px; }  
  .carousel .carousel-item .caption .slide-text .slidertext3 { display: none; }
  .carousel .carousel-item .caption .slide-text .slidertext4 { display: none; }
}
