/*
Theme Name:   Divi Child
Description:  Divi Theme
Author:           NDC
Template:         Divi
Version:          1.0.0
*/

/* Poniendo los Z-indexes en orden */
#main-content{
	position: relative; 
	z-index: 10;
}
#et-main-area footer{
	position: relative;
	z-index: 9;
}

.et-l--header{
	position: relative;
	z-index: 11;
}
/* Poniendo los Z-indexes en orden */


/*Downloads*/
.downloads a{
	display: flex;
	align-items: center; 
	margin-left: 2em; 
	color: black; 
}

.downloads a img{
	margin-right: 1em; 
}
/*Downloads*/

/*Artículos de blog*/
.et_pb_blog_grid article .post-content{
  width: max-content;
  margin-left: auto;
  margin-top: auto;
}

.et_pb_blog_grid article{
  display: flex;
    flex-direction: column;
    height: 500px;
}

.et_pb_blog_grid article:hover{
 	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.et_pb_blog_grid article .post-content::after{
  content:">";
  margin-left: 5px;
  transition: margin-left 0.5s;
  color: #20b4c1;
  font-size: 18px;
}

.et_pb_blog_grid article .post-content:hover::after{
  margin-left: 10px;
  transition: margin-left 0.5s;
}

.et_pb_blog_grid .et_pb_image_container .published{
  background: white;
    width: max-content;
    padding: 5px;
    border-radius: 10px;
    color: #20b4c1;
    margin: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
  position: absolute;
  z-index: 999;
}
.et_pb_blog_grid .et_pb_image_container img{
  width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.et_pb_blog_grid .et_pb_image_container{
  padding: 10px;
}

.et_pb_blog_grid article a[rel="tag"]{
  font-size: 18px;
  font-family: "Barlow";
  color: #666;
  font-weight: 300;
}
.et_pb_blog_grid article .et_pb_image_container{
  margin-bottom: 0px;
}

#page-container .et_pb_blog_grid article .post-meta{
	display: none !important; 
}

@media (max-width: 980px){
	.et_pb_blog_grid article a[rel="tag"]{
		  font-size: 16px;
	}
	.et_pb_blog_grid article .post-content::after{
	  font-size: 16px;
	}
}
/*Artículos de blog*/

/*Paginación de blog*/
#page-container .wp-pagenavi {
  width: max-content;
  margin: auto; 
  display:flex;
  padding-top: 40px;
}

#page-container .wp-pagenavi > * {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  border: 1px solid #20b4c1;
  border-radius: 50%;
  font-weight: 500;
  font-size: 20px;
  margin: 0 10px 0 10px;
}

#page-container .wp-pagenavi > .current{
  background: #20b4c1;
  color: black; 
}

#page-container .wp-pagenavi > a{
  color: #666;
}

#page-container .wp-pagenavi > a.nextpostslink , #page-container .wp-pagenavi > a.previouspostslink{
  color: #20b4c1;
}
/*Paginación de blog*/



/*Menú mágico*/
#menu-responsive-section{
	  height: 0px;
  width: 0px;
  top: 100px !important;
  overflow: hidden;
  z-index: 99999;
}
#menu-responsive-section.close-menu{
  animation: shrinkContainer 1.1s linear;
  /*animation-delay: 0.5s;*/
}
#menu-responsive-section.amplify-menu{
  height: calc(100vh - 100px);
  width: 100vw;
  animation: expandContainer 0.6s linear;
  opacity: 1; 
}


@keyframes expandContainer {
  0% {
    width: 0;
    height: 0;
    border-bottom-right-radius: 100%;
  }
  85% {
    width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-right-radius: 100%;
  }
  100% {
    border-bottom-right-radius: 0;
  }
}

@keyframes shrinkContainer {
  0% {
	  opacity: 1; 
    width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-right-radius: 0;
  }
	45.5%{
		opacity: 1; 
		width: 100vw;
		height: calc(100vh - 100px);
		border-radius: 0;
	}
  53.68% {
	width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-right-radius: 100%;
  }
  99.46% {
	width: 0;
    height: 0;
    border-bottom-right-radius: 100%;
	  opacity: 1; 
  }
	100%{
		opacity: 0;
	}
}



#menu-responsive-section #menu-responsive-lateral{
	transform: translateX(-200px);
	opacity: 0;
	transition: transform 0.5s ease , opacity 0.5s ease;
}
/*
#menu-responsive-section.close-menu #menu-responsive-lateral{
  transform: translateX(-200px);
  opacity: 0;
}*/
#menu-responsive-section.amplify-menu #menu-responsive-lateral{
	transform: translateX(0px);
	opacity: 1;
	transition: transform 0.5s ease 0.6s , opacity 0.5s ease 0.6s;
}

/*Menú mágico*/

.icono_usuario.logged-in path{
    fill: #20b4c1 !important; 
}

.icono_usuario.logged-out path{
    fill: black !important;
}

/* Color de los tipos de trabajo */
#page-container .meta .job-type{
	border-radius: 1em;
	padding: 8px;
	font-size: 14px;
	color: white;
}


#page-container .meta .job-type.jornada-completa{
	background: #20b4c1;
}

#page-container .meta .job-type.indefinido{
	background: #20b4c1;
}

#page-container .meta .job-type.jornada-parcial{
	background: #4991c3;
}

#page-container .meta .job-type.practicas{
	background: #4991c3;
}

#page-container .meta .job-type.temporal{
	background: #4991c3;
}


/* Color de los tipos de trabajo */


