/* GeneratePress Site CSS */


/* Colors */

.main-navigation ul li:after {
    background-color: #000;
}

.main-navigation .inside-navigation {
    border-top: 0.5px solid #d4d7d8;
}

.wpsp-card,
.wpsp-card a,
.wpsp-card .wp-show-posts-meta a,
.wpsp-card .wp-show-posts-meta a:visited {
    color: #fff;
}

.navigation-search.nav-search-active {
    background-color: rgba(255, 255, 255, 0.95);
    top: auto;
    border: 1px solid #000;
}


/* Theme Global */

@media (min-width: 769px) {
    body {
        margin: 0 30px;
    }
}

body.single-post.no-sidebar .site-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}


/* Navigation */

.second-nav.grid-container {
    padding: 0;
}

@media (min-width: 769px) {
    .main-navigation ul li {
        position: relative;
    }
    .main-navigation ul li:after {
        content: '';
        position: absolute;
        height: 0;
        width: 100%;
        bottom: 0;
        left: 0;
        pointer-events: none;
        filter: hue-rotation(90deg);
        -webkit-filter: hue-rotation(90deg);
        -webkit-transition: height 0.35s ease;
        transition: height 0.35s ease;
    }
    .main-navigation ul li:hover:after,
    .main-navigation ul li.current-menu-item:after {
        height: 6px;
    }
}


/* Widgets */

.widget-title {
    margin: 1em 0;
    font-size: 0.8em !Important;
}

.widget .wp-show-posts article {
    margin-bottom: 0.5em !important;
}

.zero-padding {
    padding: 0 !important;
}

.widget.no-background {
    background-color: transparent;
}


/* Buttons */

button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited,
a.wp-block-button__link:not(.has-background) {
    pointer-events: initial !important;
    border-color: inherit;
    border: 1px solid;
}


/* Blog */

.generate-columns .inside-article {
    padding: 0 0 15px;
}

@media (max-width: 768px) {
    .generate-columns .inside-article>*:not(.post-image) {
        padding: 0 15px;
    }
}

.generate-columns-container article .inside-article .post-image {
    margin-bottom: 0.5em;
}

.generate-columns-container article .inside-article .entry-summary {
    margin-top: 0.5em;
    font-size: 0.8em;
}

.generate-columns-container article .entry-header,
.wp-show-posts-entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .generate-columns-container article .entry-header .entry-title,
    .wp-show-posts article .wp-show-posts-entry-title {
        line-height: 2.5ex;
        /*height: 5ex;
        overflow: hidden;*/
        text-overflow: ellipsis;
    }
    .generate-columns-container article .entry-header .entry-title,
    .wp-list-la-notizia article .wp-show-posts-entry-title {
        height: auto;
        overflow: visible;
        text-overflow: ellipsis;
        text-align: center;
    }

    .wp-show-posts article .wp-show-posts-entry-title{
        font-size: 1rem;
    }
}

.wp-show-posts .wp-show-posts-inner {
    overflow: hidden;
}

@media (min-width: 420px) {
    .wpsp-align .wp-show-posts-image {
        margin-bottom: 0;
    }
}

.wpsp-align .wp-show-posts-image a,
.wpsp-align .wp-show-posts-image img {
    height: 100%;
}

.generate-columns-container article .inside-article img,
.wp-show-posts-image img {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}


/* WPSP Grids */


/* Single column align side image */


/* Add wpsp-align class to to WPSP List shortcode wrapper */

