/*
Theme Name: Attesa Child ESCplus
Theme URI: https://attesawp.com
Author: Miguel Pons, Ivan Trejo, Hugo Carabaña
Author URI: https://attesawp.com
Description: A child theme of Attesa ESCplus
Version: 1.0.8.37
Template: attesa
Text Domain: attesa-child-eng
*/



/* Margen arriba */
div#content {
    margin-top: 100px!important;
}


.attesa-custom-footer .elementor .recomendados {
    display: none !important;
    height: 0px !important;
}
/*Fuente web */
body, button, input, select, optgroup, textarea, option {
    font-family: 'Montserrat', sans-serif;
}

.upk-content .upk-title a, .upk-pagination>li>a {
  font-family: 'Montserrat';
}

h1, h2, h3, h4, h5, h6, p.site-title, blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

/* Justificar texto noticias
.entry-content p {
    text-align: justify;
}*/

/* Texto foto destacada */
figure.wp-caption.featured figcaption {
    margin-top: -10px;
}

/* Imagen menu */
/*.nav-middle .attesa-logo img {
    width: 237px;
    object-fit: cover;
}

@media (max-width: 1220px) {
.nav-middle .attesa-logo img {
    width: 100%;
}
}

@media (max-width: 600px) {
.nav-middle .attesa-logo img {
    width: 30%;
}
}*/

/*Margen contenido principal */
#primary.content-area {
    padding: 0 2em;
}

/*@media (max-width: 600px){
#primary.content-area, #secondary {
    padding: 0 2em;
}*/

.page-content, .entry-summary {
    margin: 2em 0 0;
}
 .entry-content {
margin: 0px;
}



/* Categoria post */
span.post-head-cat {
    color: #2aa865;
    background: none;
    padding: .2em .5em;
    border: solid 2px #2aa865;
    font-weight: 500;
	text-transform: capitalize;
}

span.post-head-cat:hover {
    background: #2aa865;
    color: white;
    transition: .25s linear;
    font-weight: 500;
}

/* Etiqueta custom post */
span.post-head-post_type {
    color: white;
    background: #23282d;
    border: 2px solid #23282d;
    padding: .2em .5em;
}

span.post-head-post_type:hover {
    transition: .25s linear;
    background: transparent;
    border: 2px solid #23282d;
    color: #23282d;
}

/* Titulares */
article h2, article h4, .entry-excerpt p{
    text-align: left;
	font-family: 'Lora', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    line-height: initial;
}

article h3, article h5, article h6{
    text-align: left;
	font-family: 'Lora', sans-serif;
}


.hentry .entry-title, .attesaFeatBoxTitle .entry-title {
    margin-bottom: .2em;
    line-height: 1.1;
	margin-top: .2em;
}

/* Subtitulares */
.entry-subtitle {
    line-height: 1.2em;
    font-style: italic;
    font-size: 1.11em;
    font-weight: 600;
	padding: 0px 2px;
}

.subtitular-meta {
    width: 100%;
}

/* Listas */
::marker {
    font-weight: 600;
}
ul, ol {
    margin: 0 0 1.5em 2em;
}

/* Titulo*/
.hentry .entry-title, .attesaFeatBoxTitle .entry-title h1.entry-title {    
    font-family: 'Lora', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: #151515; }


/* Descripcion thumbnail */

.descripcion-thumbnail{
    background: #8d8d8d;
  /* background: #ed2929 */
    padding: 0 1em;
    color: white;
    font-size: smaller;
}

/* Descripcion galeria */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: #8d8d8d;
    font-size: 11px;
    padding: 0.3em 1em 0.3em 1em;
    line-height: 14px;
}

