body {
    font-family: 'Open Sans', sans-serif;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

section.five {
    height: auto !important;
    display: block !important;
    font-size: 1rem;
}

section.five .copyright {
    background: #c01f5a;
}

.text-start {
    color: black;
}

@media (max-width: 767px) {
    #header .logo img {
        height: 50px !important;
        transition-property: height;
        transition-duration: 0.5s;
    }

    .pagination-wrapper {
        display: none !important;
    }

    /* section.five {
        height: 125vh !important;
    } */

    .one .container {
        margin-top: 130px;
        margin-bottom: 5px;
    }

    /*.one, .two, .three, .four {
        margin-bottom: 5px;
    } */

    .two .row .col-md-4:nth-child(-n+3) {
        margin-bottom: 5px;
    }

    .three .row .col-md-4:nth-child(-n+3) {
        margin-bottom: 5px;
    }

    .four .container {
        margin-top: 0 !important;
    }

    .four .container #contactForm {
        margin-bottom: 5px;
    }
}

body {
    background: url(../../uploads/sfondo_formnia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
}

.hNav {
    position: fixed;
    width: 100%;
    height: 120px;
    z-index: 9999;
    transition: top 1.4s ease-out;
}

.hNav.at-bottom {
    top: calc(100vh - 120px);
}

.hNav.at-top {
    top: 0;
}

@media (max-width: 768px) {
    .hNav,
    .hNav.at-top,
    .hNav.at-bottom {
        position: fixed;
        top: 0;
        bottom: auto;
        transform: none; /* se usi transform nelle transizioni */
    }

    /* opzionale: niente animazioni su mobile per evitare flicker */
    .hNav {
        transition: none;
    }
}

.one {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/uploads/sfondi/sfondo-7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.two {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/uploads/sfondi/sfondo-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.two a {
    text-decoration: none;
    color: #000;
}

.two .card-body {
    height: 470px;
}

.three {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/uploads/sfondi/sfondo-3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.three a {
    text-decoration: none;
    color: #000;
}

.three .card-body {
    height: 470px;
}

.four {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/uploads/sfondi/sfondo-4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.four .container {
    margin-top: 5rem;
}

.five {
    background: #FAF9FF;
    border-style: solid;
    border-width: 2px 0px 0px 0px;
    border-color: #d82065;
}

#indirizzoMail, #numTelefono {
    color: #000;
}

#indirizzoMail:hover, #numTelefono:hover {
    color: #d82065;
}

.copyText {
    font-size: 16px;
}

.fixed-top {
    top: 0;
}

.fixed-bottom {
    bottom: 0;
}

html, body {
    overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 0;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pagination-wrapper {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* fa la colonna */
    align-items: center; /* centra i puntini */
}

    .pagination li {
        margin: 8px 0; /* spazio verticale tra i punti */
    }

    .pagination a {
        display: block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #e07796;
        text-indent: -9999px;
        transition: background 0.3s;
    }

        .pagination a.active {
            background: #c01f5a;
        }

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto;
    cursor: pointer;
    border: solid #000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
}

    .scroll-arrow.up {
        transform: rotate(-135deg);
    }

    .scroll-arrow.down {
        transform: rotate(45deg);
    }

    .scroll-arrow:hover {
        border-color: #666;
    }

.fw-600 {
    font-weight: 600;
}

.entry-title {
    color: #c01f5a;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}

.title-service:hover {
    color: #c01f5a;
    cursor: pointer;
}

.text-service h5 {
    font-size: 22px;
}

.text-service p {
    font-size: 18px;
}

/*** NEWSLETTER FORM ***/
#NewsletterForm input.btn {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background-color: #d82065;
    outline: none;
    border: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    padding: 0px 15px;
    margin-bottom: 10px;
}

#NewsletterForm input {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background-color: #f4f7fb;
    outline: none;
    border: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    color: #7a7a7a;
    padding: 0px 15px;
    margin-bottom: 10px;
}

/*** CONTACT FORM ***/
#contactForm {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
}

#contactForm input {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background-color: #f4f7fb;
    outline: none;
    border: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    color: #7a7a7a;
    padding: 0px 15px;
    margin-bottom: 10px;
}

#contactForm textarea {
    width: 100%;
    min-height: 140px;
    max-height: 180px;
    border-radius: 5px;
    background-color: #f4f7fb;
    outline: none;
    border: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    color: #7a7a7a;
    padding: 15px;
    margin-bottom: 20px;
}

#Contatti_button {
    background-color: #7a7a7a !important;
}

#Contatti_button:hover {
    background-color: #c01f5a !important;
}

.privacy {
    font-size: 11px;
}

.form-control:focus {
    background-color: #cfcbca;
    border-color: #acacac;
    box-shadow: none;
}

.form-check-input {
    width: 20px !important;
    height: 20px !important;
    padding: 5px !important;
    background-color: #beafa8 !important;
}

.form-check-label {
    display: unset !important;
}

    .form-check-label a:hover {
        text-decoration: underline;
    }

/*** FOOTER ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    /*color: #B0B9AE;*/
    /*color: #d82065;*/
    color: #000;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        /*color: #fff;*/
        color: #d82065;
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer-title {
    text-transform: uppercase;
}

.footer-title:after {
    content: "";
    display: block;
    height: 2px;
    width: 50px;
    background-color: #000;
    margin-top: 5px;
}

.btn-instagram {
    margin-right: 5px;
}

.btn-instagram, .btn-facebook {
    border: 1px solid #000;
}

.fa-instagram, .fa-facebook {
    color: #000;
}

.btn-instagram:hover, .btn-facebook:hover {
    transform: translateY(-5px);
    border: 1px solid #c01f5a;
}

