/*RECENSIONI*/
.page-heading {
	text-align: center;
	background-image: url(/bozza/assets/images/banner-recensioni.jpg) !important;
	background-position: center center;
}
header .navbar {
    padding: 20px 0px;
    box-shadow: unset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    background-color: transparent !important;
}
.welcome-content {
    padding-left: 0px !important;
}
.blog-banner h4, .blog-banner h1, .blog-banner a {
    text-transform: uppercase;
    color: #FFF !important;
    text-shadow: 2px 2px 4px #000;
}
.privacy-detail {
	background-color: #f2f2f2;
}
.welcome {
    padding-top: 170px !important;
    padding-bottom: 120px;
}
/*RECESNIONI PAGE STYLE*/
.container .contenitore-commenti {
    display: block;
}
.pfinder-form-section {
    background: #f5f5f5;
}
.no-comm {
    padding: 55px 15px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    background-color: #ffffff;
    border: 1px solid #dcdfe3;
}

.no-comm p {
    font-weight: bold;
    margin-top: 0;
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
}

.no-comm:before {
    content: 'F';
    font-family: MATRIX;
    DISPLAY: BLOCK;
    WORD-WRAP: break-word;
    font-size: 63px;
    color: #7497c9;
    margin-bottom: 35px;
}

.contenitore-commenti {
    width: 100%;
    overflow: hidden;
}


.commento.articolo {
    width: 30%;
    float: right;
     margin: 10px 0px;
}

.lista-commenti-articolo {
    width: 100%;
    float: left;
    margin: 10px 0px;
    padding-right:15px;
}

.commento.articolo .row-comm input, .commento.articolo .row-comm textarea, .commento.articolo .row-comm SELECT {
    display: block;
    width: 100% !important;
    padding: 5px;
    color: #000;
    border: 1px solid #ddd;
    height: 32px;
}
.logo_feedback {
    height: 20px;
    margin-left: 12px !important;
}
.row-comm label span {
    color: #000;
}
.commento.articolo .row-comm textarea {
    height: 240px;
}

.commento.articolo .row-comm label {
    display: block;
}

h3.title-form-comm {
    padding: 13px;
    margin: 0;
    background-color: #001a49;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 12px;
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.commento.articolo {
    background-color: #ffffff;
    border: 1px solid #dcdfe3;
    display: none;
}

.row-comm {
    padding: 0px 15px;
    font-size: 13px;
}
p.author-dicono {
    padding: 0px 11px;
    font-style: italic;
    width: 100%;
    overflow: hidden;
    color: #737373;
    font-size: 13px;
    line-height: 13px;
    margin-bottom: 1rem;
}
span#bottone_invia #invio2 {
    cursor: pointer;
    -webkit-transition-duration: 400ms;
    transition-duration: 400ms;
    display: block;
    width: 100%;
    margin: 0 auto !important;
    margin-top: 25px !important;
    background-color: #f71317;
    max-width: 190px;
    color: #fff;
    padding: 12px 12px;
    font-weight: normal;
    font-size: 16px;
    border: none;
}

.button-comm {
    text-align: center;
    width: 100%;
    overflow: hidden;
    padding: 15px 0px;
}

.captcha_np {
    width: 100%;
    overflow: hidden;
    margin: 15px 0px;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

}
input#verificationCode {
    display: block;
    margin: 0 auto;
    padding: 5px;
}

img#td_captcha {
    background-color: #fff;
    width: 100%;
    box-sizing: border-box !important;
    max-width: 170px;
    margin-left: calc(50% - 98px);
}

div.commento.articolo > form > div:nth-child(8):before {
    content: 'Inserisci il codice';
    text-align: center;
    display: block;
}

input#verificationCode {
    display: block;
    padding: 5px;
    margin: 0 auto;
}

.singolo-commento {
    width: 31%;
    overflow: hidden;
    border: 1px solid #ebebeb;
    margin-bottom: 15px;
    background-color: #fff;
    float: left;
    margin: 1%;
    height: 242px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.img_user_rec {
    display: none;
}
h2.titolo-commento {
    padding-top: 0;
    margin: 0;
    padding: 10px;
    width: calc(100% - 100px);
    float: left;
    font-size: 17px;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: #4c595b;
}

p.testo-commento-utente {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #ebebeb;
    line-height: 18px;
    font-size: 13px;
}
p.testo-commento-utente,
h3.autore-commento {
    padding-top: 0;
    margin-top: 0;
    padding: 10px;
     margin: 0;
}

.gr_comm {
    text-align: center;
    font-size: 22px;
    background-color: #236b54c4;
    padding: 11px;
    margin: 15px 0px;
    border-radius: 7px;
    font-weight: bold;
    color: #fff;
    width: 98%;
    float: none;
    position: fixed;
    left: 1%;
    bottom: 20px;
    z-index: 99999;
}

h3.autore-commento {
    border: 1px solid #ffffff;
    font-size: 20px;
    font-weight: normal;
    width: 100px;
    float: right;
    background-color: #ff7101;
    padding: 7px 11px 0px;
    border-top: 0;
    border-right: 0;
    color: #fff;
    line-height: 23px;
}

h3.autore-commento span {
    font-weight: bold;
}
.grazie-commento {
    padding: 0px 10px;
    width: fit-content;
    float: right;
}

span.testo-grazie-commento {
    padding: 3px;
    border: 1px solid #bebebe;
    border-radius: 6px;
    font-size: 12px;
}

h3.autore-commento span.data_commento {
    font-weight: bold;
    font-size: 13px;
    position: relative;
    top: -4px;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-family: "Graphik Bold", sans-serif;
    color: #FFF;
    font-size: 14px;
    /* line-height: 3rem; */
    letter-spacing: normal;
    font-weight: 700;
}

span.testo-grazie-commento>span>img {
    height: 16px;
    position: relative;
    bottom: 1px;
}
@media (max-width:1100px)
{
.lista-commenti-articolo,
.commento.articolo {
    float: none;
    width: 100%;
    padding: 0;
}

.commento.articolo .row-comm textarea {
    height: 120px;
}
}

div#caption_captcha {
    padding: 14px 14px 0px 14px;
    font-weight: bold;
}

