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

body{
	font-family: "Open Sans",Arial,sans-serif;
	background: #F3F3F3;
	padding: 0 30px 0 30px;
}


a, a:hover, a:active, a:visited{
	text-decoration: none;
	color: inherit;
}

#adobe-dc-view{
	margin-top: 5vh;
	height: 95vh;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#mainContainer{
	display: flex;
	flex-flow: column nowrap;
	background: #fff;
	min-height: 100vh;
  	-webkit-box-shadow: 0px 0px 6px 4px #ddd;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  	-moz-box-shadow:    0px 0px 6px 4px #ddd;  /* Firefox 3.5 - 3.6 */
  	box-shadow:         0px 0px 6px 4px #ddd;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */

}

section{
	display: flex;
	width: 100%;
}

.flex-row{
	display: flex;
	flex-flow: row wrap;
}

.flex-column{
	display: flex;
	flex-flow: column wrap;
}

/* ::::::::::: Main Nav ::::::::::: */

#mainNav{
	display: flex;
	flex-flow: row wrap;
	background: #2EA3F2;
	width: 100%;
	align-items: center;
	justify-content: space-evenly;
	padding: 8px 20px 8px 20px;
}
	#mainNav h4{
		text-transform: uppercase;
		font-weight: 400;
		color: #fff;
	}
	#mainNav h4{
		font-size: 0.9em;
		flex: 1 1 0;
	}
	#mainNav aside{
		display: flex;
		flex-flow: row nowrap;
	}
		#mainNav aside h5{
			font-size: 0.7em;
			margin-left: 10px;
			text-transform: capitalize;
			font-weight: 400;
			color: #fff;
		}

	#mainNav h4:hover, #mainNav h5:hover{
		color:  #0e507d;
	}

/* ::::::::::: Main Head ::::::::::: */

#mainHead{
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	min-height: 160px;
	border-bottom: 1px solid #eaeaea;
	padding: 10px 0 10px 0;
}
	#mainHead header{
		text-align: center;
	}
		#mainHead h1, #mainHead h2{
			font-family: 'Times New Roman', Times, serif;
			color: #333399;
		}
		#mainHead h1{
			font-size: 3em;
			text-transform: uppercase;
			font-weight: 400;
		}
		#mainHead h2{
			text-transform: uppercase;
			font-size: 1.1em;
			font-weight: 300;
		}

/* :::::::::::::: Intro :::::::::::::: */
	#intro{
		flex-flow: column nowrap;
		border-bottom: 1px solid #eaeaea;
	}

	#intro nav, #numeros nav, #footer nav{
		display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		margin-top: 10px;
		margin-bottom: 20px;
		align-items: flex-end;
		width: 100%;
	}
		#intro nav h3, #numeros nav h3, #footer nav h3{
			color: #777;
			font-size: 0.9em;
			font-family: "Open Sans",Arial,sans-serif;
			font-weight: 400;
			margin-right: 5px;
		}

	#introContent{
		flex-flow: column nowrap;
		color: #333399;
		font-size: 1.1em;
		line-height: 1.4em;
		max-height: 70vh;
		overflow-y: scroll;
		-webkit-box-shadow: inset 0px 0px 4px 2px #aaa;
		-moz-box-shadow:    inset 0px 0px 4px 2px #aaa;
		box-shadow:         inset 0px 0px 4px 2px #aaa;
		padding: 10px;
		background: rgba(220,239,252, 0.2);
	}

		#introContent article.flex-row{
			align-items: center;
		}

		#introContent article.flex-row figure{
			flex: 1 2 0;
			margin-right: 20px;
			text-align: center;
		}
			#introContent article.flex-row figure img{
				width: 100%;
				min-width: 200px;
			}

		#introContent article.flex-row p{
			flex: 2 1 0;
			min-width: 400px;
			margin-bottom: 10px;
		}
			#introContent article.flex-row p span{
				font-size: 1.2em;
				margin-bottom: 5px;
				font-weight: bold;
			}

		#introContent article.flex-column p{
			margin-bottom: 10px;
		}
		#introContent article.flex-column p em{
			font-weight: bold;
		}

/* :::::::::::::: Numeros :::::::::::::: */


