/**
 * 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: 5px 0 30px 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: 12px;
}

#bonbanners ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 0 0;
}

#bonbanners ul li {
    padding: 10px;
}

#bonbanners .banner-list .banner-item:nth-child(1) {
    grid-area: 1 / 1 / 2 / 3;
}

/*#bonbanners .banner-list .banner-item:nth-child(1) .banner-inner:before{*/
/*    width: 130%;*/
/*}*/
#bonbanners .banner-list .banner-item:nth-child(2) {
    grid-area: 1 / 3 / 3 / 4;
}

#bonbanners .banner-list .banner-item:nth-child(3) {
    grid-area: 1 / 4 / 2 / 5;
}

/*#bonbanners .banner-list .banner-item:nth-child(3) .banner-inner{*/
/*    top: 18%;*/
/*}*/

#bonbanners .banner-list .banner-item:nth-child(4) {
    grid-area: 2 / 1 / 3 / 2;
}

#bonbanners .banner-list .banner-item:nth-child(5) {
    grid-area: 2 / 2 / 3 / 3;
}

#bonbanners .banner-list .banner-item:nth-child(6) {
    grid-area: 2 / 4 / 3 / 5;
}

#bonbanners .banner-list .banner-item:nth-child(1) .banner-inner,
#bonbanners .banner-list .banner-item:nth-child(2) .banner-inner,
#bonbanners .banner-list .banner-item:nth-child(3) .banner-inner,
#bonbanners .banner-list .banner-item:nth-child(4) .banner-inner,
#bonbanners .banner-list .banner-item:nth-child(5) .banner-inner {
    right: 0;
}

#bonbanners .banner-list .banner-item:nth-child(6) .banner-inner {
    left: 0;
}

#bonbanners .banner-list .banner-item:nth-child(2) .banner-inner h3 {
    font-size: 26px;
}

#bonbanners .banner-list .banner-item:nth-child(2) .banner-inner {
    top: 30%;
}

#bonbanners .banner-list .banner-item:nth-child(3) .banner-inner {
    top: 53%;
}

#bonbanners .banner-list .banner-item:nth-child(3) .banner-inner h3 {
    font-size: 29px;
}

#bonbanners .banner-list .banner-item:nth-child(4) .banner-inner {
    top: 50%;
}

#bonbanners .banner-list .banner-item:nth-child(4) .banner-inner h3 {
    font-size: 29px;
}

#bonbanners .banner-list .banner-item:nth-child(5) .banner-inner h3 {
    margin-bottom: 0;
    font-size: 29px;
}

#bonbanners .banner-list .banner-item:nth-child(5) .banner-inner {
    top: 50%;
}

#bonbanners .banner-list .banner-item:nth-child(6) .banner-inner {
    top: 35%;
    text-align: left;
    padding: 15px 30px 20px 20px;
}

#bonbanners .banner-list .banner-item:nth-child(6) .banner-inner h3 {
    font-size: 29px;
    margin-bottom: 10px;
}

#bonbanners .banner-list .banner-item:nth-child(6) .banner-inner p {
    font-size: 17px;
    margin-bottom: 0;
}

.banner-inner-right {
    align-self: flex-end;
    text-align: end;
}

#bonbanners a {
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    color: #333333;
    display: block;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#bonbanners .bonbanners-btn {
    position: absolute;
    left: 35px;
    margin-bottom: 0;
}

#bonbanners a img {
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: all .2s linear;
}

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

#bonbanners a .banner-inner {
    text-align: right;
    position: absolute;
    top: 50%;
    padding: 20px 30px 25px 20px;
    z-index: 2;
    transform: translate(0, -50%);
    width: 60%;
    background: rgba(0 ,0, 0 , 0.6);
}


#bonbanners a .banner-inner p {
    font-size: 18px;
    color: white;
    font-weight: 200;
    margin: 0;
}

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

#bonbanners a .banner-inner h2 {
    font-weight: 200;
    font-size: 25px;
    color: #FFFFFF;
    margin-bottom: 15px;
}

#bonbanners a .banner-inner h3 {
    font-size: 36px;
    font-weight: 300;
    color: #CF9B67;
    text-transform: capitalize;
    font-family: "Marck Script";
    margin-bottom: 20px;
}

#bonbanners a .banner-inner h4 {
    font-size: 48px;
    font-weight: normal;
    margin: 0 0 5px;
    color: #fff;
}

#bonbanners a .banner-inner span {
    background: linear-gradient(
            90deg,
            #f39324,
            #ffd350 50%,
            #f39324
    ) 100% / 200%;
    color: #fff;
    text-shadow: 2px 2px 3px #00000040;
    text-transform: uppercase;
    display: inline-block;
    font-size: 15px;
    padding: 13px 32px;
    border-radius: 44px;
    margin-top: 5px;
    transition: all .3s cubic-bezier(.4, 0, 1, 1) 0s;
    box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 4px;
}

