@import url(https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900);

/* GLOBALES */

.container {
	max-width: 100%;
}

html,
body,
main {
	font-size: 16px;
	min-width: 320px;
	min-height: 100%;
	font-family: 'Raleway', sans-serif;
}

.maps {
	width: 50rem;
	height: 28rem;

}

.justificado {
            text-align: justify;
}


/*	-------------------------------------------------------------------- */
/*								MENU									 */
/*	-------------------------------------------------------------------- */
.menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	max-width: 98%;
	/* margin: auto; */
	height: 0vh;
}

.fdo-menu {
	z-index: 999;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 0px;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.menu .boton-open-close {
	width: 36px;
	height: 52px;
	background: #0D3356;
	position: absolute;
	right: 5px;
	top: 0;
	border-radius: 0 0 7px 7px;
	padding-top: 10px;
	cursor: pointer;
}

.menu .boton-open-close hr {
	border: solid 2.5px #fff;
	margin: 5px 4px;
	border-radius: 3px
}

.menu .botones-right {
	background-color: #5e8fca;
	position: fixed;
	top: 0;
	left: 100%;
	bottom: 0;
	right: 0;
	transition: left 0.7s;
	overflow: hidden;
}

.menu .botones-right.open {
	left: 50%
}

.menu .botones-right button {
	border-radius: 50%;
	border: none;
	background: #fff;
	margin: 15px;
	float: right;
	height: 30px;
	width: 30px;
	position: absolute;
	right: 0;
	z-index: 999
}

.menu .botones-right ul {
	padding: 0;
	height: 100%;
	overflow: auto;
	position: relative;
	width: 100%;
	margin-top: 50px;
}

.menu .botones-right ul li {
	display: block;
	list-style: none;
}

.menu .botones-right ul li a {
	color: #fff;
	text-decoration: none;
	padding: 16px 50px;
	display: inline-block;
	width: 100%;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;

}

.menu .botones-right ul li a:hover,
.menu .botones-right ul li a.active {
	color: #0D3356;
	font-weight: 600
}

.flecha-top {
	position: fixed;
	bottom: 3.5rem;
	right: 20px;
	border: 2px solid #5e8fca;
	width: 50px;
	height: 50px;
	display: block;
	text-decoration: none;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	border-radius: 35px;
	display: none;
	margin-bottom: 15px;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	z-index: 999
}

.flecha-top span {
	width: 50%;
	display: block;
	height: 2px;
	top: 20px;
	left: 6px;
	transform: rotate(-59deg);
	position: absolute;
	background: #5e8fca;
}

.flecha-top span:last-child {
	left: 17px;
	transform: rotate(59deg);
}

.flecha-top.margin {
	margin-bottom: 115px;
}

/*	-------------------------------------------------------------------- */
/*								HOME									 */
/*	-------------------------------------------------------------------- */
.certi {
	position: relative; /*Se usa para que no se salga la imagen de la caja, ya que la imagen tiene position absolute */
	width: 450px;
	height: 250px; 
}

.imgcerti {
	position: absolute; /* se usa en caso de este div, donde tiene la altura y el ancho definido, sin esto top, right y left no funcionarían */
	width: 350px;
	/* top: 25%; sirve en caso de un div como este, donde tiene una altura definida, en caso de que la altura no este definida esta edición no se pone ; */
	right: 0; /* se debe usar para que margin 0 auto funcione */
	left: 0; /* se debe usar para que margin 0 auto funcione */
	margin: 0 auto; /* Esto lo centra */
}

.home:nth-child(2) {
	background: #fff
}

.home .prestaciones {
	height: 100vh;
	padding: 0;
}

.home .prestaciones>ul {
	position: relative;
	padding: 0;
	margin: 0;
	display: inline-block;
	height: 100vh;
}

.home .prestaciones>ul>li {
	overflow: hidden;
	display: inline-block;
	width: 49.5%;
	border-bottom: solid 1px #808080;
	border-right: solid 1px #808080;
	height: 25%;
}

.home .prestaciones>ul>li:nth-last-child(1),
.home .prestaciones>ul>li:nth-last-child(2) {
	border-bottom: 0
}

.home .prestaciones>ul>li a {
	display: inline-block;
	text-decoration: none;
	width: 100%;
	color: #000
}

.home .prestaciones>ul>li a img {
	height: 7rem; 
	width: auto;
	display: block;
	margin: auto;
	margin: 1.5rem auto;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	-ms-transition: all 100ms linear;
	transition: all 100ms linear;
}

.home .prestaciones>ul>li a i {
	font-size: 6rem;
	width: 100px;
	margin: 2rem;
	position: relative;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	-ms-transition: all 100ms linear;
	transition: all 100ms linear;
}

.home .prestaciones>ul>li a h1 {
	font-family: 'Raleway', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

.home .prestaciones>ul>li {
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}


.home .prestaciones>ul>li:hover,
.home .prestaciones>ul>li.active {
	background-color: #5e8fca
		/*Azul Urbanred*/
}

.home .contenido-prestaciones {
	overflow: scroll;
	width: 0px;
	z-index: 999;
	background-color: #5e8fca;
	position: fixed;
	top: 0;
	left: -100%;
	bottom: 0;
	right: 0;
	height: 100%;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.home .contenido-prestaciones.open {
	width: 100%;
	left: 0px;

}

.home .contenido-prestaciones button {
	border-radius: 50%;
	border: none;
	background: #fff;
	margin: 15px;
	float: right;
	height: 30px;
	width: 30px;
	position: absolute;
	right: 0;
	z-index: 999;
}

.home .contenido-prestaciones .icono {
	width: 110px;
	height: 110px;
	margin-top: 60px;
}

/* .home .contenido-prestaciones .icono .formacion{
	width: 140px;
	height: auto;
	margin-top: 50px;
} */

.home .contenido-prestaciones .icono i {
	font-size: 4rem;
	width: 100px;
	float: right;
	margin: 30px 0px 0px 30px;
	position: relative;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	-ms-transition: all 100ms linear;
	transition: all 100ms linear;
}

.home .contenido-prestaciones .icono img {
	width: 90%;
	margin: 5%
}

.home .contenido-prestaciones .formacion img {
	width: 25%;
	margin-top: 7%
}

.home .contenido-prestaciones h1 {
	font-family: 'Raleway', sans-serif;
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
	text-transform: none;
}

.home .contenido-prestaciones p {
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
}

.home .contenido-prestaciones ul {
	padding: 0px;
}

.home .contenido-prestaciones ul li {
	font-size: 1rem;
	font-weight: medium;
	color: #FFFFFF;
	line-height: 22px;
	padding: 0px;
	list-style-image: url(../img/vineta.png);
}

.home .contenido-prestaciones ul li h1 {
	font-weight: bold;
	font-size: 1rem;
	font-weight: medium;
	color: #FFFFFF;
	line-height: 22px;
	margin: 0px 0px 5px
}

.home .carousel-home {
	padding: 0px;
	position: absolute;
}

.home .carousel {
	height: 100vh;
}

.home .carousel .item {
	background-image: url(../img/home/GRAFICA_1.png);
	background-repeat: no-repeat;
	background-size: 98%;
	background-position: center center;
	height: 99vh;
	width: auto;
}

.home .carousel .item:nth-child(2) {
	background-image: url(../img/home/GRAFICA_2.png);
	background-repeat: no-repeat;
	background-size: 98%;
	background-position: center center;
	height: 99vh;
	width: auto;
}

.home .carousel .item:nth-child(3) {
	background-image: url(../img/home/GRAFICA_3.png);
	background-repeat: no-repeat;
	background-size: 98%;
	background-position: center center;
	height: 99vh;
	width: auto;
}

.home .carousel .item:nth-child(4) {
	background-image: url(../img/home/GRAFICA_4.png);
	background-repeat: no-repeat;
	background-size: 98%;
	background-position: center center;
	height: 99vh;
	width: auto;
}

.home .carousel .item:nth-child(5) {
	background-image: url(../img/home/GRAFICA_5.png);
	background-repeat: no-repeat;
	background-size: 98%;
	background-position: center center;
	height: 99vh;
	width: auto;
}

.home .carousel .item img {
	position: absolute;
	left: -1000px;
	right: -1000px;
	top: -1000px;
	bottom: -1000px;
	min-width: 100%;
	margin: auto;
	max-width: initial;
}

.home .carousel .carousel-indicators {
	z-index: 2
}

.home .carousel .carousel-indicators li {
	width: 18px;
	height: 18px;
	margin: 0px 9px;
}

.home .carousel .carousel-indicators li:hover {
	background-color: #fff
}

.home .carousel .item p {
	font-size: 21px;
	color: #fff;
	text-align: center;
	font-weight: bold;
	width: 83%;
	top: 100px;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	line-height: 22px;
}

/*	-------------------------------------------------------------------- */
/*								Banner				    		     	 */
/*	-------------------------------------------------------------------- */
.banner {
	height: auto;
	position: relative;
	text-align:center;
	margin-top: auto;
	padding: 1rem; 
}

.banner1 {
	text-align: center;
	padding: 1rem;	
}

.banner2 {
	text-align: center;
	padding: 1rem;
}

.banner3 {
	text-align: center;
	padding: 1rem;
}

.banner4 {
	text-align: center;
	padding: 1rem;
}

.banner1>img {
	margin: 2rem 2rem;
	max-width: 10rem;
	height: auto;
}

.banner2>img {
	margin: 2rem 2rem;
	max-width: 10rem;
	height: auto;
}

.banner3>img {
	margin: 2rem 2rem;
	max-width: 10rem;
	height: auto;
}
.banner4>img {
	margin: 2rem 2rem;
	max-width: 10rem;
	height: auto;
}

/*	-------------------------------------------------------------------- */
/*								FOOTER				    		     	 */
/*	-------------------------------------------------------------------- */

footer {

	height: auto;
	padding-bottom: 0rem;
	background-color: whitesmoke;
}

.footer .menu {

	background-color: transparent;
	position: relative;
	left: 0rem;
	z-index: 4;
	height: auto;
}

.footer .menu ul {

	height: 100%;
	overflow: clip;
	position: relative;
	width: auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
	display: inline-block;
}

.footer .menu ul li {
	display: block;
	list-style: none
}

.footer .menu ul li a {
	color: black;
	text-decoration: none;
	padding: 0.5rem 0.5rem;
	display: inline-block;
	width: 100%;
	margin-left: 0rem;
	font-family: 'Raleway', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	/* text-transform: uppercase;
    text-align: center; */
}

.footer .menu ul li a:hover {
	color: grey;
}

.web {
	display: flex;
	/* text-align: center; */
	align-items: center;
	align-content: center;
	font-family: 'Raleway', sans-serif;
}

.web img {
	align-items: center;
	align-content: center;
	margin: 6rem auto;
}

.logofooter {
	margin: 0rem auto;
	margin-top: -1rem;

	height: 5.8rem;
	/* text-align: center;*/
}

.redes {
	height: 3rem;
	width: auto;
	margin-left: 0rem;

}

/* css Juan */
.conecta {
	text-align: center;
	color: black;
	margin-top: 1rem;
	padding-left: 1rem;
}

.conecta h2 {
	font-size: 1rem;
	font-weight: bold;
	text-transform: lowercase;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

.conecta a {
	/* display: block; */
	margin: 1rem 0rem;

}

.viajes {
	text-align: center;
	color: black;
	margin-top: 2rem;
	padding-left: 1rem;
}

.viajes h2 {
	font-size: 1rem;
	font-weight: bold;
	text-transform: lowercase;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

.viajes a {
	/* display: block; */
	margin: 1rem 0rem;

}

.inmo {
	text-align: center;
	color: black;
	margin-top: 2rem;
	padding-left: 1rem;
}

.inmo h2 {
	font-size: 1rem;
	font-weight: bold;
	text-transform: lowercase;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

.inmo a {
	/* display: block; */
	margin: 1rem 0rem;
}

.seguros {
	text-align: center;
	color: black;
	margin: 2rem 0rem;
	padding-left: 1rem;
}

.seguros h2 {
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	text-transform: lowercase;
	font-family: 'Raleway', sans-serif;
}

.seguros a {
	/* display: block; */
	margin: 1rem 0rem;
}


.home .contenido-secciones {
	overflow: scroll;
	width: 0px;
	z-index: 999;
	background-color: #0D3356;
	position: fixed;
	top: 0px;
	background-attachment: fixed;

	left: -100%;
	bottom: 0;
	right: 0;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	height: 100%;
}

.home .contenido-secciones.open {
	width: 50%;
	left: 0px;
	overflow: auto;
}

.home .contenido-secciones h1 {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin: 70px 0px 30px;
}

.home .contenido-secciones h2 {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 15px;
}

.home .contenido-secciones p {
	font-size: 14px;
	font-weight: medium;
	color: #FFFFFF;
	line-height: 22px;
}

.home .contenido-secciones button {
	border-radius: 50%;
	border: none;
	background: #fff;
	margin: 15px;
	float: right;
	height: 30px;
	width: 30px;
	position: absolute;
	right: -8.33%;
	z-index: 999
}

.home .contenido-secciones ul {
	padding: 0px
}

.home .contenido-secciones ul li {
	list-style-image: url(../img/vineta.png);
	font-size: 14px;
	font-weight: medium;
	color: #FFFFFF;
	line-height: 22px;
	padding: 0px
}

.home .contenido-secciones ul li h1 {
	font-weight: bold;
	font-size: 14px;
	font-weight: medium;
	color: #FFFFFF;
	line-height: 22px;
	margin: 0px 0px 5px
}

.home .contenido-secciones iframe {
	width: 100%;
	height: 750px;
	padding-left: 25%
}

/* Botones Enlaces */

.btn-enlace {
	width: 20rem;
	height: auto;
}

/* MEDIA QUERY */

@media(max-width: 1400px) {
	.home .prestaciones>ul>li a h1 {
		font-size: 0.8rem;
	}

	.home .prestaciones>ul>li a img {
		height: 5rem; 
		width: auto;
		display: block;
		margin: auto;
		margin-top: .5rem;
	}

	.home .carousel .item {
		background-image: url(../img/home/GRAFICA_1.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(2) {
		background-image: url(../img/home/GRAFICA_2.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(3) {
		background-image: url(../img/home/GRAFICA_3.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(4) {
		background-image: url(../img/home/GRAFICA_4.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(5) {
		background-image: url(../img/home/GRAFICA_5.png);
		background-position: center center;
	}

	.home .carousel .item p {
		font-size: 19px;
		top: 90px;
	}

	.redes {
	height: 2rem;
	width: auto;
	margin-left: 0rem;

}

}


@media(max-width: 991px) {

	.home .carousel-home {
		position: relative;
	}

	.home .carousel {
		height: 991px;
	}

	.home .carousel .item {
		height: 991px;
		width: auto;
		margin-top: 0.5rem;
		background-image: url(../img/home/GRAFICA_1.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(2) {
		height: 900px;
		background-image: url(../img/home/GRAFICA_2.png);		
	}

	.home .carousel .item:nth-child(3) {
		height: 900px;
		background-image: url(../img/home/GRAFICA_3.png);		
	}

	.home .carousel .item:nth-child(4) {
		background-image: url(../img/home/GRAFICA_4.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(5) {
		background-image: url(../img/home/GRAFICA_5.png);
		background-position: center center;
	}

	.home .prestaciones {
		margin: 0;
		padding: 0;
		background-color: #fff;
	}

	.home .prestaciones>ul>li a h1 {
		font-size: 0.8rem;
	}

	.home .contenido-prestaciones.open {
		width: 100%;
		left: 0px;
		padding: 1rem;

	}	

	.home .contenido-secciones.open {
		width: 100%;
	}

	.home .contenido-secciones ul {
		padding-left: 15px
	}
}


@media(max-width: 767px) {

	.home .carousel {
		height: 768px
	}

	.home .carousel .item {
		height: 768px;
		width: auto;
		background-image: url(../img/home/GRAFICA_1.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(2) {
		background-image: url(../img/home/GRAFICA_2.png);
	}

	.home .carousel .item:nth-child(3) {
		background-image: url(../img/home/GRAFICA_3.png);
	}

	.home .carousel .item:nth-child(4) {
		background-image: url(../img/home/GRAFICA_4.png);
	}

	.home .carousel .item:nth-child(5) {
		background-image: url(../img/home/GRAFICA_5.png);
	}

	.home .carousel .item p {
		font-size: 15px;
		line-height: 17px;
		top: 85px
	}

	.home .prestaciones>ul>li a img {
		height: 4.5rem;
		width: auto;
		margin-top: 1rem;
	}

	.home .prestaciones>ul>li a h1 {
		font-size: 0.8rem;
	}

	.flecha-top {
		width: 35px;
		height: 35px;
	}

	.flecha-top span {
		left: 5px;
		top: 14px;
		width: 45%
	}

	.flecha-top span:last-child {
		left: 12px;
	}

	.flecha-top.margin {
		margin-bottom: 170px;
	}

	.btn-enlace {
		width: 25rem;
		height: auto;
	}

	.banner1>img {
		margin: 1rem 3rem;
		max-width: 40%;
		height: auto;
	}
	
	.banner2>img {
		margin: 1rem;
		max-width: 37%;
		height: auto;
	}
	
	.banner3>img {
		margin: 1rem;
		max-width: 37%;
		height: auto;
	}
}

@media(max-width: 479px) {

	.home .carousel {
		height: auto;
	}

	.home .carousel .item {
		height: 479px;
		width: auto;
		background-image: url(../img/home/GRAFICA_1.png);
		background-position: center center;
		background-size: 100%;
	}

	.home .carousel .item:nth-child(2) {
		height: 479px;
		width: auto;
		background-image: url(../img/home/GRAFICA_2.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(3) {
		height: 479px;
		width: auto;
		background-image: url(../img/home/GRAFICA_3.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(4) {
		height: 479px;
		width: auto;
		background-image: url(../img/home/GRAFICA_4.png);
		background-position: center center;
	}

	.home .carousel .item:nth-child(5) {
		height: 479px;
		width: auto;
		background-image: url(../img/home/GRAFICA_5.png);
		background-position: center center;
	}

	.home .carousel .item p {
		font-size: 13px;
		line-height: 15px;
		width: 86%;
		top: 75px
	}

	.home .prestaciones {
		height: auto;
		padding: 0;
	}
		
	.home .prestaciones>ul {
		height: auto;
	}

	.home .prestaciones>ul>li {
		width: 100%;
		float: center;
		border-bottom: solid 1px #808080 !important;
	}

	.home .prestaciones>ul>li a img {
		height: 4.5rem;
		width: auto;
		margin: auto;
		
	}

	.home .prestaciones>ul>li a h1 {
		font-size: 0.85rem;
	}

	.flecha-top {
		right: 5px;
		bottom: -10px;
	}

	.flecha-top.margin {
		margin-bottom: 215px;
	}

	.menu .botones-right.open {
		left: 0%;
	}

	.btn-enlace {
		width: 20rem;
		height: auto;
	}

}