/* Borde imagenes*/
button, input[type]:not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="checkbox"]), textarea, select, .attesaMenuButton, .navigation.pagination .nav-links a, .page-links a, .navigation.pagination .nav-links span.current, .page-links .current, aside ul.menu .indicatorBar, aside ul.product-categories .indicatorBar, .widget_tag_cloud a, .widget.widget_search input[type="search"], .widget.widget_search input[type="submit"], #secondary .sidebar-container, header.page-header, .entry-footer .read-more a, .post-thumbnail img, #toTop, #comments article footer img, #comments .reply, .site-social-float a, body.attesa-blog-grid .hentry, body.attesa-blog-masonry .hentry, fieldset, .attesaPostWidget img, .site-social-widget .attesa-social, .attesaFeatBoxContainer .attesaproFeatBoxButton a, .attesa-contact-info i, .attesa-post-slider-readmore p a, .attesa-breadcrumbs, .rank-math-breadcrumb, .awp-ajax-search.shortcode .awp-search-results ul li img, .bypostauthor >article {
    border-radius: 0px;
}

/* Enlaces*/
article .entry-content p a {
    font-family: "Lora", Sans-serif !important;
}
article a, article a:visited {
    font-family: "Lora", Sans-serif;
}

 /* Quotes */
 blockquote {
    line-height: 1.5em;
 }
article dfn, article cite, article em, article i {
    font-family: 'Lora', sans-serif;
}

article blockquote p {
    margin-bottom: .2em;
	font-family: 'Lora';
}

/* Headings elementor */
.elementor-heading-title {
    text-align: center;
    text-transform: none;
}

/* Tabs */
.responsive-tabs .responsive-tabs__list__item {
    border: 1px solid #ddd !important;
	border-bottom: none !important;
	font-weight: bold;
}

.responsive-tabs ul.responsive-tabs__list {
    margin: 20px 0 0 0 !important;
}

.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {
    color: black !important;
}

/* Images */
.wp-block-image {
    border: none;
	background: none;
	border-style: none;
    border-width: 0;
	padding: 0;
}
.wp-block-image img {
    width: 100%;
}
.wp-block-image figcaption {
    background: #8d8d8d;
  /* background: #ed2929 */
    padding: 0 0 0 1em;
    color: white;
    font-size: smaller;
	margin-top: 0;
}

/* Galleries */
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    padding: 0 1em;
    color: #fff;
	text-align: left;
    background: #8d8d8d;
}

/* Menu Block */
.nav-middle {
    border-bottom: 4px #2aa865 solid;
	background: #23282D;
}

/* Columns */
@media (min-width: 782px) {
.wp-block-column:not(:first-child) {
margin-left: 8px;
}
}

/* Tables */
th {
    color: white;
    background-color: #ed2929;
}

td {
    padding-left: .7em;
	line-height: 1.2em;
}

td em {
    font-family: 'Montserrat', sans-serif;
}

tfoot {
    background: #8d8d8d;
    text-align: center;
    font-weight: bold;
    color: white;
}

.wp-block-table thead, thead {
    border-bottom: none;
}

.wp-block-table table, table {
    font-family: 'Montserrat';
    text-align: center;
}

/* Pages with many news articles */
header.page-header {
    padding: 0.5em 1em;
    text-transform: uppercase;
    margin-bottom: 1em;
}

body.attesa-blog-grid .blog-entries header.entry-header h2.entry-title {
    line-height: 1.2em;
	text-transform: none;
}

body.attesa-blog-grid .blog-entries .entry-summary {
    margin: 1em 0 0;
    line-height: 1.4em;
}

body.attesa-blog-grid .hentry .entry-footer .read-more {
    font-weight: bold;
    text-transform: uppercase;
}

body.attesa-blog-grid .hentry .entry-footer .read-more a i.fas.fa-caret-right.spaceLeft {
    font-size: 13px;
}

/* Paginas varias noticias */
header.page-header {
    padding: 0.5em 1em;
    text-transform: uppercase;
    margin-bottom: 1em;
}

body.attesa-blog-grid .blog-entries header.entry-header h2.entry-title {
    line-height: 1.2em;
	text-transform: none;
}

body.attesa-blog-grid .blog-entries .entry-summary {
    margin: 1em 0 0;
    line-height: 1.4em;
}

body.attesa-blog-grid .hentry .entry-footer .read-more {
    font-weight: bold;
    text-transform: uppercase;
}

