/**
 * 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;
    display: flex;
}
#bonbannersmenu .bonbannersmenu-wrapper {
    display: grid;
    cursor: auto;
}
#bonbannersmenu ul {
    margin-bottom: 0;
}
#bonbannersmenu a {
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
}
#bonbannersmenu a img {
    width: 101%;
    height: auto;
    transition: all 0.3s ease;
}
#bonbannersmenu a:hover img {
    transform: scale(1.03);
}
#bonbannersmenu a .banner-inner {
    position: absolute;
    z-index: 2;
}
#bonbannersmenu li a .banner-inner {
    text-align: left;
}
#bonbannersmenu .bonbannermenu_btn {
    margin: 0;
    display: inline-block;
    letter-spacing: 0.08em;
}
#bonbannersmenu .bonbannermenu_btn, #bonbannersmenu .h1 {
    color: #fff;
    position: relative;
}
#bonbannersmenu .h1 {
    font-weight: 500;
    text-transform: uppercase;
}
#bonbannersmenu .bonbannermenu_btn:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: all .3s ease;
    height: 1px;
    background: white;
}
@media screen and (any-hover: hover){
    #bonbannersmenu .bonbannermenu_btn:hover:after {
        width: 0;
        left: auto;
        right: 0;
    }
}
@media screen and (min-width: 1881px) {
    #bonbannersmenu .bonbannersmenu-wrapper {
        gap: 30px;
    }
    #bonbannersmenu .bonbannermenu_btn {
        font-size: 18px;
        line-height: 22px;
    }
    #bonbannersmenu .h1 {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 14px;
    }
    #bonbannersmenu a .banner-inner {
        top: 24px;
        left: 18px;
    }
}
@media screen and (max-width: 1880px) {
    #bonbannersmenu .bonbannersmenu-wrapper {
        gap: calc(5px + (30 - 5) * ((100vw - 991px) / (1880 - 991)));
    }
}
@media screen and (min-width: 1200px) and (max-width: 1880px) {
    #bonbannersmenu .bonbannermenu_btn {
        font-size: calc(14px + (18 - 14) * ((100vw - 1200px) / (1880 - 1200)));
        line-height: calc(16px + (22 - 16) * ((100vw - 1200px) / (1880 - 1200)));
    }
    #bonbannersmenu .h1 {
        font-size: calc(18px + (25 - 18) * ((100vw - 1200px) / (1880 - 1200)));
        line-height: calc(20px + (30 - 20) * ((100vw - 1200px) / (1880 - 1200)));
        margin-bottom: calc(10px + (14 - 10) * ((100vw - 1200px) / (1880 - 1200)));
    }
    #bonbannersmenu a .banner-inner {
        top: calc(10px + (24 - 10) * ((100vw - 1200px) / (1880 - 1200)));
        left: calc(10px + (18 - 10) * ((100vw - 1200px) / (1880 - 1200)));
    }
}
@media screen and (min-width: 1200px){
    #bonbannersmenu {
        margin-left: 1%;
        flex: 0 0 44%;
    }
    #bonbannersmenu .bonbannersmenu-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    #bonbannersmenu {
        flex: 0 0 100%;
        margin-top: calc(5px + (10 - 5) * ((100vw - 992px) / (1200 - 992)));
    }
    #bonbannersmenu .bonbannersmenu-wrapper{
        grid-template-columns: repeat(4, 1fr);
    }
    #bonbannersmenu .bonbannermenu_btn {
        font-size: calc(14px + (16 - 14) * ((100vw - 992px) / (1199 - 992)));
        line-height: calc(14px + (22 - 14) * ((100vw - 992px) / (1199 - 992)));
    }
    #bonbannersmenu .h1 {
        font-size: calc(17px + (19 - 17) * ((100vw - 992px) / (1199 - 992)));
        line-height: calc(15px + (25 - 15) * ((100vw - 992px) / (1199 - 992)));
        margin-bottom: calc(7px + (14 - 7) * ((100vw - 992px) / (1199 - 992)));
    }
    #bonbannersmenu a .banner-inner {
        top: calc(10px + (16 - 10) * ((100vw - 992px) / (1199 - 992)));
        left: calc(10px + (16 - 10) * ((100vw - 992px) / (1199 - 992)));
    }
}
@media screen and (max-width: 991px) {
    #bonbannersmenu {display: none;}
}