@charset "utf-8";
/* CSS Document */
@font-face{
		font-family:avenir;
		src:url(../fonts/avenir.ttf);
	}
*{
	box-sizing: border-box;
}
html{
	background-color: #FFF;
	font-family: avenir;
}
body{
	background-color: #ecf0f1;
	margin: 0px;
}

header{
	position: fixed;
	z-index: 1000;
	padding: 15px;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
	margin-top: -80px;
}
header img{
	float:left;
	height: 50px;
}
#menu{
	float:right;
	margin:10px;
	cursor: pointer;
}
#menuspace{	
	width: 250px;	
	font-size: 22px;
	position: fixed;
	right: -300px;
	padding: 10px;
	background-color: rgba(255,255,255,0.70);
	transition: all 0.5s;
	color:#005DBD;
}
#menuspace li{
	list-style: none;
	margin-bottom: 5px;
}
#menuspace li:hover{
	color:#930002;
	cursor:pointer;
}
main{
	margin-top: 80px;
}
#services{
	text-align: center;
	padding: 30px 0px;
}
h2{
	text-align: center;
}
#profesional{
	background-color: #005DBD;
	padding: 30px 10px;
	color:#BAD7FF;
}
#profesional img{
	width:15%;
	margin: 1%;
	border: 3px solid #FFF;
	border-radius: 5px;
}
.contenedor{
	display:flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.caja{
	margin:2%;
	padding:40px 10px;
	width: 27%;
	display: inline-block;
	background-color: #152751;
	color: #DBDBDB;
	text-align: center;
	font-size: 12px;
}
.caja2{
	margin:2%;
	padding:20px 10px;
	width: 90%;
	background-color: #152751;
	color:#E8E6FF;
	color: #DBDBDB;
	text-align: center;
	font-size: 12px;
}
.caja2 img{
	margin:12px;
	width: 15%
}
.caja2 a{
	text-decoration:none;
	color: #DBDBDB;
}
.btn{
	border: none;
	padding: 10px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
}
.cancel{
	background-color: #C50003;
}
.cancel:hover{
	background-color: #9C0002;
	color:#FFA8A9;
}
.success{
	background-color: #25A600;
}
.success:hover{
	background-color: #197300;
	color: #D3FFC6;
}

#login,#dostomed,#msg{	
	border: 3px solid #152751;
	border-radius: 10px;
	background-color: rgba(255,255,255,0.80);
	position: fixed;
	top:120px;
	padding: 50px;
	transition: all 0.5s;
	
}
#login label,input{
	width:80%;
	margin: 10px 9%;
	height: 35px;
}
#dostomed label,input{
	width:80%;
	margin: 10px 9%;
	height: 35px;
}
#login h2{
	color:#152751;
}
.off{
	width: 20%;
	margin-left: 40%;	
	z-index: -1;
	opacity: 0;
}
.on{
	width: 70%;
	margin-left: 15%;	
	opacity: 1;
	z-index: 999;
}
footer{
	border-top: solid 5px #005DBD;
	background-color: #F0EBC1;
	padding: 20px;
	font-size: 12px;
}
footer img{
	width:220px
}
footer a{
	text-decoration:none;
	color: #000D37;
}
footer a:hover{
	color: #730000;
	font-weight: bold;
}
footer div{
	width:32%;
	text-align: center;
	display: inline-block;
}
.animado{
	opacity: 0.2;
	transition: all 0.5s;
}
.mostrararriba{
	animation: mostrararriba 1s;
}
.mostrarabajo{
	animation:mostrarabajo 1s;
}
.mostrarderecha{
	animation: mostrarderecha 1s;
}
.mostrarizquierda{
	animation: mostrarizquierda 1s;
}
@keyframes mostrararriba{
	0%{
		transform: translatey(70px);
	}
	100%{
		transform: translatey(0px);
	}
}
@keyframes mostrarabajo{
	0%{
		transform: translatey(-70px);
	}
	100%{
		transform: translatey(0px);
	}
}
@keyframes mostrarderecha{
	0%{
		transform: translateX(70px);
	}
	100%{
		transform: translateX(0px);
	}
}
@keyframes mostrarderecha{
	0%{
		transform: translateX(-70px);
	}
	100%{
		transform: translateX(0px);
	}
}


@media only screen and (max-width: 800px){
	html{
		overflow-x: hidden;
	}
	body{		
		margin: 80px 0px;
	}
	header{
		margin-top: -80px;
		height: 80px;
		padding: 2px;
	}
	header img{
		float:none;
		margin-top: 10px;
	}
	header h2{
		float:none;
		margin-left:10px;
		margin-top:0px;
	}
	
	main{
		margin-top: 10px;
	}
	#profesional img{
		width:40%;
		margin: 3%;
		border: 3px solid #FFF;
		border-radius: 5px;
	}
	.caja{
		margin:2%;
		padding:40px 10px;
		width: 90%;
		display: inline-table;
		background-color: #152751;
		color: #DBDBDB;
		text-align: center;
		font-size: 12px;
	}
	footer{
		padding: 8px;		
		text-align: center;
		width: 100%;
		background-color: #FFF;
	}
	footer div{
		width: 100%;
		padding: 20px 5px;
	}
	#slider-container {
		height: 220px;
	}
	.slider-element {
		height: 200px;
		overflow: hidden;
	}
	.element-blue,
	.element-green,
	.element-red {
		min-height: auto;
	}
	.slider-element img{

	}
	.off{
		width: 20%;
		margin-left: 40%;	
		z-index: -1;
		opacity: 0;
	}
	.on{
		width: 98%;
		margin-left: 1%;	
		opacity: 1;
		z-index: 999;
	}
}