body.attesa-blog-grid .hentry .entry-footer .read-more a i.fas.fa-caret-right.spaceLeft {
    font-size: 13px;
}

/* Menu */
.attesa-main-menu-container, .third-navigation ul {
    font-family: 'Montserrat', sans-serif;
}

/* Elementor textos y titulos */
.elementor-widget-container p {
    font-family: 'Montserrat', sans-serif;
}
.elementor-widget-container h2, .elementor-widget-container h1, .elementor-widget-container h3, .elementor-widget-container h4, .elementor-widget-container h5, .elementor-widget-container h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Main page blocks pagination */
.ultp-pagination-wrap .ultp-pagination li a:hover, .ultp-pagination-wrap .ultp-pagination li.pagination-active a, .ultp-pagination-wrap .ultp-pagination li a:focus, .ultp-next-prev-wrap ul li a:hover, .ultp-loadmore-action:hover,.ultp-block-items-wrap .ultp-block-item .ultp-category-grid a:hover  {
    background-color: #2aa865 !important;
}

/* Latest news block */
.ultp-block-items-wrap .ultp-block-item .ultp-block-title, .ultp-block-items-wrap .ultp-block-item .ultp-block-title a {
    /*font-size: 1vw!important;*/
    line-height: 0.6vw!important;
}
.ultp-heading-wrap {
    text-align: center !important;
}

/* ESC & JESC blocks */
.ultp-block-item:not(:first-child) .ultp-block-title a {
    line-height: .5em !important;
    /*font-size: 0.9vw !important;*/
    text-transform: none !important;
}
.ultp-block-meta {
    margin: 0px 0px 0px 0px !important;
}
.ultp-block-item:first-child .ultp-block-title a{
	text-transform: none !important;
}
.ultp-pagination, .ultp-loadmore {
    text-align: center !important;
}

/* Blocks meta */

.ultp-block-items-wrap .ultp-block-meta span.ultp-block-author {
    display: none;
}


.ultp-block-items-wrap .ultp-block-meta span svg {
    display: none;
}

.ultp-block-meta span:after {
	 display: none;
}

.ultp-block-meta span.ultp-block-date {
    padding-left: 0px !important;
	margin-right: 0px !important;
}

/* Background homepages block */
.ultp-block-image-custom > a::before{
    opacity: 0.4!important;
}

.wp-block-ultimate-post-post-list-4 .ultp-first-postlist-2 .ultp-block-image>a:after {
    opacity: 0.4!important;
	background-color: rgba(0,0,0,1)!important;
}

/* Menu button */
#masthead:not(.menuMinor) button.menu-toggle{
	color: black;
}

/* Main block */
.ultp-block-8d3011 .ultp-block-item:first-child .ultp-block-title a {
    font-size: 40px!important;
}

/* Social buttons footer correction */
.elementor-icon {
    display: flex!important;
}

/*Correccion icono pagina error 
.elementor-widget.elementor-widget-icon {
    text-align: center;
}*/

/* Send button */
button, #submit {
    font-family: inherit;
    font-weight: bold;
}

/* Menu font */
.main-navigation > div > ul > li > a {
    font-family: "Montserrat", sans-serif;
}

.main-navigation ul ul a {
    font-family: "Montserrat", sans-serif;
}	

input.search-submit {
    font-family: "Montserrat";
}

input.search-field {
    font-family: "Montserrat";
}

/* Author block */
#post-info-wrap {
    margin-top: 10px;
    width: 100%;
}

.post-info-out {
    float: left;
    position: relative;
    width: 100%;
    padding: 0.5em 0;
}

.post-info-in {
	float: left;
    margin-left: 15px;
}

.post-info-img {
    overflow: hidden;
    width: 50px;
    height: 50px;
    float: left;
}

.post-info-img img {
    line-height: 0;
}

.post-info-right {
    font-weight: 400;
    line-height: 100%;
    width: 100%;
}

.post-info-name {
    color: #555;
    margin-bottom: 15px;
    padding-bottom: 5px;
    width: 100%;
    font-weight: bold;
}

