/**
 * 2015-2021 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-2021 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 .bonbanners-icons{
  animation: icon-animate 2s 0s ease-in-out infinite;
  transition: 2s;
  opacity: 1;
}

#bonbanners a .banner-inner {
  position: absolute;
  left: 0;
  top: 55%;
  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: 35px;
  font-weight: 300;
  margin: 0 0 40px;
  color: #3a3a3a;
}

#bonbanners a .banner-inner h4 {
  font-size: 25px;
  font-weight: 200;
  margin: 0 0 5px;
  color: #3a3a3a;
}

#bonbanners a .banner-inner span {
  padding: 15px 38px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  background-color: #33a5c1;
  border-radius: 30px;
  text-shadow: 4px 3px 4px rgba(0, 0, 0, 0.22);
  font-size: 18px;
  border: 2px dashed #ffffff;
  border-spacing: 10px;
  box-shadow: 0 0 0 3px #33a5c1;
}

#bonbanners a span:hover {
  background: #5BB7CD;
  box-shadow: 0 0 0 3px #5BB7CD;
  animation: hover-2 850ms 0s linear infinite;
}
#bonbanners a span:hover:before{
  transition-duration: .5s;
  box-shadow:none;
}

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

#bonbanners a .banner-inner h3,
#bonbanners a .banner-inner h4,
#bonbanners a .banner-inner p {
  color: #ffffff;
  text-shadow: 1px 0 1px #ffffff;
}

#bonbanners a .banner-inner span {
  text-shadow: none;
}

#bonbanners a .bonbanners-icons{
  display: none;
  position: absolute;
  width: 80px;
  opacity: 0;
}

#bonbanners a .bonbanners-icons.first{
  top: 60px;
  left: 20px;
  width: 100px;
}

#bonbanners a .bonbanners-icons.second {
  top: 50%;
  left: 50%;
}

#bonbanners a .bonbanners-icons.third {
  bottom: 60px;
  left: 40px;
  width: 60px;
}

@keyframes icon-animate {
    0%   {transform: rotate(0deg);}
    50%  {transform: rotate(-60deg);}
    100% {transform: rotate(0deg);}
}

@keyframes hover-2 {
  0% {
    border: 2px dashed #ffffff;
  }
  25%{
    border: 2px dotted #ffffff
  }
  50% {
    border: 2px dashed #ffffff;
  }
  75%{
    border: 2px dotted #ffffff
  }
  100% {
    border: 2px dashed #ffffff;
  }
}

@media screen and (min-width: 1441px) and (max-width: 1780px){
  #bonbanners a .banner-inner h3 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 22px;
  }
  #bonbanners a .banner-inner p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  #bonbanners a .banner-inner span{
    padding: 12px 20px;
  }

  #bonbanners a .bonbanners-icons.first{
    top: 52px;
    width: 80px;
  }

  #bonbanners a .bonbanners-icons.second {
    left: 46%;
    width: 66px;
  }

  #bonbanners a .bonbanners-icons.third {
    width: 47px;
  }

}

@media screen and (min-width: 1280px) and (max-width: 1440px){
  #bonbanners a .banner-inner h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 21px;
  }
  #bonbanners a .banner-inner p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  #bonbanners a .banner-inner span{
    padding: 12px 20px;
  }

  #bonbanners a .bonbanners-icons.first{
    width: 58px;
  }

  #bonbanners a .bonbanners-icons.second {
    width: 50px;
  }

  #bonbanners a .bonbanners-icons.third {
    bottom: 41px;
    width: 41px;
  }
}

@media screen and (min-width: 1280px) {
  #bonbanners a .bonbanners-icons {
    display: block;
  }
}

@media screen and (min-width: 992px) and (max-width: 1280px) {
  #bonbanners a .banner-inner {
    padding-left: 20px;
  }
  #bonbanners a .banner-inner h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 15px;
  }
  #bonbanners a .banner-inner p {
    font-size: 12px;
    margin-bottom: 8px;
  }

  #bonbanners a .banner-inner span{
    padding: 8px 18px;
  }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
  #bonbanners a .banner-inner {
    padding-left: 15px;
    max-width: 200px;
  }
  #bonbanners a .banner-inner h3 {
    margin: 3px 0 0;
    font-size: 16px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 13px;
  }
  #bonbanners a .banner-inner p {
    display: none;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  #bonbanners li {
    padding: 0 15px;
  }
  #bonbanners a .banner-inner {
    max-width: 180px;
    padding-left: 12px;
  }
  #bonbanners a .banner-inner h3 {
    font-size: 15px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 12px;
  }
  #bonbanners a .banner-inner p {
    display: none;
  }
}

@media screen and (min-width: 481px) and (max-width: 575px) {
  #bonbanners li {
    margin-bottom: 20px;
    padding-right: 0;
    padding-left: 0;

  }
  #bonbanners a .banner-inner h3 {
    margin-top: 8px;
    font-size: 26px;
  }
  #bonbanners a .banner-inner h4 {
    font-size: 21px;
  }
  #bonbanners a .banner-inner p {
    font-size: 13px;
  }
  #bonbanners a .banner-inner span {
    padding: 10px 20px;
  }
}



@media (max-width: 480px) {
  #bonbanners li {
    margin-bottom: 20px;
    padding-right: 0;
    padding-left: 0;
  }

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

  #bonbanners a .banner-inner h4 {
    font-size: 17px;
  }

  #bonbanners a .banner-inner {
    padding: 0 31px;
    text-align: center;
    max-width: 240px;
  }

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

  #bonbanners a .banner-inner span {
    padding: 4px 18px;
    margin-top: 15px;
    font-size: 13px;
  }
}


@media (max-width: 575px) {
  #bonbanners {
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  #bonbanners ul {
    margin-left: 0;
    margin-right: 0;
  }
}