/**
* 2015-2016 Bonpresta
*
* Bonpresta Responsive testimonials carousel
*
* NOTICE OF LICENSE
*
* This source file is subject to the General Public License (GPL 2.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/GPL-2.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade the module to newer
* versions in the future.
*
*  @author    Bonpresta
*  @copyright 2015-2016 Bonpresta
*  @license   http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0)
*/
.bontestimonials-slider {
  margin-bottom: 22px;
}

.bontestimonials-page li {
  margin-bottom: 50px;
}

.bontestimonials-page li .bontestimonial-description {
  padding: 0 35px;
}

#bontestimonials {
  text-align: center;
  position: relative;
}

#bontestimonials .bontestimonials-image {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
#bontestimonials .bontestimonials-slider {
  padding-top: 30px;
}
#bontestimonials .bontestimonial-inner {
  display: flex;
  flex-direction: column;
  align-items: start;
}
#bontestimonials .bontestimonial-inner h3 {
  color: #E8325E;
  margin-right: 13px;
  line-height: 100%;
}
#bontestimonials .products-section-title {
  margin-bottom: 0;
  z-index: 0;
}
#bontestimonials .bontestimonial-name-wrapper {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}
#bontestimonials .bontestimonial-name-wrapper h4 {
  font-size: 12px;
  line-height: 102%;
  color: #7B7F83;
}
#bontestimonials .bontestimonials-quote {
  position: absolute;
  right: 23px;
  top: -14px;
}

#bontestimonials h4 span {
  display: block;
  margin: 5px 0;
  font-size: 12px;
  color: #777;
}

#bontestimonials ul li {
  text-align: center;
}

#bontestimonials ul li .bontestimonials-image img {
  border-radius: 50%;
  display: inline-block;
  width: 76px;
  height: 76px;
  border: 2px solid #fff;
}

#bontestimonials ul li .img-border {
  border-radius: 50%;
  margin-right: 30px;
}


#bontestimonials .testimonials-description p {
  font-size: 14px;
  margin-bottom: 0;
  letter-spacing: 0.2px;
  line-height: 1.7;
  text-align: start;
}

#bontestimonials ul li .testimonials-inner h5 {
  font-weight: 700;
  margin-top: 12px;
}

#bontestimonials ul li .testimonials-inner em {
  font-style: italic;
  display: block;
}

/*#bontestimonials .content-star {*/
/*  text-align: start;*/
/*}*/

#bontestimonials .star {
  position: relative;
  width: 14px;
  overflow: hidden;
  font-size: 14px;
  font-weight: normal;
  margin: 0 1px 0 0;
  height: 16px;
  display: inline-block;
}

/*#bontestimonials div.star:after {*/
/*  content: '\e055';*/
/*  font-family: "fl-outicons";*/
/*  font-size: 14px;*/
/*  color: #FFD314;*/
/*}*/

#bontestimonials div.star.star_on:after {
  content: '\e056';
  font-family: "fl-outicons";
}

#bontestimonials div.star.star_hover:after {
  content: "\f005";
  font-family: "FontAwesome";
  display: inline-block;
  color: #ef8743;
}

#bontestimonials .horizontal-dots {
  justify-content: center;
  display: flex;

}

#bontestimonials .horizontal-dots {
  padding-bottom: 10px;
  margin-top: 0;
}

#bontestimonials .horizontal-dots li {
  margin: 0 5px;
  padding: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#bontestimonials .horizontal-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  border: 0;
  position: relative;
  background: transparent;
}

#bontestimonials .horizontal-dots li button:before {
  font-family: 'slick';
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 10px;
  width: 10px;
  content: '';
  opacity: .40;
  color: transparent;
  background: #336796;
  border-radius: 50%;
}

#bontestimonials .horizontal-dots li.slick-active button:before {
  opacity: 1;
}

#bontestimonials .bontestimonials-item {
  padding: 15px;
}

#bontestimonials .bontestimonials-wrapper {
  padding: 20px;
  box-shadow: 0 0 21px rgba(168, 167, 167, 0.15);
  border-radius: 6px;
  position: relative;
}
#bontestimonials .slick-prev,
#bontestimonials .slick-next {
  border-radius: 50%;
  border: 1px solid #c2c2c2;
  width: 36px;
  height: 36px;
  top: 57%;
  color: #3a3a3a;
  transition: all .3s ease;
  position: absolute;
  top: -27px;
}
#bontestimonials .slick-prev:before,
#bontestimonials .slick-next:before {
  font-family: swiper-icons;
  text-transform: none !important;
  letter-spacing: 0;
  text-transform: none;
  font-variant: initial;
  line-height: 1;
  transition: all .3s ease;
  font-size: 16px;
  color: #3a3a3a;
}
#bontestimonials .slick-next {
  right: 8px;
}
#bontestimonials .slick-prev {
  right: 60px;
  left: auto;
}
#bontestimonials .slick-next:before {
  content: 'next';
}
#bontestimonials .slick-prev:before {
  content: 'prev';
}
.slick-prev.slick-disabled::before, .slick-next.slick-disabled::before,
.slick-prev.slick-disabled, .slick-next.slick-disabled {
  opacity: .35;
  pointer-events: none;
}
#bontestimonials .slick-prev:hover,
#bontestimonials .slick-next:hover {
  border: 1px solid #da18477b;
}
#bontestimonials .slick-prev:hover::before, #bontestimonials .slick-prev:focus::before,
#bontestimonials .slick-next:hover::before, #bontestimonials .slick-next:focus::before {
  color: #da1847;
}

@media (max-width: 1279px) {
  .bontestimonials-slider {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  #bontestimonials .bontestimonials-image {
    flex-direction: column;
    margin-bottom: 0;
  }
  #bontestimonials .bontestimonial-inner {
    align-items: center;
    flex-direction: column-reverse;
  }
  #bontestimonials .bontestimonial-name-wrapper {
    align-items: center;
    flex-direction: column;
  }
  #bontestimonials .bontestimonial-inner h3 {
    margin: 0 0 7px 0;
  }
  #bontestimonials ul li .img-border {
    margin: 0 0 15px 0;
  }
  #bontestimonials .testimonials-description p {
    text-align: center;
    margin-bottom: 15px;
  }
  #bontestimonials .bontestimonial-name-wrapper h4 {
    margin: 0;
  }
}