.ecommbanners .htmlcontent {
    display: grid;
}

.ecommbanners li {
    width: 100%;
    height: 100%;
    padding: 0px;
}

.ecommbanners figure {
    margin: 0px;

}

li.htmlcontent-item-1 figure {
    height: 100%;
}

.ecommbanners img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.htmlcontent-item-3 {
    grid-row: span 2;
}

div#ecommbanners_displayBanner ul.htmlcontent {
    margin: 0px;
    display: block;
    padding: 0px;
}

div#ecommbanners_displayBanner ul.htmlcontent p {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    padding: 0px;
    margin: 0px;
    /*font-family: "ITC Avant Garde Gothic Pro";*/
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.005em;
    text-align: center;
    /*color: #4C7C00;*/
    color: #FFFFFF;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

div#ecommbanners_displayBanner ul.htmlcontent p:first-child {
    transform: translateY(-50%);
}

div#ecommbanners_displayHome {
    max-width: 1140px;
    margin: 65px auto 0 auto;
}

div#ecommbanners_displayBanner {
    position: relative;
    /* background: #F098AD; */
    background: #000000;
}

body.hide_ecommbanners div#ecommbanners_displayBanner {
    display: none;
}

#ecommbanners_displayHome.ecommbanners figure {
    position: relative;
}

#ecommbanners_displayHome .item-html a {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: -0.005em;
    color: #8C8C8C;
    text-decoration: underline;
    margin-top: 17px;
    display: block;
}

#ecommbanners_displayHome .item-html p {
    margin: 0px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
}

#ecommbanners_displayHome .item-html p:first-child {
    margin: 0px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000000;
}

#ecommbanners_displayHome .item-html.onlytext h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    max-width: 275px;
    color: #000000;
    margin-bottom: 25px;
}

#ecommbanners_displayHome li.htmlcontent-item-1 .item-html {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 100%;
    text-align: left;
    padding-right: 50px;
}

h2.item-title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    text-align: center;
    color: #282828;
    margin-bottom: 9px;
}

#ecommbanners_displayHome .item-html p {
    color: black;
    margin: 0px;
}

.ecommbannerstitle {
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    margin: 40px 0px 20px;
}

.products.ecommbanners_products .product {
    width: 50%;
    display: flex;
    padding: 0px 15px;
}

.products.ecommbanners_products {
    display: flex;
    flex-wrap: wrap;
}


h3.item-title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    text-align: center;
    color: #282828;
    margin-bottom: 9px;
}

li.htmlcontent-item-3,
li.htmlcontent-item-4 {
    margin-top: 78px;
    margin-bottom: 46px;
}

#ecommbanners_displayHome li.htmlcontent-item-4 .item-html p {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    display: block;
    align-items: center;
    color: #000000;
    margin-top: 14px;
}


#ecommbanners_displayHome li.htmlcontent-item-3 .item-html.onlytext p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    text-align: center;
    letter-spacing: 0.01em;
    color: #000000;
    text-transform: uppercase;
}

div#ecommbanners_displayBanner ul.htmlcontent {
    width: 100%;
    min-height: 35px;
    margin: 0 auto;
    padding: 0px 25px 0 5px;
    overflow: hidden;
}

div#ecommbanners_displayBanner .item-html.onlytext {
    position: relative;
    overflow: hidden;
    min-height: 35px;
}

div#ecommbanners_displayBanner .close_ecommbanners {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 11px;
    height: 11px;
}
div#custom-text p {
    font-size: 14px;
}



@media (max-width: 991px) {
    .ecommbanners .htmlcontent {
        gap: 0px !important;
    }
}

@media (max-width: 767px) {
    .ecommbanners .htmlcontent {
        display: flex;
        flex-direction: column;
    }

    .ecommbanners li {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    #ecommbanners_displayHome li.htmlcontent-item-1 .item-html {
        position: initial;
        width: 100%;
        padding: 0px 15px;
        transform: none;
    }

    .ecommbanners .htmlcontent li:nth-child(1) {
        order: 2;
    }

    .ecommbanners .htmlcontent li:nth-child(2) {
        order: 1;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .ecommbanners .htmlcontent li:nth-child(3) {
        order: 4;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    #ecommbanners_displayHome .item-html p {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        letter-spacing: -0.005em;
        color: #000000;
    }

    .ecommbanners .htmlcontent li:nth-child(4) {
        order: 3;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
                margin-bottom: 15px;
        margin-top: 37px;
    }

    .ecommbanners .htmlcontent li:nth-child(5) {

        order: 4;
        margin-bottom: 25px;
    }

    #ecommbanners_displayHome li.htmlcontent-item-4 .item-html {
        margin-top: 30px;
        padding: 0px 14px;
    }

    #ecommbanners_displayHome li.htmlcontent-item-4 .item-html p {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        letter-spacing: -0.005em;
        color: #000000;
    }

    h3.item-title {
        margin-bottom: 20px;
    }

    #ecommbanners_displayHome .item-html p:first-child {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    #ecommbanners_displayHome .item-html.onlytext h2 {
        margin: 0px auto;
        text-align: center;
        margin-bottom: 25px;
    }

    #ecommbanners_displayHome .item-html a {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    div#ecommbanners_displayHome {
        max-width: 1140px;
        margin: 35px auto 0 auto;
    }

    div#ecommbanners_displayBanner ul.htmlcontent p {
        font-style: normal;
        font-weight: 300;
        font-size: 13px;
        line-height: 18px;
        text-align: center;
        letter-spacing: 0.03em;
        color: #FFFFFF;
    }

    div#ecommbanners_displayBanner ul.htmlcontent {
        width: 100%;
        margin: 0 auto;
        padding: 0px 25px 0 5px;
        overflow: hidden;
    }
    div#ecommbanners_displayBanner .close_ecommbanners {
        top: 9px;
    }
    .products.ecommbanners_products {
 		padding: 0px 15px;
	}
}

#ecommbanners_displayHome .item-html a:hover {
    font-weight: bold;
}