#bonbanners a span:hover {
    box-shadow: none;
    text-shadow: none;
    background: linear-gradient(
            90deg,
            #f39324,
            #ffd350 50%,
            #f39324
    ) 0% / 200%;
}

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

@media (min-width: 1200px) and (max-width: 1500px) {
    #bonbanners a .banner-inner h3 {
        font-size: 27px;
    }

    #bonbanners a .banner-inner h2 {
        font-size: 20px;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) .banner-inner h3 {
        font-size: 22px;
    }

    #bonbanners a .banner-inner p {
        font-size: 15px;
    }

    #bonbanners .banner-list .banner-item:nth-child(3) .banner-inner h3 {
        font-size: 23px;
    }

    #bonbanners a .banner-inner h3 {
        margin-bottom: 10px;
    }

    #bonbanners a .banner-inner h2 {
        margin-bottom: 10px;
    }

    #bonbanners .banner-list .banner-item:nth-child(4) .banner-inner h3 {
        font-size: 24px;
    }

    #bonbanners a .banner-inner {

        padding: 15px 20px 15px 15px;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    #bonbanners a .banner-inner h2 {
        font-size: 20px;
    }

    #bonbanners a .banner-inner h2 {
        margin-bottom: 10px;
    }

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

    #bonbanners a .banner-inner p {
        font-size: 15px;
    }

    #bonbanners a .banner-inner {
        padding: 10px 20px 15px 15px;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) .banner-inner h3 {
        font-size: 20px;
    }

    #bonbanners .banner-list .banner-item:nth-child(3) .banner-inner h3 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    #bonbanners .banner-list .banner-item:nth-child(4) .banner-inner h3 {
        font-size: 23px;
    }

    #bonbanners .banner-list .banner-item:nth-child(5) .banner-inner h3 {
        font-size: 24px;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner {
        top: 35%;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner h3 {
        font-size: 23px;
    }
}

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

    #bonbanners ul li {
        padding: 5px;
    }

    #bonbanners ul li:first-child {
        padding-top: 0;
    }

    #bonbanners ul {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    #bonbanners .banner-item:nth-child(1) {
        grid-area: 1 / 1 / 2 / 3;
    }

    #bonbanners .banner-item:nth-child(4) {
        grid-area: 2 / 1 / 3 / 2;
    }

    #bonbanners .banner-item:nth-child(5) {
        grid-area: 2 / 2 / 3 / 3;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) {
        grid-area: 3 / 1 / 5 / 2;
    }

    #bonbanners .banner-list .banner-item:nth-child(3) {
        grid-area: 3 / 2 / 4 / 3;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) {
        grid-area: 4 / 2 / 5 / 3;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    #bonbanners a .banner-inner {
        padding: 15px 25px 15px 15px;
    }

    #bonbanners a .banner-inner h2 {
        margin-bottom: 10px;
    }

    #bonbanners a .banner-inner h3 {
        margin-bottom: 15px;
    }

    #bonbanners a .banner-inner h2 {
        font-size: 20px;
    }

    #bonbanners a .banner-inner h3 {
        font-size: 26px;
    }

    #bonbanners a .banner-inner p {
        font-size: 15px;
    }

    #bonbanners a .banner-inner h3 {
        margin-bottom: 12px;
    }

    #bonbanners .banner-list .banner-item:nth-child(4) .banner-inner h3 {
        font-size: 24px;
    }

    #bonbanners .banner-list .banner-item:nth-child(5) .banner-inner h3 {
        font-size: 20px;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) .banner-inner h3 {
        font-size: 24px;
    }

    #bonbanners .banner-list .banner-item:nth-child(3) .banner-inner h3 {
        font-size: 24px;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner {
        top: 35%;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner h3 {
        font-size: 27px;
    }
}

@media (min-width: 320px) and (max-width: 576px) {
    #bonbanners a .banner-inner {
        padding: 8px 15px 5px 10px;
    }

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

    #bonbanners a .banner-inner h2 {
        font-size: 14px;
        margin-bottom: 6px;
    }

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

    #bonbanners .banner-list .banner-item:nth-child(4) .banner-inner h3 {
        font-size: 15px;
    }

    #bonbanners .banner-list .banner-item:nth-child(4) .banner-inner p {
        font-size: 10px;
    }

    #bonbanners .banner-list .banner-item:nth-child(5) .banner-inner h3 {
        font-size: 14px;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) .banner-inner h3 {
        font-size: 15px;
    }

    #bonbanners .banner-list .banner-item:nth-child(2) .banner-inner p {
        font-size: 10px;
    }

    #bonbanners .banner-list .banner-item:nth-child(3) .banner-inner h3 {
        font-size: 15px;
        margin-bottom: 1px;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner {
        top: 56%;
        text-align: left;
        padding: 8px 10px 5px 10px;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner h3 {
        font-size: 15px;
        margin-bottom: 1px;
    }

    #bonbanners .banner-list .banner-item:nth-child(6) .banner-inner p {
        font-size: 10px;
    }
}