/*RESET DE DOCUMENTO================*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
} 

body{
    background-image: url(../img-generales/fondo.png);
    border-image-repeat: repeat;
    display: flex;
    justify-content: center;
}

/*CONTENIDO GENERAL===============*/

.contenido-general{    
    display: flex;
    flex-direction: column;
    width: 1366px;
    background: white;
}

.ult-act{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

@media (max-width:600px){
    .ult-act{
        justify-content: center;
    }
}

/*CONTENIDO=======*/

.contenido{
    width: 100%; 
    margin-top: -7px;
}

/*RESPONSIVO========*/

/*= 1400px =*/
@media (max-width:1400px){
    .contenido-general{    
        display: flex;
        flex-direction: column;
        width: 100%;
        border-left: 0px; 
        border-right: 0px; 
    }
    
    .body{
        background-image: none;
    }
}

/*MENU DE INICIO============*/

.header{
    width: 1366px;
    height: 40px;   
    display: flex;
    z-index: 3;
    color: white;
    background: #333333;  
    position:fixed;
}

#btn-menu{
    display: none;
}

.header label{
    cursor: pointer;
    display: none;        
    font-size: 12pt;
}

.menu{
    width: 83.33%;   
    font-size: 12pt;
    font-weight:400;
}

.menu ul{
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
}

.menu ul a{
    cursor: pointer;
    font-family: sans-serif;
}

.li-rs-contacto{
    display: none;
}

.menu ul ul{
    display: none;
}

.menu a{
    display: block;
    padding: 11px 20px;
    color: #fff;
    font-weight: bolder;
    text-decoration: none;
    border-right: 4px solid white;
}

.menu a:hover{
    background: rgba(255,255,255,0.5);
}

.menu a span{
    margin-left: 5px;
}

.li-gde-cursos:hover ul{
    display: block;
    position: absolute;
    background: pink;
    background: #333333;
    cursor: pointer;
}

.sub1{
    /*margin-top: 7px;*/
}

.sub{
    /*text-align: center;*/
}

.ml img{
    height: 20px;
    width: auto;
}

.menu ul li{
    background: #333333;
}

/*=================
MENU DE INICIO - RS
=================*/

.caja-rs{
    width: 16.67%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.img-rs{
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.img-rs img{
    width: 100%;
    height: 25px;
}

.img-rs:hover{
    background: #b1b1b1;
}

.img-rs img:hover{
    opacity: 0.8;
}

/*Banner*/
.banner{
    width:1366px;
    height:auto;
    margin-top: 40px;    
}

.banner img{
    width: 100%;
    height: auto;
}

/*========
RESPONSIVO
========*/

/* 1400px */
@media (max-width:1400px){
    .header{
        width: 100%;
    }
    .banner{
        width: 100%;
    }
}

/* 1025px */
@media (max-width:1025px){
    .menu{
        width: 70%;
    }
    .caja-rs{
        width: 30%;
    } 
}

@media (max-width:1025px) and (orientation:portrait){
    .header{
        position: fixed;
    }
    .banner{
        margin-top: 40px;
    }    
}

@media (max-width:1025px) and (orientation:landscape){
    .header{
        position: relative;
    }
    .banner{
        margin-top: 0px;
    }
}

/* 970px */
@media (max-width:1000px){
    
    .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;
        transform: translateX(-100%);
        transition: all 0.3s;
    }
    
    .menu ul{
        display: block;    
        background: #474747;
    }
    
    .menu ul li a{
        padding: 5px 10px;
        border-left: 0px solid white;
    }  
    
    .li-rs-contacto-gde{
        display: none;
    }
    
    .li-rs-contacto{
        display:block;
    }
    
    .li-gde-cursos{
        display: none;    
    }
    
    .menu a span{
        position: absolute;
        right: 10px;
    }
    
    #btn-menu:checked ~ .menu{
        transform: translateX(0%);
    }
    
    .menu ul ul{
        margin-left: 0px;
        position: relative;
        width: auto;
        height: auto;
        margin-left: 20px;
        background: #595959;
    }
    
    .caja-rs{
        width: 50%;
    }
}

@media (max-width:970px) and (orientation:portrait){
    .header{
        position: fixed;
    }
    
    .banner{
        margin-top: 40px;
    }
}

@media (max-width:970px) and (orientation:landscape){
    
    .header{
        position: relative;
    }
    
    .banner{
        margin-top{
            0px;
        }
    }
}

/* 600px */
@media (max-width:600px){
    
    .menu{
        width: 100%;
    }
    
    .menu a{
        border-right: 0px;
    }
    
}

@media (max-width:600px) and (orientation:portrait){
    
    .header{
        position: relative;
    }
    
    .banner{
        margin-top: 40px;
    }
    
}

@media (max-width:600px) and (orientation:landscape){
    
    .header{
        position: relative;
    }
    
    .banner{
        margin-top{
            0px;
        }
    }
}

/* 400px */
@media (max-width:400px){
    
    .menu{
        width: 100%;
    }
    
}

@media (max-width:400px) and (orientation:portrait){
    
    .header{
        position: relative;
    }
    
    .banner{
        margin-top: 40px;
    }
    
}

@media (max-width:400px) and (orientation:landscape){
    
    .header{
        position: relative;
    }
    
    .banner{
        margin-top: 0px;
    }
    
}

/*====
FOOTER
====*/

footer{
    
    width: 100%;
    padding: 5px 10px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    color: white;
    background-color: #333333;
}

.text-footer a{
    text-decoration: none;
    color: white;

    padding: 2px 5px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 12px;
}

.text-footer:hover{
    background: rgba(255,255,255,0.5);
}

.img-footer{
    width: 100%;
    padding: 10px 0px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.img-footer a{
    text-decoration: none;
    color: white;
    font-size: 30px;
    font-kerning: auto;
    font-family: serif;
}

/*========
RESPONSIVO
========*/

/*= 930px =*/

@media (max-width:930px){
    .img-footer{
        height: 50px;
    }
}

/*= 510px =*/
@media (max-width:510px){
    .img-footer{
        height: 40px;
    }
}

/*= 400px =*/
@media (max-width:400px){
    .img-footer{
        height: 30px;
    } 
}

























