*{
	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 {
	
	
}


.slider{
	background: url("images/pisafondo.jpg");
	background-position-x: 65%;
    background-repeat-y: no-repeat;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
	text-align: center;
	width: 100%;
    height: 400px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    float: left;
    background-size: cover;	
	margin-bottom: 2em;
}




.slider h1 {
	color: white;
	float: left;
	position: absolute;
	margin-top: 300px;
	margin-left: 1rem;
	font-size: 2em;
	font-style: bold;
	background: #c24840; 
   	padding: 10px;

}


.slider p {
	text-align: left;
	color: white;
	float: left;
	position: absolute;
	margin-top: 340px;
	margin-left: 1rem;
	font-size: 1.2em;
	background: #c24840; 
   	padding: 10px;

}


section{
	text-align: center;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

h2{
	color: white;
	float: left;
	position: absolute;
	margin-top: 14.8em;
	margin-left: em;
	font-size: 1.8em;
	font-style: bold;
	background: #c24840; 
	background-margin: 1em;
	background-margin-left: 1em;
   	padding: 10px;
	text-align: center;

	
}

	
h4{
	clear: both;
	font-size: 1.8em;
	margin-left: 1em;
	padding-bottom: 0;
	margin-bottom: 0;
	text-align: center;
	padding-top: 4.5em;
		
}

.texto-pisa p{
	font-style: normal;
	margin-top: 1em;
	}

.texto-pisa nav ul{
	text-align: left;
	text-decoration: none;
	font-size: 18px;
	font-weight: 900;
	text-align: left;
	padding-left: 3em;
		
}

section img{
	max-width: 95%;
    margin-top: 1em;
	text-align: center;
	
}

.enlaces{
	padding-left: 1em;
	padding-right: 1em;
}

h5{
	color: black;
	font-size: 1em;
	font-style: italic;
	background: #f4de4a; 
   	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 6em;
	margin-bottom: -2em;	
}


a{
	text-decoration: none;
}

h6{
	font-size: 1.5em;
	margin-bottom: -0.2em;
	font-style: bold;
	padding-bottom: -1em;
	margin-top: 1.8em;
	text-decoration: none;
	color: black;
	}


.enlaces p{
	margin-top: 0;
	font-style: italic;
	
}

footer {
	background: black;
	padding-top: 1em;
	margin-top: 1em;
	
}

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: 1em;
	
}

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





/*----------------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;
}	
	
	
	
	h2{
		color: white;
	float: left;
	position: absolute;
	margin-top: 14.8em;
	margin-left: em;
	font-size: 1.8em;
	font-style: bold;
	background: #c24840; 
	background-margin: 1em;
	background-margin-left: 1em;
   	padding: 10px;
	text-align: center;
	width: calc(70%);
	
	}

/*----------------Responsive 2---------------*/

@media screen and (min-width: 800px) {
	
	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;
		
	}
    #contenedor{
        width: 100%;
        margin: auto;
        text-align: center;
    }
	
	.slider{
		background: url("images/pisafondo.jpg");
		background-position-y: 45%;	
		text-align: center;
		width: 100%;
		height: 500px;
		margin-top: 5px;
		margin-right: auto;
		margin-bottom: 0px;
		margin-left: auto;
		float: left;
		background-size: cover;	
		margin-bottom: 2em;

		}

	
	.slider h1 {
	color: white;
	float: left;
	position: absolute;
	margin-top: 300px;
	margin-left: 1em;
	font-size: 4em;
	font-style: bold;
	background: #c24840; 
   	padding: 10px;

}


	.slider p {
		color: white;
		float: left;
		position: absolute;
		margin-top: 380px;
		margin-left: 2em;
		font-size: 2em;
		background: #c24840; 
		padding: 10px;

		}
	
	

h2{
		color: white;
		float: left;
		position: absolute;
		margin-top: 16.3em;
		margin-left: em;
		font-size: 2em;
		font-style: bold;
		background: #c24840; 
		background-margin: 1em;
		background-margin-left: 1em;
		padding: 10px;
		text-align: center; 
		width: calc(60%);
	
	
	}
	
	section{
		text-align: center;
		width: 90%;
		padding: 0;
		margin: 0;
		
	}
	
	
	
	h4{
		margin-top: 1em;
	}
	
	.texto-pisa {
		clear: both;
		line-height: 1.3em;
		font-size: 1em;
		float: left;
		font-size: 17px;
		width: 30%;
		margin-left: 5em;


	}

	.texto-pisa p{	
		text-align: left;
		font-style: normal;
		margin-top: 1em;
		}

	.texto-pisa nav{
		margin-top: 1em;
		margin-bottom: 2em;
		
	}
	
	
	section img{
		float: right;
		margin-right: 1em;
		margin-top: 2em;
		width: 45%;
		margin-top: 4em;
		padding-top: 3em;
	}
	
	.enlaces{
		margin-left: 1em;	
		clear: both;
		text-align: left;
}
	
	
		
	h5{
	color: black;
	font-size: 1em;
	font-style: italic;
	background: #f4de4a; 
   	padding: 10px;
	padding-right: 2em;
	margin-bottom: 1em;	
	padding-top: 1em;
	
	}
	
	
	h6{
		color: black;
		font-size: 1.5em;
		margin-top: 0.5em;

	}

	a{
		text-decoration: none;
	}
