/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
h3 {
	font-size: 1.75rem !important;
	font-weight: 300 !important;
	text-transform: none !important;
}

.tw_3columnas {
	column-count: 3;
}

/* Para mejorar el aspecto del masonry del blog */
h3.av-masonry-entry-title.entry-title {
	font-size: 1.25rem !important;
}

@media screen and (min-width: 768px) {
	.av-inner-masonry-content-pos-content {
		height: 60px;	
	}	
}

h4.av_iconlist_title.iconlist_title {
	padding-bottom: 15px;
}

/* Teléfono en la línea superior, sobre el menú */
.phone-info span {
	font-size: 0.85rem;
	font-size: 1rem;
	text-transform: uppercase;
	color: #666;
	font-weight: 300;
}

/*-------------------------//
// CSS -  Expandable Texts //
//-------------------------*/
.hideThis {
    display: none;
}
.toggleTxt {
    display: inline-block;
    cursor: pointer;
    background: #ededed;
    color:#000;
    font-size: 12px;
    padding: 0px 10px;
    margin: 20px 0;
}

/*******************/ 
/* mis badges y labels */
/*******************/ 
.badge {
    padding: 1px 9px 2px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.label, .badge {
    font-size: 1em;
    font-weight: bold;
    line-height: 14px;
    color: #ffffff;
    vertical-align: baseline;
    white-space: nowrap;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #999999;
}

.label-info, .badge-info {
    background-color: #3a87ad;
}

.label-l3, .badge-l3
{
  background-color: #39A642;
}

.label-l2, .badge-l2
{
  background-color: #93288F;
}

.label-bus, .badge-bus
{
  background-color: #F62D06;
}

.label-fisio, .badge-fisio
{
  background-color: #C59409;
}

.label {
    padding: 1px 4px 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


/* Para mensaje de ya casi estás suscrito, comprueba tu correo */
h3.avia-form-success.avia-mailchimp-success {
	font-size: 1em !important;
	background-color: #e3ead6;
}

.main_color .av-boxed-grid.style .avia-testimonial {
	background-color: #eee !important;
}

.pie-pagina {
	font-size: 0.75em !important;
	color: #666 !important;
	opacity: 0.5;
}

#footer {
	padding: 0 !important;
}

.title_container {
	/* background-color: #FFEEC3; /*#cf514f #FEF5F7*/
/*	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(220,236,189,1) 100%);*/
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(232,246,235,1) 100%);
	border-top: solid 1px;
	border-bottom: solid 1px;
	border-color: #375A3F;
	
}

/********************
@media screen and (min-width: 768px) {
	.title_container {
		background-image: url("../../uploads/2020/03/title-bg-shade-burdeos.png");
		background-repeat: no-repeat;
		background-position:right center;
	}
}
*********************/

h1.main-title.entry-title {
	padding: 45px 0 5px 0;
		color: #375A3F !important;
}
h1.main-title.entry-title a {
	color: #2E733F !important;
	font-size: 2.5em !important;
	font-weight: 300 !important;
}
.av-inner-masonry-content-pos .av-inner-masonry-content-pos-content .av-masonry-date.meta-color.updated,
.post-meta-infos .text-sep-date, .post-meta-infos .blog-author 
{
	display: none !important;
}


/******* Menú superior sticky en movil -  a mejorar
@media only screen and (max-width: 767px) {
  .responsive.html_header_top.html_header_sticky #top #wrap_all #header {
      position: fixed;
  }
}
*******/

.z-10 {
    z-index: 10;
}

.dark-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}


.av-masonry-entry .avia-arrow, .main_color .container .av-inner-masonry-content {
    opacity:0.9 !important;
}

.tw-caja-curso {
	padding: 2em;
	color: #FFF;
	/*margin: 20px !important;*/
}

.tw-caja-curso h3 {
	color: #FFF !important;
	font-weight: bold !important;
}

.tw-caja-curso h3.crema {
	color: #ffeec3 !important;
}

/****************
.tw-caja-curso.column-top-margin {
	margin-top: 20px !important;
}

body div.first.tw-caja-curso, body div.no_margin.tw-caja-curso {
    margin-left: 0;
}

div.av_one_third.tw-caja-curso {
    margin-left: 3%;
    width: 31.333%;
} 
******************/

@media screen and (min-width: 768px) {
	.cursos-continuacion {
		margin-top: 40px !important;
	}
}

@media screen and (max-width: 767px) {
	.cursos-continuacion {
		margin-top: -40px !important;
	}
}


.vimeo-container {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
}

.vimeo-container iframe, .vimeo-container object, .vimeo-container embed, .vimeo-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


div .vimeo-container.vertical {
    position: relative;
    height: 744px;
    overflow: hidden;
    padding-bottom: 56.25%;
}


.vimeo-offset {
	margin-top: -11rem;
}

.color {
	color: #375A3F !important;
	text-decoration: none;
}

.bordered {
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 15px;
    padding-bottom: 5px;

}

@media screen and (min-width: 990px) {
	ul.sub-menu {
		margin-top: -30px;
	}
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}


.white-popup {
  position: relative;
  background: #FFF;
  padding: 25px;
  width: auto;
  max-width: 90%;
  margin: 20px auto;
}

.sin_salto_antes{
	padding-top: 0px;
}

.sin_salto_despues{
	padding-bottom: 0px;
}

/* Aviso de cookies */
#top div.avia-cookie-consent-wrap .avia-button {
	font-size: 12px;
}
.avia-cookie-consent .avia-cookie-consent-button, .avia-popup .avia-cookie-consent-button {
	margin:6px 6px 6px 6px;
}

/* Desactiva feeds RSS para páginas estáticas.*/
function disable_page_feeds() {
    if (is_page()) {
        wp_die(__('No hay feed disponible para páginas estáticas.', 'textdomain'));
    }
}
add_action('do_feed', 'disable_page_feeds', 1);
add_action('do_feed_rdf', 'disable_page_feeds', 1);
add_action('do_feed_rss', 'disable_page_feeds', 1);
add_action('do_feed_rss2', 'disable_page_feeds', 1);
add_action('do_feed_atom', 'disable_page_feeds', 1);


/* Hace un noindex de las páginas de búsqueda terminadas en /?s= */
function noindex_search_pages() {
    if (is_search()) {
        echo '<meta name="robots" content="noindex, follow">';
    }
}
add_action('wp_head', 'noindex_search_pages');
	