body{
    overflow-x: hidden;
    background-color: #ffffff;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #f6921e;
    padding: 0px 0px;
    display: flex;
    justify-content:space-between;    
    margin-top: 0px;
    margin-right: 0px;
    z-index: 1000; /* Asegura que la barra esté por encima de otros elementos fixed*/
}

.menu-bar ul {
    list-style-type: none;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    display:flex; /* Cambio importante */
    align-items: center; /* Alineación vertical del contenido interno */
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    justify-content: flex-end;
    height: 100%;
}

.menu-bar ul li {
    margin-right: 20px;
    justify-content: flex-end;
}

.menu-bar ul li a {
    color: white;
    text-decoration: none;    
    justify-content: flex-end;
}
.menu-bar .menu-items{
    height: 50%;
    width: 100%;
    text-align: right;
    justify-content: flex-end; /* Alinea todo a la derecha pointer-events: none;*/
    justify-items: flex-end;
    
}
.menu-bar .menu-items ul li a {
    color: white; /* Cambio de color */    
    font-size: small;
    font-family: 'Montserrat', sans-serif;
    justify-content: flex-end;
}
.uppertextdcd{    
    text-transform: uppercase;
    font-weight: bold;
}
.fonddcdobscuro{    
    background-color: #c07537;
}
.fonddcdclaro{    
    background-color: #f6921e;
}
.menu-bar .logo {
    height: 100%; /* Ocupa toda la altura de la barra */    
    background-color: #fff;
    text-align: center;
    display: flex; /* Cambio importante */
    align-items: center; /* Alineación vertical del contenido interno */
}
.menu-bar .logo img {
    background-color: #fff;
    max-height: 100%;
    width: auto;
    height: auto;
}

.menu-toggle{    
    flex-grow: 1;
    border:none;
    display: none; /* Se mostrará solo en dispositivos móviles */
    position:relative; /* Cambia la posición para que la lista se despliegue correctamente */
    z-index: 1001; /* Asegura que esté por encima de la lista */
    background-color: #f6921e;
    color: #f6921e;    
    text-align: right;
    float: right;
    width:500%;
    height: 100%;
    margin-right: 0px;
    margin-top: 0px;    
    justify-content: flex-end; /* Alinea todo a la derecha */
    justify-items: flex-end;
}
.menu-toggle button{
    transition: transform 0.2s;
}
.menu-toggle button:active {
    transform: scale(0.9); /* Reduce el tamaño al 90% */
}

@media (max-width: 880px) {
    .menu-bar ul {
        display: none; /* Ocultar los elementos de menú en dispositivos móviles */
    }
    
    .menu-toggle {
        display: block; /* Mostrar el botón de menú en dispositivos móviles */
    }
    .encabezado-datos{
        display:none;
    }
}
.menu-list {
    
    list-style-type: none;
    display: none; /* Ocultar la lista por defecto */
    position: fixed; /* Posicionamiento absoluto */
    top: 80px; /* Alinea con la parte inferior de la barra de menú */
    right: 0px; /* Margen a la derecha */
    max-width: 100%; /* Ancho máximo del menú */
    background-color: #f6921e; /* Color de fondo */
    color:#fff;
    font-size: small;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    padding: 15px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    overflow-y: auto; /* Añadir barra de desplazamiento vertical si es necesario */
    max-height: calc(100vh - 100px); /* Altura máxima del menú (alto de la ventana - altura de la barra de menú) */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    align-items: flex-start;
    text-align: left;
}
.menu-list ul{
    text-align: left;
    list-style-type: none;
    text-decoration: none;
    align-items: flex-start;
}
.menu-list ul li{
    padding: 5px; /* Espaciado interno */
    text-align: left;
    align-items: flex-start;
    list-style-type: none;
    text-decoration: none;
}
.menu-list ul li a{
    text-align: left;
    align-items: flex-start;
    list-style-type: none;
    color:#fff;
    text-decoration: none;
}
.encabezado-datos{   
    width: 100%; 
    background-color: #c07537;
    height: 100%;
    align-items: right;
    justify-content: right;
    text-align: right;
}
.vueltad {
    display: none; /* Inicialmente oculto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(to bottom, #f6921e, #c07537, rgba(0, 0, 0, 0.9));
opacity: .8;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.vueltad:hover {
    opacity: 0.8;
}
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #ffffff;
    opacity: 1;
    background-image: url('../img/loading.gif'); /* Agrega la ruta de tu imagen de carga aquí */
    background-repeat: no-repeat;
    transition: opacity 5s; 
    background-position: center;
}
