/*
Theme Name: RadioOndeFurlane 2023
Theme URI: https://radioondefurlane.eu/
Author: Katia Coppo
Author URI: https://katiacoppo.it/
Description: Tema proprietario di Informazione Friulana Soc.Coop per Radio Onde Furlane
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radioof
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* --------------------------------------------------------------
/* TABLE OF CONTENTS:
/* --------------------------------------------------------------
0.0 Fonts and Variables
1.0 Backgrounds
2.0 Alignments
3.0 Typography
4.0 Forms
5.0 Formatting
6.0 Elements
7.0 Navigation
8.0 Layout
   -> Page Template Default
   -> Front Page
   -> Sezione Programmi in evidenza
   -> Puntata
   -> Palinsesto
   -> Par da une man
   -> Grup
   -> Servizi
   -> Pontadis e Programs
   -> Archivio puntate programma
   -> Archivio programmi
   -> Contatti
   -> Trasparence e simili
   -> Footer
   -> Sidebars
   -> 404
9.0 Widgets
   -> Iubenda

---------------------------------------------------------------- */




/* ========================================  0.0 Fonts and Variables  ======================================== */
@font-face {
    font-family: 'Roadgeek 2005 eng';
    src: url('assets/fonts/roadgeek_2005_engschrift-webfont.woff2') format('woff2'),
         url('assets/fonts/roadgeek_2005_engschrift-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --rof-red: #e2031a; /* rosso */
    --rof-green: #ccdbd0; /* verde */

    --color-text: #000;
    
    --dark-grey: #333;
    --grey: #b3b3b3;
    --light-grey: #eee;
    --light-light-grey: #f2f2f2;
    
    --title-font: 'Roadgeek 2005 eng', sans-serif;
    --normal-font: 'Jost', sans-serif;
    
    --spreaker-yellow: #ffc00e;
}



/* ============================================   1.0 Backgrounds  ============================================ */

/* ---------------------------------------- DA ESPORTARE ANCORA ---------------------------------------- */
/* ---------------------------------------- DA ESPORTARE ANCORA ---------------------------------------- */
/* ---------------------------------------- DA ESPORTARE ANCORA ---------------------------------------- */
.pattern {
    background-image: url('img/pattern_rof.png');
}


::-moz-selection {
    color: var(--dark-grey);
    background-color: var(--rof-green);
}
::selection {
    color: var(--dark-grey);
    background-color: var(--rof-green);
}

/* ============================================   2.0 - Alignments  ============================================ */
.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}


/* ============================================   3.0 - Typography  ============================================ */

body {
    font-family: var(--normal-font);
    /* Smoothing */
    text-rendering: geometricPrecision;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    
    font-size: 1.125em;
    line-height: 1.5em;
}
body b, body strong {
    font-weight: bold;
}
body.single {
    text-align: center;
}
/* TITOLI */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font); /* 'Roboto Condensed', Anton, */
    font-weight: normal;
    letter-spacing: -0.01em;
}
/* ------------------------ DA VERIFICARE --------------------------------- */
h1 {
    font-size: 3.3333333em;
    line-height: 1.0666666em;
    color: var(--rof-red);
    text-transform: uppercase;
    text-align: center;
    font-weight: normal;
}
body.single h1 {
    margin-bottom: 0;
}
.title_h1 {
    font-size: 4.2em;
    text-align: center;
    text-transform: none;
    margin-top: 24px;
    font-weight: normal;
    letter-spacing: -0.026em;
}
@media (min-width: 767px) {
    .title_h1 {
        font-size: 5em;
    }
}
.title_h1 strong {
    color: var(--rof-red);
    font-weight: normal;
}
h2 {
    font-size: 2.3333333em;
    line-height: 1em;
    text-transform: uppercase;
}
h2 small {
    font-size: 0.6666666em;
    text-transform: none;
}
h3 {
    font-size: 1.7777777em;
    line-height: 1.2em;
}
h4 {
    font-size: 1.3333333em; 
    line-height: 1.125em;
}
h5 {
    font-size: 1.1666666em; 
    line-height: 1.3333333em;
}
h6 {
    font-size: 1em;
    line-height: 1.5em;
}
p {
    font-size: 1.3333333em;
    letter-spacing: 0;
    line-height: 1.3333333em;
    margin-bottom: 1.3333333em;
}
p + p {
    margin-top: 0;
}
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {
    margin-top: 1em;
}
hr {
    margin: 30px 0;
}
/* TESTO GENERICO */
a {
    color: #000;
    text-decoration: underline;
}
a:hover {
    color: var(--rof-red);
}
nav a, nav a:hover {
    text-decoration: none;
}
a.button {
    font-family: var(--title-font);
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 48px;
    font-size: 1.5555555em;
    text-decoration: none;
}
a.button.small {
    padding: 4px 36px;
    font-size: 1.3333333em;
}
a.button.small:hover {
    background-color: var(--dark-grey);
    color: #fff;
}

/* ---------------------------- VERIFICA --------------------------- */
blockquote {
    border-left: 8px solid var(--rof-green);
    display: block;
    padding-left: 16px;
    margin: 0.5em 0;
}

/* IMAGGINI e IFRAME */
img.img-responsive {
    width: 100%;
    height: auto;
}
iframe {
    width: 100%;
}

/* ============================================   4.0 - Forms  ============================================ 
input, textarea {
    background-color: var(--light-light-grey);
    border: none;
    padding: 8px 24px;
    margin: 16px 0 0 0;
    line-height: 1.6em;
}
label.show.privacy {
    display: block;
    font-size: 0.85em;
}
input[type="checkbox"], [type="radio"] {
    margin: 24px 8px 8px 0;
}
div.wpcf7-response-output {
    border-width: 12px;
    margin: 1em 0em 2em;
    padding: 1em;
}
.wpcf7-mail-sent-ok {
    border-color: #0fc689;
}
span.wpcf7-list-item {
    margin: 0;
}
span.wpcf7-not-valid-tip {
    color: #c46f00;
    color: #ee4056;
    margin-top: 4px;
    margin-bottom: 8px;
}
div.wpcf7-validation-errors {
    border-color: #ee4056;
}



/* ============================================   5.0 - Formatting  ============================================ */
.clearfix {
    clear: both;
}
/* prima colonna e ultima senza padding */
.row > *[class^='col']:first-child {
    padding-left: 0;
}
.row > *[class^='col']:last-child {
    padding-right: 0;
}

