@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingRg-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingRg-Italic.ttf) format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: block;
}
@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingSb-Regular.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingSb-Italic.ttf) format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: block;
}
@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingRg-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'BuiltTitling';
    src:url(./../fonts/built_titling/BuiltTitlingRg-BoldItalic.ttf) format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: block;
}
@font-face{
    font-family:'Exo';
    src:url(./../fonts/exo/Exo-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'Exo';
    src:url(./../fonts/exo/Exo-SemiBold.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'Exo';
    src:url(./../fonts/exo/Exo-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face{
    font-family:'Exo';
    src:url(./../fonts/exo/Exo-ExtraBold.ttf) format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: block;
}
html {
    scroll-behavior: smooth;
}
body:is(.page-id-49497, .page-id-58993) #header-nav{
    background-color: #fff !important;
}
body:is(.page-id-49497, .page-id-58993) :is(#main,footer,#home-statistiche){
    background-color: #DC4336 !important;
}
body:is(.page-id-49497, .page-id-58993) #main .container{
    background:#fff !important;
}
:is(h2, h3, h4, h5, p){
    word-break: break-word;
}
.text-top-img{
    padding-left:15%;
    top:0;
}
.text-top-img h2{
    font-family: "BuiltTitling", Arial, sans-serif;
    font-weight: 600;
    font-size: 135px;
    line-height: 120px;
    background:#DC4336;
    color:#fff;
    width: fit-content;
}
.ctacta {
    font-family: "Exo", Arial, sans-serif;
    font-size: 1.5rem;
    border-radius: 50px;
    padding: .5rem 1rem;
    width: fit-content;
}
:is(.page-id-49497, .page-id-58993) :is(h3,p){
    font-family: "Exo", Arial, sans-serif;
    color:#565656;
}
:is(.page-id-49497, .page-id-58993) h3{
    font-weight: 700;
}
:is(.page-id-49497, .page-id-58993) h4{
    font-family: "Exo", Arial, sans-serif;
    color:#565656;
    font-size: 33px;
    font-weight: 600;
}
:is(.page-id-49497, .page-id-58993) h5{
    font-family: "Exo", Arial, sans-serif;
    color:#565656;
    font-size: 30px;
    font-weight: 700;
}
.btn-partecipa{
    font-family: "Exo", Arial, sans-serif;
    font-size:18px;
    background-color: #DC4336;
    padding:10px 35px;
    color:#fff;
    margin-top:40px;
    border:1px solid #DC4336;
    border-radius:5px;
    cursor: pointer;
}
.btn-partecipa:hover{
    background-color: #fff;
    color:#DC4336;
    text-decoration: none;
}
.link-infografiche {
    font-family: "Exo", Arial, sans-serif;
    font-weight: 700;
    color:#DC4336;
}
.img-layer{
    background:rgba(220, 67, 54, .4);
    top:0;
    padding-left:15%;
}
:is(.img-layer,.img-layer-bottom) h2{
    font-family: "BuiltTitling", Arial, sans-serif;
    font-weight: normal;
    font-style: italic;
    font-size: 120px;
    line-height: 120px;
    color:#fff;
}
#avventure {
    background:url("./../images/litalia-che-racconta-litalia/camera.jpg") no-repeat fixed center;
    background-size:cover;
    min-height:500px;
}
#modalita{
    /*
    background:url("./../images/litalia-che-racconta-litalia/smartphone.png") no-repeat bottom right;
    background-size:60%;
    */
    position:relative;
}
#modalita #desktop-mod{
    position: absolute!important;
    top: 40%;
    right: 0;
}
:is(#modalita, #premio) h3{
    font-size: 36px;
}
#premio,
#aree{
    background:#F7F7F7;
}
.img-layer-bottom {
    background:rgba(50, 50, 50, .6);
    position:absolute;
    top:0;
}
.img-layer-bottom h4{
    font-size: 40px;
    font-weight: normal;
}
.img-layer-bottom p{
    font-size: 1rem;
}
h3 a{
    color:#DC4336;
    text-decoration: underline;
}
h3 a:hover{
    color:#DC4336;
    text-decoration: none;
}
#form-contest{
    height:0;
    background:#EDEDED;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 300ms;
}
#form-contest.openform{
    height:max-content;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 300ms;
}
#regolamento{
    background:#F7F7F7;
}
#fine-form{
    background:#EDEDED;
}
/* VOTING */
div#totalpoll.totalpoll-wrapper a.btn-partecipa{
    font-family: "Exo", Arial, sans-serif !important;
    font-size:18px !important;
    background-color: #DC4336 !important;
    padding:10px 35px !important;
    color:#fff !important;
    border:1px solid #DC4336 !important;
    border-radius:5px !important;
    cursor: pointer !important;
}
div#totalpoll.totalpoll-wrapper a.btn-partecipa:hover{
    background-color: #fff !important;
    color:#DC4336 !important;
    text-decoration: none !important;
}
div#totalpoll.totalpoll-wrapper .totalpoll-message-error {
    background: #ffffff !important;
    color: #DC4336 !important;
    border-color: #DC4336 !important;
}
div#totalpoll.totalpoll-wrapper .totalpoll-message-error a {
    color: #DC4336 !important;
}
.totalpoll-modal {
    background: rgba(0,0,0,0.6) !important;
    overflow: scroll;
}
.totalpoll-modal-content{
    max-width: 1200px !important;
    width: 90% !important;
    max-height: 100% !important;
    display: table !important;
    margin: auto !important;
}
.totalpoll-modal-content .totalpoll-embed-type-image{
    position: relative !important;
    background:#fff;
    padding: 2em !important;
    margin: 100px auto !important;
}
.totalpoll-modal-close {
    top: 3em !important;
    right: 3em !important;
    width: 2em !important;
    height: 2em !important;
    padding: .4em !important;
    border: 1px solid #707070 !important;
    -webkit-border-radius: 7px !important;
    border-radius: 7px !important;
    fill: #000 !important;
    background: #fff !important;
}
.totalpoll-message-error{
    font-family: "Exo", Arial, sans-serif !important;
    font-size: 18px;
}
.totalpoll-modal-content .didascalia :is(.titolo, .chi-dove, .categoria, .descrizione){
    font-family: "Exo", Arial, sans-serif !important;
    font-size: 18px;
    color:#282828;
    margin-bottom: 0;
}
.totalpoll-modal-content .didascalia .titolo{
    font-weight: 500;
    float:left;
}
.totalpoll-modal-content .didascalia .chi-dove{
    font-weight: 400;
    float:left;
    margin-left: 10%;
}
.totalpoll-modal-content .didascalia .categoria{
    font-weight: 400;
    font-style: italic;
    float:right;
}
.totalpoll-modal-content .didascalia .descrizione{
    font-weight: 400;
    margin-top: 50px;
    text-align: start;
}
.totalpoll-question-choices-item-container{
    padding: 1em !important;
}
.totalpoll-question-choices-item-label{
    border:0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
}
.totalpoll-question-choices-item-label > span{
    max-width: 70% !important;
}
.totalpoll-question-choices-item-votes {
    align-items: start !important;
}
.totalpoll-question-choices-item-content img{
    object-fit: cover;
    height: 300px;
}
.totalpoll-question-choices-item {
    width:32% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    margin-top:10px !important;
    padding:0 !important;
    border: 1px solid #000 !important;
}
.totalpoll-question-choices-item-votes{
    margin-top: 0 !important;
}
.totalpoll-question-choices-item-label :is(.titolo, .categoria),
.totalpoll-question-choices-item-votes-text .accedi-registrati,
.counting{
    font-family: "Exo", Arial, sans-serif !important;
    font-size: 18px !important;
    color:#282828 !important;
    margin-bottom: 0 !important;
}
.totalpoll-question-choices-item-votes-text .accedi-registrati:hover{
    text-decoration: none !important;
}
.totalpoll-question-choices-item-votes-text .accedi-registrati .result-heart{
    height:50px;
    width:50px;
    margin-bottom:10px !important;
}
.totalpoll-question-choices-item-votes-text .accedi-registrati .result-heart .heart{
    height:100%;
    width:100%;
    display:block;
}
.totalpoll-question-choices-item-label .titolo{
    font-weight: 600;
}
.totalpoll-question-choices-item-label .categoria{
    font-style: italic;
}
.totalpoll-question-choices-item-label .chi-dove{
    font-family: "Exo", Arial, sans-serif !important;
    font-size: 14px !important;
    color:#434141 !important;
    margin-bottom: 0 !important;
}
.totalpoll-buttons-results{
    display:none !important;
}
/* to check */
.totalpoll-question-choices-item-control {
    background: #fff !important;
    border:0 !important;
    position:relative !important;
}
.totalpoll-question-choices-item-control,
.totalpoll-question-choices-item-control .totalpoll-question-choices-item-label{
    display: flex !important;
    height: 100% !important;
    align-items: center !important;
}
.heart{
    background:url('./../images/litalia-che-racconta-litalia/icons/iconmonstr-heart-thin.svg') no-repeat center;
}
.heart-fill{
    background:url('./../images/litalia-che-racconta-litalia/icons/iconmonstr-favorite-3.svg') no-repeat center;
}
.totalpoll-question-choices-item-selector-box:hover + .counting{
    color:#fff !important;
}
.totalpoll-question-choices-item-selector .counting{
    position: absolute !important;
    top:55px !important
}
.totalpoll-question-choices-item-selector.totalpoll-question-choices-item-selector-single{
    position: absolute !important;
    right: 0 !important;
    top:10px !important;
}
.totalpoll-question-choices-item-selector-box{
    border: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    width: unset !important;
    height: unset !important;
    font-size:70px !important;
}
.totalpoll-question-choices-item-selector input:checked + .totalpoll-question-choices-item-selector-box{
    box-shadow: unset !important;
}
.totalpoll-question-choices-item-selector-box i{
    width: .75em !important;
    height: .75em !important;
    color:#000000 !important;
    transform: scale(1) !important;
}
.totalpoll-question-choices-item-selector-box i:last-child{
    display:none !important;
}
.totalpoll-question-choices-item-selector :is(input:hover,input:checked) + .totalpoll-question-choices-item-selector-box i:first-child{
    display:none !important;
}
.totalpoll-question-choices-item-selector :is(input:hover,input:checked) + .totalpoll-question-choices-item-selector-box i:last-child{
    display:block !important;
}
.totalpoll-form-field-wrapper > label {
    display:none !important;
}
.totalpoll-question-choices-item-votes-bar{
    display:none !important;
}
#votingsuccess{
    background: rgba(0,0,0,.6)!important;
}
#votingsuccess .modal-dialog{
    max-width: 1300px;
}
.grazie{
    font-family: "BuiltTitling", Arial, sans-serif;
    font-weight: 600;
    font-size: 100px;
    line-height: 110px;
    background: #DC4336;
    width: fit-content;
    display: block;
    padding: 0 15px;
    word-break: break-word;
}
.copy{
    font-family: "BuiltTitling", Arial, sans-serif;
    font-weight: 600;
    font-size: 100px;
    line-height: 110px;
    color:#000;
    width: fit-content;
    display: block;
    word-break: break-word;
}
.logo-contest{
    top:0;
    margin-left:30%;
}
.logo-contest span{
    font-family: "BuiltTitling", Arial, sans-serif;
    font-weight: 600;
    font-size: 35px;
    line-height: 45px;
    background: #DC4336;
    width: fit-content;
    display: block;
    padding: 0 15px;
    margin-left:1%;
}
.istat-popo{
    bottom:0;
    position:absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* MEDIA QUERY */
@media screen and (max-width:1200px){
    .img-layer-bottom h2 {
        font-size: 100px;
        line-height: 100px;
    }
}
@media screen and (max-width:991px){
    .text-top-img,
    .img-layer {
        padding-left: 10%;
    }
    .text-top-img h2 {
        font-size: 100px;
        line-height: 95px;
    }
    #modalita {
        background:none;
    }
    .img-layer-bottom {
        padding: 50px 15px;
    }
    .totalpoll-question-choices-item {
        width:49% !important;
    }
    .grazie{
        font-size: 75px;
        line-height: 85px;
    }
    .copy{
        font-size: 75px;
        line-height: 85px;
    }
    .logo-contest{
        margin-left:25%;
    }
}
@media screen and (max-width:767px){
    .text-top-img h2 {
        font-size: 55px;
        line-height: 45px;
    }
    .ctacta {
        font-size: 1rem;
    }
    .btn-partecipa{
        margin-top:20px;
        width:100%;
    }
    :is(.img-layer,.img-layer-bottom) h2{
        font-size: 50px;
        line-height: 50px;
    }
    #avventure {
        min-height:300px;
    }
    :is(#modalita,#premi) h3 {
        font-size: 29px;
    }
    :is(.page-id-49497, .page-id-58993) h4 {
        font-size: 30px;
    }
    :is(.page-id-49497, .page-id-58993) h4 {
        font-size: 30px;
    }
    .img-layer-bottom h4{
        font-size: 35px;
    }
    /* VOTING */
    .totalpoll-modal-content .totalpoll-embed-type-image {
        padding: 1em !important;
    }
    .totalpoll-modal-close {
        top: 2em !important;
        right: 2em !important;
    }
    .totalpoll-modal-content .didascalia :is(.titolo, .chi-dove, .categoria){
        position:absolute;
    }
    .totalpoll-modal-content .didascalia .titolo{
        float:left;
    }
    .totalpoll-modal-content .didascalia .chi-dove{
        float:left;
        margin-top: 40px;
        margin-left: 0;
    }
    .totalpoll-modal-content .didascalia .categoria{
        float: left;
        margin-top: 80px;
        margin-left:0;
    }
    .totalpoll-modal-content .didascalia .descrizione{
        margin-top: 120px;
    }
    .totalpoll-question-choices-item {
        width:100% !important;
    }
    .logo-contest{
        margin: 20px 0 30px;
    }
    .istat-popo{
        position:relative;
    }
    .logo-istat,
    .logo-popolazioni{
        width:40%;
    }
}
@media screen and (max-width: 529px){
    #modalita h4 span {
        display:block;
    }
    .grazie{
        font-size: 30px;
        line-height: 40px;
    }
    .copy{
        font-size: 30px;
        line-height: 40px;
    }
    .logo-istat,
    .logo-popolazioni{
        width:50%;
    }
}
@media screen and (max-width: 374px){
    .text-top-img h2 {
        font-size: 35px;
        line-height: 25px;
    }
    .text-top-img, .img-layer {
        padding-left: 10%;
        padding-right: 10%;
    }
    .ctacta {
        font-size: .7rem;
    }
    .totalpoll-question-choices-item-content img{
        height: 200px;
    }
    .totalpoll-question-choices-item-control .totalpoll-question-choices-item-label {
        max-width: 190px;
    }
    .logo-istat,
    .logo-popolazioni{
        width:60%;
    }
}
@media screen and (max-width: 320px){
    .totalpoll-question-choices-item-label{
        flex-direction: column !important;
        text-align:center !important;
    }
    .totalpoll-question-choices-item-votes{
        justify-content: center !important;
    }
}
/* CONTEST FORM */
.wpcf7{
    width:100%;
}
:is(.page-id-49497, .page-id-58993) #form-contest :is(h2, label, small){
    font-family: "Exo", Arial, sans-serif;
    color:#565656;
}
#form-contest h2{
    font-weight:700;
}
#form-contest .wpcf7-form-control label{
    display:flex;
}
#form-contest .wpcf7-form-control a{
    color:#DC4336;
    margin-left: 15px;
}
#form-contest .wpcf7-form-control a:hover{
    font-family: "Exo", Arial, sans-serif;
    color:#DC4336;
    text-decoration: underline;
}
.categorie{
    font-weight: 700;
    font-size: 24px;
    width:100%;
    border:1px solid #565656;
    border-radius:30px;
}

/* edit temporaneo */
@media (min-width:1025px) and (max-width: 1199px){
    body #main #home-featured .grid.effect-2 .grid-item.altezza-doppia {
        height: 260px;
    }
    body #main #home-featured .grid.effect-2 .grid-item.altezza-singola {
         height: 220px;
     }
}
@media (max-width: 767px){
    body #main #home-featured .grid.effect-2 .grid-item.larghezza-doppia .card-img {
        height: 100%;
    }
}