*                    { margin: 0; padding: 0px; }
body                 { font: 16px Georgia, serif; }

#page-wrap           { margin: 0% auto; color: white; }
#page-wrap > .main   { border: 1px solid #999; padding: 1%; 
	                         margin-bottom: 1px; color: #333333; }

					
header{
	height: 300%;
	display: block;
	border: 2px solid #FFFFFF;
	padding: 1%;
	margin-bottom: 1px;
	background: url(../img/header.png) fixed transparent repeat-x;
	background-color:#333333;
}

nav, section { background: #eee; }

section #titulo  { text-align: center;}

section #subtitulo { margin-top: 5px; text-align:left;}

section { border-radius: 0px 0px 0px 65px;
-moz-border-radius: 0px 0px 0px 65px;
-webkit-border-radius: 0px 0px 0px 65px;
border: 2px solid #000000; 
		padding: 1%; 
	    margin-bottom: 1px; 
		color: black;
}

img#imagen { display: block; 
	                   margin: auto;
	                   width: 90%;
	                   max-height: 410px;
	                   padding: 5%;}
					   
					   
footer {
	 border: 1px solid #999; 
	 padding: 1%; 
	 margin-bottom: 1px; 
	background-color:#333333;
text-align: center;
color: #FFFFFF;

}


.clear {
	clear: both;
}
#page-wrap header h1 {
	position: relative;
	width:400px;
	top: -100px;
	left: 520px;
	text-align:center;
	color: #FFF;
	
}
#page-wrap header #cabeza {
	height: 155px;
	width: 100px;
	top: 1px;
	left: 380px;
	position: relative;
	border-radius: 0px 33px 0px 46px;
-moz-border-radius: 0px 33px 0px 46px;
-webkit-border-radius: 0px 33px 0px 46px;
border: 0px solid #000000;

-webkit-box-shadow: 23px 13px 24px 1px rgba(252,242,252,0.41);
-moz-box-shadow: 23px 13px 24px 1px rgba(252,242,252,0.41);
box-shadow: 23px 13px 24px 1px rgba(252,242,252,0.41);
}
@font-face {
		font-family: 'fira';
		src: url('FiraSans-HairItalic.otf');
	}
	.fon{
		font-family: fira;
		font-size: 36px;
		
	}
	.google{font-family: 'Pacifico', cursive;
	font-weight: 400;
	font-size:36px
	}
nav {
	border-radius: 0px 41px 0px 0px;
-moz-border-radius: 0px 41px 0px 0px;
-webkit-border-radius: 0px 41px 0px 0px;
border: 2px solid #000000;
	padding: 1%; 
	margin-bottom: 1px; 
	margin: 0px 10px 0px 7px;
}

ul {
	list-style-type: none;
  		
}
a {
	font-family: Comic Sans MS;
	color: #FFFFFF;
	text-decoration: none;
	font-size: 1em;
	display: block;
	padding: 6px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	background-color: #555555;
		border-radius: 0px 61px 0px 0px;
-moz-border-radius: 0px 61px 0px 0px;
-webkit-border-radius: 0px 61px 0px 0px;
	

}
a:hover {
	color: #333333;
	background-color: #FFFFFF;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #D8B3B3;
}
#page-wrap #s1 p {
	margin-top: 5px;
	font-size:14px;
	font-family:Arial;
}
#page-wrap #s1 hr {
	width:90%;
	margin-top: 15px;
	
}

#marco {
    background-color: #EEEEEE;
    padding: 1px;
    margin: 1px;
    border: 3px solid black;
	
}

#contenedor {
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    flex-wrap:wrap;
}

.vertical {
  padding:1px;
  border:1px solid black;
  background-color:white;
  width:30%;
  height:400px;
}

.horizontal {
  border:1px solid white;
  background-color:white;
  width:10%;
  height:196px;
}
#prueba{
	margin: 2px;
	border:1px solid white;
  background-color:white;
  width:35%;
  height:370px;
	
}
#prueba2{
	margin: 2px;
	border:1px solid white;
  background-color:white;
  width:22%;
  height:400px;
	
}
.vid
{
	  width:98%;
	  height:400px;
	   padding:1px;
  border:2px solid black;
  background-color: #333333;
  
 
}


#page-wrap #s1 .boton h3 {
	width: 299px;
	
}
#page-wrap #s1 .main h3 {
	margin-top: 0px;
	margin-left: 390px;
}
#page-wrap #s1 #calculo {
	color: #F00;
}
    