/**
 * 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)
 */

#bonbannersmenu {
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}
#bonbannersmenu.boxed-banners a .banner-inner h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

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

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

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

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

#bonbannersmenu ul {
  margin: 0 -6px;
}
#bonbannersmenu li {
  padding: 0 6px;
}


#bonbannersmenu a {
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  color: #333333;
  display: block;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 5rem;
  background-color: rgb(59, 145, 255); /*rgba(59, 145, 255, .2);*/
  border-radius: 10px;
}

#bonbannersmenu a img {
  width: auto;
  max-height: 540px;
  transform: scale(.9) rotate(-3deg);
  transform-origin: center;
  transition: all .2s linear;
}

#bonbannersmenu a:hover img {
  transform: scale(1.05);
}

#bonbannersmenu a .banner-inner {
position: absolute;
  right: 10%;
  top: 50%;
  z-index: 2;
  transform: translate(6%, 55%);
  text-align: center;
  background: rgba(250,250,250,.2);
  backdrop-filter: blur(5px);
  padding: 8px 12px 0 12px;
}

#bonbannersmenu a .banner-inner p {
  color: #232323;
  margin-bottom: 12px;
}

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

#bonbannersmenu a .banner-inner h3 {
  font-size: 23px;
  font-weight: normal;
  margin: 0 0 6px;
  padding: 0 20px;
  color: #232323;
}

#bonbannersmenu a .banner-inner h4 {
  font-size: 21px;
  font-weight: 300;
  margin: 0 0 7px;
  color: #232323;
}

#bonbannersmenu a .banner-inner span {
  margin-top: 5px;
  letter-spacing: 1px;
  display: inline-block;
  font-family: 'Popins', sans-serif;
  background-color: #2d6cbd;
  border-color: #2d6cbd;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.14);
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 32px;
  white-space: inherit;
  transition: all .2s linear;
  font-size: 15px;
  color: #fff;
}

#bonbannersmenu a span:hover {
  box-shadow: none;
}

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

@media screen and (max-width: 1199px) {
  #bonbannersmenu a .banner-inner h4 {
    font-size: 16px;
  }

  #bonbannersmenu a .banner-inner h3 {
    font-size: 19px;
  }

  #bonbannersmenu p {
    font-size: 13px;
  }

  #bonbannersmenu a .banner-inner {
    padding-left: 25px;
  }
}

@media screen and (max-width: 991px) {
  #bonbannersmenu a .banner-inner h4 {
    font-size: 19px;
  }

  #bonbannersmenu a .banner-inner {
    padding-left: 20px;
  }

  #bonbannersmenu a .banner-inner h3 {
    font-size: 21px;
  }

}
