/**
Theme Name: Z4 STUDIOS Theme
Author: Z4 STUDIOS
Author URI: https://www.z4studios.com
Description: Z4 STUDIOS Theme is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: z4-studios-theme
Template: jnews
Version: 1.0.15
*/

/*Single Product*/

.woocommerce div.product form.cart .variations {
    padding-bottom: 20px;
}

.elementor-864 .elementor-element.elementor-element-e646437 .woocommerce-variation-add-to-cart {
    margin-top: 30px !Important;
}

/*Related products*/
@media (max-width: 768px){
.woocommerce div.product .related.products ul.products li.product, .woocommerce-page div.product .related.products ul.products li.product, .woocommerce-page[class*=rel-up-columns-] div.product .related.products ul.products li.product, .woocommerce[class*=rel-up-columns-] div.product .related.products ul.products li.product {
    margin-right: 0px !important;
}
}


/** NAVBAR **/
@media (max-width: 1199px) {
    .jeg_main_menu>li>a {
        font-size: 11px !important;
    }
}

/** HOME **/
/* Post Slider */
.wprpsp-post-content-bacground {
    text-align: left;
}

.wprpsp-gridbox-slider h2, .wprpsp-recent-post-carousel h2, .wprpsp-recent-post-slider h2 {
    font-weight: 500;
}

.jeg_latestpost {
    display: none;
}

/** Breadcrumb **/

.jeg_custom_breadcrumb_wrapper .taxonomy.category span {
    color: #53585c;
}

.jeg_custom_breadcrumb_wrapper .taxonomy.category span:hover {
    color: #f6303e;
}

.jeg_custom_breadcrumb_wrapper a.home span {
    color: #53585c;
}

.jeg_custom_breadcrumb_wrapper a.home span:hover {
    color: #f6303e;
}

/** Z4-POST-METADATA **/

.elementor-widget .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
    margin-left: 0px;
}

    /* autor */

    .z4-post-metadata span.elementor-post-info__item-prefix {
        font-weight: 400;
        color: initial;
    }

    .z4-post-metadata .elementor-post-info {
        margin-left: 0px !important;
    }

    .z4-post-metadata span.elementor-post-info__item.elementor-post-info__item--type-author {
        color: #f6303d;
        font-weight: 700;
    }

    /* fecha */

    .z4-post-metadata .elementor-repeater-item-1bd4ed1 span.elementor-post-info__item-prefix {
        margin-right: 10px;
    }

    .z4-post-metadata span.elementor-icon-list-text.elementor-post-info__item--type-date {
        margin-right: -5px;
    }

    /* categorías */

    .z4-post-metadata.elementor-widget-post-info a.elementor-post-info__terms-list-item {
        font-weight: 700;
    }

/** FIN Z4-POST-METADATA **/



/** WP VIDEO **/
.wp-video a:last-child {
    display: none;
}

/** END WP VIDEO **/



/* BLOQUES ESPECIALES: Especial EGM, LOS MEJORES DE PR... */

.z4-bloque-especial .z4-post a {
    font-weight: bold;
}
.z4-bloque-especial-wrapper .jeg_block_heading_1 {
    border-bottom: 2px solid #fff;
}
/* Categoría radio */
.category-radio #z4studios-especial-section {
    margin-bottom: 40px;
    padding-top: 0px;
    background-color: transparent !important;
}

/* END - BLOQUES ESPECIALES */


/* Bloque LOS MEJORES DE PR (SIDEBAR) */
.z4-bloque-mejorespr-sidebar .jeg_postblock {
    margin-bottom: 0px;
}

/* END - Bloque LOS MEJORES DE PR (SIDEBAR) */


/* Bloque Diario COVID-19 */

.z4-bloque-diario-covid .z4-image:not(.z4-image-0) {
    display: none;
}
.z4-bloque-diario-covid .z4-title h3 {
    font-size: 14px;
}
.z4-bloque-diario-covid .z4-image img {
    display: block;
    margin: 0px auto;
}
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.z4-bloque-diario-covid .z4-images .z4-image img {
    width: 100%;
    object-fit: cover;
    height: 86px; /* antes 135px */
}