.post-info-name span {
    float: left;
}

span.author-name {
    margin-left: 3px;
}

span.author-twitter {
    font-size: 17px;
    line-height: 100%;
    margin-left: 5px;
}

span.author-email {
    font-size: 13px;
    line-height: 100%;
    margin: 2px 0 0 10px;
}

span.author-twitter a,
span.author-email a {
    color: #838383;
}

span.author-twitter a:hover {
    color: black;
}

.post-info-date {
    font-size: .8rem;
    font-weight: 500;
    width: 100%;
}

/* Author page */
.author-page-box.left.relative {
    background-color: #090A2E;
	margin-bottom: 1.5em;
}

.author-page-out {
    text-align: center;
    margin-top: -1.7em;
}

.author-page-img.left.relative {
    display: inline-block;
    margin-right: 20px;
}
img.avatar {
    width: 100px;
}

.author-page-in {
    display: inline-block;
}

h1.cat-head {
    display: inline-block;
    margin-bottom: 0em;
    color: white;
}

ul.author-social.left.relative {
    margin-left: 0px;
    padding: 0px;
}

ul.author-social.left.relative li.elementor-icon.elementor-social-icon {
    background: white;
	border-radius: 50px;
	display: inline-block!important;
	width: 40px;
    height: 40px;
}
ul.author-social.left.relative li.elementor-icon.elementor-social-icon:hover {
    background: #e5e5e5;
}

li.elementor-icon.elementor-social-icon a i.fa {
    color: black;
	display: inline-block;
    margin-top: 9px;
    font-size: 22px;
}
li.elementor-icon.elementor-social-icon a i.fa:hover {
    color: #262626;
}

.navigation.pagination .nav-links .next {
    float: none;
}

/* Archive page design */

.info-date {
    max-width: 60px;
    background: #2aa865;
    text-align: center;
    border: 5px solid #2aa865;
    color: white;
    margin-left: 5px;
    margin-top: 5px;
    font-weight: bold;
    padding: .2em .5em;
    z-index: 99;
}

.date-post {
    font-size: 25px;
    text-align: center;
    display: block;
    margin-bottom: -11px;
    margin-top: -10px;
}

.month-year-post {
    font-size: 12px;
    line-height: 14px;
}

.entry-meta.smallText {
    margin-top: 1em;
}

span.posted-on {
    color: #2aa865;
    text-transform: uppercase;
    border: 2px solid #2aa865;
    padding: .1em .3em;
    font-weight: bold;
}

.entry-summary {
    margin-top: 0.5em;
}

.post-autor.published {
    margin: -5px 0;
}

.entry-excerpt {
    margin-top: 0;
    line-height: 1.3em;
}

.entry-excerpt p {
    margin-block-start: 0em;
    margin-bottom: .5em;
}

.entry-meta.smallText {
    margin-bottom: .4em;
}

/* Embed web */
.wp-embed {
    font-family: 'Montserrat';
}

/* ------- MOBILE -----*/

