#ristoranti_wrapper { width: 1300px; min-height: 300px; margin: 0 auto 100px; position: relative; border-top: 10px solid red; }
@media screen and (max-width: 1360px) {
    #ristoranti_wrapper { width: auto; margin: 0 10px 100px; }
}
@media screen and (max-width: 767px) {
    #ristoranti_wrapper { min-height: 0; margin: 0 10px 60px; }
}
@media screen and (max-width: 580px) {
    #ristoranti_wrapper { margin: 0 20px 60px; }
}

/* FILTRO RISTORANTI */
#ristoranti_wrapper .ristoranti_filtro {
    display: block; width: 210px; border-radius: 40px; border: 2px solid #f1a95e;
    box-sizing: border-box; padding: 20px; position: absolute; top: 0; left: 0; z-index: 1;
}
#ristoranti_wrapper .ristoranti_filtro h3 {
    color: #f1a95e; font-weight: 700; text-transform: uppercase;
    margin-top: 0; margin-bottom: 20px; font-size: 18px; line-height: 24px;
}
#ristoranti_wrapper .ristoranti_filtro h4 {
    font-weight: 400; color: #f1a95e; margin: 20px 0 4px;
}
#ristoranti_wrapper .ristoranti_filtro label {
    color: #cccccc; font-size: 18px; font-weight: 500; display: inline-block; margin: 0 0 10px; cursor: pointer;
}
#ristoranti_wrapper .ristoranti_filtro input { opacity: 0; width: 0; height: 0; line-height: 0; display: none; }
#ristoranti_wrapper .ristoranti_filtro input[type="checkbox"]:checked + span { color: #343434; }
#ristoranti_wrapper .ristoranti_filtro input[type="checkbox"]:checked + span::before { color: #ffa64d; }
#ristoranti_wrapper .ristoranti_filtro label span { display: block; }
#ristoranti_wrapper .ristoranti_filtro label span::before {
    font-family: "Font Awesome 6 Free";
    color: #cccccc; content: "\f3c5";
    font-weight: 900; margin-right: 10px;
}
@media screen and (max-width: 767px) {
    #ristoranti_wrapper .ristoranti_filtro {
        width: auto; max-width: 550px; position: static; margin: 0 auto 40px;
    }
    #ristoranti_wrapper .ristoranti_filtro h3 { margin-bottom: 10px; }
    #ristoranti_wrapper .ristoranti_filtro h4 { margin: 10px 0 4px; }
    #ristoranti_wrapper .ristoranti_filtro label { margin: 0 20px 10px 0;}
}

/* BOX RISTORANTE */
#ristoranti_wrapper .ristoranti_container { width: calc( 100% - 260px ); margin: 0 0 0 auto; }
#ristoranti_wrapper .ristorante {
    background: #fff1e4; margin: 0 0 20px; display: flex; flex-direction: row;
}
#ristoranti_wrapper .ristorante:last-child { margin: 0; }
#ristoranti_wrapper .ristorante .immagine {
    width: 47.5%; height: 100%; line-height: 0;
}
#ristoranti_wrapper .ristorante .immagine img { width: 100%; height: 100%; object-fit: cover; }
#ristoranti_wrapper .ristorante .contenuto {
    width: 52.5%; height: 100%; box-sizing: border-box; padding: 40px 30px 30px 50px;
}
#ristoranti_wrapper .ristorante h3 {
    display: block; font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700; text-transform: uppercase; font-size: 24px; color: #ffa64d;
    margin: 0 0 20px; padding: 0; line-height: 30px;
}
#ristoranti_wrapper .ristorante .indirizzo,
#ristoranti_wrapper .ristorante .telefono,
#ristoranti_wrapper .ristorante .sitoweb {
    display: block; font-weight: 500; font-family: "Quicksand", sans-serif;
    font-size: 18px; color: #343434; line-height: 24px; margin: 10px 0 0;
}
#ristoranti_wrapper .ristorante .indirizzo::before,
#ristoranti_wrapper .ristorante .telefono::before,
#ristoranti_wrapper .ristorante .sitoweb::before {
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    margin-right: 5px; color: #ffa64d;
}
#ristoranti_wrapper .ristorante .indirizzo::before { content: "\f3c5"; }
#ristoranti_wrapper .ristorante .telefono::before { content: "\f095"; }
#ristoranti_wrapper .ristorante .sitoweb::before { content: "\f015"; }
#ristoranti_wrapper .ristorante a { text-decoration: none; color: #343434; }
#ristoranti_wrapper .ristorante a:hover { text-decoration: none; color: #ffa64d; }
#ristoranti_wrapper .ristorante .facebook,
#ristoranti_wrapper .ristorante .instagram {
    display: inline-flex; position: relative; float: left;
    margin-right: 10px; margin-top: 24px;
}
#ristoranti_wrapper .ristorante .facebook::before,
#ristoranti_wrapper .ristorante .instagram::before {
    font-family: "Font Awesome 6 Brands"; font-weight: normal; margin-right: 5px;
    color: #ffa64d; font-size: 30px;
}
#ristoranti_wrapper .ristorante .facebook::before { content: "\f09a"; }
#ristoranti_wrapper .ristorante .instagram::before { content: "\f16d"; }
#ristoranti_wrapper .ristorante .facebook a,
#ristoranti_wrapper .ristorante .instagram a { width: 25px; margin-left: -32px; }
@media screen and (max-width: 1200px) {
    #ristoranti_wrapper .ristorante .contenuto { padding: 30px; }
}
@media screen and (max-width: 980px) {
    #ristoranti_wrapper .ristoranti_container { width: calc( 100% - 240px ); }
    #ristoranti_wrapper .ristorante { flex-direction: column; }
    #ristoranti_wrapper .ristorante .immagine { width: 100%; height: auto; }
    #ristoranti_wrapper .ristorante .contenuto { width: 100%; height: auto; }
}
@media screen and (max-width: 767px) {
    #ristoranti_wrapper .ristoranti_container { width: auto; }
    #ristoranti_wrapper .ristorante { max-width: 550px; margin: 0 auto 20px; }
    #ristoranti_wrapper .ristorante:last-child { margin: 0 auto; }
}