/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */

#bonbanners {
  margin-top: 30px;
}

#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;
}

#bonbanners a .banner-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px;
}
#bonbanners a .banner-inner h3 {
  font: 400 25px/30px "Open Sans", sans-serif;
  margin-top: 35px;
}
#bonbanners a .banner-inner h4 {
  font: 300 21px/25px "Open Sans", sans-serif;
  margin-bottom: 20px;
}
#bonbanners a .banner-inner span {
  padding: 9px 15px;
  display: inline-block;
  border: 1px solid #ddd;
  font: 400 14px/18px "Open Sans", sans-serif;
  transition: all 0.3s linear 0s;
  color: #333;
}
#bonbanners a:hover span{
  border: 1px solid #999;
  color: #333;
}
#bonbanners a:before,
#bonbanners a:after {
  pointer-events: none;
}

#bonbanners a:before {
  background: rgba(200, 200, 200, 0.3) none repeat scroll 0 0;
  content: "";
  height: 150px;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -100%, 0px);
  -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -100%, 0px);
  transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -100%, 0px);
  -webkit-transition: -webkit-transform 0.7s linear 0s;
  transition: transform 0.7s linear 0s;
  width: 200%;
}

#bonbanners a:after {
  background-image: -webkit-linear-gradient(120deg, rgba(100, 100, 100, 0.15), rgba(255, 255, 255, 0));
  background-image: linear-gradient(-30deg, rgba(100, 100, 100, 0.15), rgba(255, 255, 255, 0));
  background-repeat: repeat-x;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  z-index: 1;
}

#bonbanners a:hover:before {
  -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 530%, 0px);
  -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 530%, 0px);
  transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 530%, 0px);
}

#bonbanners a:hover:after {
  opacity: 1;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #bonbanners a .banner-inner h3 {
    margin-top: 7px;
    font-size: 21px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #bonbanners a .banner-inner {
    padding: 20px;
  }
  #bonbanners a .banner-inner h3 {
    margin: 3px 0 0;
    font-size: 18px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 16px;
    margin: 0 0 12px;
  }
  #bonbanners a .banner-inner span {
    padding: 6px 12px;
  }
}

@media (max-width: 767px) {
#bonbanners li {
  margin-bottom: 30px;
}
}

@media (max-width: 480px) {
  #bonbanners a .banner-inner h3 {
    margin-top: 8px;
  }
}