/* Provare a vedere https://css-tricks.com/full-width-containers-limited-width-parents/ */
@media (min-width: 480px) { /* potrebbe essere necessario cambiare questa media query */
  .fullwidth {
    width: 100vw;
    margin: 0 calc(-100vw / 2 + 100% / 2);
    margin: 0 0 0 calc(-50vw + 50%);
    margin: 0 calc(-50vw + 50% -0.5em);
  }
}

.medium_content {
    max-width: 825px;
    margin: 0 auto;
}

section[class^='fascia'] {
    margin-top: 60px;
}
section.fullwidth[class^='fascia'] {
    margin-top: 120px;
}
@media(max-width: 767px) {
    section.fullwidth.fascia3 {
        margin-top: 75px;
    }
}

.container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0;
}

/* Elimino i margini dell'iframe di Spreaker */
iframe.spreaker-player {
    margin: 0;
    border-radius: 16px;
}

/* UL */
ul {
    padding: 0;
}


.content {
    padding: 0 30px 0 15px;
}
@media(min-width: 576px) {
    .content {
        margin: 0 auto;    
    }
}


/* ============================================   6.0 - Elements  ============================================ */
.single_main .content {
    max-width: 860px;
    margin: 16px auto;
}


.intro.intro_page {
    background-color: var(--rof-green);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
}
.intro.intro_page p {
    max-width: 755px;
    padding-left: 32px;
    padding-right:32px;
}
@media(min-width: 800px) {
    .intro.intro_page p {
        padding-left: 0;
        padding-right: 0;
    }
}

.as_title {
    color: var(--rof-red);
    font-family: var(--title-font);
    text-transform: uppercase;
    font-size: 1.1666666em;
}

/* Filetti */
hr {
    border-width: 0;
    height: 22px;
    background-image: url(assets/img/filetto1-grey.svg);
    background-position-x: center;
    background-repeat: no-repeat;
}

/* Bottoni */
.button.primary {
    background-color: var(--dark-grey);
    color: #fff;
}
.button.primary:hover {
    background-color: var(--rof-green);
    color: var(--dark-grey);
}
.button.primary_brand {
    background-color: var(--rof-red);
    color: #fff;
}
.button.primary_brand:hover {
    background-color: var(--dark-grey);
    color: #fff;
}
.button.secondary_brand {
    background-color: var(--rof-green);
    color: #000;
}
.button.on_dark:hover {
    background-color: #fff;
    color: var(--dark-grey);
}


/*
 * ROF box
 * È il box grigetto con box-shadow netta
 */
.rof_box {
    background-color: var(--light-light-grey);
    box-shadow: 9px 9px 0 var(--rof-green);
    padding: 30px 50px;
    text-align: center;
    font-family: var(--title-font);
}
.rof_box.has_link:hover {
    box-shadow: 9px 9px 0 var(--dark-grey);
}


/* Box Home */
.box_home {
    max-width: 100%;
}
@media(min-width: 880px) {
    .box_home {
        max-width: 320px;
    }
}
@media(min-width: 1000px) {
    .box_home {
        max-width: 400px;
    }
}
@media(min-width: 1200px) {
    .box_home {
        max-width: 490px;
    }
}
@media(min-width: 1400px) {
    .box_home {
        max-width: 560px;
    }
}
.box_home h2 {
    font-family: var(--title-font);
    text-transform: uppercase;
}
.box_home p {
    font-size: 1.3333333em;
    line-height: 1.5em;
}


/*
 * PROGRAMMA
 * è lo stile di ogni programma (in archivi o in evidenza))
 */
.rof_program_box {
    width: 230px;
    margin: 0 16px 24px 16px;
}
.rof_program_box > a {
    text-decoration: none;
    display: block;
    background-color: var(--rof-green);
}
.rof_program_box .titolo_programma {
    font-family: var(--title-font);
    text-transform: uppercase;
    font-size: 1.5555555em;
    display: block;
    padding: 10px 0;
    margin-top: -15px;
    box-sizing: border-box;
    width: 100%;
}
.rof_program_box > a > img,
.rof_program_box > a > span {
    border: 10px solid transparent;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
}
.rof_program_box > a:hover {
    color: #fff;
    background-color: var(--dark-grey);
}


/*
 * PUNTATA
 * è lo stile della singola puntata (bordo grigio e label titolo sottostante)
 */
