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

#bonbanners {
  margin-bottom: 30px;
  overflow: hidden;
}

#bonbanners ul {
  margin-bottom: 0;
}

#bonbanners ul li {
  margin-bottom: 20px;
}

#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 {
  transform: scale(1);
  transition: all .2s linear;
}

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

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

#bonbanners p.h2 {
  font-weight: 300;
  margin-bottom: 0;
  color: #3a3a3a;
  line-height: 150%;
  text-transform: none;
}

#bonbanners p.h1 {
  font-weight: 400;
  color: #3a3a3a;
  line-height: 150%;
  text-transform: none;
}

#bonbanners p.h3 {
  font-size: 15px;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 150%;
  text-transform: none;
}            

#bonbanners .btn-primary {
  padding-left: 10px;
  padding-right: 10px;
}

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

@media screen and (min-width: 1881px ) {
  #bonbanners .banner-inner {
    padding-left: 50px;
  }

  #bonbanners p.h2 {
    font-size: 25px;
  }

  #bonbanners p.h1 {
    font-size: 35px;
  }

  #bonbanners p.h3 {
    margin-bottom: 30px;
  }

  #bonbanners .btn-primary {
    min-width: 149px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

@media screen and (max-width: 1880px) {
  #bonbanners .banner-inner {
    padding-left: calc(15px + (50 - 15) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonbanners p.h2 {
    font-size: calc(15px + (25 - 15) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonbanners p.h1 {
    font-size: calc(17px + (35 - 17) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonbanners p.h3 {
    margin-bottom: calc(10px + (30 - 10) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonbanners .btn-primary {
    min-width: calc(100px + (149 - 100) * ((100vw - 320px) / (1880 - 320)));
    padding-top: calc(10px + (16 - 10) * ((100vw - 320px) / (1880 - 320)));
    padding-bottom: calc(10px + (16 - 10) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media screen and (min-width: 768px ) {
  #bonbanners p.h1 {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px ) {
  #bonbanners p.h3 {
    display: none;
  }

  #bonbanners p.h1 {
    margin-bottom: 10px;
  }
}