.btn-instagram:hover .fa-instagram, .btn-facebook:hover .fa-facebook {
    color: #c01f5a;
}

.listPolicy {
    color: #c01f5a;
}

.listPolicy li a {
    color: #c01f5a;
    text-decoration: none;
}

#linkContact p a {
    text-decoration: none;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar .nav-link {
        font-size: 18px;
    }

@media (max-width: 768px) {
    .navbar li {
        overflow-x: hidden;
    }

        .navbar li::after {
            content: "";
            position: absolute;
            left: 15px;
            bottom: 0;
            width: 100%;
            height: 1px;
            background-color: #d82065;
            opacity: 0.5;
        }

        .navbar li:last-child::after {
            display: none;
        }
}

.nav-link-contatti i {
    font-size: 24px !important;
    margin-right: 10px !important;
}

.testo .name {
    display: block;
    font-size: 14px;
    line-height: 1em;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 5px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    padding: 10px 0 10px 30px;
    font-family: "Raleway", sans-serif;
    /* font-size: 15px; */
    /* font-weight: 600; */
    color: var(--colorTesti);
    /* color: #111111; */
    color: #d82065;
    white-space: nowrap;
    transition: 0.3s;
}

    .navbar a i,
    .navbar a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
    }

    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover > a {
        color: var(--colorP);
        color: #4A90E2;
        color: #170d0e;
    }

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 30px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

    .navbar .dropdown ul li {
        min-width: 200px;
    }

    .navbar .dropdown ul a {
        padding: 10px 20px;
        font-size: 14px;
    }

        .navbar .dropdown ul a i {
            font-size: 12px;
        }

        .navbar .dropdown ul a:hover,
        .navbar .dropdown ul .active:hover,
        .navbar .dropdown ul li:hover > a {
            color: var(--colorP);
        }

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #111111;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

    .mobile-nav-toggle.bi-x {
        color: #fff;
    }

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #111111;
    }

        .navbar-mobile a:hover,
        .navbar-mobile .active,
        .navbar-mobile li:hover > a {
            color: var(--colorTesti);
        }

    .navbar-mobile .getstarted,
    .navbar-mobile .getstarted:focus {
        margin: 15px;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile .dropdown ul li {
            min-width: 200px;
        }

        .navbar-mobile .dropdown ul a {
            padding: 10px 20px;
        }

            .navbar-mobile .dropdown ul a i {
                font-size: 12px;
            }

            .navbar-mobile .dropdown ul a:hover,
            .navbar-mobile .dropdown ul .active:hover,
            .navbar-mobile .dropdown ul li:hover > a {
                color: var(--colorTesti);
            }

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 4px 0;
}

    #header.header-scrolled {
        padding: 8px 0;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    }

        #header.header-scrolled .logo img {
            height: 65px;
        }

    #header .logo {
        font-size: 30px;
        margin: 0;
        padding: 0;
        font-weight: 600;
        font-family: "Poppins", sans-serif;
    }

        #header .logo a {
            color: #111111;
        }

            #header .logo a span {
                color: var(--colorP);
            }

        #header .logo img {
            height: 100px;
            transition-property: height;
            transition-duration: 0.5s;
        }

/* ******** INFORMATIVA ******** */
.pnlInformativa {
    position: fixed;
    max-width: 915px;
    width: 90vw;
    inset: 0;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-height: 270px;
    background: #FBF6EF !important;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(115, 115, 115, 0.81);
    box-shadow: 0px 0px 15px 5px rgba(115, 115, 115, 0.81);
    padding: 16px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 99999;
}

#testoInf {
    font-family: -apple-system, sans-serif !important;
    line-height: 20px;
}

#personalizza, #rifiuta, #accetta, #rifiutaT, #salvaPreferenze {
    border-radius: 64px !important;
}

/* Media query per schermi piccoli */
@media (max-width: 575px) {
    .pnlInformativa {
        max-width: 400px;
        width: 90vw;
        padding: 12px;
        max-height: 470px;
    }

    #accetta {
        margin-top: 2px;
    }
}


/*************** COOKIE ************/
.pnlCookie {
    position: fixed;
    max-width: 600px;
    width: 90vw;
    top: 30px;
    left: calc(50% - 300px);
    z-index: 99999;
    background: #FBF6EF !important;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(115,115,115,0.81);
    box-shadow: 0px 0px 15px 5px rgba(115,115,115,0.81);
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
}

@media (max-width: 575px) {
    .pnlCookie {
        max-width: 400px;
        width: 90vw;
        top: 30px;
        left: calc(50% - 175px);
    }
}


.cookie .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .cookie .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .cookie .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

.cookie input:checked + .slider {
    background-color: #2196F3;
}

.cookie input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.cookie input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    content: "\2714";
    font-size: 22px;
    text-align: center;
    line-height: 26px;
    color: #2196F3;
}

/* Rounded sliders */
.cookie .slider.round {
    border-radius: 34px;
}

    .cookie .slider.round:before {
        border-radius: 50%;
    }


.cookie .switchDisabled {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .cookie .switchDisabled input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie .sliderDisabled {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .cookie .sliderDisabled:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
        content: "\2714";
        font-size: 22px;
        text-align: center;
        line-height: 26px;
        color: #ccc;
    }

    .cookie .sliderDisabled.round {
        border-radius: 34px;
    }

        .cookie .sliderDisabled.round:before {
            border-radius: 50%;
        }

    .cookie .sliderDisabled.False:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
        content: "";
        font-size: 22px;
        text-align: center;
        line-height: 26px;
        color: #ccc;
    }