@media (min-width: 420px) {
    .wpsp-align .wp-show-posts-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .wpsp-align .wp-show-posts-inner>div {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (max-width: 768px) and (min-width: 420px) {
    .wpsp-align .wp-show-posts-inner .wp-show-posts-image {
        margin-right: 1.5em;
    }
}


/* magazine Grid Golden Ratio 5 block standard */


/* Add wpsp-grid class to WPSP List shortcode wrapper */

@media (min-width: 600px) {
    .wpsp-grid .wp-show-posts {
        display: grid;
    }
}

@media (min-width: 900px) {
    .wpsp-grid .wp-show-posts {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: 1fr auto;
    }
    .wpsp-grid .wp-show-posts article:first-child {
        grid-column: 1 / 5;
        grid-row: 1 / 4;
    }
    .wpsp-grid .wp-show-posts article:nth-child(2) {
        grid-column: 5 / end;
        grid-row: 1 / 2;
    }
    .wpsp-grid .wp-show-posts article:nth-child(3) {
        grid-column: 5 / 7;
        grid-row: 2 / 4;
    }
    .wpsp-grid .wp-show-posts article:nth-child(4) {
        grid-column: 7 / end;
        grid-row: 2 / 4;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .wpsp-grid .wp-show-posts article {
        grid-column: span 4;
    }
    .wpsp-grid .wp-show-posts article:nth-child(3),
    .wpsp-grid .wp-show-posts article:nth-child(4) {
        grid-row: 3;
        grid-column: span 2;
    }
}

.wpsp-grid article:not(:first-child) .wp-show-posts-image a img {
    height: 250px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wpsp-grid article:first-child .wp-show-posts-image a img {
    height: 500px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wpsp-grid article:not(:first-child) .wp-show-posts-entry-summary,
.wpsp-grid article:not(:first-child) .wp-show-posts-entry-meta-below-post,
.wpsp-grid article:not(:first-child) .wpsp-read-more {
    display: none;
}


/* WPSP Card Styling */


/* Add wpsp-card class to WPSP List shortcode wrapper */

.wpsp-card .wp-show-posts-meta a,
.wpsp-card .wp-show-posts-meta a:visited {
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
}

:not(.widget).wpsp-card .wp-show-posts article,
.wpsp-card .wp-show-posts-image {
    margin-bottom: 0 !important;
}

.wpsp-card .wp-show-posts-inner {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpsp-card .wpsp-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5% 8%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.35);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(80, 50, 50, 0.5)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(0deg, rgba(80, 50, 50, 0.5) 30%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.wpsp-card article {
    position: relative;
    overflow: hidden;
}

.wpsp-card article,
.wpsp-card article .wp-show-posts-image img {
    -webkit-backface-visibility: hidden;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.wpsp-card article:hover .wp-show-posts-image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.header-widget .lsi-social-icons li {
    margin-bottom: 0 !important;
}

body .happyforms-flex {
    padding: 0;
}


/* End GeneratePress Site CSS */


/* HOME */

.wp-list-balcone article {
    position: relative;
}

.wp-list-balcone article .wp-show-posts-inner {
    position: relative;
}

.wp-list-balcone article .wp-show-posts-inner .wp-show-posts-image {
    margin: 0;
}

.wp-show-posts.wp-list-balcone article:first-of-type .wp-show-posts-entry-title {
    line-height: 1.3em;
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: right;
    width: 300px;
}

.wp-list-balcone article .wp-show-posts-inner header {
    margin: 20px 20px 10px;
    left: 10px;
    display: flex;
    align-items: end;
}

.wp-list-balcone article .wp-show-posts-inner header .wp-show-posts-entry-title a,
.wp-list-balcone article .wp-show-posts-inner header .wp-show-posts-entry-title a:hover {
    color: #fff;
}

.wp-list-balcone article .wp-show-posts-inner .wp-show-posts-entry-summary {
    margin: 20px 20px 10px;
    left: 10px;
    color: #fff;
}

.wp-list-balcone .wp-show-posts-single {
    position: relative;
}

.wp-list-balcone .wp-show-posts-single .wp-show-posts-image.wpsp-image-center {
    height: 300px;
    overflow: hidden;
}

.wp-list-balcone .wp-show-posts-single .wp-show-posts-inner .text-cont {
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    background-color: transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, .9)));
    background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, .9));
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .9));
    line-height: 24px;
    z-index: 2;
    height: 300px;
    padding: 0;
}

.wp-list-la-notizia .wp-show-posts-entry-header .wp-show-posts-entry-title {
    line-height: 75px;
    font-size: 75px;
    margin-top:20px;
}

.wp-list-la-notizia .wp-show-posts-entry-meta{
text-align: center;
}

.wp-show-posts {
    margin-bottom: 2em;
}