@media (max-width: 1025px){
/* Menu */
.main-navigation li, .main-navigation ul li .indicator, .main-navigation >div >ul >li >ul.sub-menu, .attesa-search-button-mobile input[type="search"] {
    border-color: #bfbfbf;
}
.main-navigation ul li .indicator {
border: none;
}

button.menu-toggle {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

/* News pages */
header.page-header {
    font-size: 0.8rem;
    line-height: 1.2;
}

body.attesa-blog-grid.onecolblog .hentry, body.attesa-blog-grid.twocolblog .hentry, body.attesa-blog-masonry.onecolblog .hentry, body.attesa-blog-masonry.twocolblog .hentry {
    border-color: #ececec;
    border-width: 1px;
    margin: 0 0 1em;
    padding: 1em;
}
}

@media (max-width: 767px) {
.responsive-tabs .responsive-tabs__heading--active:after, .responsive-tabs .responsive-tabs__heading--active:hover:after {
    border-bottom: 6px solid black !important;
	top: 21px !important;
}
.responsive-tabs .responsive-tabs__heading--active, .responsive-tabs .responsive-tabs__heading--active:hover {
    background: #ccc !important;
    color: black !important;
    font-weight: bold !important;
}
}

@media (max-width: 600px) {
	
	/* Subtitles */
	.entry-subtitle {
    line-height: 1em;
    font-style: italic;
    font-size: 0.9em;
    font-weight: 600;
	padding: 0px 2px;
}
	
	/* Principal screen margin */
	.page-content, .entry-content, .entry-summary {
    margin: 0 1.25em 0!important;
}

article .entry-content {
    margin: 0 0.25em 0 !important;
}
	
	/* News titles */
	.hentry .entry-title, .attesaFeatBoxTitle .entry-title h1.entry-title {
		font-size: 1.7rem;
		line-height: 1;
	}
	
	.wp-block-pullquote p {
    font-size: 20px;
    line-height: 1.5;
	}
	
	blockquote {
    padding: 1.5em 1.5em 1.5em 1.5em;
	margin: 0;
	}
	
	#primary.content-area {
    padding: 0 1.25em;
}

/* News lists */
 .entry-content ul, ol {
    margin: 0 0 1.5em 1em;
}

/* Latest news block */
.ultp-block-items-wrap .ultp-block-item .ultp-block-title, .ultp-block-items-wrap .ultp-block-item .ultp-block-title a {
   /* font-size: 18px!important;*/
}

/* ESC and JESC block */
.ultp-block-item:not(:first-child) .ultp-block-title a {
   /* font-size: 19px !important;*/

}
.ultp-block-item:not(:first-child) .ultp-block-image {
    margin-right: 0px!important;
}
.ultp-block-item:not(:first-child) .ultp-block-image {
    max-width: 100% !important;
}

.ultp-pagination, .ultp-block-09ba6d .ultp-loadmore {
    text-align: center !important;	
}


/* Last news block */
.ultp-block-8d3011 .ultp-block-item:first-child .ultp-block-title, .ultp-block-8d3011 .ultp-block-item:first-child .ultp-block-title a {
   /* font-size: 28px!important;*/
}

/* Author block */
#post-info-wrap {
    margin-top: 0px;
}
.post-info-out {
    margin: .7em 0;
}
.post-info-img {
    width: 40px;
    height: 40px;
    margin-left: 5px;
}
.post-info-in {
    float: none;
    margin-left: 50px;
}
.post-info-name {
    margin-bottom: 12px;
	font-size: 0.75em;
}

span.author-twitter {
    font-size: 12px;
}
.post-info-date {
    font-size: .6rem;
	display: inline-table;
}

/* Title categorie */
span.post-head-cat {
    font-size: 12px;
}

/* Author page */
.author-page-img.left.relative {
    margin-right: 0px;
    margin-top: 40px;
}

h1.cat-head {
    font-size: 1.3em;
}

ul.author-social.left.relative li.elementor-icon.elementor-social-icon {
    width: 30px;
    height: 30px;
}

li.elementor-icon.elementor-social-icon a i.fa {
    margin-top: 6px;
    font-size: 17px;
}

img.avatar {
    width: 80px;
    margin-right: 10px;
}

}

/* Delete adds background */
mark, ins {
	background: transparent;
}

/* adblock notice */
.san_sticky_notice {
    position: fixed;
    z-index: 999;
    top: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    flex-wrap: nowrap;
    flex-direction: column;
}

.texto-aviso-adblock {
    background: lightgrey;
    opacity: 1;
    margin-top: -35%;
    padding: 1em;
    text-align: center;
    width: 50%;
    line-height: 1.2em;
    font-size: 1.1em;
}

.titulo-aviso-adblock {
    font-size: 2em;
    font-weight: 900;
    line-height: 2em;
}

button.boton-aviso-bloqueador {
    width: fit-content;
    text-transform: uppercase;
    margin-top: 0.5em;
    font-size: .8em;
}

