/**
 * 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: 14px 0 40px 0;
  overflow: hidden;
}

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

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

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

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

#bonbanners p {
  font-size: 15px;
}

#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 .2s linear;
}

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

#bonbanners a .banner-inner {
  position: absolute;
  left: 0;
  top: 50%;
  padding-left: 90px;
  z-index: 2;
  transform: translate(0, -50%);
  text-align: left;
}

#bonbanners a .banner-inner p {
  color: #ffffff;
  width: max-content;
  margin-bottom: 0;
}

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

#bonbanners a .banner-inner h3 {
  font-size: 40px;
  font-weight: normal;
  margin: 0 0 15px;
  color: #545454;
  max-width: 65%;
  text-align: left;
  line-height: 1.3;
}

#bonbanners a .banner-inner h4 {
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 35px;
  color: #3A3A3A;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
}

#bonbanners a .banner-inner span {
  padding: 17px 32px;
  font-weight: normal;
  white-space: inherit;
  font-size: 20px;
  border: none;
  transition: 0.5s;
  background: #3a3a3a;
  border: 1px solid #3a3a3a;
  color: #fff;
  letter-spacing: 0.5px;
  display: inline-block;
}

#bonbanners a span:hover {
  background: transparent;
  color: #3a3a3a;
}

#bonbanners a:before,
#bonbanners a:after {
  pointer-events: none;
}
@media (min-width: 768px) and (max-width: 1880px) {
  #bonbanners a .banner-inner span {
    padding: calc(3px + (17 - 3) * ((100vw - 991px) / (1880 - 991))) calc(8px + (32 - 8) * ((100vw - 768px) / (1880 - 768)));
  }
  #bonbanners a .banner-inner {
    padding-left: calc(8px + (90 - 8) * ((100vw - 768px) / (1880 - 768)));
  }
  #bonbanners a .banner-inner h3 {
    font-size: calc(17px + (40 - 17) * ((100vw - 768px) / (1880 - 768)));
    margin: 0 0 calc(0px + (15 - 0) * ((100vw - 768px) / (1880 - 768)));
  }
  #bonbanners a .banner-inner h4 {
    font-size: calc(10px + (20 - 10) * ((100vw - 768px) / (1880 - 768)));
    margin: 0 0 calc(5px + (33 - 5) * ((100vw - 768px) / (1880 - 768)));
  }
  #bonbanners a .banner-inner span {
    font-size: calc(10px + (20 - 10) * ((100vw - 320px) / (1880 - 320)));
  }
}
@media(min-width: 991px) and (max-width: 1200px) {
  #bonbanners a .banner-inner span {
    padding: 6px 15px;
  }
}
@media (max-width: 991px) {
  #bonbanners a .banner-inner span {
    padding: 3px 8px;
  }
}
@media (max-width: 768px) {
  #bonbanners a .banner-inner span {
    font-size: calc(11px + (20 - 11) * ((100vw - 320px) / (768 - 320)));
  }
  #bonbanners a .banner-inner {
    padding-left: calc(8px + (90 - 8) * ((100vw - 320px) / (768 - 320)));
  }
  #bonbanners a .banner-inner h4 {
    font-size: calc(11px + (20 - 11) * ((100vw - 320px) / (768 - 320)));
    margin: 0 0 calc(5px + (33 - 5) * ((100vw - 320px) / (768 - 320)));
  }
  #bonbanners a .banner-inner h3 {
    font-size: calc(20px + (40 - 20) * ((100vw - 320px) / (768 - 320)));
    margin: 0 0 calc(0px + (15 - 0) * ((100vw - 320px) / (768 - 320)));
  }
  #bonbanners a .banner-inner span {
    padding: 9px 26px;
  }
}
@media (max-width: 576px) {
  #bonbanners a .banner-inner span {
    padding: 5px 21px;
  }
}
@media (min-width: 320px) and (max-width: 768px) {
  #bonbanners .col-xs-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  #bonbanners li {
    margin-bottom: 20px;
    padding: 0 25px;
  }
}