.editorialeHome {
    position: relative;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 20px 40px;
    margin-bottom: 2em;
}

.editorialeHome .titleEditHome {
    margin: 0;
}

.editorialeHome .firma {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editorialeHome .firma picture.profiloEditoriale img,
.editorialeHome .firma img.profiloEditoriale,
.editorialeHome .firma picture.profiloEditoriale source {
    border-radius: 50%;
    border: 2px solid #fff;
    height: 76px;
    width: 76px;
    background: #fff;
}

.wp-list-editoriale {
    margin: 0;
}

.imgEditoHome {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wp-list-editoriale article .wp-show-posts-entry-title {
    line-height: 1em;
    font-size: 1em;
    height: auto;
}

p.titleEditHome {
    font-style: italic;
}

.wp-show-posts.wp-list-editoriale article:first-of-type {
    width: 100%;
}

.wp-show-posts.wp-list-editoriale article.wp-show-posts-single:first-of-type .wp-show-posts-inner {
    border-bottom: 1px solid;
    margin-bottom: 1em !important;
}

.wp-show-posts.wp-list-editoriale article:first-of-type .wp-show-posts-entry-title {
    line-height: 1.7em;
    font-size: 1.7em;
}

.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) {
    /*align-items: center;*/
    justify-content: space-between;
}

.wp-show-posts-columns.wp-list-editoriale article.wp-show-posts-single .wp-show-posts-inner {
    margin-bottom: 0 !important;
}

.wp-show-posts-columns.wp-list-editoriale .contelements-3 {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.wp-show-posts-columns.wp-list-in-evidenza.wp-show-posts {
    background: #000;
    color: #fff;
    align-items: baseline;
    padding: 15px;
    justify-content: space-between;
}

.wp-show-posts-columns.wp-list-in-evidenza.wp-show-posts article .wp-show-posts-inner {
    margin: 1em !important;
}

.wp-show-posts-columns.wp-list-in-evidenza.wp-show-posts a:hover {
    color: #fff;
}

.wp-list-last .wp-show-posts-inner {
    position: relative;
}

.wp-list-last .text-cont .wp-show-posts-terms {
    position: absolute;
    top: 0;
    background: #000;
    padding: 3px 5px;
}

.wp-list-last .text-cont .wp-show-posts-terms a {
    color: #BE1522;
    font-weight: bold;
}

#edicola-box {
    text-align: center;
}

.widget-area.sidebar .widget .widget-title {
    color: #BE1522;
    font-size: 1em !important;
    font-weight: bold;
}

#edicola-box .textwidget p {
    font-size: 0.8em;
}

#edicola-box .textwidget a.link-edicola {
    background-color: #BE1522;
    color: #fff;
    padding: 15px;
}

.main-navigation .menu-bar-items {
    justify-content: space-between;
}

@media (min-width: 768px) {
    .main-navigation .menu-bar-items {
        width: 100%;
    }
}

.main-navigation .menu-bar-items .search-item {
    order: 2;
}

