@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dosis-v16-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Asgalt';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/Asgalt-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Berthold';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/Berthold Baskerville Book Italic.woff2') format('woff2');
}
html {
	font-family: 'Dosis', sans-serif;
	font-size: 16px;
}
body {
	background-size: cover;
	background: linear-gradient(to bottom right, #ffffff 40%, #6a7d8b 70%);
	margin: 0px;
	padding: 0px;
	color: #124f5c;
}
#footer {
	color: #243335;
	background-color: #176a78;
	text-align: center;
	padding: 4px;
}
#collapsed-menu {
	display: none;
	background: #fff;
	width: 22px;
	height: 22px;
	padding: 13px 13px 11px 13px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	text-decoration: none;
	font-size: 16px;
	text-indent: -9999em;
	line-height: 22px;
	font-size: 1px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 18px;
}
#collapsed-menu span {
	display: block;
	background: #000;
	height: 3px;
	margin-top: 3px;
}
#topbar {
	position: fixed;
	display: flex;
	top: 0px;
	background-color:#FFFFFF;
	z-index: 9500;
	opacity: 1.0;
	height: 96px;
	width: 100vw;
}
#logo {
	background: transparent no-repeat top left / contain url('../gui/logo.png');
	color: #294850;
	padding: 2px 2px 2px 2px;
	width: max(20vw, 420px);
	height: 90%;
}
#cover {
	background-image: url('../img/Ajedrez0.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-color: transparent;
	background-attachment: scroll;
	/*background-size: cover;*/
	background-position-y: 0px;
	height: 500px;
	text-align: center;
}
ul.menu-h {
	position: fixed;
	right: 210px;
	padding: 4px;
	margin: 0px;
	list-style: none;
	vertical-align: baseline;
	line-height: 12px;	
}
ul.menu-h > li.menu-item {
	background: none;
	list-style: none;
	float: left;
	position: relative;
	font-weight: bolder;
	font-size: 14pt;
	padding: 2px 2vw 12px 2vw;
	cursor: pointer;
}
ul.menu-h > li.menu-item:hover {
	background-color: #dfe3e6;
}
.menu-h a {
	display: inline-block;
	text-decoration: none;
	color: #124f5c;
	padding-top: 4px;
}
.banner {
	font-size: 2.2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 20px;
	padding: 36px 8px;
	color:#fff;
	background-color:#176a78;
	line-height: 60px;
}
.bio {
	padding: 6px 6px 26px 6px;
	/*display: none;
	display: table-cell;*/
	vertical-align: bottom;
	font-size: 1.2rem;
}
.bio pre {
	position: relative;
	text-align: left;
	top: -420px;
	left: 330px;
	font-family: 'Dosis';
	font-size: 12pt;
	color: white;
	display: none;
}
#team {
	display: contents;
	align-items: center;
	width: max-content;
	padding: 0px;
	break-inside: avoid;
}
#team li {
	display: inline-block;
}
#contactus {
	float: left;
	height: 480px; 
	background-color:#176a78;
	width: 100vw;
	padding: 12px;
	color: #1f363a;
	font-size: 1.6rem;
	font-weight: 100;
}
#form1 {
	display: inline-block;
	/*background-color:#176a78;*/
	background-color: #d3e2e5;
	width: 400px;
	left: calc(50vw - 200px);
	box-shadow: 6px 6px 8px #243335;
	font-size: 1.2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 20px;
	padding: 36px 8px;
	color:#243335;
	line-height: 0px;
}
#form1 input,
#form1 button,
#form1 textarea, 
#form1 select {
	font-size: 1.0rem;
	font-weight: 400;
	width: 280px;
	padding: 6px;
	border-radius: 6px;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes moveFrame {
	0% {
		/*transform: translate(0px,0px);*/
		background-position-x: -300px;
		width: 300px;

	}
	100% {
		background-position-x: -300px;
		/*transform: translate(-220px,0px);*/
		width: 640px;
	}
}
.profile {
  background: #176a78;
	background-size: 602px;
	background-repeat: no-repeat;
	color: #fff;
	display: inline-block;
	margin: 28px;
	padding: 8px 4px;
	width: 292px;
	height: 340px;
	font-size: 1.6rem;
	font-weight: 900;
	text-align: left;
	vertical-align: top;
	cursor: pointer;
}
.profile pre {
	font-family: 'Dosis';
	position: relative;
	top: -74px;
	left: 304px;
	font-size: 1.0rem;
	color: #fff;
	opacity: 0;
	display: none;
} 
.profile:hover {
	animation: moveFrame 1s forwards;
}
.profile:hover>pre {
	display: block;
	animation: fadeIn 4s forwards;
}
.profile:hover>a {
	display: block;
	animation: fadeIn 5s forwards;
}
.profile#jmpv {
	background-image: url("../img/Jorge.png"); /* fallback */
  background-image: url("../img/Jorge.png"), linear-gradient(to bottom, #ffffff 60%, #176a78 70%); /* W3C */
}
.profile#capv {
	background-image: url("../img/Carlos.png"); /* fallback */
  background-image: url("../img/Carlos.png"), linear-gradient(to bottom, #ffffff 60%, #176a78 70%); /* W3C */
}
.profile a {
	position: relative;
	display: none;
	top: -80px;
	left: 580px;
}
.profile span {
	position: relative;
	text-align: center;
	width: 100%;
	font-weight: 100;
	display: block;
	top: 280px;
}
.profile span.name {
	font-size: 1.4rem;
}
.profile span.position {
	font-size: 1.2rem;
}
#services {
	width: max-content;
	padding: 0px;
}
#services div {
	display: table-cell;
	text-align: center;
	vertical-align: top;
	margin: 12px;
	padding: 8px;
	font-size: 1.2rem;
}
.caption {
	display: table-cell;
	white-space: normal;
	width: 220px;
	height: 120px;
/*	overflow-wrap: break-word;
	border: 2px solid #8a98a3;
	border-radius: 18px;
	box-shadow: black 2px 2px 2px;*/
	text-align: center;
	vertical-align: bottom;
	margin: 12px;
	padding: 8px;
	font-size: 1.2rem;
	font-weight: bold;
	/*opacity: 0.7;*/
	cursor: pointer;
}
.caption>.title {
	display: block;
	font-size: 1.6rem;
	font-weight: 1400;
	padding: 6px;
	color: #000;
}
#plans {
	display: contents;
	align-items: center;
	width: max-content;
	padding: 0px;
}
#plans li {
	display: inline-block;
	width: 220px;
	height: 340px;
	border: 1px solid #8a98a3;
	border-radius: 18px;
	box-shadow: black 2px 2px 2px;
	text-align: center;
	vertical-align: bottom;
	margin: 12px;
	padding: 6px;
}
#plans li>description {
	font-family: 'Asgalt';
	font-size: 2.0rem;
	font-weight: 900;
	display: block;
	font-style: italic;
	font-weight: bold;
	border-radius: 12px 12px 0px 0px;
	padding: 10px 2px 10px 2px;
	background-color: #8a98a3;
	color: #fff;
}
.sn_spacer {
	display: inline-block;
	width: 12px;
}
@media (max-width: 940px) {
	#logo {
		min-width: 274px;
	}
}

@media (max-width: 500px) {
	#main-menu {
		display: none;
	}
	#collapsed-menu {
		display: block;
	}
	#collapsed-menu:hover ~ #main-menu,
	#main-menu:hover {
		display: grid;
		background-color: #fff;
		width: 100%;
	}
	#logo {
		width: 274px;
	}
}