/* END - Bloque Diario COVID-19 */


/* Ocultar paginacion repetida en archive bloques */
.tax-bloque .jnews_archive_content_wrapper .jeg_navigation {
    display: none;
}


/* VODAFONE */

.z4-bloque-video article.z4-post {
    display: grid;
    grid-gap: 0px;
    grid-template-columns: 100%;
    padding-bottom: 10px;
}

.z4-bloque-video .z4-content {
    text-align: left;
    padding-left: 14px;
}

.z4-bloque-video h3.z4-title {
    font-size: 20px !important;
    font-weight: bold;
}

.z4-bloque-video span.z4-pretitile {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.z4-bloque-video article.z4-post {
    border: #3a3a3a 1px solid;
}

/* END VODAFONE */

/* VIMEO */
.wp-block-embed-vimeo .wp-block-embed__wrapper:before {
    padding-top: 0 !important;
}
/* END VIMEO*/


/* Para ocultar las etiquetas de Joomla capturadas en la función process_joomla_tags */
.joomla-tag-hide {
    display: none;
}
/* END Para ocultar las etiquetas de Joomla capturadas en la función process_joomla_tags */

/* Advanced Ads Label */
/* Palabra "PUBLICIDAD" encima de cada anuncio */
.prnot-adlabel {
    font-size: 0.8em;
    line-height: 1;
    text-transform: uppercase;
    padding-bottom: 3px;
}

/* Para corregir un margen inferior que en Firefox NO estaba apareciendo */
/* https://app.asana.com/0/1163300447441326/1202107402573148/f */
/* https://docs.google.com/document/d/1LdeqWRiCh5ciu5GdF9LSKAtLxiXr6hOol_tDBh__PBU/edit#heading=h.9vnou83v6my0 */
div[class^="prnot-"] br {
    display: unset !important;
}
/* END Advanced Ads Label */


/*** TERMS BLOCK CAT_NDP ***/
.z4-bloque-terms {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(3,1fr);
    column-gap: 63px;
    row-gap: 30px;
}
@media (max-width: 767px) { 
    .z4-bloque-terms {
        grid-template-columns: repeat(1,1fr);
    }
}
.z4-bloque-terms .z4-term .z4-card {
    background-color: #F9F9F9;
    border-width: 0px;
    border-radius: 0px;
    padding-top: 35px;
    padding-bottom: 35px;
    /* -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%); */
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
    overflow: hidden;
    position: relative;
    background-color: #fff;
    width: 100%;
    min-height: 100%;
    border: 0 solid #818a91;
    /* -webkit-transition: all .25s; */
    /* -o-transition: all .25s; */
    transition: all .25s;
}
.z4-bloque-terms .z4-term .z4-card:hover {
    /* -webkit-box-shadow: 0 0 30px 0 rgb(0 0 0 / 15%); */
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}
.z4-bloque-terms .z4-term .z4-title {
    text-align: center; 
}
.z4-bloque-terms .z4-term .z4-title a {
    color: #595959;
    font-size: 22px;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-size: 22px;
}
/*** END - TERMS BLOCK CAT_NDP ***/

/* Añadido para ocultar un lightbox que aparece abajo del todo al actualizar el plugin Youtube Feed */
#sby_lightboxOverlay + #sby_lightbox {
    display: none;
}


/*** (Nuevo Rediseño 01/2023) ***/
/* Noticia destacada en portada  */

.page-id-20198636 .elementor-widget-jnews_hero_13_elementor .elementor-widget-container, .elementor-widget-jnews_hero_13_elementor .jeg_heroblock_13 {
    margin-bottom: 0!important;
    margin-top: 0!important;
}

.page-id-20198636 .elementor-widget-jnews_hero_13_elementor .z4-noticia-destacada .jeg_heroblock_wrapper {
    margin: 30px 0 30px!important;
}

/* Alineamos a la derecha el 2º botón de los slider de la portada y lo ponemos en negrita */
.wprpsp-read-more-btn.z4studios-btn {
    float: right;
    font-weight: 700;
}