/*Menú zona socios*/

  .menu-socios{
  	border: 1px solid #E9E9E9;
    width: 100%;
  }
  
  .menu-socios ul{
    list-style-type: none;
    font-family: "Barlow";
    font-size: 20px;
    padding: 0;
  }
  .menu-socios .menu-socio-item.logout span{
    display: none;
  }
  
  .menu-socios .menu-socio-item a{
    color: black; 
	/* height: 70px; Se comenta para que el flex lo controle*/
    padding: 20px 40px 20px 40px;
    display: flex;  /* Estaba en block y se cambio a flex*/
    background: white;
  }
  
  .menu-socios .menu-socio-item svg{
	min-width: 30px; /* se coloca para que el icono respete el espacio y las letras se queden en su lugar*/
    width: 30px;
    height: 30px;
    vertical-align: middle; 
    margin-right: 15px; 
  }
  .menu-socios .menu-socio-item svg path{
    fill: black;
  }
  
  /*Hover*/
  .menu-socios .menu-socio-item a:hover, .menu-socios .menu-socio-item.activo a{
    background: #F4F4F4;
    border-left: 10px solid #20b4c1;
    color: #20b4c1;
  }
  
  .menu-socios .menu-socio-item a:hover svg path, .menu-socios .menu-socio-item.activo a svg path{
    fill: #20b4c1;
  }

  @media (max-width: 980px){
    .menu-socio-responsive{
      	position: fixed;
      	top: 100px;
      	right: 0;
      	z-index: 5;
		height: 0;
		width: 0px;
		overflow: hidden;
		animation: shrinkContainerSocio 1.1s linear; 
    }
	 .menu-socio-responsive.expand{
		  position: fixed;
		  top: 100px;
		  z-index: 5;
		  height: calc(100vh - 100px);
		 width: 100vw;
		 animation: expandContainerSocio 0.6s linear; 
    }
	  .menu-socios .menu-socio-item a{
		  padding-top: calc(((100vh - 100px)/11)/2 - 15px);
		  padding-bottom: calc(((100vh - 100px)/11)/2 - 15px);
		  height: calc((100vh - 100px)/11);
	  }
	  
	  .menu-socio-responsive .menu-socios{
			transform: translateX(100vw);
			opacity: 0;
			transition: transform 0.5s ease , opacity 0.5s ease;
		}

		.menu-socio-responsive.expand .menu-socios{
			transform: translateX(0px);
			opacity: 1;
			transition: transform 0.5s ease 0.6s , opacity 0.5s ease 0.6s;
		}

    
  }


@keyframes expandContainerSocio {
  0% {
    width: 0;
    height: 0;
    border-bottom-left-radius: 100%;
  }
  85% {
    width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-left-radius: 100%;
  }
  100% {
    border-bottom-left-radius: 0;
  }
}

@keyframes shrinkContainerSocio {
  0% {
	  opacity: 1; 
    width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-left-radius: 0;
  }
	45.5%{
		opacity: 1; 
		width: 100vw;
		height: calc(100vh - 100px);
		border-radius: 0;
	}
  53.68% {
	width: 100vw;
    height: calc(100vh - 100px);
    border-bottom-left-radius: 100%;
  }
  99.46% {
	width: 0;
    height: 0;
    border-bottom-left-radius: 100%;
	  opacity: 1; 
  }
	100%{
		opacity: 0;
	}
}

/*Menú zona socios*/



/*Estilos de carrusel Cursos*/
.cursos-swiper-wrapper{
	display:flex;
}
	  
.swiper{
	overflow:hidden; 
}
.swiper .swiper-button-prev , .swiper .swiper-button-next{
	filter: brightness(0) saturate(100%) invert(52%) sepia(31%) saturate(821%) hue-rotate(162deg) brightness(95%) contrast(87%);
}

.swiper .swiper-button-prev{
	left: 0px;
}

.swiper .swiper-button-next{
	right: 0px;
}

.swiper .swiper-pagination-bullet-active{
	background: #20b4c1;
}

.cursos-swiper-wrapper .swiper-slide .curso-imagen{
	display:block;
	width: 85%;
	margin: auto;
	border-radius: 20px;
	margin-bottom: 20px;
}


.cursos-swiper-wrapper .swiper-slide .info-cursos{
	width: 80%; 
	margin: auto; 
}

.swiper .swiper-pagination{
	position: static;
}

.cursos-swiper-wrapper .swiper-slide .form-curso-carrusel{
	font-size: 18px;
}

.cursos-swiper-wrapper .swiper-slide h3{
	font-size: 24px;
}

.cursos-swiper-wrapper .swiper-slide .fecha-inicio{
	font-size: 18px;
	color: #4991c3;
	text-transform: uppercase;
}

.cursos-swiper-wrapper .swiper-slide .inscripcion-curso{
	font-size: 20px;
	display:block;
	text-align: center;
	color: #20b4c1;
}

@media (max-width: 980px){

.cursos-swiper-wrapper .swiper-slide .form-curso-carrusel{
	font-size: 16px;
}

.cursos-swiper-wrapper .swiper-slide h3{
	font-size: 22px;
}

.cursos-swiper-wrapper .swiper-slide .fecha-inicio{
	font-size: 16px;
}

.cursos-swiper-wrapper .swiper-slide .inscripcion-curso{
	font-size:18px;
}

}

/*Estilos de carrusel Cursos*/

/*Estilo enlaces formularios*/
.recaptcha-aviso a ,.checkbox-consentimiento a, #consentimiento a{
	color: #666;
	text-decoration: underline;
}