#slider .puntata_box a,
.puntata_box a {
    width: 180px;
}
.puntata_box img {
    border: 10px solid var(--dark-grey);
    position: relative;
}
.puntata_box .durata,
.puntata_box header {
    font-family: var(--title-font);
    text-align: center;
}
.puntata_box .durata {
    color: #000;
    display: block;
    position: absolute;
    padding: 1px 8px;
    right: 10px;
    top: 141px;
    background: #fff;
    z-index: 20;
    font-size: 1.15em;
}
.puntata_box header {
    font-family: var(--title-font);
    text-align: center;
    font-size: 1.33333333em;
    color: #fff;
    min-height: 70px;
    background-color: var(--dark-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    margin-top: 4px;
}
.puntata_box a {
    position: relative;
}
.puntata_box a:hover img {
    border: 10px solid var(--rof-red);
}
.puntata_box a:hover header {
    background-color: var(--rof-red);
}
.puntata_box a[title]:hover::after {
    content: attr(title);
    display: flex;
    width: 156px;
    min-height: 56px;
    position: absolute;
    z-index: 999;
    bottom: 0;
    right: 0;
    font-family: var(--title-font);
    background-color: var(--rof-red);
    color: #fff;
    padding: 12px;
    line-height: 1.15em;
    font-size: 1.3333333em;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
}


/* 
 * Meta Block è usato principalmente nella sezione Spreaker
 * in particolare nella pagina della singola puntata
 * comunque anche nella pagina del singolo programma
 */
.meta_block {
    margin-bottom: 16px;
}
.meta_block .titolo {
    font-family: var(--title-font);
    font-size: 1.2em;
    display: block;
}
.meta_block .meta a {
    text-decoration: underline;
    border-bottom: none;
}
.meta_block .meta.titolo + .meta {
    margin-top: -6px;
}




/* ============================================   7.0 - Navigation  ============================================ */

/* Topbar */
.topbar .scolte,
.topbar .cumo,
.topbar .programma,
.topbar .discjame {
    display: none;
}
.topbar .diretta a {
    margin-right: 12px;
}
.topbar a {
    color: #fff;
}
.topbar a:hover {
    text-decoration: underline;
}
.topbar > ul > li {
    display: flex;
    list-style: none;
    font-size: 1.166666em;
}
@media(min-width: 420px) {
    .topbar .programma {
        display: inline;
        line-height: 0.9em;
        margin-top: 0.25em;
        margin-bottom: 0.25em;
        text-align: left;
    }
}
@media(min-width: 576px) {
    .topbar .cumo {
        display: inline;
        line-height: 0.9em;
        margin-top: 0.25em;
        text-align: left;
    }
}
@media(min-width: 992px) {
    .topbar .app-store span,
    .topbar .diretta span {
        display: inline;
        line-height: 0.9em;
        margin-top: 0.25em;
        text-align: left;
    }
    .topbar .diretta a {
        margin: 0 12px;
    }
    .topbar > ul > li {
        min-width: 400px;
    }
}
.topbar {
    background-color: #222;
    color: #fff;
    padding-top: 6px;
}
.topbar .programma a {
    margin: 6px;
}
.topbar a > svg {
    width: 30px;
    height: auto;
    fill: var(--rof-red);
}
.topbar a > svg:hover {
    width: 30px;
    height: auto;
    fill: #fff;
}
.topbar > ul, .topbar .app-store > a,
.main_nav {
    display: flex;
    justify-content: space-between;
}
.topbar .app-store {
    justify-content: flex-end;
}
.topbar .app-store > a > img {
    margin-left: 48px;
    position: relative;
    top: 2px;
}
.topbar .app-store > a {
    background-image: url('assets/img/belen-white.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 34px) 2px;
}
.topbar .programma a {
    color: #ccc;
    text-transform: uppercase;
}


/* Main Menu */
.main_nav {
    padding: 32px 0;
}
.main_menu {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column-reverse;
}
.logo img {
    width: 106px;
    height: auto;
    margin-right: 32px;
}
.main_menu, .main_nav .menu_container {
    flex-wrap: wrap;
}
.menu_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.main_nav ul.social_menu {
    display: none;
    list-style: none;
    font-size: 1.166666em;
    
    justify-content: center;
    margin: 0;
}
.main_menu_without_logo {
    font-family: var(--title-font);
    text-transform: uppercase;
    font-size: 1.3333333em;
    display: flex;
    justify-content: flex-start;
    align-content: center;
}
.main_menu_without_logo ul.menu > li {
    display: inline-block;
    margin-right: 28px;
}
@media(min-width: 768px) {
    .main_menu_without_logo ul.menu > li a:hover,
    .main_menu_without_logo .current-menu-item a {
        position: relative;
        color: initial;
    }
    .main_menu_without_logo ul.menu > li > a:hover::after,
    .main_menu_without_logo .current-menu-item a:after {
        content: url(assets/img/onde.svg);
        position: absolute;
        top: -22px;
        left: calc(50% - 16px);
    }
    .menu_container {
        justify-content: flex-start;
        width: calc(100% - 110px);
    }
    .main_menu {
        flex-direction: row;
        justify-content: space-between;
    }
    .main_nav ul.social_menu {
        display: flex;
        max-width: 90px;
        margin: 24px 0;
    }
    .main_menu_without_logo {
        max-width: 100%;
    }
    .main_menu_without_logo li {
        margin-right: 28px;
    }
}
@media(min-width: 992px) {
    .logo img {
        width: 120px;
        margin-right: 40px;
    }
    .menu_container {
        width: calc(100% - 110px);
    }
}


/* Main Menu Social */
ul.social_menu {
    justify-content: flex-end;
}
.main_nav ul.social_menu li {
    margin-left: 6px;
    text-transform: uppercase;
}
.main_nav ul.social_menu li a:hover {
    text-decoration: none;
}
.social_menu svg {
    position: relative;
    bottom: -4px;
}
.main_nav ul.social_menu li.fb svg,
.main_nav ul.social_menu li.ig svg {
    width: 23px;
    height: 23px;
}
.main_nav ul.social_menu li.sprk svg {
    width: 24px;
    height: 25.8px;
}
.main_nav ul.social_menu li.sprk svg {
    fill: var(--spreaker-yellow);
}
.main_nav ul.social_menu li svg:hover {
    fill: var(--rof-red);
}

/* Home Slider */
.slider_section > div,
.slider_section > div ~ div {
    position: relative;
    margin: auto;
}
.slider_section .rof_box a {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}
@media(min-width: 300px) {
    .slider_section > div,
    .slider_section > div ~ div {
        margin: initial;
    }
}
@media(min-width: 548px) {
    .slider_section .rof_box {
        max-width: 176px;
        display: block;
        float: left;
        z-index: 10;
    }
    .slider_section .rof_box a {
        display: block;
    }
    .slider_section .blocco_slider {
        max-width: calc(100% - 196px);
        margin-left: 285px;
        z-index: 1;
    }
}

.slider_section ~ section {
    clear: both;
}
.rof_box img.radio {
    position: relative;
    left: -22.5px;
    top: -15px;
    margin-right: -50px;
}
.slider_section .rof_box .player_button svg {
    position: relative;
    top: -10px;
    width: 46px;
    height: 46px;
    fill: var(--rof-red);
}
.rof_box .player_button svg:hover {
    fill:var(--dark-grey);
}
.rof_box span {
    display: inline-block;
    font-size: 1.55em;
    line-height: 0.9em;
    min-width: 180px;
}
.rof_box span.scolte {
    color: #888;
}
.rof_box span.program {
    color: #000;
}





/* ------------------------ https://codepen.io/shangle/pen/rmxgh ------------------------ */
nav > ul,
nav.footer_menu_container ul {
    margin: auto;
    display: block;
    text-align: center;
    list-style: none;
}

nav > ul > li,
nav.footer_menu_container ul > li {
    margin: 0;
    font-family: 'Roadgeek 2005 eng', sans-serif;
    display: inline-block;
    letter-spacing: 0.01em;
}
nav ul li a {
    text-decoration: none;
    position: relative;
}

/* MENU PRINCIPALE */

/* Sottomenu */
.main_menu ul li ul.sub-menu {
    display: none;
}
.main_menu ul li:active ul.sub-menu,
.main_menu ul li:active ul.sub-menu li,
.main_menu ul li:hover ul.sub-menu,
.main_menu ul li:hover ul.sub-menu li {
    display: block;
}
.main_menu ul li ul {
    position: absolute;
    margin: 0;
    padding: 12px 0 0 0;
    z-index: 9999;
}
.main_menu > ul > li:active > ul.sub-menu,
.main_menu > ul > li:hover > ul.sub-menu {
    margin-top: 21px;
    background-color: #ffce00;
    padding: 36px;
}
.main_menu ul li:active ul.sub-menu > li,
.main_menu ul li:hover ul.sub-menu > li {
    text-align: left;
    padding: 13px 26px 0;
    background-color: var(--rof-red);
}
.main_menu ul li:active ul.sub-menu > li > a,
.main_menu ul li:hover ul.sub-menu > li > a {
    color: #fff;
}
.main_menu ul li:active ul.sub-menu > li:last-child,
.main_menu ul li:hover ul.sub-menu > li:last-child {
    padding-bottom: 12px;
}
.main_menu ul li:active ul.sub-menu > li > a:hover,
.main_menu ul li:hover ul.sub-menu > li > a:hover {
    text-decoration: underline;
}
.main_menu ul li:active ul.sub-menu,
nav ul li:active ul.sub-menu li,
.main_menu ul li:hover ul.sub-menu,
nav ul li:hover ul.sub-menu li {
    display: block;
}
/* Burger responsive */
.burger {
    width: 28px;
    font-family: 'Roadgeek 2005 eng', sans-serif;
    text-transform: uppercase;
    font-size: 1.8em;
    margin: 0;
}
a.burger {
    display: flex;
    align-items: center;
    text-align: center;
    padding-bottom: 6px;
}
ul.burger {
    display: inline-block;
    margin-right: 0px;
}
.burger li {
    width: 28px;
    height: 6px;
    border-radius: 0;
    margin: 4px 0 0 0;
    float: left;
    display: inline-block;
    background-color: #222;
}
.burger:hover li,
.burger:active li {
    background-color: var(--rof-green);
}
.burger.open li {
    background-color: #d9dde1;
}
.burger > .burger, .burger > span {
    display: inline-block;
}
.burger > span {
    color: #999;
}
.main_menu_wp_div {
    display: none;
    text-decoration: none;
}
@media (min-width: 768px) {
    .main_menu_wp_div {
        display: block;
    }
    a.burger {
        display: none;
    }
}
@media (max-width: 767px) {
    .main_menu_without_logo .current-menu-item a {
        text-decoration: underline;
    }
    .main_nav {
        padding: 12px 0;
    }
    .menu_container {
        flex-direction: column;
    }
    .logo {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .logo img {
        margin: auto;
        width: 90px;
    }
    .menu_responsive_show {
        display: block;
    }
    .menu_responsive_show > ul {
        width: 100%;
        margin: 0.5em 0;
    }
    .menu_responsive_show ul li {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .menu_responsive_show > ul > li {
        padding: 8px;
        border-bottom: 1px solid #eee;
    }
    .menu_responsive_show > ul > li:hover {
        background-color: #eee;
    }
    .menu_responsive_show > ul > li a,
    .menu_responsive_show > ul > li a:hover {
        border: none;
    }
    /* Sottomenu */
    .menu_responsive_show > ul > li > ul.sub-menu {
        display: none;
        padding: 0;
        margin-top: 8px;
    }
    .menu_responsive_show > ul > li:active > ul.sub-menu,
    .menu_responsive_show > ul > li:hover > ul.sub-menu {
        display: block;
    }
    .menu_responsive_show > ul > li > ul {
        position: relative;
        margin: 0;
    }
    .menu_responsive_show > ul > li:active > ul.sub-menu,
    .menu_responsive_show > ul > li:hover > ul.sub-menu {
        position: relative;
        background-color: transparent;
    }
    .menu_responsive_show > ul > li > ul.sub-menu,
    .menu_responsive_show > ul > li:active > ul.sub-menu,
    .menu_responsive_show > ul > li:hover > ul.sub-menu {
        padding: 0;
        margin-top: 16px;
    }
    .menu_responsive_show > ul > li > ul.sub-menu > li,
    .menu_responsive_show > ul > li:active > ul.sub-menu > li,
    .menu_responsive_show > ul > li:hover > ul.sub-menu > li {
        padding: 8px 16px;
        margin-top: 0;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Paginazione archivi e search page */
.archive .nav-links, .search .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px auto;
}
.archive .nav-links .page-numbers,
.search .nav-links .page-numbers {
    padding: 11px 17px;
    margin: 16px 1px 0;
    color: #fff;
    font-size: 1.3333333em; /* 24px */
    font-family: 'Roadgeek 2005 eng', sans-serif;
    text-transform: uppercase;
    background-color: var(--rof-red);
    text-align: center;
    line-height: 1em;
}
@media(min-width:767px) {
    .archive .nav-links .current,
    .archive .nav-links .page-numbers,
    .search .nav-links .current,
    .search .nav-links .page-numbers {
        display: inline;
    }
}
.archive .nav-links .page-numbers.prev,
.search .nav-links .page-numbers.prev,
.archive .nav-links .page-numbers.next,
.search .nav-links .page-numbers.next {
    color: transparent;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 38%;
    padding: 11px;
}
.archive .nav-links .page-numbers.prev,
.search .nav-links .page-numbers.prev {
    background-image: url(assets/img/slider_before.svg);
    margin-right: 32px;
}
.archive .nav-links .page-numbers.next,
.search .nav-links .page-numbers.next {
    background-image: url(assets/img/slider_after.svg);
    margin-left: 32px;
}
.archive .nav-links .current,
.search .nav-links .current {
    position: relative;
}
.archive .nav-links .current::after,
.search .nav-links .current::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background-color: var(--rof-red);
    position: absolute;
    left: 0;
    bottom: -14px;
}
.archive .nav-links a.page-numbers:hover,
.search .nav-links a.page-numbers:hover {
    background-color: var(--rof-green);
}
.archive .nav-links > a:hover,
.search .nav-links > a:hover {
    color: #000;
}
.archive .nav-links .dots,
.search .nav-links .dots {
    font-size: 2em;
    background-color: transparent;
    border-color: transparent;
    color: var(--rof-red);
    padding-left: 0;
    padding-right: 0;
    line-height: 0;
    margin: auto 12px;
}

/* ============================================   8.0 - Layout  ============================================ */

/* Page Template Default */
.page-template-default .content {
    max-width: 620px;
    margin: 0 30px 96px 15px;
}
@media(min-width: 576px) {
    .page-template-default .content {
        margin: 0 auto 96px;    
    }    
}
@media(min-width: 1200px) {
    .page-template-default .content {
        max-width: 650px;
    }    
}
@media(min-width: 1460px) {
    .page-template-default .content {
        max-width: 780px;
    }    
}
.page-template-default .content p {
    line-height: 1.5em;
}
.page-template-default .content h2 {
    color: var(--rof-red);
    text-transform: none;
}

/* Front Page */
.payoff {
    text-align: center;
}
.payoff .title_h1 {
    position: relative;
    display: inline-block;
    line-height: 0.8em;
    margin-bottom: 128px;
}
.payoff .title_h1::after {
    content: url(assets/img/player_payoff_dx.svg);
    left: calc(50% + 8px);
}
.payoff .title_h1::before, .payoff .title_h1::after {
    display: block;
    position: absolute;
    bottom: -0.58em;
}
.payoff .title_h1::before {
    content: url(assets/img/player_payoff_sx.svg);
    right: calc(50% + 8px);
}
@media(min-width: 1200px) {
    .payoff .title_h1 {
        margin-bottom: 0.85em;
    }
    .payoff .title_h1:before,
    .payoff .title_h1:after {
        bottom: 0.16em;
    }
    .payoff .title_h1:before {
        left: -150px;
        right: initial;
    }
    .payoff .title_h1:after {
        right: -150px;
        left: initial;
    }
}
@media(max-width: 576px) {
    .diretta_slider.rof_box {
        left: -4px;
    }
}
@media(max-width: 1200px) {
    .slider_section {
        max-width: 94.4%;
    }
}
.fascia_home .box_home {
    text-align: center;
    margin: auto;
}
.fascia_home > div {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    padding: 64px;
    box-sizing: border-box;
}
.fascia_home .box_home h2 {
    margin: 0;
}
.cosa_facciamo,
.chi_siamo {
    justify-content: flex-end;
}
.donazioni,
.team {
    justify-content: flex-start;
}
.cosa_facciamo {
    background-color: var(--rof-green);
    background-image: url(assets/img/pattern-green.png);
}
.cosa_facciamo h2 {
    color: var(--rof-red);
}
.cosa_facciamo h2 small {
    color: #000;
}
.donazioni,
.chi_siamo {
    background-color: var(--dark-grey);
    background-image: url(assets/img/pattern-dark-grey.png);
    color: #fff;
}
.donazioni h2,
.chi_siamo h2 {
    color: var(--rof-green);
}
.donazioni h2 small,
.chi_siamo h2 small {
    color: #fff;
}
.team {
    background-color: var(--light-light-grey);
    background-image: url(assets/img/pattern-light-grey.png);
}
.team h2 small {
    color: var(--rof-red);
}
@media(min-width: 880px) {
    .fascia_home {
        display: flex;
        justify-content: center;
    }
    .fascia_home > div {
        min-width: 50vw;
        display: flex;
        padding: 0;
        margin: 0;
    }
    .fascia_home .box_home {
        text-align: left;
    }
    .fascia_home .box_home {
        margin: 64px 82px 64px 0;
    }
    .donazioni .box_home,
    .team .box_home {
        margin: 64px 0 82px 64px;
    }
}
@media(min-width: 1200px) {
    .fascia_home .box_home {
        margin: 64px 84px 64px 0;
    }
    .donazioni .box_home,
    .team .box_home {
        margin: 64px 0 64px 84px;
    }
}
@media(min-width: 1400px) {
    .fascia_home .box_home {
        margin: 64px 102px 64px 0;
    }
    .donazioni .box_home,
    .team .box_home {
        margin: 64px 0 64px 102px;
    }
}

/* Sezione Programmi in evidenza */
.programmi_in_evidenza {
    text-align: center;
}
div.programmi_in_evidenza {
    display: block;
}
.programmi_in_evidenza h2 {
    color: var(--rof-red);
    max-width: 350px;
    margin: auto;
    text-transform: none;
}
.programmi_in_evidenza footer a.button + a.button {
    margin-top: 12px;
}
@media(min-width: 768px) {
    .programmi_in_evidenza footer a.button + a.button {
        margin-top: 0;
        margin-left: 12px;
    }
}
.programmi_in_evidenza div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Puntata */
.single_main > article {
    margin-bottom: 96px;
}
.nav_argomenti {
    margin-bottom: 30px;
    margin-top: 12px;
}
a.category {
    background-color: var(--rof-green);
    font-family: var(--title-font);
    padding: 0 10px;
    text-transform: uppercase;
    display: inline-block;
    font-size: 1.1em;
}
a.category:hover {
    background-color: var(--rof-red);
    color: #fff;
}


/* Palinsesto */
.palinsesto_main h1 {
    margin: 1.2em 0 1em;
}
/* Qui è stilato solo il player in alto */
/* I tab del Palinsesto sono in un file a parte */

.player_palinsesto.rof_box,
.player_palinsesto .cumo,
.player_palinsesto .prossim {
    display: flex;
}
.player_palinsesto.rof_box {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}
@media(max-width: 576px) {
    .player_palinsesto.rof_box {
        max-width: 94%;
        margin: auto;
        box-sizing: border-box;
        left: -4px;
    }
}
.player_palinsesto .cumo {
    flex-direction: column;
}
.player_palinsesto .prossim {
    flex-direction: column;
}
.player_palinsesto a.player_button svg {
    fill: var(--dark-grey);
}
.player_palinsesto a.player_button svg:hover {
    fill: var(--rof-red);
}
.player_palinsesto a.player_button {
    margin: 16px 0 12px;
}
@media(min-width: 768px) {
    .player_palinsesto.rof_box {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    .player_palinsesto .cumo,
    .player_palinsesto .prossim {
        width: 250px;
    }
    .player_palinsesto .cumo {
        justify-content: flex-start;
        text-align: left;
    }
    .player_palinsesto .prossim {
        justify-content: flex-end;
        text-align: right;
    }
}
@media(min-width: 992px) {
    .player_palinsesto .cumo,
    .player_palinsesto .prossim {
        width: 280px;
    }
}
@media(min-width: 1200px) {
    .player_palinsesto .cumo,
    .player_palinsesto .prossim {
        width: 320px;
    }
}
@media(min-width: 1400px) {
    .player_palinsesto .cumo,
    .player_palinsesto .prossim {
        width: 350px;
    }
}

/* Par da une man */
.page-template-une-man .intro {
    max-width: 670px;
    margin: 1.6em auto 2.1em;
    text-align: center;
}
.lista_metodi_donazione {
    list-style: none;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}
.lista_metodi_donazione li {
    max-width: 520px;
    box-sizing: border-box;
    margin-bottom: 64px;
    font-family: var(--normal-font);
}
.lista_metodi_donazione li:last-of-type {
    margin-bottom: 96px;
}
.lista_metodi_donazione li p {
    font-size: 1em;
    text-align: left;
}
.lista_metodi_donazione em {
    display: inline;
    font-style: normal;
    background-color: var(--rof-green);
}
@media(min-width: 576px) {
    .lista_metodi_donazione em {
        display: ruby; /* Non sono sicura sia supportatao sempre */
    }
}
@media(min-width: 992px) {
    .lista_metodi_donazione {
        justify-content: space-between;
    }    
    .lista_metodi_donazione li:last-of-type {
        max-width: 100%;
    }
    .lista_metodi_donazione li {
        max-width: 370px;
    }
    .rof_box.metodo_donazione:nth-child(3) {
        margin-top: -24px;
    }
    .lista_metodi_donazione li:last-of-type {
        margin-top: 32px;
    }
}



/* Grup */
.persona {
    list-style: none;
}
.persona h2 {
    color: var(--rof-red);
    margin: 0 0 0.3333333em;
}
.persona img {
    max-width: 92%;
    box-sizing: border-box;
    padding: 0 10px;
    border: 9px solid var(--light-light-grey);
    box-shadow: 9px 9px 0 var(--rof-green);
}
@media(min-width: 576px) {
    .persona img {
        padding: 0;
        max-width: 100%;
        border: 9px solid var(--light-light-grey);
        box-shadow: 9px 9px 0 var(--rof-green);
    }
}
.persona.with_contact {
    padding: 64px 0;
}
.lista_team_semplice {
    display: flex;
    flex-wrap: wrap;
}
.persona_semplice {
    padding: 32px 0 0;
    box-sizing: border-box;
    float: left;
}
.persona_semplice.first {
    margin-top: 32px;
}
.persona.persona_semplice:last-of-type {
    margin-bottom: 64px;
}
.persona.with_contact > div {
    display: flex;
    flex-direction: column;
}
.persona.with_contact .spiegazione p {
    margin: 2em 0;
}

@media(min-width: 992px) {
    .persona img {
        max-width: 502px;
    }
    .persona.with_contact .spiegazione p {
        margin-top: 0;
    }
    .persona.with_contact:nth-of-type(2n+1) > div {
        flex-direction: row;
    }
    .persona.with_contact:nth-of-type(2n) > div {
        flex-direction: row-reverse;
    }
    .persona.with_contact:nth-of-type(2n+1) .spiegazione {
        padding-left: 72px;
    }
    .persona.with_contact:nth-of-type(2n) .spiegazione {
        padding-right: 72px;
    }
    .persona_semplice {
        max-width: 50%;
        padding: 64px 0 0 0;
    }
    .persona_semplice.first {
        margin-top: 0;
    }
    .persona_semplice img,
    .persona_semplice .foto,
    .persona_semplice .spiegazione {
        width: 100%;
        max-width: calc(100% - 32px);
    }
    .persona_semplice:nth-of-type(2n+1) {
        padding-right: 88px;
    }
    .persona_semplice:nth-of-type(2n) {
        padding-left: 88px;
    }
    .persona_semplice:nth-of-type(2n+1) {
        padding-right: 24px;
    }
    .persona_semplice:nth-of-type(2n) {
        padding-left: 24px;
    }
}

.spiegazione p {
    font-size: 1em;
    line-height: 1.5em;
}
.persona.with_contact:nth-of-type(2n+1) {
    background-color: var(--rof-green);
    background-image: url(assets/img/pattern-green.png);
}
.persona.with_contact:nth-of-type(2n+1) img {
    background-color: var(--rof-green);
    box-shadow: 9px 9px 0 #222;
}
.persona.with_contact:nth-of-type(2n) {
    background-color: #f5f8f6;
    background-image: url(assets/img/pattern-white.svg);
}
.persona .contatti {
    background-color: #eee;
    display: inline-flex;
    flex-direction: column;
    padding: 12px 18px 12px 64px;
    background-position: 12px center;
    background-repeat: no-repeat;
}
.persona.with_contact:nth-of-type(2n+1) .contatti {
    background-image: url(assets/img/scrivi.svg);
}
.persona.with_contact:nth-of-type(2n) .contatti {
    background-image: url(assets/img/scrivi-grey.svg);
}
.persona .contatti .as_title,
.persona .contatti .email {
    line-height: 1em;
}
.persona .contatti a {
    font-size: 0.83333333em;
}
.persona_semplice .foto {
    margin-bottom: 1.66666666em;
}

/* Servizi */
.page-template-servizi .intro {
    background-image: url(assets/img/belen-white.svg), url(assets/img/pattern-green-light.png);
    background-position: 82% calc(100% + 3px);
    background-size: 8.6em, auto;
    background-repeat: no-repeat, repeat;
    margin-top: 64px;
    margin-bottom: -72px;
    margin: 0 calc(-50vw + 50% - 0.5em);
}
.page-template-servizi p {
    letter-spacing: -0.02em;
}
@media(min-width: 900px) {
    .page-template-servizi .intro {
        background-position: calc(50% + 377px) calc(100% + 3px);
    }    
}
.lista_servizi {
    list-style: none;
    padding: 0 10px;
}
.servizio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 158px 0;
    position: relative;
    flex-direction: column;
}
@media(min-width: 768px) {
    .servizio:nth-child(2n+1) {
        flex-direction: row;
    }
    .servizio:nth-child(2n) {
        flex-direction: row-reverse;
    }
}
.servizio::after {
    content: '';
    display: block;
    width: 100%;
    height: 32px;
    position: absolute;
    bottom: -86px;
    background-position: center;
    background-image: url(assets/img/filetto2-green.svg);
    background-repeat: no-repeat;
}
.servizio:last-of-type {
    margin-bottom: 72px;
}
.servizio:last-of-type::after {
    content: initial;
}
.servizio:nth-child(2n) h2,
.servizio:nth-child(2n) p {
    text-align: right;
}
.servizio h2 {
    color: var(--rof-red);
    text-transform: none;
    font-size: 2.66666666em;
    line-height: 1em;
    margin-bottom: -0.2em;
}
.servizio img {
    max-width: 100vw;
}
.servizio .main_servizio {
    width: 100%;
    max-width: 760px;
}
@media(min-width: 1400px) {
    .lista_servizi {
        padding: 0 64px;
    }
}

/* Archivio puntate del programma */
.archivio_programma header {
    margin-bottom: 90px;
}
.archivio_programma hr {
    background-image: url(assets/img/filetto1-red.svg);
}
.lista_puntate {
    margin: 90px auto;
}
.intro_programma {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.box_dati,
.dati_programma footer {
    width: 100%;
    box-sizing: border-box;
    background-color: #f5f8f6;
    background-image: url(assets/img/pattern-grey.svg);
    margin-bottom: 16px;
    padding: 18px 36px;
}
.box_dati {
    background-color: var(--rof-green);
    background-image: url(assets/img/pattern-green-light.png);
    padding: 40px 36px;
}
.player_programma {
    width: 100%;
}
@media(min-width: 768px) {
    .box_dati {
        padding: 36px 32px;
    }
    .dati_programma footer {
        padding: 18px 32px;
    }
    .dati_programma,
    .box_dati,
    .dati_programma footer {
        max-width: 280px;
    }
    .player_programma {
        width: calc(100% - 300px);
    }
}
@media(min-width: 992px) {
    .dati_programma,
    .box_dati,
    .dati_programma footer {
        max-width: 320px;
    }
    .player_programma {
        width: calc(100% - 350px);
    }
}
@media(min-width: 1200px) {
    .dati_programma,
    .box_dati,
    .dati_programma footer {
        max-width: 430px;
    }    
    .player_programma {
        width: calc(100% - 480px);
    }
}
.dati_programma h2 {
    font-size: 1.5555555555em;
    line-height: 0;
    margin: 12px 0 0;
}
.dati_programma p {
    font-size: 1.16666666em;
    margin-bottom: 0;
}
.dati_programma footer h3 {
    font-size: 1.16666666em;
    line-height: 0;
    margin: 0;
    display: inline-block;
}
.nav_puntate ul {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 820px;
}
.puntata_listed_main {
    padding: 21px;
}
.nav_puntate ul li {
    margin-bottom: 10px;
    text-align: left;
}
.nav_puntate ul li h2,
.nav_puntate ul li h3 {
    margin: 0;
    font-weight: normal;
}
.nav_puntate ul li h2 {
    font-size: 1.7027777em;
}
.nav_puntate ul li h3 {
    font-size: 1.1666666em;
    color: #777;
    display: inline-block;
    font-weight: normal;
}
.nav_puntate ul li a {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 100%;
}
.nav_puntate ul li:nth-child(2n+1) {
    background-color: var(--light-grey);
}
.nav_puntate ul li:nth-child(2n) {
    background-color: var(--rof-green);
}
.nav_puntate ul li:nth-child(2n+1) .published span {
    color: #777;
}
.nav_puntate ul li:nth-child(2n) .published span {
    color: #555;
}
.nav_puntate ul li:hover {
    background-color: var(--rof-red);
}
.nav_puntate ul li:hover a,
.nav_puntate ul li:hover a h3,
.nav_puntate ul li:hover a .published span{
    color: #fff;
}
.nav_puntate ul li svg {
    width: 52px;
    height: 52px;
    margin: 10px;
    fill: rgba(255, 255, 255, 0);
}
.nav_puntate ul li:hover svg {
    fill: #fff;
}
.nav_puntate ul li {
    display: flex;
    justify-content: center;
    padding: 0;
}
.published span {
    font-family: var(--normal-font);
}
.utilities {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    font-size: 1.5261111em;
    letter-spacing: -0.03em;
}
.puntata_listed .utilities span {
    margin-top: 3px;
    background-color: #fff;
    color: #000;
    padding: 2px 14px;
    position: absolute;
    bottom: 0;
    right: 0;
}
.puntata_listed:hover .utilities span {
    background-color: transparent;
    color: #fff;
}


/* Archivio Programmi */

/* Nel caso sia necessario fare degli hack sull'ultima riga dell'archivio
consultare questo tut https://stackoverflow.com/questions/18744164/flex-box-align-last-row-to-grid */
.nav.nav_programmi ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.lista_programmi li {
    width: 253px;
    margin-bottom: 90px;
}
@media(min-width: 576px) {
    .nav.nav_programmi ul {
        justify-content: space-evenly;
    }
}
@media(min-width: 768px) {
    .lista_programmi li {
        width: 260px;
        margin-bottom: 60px;
    }
    .archivio_programma li article,
    .archivio_programma .rof_program_box {
        margin: 0 8px;
        min-width: 260px;
    }
}
@media(min-width: 992px) {
    .archivio_programma li article,
    .archivio_programma .rof_program_box {
        margin: 0;
        min-width: 253px;
    }
    .lista_programmi li {
        width: 253px;
        margin-bottom: 90px;
    }
}
@media(min-width: 1200px) {
    .nav.nav_programmi ul {
        justify-content: space-between;
    }
}
@media(min-width: 1400px) {
    .archivio_programma li article,
    .archivio_programma .rof_program_box {
        margin: 0;
        min-width: 248px;
    }
    .lista_programmi li {
        width: 248px;
        margin-bottom: 60px;
    }
}
.lista_programmi .titolo_programma {
    border-width: 5px 10px 0;
}
.archive.tax-argomento .titolo_programma {
    border-bottom-width: 10px;
}
.nav_programmi ul.argomenti {
    justify-content: center;
    border-width: 0 10px 10px;
    border-style: solid;
    border-color: transparent;
    background-color: transparent;
    width: 100%;
}
.nav_programmi .argomenti .label {
    font-size: 0.8888888em;
    width: auto;
    padding: 2px 6px;
    line-height: 1em;
    margin: 2px;
    background-color: #fff;
    color: var(--rof-red);
}
.program_description {
    font-family: var(--normal-font);
    text-align: left;
    margin: 16px 0;
}

/* Contatti */
.main_contact,
.contacts {
    margin: 60px auto;
}
.main_contact .rof_box {
    max-width: 360px;
    padding: 50px;
    margin: 0 auto;
}
.main_contact .rof_box h2,
.contacts h2 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 0.66666666em;
}
.contacts h2 {
    margin: 0.75em 0;
    text-align: center;
}
@media(min-width: 992px) {
    .contacts h2 {
        text-align: left;
    }
    .contacts.emails > ul {
        max-height: 200px;
        flex-direction: column;
    }
}
.main_contact .rof_box span {
    display: block;
}
.main_contact .rof_box header {
    margin-bottom: 0.5em;
}
.main_contact .rof_box header span {
    font-size: 1.3333333em;
    line-height: 1em;
    color: var(--rof-red);
}
.main_contact .rof_box .contatti span {
    font-family: var(--normal-font);
    font-size: 1em;
    line-height: 1.2em;
}
.contacts > ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.contacts > ul > li {
    margin-bottom: 48px;
    text-align: center;
}
@media(min-width: 992px) {
    .contacts > ul > li {
        text-align: left;
    }
}
.contacts h3 {
    font-family: var(--normal-font);
    color: var(--rof-red);
    font-size: 1em;
    line-height: 1em;
    font-weight: normal;
    margin: 0;
}

/* Trasparence e simili */
/* pagine con titoli neri come pagina Contatti e costruite con blocchi di Gutenberg */
.page-template-default .wp-block-heading.as_contact { /* titoli */
    color: #000;
    text-transform: uppercase;
    font-size: 2em;
}
.page-template-default .wp-block-heading.as_contact em {
    text-transform: none;
    color: var(--rof-red);
    font-size: 0.75em;
    font-style: normal;
    font-family: var(--normal-font);
}
.wp-block-file:not(.wp-element-button) { /* bottoni di dwonload file */
    font-size: 1.1em;
    line-height: 2em;
}
.wp-block-file * + .wp-block-file__button {
    margin-left: 1em;
    background-color: var(--rof-green);
    color: #000;
    border-radius: 0em;
    padding: 5px 36px;
    font-family: var(--title-font);
    text-transform: uppercase;
    font-size: 1.212121212em; /* 24px */
    line-height: 1em;
}
.wp-block-file__button:hover {
    background: var(--rof-red);
    color: #fff;
}
.wp-block-file * + .wp-block-file__button em {
    font-style: normal;
}
.wp-block-separator { /* hr con blocco di Gutenberg */
    border: none;
    margin: 64px 0;
}


/* Footer */
footer.footer {
    text-align: center;
    margin: 0 auto;
    padding: 64px 0;
    background-color: #222;
    color: #fff;
}
footer.footer h2 {
    font-size: 2em;
    text-transform: uppercase;
}
footer.footer h2.owner {
    margin-bottom: 0.25em;
}
footer.footer .credits_section {
    margin-top: 64px;
}
footer.footer h2.credits {
    font-size: 1.333333em;
}
footer.footer .credits h2 ~ p {
    margin-top: -2px;
}
footer.footer h2,
footer.footer p {
    margin: 0;
}
footer.footer p {
    font-size: 1em;
}
footer.footer a {
    color: #fff;
}
.footer a:hover {
    color: var(--rof-green);
}

/* Sidebars */
#sidebar > ul {
    margin: 0;
}
#sidebar .widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#sidebar > ul,
.widget,
.widget > ul,
ul.social_links,
.legal_nav ul {
    list-style: none;
    padding: 0;
}
.social_links .widget_block > ul,
.legal .menu,
.financing .widget {
    display: flex;
    justify-content: center;
}
.download_app {
    background-color: #f9f9f9;
    padding: 32px 0;
}
.download_app span {
    font-family: var(--title-font);
    font-size: 1.3333333em;
    margin: 0 64px 0 0;
    position: relative;
}
.download_app span::after {
    content: url(assets/img/belen.svg);
    position: absolute;
    right: -48px;
    top: -12px;
    height: 60px;
    width: auto;
    display: block;
}
.download_app a.button {
    margin: 0 0 0 24px;
}
.download_app a.button:hover {
    background-color: var(--rof-red);
}
.social_links.widget {
    background-color: var(--light-grey);
    padding: 24px 0;
}
.social_links .widget_block > ul > li {
    display: inline-flex;
    margin: 0 6px;
}
.social_links .widget_block > ul > li svg:hover {
    fill: var(--rof-red);
}
.legal {
    background-color: var(--rof-green);
    padding: 36px 0;
}
.legal .menu {
    flex-direction: column;
}
.legal {
    font-size: 1.3333333em;
    text-transform: uppercase;
}
.legal .menu li a:hover {
    color: #000;
    text-decoration: underline;
}
.financing .widget_block {
    text-align: center;
    padding: 56px 0 54px;
}
.financing p {
    font-size: 1em;
}
.financing .financing_logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.financing .financing_logos img {
    padding-bottom: 26px;
    max-width: 340px;
    margin: 0 14px;
}
.financing_logos img.regione {
    max-width: 325px;
}
.financing_logos img.arlef {
    max-width: 210px;
    padding-bottom: 22px;
}


/* 404 */
.no_result .alert {
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 1.6666666em;
    line-height: 1em;
    color: var(--dark-grey);
    font-style: italic;
    padding: 0 0 48px;
    margin: 0 auto;
}


/* ============================================   9.0 - Widgets  ============================================ */
/* Iubenda */
.iubenda-banner-content > p {
    font-family: 'Roadgeek 2005 eng', sans-serif;
    line-height: 1.5;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 200;
}
.iubenda-banner-content > p ~ p {
    font-family: 'Jost', serif;
    font-size: 1em;
    text-transform: none;
    letter-spacing: 0em;
}
@media (max-width: 500px) {
    div#iubenda-cs-banner {
        bottom: 64px !important;
    }
    div.iubenda-cs-content {
        padding: 32px;
    }
}


