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

body {
	font-family: 'Roboto', sans-serif;
}

header{
	max-width: 100%;
	text-align: center;
}

header img{
	padding: 1em;
}

header nav ul{
	margin: 0;
	padding-bottom: 1em;
}
	
header nav ul li{
	display:block;
	padding-top: 1em;
	padding-bottom: 0,5em;
	list-style-type: none;

}

header nav ul li a{
	display: block;
    font-size: 11px;
    text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
}

.tienesub {	
	position: relative;
}


.sublista {
    display: none;
    position: absolute;
    padding-top: 0px;
    margin-left: 17px;
    width: 100%;
    text-align: left;
    border: 1px solid black;
    padding-bottom: 0px;
    border-bottom: none;
    background: white;
}

	
.tienesub:hover .sublista {
	display: block;
}

header nav ul.sublista li {
    margin-top: 0px;
    padding-top: 0px;
    border-bottom: 1px solid #dedede;
    width: 100%;
    padding: 10px;
}

.sublista li:hover {
	
	
}


footer {
	background: black;
	
}

footer p {
	font-size: 0.8em;
	color: white;
	font-style: italic;
	padding: 1em;
	margin: 1em;
	padding-bottom: 1em;
	text-align: center;
}

.footer-logos{
	text-align: center;
	word-spacing: 3em;
	
}

footer img{
	max-width: 70%;	
	margin: -0.5em;
	padding-top: 2em;
	
}

.bordeArriba{
	border-top: 3px solid black;
}
section{
	margin-top:3em;
	padding:16px;
}

li{
	list-style:none;
}

a{
	display: block;
	color:black;
	text-decoration:none;
}


#prevencion{
	width: 100%;
	margin: 0 auto;
}
#prevencion > header{
	background-color: #315BA4;
	width: 100%;
	text-align: left;
	padding-top: 30px;
    padding-left: 20px;
    padding-bottom: 5px;
    height: 80px;
}
#prevencion > header h1{
	font-size: 20px;
	color: white;
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
	text-shadow: 1px 1px 1px black;
}
#prevencion > h2{
	font-size: 18px;
	font-style: italic;
	margin-top: 10px;
}
#prevencion > img{
	width: 100%;
}
#prevencion > p{
	width: 96%;
	text-align: left;
	font-style: italic;
	font-weight: lighter;
	margin: 15px auto 0;
}
/*----------------Responsive 1---------------*/
@media screen and (min-width: 500px) {

	header{
		
	}
	
	
header img{
	margin-top: 1em;
	padding: 1em;
	float: left;
	clear: both;
}

header nav ul{

	padding-top: 3em;


	}	
	
header nav ul li{
	display:block;
	padding-top: 1em;
	padding-bottom: 0,5em;
	list-style-type: none;
	
}

header nav ul li a{
	display: block;
    font-size: 11px;
	text-align: right;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	padding-right: 4em;
}


.sublista {
	display: block;
}	
	
	
/*----------------Responsive 2---------------*/

@media screen and (min-width: 800px) {
	
	
	#prevencion {
		width: 76%;
	}

	#prevencion > header h1{
		font-size: 34px;
	}
		header{
		height: 15em;
	}

	header img{
		margin-left: 5em;
		float: left;
		width: 200px;
	}

	
	header nav ul{
		margin-top: 7em;
		width: 65%;
		text-align: right;
		float: right;
		
		
		}
	
	header nav ul li{

		display: inline-block;
				
	}
		
	header nav ul li a{
		text-decoration: none;
		font-size: 11px;
		margin-left: 1em;
		padding-right: 2em;
		
	}
	
	footer {
		margin-top: 1em;
		background: black;
		height: 13em;

	}

	footer p {
		margin-top: 3em;
		text-align: center;
		color: white;
		font-style: italic;
	}

	.footer-logos{
		text-align: center;
		word-spacing: 3em;
	}

	main{
		text-align:center;
	}
	
	footer img{
		padding-top: 2em;
		max-width: 80%;
	}

	#acumar p{
		text-align:left;
	}
	#acumar div{
		display:inline-block;
	}
	#textoIzq{
		width:30%;
	}
	#textoIzq img{
		width:100%;
	}
	#textoDer{
		width:50%;
	}
	#enlaces h1{
		text-align:left;
		width:80%;
		margin:auto;
		margin-bottom:25px;
		background-color:#fbde38;
		font-style:italic;
		padding:5px;
	}
	#enlacesTexto, #enlacesImg{
		display:inline-block;
		vertical-align:top;
	}
	#enlacesTexto{
		width:40%;
		text-align:left;
		padding-left:20px;
	}
	#enlacesTexto h2{
		font-size:16px;
	}
	#enlacesImg{
		width:40%;
	}
}