.leggianche{
    color: #BE1522;
    border-bottom: 2px solid #BE1522;
    margin: 15px 0 !important;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia ul li {
    margin: 15px 0;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia ul li a picture source{
	width:300px;
	display:block;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail {
    width: 100%;
    height: auto;
    display: flex;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail .yarpp-thumbnail-title {
    width: auto;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail .related-text {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail .related-text .title {
    font-size: 25px;
    line-height: 1em;
    color: #3d3d3b;
}

.widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail .related-text .text {
    font-weight: normal;
    color: #3d3d3b;
}

.yarpp-template-yarpp-template-lanotizia .read-more {
    display: none;
}

.centerAds {
    margin: 15px auto;
    text-align: center;
}

.separate-containers .site-main {
    margin: 20px 0 !important;
    padding: 0 20px;
    background: #fff;
}
@media (min-width: 769px) {
#primary{
    width: 70%;
}

.is-right-sidebar {
    min-width: 330px;
}
}

.has-branding.main-navigation{
    background: #fff;
}

.inside-navigation.grid-container{
    position: relative;
}
.inside-navigation.grid-container .navigation-branding{
    position: absolute;
    left: 50%;
  transform: translateX(-50%);
}

h3.titlehome {
    text-align: center;
    color: #fff;
    background: #BE1522;
    padding: 10px;
    margin: 0;
}
div#breadcrumbs {
    line-height: 1.1em;
    margin: 10px 0 5px 0;
}
#breadcrumbs a,
#breadcrumbs span{
font-size: 0.95em;
}
p.subtitle {
    font-size: 1.3em;
    line-height: 1.1em;
    margin: 5px 0;
}

.entry-meta{
    display: none;
}

footer.entry-meta{
    display: flex;
}
footer.entry-meta span{
    margin: 0 0 0 5px;
}

.wp-show-posts.wp-list-editoriale article.wp-show-posts-single:first-of-type .wp-show-posts-inner{
    border: 0;
}

.main-navigation .inside-navigation{
    height: 100px;
}

.navigation-branding .site-logo img, .site-logo.mobile-header-logo .site-logo img{
    height: 100px;
}

.navigation-stick.main-navigation .inside-navigation{
    height: 50px;
}

.navigation-stick .navigation-branding .site-logo img,.navigation-stick .site-logo.mobile-header-logo .site-logo img{
    height: 50px;
}
.hot-topics-wrapper{    flex-grow: 4;}
.hot-topics-generic{
display: flex;
height: 40px;
width: 100%;
justify-content:space-between;
background: #fff;
}
.hot-topics-wrapper{    flex-grow: 4;}
.hot-topics-abbonati{
    display: block;
}
.hot-topics-abbonati.sveglia,.hot-topics-abbonati.mezzora{
order:5;
}
.hot-topics-abbonati a{
    background-color: #BE1522;
    color: #fff;
    padding: 15px;
}

.hot-topics-abbonati.sveglia a,.hot-topics-abbonati.mezzora a{
    margin-left:  15px;}
.hot-topics-wrapper .hot-topics-title{
    width: 100px;

}
.hot-topics-wrapper .hot-topics{
    display: flex;
    justify-content:space-around;
    width: -webkit-fill-available;
}

.footer-widgets-container{
    padding: 25px 5px 0 5px !important;
    border-top: 1px solid;

}

ul#menu-footer-menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

@media (min-width: 769px) {
.d-none{
display: none;
}
}

@media (max-width: 768px) {
    .m-none{
        display: none;
        }

        ul#menu-footer-menu {
            flex-direction: column;
        }
    .main-navigation .inside-navigation{
        height: 50px;
    }

    .navigation-branding .site-logo img, .site-logo.mobile-header-logo .site-logo img{
        height: 50px;
    }
    footer.entry-meta{
        display: block;
    }
    .home h2.post_flag-in-evidenza,
    .wp-list-la-notizia H2 {
        font-size: 43px !important;
        line-height: 1 !important;
        text-align: center;
    }
    .entry-content:not(:first-child),
    .entry-summary:not(:first-child),
    .page-content:not(:first-child) {
        margin-top: 0 !important;
    }
    .editorialeHome {
        padding: 0;
    }
    .editorialeHome .firma .imgEditoHome {
        flex-direction: column;
    }
    .wp-list-editoriale article .wp-show-posts-entry-title {
        line-height: 1em !important;
        font-size: 1.2em;
        height: auto;
    }
    .wp-show-posts-columns.wp-list-editoriale article {
        margin: 0;
        padding: 10px 0;
    }
    .wp-show-posts-columns.wp-list-editoriale .contelements-3 {
        border: 0;

    }
    h2.wp-show-posts-entry-title {
        font-size: 23px;
        line-height: 1.2em;
    }
    h1.entry-title {
        font-size: 35px;
        line-height: 1.1em;
    }
    .widget.after_article_1 .yarpp-template-yarpp-template-lanotizia .yarpp-thumbnail {
        flex-direction: column;
    }
    .wp-list-balcone .wp-show-posts-single .wp-show-posts-image.wpsp-image-center {
height: auto;
    }
    .wp-show-posts.wp-list-balcone article:first-of-type .wp-show-posts-entry-title {
        line-height: 1em;
        width: auto;
        text-align: left;
    }

    .wp-list-balcone .wp-show-posts-single .wp-show-posts-inner .text-cont{
        height: auto;
            }

    .wp-list-balcone {
        margin-bottom: 0;
    }
    .hot-topics-generic{
        height: auto;
        flex-wrap: wrap;
    }

   .hot-topics-abbonati, .hot-topics-abbonati.sveglia {
        order:2;
        flex: 1 1 30%;
    }

    .hot-topics-abbonati.mezzora{
         order:2;
         flex: 1 1 40%;
     }

    .hot-topics-abbonati, .hot-topics-abbonati.sveglia{
        flex: 1 1 14%;
    }
    .hot-topics-abbonati a,.hot-topics-abbonati.sveglia a, .hot-topics-abbonati.mezzora a{
        margin: 0;
        display: block;
        font-size: 15px;
        text-align: center;
    }

    .hot-topics-wrapper{
        order: 3;
        flex: 0 1 100%;
    }
    .special_home{
        background: #BE1522;
        padding: 10px;
        color: #000;
        margin: 15px 0;
    }

    .special_home .wp-show-posts-entry-header a {
color: #fff;
    }
    div#breadcrumbs {
        line-height: 1em;
    }
}

#edicola-box .textwidget a.link-edicola {
    background-color: #BE1522;
    color: #fff;
    padding: 15px;
}

