/* 
    Created on : 29-ago-2016, 15:18:54
    Author     : pedrogonzalez
*/

/* Cubierta (background) */
.cubierta-menu-moviles {
    /* Alto y ancho depende en como se espera mostrar la cubierta: de izquierda a derecha, o de arriba a abajo */
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

/* Posiciona el contenido dentro de la cubierta */
.cubierta-menu-moviles-contenido {
    position: relative;
    top: 10%;
    width: 100%;
    text-align: center;
    margin-top: 30px; /* 30px top margin para evitar conflictos con el boton cerrar en pantallas pequeñas */
}

/* Links dentro de la cubierta */
.cubierta-menu-moviles a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.cubierta-menu-moviles a:hover, .cubierta-menu-moviles a:focus {
    color: #818181;
}

/* Position the close button (top right corner) */
.cubierta-menu-moviles .boton-cerrar-menu-moviles {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .cubierta-menu-moviles a {font-size: 20px}
    .cubierta-menu-moviles .boton-cerrar-menu-moviles {
        font-size: 40px;
        top: 10px;
        right: 35px;
    }
}