#main-header{
    height: fit-content;
    flex-direction: column;
    box-shadow: unset!important;
}

#main-header .contMenus{
    width: 100%;
    position: relative;
    border-bottom: 1px solid #666;
}

#main-header .mainMenu{
    padding: 13px 0;
}

#main-header .logo{
    width: 75px;
    display: block;
    height: 31px;
    margin: unset;
}

#main-header .logo img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#main-header .contNav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#main-header .contNav .menu-top ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
}

#main-header .contNav .menu-top ul li{
    list-style: none;
}

#main-header .contNav .menu-top ul li a{
    font-family:"FS Emeric";
    text-decoration: none;
    color: #666666;
    font-weight: 350;
    font-size: 16px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: -0.25px;
}

#main-header .contNav .menu-top ul li.sub-menu{
    display: flex;
    align-items: center;
    gap: 8px;
}

#main-header .contNav .menu-top ul li.sub-menu::after{
    content: '';
    display: block;
    width:10px;
    height:6px;
    background: url(../icons/icon-down-select.svg )no-repeat;
    background-position: center;
}

#main-header .contNav .contUser{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#main-header .contNav .btnBuscar{
    margin-right: 24px;
    cursor: pointer;
}

#main-header .level-1 li a{
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    position: relative;
    justify-content: space-between;
    align-items: center;
    transition: all .3s linear;
}

#main-header .level-1 li.has-child a:after{
    content: '';
    display: block;
    width:10px;
    height:6px;
    background: url(../icons/icon-down-select.svg )no-repeat;
    background-position: center;
    transition: all .3s linear;
}

#main-header .level-1 li.has-child.active a:after{
    transform: rotate(180deg);
    background: url(../icons/icon-down-select-blue.svg )no-repeat;
}

#main-header .level-1 li.has-child.active a{
    color: #03F;
}

.contPage{ position: relative; }
.noScroll{ overflow: unset; }

.overlayBack{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    z-index: 10;
}

.offCanvasMenu .btnContacto,
#main-header .contNav .btnContacto{
    border-radius: 100px;
    background: #03F;
    width: fit-content;
    padding: 5px 24px;
    text-decoration: unset;
    margin-right: 36px;
}

.offCanvasMenu .btnContacto,
#main-header .contNav .btnContacto span{
    color: #FFF;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 16px */
    letter-spacing: -0.25px;
}


/*Submenu Full*/
.downMenu{
    position: relative;
    z-index: 1000000;
}

.contMenus .menu-sub{
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    width: 100%;
}

.downMenu.menu-sub li {
    list-style: none;
}

.downMenu.menu-sub > ul > li.subElem > a:first-child {
    display: none;
}

.downMenu .is-child-of-level-1{
    background-color: red;
}

.bg-anim{ z-index: -1; }

/*LEVEL 1*/
.contMenus .menu-sub ul{ padding-left: 0; }

.contMenus .menu-sub .level-2,
.contMenus .menu-sub .level-2.has-level-3{ padding: 48px 0; }

.menu-sub li{
    list-style: none;
}

.menu-sub li a{
    text-decoration: unset;
}

.contMenus .menu-sub ul.level-2:not(.has-level-3) li a{
    color: #4B4F54;
    font-family: "FS Emeric";
    font-size: 24px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%;
}

