/*=======================
ESTILO GENERAL, PLANTILLA
=======================*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
} 

.contenido-general{    
    display: flex;
    flex-direction: column;
}

.contenido{    
    display: flex;
    flex-direction: column;

    height: 1000px;
}

/*============
MENU DE INICIO
============*/

.header{
    width: 100%;
    height: 50px;
    display: flex;
    position: fixed;
    z-index: 2;
    
    color: white;
    background: #000000;
}

#btn-menu{
    display: none;
}

.header label{
    font-size: 15px;
    cursor: pointer;
    display: none;
}

.menu{
    width: 83.33%;
    font-weight:500;
}

.menu ul{
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    list-style: none;
}

.li-rs-contacto{
    display: none;
}

.menu ul ul{
    display: none;
    background: #494949;
    position: absolute;
    
    width: auto;
    height: auto;
    margin-left: 40px;
}

.menu a{
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
}

.menu a:hover{
    background: rgba(255,255,255,0.5);
}

.menu a span{
    margin-left: 5px;
}

.menu ul li:hover ul{
    display: block;
    position: absolute;
}

/*=================
MENU DE INICIO - RS
=================*/

.caja-rs{
    width: 16.67%;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.img-rs{
    width: 30px;
    height: 30px;
}

.img-rs img{
    width: 100%;
    height: 30px;
}

.img-rs:hover{
    background: #b1b1b1;
}

.img-rs img:hover{
    opacity: 0.8;
}

/*===================
BANNER MENU DE INICIO
===================*/

.banner-inicio{
    margin-top: 50px;
    width: 100%;
    height: auto;
    
    border-top: 0px solid black;
    border-bottom: 5px solid black;
    border-left: 5px solid black;
    border-right: 5px solid black;
}

.banner-inicio img{
    width: 100%;
    height: 100%;
}

.text-banner{
    width: 100%;
    display: flex;
    
    position: relative;
    margin-top: -34px;
}

.text1-banner{
    width: 70%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.text1-banner a{
    padding: 5px 15px;
    font-size: 1.2em;
}

.text2-banner{
    width: 30%;
    display: flex;
    justify-content: flex-end;
}

.text2-banner a{
    padding: 5px 15px;
    
    background: black;
    color: white;
    font-size: 1.2em;
}

/*=======
CONTENIDO
=======*/

.contenido{
    width: 100%;
}

/*====
FOOTER
====*/

footer{
    margin-top:-40px;
    width: 100%;
    background: black;
    padding: 5px 10px;
    
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    
    color: white;
}

.text-footer a{
    text-decoration: none;
    color: white;
    
    padding: 2px 5px;
    margin-right: 10px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.8em;
}

.img-footer{
    width: 100%;
    height: 60px;
    
    display: flex;
    justify-content: center;
}

.img-footer img{
    height: 100%;
    width: auto;
}

/*=======================
ESTILO GENERAL RESPONSIVO
=======================*/


/*===
930PX
===*/

@media (max-width:930px){
    .header{
        height: 40px;
    }
    
    .banner-inicio{
        margin-top: 40px;
    }
    
    .menu a{
        padding: 10px 10px;
        font-size: 15px;
    }
    
    .img-footer{
        height: 50px;
    }
}

/*===
768PX
===*/

@media (max-width:768px){
    .header{
        width: 100%;
        justify-content: space-between;
    }
    
    .header label{
        display: block;
        padding: 10px 10px; 
        
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu{
 
        position: absolute;
        top: 40px;
        left: 0px;
        width: 100%;
        
        transform: translateX(-100%);
        transition: all 0.3s;
    }
    
    .menu ul{
        display: block;
        background: #555;
    }
    
    .menu ul li:hover ul{
        display: none;
        position: static;
    }
    
    .li-rs-contacto-gde{
        display: none;
    }
    
    .li-rs-contacto{
        display:block;
    }
    
    .menu a span{
        display: none;
        position: absolute;
        right: 10px;
    }
    
    #btn-menu:checked ~ .menu{
        transform: translateX(0%);
    }
    
    .menu ul ul{
        background: #8e8e8e;
        margin-left: 0px;
        position: relative;
    }
    
    .menu ul ul a{
        padding: 15px 40px;
    }
    
    .caja-rs{
        width: 30%;
    }
    
    /*FOOTER*/
    
    footer{
        padding: 3px 5px;
    }
    
    .text-footer a{
        font-size: 0.7em;
        padding: 2px;
        margin-right: 8px;
        line-height: 1.8em;
    }
}

/*===
500PX
===*/
@media (max-width:500px){
    .banner-inicio{
        margin-top: 40px;
        width: 100%;
        height: auto;
        margin-bottom: 0px;
    }
    
    .text-banner{
        width: 100%;
        display: flex;

        position: relative;
        margin-top: -16px;
}
    .text1-banner{
        width: 80%; 
        text-align: left;
    }
    
    .text1-banner a{
        padding: 3px 110px 0px 0px;
        font-size: 0.7em;
        font-weight: 600;
        
    }
    
    .text2-banner{
        width: 20%;    
    }
    
    
    .text2-banner a{
        padding: 5px 30px 1px 30px;
        font-size: 1em;
        font-weight: 500;
    }
    
    .img-footer{
        height: 40px;
    }
    
}


