/**
 * 2015-2020 Bonpresta
 *
 * Bonpresta Responsive banners
 *
 * 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-2020 Bonpresta
 *  @license   http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0)
 */

#bonbanners {
  margin: 10px 0 40px 0;
  overflow: hidden;
  flex: 0 0 24.9%;
}

#bonbanners li:nth-child(1) .banner-inner,
#bonbanners li:nth-child(2) .banner-inner,
#bonbanners li:nth-child(3) .banner-inner {
  top: 50%;
  transform: translate(0, -50%);
}


#bonbanners>ul>li {
  padding-right: 5px;
  padding-left: 5px;
}

#bonbanners.boxed-banners a .banner-inner h3 {
  font-size: 21px;
}

#bonbanners.boxed-banners a .banner-inner h4 {
  font-size: 24px;
  margin-bottom: 8px;
}

#bonbanners.boxed-banners a .banner-inner p {
  font-size: 14px;
  margin-bottom: 8px;
}

#bonbanners.boxed-banners a .banner-inner span{
  padding: 12px 20px;
}

#bonbanners ul {
  margin-bottom: 0;
}

#bonbanners a {
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  color: #333333;
  display: block;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

#bonbanners a img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: all .3s linear;
}

#bonbanners a:hover img {
  transform: scale(1.04);
}

#bonbanners a .banner-inner {
  position: absolute;
  right: 0;
  z-index: 2;
  text-align: left;
  width: 55%;
}

#bonbanners a .banner-inner p {
  color: #fff;
  margin-bottom: 0;
  line-height: 100%;
}

#bonbanners a .banner-inner p strong {
  font-weight: 500;
}

#bonbanners a .banner-inner h4 {
  font-weight: normal;
  letter-spacing: 1px;
  color: #386DAC;
  font-size: 36px;
  margin-bottom: 10px;
}

#bonbanners .banner-inner h5 span:before {
  content: '\e055';
  vertical-align: 1px;
  font-family: "bonicon";
  font-size: 14px;
  color: #FFD314;
}
#bonbanners .banner-inner h5 span.active:before {
  color: #FFD314;
  content: '\e056';
}

#bonbanners .banner-inner h5 span {
  margin-right: calc(2px + (5 - 2) * ((100vw - 320px) / (1880 - 320)));
}

#bonbanners p {
  font-size: 25px;
  font-weight: 200;
}

#bonbanners a .banner-inner h3 {
  font-weight: 300;
  color: #3a3a3a;
  font-size: 25px;
  margin-bottom: 8px;
}

#bonbanners a .banner-inner .bonbanners-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: #386DAC;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease 0s;
  color: white;
  padding: 15px 32px;
  text-shadow: 2px 1px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  display: inline-block;
  font-size: 21px;
}

#bonbanners a .bonbanners-btn:hover {
  background: #2c5789;
  box-shadow: none;
  text-shadow: none;
}

/* arrow-right button */
#bonbanners a .bonbanners-btn .arrow-right {
  position: relative;
  height: 1px;
  width: 21px;
  background-color: #fff;
  display: block;
  transition: all 0.3s ease 0s;
}
#bonbanners a .banner-inner p {
  display: flex;
}
#bonbanners a .bonbanners-btn .arrow-right:before,
#bonbanners a .bonbanners-btn .arrow-right:after {
  background-color: #fff;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  top: 0;
  right: -1px;
  width: calc(3px + (5 - 3) * ((100vw - 320px) / (1880 - 320)));
  transition: all 0.2s;
}

#bonbanners a .bonbanners-btn .arrow-right:before {
  transform-origin: top right;
  transform: rotate(40deg);
}
#bonbanners a .bonbanners-btn .arrow-right:after {
  transform-origin: bottom right;
  transform: rotate(-40deg);
}

#bonbanners a .bonbanners-btn:hover .arrow-right {
  background-color: #3a3a3a;
}
#bonbanners a .bonbanners-btn:hover .arrow-right:before,
#bonbanners a .bonbanners-btn:hover .arrow-right:after {
  background-color: #3a3a3a;
}
/* END arrow-right button */

#bonbanners a:before,
#bonbanners a:after {
  pointer-events: none;
}

#bonbanners .banner-inner h5 {
  margin-bottom: 25px;
}

#bonbanners a .banner-inner {
  padding-left: 33px;
}
@media (min-width: 576px) and (max-width: 1880px){
  #bonbanners a .banner-inner .bonbanners-btn {
    padding-left: calc(6px + (20 - 6) * ((100vw - 320px) / (1880 - 320)));
    padding-right: calc(6px + (20 - 6) * ((100vw - 320px) / (1880 - 320)));
    padding-top: calc(1px + (13 - 1) * ((100vw - 420px) / (1880 - 420)));
    padding-bottom: calc(1px + (14 - 1) * ((100vw - 420px) / (1880 - 420)));
    font-size: calc(7px + (18 - 7) * ((100vw - 320px) / (1880 - 320)));
  }
  #bonbanners a .banner-inner h3 {
    font-size: calc(9px + (25 - 9) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(7px + (8 - 7) * ((100vw - 120px) / (1880 - 120)));
  }
  #bonbanners a .banner-inner h4 {
    font-size: calc(8px + (36 - 8) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(3px + (10 - 3) * ((100vw - 320px) / (1880 - 320)));
  }
  #bonbanners .banner-inner h5 {
    margin-bottom: calc(1px + (25 - 1) * ((100vw - 320px) / (1880 - 320)));
  }
  #bonbanners a .banner-inner {
    padding-left: calc(5px + (33 - 5) * ((100vw - 320px) / (1880 - 320)));
  }
  #bonbanners p {
    font-size: calc(8px + (25 - 8) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media (max-width: 575px) {
  #bonbanners a .banner-inner {
    width: 65%;
  }
  #bonbanners a .banner-inner .bonbanners-btn {
    padding-left: calc(6px + (20 - 10) * ((100vw - 120px) / (575 - 120)));
    padding-right: calc(6px + (20 - 10) * ((100vw - 120px) / (575 - 120)));
    padding-top: calc(1px + (13 - 5) * ((100vw - 120px) / (575 - 120)));
    padding-bottom: calc(1px + (14 - 5) * ((100vw - 120px) / (575 - 120)));
    font-size: calc(12px + (18 - 12) * ((100vw - 120px) / (575 - 120)));
  }
  #bonbanners a .banner-inner h3 {
    font-size: calc(9px + (25 - 9) * ((100vw - 120px) / (575 - 120)));
    margin-bottom: calc(7px + (8 - 7) * ((100vw - 120px) / (575 - 120)));
  }
  #bonbanners a .banner-inner h4 {
    font-size: calc(8px + (36 - 8) * ((100vw - 120px) / (575 - 120)));
    margin-bottom: calc(7px + (10 - 7) * ((100vw - 120px) / (575 - 120)));
  }
  #bonbanners .banner-inner h5 {
    margin-bottom: calc(5px + (15 - 5) * ((100vw - 120px) / (575 - 120)));
  }
  #bonbanners a .banner-inner {
    padding-left: calc(10px + (100 - 10) * ((100vw - 120px) / (575 - 120)));
  }
  #bonbanners li {
    margin-bottom: 10px;
  }
  #bonbanners p {
    font-size: calc(8px + (15 - 8) * ((100vw - 120px) / (575 - 120)));
  }
}