
.menu-tecnoparque {
    position: fixed; 
    top: 0%; 
    left: 0%; 
    z-index: 1000; 
    display: flex;
    flex-direction: column;
    height: calc(100% - 129px);
    background: #042a61;
    width: 80px;
    margin-top: 129px;
    overflow-y: auto;
}

.menu-tecnoparque .menu-item {
    color: #fff; 
    padding: 20px 10px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: border-radius 0.2s;
    text-align: center;
    font-size: 70%;
    font-weight: 300;
    letter-spacing: 0px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    line-height: 100%;
}

.menu-tecnoparque .menu-item.active,
.menu-tecnoparque .menu-item:hover {
    background-color: #fff; 
    color: #002244; 
    font-weight: bold;
    border-radius: 0px 20px 20px 0px; 
}



/* Asegurar que el contenido no se oculte detrás del menú */
.site-content {
    padding-left: 80px; /* Ajusta el padding para dar espacio al menú lateral */
}

@media (min-width: 1024px) {
  .main-header-menu, .main-navigation, nav#primary-site-navigation-desktop, .main-header-bar-navigation, .ast-main-header-bar-alignment, .ast-builder-menu{
   height: 100%;
    padding: 0px !important;
    margin: 0px !important;
}

.site-primary-header-wrap .ast-builder-grid-row.ast-builder-grid-row-has-sides.ast-builder-grid-row-no-center{
 	min-height: 80px; 
 }

  .menu-tecnoparque .menu-item {
      writing-mode: vertical-rl; /* Escritura vertical, de derecha a izquierda */
        text-orientation: mixed; /* Permite la rotación del texto horizontal */
        transform: rotate(180deg); /* Rota 180 grados para que se lea de abajo hacia arriba */
    }
    .ast-container {
          max-width: 90vw !important;
  	}
    footer .ast-builder-grid-row-container-inner {
      width: 100vw !important;
      margin-left: 80px !important;
  }
    div#ast-desktop-header {
        position: fixed;
        width: 100%;
        left: 0%;
    }
    div#content {
       margin-top: 130px;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        width: 100% !important;
    }

    div#content {
        margin-top: 140px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199px){
    a.menu-link{
        font-size: 70% !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px){
    a.menu-link{
        font-size: 80% !important;
    }
}

@media (min-width: 1400px) and (max-width: 1599px){
    a.menu-link{
        font-size: 90% !important;
    }
}

@media (min-width: 1600){
    a.menu-link{
        font-size: 100% !important;
    }
}


/* =============================== */
/* === ESTILOS MÓVIL (FLOTANTE) === */
/* =============================== */

/* Ocultar la barra lateral y definir la barra superior flotante para móvil */
@media (max-width: 1023px) {
    
    .menu-tecnoparque {
        display: none; /* Oculto por defecto si no hay ítems */
        width: 100%;
        height: auto !important; 
        margin-top: 0 !important;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999; 
        background: transparent; 
        flex-direction: row; 
    }

    .site-content {
        padding-left: 0 !important;
    }
    
    .site-header {
        position: fixed !important;
        width: 100% !important;
    }

    .mtp-mobile-container {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #042a61; 
        z-index: 1000;
        padding: 10px 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mtp-active-text {
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        padding-right: 15px;
        line-height: 1.2;
    }

    .mtp-toggle-btn {
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .mtp-toggle-btn svg {
        fill: #fff; 
        width: 100%;
        height: 100%;
        display: block;
    }

    .mtp-dropdown-list {
        position: fixed;
        top: 140px; /* Justo debajo de la barra activa */
        left: 0;
        width: 100%;
        background-color: #042a61;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        display: none; /* Oculto por defecto */
    }

    .mtp-dropdown-list .menu-item {
        color: #fff;
        padding: 15px;
        text-align: left;
        display: block;
        font-weight: 300;
        border-radius: 0;
        margin: 0;
       background-color: #042a61;
    }

    .mtp-dropdown-list .menu-item.active {
        display: none;
    }

    .menu-tecnoparque.is-mobile .menu-item.active {
        background-color: transparent !important;
        border-radius: 0 !important;
        color: #fff !important;
    }
}