* {
    box-sizing: border-box;
    transition: 0.3s all ease-out;
}

*:focus {
    outline: none;
}

html,
body {
    scroll-behavior: smooth;
}

/* 
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
*/

body {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    color: #0F0F0F;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    overflow-x: hidden;
}

div {
    width: 100%;
}


.box_influenza {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    background-color: transparent;
}

.numeri_e_grafico_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.titolo {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    text-align: left;
    padding-bottom: 10px;
}

.incidenza_e_casi_cln {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.casi_cnt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #04C9AC;
    background-color: #F5FAF9;
    padding: 10px;
}

.num {
    color: #04C9AC;
    text-align: center;
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    position: relative;
}

.num::after {
    position: absolute;
    top: 0px;
}

.triangolo_verde::after {
    content: url(img/triangolo-verde.svg);
}

.triangolo_rosso::after {
    content: url(img/triangolo-rosso.svg);
}

.num_legenda {
    color: #0F0F0F;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.incidenza_cnt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #545454;
    background-color: #F5FAF9;
    padding: 10px;
}

.incidenza_num {
    color: #717171;
}

.flourish_chart_cln {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.flourish_cnt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
}

.fonte_e_link_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.fonte_cnt {
    color: #0F0F0F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
}

.link_cnt {
    color: #0F0F0F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: right;
    padding-right: 45px;
    position: relative;
}

.link_cnt span::after {
    position: absolute;
    top: -3px;
    right: 12px;
    content: url(img/freccina-grigia.svg);
}

.link_cnt a:link {
    text-decoration: none;
    color: #0F0F0F;
}

.link_cnt a:visited {
    text-decoration: none;
    color: #0F0F0F;
}

.link_cnt a:hover {
    text-decoration: none;
    color: #0F0F0F;
}

.link_cnt a:hover span::after {
    content: url('img/freccina-verde.svg');
}

.link_cnt a:active {
    text-decoration: none;
    color: #0F0F0F;
}


/* RESPONSIVE TABLET */

@media only screen and (max-width: 820px) {

    .box_influenza {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .numeri_e_grafico_row {
        flex-direction: column;
        padding: 10px 0;
    }

    .casi_incidenza_mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .casi_cnt {
        height: 120px;
    }

    .num::after {
        right: 84px;
    }

    .separatore {
        width: 10px;
    }

    .incidenza_cnt {
        height: 120px;
    }


    .flourish_chart_cln {
        padding-top: 20px;
    }

    .flourish_cnt {
        padding: 0;
    }


    /*     iframe {
        height: 370px;
    } */

    .desktop {
        display: none;
    }
}

/* RESPONSIVE MOBILE */

@media only screen and (max-width: 480px) {

    .num {
        font-size: 32px;
    }

    .num::after {
        right: 4px;
    }

    .triangolo_verde::after {
        content: url(img/triangolo-verde-mobile.svg);
    }

    .triangolo_rosso::after {
        content: url(img/triangolo-rosso-mobile.svg);
    }

    .num_legenda {
        font-size: 13px;
    }

    .fonte_e_link_row {
        padding-left: 10px;
    }

    .fonte_cnt {
        font-size: 13px;
    }

    .link_cnt {
        font-size: 13px;
        padding-right: 37px;
    }

    .link_cnt span::after {
        position: absolute;
        top: 0;
        right: 12px;
        content: url(img/freccina-grigia-mobile.svg);
    }

    .link_cnt a:hover span::after {
        content: url('img/freccina-verde-mobile.svg');
    }

}

@media only screen and (min-width: 821px) {
    .box_influenza {
        height: 400px;
        padding-left: 15px;
        padding-right: 10px;
        max-width: 1020px;
    }

    .numeri_e_grafico_row {
        padding: 10px 0 0;
    }

    .incidenza_e_casi_cln {
        width: 290px;
    }

    .casi_cnt {
        margin-bottom: 10px;
        height: 115px;
    }

    .incidenza_cnt {
        height: 115px;
    }

    .num::after {
        right: 6px;
    }

    .titolo {
        padding-left: 20px;
    }

    .flourish_cnt {
        padding: 0 0 0 20px;
    }

    /*     iframe {
        height: 275px;
    } */

    .mobile {
        display: none;
    }
}

@media only screen and (min-width: 1541px) {
    .box_influenza {
        max-width: 1260px;
    }

    .incidenza_e_casi_cln {
        width: 360px;
    }

    .num::after {
        right: 30px;
    }

    .titolo {
        padding-left: 30px;
    }

    .flourish_cnt {
        padding: 0 0 0 30px;
    }
}