* {
	box-sizing: border-box;
	font-size: 1em;
}

/* Style the body */
body {
	font-family: Arial;
	/*margin: 0;*/
	width: 96%;
	margin: 1.5vw auto;
	background: #1AA1F7;
	text-indent: 1vw;
}

/* Header/logo Title */
header {
	background: #1a67f7;
	text-align: center;
	color: #F1F806;
	border: 1px solid white;
	border-radius: 12px;
	padding-top: 2%;
}

hr {
	background: #fff;
	width: 95%;
	height: 0.5vh;
}

/* Style the top navigation bar */
nav {
	display: flex;
	overflow: hidden;
	background-color: #1AC8F7;
	border: 1px solid white;
	border-radius: 12px 12px 0 0;
	margin-top: 1.5vh;
}

/* Style the navigation bar links */
nav a {
	color: white;
	padding: 14px 20px;
	text-decoration: none;
	text-align: center;
}

.desactivado {
	background-color: #1AA1F7;
	color: black;
}

/* Change color on hover */
nav a:hover {
	background-color: #1AA1F7;
	color: black;
}

h1 {
	font-family: Lucida Console, Monaco;
	font-size: 3.5vw;
}


h2,
h3,
p {
	font-family: Verdana, Helvetica, Arial;
}

#intro {
	background: #CCD1CC;
}

/* Column container */
.row {
	display: flex;
	flex-wrap: nowrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
aside,
#banner {
	flex: 30%;
	background-color: #f1f1f1;
	padding: 0.5vw;
}

#sugerencias {
	background: #49D828;
	/*float: left;*/
	margin: 0.55vw;
	padding: 1.5vw;
	border: 1px solid white;
	border-radius: 1.5vh;
}

#banner a img {
	display: block;
	width: 100%;
	margin-top: 0.05vh;
	margin-bottom: 1vh;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid white;
	border-radius: 1.5vh;
}

/* Main column */
main {
	flex: 70%;
	background-color: white;
	padding: 0.05vw;
}

article {
	background-color: #F1F806;
	padding: 1.5vw;
	margin-bottom: 1.5vw;
	text-align: justify;
	overflow: auto;
}

article img,
iframe {
	display: block;
	margin: auto;
}

article p img {
	float: left;
	width: 25vh;
	margin-bottom: 1vh;
	margin-right: 1vh;
}

#indice {
	/*background-color: #bffbba;*/
	background-color: #f8f9f8;
}

#indice a {
	text-decoration: none;
	padding: 0.5vw;
	color: #000;
}

#indice a:hover {
	color: #CCD1CC;
}

#intro ul li {
	list-style: square;
}

#intro ul li a {
	text-decoration: none;
	color: #000;
}

#intro ul li a:hover {
	/*font-size: 130%;*/
	color: #fff;
}

#sitio-autor img {
	border-radius: 5vw;
	filter: saturate(200%);
	margin-bottom: 5vh;
}

.categoria div h4 {
	color: #A4A4A4;
	font-size: 18px;
	text-align: center;
}

.recurso {
	padding-top: 2vh;
	margin-bottom: 2vh;
}

.fondoclaro {
	background-color: #f8f9f8;
	padding: 1vh;
	border-radius: 0 3vh 3vh 0;
}

/* Fake image, just for this example */
/* {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}*/

/* Footer */
footer {
	background: #3044A8;
	color: #fff;
	clear: both;
	text-align: center;
	padding: 3vh 0px;
	border: 1px solid white;
	border-radius: 0 0 2.5vh 2.5vh;
	padding-top: 10vh;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {

	.row,
	nav {
		flex-direction: column;
	}
}

/*Agregado*/
div.gallery {
	border: 1px solid #ccc;
}

div.gallery:hover {
	border: 2px solid #777;
}

div.gallery img {
	width: 100%;
	height: auto;
}

div.desc {
	padding: 15px;
	text-align: center;
}

* {
	box-sizing: border-box;
}

.responsive {
	padding: 0 6px;
	float: left;
	width: 24.99999%;
}

@media only screen and (max-width: 700px) {
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 500px) {
	.responsive {
		width: 100%;
	}
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/*Fin del agregado*/

#formulario {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
}

form {
	background: violet;
	padding: 3vh;
}

form fieldset {
	border-style: none;
}

#hacia-arriba {
	position: fixed;
	bottom: 0;
	left: 2vw;
	opacity: 0.7;
}

#hacia-arriba img {
	width: 5vw;
}

#redes {
	position: fixed;
	bottom: 2vh;
	right: 3vw;
	opacity: 0.9;
}

#redes img {
	width: 3vw;
}