.header-comm-result {
    text-align: right;
    position: relative;
    height: 15px;
}

.header-comm-result>a {
    font-weight: bold;
    color: #fff !important;
    background-color: #b31404;
    padding: 1px 13px;
    border-radius: 50%;
    border: 2px solid;
    position: absolute;
    top: -26px;
    right: -2px;
    cursor: pointer;
}

p.fonte {
    padding: 0px 11px;
    /* font-style: italic; */
    width: 100%;
    overflow: hidden;
    color: #baa462;
    font-size: 13px;
    font-weight: bold;
    margin: 0px;
    line-height: 13px;
    display: none;
}

.singolo-commento .ta-rating {
    padding-left: 0px;
    padding-top: 0px;
    width: fit-content;
    float: left;
}

.singolo-commento .ta-rating .fa.fa-star {
    font-size: 16px;
    color: #ffb129;
}
@media (max-width: 767px) {
    .singolo-commento {
        width: 94%;
        height: auto;
        margin: 3%;
    }
    h2.titolo-commento {
        font-size: 16px;
    }
    h3.autore-commento span.data_commento {
        font-size: 12px;
    }
    h3.autore-commento {
        width: 86px;
    }
    .testo-commento-utente {
        font-size: 15px;
        white-space: pre-line;
        overflow-wrap: break-word;
        word-break: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: justify;
        line-height: 21px !important;
    }
}

/* Contenitore principale centrato con spaziatura */
.contenitore_scorrimento {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0 20px;
    clear: both;
}

/* Reset e allineamento della lista */
.contenitore_scorrimento ul {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contenitore_scorrimento ul li {
    margin: 0;
    padding: 0;
    display: inline-flex;
}

/* Stile base dei pulsanti di paginazione */
.contenitore_scorrimento ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
}

/* Hover sui pulsanti normali */
.contenitore_scorrimento ul li a:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Pagina corrente (Active) in arancione */
.contenitore_scorrimento ul li a.current {
    background-color: #ff7101;
    color: #ffffff;
    border-color: #ff7101;
    box-shadow: 0 4px 14px rgba(255, 113, 1, 0.4);
    pointer-events: none; /* Disabilita il click sulla pagina gią attiva */
}

/* Pulsante "Succ" o "Prec" leggermente pił largo e staccato */
.contenitore_scorrimento ul li a:not([href*="pag="]):last-child,
.contenitore_scorrimento ul li:last-child a {
    padding: 0 18px;
    font-weight: 700;
}

/* Adattamento Mobile */
@media (max-width: 576px) {
    .contenitore_scorrimento ul {
        gap: 6px;
    }
    
    .contenitore_scorrimento ul li a {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        padding: 0 10px;
        border-radius: 10px;
    }
}

/* Limita l'altezza del testo e attiva lo scroll solo se necessario */
.singolo-commento p.testo-commento-utente {
    max-height: 110px;          /* Altezza massima prima dell'attivazione dello scroll */
    overflow-y: auto;           /* Scrollbar attiva SOLO se il contenuto sfora */
    overflow-x: hidden;         /* Evita scrollbar orizzontali */
    margin: 53px 0 15px 0;
    padding-right: 6px;         /* Spazio per non far toccare il testo alla scrollbar */
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    word-break: break-word;     /* Evita che parole lunghe rompano il layout */
    
    /* Scrollbar moderna per Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ff7101 #f1f1f1;
    /* border-top: 1px solid #ccc; */
    /* border-bottom: 1px solid #ccc; */
}

/* Scrollbar sottile ed elegante per Chrome, Safari ed Edge */
.singolo-commento p.testo-commento-utente::-webkit-scrollbar {
    width: 4px;
}

.singolo-commento p.testo-commento-utente::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.singolo-commento p.testo-commento-utente::-webkit-scrollbar-thumb {
    background: #ff7101;        /* Colore arancione del brand */
    border-radius: 4px;
}

.singolo-commento p.testo-commento-utente::-webkit-scrollbar-thumb:hover {
    background: #e06300;
}