.contMenus .menu-sub ul.level-2:not(.has-level-3) li{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.contMenus .menu-sub .level-2.has-level-3 > li.downElems.active > a{
    background-color: #DAE3FF;
    color: #212529;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.25px;
    transition: all .3s linear;
}

.contMenus .menu-sub ul.level-2:not(.has-level-3) li:last-of-type{
    margin-bottom: 0;
}

.contMenus .menu-sub ul.level-2:not(.has-level-3) li:after{
    content: '';
    min-width: 16px;
    height: 14px;
    background: url(../icons/arrow-right-menu.svg) no-repeat;
    background-size: contain;
}

/*LEVEL 2 AND 3*/
.contMenus .menu-sub .level-2.has-level-3{
    display: flex;
    flex-direction: column;
    max-width: 437px;
    width: 100%;
    border-right: 1px solid #666;
    margin-bottom: 0;
    padding-right: 71px;
    position: relative;
}

.contMenus .menu-sub .level-2.has-level-3 > li > a:first-child{
    color: #4B4F54;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 350;
    line-height: 100%; /* 16px */
    letter-spacing: -0.25px;
    transition: all .3s linear;
}

.contMenus .menu-sub .level-2.has-level-3 > li > a{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 12px;
    transition: all .3s linear;
    background-color: #FFF;
    max-width: 296px;
    width: 100%;
}

.contMenus .menu-sub .level-2.has-level-3 > li > a:hover{
    background-color: #DAE3FF;
    color: #212529;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 16px */
    letter-spacing: -0.25px;
}

.contMenus .menu-sub .level-2.has-level-3 > li > a:first-child:after{
    content: '';
    min-width: 16px;
    height: 14px;
    background: url(../icons/arrow-right-menu.svg) no-repeat;
    background-size: contain;
    display: block;
}
/*CODIGO DE PRUEBAS!!!*/


/*.downElems > ul { display: none; }*/
.downElems.active > a { font-weight: bold; color: #334faa; }


/**/
/* Todos ocultos por defecto */
.contMenus .menu-sub .level-3 {
    display: none;
}

/* Mostrar solo el activo */
.contMenus .menu-sub .level-2.has-level-3 > li.active > .level-3 {
    display: block;
}


/* Todos los submenus ocultos por defecto */
.contMenus .menu-sub {
    display: none;        /* oculto por defecto */
    opacity: 0;           /* fade controlado por jQuery */
    transition: opacity .15s ease-in-out;
    position: absolute;   /* o como lo tengas en el layout */
    top: 100%;            /* ejemplo: debajo del primary */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
}

.menu-sub.active {
    opacity: 1;
}

.contMenus .menu-sub .level-2.has-level-3,
.contMenus .menu-sub .level-2 {
    display: none;
}

.menu-sub ul.active {
    display: block;
}

.contMenus .menu-sub .level-2.has-level-3 > li{
    display: flex;
    flex-direction: row;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3,
.contMenus .menu-sub .level-2.has-level-3 > li .level-3.has-level-4{
    background-color: white;
    position: absolute;
    left: calc(490px);
    top: 0;
    z-index: 1;
    max-width: 200px;
    width: 100%;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 .contInfo,
.contMenus .menu-sub .level-2.has-level-3 > li .level-3.has-level-4 .contInfo{
    padding: 50px 0;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 li a{
    color: #666;
    font-family: "FS Emeric";
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 100%;
    letter-spacing: 0.25px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 li:last-child a{ margin-bottom: 0; }

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 li a:after{
    content: '';
    min-width: 16px;
    height: 14px;
    background: url(../icons/arrow-right-gray-menu.svg) no-repeat;
    background-size: contain;
    display: block;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 li a.is_title:after {
    content: unset!important;
}

.contMenus .menu-sub .level-2.has-level-3 > li .level-3 li a.is_title{
    color: #03F;
    font-family: "FS Emeric";
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
    line-height: 120%;
    letter-spacing: 0.05px;
    margin-bottom: 20px;
}

.contMenus .menu-sub .lastLevel{
    display: flex;
    flex-direction: row;
    gap: 32.5px;
    flex-wrap: wrap;
    width: clamp(500px, 50vw, 842px);
}

.contMenus .menu-sub .lastLevel > li{
    width: clamp(100px, 20vw, 186px);
}
/*Effects*/


/*Icons*/
#main-header .wpml-ls-legacy-dropdown-click{
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: row;
}

#main-header .wpml-ls-legacy-dropdown-click:before{
    background: url(../icons/icon-world.svg) no-repeat!important;
    display: block;
    position: revert;
    transform: unset!important;
    min-width: 16px;
    height: 16px;
    background-size: contain!important;
}

#main-header .wpml-ls-native{
    color: #666;
    font-family: "FS Emeric";
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 16px */
}

#main-header .wpml-ls-legacy-dropdown-click a{
    padding: 0;
}

#main-header .wpml-ls-legacy-dropdown-click .wpml-ls-item{
    cursor: pointer;
}

#main-header .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu{
    padding: 10px;
}

.offCanvasIcon.mobileType,
.mobileType{ display: none; }

.offCanvasMenu {
    width: 200dvw;
    min-height: 100dvw;
    height: 100%;
    position: fixed;
    top: 58px;
    right: -200dvw;
    transition: all .5s ease-in-out;
    z-index: 99999;
    background-repeat: no-repeat;
    background-position: top right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    background-color: white;
    padding: 20px;
}

.offCanvasMenu.open{
     right: -100dvw;
 }

.offCanvasIcon{
    position: relative;
    width: 18px;
    height: 15px;
    display: block;
}

.offCanvasIcon svg {
    position: absolute; /* ambos ocupan mismo sitio */
    top: 0; left: 0;
}

.offCanvasIcon .close {
    display: none; /* al inicio oculto */
}

.offCanvasMenu .contMenu{
    display: flex;
    flex-direction: row;
}

.offCanvasMenu .contMenu .menu-top,
.offCanvasMenu .contMenu .menu-sub{
    width: 100dvw;
}

.offCanvasMenu .contMenu .menu-sub{
    padding-left: 20px;
}

.offCanvasMenu .contMenu .menu-top{
    padding-right: 20px;
}

/*Menu data and info*/
.offCanvasMenu .menu-primary .level-1 li a{
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;color: #4B4F54;
    font-family: "FS Emeric";
    font-size: 24px;
    font-style: normal;
    font-weight: 350;
    line-height: 110%;
    padding: 8px 12px;
    text-decoration: unset;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.offCanvasMenu .menu-primary .level-1 li.has-child a:after{
    content: '';
    display: block;
    width:6px;
    height:10px;
    background: url(../icons/arrow-left-no-line.svg )no-repeat;
    background-position: center;
}

.offCanvasMenu .menu-primary .level-1{
    padding: 0;
}

.offCanvasMenu .menu-primary{
    margin-bottom: 32px;
}

.offCanvasMenu .menu-primary .level-1 li{ list-style: none; }

/*Efrfects movemenmt*/
.offCanvasMenu .contMenu{
    transition: all .3s linear;
}

.offCanvasMenu .contMenu.open {
    transform: translateX(-100dvw);
}

.offCanvasMenu .menu-sub .level-2,
.offCanvasMenu .menu-sub .level-2.has-level-3 {
    display: none;
}
.offCanvasMenu .menu-sub .level-2.active,
.offCanvasMenu .menu-sub .level-2.has-level-3.active {
    display: block;
}

.OffCanvasMenu .submenu-title{
    color: #212529;
    font-family: "FS Emeric";
    font-size: 24px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%;
    border-radius: 2px;
    background: #DAE3FF;
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 8px 12px;
    align-items: center;
    margin-bottom: 25px;
}

.OffCanvasMenu ul{
    padding-left: 0;
}

.OffCanvasMenu .submenu-title:before{
    transform: rotate(180deg);
    content: '';
    display: block;
    width:6px;
    height:10px;
    background: url(../icons/arrow-left-no-line.svg )no-repeat;
    filter: brightness(0);
    background-position: center;
}

/* RESET */
.offCanvasMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Items de primer nivel */
.offCanvasMenu .downElems > a {
    display: flex;
    justify-content: space-between; /* texto izquierda, icono derecha */
    align-items: center;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.offCanvasMenu .downElems > ul .contInfo li a.is_title,
.offCanvasMenu .downElems > a {
    color: #212529;
    font-family: "FS Emeric";
    font-size: 17px;
    font-style: normal;
    font-weight: 450;
    line-height: 110%; /* 18.7px */
}

/* Flechas estilo acordeón */
.offCanvasMenu .downElems > a::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    background: url(../icons/icon-down-select.svg) no-repeat;
    background-position: center;
    transition: all .3s linear;
}

.offCanvasMenu .downElems.active > a::after {
    transform: rotate(180deg); /* flecha hacia abajo */
}

/* Submenús (nivel 2 y más) */
.offCanvasMenu .downElems > ul .contInfo  li a{
    color: #666;
    font-family: "FS Emeric";
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 100%; /* 14px */
    letter-spacing: 0.25px;
}

.offCanvasMenu .downElems > ul {
    display: none;
    padding-left: 18px;
}

.offCanvasMenu .level-2:not(.level-2.has-level-3) > .downElems > a{
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
    padding: 5px 15px;
    color: #4B4F54;
    font-family: "FS Emeric";
    font-size: 20px;
    font-style: normal;
    font-weight: 350;
    line-height: 110%; /* 26.4px */
}

.offCanvasMenu .level-2:not(.level-2.has-level-3) > .downElems > a:after{
    content: '';
    display: block;
    width: 14px;
    height: 12px;
    background: url(../icons/arrow-right-gray-menu.svg) no-repeat;
    background-position: center;
    transition: all .3s linear;
}

.offCanvasMenu .downElems > ul .contInfo > li a:not(.is_title){
    color: #666;
    font-family: "FS Emeric";
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 100%; /* 14px */
    letter-spacing: 0.25px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
    padding: 5px 15px;
    transition: all .2s linear;
}

.offCanvasMenu .downElems > ul .contInfo > li a:not(.is_title):hover{
    color: #03F;
    font-size: 18px;
}

.offCanvasMenu .downElems > ul .contInfo > li a:not(.is_title):hover::after {
    background: url(../icons/arrow-right-blue-menu.svg) no-repeat;
    background-position: center;
    width: 12px;
    height: 12px;
}

.offCanvasMenu .downElems > ul .contInfo > li a:not(.is_title):after{
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: url(../icons/arrow-right-gray-menu.svg) no-repeat;
    background-position: center;
    transition: all .3s linear;
}

.offCanvasMenu .downElems > ul > .downElems > a {
    display: block;
    padding: 8px 12px;
    color: #444;
    transition: background 0.3s ease, color 0.3s ease;
}

/*Search Bar*/
.mobileSearch {
    position: absolute;
    top: 58px;
    left: 0;
    transition: all .3s linear;
    background-color: #FFF;
    max-width: 100dvw;
    width: 100%;
    z-index: 9;
    padding: 48px 0;
    transform: translateY(-500%);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}
.mobileSearch .searchContainer,
.mobileSearch .searchInput,
.mobileSearch form,
.mobileSearch .inputSearch{
    width: 100%!important;
}

.mobileSearch.toBottom{
     transition: all .3s linear;
     transform: translateY(0%);
 }

.mobileSearch .searchInput .searchContainer,
.mobileSearch .searchInput form{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.mobileSearch .inputContainer{
    position: relative;
    width: 100%;
}

.mobileSearch .inputContainer .labelOver{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    color: #666;
    font-family: "FS Emeric";
    font-size: 24px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%;
    background-color: #FFF;
    padding: 5px 0;
    transition: all .3s linear;
}

.mobileSearch .inputContainer.active .labelOver {
    top: -18px;
    font-size: 14px;
    padding: 0;
    height: 50%;
}

.mobileSearch .iconSearch{
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mobileSearch .searchContainer .inputContainer .inputSearch{
    border: 0;
    border-bottom: 1px solid #666;
    color: #212529;
    font-family: "FS Emeric";
    font-size: 24px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 24px */
    padding-bottom: 3px;
}

.mobileSearch .btnSearch{
    border: 0;
    background: transparent;
}
@media screen and (max-width: 1199px){
    #main-header .contNav .menu-top ul{
        gap: 20px;
    }
}

@media screen and (max-width: 992px){
    #main-header .desktop{ display: none; }
    .offCanvasIcon.mobileType,
    .mobileType{ display: block; }
}

@media screen and (max-width: 576px){
    #main-header .contMenus{
        padding: 0 20px;
    }
}