@media (max-width: 1024px) {
	.texto-aviso-adblock {
    background: lightgrey!important;
    opacity: 1;
    margin-top: -180%;
	color: black;
	width: 80%;
}
	
	button.boton-aviso-bloqueador {
    margin-top: 1em;
	width: fit-content;
	height: fit-content;
	padding: 1em;
}
	
	.titulo-aviso-adblock {
    font-size: 2em;
    line-height: 1.1em;
}
	
	.san_sticky_notice {
    position: fixed;
    z-index: 999;
    top: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    flex-wrap: nowrap;
    flex-direction: column;
	background: transparent;
}
	
	.background-aviso-adblock {
    min-width: 100vw;
    min-height: 100vh;
}
	
}

/* Youtube videos 16:9 */
#video-embed,
span.embed-youtube {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    text-align: center;
    width: 100%;
    height: 0;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}


.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

#content-main #video-embed {
    margin-bottom: 20px;
}

#content-main .video-container {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/* Player web 16:9 */
.player-web {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

/*---------------- EVENTON -------------*/

/* Quitar espacio antes EventON en posts */
.wp-block-eventon-blocks-evo-eventon-main{display:none !important}

/* Modificacion fuentes y peso texto */
span.evo_start {
    font-family: 'Montserrat';
}

span.evo_start em {
    font-family: 'Montserrat';
}

.eventon_full_description h3, .evcal_evdata_cell h3, .evcal_evdata_row .evcal_evdata_cell h3, h3.evo_h3, .eventon_list_event .evcal_desc span.evcal_event_title, .evo_metarow_ICS .evcal_evdata_cell p a, .evo_metarow_learnMICS .evcal_col50 .evcal_evdata_cell p a, .eventon_list_event .evo_metarow_locImg p.evoLOCtxt .evo_loc_text_title, .evo_clik_row .evo_h3, body .ajde_evcal_calendar h4.evo_h4, .evo_content_in h4.evo_h4, .eventon_main_section #evcal_cur, .ajde_evcal_calendar .calendar_header p.evo_month_title, .eventon_events_list .eventon_list_event .cancel_event .evo_event_headers, .evo_pop_body .evo_event_headers.canceled, .eventon_events_list .eventon_list_event .evcal_list_a .evo_above_title span, .evo_pop_body .evcal_list_a .evo_above_title span, .ajde_evcal_calendar .evcal_month_line p, .ajde_evcal_calendar .evo_footer_nav p.evo_month_title, .evo_eventon_live_now_section h3 {
    font-weight: 600!important;
    font-family: 'Montserrat';
}

/* Paginas single eventos */
.data-event {
    display: flex;
}

.date-event {
    background: #000;
    padding: 0 .5em;
    color: white;
    font-weight: 600;
    margin-right: .5em;
}

.hour-event {
    background: #666;
    padding: 0 .5em;
    color: white;
    /* font-weight: 600; */
    margin-right: .5em;
}

.subtitle-event {
    background: #dd3333;
    padding: 0 .5em;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: .5em;
	height: fit-content;
}

@media (max-width: 767px) {
.data-event {
    flex-wrap: wrap;
}
.hour-event, .subtitle-event, .date-event {
    margin-bottom: .3em;
}	
	
}

/* Iframe Facebook */
.facebook-responsive {
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.facebook-responsive iframe {
left:0;
top:0;
height:100%;
width:100%;
position: absolute;
}


/* Adaptar galerias a movil y tablet */
@media (max-width: 768px) {
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px)/2);
    margin: 0;
}
}
	
@media (min-width: 768px) and (max-width: 1200px){
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
        width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2);
}
}

p.has-text-align-center {
    text-align: center;
}

p.has-text-align-right {
    text-align: right;
}


/* Corregir color enlace en parrafos con fondo y texto de color especifico */
.has-text-color.has-background a {
    color: inherit;
    text-decoration: underline;
}

.has-text-color.has-background a:hover {
    opacity: 0.8;
}

/*Correccion tamaño iframe embed Wordpress */
iframe.wp-embedded-content {
    width: 100%!important;
}

/* Corrección botones */
a.wp-block-button__link.wp-element-button {
    color: white;
    font-family:'Montserrat';
    font-weight:600;
}

