
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans';
    
}
body{
    background: #ebebeb;
}


.linea h1{
    background:#00205b;
    height: 5px;
}

header img{
    width: 280px;
    margin-right: auto;
    margin-left: 0;
    margin-top: 10px;
}

@media (max-width:360px){
    header img{
        width:170px 
    } 
    
}
header{
    margin: auto;
    height: 100%;
    width: 1100px;
    background:#ebebeb;
    color: #1e1e1e;
    display: flex;
    flex-wrap: wrap;
    justify-content:;
    align-items: flex-start; 
}

@media(max-width:1050px){

    header img{
        margin-left: 0%;
}
    
    }

nav{
    z-index: 99;
}
.redes {
    display: flex;
}
header label{
    font-size: 30px;
    cursor: pointer;
    display: none;
}
nav ul .redes .icon-facebook{
	font-size: 15px;
    padding: 15px 1px;
	
}
nav ul .redes .icon-facebook:hover{
    color: #3b5998;
    background: none;
}
 nav ul .redes .icon-twitter{
	font-size: 15px;
    padding: 15px 1px;
}

nav ul .icon-twitter:hover{
    color: #26a8e0;
    background: none;
}

nav ul .redes .icon-instagram{
	font-size: 15px;
    padding: 15px 1px;
}

nav ul .redes .icon-instagram:hover{
    color: orangered;
    background: none;
}

nav ul .redes .icon-youtube-1{
	font-size: 15px;
    padding: 15px 1px;
}

 nav ul .redes .icon-youtube-1:hover{
    color: red;
     background: none;
}
#b-menu{
    display: none;
}

.menu ul{
    display: flex;
    list-style: none;
    
}
.menu ul ul{
    display: none;
    box-shadow:0px 0px 5px 1px rgba(0,0,0,0.48);
    border-radius: 6px;
    background: #ffffff;
    position: absolute;
    z-index: 20;
}

.menu ul ul:before{
    content: '';
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 8px solid #ffffff;
    position: absolute;
    margin-top:-7px;
    margin-left: 20px;
}
.menu a{
        flex-wrap: wrap;
    display: block;
    padding: 10px 20px;
    color: #1e1e1e;
    text-decoration: none;

}

.menu a:hover{
    color: red;
}
.menu ul li:hover ul{
    display: block;
    position: absolute;
    width: 250px;
}



@media (max-width:770px){
    header{
        width:100%;
        height: 200px
    }
    header .icon-menu{
        text-align: right;
        width: 100%;
        
    }
    header .icon-menu:hover{
        background: #00205b;
        color:white;
        padding:1px;
        border-radius: 2px;
    }
    header img{
       margin: auto;
    }
    header label{
        display: block;
    }
    
    .menu .redes{
        display: flex;
    }
    nav ul .redes .icon-facebook{
	font-size: 15px;
    padding: 15px 1px 0px 15px;
    }
    
    .menu{
        position: absolute;
        top: 200px;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.3s;
        z-index: 25;
    }
    
    .menu ul{
    display: block;
    background: #EBEBEB;
    box-shadow:-7px 9px 15px 1px rgba(0,0,0,0.48);
    }
    #b-menu:checked ~ .menu{
        transform: translateX(0%);
    }
    .menu a:hover{
    background: #00205b;
        color: white;
    }
    .menu ul li:hover ul{
    display: none;
    position: static;
        width: 100%;
}
}
nav ul li.ban img{
    width: 20px;
    margin: 0;
}

/*Diferentes configuraciones.*/

.tex {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    
}

.tex h1{
    font-size: 24px;
    color: #2D2D2D;
    margin-top: 12px; 
}

.tex p{
    font-size: 16px;
    color: #404040;
    margin-top: 15px;
    margin-bottom: 20px;
    
}

.tex .texgrup{
    margin:15px;
    text-align: center;
    max-width: 300px;
}

.tex .texgrup .icon-user-md{
    font-size: 50px;
    background: #00205b;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
}

.tex .texgrup .icon-hospital{
    font-size: 50px;
    background: #2c4381;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
}

.tex .texgrup .icon-globe-6{
    font-size: 50px;
    background: #B00002;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
}
.tex .texgrup .icon-eye{
    font-size: 50px;
    background: #B00002;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
}


.tex .texgrup .icon-book{
    font-size: 50px;
    background: #00205b;
    border-radius: 5px 20px 5px 20px;
    padding: 4px;
    color: #ffffff;
    
}
.tex .texgrup .icon-heartbeat{
    font-size: 50px;
    background:#B00002;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
    
}
.tex .texgrup .icon-stethoscope{
    font-size: 50px;
    background: #00205b;
    border-radius: 0px 20px 0px 20px;
    padding: 4px;
    color: #ffffff;
    
}

.prueba img{
    margin: 40px;
    padding: 10px;
    background: #00205b;
    border-radius: 0px 20px 0px 20px;
    width: 80px;
}

.texhistory img{
    width: 200px;
}


.tex .texgrup input{
    cursor: pointer;
    background: #00205b;
    border-radius: 5px;
    padding: 6px;
    font-size: 15px;
    color:white;
    border: 0;
    
}
.map{
    max-width: 1100px;
    margin: auto;

}

.map img{
    width: 100%;
    padding: 12px;
}

.map h1{
    font-size: 25px;
    margin-top: 40px ;
    text-align: center;
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-*/
/*fotos he imagenes de pagina Infracestructura.*/


.tx{
    max-width: 1100px;
    margin: auto; 
    justify-content: center;
}

.vid{
max-width: 1100px;
    margin: auto;    
}
.vid img{
    width: 100%;
    
}


 .tx h2{color: #006ac6;margin-top: 20px;margin-left: 10px;font-size: 20px;
margin-bottom: 5px;} 
.im{
    max-width:1100px;
    margin: auto;
    flex-wrap: wrap;
    text-align: center;
    
} 
.im{
    list-style: none;
    text-decoration: none;
} 
.im a img{
       width: 330px;
    height: 230px;
margin: 10px
}
.ih1{
    background-image: url("/Imagenes/1.jpg");
    background-size: cover;
    background-position: center top;
}
.ih2{
    background-image: url("/Imagenes/3.jpg");
    background-size: cover;
    background-position: center top;
}
.ih3{
    background-image: url("/Imagenes/7.jpg");
    background-size: cover;
    background-position: center top;
}
