/**
* 2007-2025 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-2025 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.
*/

ul.level_1 {
    display: flex;
    border-bottom: 2px solid;
}
.sbs_navigation li {
    margin-right: 2rem;
}
ul.level_1 li a {
    color: white;
    border-bottom: 2px solid transparent;
    padding: 1rem 0;
    display: block;
    margin: 0;
    position: relative;
    top: 2px;
}
ul.level_1 li.active a, ul.level_1 li:hover a {
    border-color: #F79E1B;
}

/*** subnavi ***/
div#sbsnavigation {
    margin-top: 0rem;
}
.subnavigation {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow: auto;
}
.subnavigation .subnavi-item {
    flex: 0 0 auto;
}

.subnavigation a img {
    display: block;
    margin: auto;
    width: auto;
    padding-bottom: .5rem;
}

.subnavigation a {
    display: block;
    text-align: center;
    padding: 1rem;
    color: white;
    font-family: "body" ;
}

.hasactive .subnavi-item.active a:hover img,
.hasactive .subnavi-item a img {/* opacity: .4; */ filter: grayscale(1);}

.hasactive .subnavi-item.active a {
    opacity: 1;
    color: #F79E1B;
}

.hasactive .subnavi-item.active a:hover img,
.hasactive .subnavi-item.active a img { filter:grayscale(0); }

/*** subnavi mobile ***/
body:has(#sbsnavigation.mobile) #language-selector-label.language-selector-wrapper {
    display: none;
}

div#sbsnavigation.mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: #353535;
    z-index: 99;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 1rem 0;
    display: none;
    margin: 0;
}

#menu_mobile_icon i {
    font-size: 2rem;
}

.mobile ul.level_1 {    flex-direction: column; margin-top:2rem }
.mobile .sbs-navigation-mobile-content {
    display: flex;
    flex-direction: column;
}
.mobile .sbs-navigation-mobile-content > .level_1 {
    flex-shrink: 0;
}
.sbs-navigation-languages {
    display: none;
}
.mobile .sbs-navigation-languages {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-top: auto;
    padding: 1rem 0;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid #8f8f8f;
}
.mobile .sbs-navigation-languages a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem;
    color: white;
    text-transform: uppercase;
}
.mobile .sbs-navigation-languages a.active,
.mobile .sbs-navigation-languages a:hover,
.mobile .sbs-navigation-languages a:focus-visible {
    color: #F79E1B;
    text-decoration: underline;
}
.mobile .subnavigation {
    display: flex;
    align-items: flex-start;
    position: absolute;
    top: 0;
    flex-direction: column;
    background: black;
    width: 100vw;
    overflow: auto;
    height:100vh;
}
@supports (background: -webkit-named-image(i)) {
        .mobile .subnavigation {
           height: calc(100vh - 6rem);
        }
}

.mobile ul.level_1 li {margin: 0;}

.mobile .subnavigation .subnavi-item img {
    max-width: 100px;
    margin: 0 1rem 0 0;
}

.mobile ul.level_1 li a {
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
}
.mobile .subnavigation .subnavi-item a > span {
    display: flex;
    align-items: center;
}

.mobile .subnavigation a:after, .mobile ul.level_1 li a:after {
    content: "\e5cc";
    font-family: 'Material Icons';
    font-size: 3rem;
    display: block;
    right: 1rem;
    position: relative;
}

.mobile .subnavigation .subnavi-item a, .mobile ul.level_1 li a {
    font-size: 1.5rem;
    display: flex!important;
    align-content: center;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
}

#menu_mobile_icon {
    cursor: pointer;
    position: absolute;
    top: 1rem;
    z-index: 999;
    right: 1rem;
    top: 5rem;
}
.close_submenu {
    /* position: absolute; */
    right: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    padding: 00;
    border-bottom: 1px solid;
    align-items: center;
    padding: 1rem 0;
}
.close_submenu span {
    font-size: 1.2rem;
}
.close_submenu i {
    font-size: 2rem;
}

#menu_mobile_icon {
    display: block;
    width: 1.5rem; top: 2.3rem;
    text-align: center;
}
.menu_button_line {
    display: block;
    background: white;
    margin: .4rem 0;
    width: 100%;
    height: 3px;
    transition: all 0.5s ease-in-out;
}
#menu_button_line_1.opened {
    background: white;
    transform: rotate(45deg) scalex(1.3);
    transform-origin: 10px;
}

#menu_button_line_2.opened {
    opacity: 0;
}

#menu_button_line_3.opened {
    background: white;
    transform: rotate(-45deg) scalex(1.3);
    transform-origin: -5px;
}

@media screen and (max-width: 768px) {

    /**** mobile  elements ***/
    .box-headerh6 {
    	display: flex;
        flex-wrap: wrap;
    }
    .col-logo {
    	order: 1;
    	flex: 1 0 100% ;
    }
    .col-info {
    	order: 0;
    	flex: 0 0 34%;
    }
    .col-menu {
        flex: 0 0 55%;
    }
    body .box-headerh6 .header-logo { text-align:left; padding: 0 0 20px; }

    #menu_button_line_2.opened, #menu_button_line_1.opened, #menu_button_line_3.opened {
        top: -1.5rem;
        position: relative;
        right: 0.2rem;
    }

}