#numeros{
	margin-top: 100px;
	margin-bottom: 50px;
	flex-flow: column wrap;
	width: 100%;
	border-bottom: 1px solid #eaeaea;
}
	#numeros header{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
		align-items: center;
		padding: 10px 20px 10px 20px;
		width: 100%;
		margin-bottom: 20px;
	}
	#numeros header h2{
		font-family: 'Times New Roman', Times, serif;
		color: #333399;
		font-size: 2.4em;
		text-transform: uppercase;
		font-weight: 400;
	}
	#numeros header aside{
		padding-left: 40px;
	}
	#numeros header p{
		font-size: 1.2em;
		font-weight: 300;
	}

	#numeros select{
		width: 100%;
		height: 30px;
		background: #dadada;
		border-radius: 5px;
		margin-top: 10px;
		border: 2px solid #333399;
		font-size: 1.2em;
	}

	#muestreo{
		width: 100%;
		display: flex;
		flex-flow: row nowrap;
		flex-direction: row-reverse;
		padding: 10px;
		overflow-x: scroll;
		background: #dadada url('../img/esbgn1.png') repeat center center;
		-webkit-box-shadow: inset 0px 0px 6px 4px #144669;
		-moz-box-shadow:    inset 0px 0px 6px 4px #144669;
		box-shadow:         inset 0px 0px 6px 4px #144669;
	}


.revista{
	min-width: 200px;
	height: auto;
	margin: 30px 20px 30px 20px;
	text-align: center;
}
	.revista img{
		width: 100%;
		-webkit-box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.3);
		-moz-box-shadow:    0px 0px 6px 3px rgba(0, 0, 0, 0.3);
		box-shadow:         0px 0px 6px 3px rgba(0, 0, 0, 0.3);
	}
	.revista nav{
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-evenly;
	}
	.revista h4{
		font-size: 1.2em;
		color: #0165bf;
	}
	.revista figcaption{
		font-weight: bold;
		color: #3f3f3f;
		margin-bottom: 10px;
	}
	.revista nav h5{
		cursor: pointer;
		text-transform: uppercase;
		font-weight: 400;
		color:#333399;
		font-size: 1.1em;
	}
	.revista nav h5:hover{
		font-weight: bold;
	}

.revista.hide{
	display: none;
}

.revista.show{
	display: block;
}

/* :::::::::::::: Viewer :::::::::::::: */

#viewer{
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: center;
}

#viewer header{
	display: flex;
	flex-flow: column wrap;
	justify-content: space-around;
	align-items: center;
	padding: 10px 20px 10px 20px;
	width: 100%;
	margin-top: 40px;
}

#viewer header h2{
	font-family: 'Times New Roman', Times, serif;
	color: #333399;
	font-size: 3em;
	text-transform: uppercase;
	font-weight: 400;
}

#adobe-dc-view{
	width: 100%;
	margin-top: 5vh;
	margin-bottom: 5vh;
    height: 90vh;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
#viewer a{
	width: 100%;
	text-align: center;
	padding-bottom: 10px;
}

#download{
	width: 60%;
	max-width: 300px;
	height: 50px;
	margin-top: -30px;
	font-size: 1.6em;
	margin-bottom: 10px;
	cursor: pointer;
	color: #fff;
	background: rgb(6,51,83);
	background: linear-gradient(0deg, rgba(6,51,83,1) 0%, rgba(20,68,104,1) 34%, rgba(20,68,104,1) 66%, rgba(6,51,83,1) 100%);
	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
  	-webkit-border-radius: 15px; 
  	/* Firefox 1-3.6 */
  	-moz-border-radius: 15px; 
  	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  	border-radius: 15px; 
}

#download:hover{
	color: #144669;
	background: #dadada;
	font-weight: bold;
}


#footer{
	flex-flow: column nowrap;
	background: #fff;
	height: 200px;
	justify-content: flex-start;
	padding: 0;
	-webkit-box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0px 0px 4px 2px rgba(0, 0, 0, 0.2);
	box-shadow:         0px 0px 4px 2px rgba(0, 0, 0, 0.2);
	margin-top: 60px;
	position: relative;
}

#footer nav {
	background: #fff;
	height: 40px;
	align-items: center;
	margin-top: 0px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

#footer address{
	background: #021794;
	height: 100px;
	width: 100%;
	position: absolute;
	bottom: 0px;
	display: flex;
	flex-flow: row nowrap;
	color: #fff;
	font-family: 'Times New Roman', Times, serif;
}

#footer address a{
	position: absolute;
	left: 40px;
	top: 40%;
	font-style: italic;
	font-size: 1.3em;
	font-weight: 400;
}

#footer address p{
	position: absolute;
	right: 40px;
	top: 40%;
}





