
/* Estilos para el fondo del menÃº */
.BackdropMenu {
    pointer-events: none;
    -webkit-backdrop-filter: blur(7px) saturate(60%);
    backdrop-filter: blur(7px) saturate(60%);
    background: rgba(67,80,108,.5);
    display: block;
    height: 100vh;
    position: fixed;
    width: 100%; 
    opacity: 0; /* Inicialmente oculto */
    transition: opacity 0.3s ease-in-out; /* TransiciÃ³n de opacidad */
}
/* Estilos para el encabezado */ 
header {
    display: flex;
    align-items: center;
    height: max-content;
    background: #eff2f5;
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.1), 0 0 60px 0 rgb(39 102 149/8%);
    position: fixed;
    top: 0;
    z-index: 1;
} 
header > div {
    width: 1080px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: space-between;
}
/* Estilos para el headstuff */ 
header nav.headstuff .myIP li {
    display: flex;
    grid-gap: 5px;
    padding: 10px 8pt;
    background: #252833;
    border-radius: 7px;
    font-family: "Roboto Condensed", -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 1px;
}
header nav.headstuff .myIP li span {
    color: #FFF;
    font-size: 11pt; 
}
header nav.headstuff .myIP li button {
    text-transform: capitalize;
    font-size: 12pt;
    letter-spacing: 1px;
    background: transparent !important;
    color: #f5a620;
}
header nav.headstuff .myIP li button:hover {
    color: #fab908;
    text-decoration: underline;
}
header nav.headstuff > ul:first-child>li> button, header nav.headstuff > ul:first-child>li > a {
    font-family: "Roboto Condensed", -apple-system,system-ui,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Roboto,Arial,sans-serif;
    font-size: 13pt;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    color: #252833;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav.headstuff ul:first-child>li button span, header nav.headstuff ul:first-child>li a span {
    display: flex;
    width: 17px;
    height: 17px;
    align-items: center;
    position: relative;
    top: 8px;
    bottom: -6px;
    padding: 10px;
    border-radius: 50%;
    justify-content: center;
    line-height: .8;
    font-family: Roboto Condensed, sans-serif;
    font-size: 8pt;
    font-weight: 400;
    background: #3e4042;
    color: #FFF;
}
header nav.headstuff ul.icons-list > li > a:hover, header nav.headstuff ul.icons-list > li > button:hover {
    color: #007ae6
} 
 
/* Estilos para el buscador web */
.search-form {
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px;
}

.search-input {
    flex: 1;
    padding: 5px;
    border: none;
    font-size: 18pt;
    font-weight: 500;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}
.search-input:focus::placeholder {   
    color: #000;
  }
.search-button {
    color: #000;
    font-size: 15pt;
    border: none;
    margin-left: 5px;
    cursor: pointer;
} 

/* Estilos para el logo */ 
header div nav#logo img {
    width: 110px;
} 
header nav.headstuff > ul { 
    display: flex;
    align-items: center;
    gap: 11px;
}
/* Estilos para el menu */ 
body.mouseover-menu header {
    z-index: 100000000000;
}
body.mouseover-menu .BackdropMenu {
    z-index: 10000000000;
    pointer-events: visible;
}
nav.menu.disabled {
    pointer-events: none;  
}
.menu {
    height: 100%;
    margin: auto;
}
header .menu-list {
    display: flex;
    width: max-content;
}
 
header .menu-item {
    display: flex;
    align-items: center;
}