a.wp-block-button__link.wp-element-button:hover {
    color: rgba(360, 360, 360, 0.7);
    text-decoration: underline;
}

/* Corrección embed Tiktok*/
.tiktok-embed {
    max-width: 100%!important;
	padding: 0;
}

.tiktok-embed::before {
    display: none;
}

/* Custom post type en archive */
.info-post {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.info-post-type {
    width: auto;
    background: #2aa865;
    text-align: center;
    border: 2px solid #2aa865;
    color: white;
    margin-top: 5px;
    margin-right: 5px;
    font-weight: bold;
    padding: .2em .2em;
    float: right;
    font-size: small;
    z-index: 99;
	
}




/* Liveblog */
.elb-liveblog ul.elb-liveblog-list {
	border: none;
	padding: 0;
	margin: 0;
}

.entry-content ul .elb-liveblog-list{
	margin: 0;
	}

.elb-liveblog .elb-liveblog-post::before {
	display: none !important;
}

.elb-liveblog-post-heading {
	font-size: 22px !important;
	margin: 0 !important;
	font-family: 'Montserrat'!important;
}

.elb-liveblog-post-sharing {
	margin-top: 10px;
}

.elb-liveblog-post-sharing a {
	color: rgba( 0, 0, 0, .5 );
	display: inline-block;
}

.elb-liveblog-post-sharing a:hover {
	color: rgba( 0, 0, 0, 1 );
}

.elb-liveblog-post-content {
	width: 100%;
	overflow: hidden;
	font-family:'Montserrat';
}

.elb-liveblog-post-content p:last-of-type {
	margin-bottom: 0;
}

.elb-liveblog-closed-message,
.elb-no-liveblog-entries-message {
	font-style: italic;
	margin: 15px 0;
}

.elb-liveblog-actions {
	font-size: .9rem;
	margin-top: 15px;
	opacity: .9;
    display: none;
}

.elb-liveblog-actions a {
	margin-right: 6px;
	display: inline-block;
	font-family: 'Montserrat'
}

.elb-liveblog-post-time {
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.elb-button {
	color: #fff;
}

#elb-show-new-posts {
	margin-bottom: 15px;
	font-family: 'Montserrat';
    font-size: 1em;
}

p.elb-liveblog-post-time {
    font-family: 'Montserrat';
    background: black;
    padding: 0em .5em;
    color: white;
    max-width: fit-content;
    margin-bottom: .5em;
}

.elb-liveblog-time-author {
    display: flex;
    align-items: flex-start;
	flex-direction: column;
}

li.elb-liveblog-post {
    background: #f1f1f1;
    padding: 1em !important;
    margin-bottom: 1em;
}

.elb-liveblog-post-content p a {
    font-family: 'Montserrat' !important;
}

p.elb-liveblog-post-author {
    background: #2aa865;
    color: white;
    width: fit-content;
	font-family:'Montserrat';
    padding: 0em .5em;
	margin: 0;
	font-weight: 600;
}

.elb-liveblog-photo-author {
    width: 55px;
    margin-right: 10px;
}

.elb-liveblog-info {
    display: flex;
	align-items: center;
}

.elb-no-liveblog-entries-message {
    font-family: 'Montserrat';
    background: #f1f1f1;
    padding: 1em;
    font-weight: 600;
}

.elb-liveblog-closed-message {
    font-family: 'Montserrat';
    background: black;
    width: fit-content;
    color: white;
    padding: 0 1em;
    font-weight: 600;
}

button#elb-load-more {
    font-family: 'Montserrat';
    background: #23282d;
	font-size: .9em;
}

button#elb-load-more:hover {
    background: #5d6266;
}

.elb-liveblog-post-content dfn,.elb-liveblog-post-content cite,.elb-liveblog-post-content em,.elb-liveblog-post-content i {
    font-family: 'Montserrat';
}

