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


 #titulo{
    background-color: yellow;
	width: 100%;
	text-align: left;
	padding-top: 30px;
    padding-left: 20px;
    padding-bottom: 5px;
    height: 80px;
 }

 #titulo h1{
    font-size: 20px;
	color: black;
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
	
 }

article h4{
    margin-left: 20px;
    font-weight:700;
    background-color: yellow;
    width:180px;
    height:30px;
    padding-left:10px;
    padding-top: 6px;
    margin-top: 10px;
    font-size: 15px;
}

article h5{
   margin-left: 10px;
    font-weight:700;
    background-color: yellow;
    width:200px;
    height:30px;
    padding-left:10px;
    padding-top: 6px;
    margin-top: 10px;
    font-size: 15px;
}
    
.formulario1{
    background-color: lightgray;
    margin:20px;
    margin-top: 10px;
    width:90%;
    padding:10px;
}

#item{
    margin-left: 10px;
    
}

input[type='text'] , input[type='password'] , input[type='number'] ,  textarea{
    width: 80%;
    color:black;
    background-color:white;
    border: 0px;   
    padding: 5px 5px 5px 5px;
    margin-bottom: 15px;
    margin-left: 10px;
    }
    

.formulario2{
    background-color: lightgray;
    margin:10px;
    padding:10px;
    
}


.botonreg h4{
    background-color: yellow;
    width:100px;
    height:30px;
    text-align: center;
    padding-top:4px;
    padding-left: 3px;
    margin-left: 125px;
    margin-bottom: 10px;
    text-decoration: none;
}

.botonreg h4 a:visited{
    color:black;
   
}


    
.cifra {
	font-weight:bold;
	font-size: 50px;
    text-align: center;
   
}

.epigrafe {
	font-weight:bold;
    text-align: center;
    
}

#gracias {
	width: 80%;
	margin:auto;
	text-align:center;
	font-weight:bold;
	margin-top: 20px;
	margin-bottom: 20px;
}

#gracias p{
	font-weight:100;
    font-size:15px;
}

footer {
	background: black;
    margin-top: 20px;
	
}

footer p {
	color: white;
	font-style: italic;
	padding: 1em;
	margin: 1em;
    font-size: 0.6em;
}

.footer-logos{
	text-align: center;
	word-spacing: 3em;
    padding-top: 10px;
	
}

footer img{
	max-width: 70%;	
	
}

@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;
}	




@media screen and (min-width: 800px) {
    
    main{
        100%
    }
	
@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;
		
	}
    
    #titulo{
        text-align: left;
        width: 90%;
        margin-left: 50px;
        
    }
    
     #titulo h1{
        font-size: 34px;
        }


  .formulario1{
    background-color: lightgray;
    float:left;
    margin-top:10px;
    width:45%;
    margin-left: 40px;
    height: auto;
  }
    
.formulario2{
    background-color: lightgray;
    float:right;
    width:45%;
    margin-top: -499px;
    margin-right:30px;
    clear: both
}

article h5{
   float:left;
   margin-left:30px;
}
    article h4{
    margin-left: 40px;
    margin-top: 20px;
    }
    
.botonreg h4{
    margin-left: 10px;
    text-align: center;
    padding: 5px;
    
}
    
   #numeros {
	width:80%;
	margin: auto;
	text-align:center;
	margin-top: 20px;
	margin-bottom: 20px;
}
#numIzq {
	width: 30%;
	float:left;
}
#numCent {
	width: 40%;
	float:left;
}
#numDer {
	width: 30%;
	float:left;
}
.cifra {
	font-weight:bold;
	font-size: 50px;
}
.epigrafe {
	font-weight:bold;
    margin-bottom: 20px;
}
#gracias {
	width: 60%;
	margin:auto;
	text-align:center;
	font-weight:bold;
	margin-top: 20px;
	margin-bottom: 20px;
    clear: both;
}
    
footer{
    clear:both;
}
    
    
footer p{
    text-align: center;
}
   

        
    
    
