/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.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/afl-3.0.php
* 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.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.header-banner-bottom{
    background-color: var(--bottomMenuColor);
    height: 60px;
}

.header-banner-container{
    display: flex;
    background-color: #e91313;
    padding: 10px 0;

}

.header-banner-container > .container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.header-banner-container > .container:after{
    display: none;
}

.header_banner_element, .header_banner_element > a{
    display: flex;
    align-items: center;
    position: relative;
}
.header_banner_element{
    padding: 5px;
    transition: background-color 0.4s;
}



.header_banner_element .text{
    margin-left: 15px;
}

/*.header_banner_element img{*/
/*max-width: 40px !important;*/
/*    height: auto;*/
/*}*/

.header_banner_element .img-div{
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.4s;
}

.tvcms-slider-offerbanner-wrapper{
    margin-bottom: 30px !important;
}

@media(min-width: 767px) {

    .header_banner_element:hover .text p{
        color: #e91313;
    }
    .header_banner_element:hover{
        background-color: white;

    }
    .container > .header_banner_element:nth-child(1):hover .img-div {
        background-image: url("/modules/pp_top_banner/views/img/8.png") !important;
    }

    .container > .header_banner_element:nth-child(2):hover .img-div {
        background-image: url("/modules/pp_top_banner/views/img/4.png") !important;
    }

    .container > .header_banner_element:nth-child(3):hover .img-div {
        background-image: url("/modules/pp_top_banner/views/img/2.png") !important;
    }

    .container > .header_banner_element:nth-child(4):hover .img-div {
        background-image: url("/modules/pp_top_banner/views/img/6.png") !important;
    }
}
/*@media (min-width: 768px) {*/
/*    .header_banner_element:after {*/
/*        background: white;*/
/*        content: "";*/
/*        display: inline-block;*/
/*        height: 10px;*/
/*        margin-left: 15px;*/
/*        position: relative;*/
/*        width: 1px;*/
/*    }*/
/*    .header_banner_element:last-child:after {*/
/*      display: none;*/
/*    }*/
/*}*/
.header_banner_element .text p{
    margin-bottom: 0;
    text-transform: none;
    font-size: 16px;
    color: white;
    font-weight: bold;
    line-height: normal;
    transition: color 0.4s;
}


@media (max-width: 768px){
    .header-banner-container .container{
        display: flex;
        justify-content: unset;
    }
    .header_banner_element .text p{
        margin-bottom: 0;
        text-transform: none;
        font-size: 12px;
        color: white;
        font-weight: bold;
        line-height: normal;
        transition: color 0.4s;
        text-wrap: nowrap;
    }

    .header-banner-container .bx-controls{
        display: none;
    }

    .header_banner_element .text{
        margin-left: 5px;
    }
}

/*.header_banner_element .text p{*/
/*    font-size: 12px;*/
/*    margin-bottom: 0;*/
/*}*/

/*@media (max-width: 768px){*/
/*    .header_banner_element .text p{*/
/*        font-size: 10px;*/
/*        line-height: normal;*/

/*    }*/

/*    !*.header_banner_element .text p{*!*/
/*    !*    font-size: 10px;*!*/
/*    !*    line-height: normal;*!*/
/*    !*}*!*/

/*    .header_banner_element img{*/
/*        max-width: 20px;*/
/*    }*/

/*    !*.header-banner-container{*!*/
/*    !*        position: relative;*!*/
/*    !*        width: 100%;*!*/
/*    !*        height: 30px; *!*/
/*    !*        overflow: hidden;*!*/
/*    !*    padding: 5px 0;*!*/
/*    !*}*!*/

/*    !*.header_banner_element{*!*/
/*    !*    display: flex;*!*/
/*    !*    align-items: center;*!*/
/*    !*    justify-content: center;*!*/
/*    !*}*!*/

/*    !*.header-banner{*!*/
/*    !*    display: none;*!*/
/*    !*}*!*/

/*    .header_banner_element{*/
/*    height: 30px;*/
/*    }*/

/*    .header_banner_element .text {*/
/*        margin-left: 0;*/
/*    }*/

/*    .header_banner_element{*/
/*        position: absolute;*/
/*        width: 100%;*/
/*        text-align: center;*/
/*        opacity: 0;*/
/*        z-index: 1;*/
/*        top: 0;*/
/*        animation: fadeInOut 9s infinite;*/
/*    }*/


/*    .header_banner_element:nth-child(1) {*/
/*        animation-delay: 0s;*/
/*    }*/

/*    .header_banner_element:nth-child(2) {*/
/*        animation-delay: 3s;*/
/*    }*/

/*    .header_banner_element:nth-child(3) {*/
/*        animation-delay: 6s;*/
/*    }*/


/*}*/



@keyframes fadeInOut {
    0% {
        opacity: 0;
        z-index: 1;
    }
    10% {
        opacity: 1;
        z-index: 2;
    }
    30% {
        opacity: 1;
        z-index: 2;
    }
    40% {
        opacity: 0;
        z-index: 1;
    }
    100% {
        opacity: 0;
        z-index: 1;
    }
}