@media (max-width: 600px){
.elb-liveblog-post-content .gallery-columns-2 .gallery-item,.elb-liveblog-post-content .gallery-columns-3 .gallery-item,.elb-liveblog-post-content .gallery-columns-4 .gallery-item,.elb-liveblog-post-content .gallery-columns-5 .gallery-item  {
    max-width: 100%;
}
}

/* Galeria fotos */
.iv-description {
    font-family: 'Montserrat';
}

.iv-total {
    color: white;
    font-weight: 600;
}

.iv-prev {
    bottom: 50%;
}

.iv-next {
    bottom: 50%;
}

.iv-fullscreen-close {
    transition: none;
}

.iv-image-view {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px){
.iv-next, .iv-prev {
    bottom: 44%;
}	
}

/*Bloque últimas noticias */
.latest-news-widget {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 1 columna, una debajo de la otra */
    gap: 0px; /* Espacio entre elementos */
}

.latest-news-item {
    position: relative;
}

.latest-news-image {
    position: relative;
    filter: brightness(0.6);
}

.latest-news-image img {
    width: 100%;
    height: auto;
}

.latest-news-content {
	display: flex; /* Utilizar Flexbox */
    flex-direction: column; /* Apilar elementos verticalmente */
    justify-content: center; /* Centrar verticalmente */
    position: absolute;
    width: 100%;
	height:100%;
	top: 0;
	left: 0;
    padding: 10px;
    color: white;
    text-align: center; /* Centro de texto */
    transition: background-color 0.3s ease-in-out; /* Transición suave de fondo */
}

.latest-news-content a .title-news {
	color: white!important;
    font-size: 16px; /* Tamaño de fuente a 18px */
    line-height: 1.1em!important; /* Interlineado de 1.1em */
	font-weight:600;
    margin: 0;
}

.latest-news-content a .title-news:hover {
    color: #d2d2d2!important;
	transition: color 0.3s ease-in-out; /* Transición suave de fondo */
}

.latest-news-content a .category {
	color: white!important;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
}

.latest-news-content a .category:hover {
    color: #d2d2d2!important;
	transition: color 0.3s ease-in-out; /* Transición suave de fondo */
}
.latest-news-content .post-meta {
    margin: 5px 0 0 0;
}

.latest-news-content .read-more a {
    color: white!important; /* Color de texto blanco */
    background-color: transparent; /* Fondo transparente */
    text-decoration: none;
    padding: 0px 5px; /* Espaciado alrededor del enlace "Leer más" */
    border: 1.5px solid white; /* Borde blanco */
    display: inline-block;
    font-weight: 500;
	font-size:12px;
	transition: background-color 0.3s ease-in-out; /* Transición suave de fondo */
}

.latest-news-content .read-more a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Fondo semi-transparente en hover */
}

.latest-news-image .wp-caption figcaption {
    display: none; /* Quitar quote foto */
}

.latest-news-image .wp-caption {
    margin:0;
}

/* Modificación logo Twitter y actualización a Font Awesome 6 */
.fa-twitter:before, .fa-x-twitter:before {
    content: "\e61b"!important;
	font-family: "Font Awesome 6 Brands";
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-brands-400.ttf);
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-brands-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-brands-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/sprites/brands.svg) format("svg")
}

.fab {
    font-family: "Font Awesome 6 Brands"!important
}

@font-face {
    font-family: "Font Awesome 6 Free"!important;
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-regular-400.ttf);
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-regular-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-regular-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/sprites/regular.svg) format("svg")
}

.fab,.far {
    font-weight: 400
}

@font-face {
    font-family: "Font Awesome 6 Free"!important;
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-solid-900.ttf);
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-solid-900.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-solid-900.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/sprites/solid.svg) format("svg")
}

.fa,.far,.fas {
    font-family: "Font Awesome 6 Free"!important;
	font-weight: 900
}

.fa-brands {
    font-family: "Font Awesome 6 Brands"!important;
	font-weight: 400;
}

.fas.fa.fa-bars, .fa.fa-angle-up {
    font-family: "Font Awesome 5 Free"!important;
    font-weight: 900;
}

.main-navigation ul li .indicator {
    color: white!important;
}

