@charset "utf-8";

/* CSS Document */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.menu_bar {
    display: none;
    z-index: 11;
}

.menu_contenedor {
    background: #D31F29;
    width: 100%;
    height: auto;
}

header {
    width: 100%;
    height: auto;
}

header nav {
    background: #D31F29;
    z-index: 11;
}

header nav ul {
    list-style: none;
    margin: 0 auto;
    display: block;
    width: 1300px;
}

header nav ul li {
    display: inline-block;
    position: relative;
}

header nav ul li:hover {
    background: #BB7777;
    -o-transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
    transition: background 0.25s ease;
}

header nav ul li a {
    color: #fff;
    display: block;
    padding: 20px;
    text-decoration: none;
}

header nav ul li a:hover, header nav ul li a:visited {
    color: #fff;
    text-decoration: none;
}

header nav ul li a i {
    margin-left: 10px;
    margin-right: 0;
}

header nav ul li:hover .children {
    display: block;
    width: 300px;
    z-index: 1000;
}

header nav ul li .children {
    background: #860A11;
    display: none;
    position: absolute;
}

header nav ul li .children li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: block;
    overflow: hidden;
}

header nav ul li .children li a {
    display: block;
}

header nav ul li .children li a:hover {
    border-left: 4px solid #f2f2f2;
}

@media screen and (max-width: 1050px) {
    body {
        padding-top: 60px;
    }
    .menu_bar {
        background: #D31F29;
        display: block;
        position: fixed;
        overflow:hidden;
        top: 0;
        right: 0;
        left:0;
        width: 100%;
        height: 60px;
    }
    .menu_bar .bt-menu {
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
        float:left;
        height: 100%;
        padding: 15px;
        width: 60px;
        
    }
    
    .menu_bar .bt-busqueda {
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
        float:right;
        padding: 15px;
        height: 100%;
        width: 60px;
        margin-left: 0;
        
    }
   
    .menu_bar .bt-logo{
        position: absolute;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        height: auto;
        margin: 0 auto;
    }
    .menu_bar .bt-logo img{
        width: 215px;
        height: auto;
    }
    header .logos {
        display: none;
    }
    header nav {
        background: #023859;
        height: calc(100% - 82px);
        margin: 0;
        overflow: scroll;
        position: fixed;
        right: 100%;
        width: 80%;
    }
    header nav ul{
        width:100%;
    }
    header nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        display: block;
    }
    header nav ul li a {
        display: block;
    }
    header nav ul li:hover .children {
        display: none;
        width: 100%;
    }
    header nav ul li .children {
        position: relative;
        width: 100%;
    }
    header nav ul li .chlidren li a {
        display: block;
        margin-right: 20px;
    }
    header nav ul li i {
        float: right;
        margin-right: 0;
    }
    #carrusel {
        margin-top: 0;
    }
    .busqueda{
        display: none;
    }
}


.logos {
    height: 130px;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

.logos .img_uam {
    padding-right: 30px;
    border-right: 3px solid #BB7777;
}

.logos .img_iee {
	height: 90px;
	width: 136;
    float: right;
    margin-right: 50px;
    margin-top: 10px;
}

.logos .redes-superior {
    float: right;
    font-size: 32px;
}

.logos .redes-superior .fa-twitter-square{
    color: #4099FF;
    transition: color 0.5s ease;
}

.logos .redes-superior .fa-twitter-square:hover{
    color:rgba(64, 153, 255, 0.5);
}

.logos .redes-superior .fa-facebook-square{
    color: #3b5998;
    transition: color 0.5s ease;
}

.logos .redes-superior .fa-facebook-square:hover{
    color:rgba(59, 89, 152, 0.5);
}

.logos .redes-superior .fa-youtube-square{
    color: #cd201f;
    transition: color 0.5s ease;
}

.logos .redes-superior .fa-youtube-square:hover{
    color:rgba(205, 32, 31, 0.5);
}

.busqueda{
    color: #fff;
    padding: 20px;
    font-weight: bold;
    font-size: 18px
    
}

.form-buscar{
    width:800px;
    height: 80px;
    position: absolute;
    top: 60px;
    display: none;
    z-index: 900;
    right: 0;
}