/* Clases creadas para usar con el ACF z4-tamano-letra para elegir el tamaño de los títulos en los sliders de la portada */
.wprpsp-post-slides .wprpsp-post-grid-content .wprpsp-post-content-bacground h2.wprpsp-post-title a.z4-fontsize-22 {
    font-size: 22px!important;
}

.wprpsp-post-slides .wprpsp-post-grid-content .wprpsp-post-content-bacground h2.wprpsp-post-title .z4-fontsize-23 {
    font-size: 23px!important;
}

.wprpsp-post-slides .wprpsp-post-grid-content .wprpsp-post-content-bacground h2.wprpsp-post-title .z4-fontsize-24 {
    font-size: 24px!important;
}

.wprpsp-post-slides .wprpsp-post-grid-content .wprpsp-post-content-bacground h2.wprpsp-post-title .z4-fontsize-25 {
    font-size: 25px!important;
}

.wprpsp-post-slides .wprpsp-post-grid-content .wprpsp-post-content-bacground h2.wprpsp-post-title a.z4-fontsize-26 {
    font-size: 26px!important;
}

/* Para quitar el margen inferior de ÚLTIMAS NOTICIAS */
#z4-portada-ultimas-noticias .jeg_postblock_21 {
    margin-bottom: 0;
}

#z4-portada-ultimas-noticias .jeg_postblock_21 .jeg_post:last-child {
    margin-bottom: 0;
}

/* Para ocultar la categoría de Sala de Prensa "Notas de prensa de Salud" que aparecía en https://prnoticias.com/cat_ndp/ */
.page-id-20546418 .z4-bloque-terms .z4-term-32471 {
    display: none;
}

/*** END (Nuevo Rediseño 01/2023) ***/

/* Para que en modo móvil no salga un margen derecho en los titulares */
@media (max-width:640px){
    .wprpsp-recent-post-slider.wprpsp-design-4 .wprpsp-post-list-cnt .wprpsp-medium-7 {
        padding: 0;
    }
}


/*Personalización shortcode VIDEOS 8M*/
#video_pr_slider.slider{
    position: relative !important;
}
.tit_slide_videos{
    font-weight: bold;
    line-height: 1.2;
    font-size: 16px;
    margin-top: 9px;
}
.btn_morevideos{
    display: flex;
    justify-content: center;
}
.btn_morevideos a{
    font-size: 11px;
    line-height: 1;
    padding: 9px 15px;
    margin-top: -20px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #765EF0;
    border: 1px solid #765EF0;
    transition: 0.4s ease;
}
.btn_morevideos a:hover{
    border: 1px solid #765EF0;
    background-color: #765EF0;
    color: #fff;
}
#video_pr_slider.slider::before{
    content: '' !important;
    box-shadow: none !important;
    color: transparent !important;
    height: 0 !important;
    display: none !important;
}
#video_pr_slider .flex-direction-nav a:before{
    font-size: 30px !important;
    color: #fff;
    line-height: 1 !important;
}
#video_pr_slider .flex-direction-nav .flex-next{
    right: 10px;
    opacity: 1;
    text-align: right;
}
#video_pr_slider .flex-direction-nav .flex-prev{
    left: 10px;
    opacity: 1;
}
#video_pr_slider .flex-control-paging li a{
    width: 8px;
    height: 8px;
}
/*Formato Grid*/
.wrap_grid_video{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.item_video_grid{
    display: flex;
    width: calc(33% - 20px);
    flex-direction: column;
    padding: 20px;
    /*box-shadow: 0 0 1px #605f5f;*/
    border: 1px solid #dadada;
    margin-bottom: 30px;
}
@media (max-width: 600px) {
    .item_video_grid {
        display: flex;
        width: calc(100% - 0px);
        padding: 15px 5px;
    }
}
@media (min-width: 601px) and (max-width: 767px){
.item_video_grid {
    display: flex;
    width: calc(50% - 20px);
}
}
@media (min-width: 768px) and (max-width: 1024px){
.item_video_grid {
    display: flex;
    width: calc(50% - 20px);
}
}
/*Fin Personalización shortcode VIDEOS 8M*/