/* HEADER */
html {
  scroll-behavior: smooth;
}

.wp-block-navigation__responsive-container.is-menu-open.is-menu-open{
	background-color: var(--wp--preset--color--accent-5) !important;
}
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open .wp-block-navigation__container.is-responsive,
.wp-block-navigation__responsive-container-close{
	color: var(--wp--preset--color--white)!important;
}

/* LOGO OCULTO EN HOME */
.home header .wp-block-site-logo{
	visibility: hidden;
}
html.has-modal-open .home header .wp-block-site-logo{
	visibility: visible;
	z-index: 9999;
	position: relative;
	filter: invert() saturate(0) brightness(100);
}

/* CURSOS */

/* Ocultar aviso en la página de cursos */
.single-course .sensei-message.info{
	display: none;
}


/* BLOQUES */

/* FILTRO DE CURSOS */

.wp-block-sensei-lms-course-list select {
	background-position-y: center;
	background: none;
	padding: 8px 16px;
	border: 1px solid var(--wp--preset--color--accent-5);
	text-transform: uppercase;
}
.wp-block-sensei-lms-button-take-course .wp-block-button__link:disabled{
	//display: none;
}


/* Listado de cursos */

.wp-block-post-excerpt{
	display: flex;
	flex-direction: column;
	justify-content: space-between;	
}
.wp-block-post-excerpt__more-text{
	padding-right: 0px !important;
	background-color: var(--wp--preset--color--accent-5) !important;
	background-repeat: no-repeat;
	background-position: center right 8px;
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.175 13H4V11H16.175L10.575 5.4L12 4L20 12L12 20L10.575 18.6L16.175 13Z' fill='white'/%3E%3C/svg%3E%0A");

	min-width: 96px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	border: 0;
	padding-top: var(--wp--preset--spacing--20);
	padding-right: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
	padding-left: var(--wp--preset--spacing--20);	
}
.wp-block-post-excerpt__more-link {
	text-decoration: none!important;
	display: block;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
}
	

/* DROP CAP */
.as-drop-cap:not(:focus)::first-letter {
	font-size: 5rem;
	margin-left: -5rem;
	color: var(--wp--preset--color--accent-4);
	font-weight: 700;
}
.as-drop-cap{
	margin-left: 4rem;
}

/* SPACER */
.wp-block-spacer.is-style-efqld_spacer_escritorio{
	@media(max-width:640px){ 
		display:none; 
	}
}

/* YOAST FAQ*/
.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question {
  display: block;
  margin: 0 0 0.5rem 0;
  line-height: 24px;
  padding: 1rem 60px 1rem 0rem;
  background-position: center right 1rem, center left 1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='8' viewBox='0 0 17 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2915 7L7.51055 1.66938C7.95994 1.28419 8.62307 1.28419 9.07245 1.66938L15.2915 7' stroke='%23000000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  cursor: pointer;
  border-radius: 8px;
}

.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question:focus, 
.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question span:focus, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question:focus, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-question span:focus {
  outline: none;
}
.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-answer, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section .schema-faq-answer {
  display: none;
  padding: 1rem 0rem;
  margin: 0;
}
.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section.active .schema-faq-question, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section.active .schema-faq-question {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='8' viewBox='0 0 16 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0.999999L8.78095 6.33062C8.33156 6.71581 7.66844 6.7158 7.21905 6.33062L1 1' stroke='%23000000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
}
.wp-block-yoast-faq-block.is-style-efqld_yoast_faq_acordeon .schema-faq-section.active .schema-faq-answer, 
.schema-faq.is-style-efqld_yoast_faq_acordeon .schema-faq-section.active .schema-faq-answer {
  display: block;
  animation: slide-down 0.5s ease-in-out;
}
@keyframes slide-down {
  0% {
	opacity: 0;
	transform: translateY(-1rem);
  }
  100% {
	opacity: 1;
	transform: translateY(0);
  }
}

.widget.widget_block .wp-block-yoast-faq-block .schema-faq-section p:not(.schema-faq-answer) {
  margin-top: 0;
  margin-bottom: 0;
}


.wc-block-components-address-form .wc-block-components-text-input.wc-block-components-address-form__apg-nif{
	display: none;
}



/* HERO HOME */
.wp-block-cover.is-style-efqld_fondo_hero_home{
	@media(max-width:640px){ 
		.wp-block-cover__image-background{
			object-position: 50% 50%!important;
			height: 50vh;
		}
		.wp-block-cover__inner-container {
			margin-top: 40vh!important;
		}
	}
}

/* FOOTER */
.scroll-to-top {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	animation: fadeIn 0.3s ease-in-out 2s forwards;
	cursor: pointer;
}

@keyframes fadeIn {
  0% {
	opacity: 0;
  }
  100% {
	opacity: 1;
  }
}


/* WPCF7*/

.wpcf7-form{}

.wpcf7-form label{
	display: block;
	margin: 0.5rem 0;
}
.wpcf7-form label .wpcf7-form-control{
	width: 100%;
	box-sizing: border-box;
}
.wpcf7-form-control-wrap{
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="password"],
	input[type="number"],
	input[type="date"],
	input[type="week"],
	input[type="time"],
	input[type="month"],
	input[type="search"],
	textarea,
	select {
		margin: 0.5rem 0;
		padding: 1rem;
		font-family: var(--wp--preset--font-family--montserrat);
		font-size: var(--wp--preset--font-size--small);
	}
}

.wpcf7-form label .wpcf7-form-control .wpcf7-list-item{
	margin-left: 0;
}

.wpcf7-not-valid-tip{
	font-size: var(--wp--preset--font-size--small);
}

.wpcf7-form-control.wpcf7-submit{
	padding-right: 40px !important;
	background-repeat: no-repeat;
	background-position: center right 8px;
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.175 13H4V11H16.175L10.575 5.4L12 4L20 12L12 20L10.575 18.6L16.175 13Z' fill='white'/%3E%3C/svg%3E%0A");
	
	background-color: var(--wp--preset--color--accent-5) !important;
	min-width: 96px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	border: 0;
	padding-top: var(--wp--preset--spacing--20);
	padding-right: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
	padding-left: var(--wp--preset--spacing--20);
}
.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}