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

#bonbanners.boxed-banners a .banner-inner h3 {
  /* font-size: 24px; */
  font-size: calc(18px + (24 - 18) * ((100vw - 320px) / (1880 - 320)));
  margin-bottom: 8px;
}
#bonbanners.boxed-banners a .banner-inner h4 {
  /* font-size: 21px; */
  font-size: calc(18px + (21 - 18) * ((100vw - 320px) / (1880 - 320)));
}
#bonbanners.boxed-banners a .banner-inner p {
  /* font-size: 14px; */
  font-size: calc(18px + (14 - 18) * ((100vw - 320px) / (1880 - 320)));
  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: 40px;
  z-index: 2;
  transform: translate(0, -50%);
  text-align: center;
}

#bonbanners a .banner-inner p {
  color: #3a3a3a;
  margin-bottom: 12px;
}

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

#bonbanners a .banner-inner h3 {
  font-size: calc(18px + (35 - 18) * ((100vw - 320px) / (1880 - 320)));
  font-weight: normal;
  margin: 0 0 15px;
  color: #3a3a3a;
}

#bonbanners a .banner-inner h4 {
  font-size: calc(18px + (25 - 18) * ((100vw - 320px) / (1880 - 320)));
  font-weight: 300;
  margin: 0 0 5px;
  color: #3a3a3a;
}

#bonbanners a .banner-inner span {
  background: #609e00;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  padding: 13px 32px;
  margin-top: 5px;
  transition: all .2s linear;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 4px;
}

#bonbanners a span:hover {
  box-shadow: none;
  background: #599101;
}

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

@media screen and (max-width:1024px) {
  #bonbanners a .banner-inner{
    text-align: left;
    left: -25px;
  }

  #bonbanners a .banner-inner span {
    padding: 10px 26px;
  }
}
@media screen and (max-width:767px) {

  #bonbanners {
    margin: -5px 0 20px 0;
  }

  #bonbanners a .banner-inner p {
    display: none;
  }

}
@media screen and (max-width:575px) {
  #bonbanners {
    margin: -10px 0 -10px 0;
  }
  #bonbanners ul li{
    margin-bottom: 15px;
  }
  #bonbanners a .banner-inner p {
    display: block;
  }
  #bonbanners a .banner-inner h3 {
    font-size: calc(30px + (35 - 18) * ((100vw - 320px) / (1880 - 320)));
  }
  
  #bonbanners a .banner-inner h4 {
    font-size: calc(25px + (25 - 18) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media screen and (max-width:320px) {
  #bonbanners {
    margin: -10px 0 -15px 0;
  }
}