@font-face {
  font-family: "Quicksand";
  src: url("../fonts/QuicksandBook.eot"); /* IE9 Compat Modes */
  src: 
  	url("../fonts/QuicksandBook.otf") format("opentype"), /* Open Type Font */
    url("../fonts/QuicksandBook.svg") format("svg"), /* Legacy iOS */
    url("../fonts/QuicksandBook.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/QuicksandBook.woff") format("woff"), /* Modern Browsers */
    url("../fonts/QuicksandBook.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
 }

body {
	font-family: 'Roboto', sans-serif;
	margin: 0;
	background: #e2e1e0;
}

header {
    background: #1775d1;
    color: white;
}

nav {
	
}

article {
	margin: 25px;
}


footer {
	text-align: center;
    background: #63a3ff;
    color: white;
}

section > h1, section > h2, section > h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
}

section > h1 {
	font-size: 3em;
	margin-top: 1.3em;
}

#texto h1 {
	margin-top: 0.6em;
}

section > h2 {
	font-size: 2.2em;
	margin-top: 1.3em;
}

section > h3 {
	font-size: 1.6em;
	margin-top: 1.6em;
}

blockquote {
	margin: 0px;
}

table {
	width: 100%;
	border-collapse:collapse;	
}

thead{
	background-color: #eee
}

td {
	border: 1px solid #ddd;
	padding: 7px;
	width: 10%;
}

th {
	text-align:left;
	font-weight: bold;
	border-top: 1px solid #aaa;
	padding: 7px;
}

td:first-child, th:first-child {
    border-left: 1px solid #aaa;
}

tr:last-child td {
    border-bottom: 1px solid #aaa;
}

td:nth-child(even), th:nth-child(even) {
    border-right: 1px solid #aaa;
}

th:nth-child(even) {
    border-left: 1px solid #ddd;
}

audio {
	border: solid 1px #ccc;
}

.contenedor {
	max-width: 1200px;
	min-width: 640px;
    margin: 0 auto;
}

.cabecera h1 {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: 2.5em;
    font-weight: normal;
    margin: 0px;
    padding: 30px 0 15px 20px;
}

.caja {
	background-color: #fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	margin: 15px;
}

.menu {
	list-style: none;
	display: flex;
	background-color: #004a9f;
	padding: 7px 14px;	
}

.menu a {
	color: white;
    text-decoration: none;
    text-align: center;
    padding: 7px 14px;
    font-size: 0.9em;
}

.menu a:hover {
    background-color: #ddd;
    color: black;
}

.pie {
	list-style: none;
	padding: 15px 0;
}

.pie a {
	color: #ddd;
	font-size: .8em;
	text-decoration: none;
}

.pie a:hover {
	text-decoration: underline;
}

.imagen, .video {
	display: -webkit-flex;
    -webkit-flex-direction: column;
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
}

.marco {
	-webkit-flex: 1
    flex: 1 1 25%;
    display: flex;
}

.marco-img, .marco-vid {
	text-align: center;
	font-size: 0.9em;
	font-weight: bold;
	width: 24%;
	border: solid 1px #ccc;
	margin-right: 1%;
	padding: 1%;
}

.marco-vid {
	width: 33%;
}

.imagen .marco img {
	width: 100%;
}

.marco video, .marco iframe {
	width: 100%;
	height: auto;
}

.marco div div {
	margin-bottom: 15px;
	background-color: #eee;
	padding: 5px;
}

.bloque {
	border: solid 1px #bbb;
}

#grad1 {
    background: linear-gradient(to bottom right, #000, #fff);
}

#grad2 {
  background: radial-gradient(circle, #000, #fff, #666);
}

#color {
  background-color: #666;
}

#imagen {
  background-image: url("../../img/fondo.jpg");
}

#borde1 {
	border: solid 3px #ccc;
}

#borde2 {
	border: solid 3px #ccc;
	border-radius: 10px;
}

#borde3 {
	border: solid 3px #ccc;
	border-radius: 15px 0 15px 0;
}

#borde4 {
	border: solid 3px #ccc;
	border-style: dotted;
}

#sombra1 {
    box-shadow: 3px 4px #555;
}

#sombra2 {
	box-shadow: 3px 3px 5px grey;
}

#sombra3 {
	box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#sombra4 {
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}


.ejemplos {
	background-color: #eee;
	border: solid 1px #ddd;
	padding-left: 10px;
}

.aladin {
	font-family: aladin, sans-serif;
	font-size: 1.5em;
}
.aclonica{
	font-family: aclonica, sans-serif;
	font-size: 1.1em;
}
.smythe {
	font-family: smythe, sans-serif;
	font-size: 1.5em;
}
.merriweather {
	font-family: 'Merriweather', serif;
	font-size: 1.1em;
}
.lobster {
	font-family: 'Lobster', cursive;
	font-size: 1.2em;
}
.ultra {
	font-family: 'Ultra', serif;
	font-size: 1.05em;
}
.quicksand {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05em;
}