.black{color: #000 !important;}

.wp-list-in-evidenza article header h2 a {color: #fff;}

.wp-list-last article header h2 a {color: #000;}

.black_home{background-color: #000;}
.black_home h4 {color: #fff; text-align: center;    margin: 0;  padding: 10px 0 0 0;}


.sliderocnt{
     /* min-height: 100vh; */
     display: flex;
     align-items: center;
     height: 300px;

  }
  .wrapperslider{
    width: 100%;
    height: 300px;
  }
  .owl-stage-outer{
      overflow: hidden;
  }
  .owl-stage{
    height: 300px;
    display: flex;
  }
  .carousel{
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    height: 300px;
  }
  .carousel .card{
      display: flex;
      color: #fff;
    text-align: center;
    margin: 20px 0;
    font-size: 1em;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgb(0 0 0 / 20%);
    height: 250px;
    align-items:center;
    justify-content:center;
    background-color: #BE1522;

}
.carousel .card a{
 color: #fff;}

 .owl-dots{
      display: none;
    text-align: center;
    margin-top: 40px;
  }
  .owl-dot{
    height: 15px;
    width: 45px;
    margin: 0 5px;
    outline: none;
    border-radius: 14px;
    border: 2px solid #0072bc!important;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  .owl-dot.active,
  .owl-dot:hover{
    background: #0072bc!important;
  }
  .owl-nav {
    text-align: center;
}

/* ads */

@media (min-width: 769px) {
body{ margin-top: 90px !important;}
}
.grid-container{
    background: #fff;
    position: relative;
    z-index: 10000;
}

.size_masthead{
min-height: 250px;
}

.size_sidebar{
    min-height: 600px;
    /*background-color: #BE1522;*/
}

.size_infeed{
    min-height: 300px;
}

.size_widget{
    min-height: 600px;
}

@media (max-width: 768px) {

    .size_masthead{
        min-height: 300px;
    }
    .size_sidebar{
        min-height: 300px;
    }
    .size_infeed{
        min-height: 300px;
    }


    .size_widget{
        min-height: 600px;
    }

}

.wp-show-posts-columns.wp-list-last .wp-show-posts-single:not(.wp-show-posts-masonry-block) .wp-show-posts-image img{
    width: 100%;
        height: 206px;
}
.wp-list-last .wp-show-posts-image.wpsp-image-center {
    overflow: hidden;
    height: 206px;
}


.mobile-menu{display: none;}
nav#sticky-navigation {
    z-index: 1000000000000 !important;
}

.home iframe#deepen-iframe {
    margin-bottom: 20px;
}

div#page {
    padding-top: 30px;
}

h2.side-momento-sabbatico.wp-show-posts-entry-title {
    font-size: 1rem!important;
}
