/*
Style guide

Colors:
		#1c7bc7		Azul Fivitec
		#fa7131		Naranja Fivitec
		#1f3769		Nuevo azul Fivitec
		#7f1710		Nuevo rojo Fivitec

*/
body, html {
	height: 100%;
}
body {
	background-color: #fff;
	color: #000;
	font-family: "Roboto", sans-serif;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}
a {
	color: #e8d63a;
	text-decoration: none;
	cursor:pointer;
}
a:hover {
	color: #6185c7;
}
input, select {
	padding: 0.2em;
	font-size: 1.2em;
	box-sizing: border-box;
}
input[type=button], input[type=submit] {
	background: #e8d63a;
	color: #7c701d;
	padding: 0.5em 1em 0.5em 1em;
	border-radius: 1em;
	cursor: pointer;
	font-weight: bold;
	font-size: 1.2em;
}
select, textarea {
	width: 100%;
}
::-webkit-scrollbar {
	display: none;
}
a {
	text-decoration: underline;
}
strong, .stg {
	color: #e8d63a;
}
input {
	padding: 0.5em;
}
input[type=button], input[type=submit] {
	background: #fff;
	color: #333;
	padding: 0.5em 1em 0.5em 1em;
	border-radius: 1em;
	cursor: pointer;
	font-weight: bold;
	font-size: 1.2em;
	margin: 1em;
}
header {
	background: #fff;
	color: #000;
	text-align: center;
}
header h1 {
	font-size: 1.5em;
	margin: 0;
}
textarea {
	margin: 1em auto 1em auto;
	max-width: 670px;
	display: block;
}
.container {
	max-width: 1000px;
	margin: auto;
	padding: 1em 0.8em 2em 0.8em;
	box-sizing: border-box;
	text-align: justify;
}
form {
	max-width: 800px;
	text-align: center;
	margin: auto;
}
form input[type=submit], form input[type=button] {
	padding: 0.5em 1em 0.5em 1em;
	display: block;
	margin: auto;
}
form table {
	margin: 1em auto 1.5em auto;
	width: 100%;
	max-width: 700px;
}
form td {
	text-align: left;
	padding: 0.5em 0 0 0;
	width: 100%;
	float: left;
}
form td:first-child {
	width: 100%;
	min-width: 115px;
	padding: 1.3em 0 0 0;
}
form input {
	border: 1px solid #bbb;
	box-sizing: border-box;
}
form input:not([type=submit], [type=checkbox]) {
	width: 100%;
}
form input[type=radio] {
	width: 18px;
	margin: 0 0.2em 0 0;
}
form textarea {
	border: 1px solid #bbb;
	box-sizing: border-box;
	margin: 0;
}
form .nota {
	font-size: 0.7em;
}
form p.nota {
	margin-top: 2em;
}
form input[type=checkbox] {
	width: 30px;
	height: 15px;
	margin: 0;
	position: relative;
	top: 2px;
	left: 5px;
	margin-bottom: 1.5em;
}
.answer {
	color: #f00;
}
#menu {
	position: absolute;
	background: rgba(255, 255, 255, 0.7);
	color: #1f3769;
	display: none;
	z-index: 10;
	width: 100%;
	padding-top: 5px;
}
#menu .close {
	float: right;
	cursor: pointer;
	padding: 1em;
	color: #9ebeff;
}
#menu .close:hover {
	color: #1f3769;
}
#menu ul {
	list-style: none;
	margin-top: 2em;
	padding: 0;
}
#menu ul a {
	text-decoration: none;
	color: #1f3769;
}
#menu ul li {
	padding: 0.5em 3em 0.5em 2em;
	font-weight: normal;
}
#menu ul a:hover li {
	background: #b9cbe1;
}
#menu ul a:hover {
	color: #7f1710;
}
#menu ul li.nest {
	background: #151515;
}
#menu ul li.nest a {
	display: block;
}
#menu ul li.nest ul a {
	padding: 0;
}
#menu ul li.nest a:hover {
	background: #e8d63a;
}
#menu ul a:hover {
	color: #000;
}
#menu ul li ul {
	margin: 0.5em 0 0 0;
}
#menu ul li ul li {
	padding: 0.5em 0 0.5em 0;
	font-weight: normal;
	text-align: center;
}
#menu #user {
	color: #e8d63a;
	font-weight: bold;
}
#open-menu {
	color: #1f3769;
	z-index: 9;
	cursor: pointer;
	font-size: 0.7em;
	padding: 1em 0 0 0;
	text-align: right;
}
#open-menu i:hover {
	color: #7f1710;
}
.tab {
	text-align: justify;
}
.tab a {
	color: #aa9a2e;
	font-weight: bold;
	text-decoration: none;
}
.tab a:hover {
	color: #dbc53b;
}
.tab strong {
	color: #aa9a2e;
}
.tab h1 {
	font-size: 1.2em;
	color: #aa9a2e;
}
.tab h2 {
	font-size: 1em;
}
.ad {
	height: 19vw;
	background-size: cover;
	border: 1px solid #fff;
	width: 95%;
	max-width: 500px;
	max-height: 100px;
	position: fixed;
	margin: 0 auto 0 auto;
	left: 0;
	right: 0;
	bottom: 5px;
	cursor: pointer;
}
.ad#ad1 {
	animation: slideshow 16s infinite;
	opacity: 0;
	z-index: 0;
}
.ad#ad2 {
	animation: slideshow 16s 8s infinite;
	opacity: 0;
	z-index: 0;
}
@keyframes slideshow {
	10% { opacity: 0.9; z-index: 1; }
	50% { opacity: 0.9; z-index: 1; }
	60% { opacity: 0; z-index: 0; }
	100% { opacity: 0; z-index: 0; }
}
.action {
	font-size: 1.2em;
	text-align: center;
}
.notes {
	margin-top: 3em;
	font-size: 0.8em;
}
div.embpic {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.embpic img {
	width: 100%;
	box-sizing: border-box;
}
.embpic span {
	display: inline-block;
	width: 100%;
	text-align: center;
	color: #333;
	padding-top: 0.5em;
}
footer {
	background: #0e1a33;
	color: #fff;
	text-align: center;
	padding: 20px 0 100px 0;
	clear: both;	
}
footer .container {
	padding-top: 2em;
	text-align: center;
}
footer a {
	text-decoration: none;
}
footer #social {
	margin: 1em 0 1em 0;
}
footer #social a {
	margin: 0 0.5em 0 0.5em;
}
footer #social img {
	width: 40px;
	opacity: 0.7;
}
footer #social img:hover {
	opacity: 1;
}
@media screen and (min-width: 600px) {
	header {
		text-align: left;
	}
	header .container {
		padding-bottom: 0;
	}
	header img {
		max-width: 200px;
	}
	header h1 {
		display: inline-block;
		font-size: 2em;
		margin-left: 2em;
		position: relative;
		top: -12px;
	}
	header h1 br {
		display: none;
	}
	#open-menu {
		display: none;
	}
	#menu {
		display: block;
		width: 100%;
		position: absolute;
		background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
	}
	#menu .close {
		display: none;
	}
	#menu ul {
		margin: 0 auto 0 auto;
		text-align: left;
		max-width: 1000px;
	}
	#menu ul li {
		display: inline-block;
		padding: 0.5em 1.5em 0.5em 1.5em;
	}
	#menu ul a:first-of-type li {
		padding-left: 0;
	}
	#menu ul li.nest {
		padding: 0.5em 0 0.5em 0;
		background: transparent;
	}
	#menu ul li.nest a {
		padding: 0 1em 0 1em;
	}
	#menu ul li.nest:hover {
		background: #b9cbe1;
	}
	#menu ul li.nest a:hover {
		background: #b9cbe1;
	}
	#menu ul a:hover {
		color: #fff;
	}
	#menu ul a:hover li {
		background: #b9cbe1;
	}
	#menu ul li ul {
		position: absolute;
		background: rgba(0, 0, 0, 0.3);
		display: none;
	}
	#menu ul li ul#options {
		right: 0;	
	}
	#menu ul li.nest:hover ul {
		display: block;
	}
	#menu ul li ul li {
		padding: 0.5em 1em 0.5em 1em;
		width: 100%;
		box-sizing: border-box;
		text-align: left;
		position: relative;
	}
	#menu ul li ul a:hover li {
		background: #b9cbe1;
	}
	#menu ul li ul a:hover li {
		color: #000;
	}
	.container {
		padding-top: 5em;
	}
	.tab h1 {
		font-size: 1.5em;
	}
	.tab h2 {
		font-size: 1.2em;
	}
	div.embpic {
		width: 45%;
		box-sizing: border-box;
		padding: 1em;
	}
	.emb-left {
		float: left;
		margin:1em 5% 1em 0;
	}
	.emb-right {
		float:right;
		margin:1em 0 1em 5%;
	}
	ul.embpic {
		width: 50%;
		box-sizing: border-box;
	}
}