nav.menu div.BackdropSubmenu,
nav.headstuff div.BackdropSubmenu {
    content: '';
    position: absolute;
    width: 100%; 
    opacity: 1;
    text-align: left;
    background: #d6d9db; 
    left: auto;
    right: 0;
    top: 0; 
    z-index: -20;
    transition: height 150ms cubic-bezier(.4,0,.6,1);
}
nav.menu div.BeforeBackdropSubmenu,
nav.headstuff div.BeforeBackdropSubmenu {
    content: '';
    position: absolute;
    width: 100%; 
    opacity: 1;
    text-align: left;
    background: #eff2f5; 
    left: auto;
    right: 0;
    top: 0; 
    z-index: -19;
    transition: height 150ms cubic-bezier(.4,0,.6,1);
}
nav.menu:hover div.BackdropSubmenu,
nav.headstuff:hover div.BackdropSubmenu {  
    height: var(--submenu-height);  
}
nav.menu:hover div.BackdropSubmenu {   
    box-shadow: 0 30px 15px rgba(0,0,0,5%);
} 
.menu-link {
    display: flex;
    padding: 22px 8px; 
    color: #252833;
    height: max-content;
    align-items: center;
    font-size: 11pt;
    font-weight: 500;
}
.menu-link:hover, .select-menu-item > button {
    color: #007ae6;
    background: #e6e9ec;
} 
header .dropdown-panel-menu, 
header .dropdown-panel-formsearch  {
    position: absolute;
    width: 100%;
    z-index: 2;
    visibility: hidden;
    opacity: 0; 
    text-align: left;
    left: auto;
    right: 0;
    top: 0;
    height: max-content;
    margin-top: 62px;
 } 

 body.mouseover-menu header li.select-menu-item .dropdown-panel-menu {
    visibility: visible;
    height: max-content;
    opacity: 1;
}
header .dropdown-panel-menu-wrapper, 
header .dropdown-panel-formsearch-wrapper { 
    width: 1080px;
    margin: auto;
    padding: 30px 0;
}
header .dropdown-panel-menu-wrapper {
    display: flex;
}
.submenu { 
    display: flex;
    gap: 50px;
    text-align: left; 
}  
.submenu.submenu-open { 
    animation: desplegar 0.3s cubic-bezier(.4,0,.6,1) forwards;
}
.submenu-search.submenu-open { 
    animation: desplegar 0.3s cubic-bezier(.4,0,.6,1) forwards;
}
.login-description {
    font-size: 8pt;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.8;
    text-align: left;
}

@keyframes desplegar {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.submenu.submenu-simple {
    display: block;
}

.submenu-search  {
    display: grid; 
    grid-gap: 10px;
    text-align: left;
    transition: opacity 240ms cubic-bezier(.4,0,.6,1), visibility 240ms step-start;
    overflow-x: auto;
}  
.submenu-link, .sub-submenu-link  {
    font-family: Roboto Condensed, sans-serif;
    font-size: 12pt; 
    letter-spacing: 1px;
    color: #000;
    display: block;
    padding-bottom: 10px;
    
} 
.sub-submenu-link:hover, .submenu-link:hover { 
    color: #007ae6;
}
span.submenu-heading {
    font-family: Roboto Condensed, sans-serif;
    display: block;
    color: #555;
    font-size: 12pt;
    font-weight: 800;
    letter-spacing: 0px;
    margin-bottom: 20px;
}   
 


@media only screen and (max-width:1080px) {
    header > div {
        width: 980px;
        gap: 15px; 
    } 
    .menu-link { 
        padding: 22px 4px; 
        font-size: 11pt; 
    }
    header nav.headstuff > ul {
        gap: 9px;
    }
    header .dropdown-panel-menu-wrapper, header .dropdown-panel-formsearch-wrapper {
        width: 980px;
        margin: auto;
    }
}

@media only screen and (max-width:980px) {
    header > div {
        width: 920px;
         
    }
    
    header .dropdown-panel-menu-wrapper, header .dropdown-panel-formsearch-wrapper {
        width: 920px;
    } 
    
}

@media only screen and (max-width:920px) {
    header > div {
        width: 740px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 740px;
    }
}

@media only screen and (max-width:740px) {
    header > div {
        width: 650px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 650px;
    }
}

@media only screen and (max-width:650px) {
    header > div {
        width: 580px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 580px;
    }
}

@media only screen and (max-width:580px) {
    header > div {
        width: 520px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 520px;
    }
}

@media only screen and (max-width:520px) {
    header > div {
        width: 480px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 480px;
    }
    header nav.headstuff .myIP li { 
        flex-flow: column;
        align-items: center;
    }
    header nav.headstuff ul:first-child li ul li a {
        font-size: 11pt;
    }
    header nav.headstuff ul:first-child li ul li span {
        font-size: 11pt;
    }
    header .headstuff .langSelector, 
    header .headstuff .myLogin  {
        display: none;
    }
}

@media only screen and (max-width:480px) {
    header > div {
        width: 420px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 420px;
    }
}

@media only screen and (max-width:420px) {
    header > div {
        width: 380px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 380px;
    }
}

@media only screen and (max-width:380px) {
    header > div {
        width: 320px
    }
    header .dropdown-panel-formsearch-wrapper {
        width: 320px;
    }
}