/*
* Template Name: Presento - v3.9.1
* Template URL: https://bootstrapmade.com/presento-bootstrap-corporate-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
    background: url(../../uploads/sfondo_cliniche.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
    overflow-x: hidden;
}

.btn-primary {
    color: #fff;
    background: #CFB691;
    border: none;
}

.btn-primary:hover{
    background-color: #fff;
    color: #000;
    border: none;
}

a {
    color: var(--colorP);
    color: #4A90E2;
    text-decoration: none;
}

    a:hover {
        color: #e76668;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

.text-justify {
    text-align: justify;
}

.border-primary {
    border-color: var(--colorP) !important;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.copyright {
    text-align: center;
    padding: 15px;
}

.p-4 {
    padding: 0.5rem !important;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--colorP);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #e65d5f;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #000;
    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;
        }

/*--------------------------------------------------------------
# Get Started Button
--------------------------------------------------------------*/
.get-started-btn {
    margin-left: 30px;
    background: var(--colorP);
    color: #fff;
    border-radius: 4px;
    padding: 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

    .get-started-btn:hover {
        background: #111111;
        color: #fff;
    }

@media (max-width: 992px) {
    .get-started-btn {
        margin: 0 15px 0 0;
        padding: 6px 18px;
    }
}

/*--------------------------------------------------------------
# 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;
    }

.nav-link.dropdown-toggle: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: #fff;
    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:not(.btn),
    .navbar .active:not(.btn),
    .navbar .active:focus:not(.btn),
    .navbar li:hover > a:not(.btn) {
        color: #fff;
    }

@media (max-width: 768px){
    .navbar a:hover:not(.btn),
    .navbar .active:not(.btn),
    .navbar .active:focus:not(.btn),
    .navbar li:hover > a:not(.btn) {
        color: #111111;
    }
}

.navbar .dropdown-menu li a {
    color: #000;
}

.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: #fff;
    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;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    position: relative;
    padding-top: 82px;
}

    #hero:before {
        content: "";
        /* background: rgba(255, 255, 255, 0.6); */
        background: rgba(0, 0, 0, 0.6);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    #hero h1 {
        margin: 0;
        font-size: 44px;
        font-weight: 700;
        color: #CFB691;
        /* text-shadow: 2px 2px 3px white; */
        /* color: #fff; */
    }

        #hero h1 p, #hero h2 p {
            text-align: left;
        }

    #hero p {
        color: #CFB691;
    }

    #hero h2 {
        /* color: #fff; */
        color: white;
        margin: 10px 0 0 0;
        font-size: 24px;
        font-weight: 700;
        /* text-shadow: 1px 1px 2px white; */
    }

    #hero .btn-get-started {
        font-family: "Raleway", sans-serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 10px 30px;
        border-radius: 4px;
        transition: 0.5s;
        margin-top: 30px;
        color: #fff;
        background: #170d0e;
        border: 2px solid #d82065;
        /* background: var(--colorP);
    border: 2px solid var(--colorP); */
    }

        #hero .btn-get-started:hover {
            background-color: #d82065;
            border-color: #170d0e;
            color: #fff;
        }

@media (max-width: 768px) {
    #hero {
        text-align: center;
        padding-top: 58px;
    }

        #hero h1 {
            font-size: 28px;
        }

        #hero h2 {
            font-size: 18px;
            line-height: 24px;
        }
}

@media (max-height: 500px) {
    #hero {
        height: 120vh;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
        /* color: var(--colorP); */
        color: var(--colorTesti);
    }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            /* background: var(--colorP); */
            background: var(--colorTesti);
            bottom: 0;
            left: calc(50% - 25px);
        }

    .section-title p {
        margin-bottom: 0;
    }

.section-bg {
    padding: 120px 0;
    color: #fff;
}

    .section-bg:before {
        content: "";
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../uploads/servizi_lavorazioni/triangoli-sfondo-grigio.jpg');
        position: absolute;
        bottom: -60px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(3deg);
    }

.section-bg-light {
    padding: 120px 0;
    color: var(--colorS);
    margin-top: -120px;
}

    .section-bg-light:before {
        content: "";
        background-color: #f1f1f1;
        position: absolute;
        bottom: 60px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

.section-bg-close {
    padding: 60px 0;
    color: var(--colorS);
    margin-top: -120px;
}

    .section-bg-close:before {
        content: "";
        /*background: url('../../uploads/materiali/acciaio-inox.jpg') top center no-repeat; */
        position: absolute;
        bottom: -70px;
        top: 0px;
        left: 0;
        right: 0;
    }


.section-bg-red {
    padding: 1px 0;
    background-color: #fff;
}




/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 15px 0;
    background: #2b2b2b;
    min-height: 40px;
    margin-top: 82px;
    color: #fff;
}

    .breadcrumbs h2 {
        font-size: 28px;
        font-weight: 500;
    }

    .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        font-size: 14px;
    }

        .breadcrumbs ol a {
            color: #aaaaaa;
        }

            .breadcrumbs ol a:hover {
                color: #fff;
                transition: 0.3s;
            }

        .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .breadcrumbs ol li + li::before {
                display: inline-block;
                padding-right: 10px;
                color: var(--colorP);
                content: "/";
            }

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
    margin-top: -120px;
    padding: 120px 0;
}

    .clients:before {
        content: "";
        background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(../uploads/sfondi/sfondo-3.jpg) center no-repeat;
        background: url(/uploads/sfondo_mc.jpg);
        background-size: cover;
        position: absolute;
        bottom: -40px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

    .clients .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .clients .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: #fff;
            opacity: 1;
            border: 1px solid var(--colorP);
        }

        .clients .swiper-pagination .swiper-pagination-bullet-active {
            background-color: var(--colorP);
        }

    .clients .swiper-slide img {
        opacity: 0.5;
        transition: 0.3s;
        filter: grayscale(100);
    }

        .clients .swiper-slide img:hover {
            opacity: 1;
            filter: none;
        }

#clients .swiper-pagination {
    display: none;
}

.clients .section-title h2 {
    margin-bottom: 5px;
    padding-bottom: 0;
}

    .clients .section-title h2:after {
        display: none;
    }

.clients .section-title h5 {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--colorTesti);
}

    .clients .section-title h5:after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 3px;
        /* background: var(--colorP); */
        background: var(--colorTesti);
        bottom: 20px;
        left: calc(50% - 25px);
    }

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .container {
    position: relative;
    z-index: 10;
}

.about-section-bg {
    padding: 120px 0;
    color: #fff;
}

    .about-section-bg:before {
        content: "";
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../uploads/sfondi/sfondo-3.jpg) center no-repeat;
        background-size: cover;
        position: absolute;
        bottom: 60px;
        top: -60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

.about .content {
    padding: 30px 30px 30px 5px;
}

    .about .content h3 {
        font-weight: 700;
        font-size: 34px;
        margin-bottom: 30px;
    }

    .about .content p {
        margin-bottom: 30px;
    }

    .about .content .about-btn {
        padding: 8px 30px 9px 30px;
        color: #fff;
        border-radius: 50px;
        transition: 0.3s;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        border: 2px solid var(--colorP);
    }


        .about .content .about-btn i {
            font-size: 16px;
            padding-left: 5px;
        }

        .about .content .about-btn:hover {
            background: #e35052;
            background: var(--colorP);
        }

.about .icon-boxes .icon-box {
    margin-top: 30px;
}

    .about .icon-boxes .icon-box i {
        font-size: 40px;
        color: var(--colorTesti);
        color: white;
        margin-bottom: 10px;
    }

    .about .icon-boxes .icon-box h4 {
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 10px 0;
        color: var(--colorTesti);
        color: white;
    }

    .about .icon-boxes .icon-box p {
        font-size: 15px;
        color: #fff;
    }

@media (max-width: 1200px) {
    .about .content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about {
        text-align: center;
    }
}

.about .download-brochure {
    background-color: white;
    border-left: solid 8px var(--colorP);
    line-height: 18px;
    overflow: hidden;
    padding: 15px 10px;
    width: fit-content !important;
    margin-top: 20px
}

#mission .section-title h2 {
    color: white;
}

    #mission .section-title h2:after {
        background: white;
    }

#mission .accordion-content {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
    color: #000;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

    #mission .accordion-content p {
        padding: 1.25rem 1.25rem .5rem;
    }

#mission .accordion-header {
    background-color: var(--colorTesti);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

@media (max-width: 768px) {
    #mission .accordion-container {
        margin-top: 4px;
    }
}

/*--------------------------------------------------------------
# Valori
--------------------------------------------------------------*/
/* .mission-section-bg {
    margin-top: -120px;
    padding: 120px 0;
    color: #fff;
}

    .mission-section-bg:before {
        content: "";
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../uploads/sfondi/sfondo-2.jpg) center no-repeat;
        background-size: cover;
        position: absolute;
        bottom: 60px;
        top: -60px;
        left: 0;
        right: 0;
        z-index: -1;
        transform: skewY(3deg);
    }

    .mission .section-title h2 {
        color: white;
    }

    .mission .section-title h2:after{
        background: white;
    }


.mission .accordion-content {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
    color: #000;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

    .mission .accordion-content p {
        padding: 1.25rem 1.25rem .5rem;
    }

.mission .accordion-header {
    background-color: var(--colorTesti);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

@media (max-width: 768px) {
    .mission .accordion-container {
        margin-top: 4px;
    }
}

.mission .accordion-header {
    background-color: var(--colorTesti);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border: 1px solid var(--colorTesti);
    padding: 1rem 1.25rem;
    border-radius: .25rem;
}


.mission .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
    color: #000;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

    .mission .accordion-content p {
        padding: 1.25rem 1.25rem .5rem;
    }

    @media (max-width: 768px){
        .mission .accordion-container {
            margin-top: 4px;
        }
    } */

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    padding-top: 80px;
}

    .counts .count-box {
        background: white;
        padding: 30px 30px 25px 30px;
        width: 100%;
        position: relative;
        text-align: center;
        box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.06);
        border-radius: 4px;
    }

        .counts .count-box i {
            position: absolute;
            width: 54px;
            height: 54px;
            top: -27px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 24px;
            background: #fff;
            color: var(--colorP);
            border-radius: 50px;
            border: 2px solid #fff;
            box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .counts .count-box span {
            font-size: 36px;
            display: block;
            font-weight: 700;
            color: #111111;
        }

        .counts .count-box p {
            padding: 0;
            margin: 0;
            font-family: "Raleway", sans-serif;
            font-size: 14px;
        }

/*--------------------------------------------------------------
# Tabs
--------------------------------------------------------------*/
.tabs .nav-tabs {
    border: 0;
}

.tabs .nav-link {
    border: 1px solid #b9b9b9;
    padding: 15px;
    transition: 0.3s;
    color: #111111;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 92px;
}

    .tabs .nav-link i {
        padding-right: 15px;
        font-size: 40px;
    }

    .tabs .nav-link h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }

    .tabs .nav-link:hover {
        color: var(--colorP);
    }

    .tabs .nav-link.active {
        background: var(--colorP);
        color: #fff;
        border-color: var(--colorP);
    }

@media (max-width: 768px) {
    .tabs .nav-link i {
        padding: 0;
        line-height: 1;
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .tabs .nav-link {
        padding: 15px;
    }

        .tabs .nav-link i {
            font-size: 24px;
        }
}

.tabs .tab-content {
    margin-top: 30px;
}

.tabs .tab-pane h3 {
    font-weight: 600;
    font-size: 26px;
}

.tabs .tab-pane ul {
    list-style: none;
    padding: 0;
}

    .tabs .tab-pane ul li {
        padding-bottom: 10px;
    }

    .tabs .tab-pane ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--colorP);
    }

.tabs .tab-pane p:last-child {
    margin-bottom: 0;
}

/*.tabs p{
    font-size:20px;
    line-height:40px;
    text-align:justify
}*/

/*** Service ***/
#servizi:before {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../uploads/sfondi/sfondo-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
    z-index: -1;
}

#servizi .card-body h3, #servizi .card-body p {
    color: #000;
}

#services:before {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../uploads/sfondi/sfondo-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(3deg);
    z-index: -1;
}

.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

    .service-item .service-img {
        position: absolute;
        padding: 12px;
        width: 130px;
        height: fit-content;
        top: -65px;
        left: 50%;
        transform: translateX(-50%);
        background: #FFFFFF;
        box-shadow: 0 0 45px rgba(0, 0, 0, .09);
        z-index: 2;
    }

    .service-item .service-detail {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 1;
    }

    .service-item .service-title {
        position: absolute;
        padding: 65px 30px 25px 30px;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #FFFFFF;
        transition: .5s;
    }

        .service-item .service-title hr, .service-item .service-title h3 {
            color: var(--colorTesti);
        }

    .service-item:hover .service-title {
        top: -100%;
    }

    .service-item .service-text {
        position: absolute;
        overflow: hidden;
        padding: 65px 30px 25px 30px;
        width: 100%;
        height: 100%;
        top: 100%;
        left: 0;
        display: flex;
        align-items: center;
        text-align: center;
        background: rgba(2, 36, 91, .7);
        transition: .5s;
    }

    .service-item:hover .service-text {
        top: 0;
    }

    .service-item .service-text::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100px;
        top: -100%;
        left: 0;
        transform: skewY(-12deg);
        background: #FFFFFF;
        transition: .5s;
    }

    .service-item:hover .service-text::before {
        top: -55px;
    }

    .service-item .btn {
        position: absolute;
        width: 130px;
        height: 50px;
        left: 50%;
        bottom: -25px;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--colorTesti);
        background: #FFFFFF;
        border: none;
        box-shadow: 0 0 45px rgba(0, 0, 0, .09);
        z-index: 2;
        display: none;
    }

        .service-item .btn:hover {
            color: #fff;
            background: var(--colorTesti);
            display: none;
        }

@media (max-width: 575px) {
    .service-item .service-text p {
        font-size: 10px;
    }
}

/*--------------------------------------------------------------
# Events
--------------------------------------------------------------*/
.events {
    margin-top: -120px;
}

#eventi:before {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../uploads/sfondi/sfondo-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(3deg);
    z-index: -1;
}

#eventi .card-body h3, #eventi .card-body p, #eventi .card-body span, #eventi .card-body span i {
    color: #000;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

/*.backg-w {
    background-color: white;
    text-align: center;
}*/

/*.backg-b {
    background: black;
}*/

.services {
    margin-top: -120px;
}

    .services .icon-box {
        margin-bottom: 20px;
        padding: 30px;
        border-radius: 6px;
        background-color: #f1f1f1;
        transition: 0.3s;
        min-height: 260px;
    }

        .services .icon-box:hover {
            background-color: #b9b9b9;
            transition: 0.6s;
        }

        .services .icon-box img {
            margin-top: -20px;
            margin-left: -15px;
            float: left;
            max-width: 240px;
            object-fit: cover;
            object-position: center;
            padding: 10px;
        }

        .services .icon-box i {
            float: left;
            color: var(--colorTesti);
            font-size: 40px;
            line-height: 0;
        }


    .services .icon-box-image img {
        float: left;
        max-width: 200px;
        max-height: 250px;
        object-fit: cover;
        object-position: center;
        margin-top: -25px;
    }

    .services .col-md-6 {
    }

    .services .icon-box-text h4 {
        font-weight: 700;
        font-size: 18px;
    }

    .services .icon-box-text p {
        font-size: 14px;
        color: #000;
    }

#servicesImg:before {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../../uploads/materiali/capannone.jpg) top center no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(3deg);
}

#servicesIco:before {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/uploads/gallery/ottimizzazione_costi (2).jpg');
    background-size: cover;
    position: absolute;
    bottom: -60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(3deg);
    z-index: -1;
}

#servicesIco .section-title h2 {
    color: white;
}

    #servicesIco .section-title h2:after {
        background: white;
    }

@media (max-width: 768px) {
    .services .icon-box img {
        float: none;
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}


.services .icon-box h4 {
    margin-left: 210px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

    .services .icon-box h4 a {
        color: #fff;
        transition: 0.3s;
    }

        .services .icon-box h4 a:hover {
            text-decoration: none;
        }

.services .icon-box .icon-box:hover h4 a {
    color: var(--colorP);
}

.services .icon-box p {
    margin-left: 210px;
    line-height: 24px;
    font-size: 14px;
}

#servicesIco .icon-box p, #servicesIco .icon-box h4 {
    margin-left: 70px !important;
}

.cursorPointer {
    cursor: pointer;
}


@media (max-width: 768px) {
    .services img {
        float: none;
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .services .icon-box h4, .services .icon-box p {
        margin-left: unset;
    }
}

@media (max-width: 575px) {
    .services img {
        float: none;
        max-width: 100%;
        height: auto;
        margin-bottom: auto;
    }
}


/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio #portfolio-flters li {
        cursor: pointer;
        display: inline-block;
        padding: 8px 15px 10px 15px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        color: #444444;
        margin-bottom: 5px;
        transition: all 0.3s ease-in-out;
        border-radius: 3px;
    }

        .portfolio #portfolio-flters li:hover,
        .portfolio #portfolio-flters li.filter-active {
            color: #fff;
            background: var(--colorP);
        }

        .portfolio #portfolio-flters li:last-child {
            margin-right: 0;
        }

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(17, 17, 17, 0.6);
}

    .portfolio .portfolio-wrap::before {
        content: "";
        background: rgba(17, 17, 17, 0.6);
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        transition: all ease-in-out 0.3s;
        z-index: 2;
        opacity: 0;
    }

    .portfolio .portfolio-wrap img {
        transition: all ease-in-out 0.3s;
    }

    .portfolio .portfolio-wrap .portfolio-info {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 20px;
    }

        .portfolio .portfolio-wrap .portfolio-info h4 {
            font-size: 20px;
            color: #fff;
            font-weight: 600;
        }

        .portfolio .portfolio-wrap .portfolio-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            text-transform: uppercase;
            padding: 0;
            margin: 0;
            font-style: italic;
        }

    .portfolio .portfolio-wrap .portfolio-links {
        text-align: center;
        z-index: 4;
    }

        .portfolio .portfolio-wrap .portfolio-links a {
            color: rgba(255, 255, 255, 0.4);
            margin: 0 5px 0 0;
            font-size: 28px;
            display: inline-block;
            transition: 0.3s;
        }

            .portfolio .portfolio-wrap .portfolio-links a:hover {
                color: #fff;
            }

    .portfolio .portfolio-wrap:hover::before {
        opacity: 1;
    }

    .portfolio .portfolio-wrap:hover img {
        transform: scale(1.2);
    }

    .portfolio .portfolio-wrap:hover .portfolio-info {
        opacity: 1;
    }

/*--------------------------------------------------------------
#   Gallery
--------------------------------------------------------------*/
.gallery {
    padding: 120px 0;
    margin-top: -120px;
}

    .gallery:before {
        content: "";
        position: absolute;
        bottom: -40px;
        top: 60px;
        left: 0;
        right: 0;
        background: url(/uploads/sfondo_mc.jpg) top center no-repeat;
        background-size: cover;
        transform: skewY(3deg);
    }

    .gallery .card-img-top {
        height: 300px;
        overflow: hidden;
    }

        .gallery .card-img-top img {
            height: 300px;
            width: auto;
        }

    .gallery .card:hover img {
        transform: scale(1.2);
        transition-duration: 0.3s;
    }

    .gallery .btn-primary {
        background-color: var(--colorTesti);
        color: #fff;
        border: 0px;
    }

    .gallery .shadow-sm {
        height: 455.59px;
        height: 455.59px;
    }

    .gallery .section-title p {
        color: #000;
    }
/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
    padding-top: 40px;
}

    .portfolio-details .portfolio-details-slider img {
        width: 100%;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: #fff;
            opacity: 1;
            border: 1px solid var(--colorP);
        }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
            background-color: var(--colorP);
        }

    .portfolio-details .portfolio-info {
        padding: 30px;
        box-shadow: 0px 0 30px rgba(17, 17, 17, 0.08);
    }

        .portfolio-details .portfolio-info h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .portfolio-details .portfolio-info ul {
            list-style: none;
            padding: 0;
            font-size: 15px;
        }

            .portfolio-details .portfolio-info ul li + li {
                margin-top: 10px;
            }

    .portfolio-details .portfolio-description {
        padding-top: 30px;
    }

        .portfolio-details .portfolio-description h2 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .portfolio-details .portfolio-description p {
            padding: 0;
        }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 15px;
    margin: 30px 15px;
    min-height: 200px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #fff;
    border-radius: 15px;
}

    .testimonials .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 10px;
        border: 6px solid #fff;
        float: left;
        margin: 0 10px 0 0;
    }

    .testimonials .testimonial-item h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 25px 0 5px 0;
        color: #111;
    }

    .testimonials .testimonial-item h4 {
        font-size: 14px;
        color: #999;
        margin: 0;
    }

    .testimonials .testimonial-item .quote-icon-left,
    .testimonials .testimonial-item .quote-icon-right {
        color: #fceaea;
        font-size: 26px;
    }

    .testimonials .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .testimonials .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
    }

    .testimonials .testimonial-item p {
        font-style: italic;
        margin: 30px auto 15px auto;
    }

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: #fff;
        opacity: 1;
        border: 1px solid var(--colorP);
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--colorP);
    }

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.news-section-bg {
    padding: 120px 0;
    margin-top: -120px;
    color: #fff;
}

    .news-section-bg:before {
        content: "";
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../uploads/news/') top center no-repeat;
        background-size: cover;
        position: absolute;
        bottom: -40px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

.news .section-title h2 {
    color: white;
}

    .news .section-title h2:after {
        background-color: white;
    }

.news p {
    color: white !important;
}

.news h3 {
    color: white !important;
}

.news .swiper-pagination-bullet {
    color: #fff;
    background-color: #fff;
    opacity: 1;
}

    .news .swiper-pagination-bullet.swiper-pagination-bullet-active {
        color: var(--colorTesti);
        background-color: var(--colorTesti);
    }

.news .swiper-pagination {
    margin-top: 30px !important;
    position: relative;
}

.news .btn-primary {
    background-color: var(--colorTesti);
    border: 0px;
    position: relative;
}

.portfolio-details {
    padding-top: 40px;
}

    .portfolio-details .portfolio-details-container {
        position: relative;
    }

    .portfolio-details .portfolio-details-carousel {
        position: relative;
        z-index: 1;
    }

        .portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
            margin-top: 5px;
            text-align: left;
        }

        .portfolio-details .portfolio-details-carousel .owl-dot {
            display: inline-block;
            margin: 0 10px 0 0;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ddd !important;
        }

            .portfolio-details .portfolio-details-carousel .owl-dot.active {
                background-color: #73c7e8 !important;
            }

    .portfolio-details .portfolio-info {
        padding: 30px;
        position: absolute;
        right: 0;
        bottom: -70px;
        background: #fff;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
        z-index: 2;
        max-width: 300px;
    }

        .portfolio-details .portfolio-info h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .portfolio-details .portfolio-info ul {
            list-style: none;
            padding: 0;
            font-size: 15px;
        }

            .portfolio-details .portfolio-info ul li + li {
                margin-top: 10px;
            }

    .portfolio-details .portfolio-description {
        padding-top: 50px;
    }

        .portfolio-details .portfolio-description h2 {
            width: 50%;
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .portfolio-details .portfolio-description p {
            padding: 0 0 0 0;
        }

    .portfolio-details .card-img-top {
        max-height: 190px;
        width: auto !important;
    }

    .portfolio-details .owl-carousel .owl-item img {
        max-height: 650px;
        width: unset;
        margin: auto;
    }

.badge-primary {
    background-color: var(--colorP);
}

@media (max-width: 992px) {
    .portfolio-details .portfolio-description h2 {
        width: 100%;
    }

    .portfolio-details .portfolio-info {
        position: static;
        margin-top: 30px;
    }
}

/*--------------------------------------------------------------
# Certifications
--------------------------------------------------------------*/

.container-certificazioni {
    position: relative;
    cursor: zoom-in;
}

    .container-certificazioni img {
        cursor: zoom-in;
    }

.overlay-certificazioni {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: var(--colorS);
    overflow-y: auto;
}

.container-certificazioni:hover .overlay-certificazioni {
    opacity: 1;
}

.text-certificazioni {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.c-box {
    background-origin: content-box !important;
}
/*--------------------------------------------------------------
# End Certifications
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
    padding: 20px;
    background: #2b2b2b;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

    .pricing .box h3 {
        font-weight: 400;
        padding: 15px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .pricing .box h4 {
        font-size: 42px;
        font-weight: 500;
        font-family: "Open Sans", sans-serif;
        margin-bottom: 20px;
    }

        .pricing .box h4 sup {
            font-size: 20px;
            top: -15px;
            left: -3px;
        }

        .pricing .box h4 span {
            font-size: 16px;
            font-weight: 300;
        }

    .pricing .box ul {
        padding: 0;
        list-style: none;
        text-align: center;
        line-height: 20px;
        font-size: 14px;
    }

        .pricing .box ul li {
            padding-bottom: 16px;
        }

        .pricing .box ul i {
            color: var(--colorP);
            font-size: 18px;
            padding-right: 4px;
        }

        .pricing .box ul .na {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: line-through;
        }

    .pricing .box .btn-wrap {
        padding: 15px;
        text-align: center;
    }

    .pricing .box .btn-buy {
        display: inline-block;
        padding: 10px 40px 12px 40px;
        border-radius: 4px;
        color: #fff;
        transition: none;
        font-size: 14px;
        font-weight: 400;
        font-family: "Raleway", sans-serif;
        font-weight: 600;
        transition: 0.3s;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

        .pricing .box .btn-buy:hover {
            border-color: #fff;
        }

.pricing .featured {
    background: var(--colorP);
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
    padding: 0;
    list-style: none;
}

    .faq .faq-list li {
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .faq .faq-list a {
        display: block;
        position: relative;
        font-family: var(--colorP);
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
        padding-right: 25px;
        cursor: pointer;
    }

    .faq .faq-list i {
        font-size: 24px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .faq .faq-list p {
        margin-bottom: 0;
        padding: 10px 0 0 0;
        color: darkgray;
    }

    .faq .faq-list .icon-show {
        display: none;
    }

    .faq .faq-list a.collapsed {
        color: #343a40;
    }

        .faq .faq-list a.collapsed:hover {
            color: var(--colorP);
        }

        .faq .faq-list a.collapsed .icon-show {
            display: inline-block;
        }

        .faq .faq-list a.collapsed .icon-close {
            display: none;
        }

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
}

    .team .member .member-img {
        position: relative;
        overflow: hidden;
    }

    .team .member .social {
        position: absolute;
        left: 0;
        bottom: 30px;
        right: 0;
        opacity: 0;
        transition: ease-in-out 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .team .member .social a {
            transition: color 0.3s;
            color: #111111;
            margin: 0 3px;
            border-radius: 50px;
            width: 36px;
            height: 36px;
            background: var(--colorP);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: ease-in-out 0.3s;
            color: #fff;
        }

            .team .member .social a:hover {
                background: #111111;
            }

        .team .member .social i {
            font-size: 18px;
            line-height: 0;
        }

    .team .member .member-info {
        padding: 25px 15px;
    }

        .team .member .member-info h4 {
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 18px;
            color: #111111;
        }

        .team .member .member-info span {
            display: block;
            font-size: 13px;
            font-weight: 400;
            color: #aaaaaa;
        }

        .team .member .member-info p {
            font-style: italic;
            font-size: 14px;
            line-height: 26px;
            color: #777777;
        }

    .team .member:hover .social {
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# Materials
--------------------------------------------------------------*/
.material h3 {
    color: var(--colorP);
    font-weight: bold;
}

.material p {
    color: #fff;
}

#materials {
    margin-top: -120px;
}

.material-section-bg {
    padding: 120px 0;
    color: #fff;
}

    .material-section-bg:before {
        content: "";
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../uploads/materiali/capannone.jpg') top center no-repeat;
        background-size: cover;
        position: absolute;
        bottom: -40px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(3deg);
    }

.material {
    text-align: center;
}

.materials .row {
    text-align: center;
    justify-content: center;
}

.img-materiali {
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.2);
    height: 300px;
    width: 300px;
    object-fit: cover;
    object-position: center;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-section-bg {
    padding: 120px 0;
    margin-top: -120px;
    color: #fff;
}

    .contact-section-bg:before {
        content: "";
        background: url('../../uploads/sfondi/sfondo-8.jpg') center center no-repeat; /* linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), */
        background-size: cover;
        position: absolute;
        bottom: -40px;
        top: 60px;
        left: 0;
        right: 0;
        transform: skewY(-3deg);
    }

    .contact-section-bg .section-title h2 {
        color: white;
    }

        .contact-section-bg .section-title h2:after {
            background-color: white;
        }

.box-form.semit {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.box-form {
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 1px 1px rgba(0, 0, 0, 0.05);
    padding-top: 80px;
    padding-bottom: 30px;
    margin-top: 70px;
    /* margin-bottom: 90px; */
    position: relative;
}

    .box-form .form-icon {
        position: absolute;
        left: 50%;
        top: 0;
        margin: -70px 0 0 -70px;
        /* border: 10px #fff solid; */
        width: 140px;
        height: 140px;
        border-radius: 50%;
    }

    .box-form .form-wrapper {
        padding: 0 50px;
    }

.title {
    color: #232c3b;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    text-align: center;
}

.box-form .form-wrapper .form-contact .form-control {
    width: 100%;
    height: 40px;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 40px;
    padding: 0 20px;
    border: none;
    font-size: 14px;
    color: #6a7483;
}

.form-check-input {
    width: 20px !important;
    height: 20px !important;
    padding: 5px !important;
    background-color: #beafa8 !important;
}

.form-check-label {
    display: unset !important;
    color: black;
}

    .form-check-label a:hover {
        text-decoration: underline;
    }

.form-group label {
    color: #fff;
}

    .form-group label p a {
        color: #fff;
        text-decoration: underline;
    }

.contact .info-box {
    background-color: var(--colorTesti);
    color: #444444;
    text-align: center;
    padding: 30px 0 32px 0;
    border-radius: 4px;
    border: 1px solid white;
}

    .contact .info-box a {
        color: white;
    }

        .contact .info-box a:hover {
            color: #4A90E2;
        }

    .contact .info-box i {
        font-size: 32px;
        color: var(--colorP);
        color: white;
        border-radius: 50%;
        padding: 8px;
        border: 2px dotted #f8d4d5;
    }

    .contact .info-box h3 {
        font-size: 20px;
        color: #777777;
        color: white;
        font-weight: 700;
        margin: 10px 0;
    }

    .contact .info-box p {
        padding: 0;
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
        color: white;
    }

.contact .php-email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px;
    border-radius: 4px;
}

    .contact .php-email-form .error-message {
        display: none;
        color: #fff;
        background: #ed3c0d;
        text-align: left;
        padding: 15px;
        font-weight: 600;
    }

        .contact .php-email-form .error-message br + br {
            margin-top: 25px;
        }

    .contact .php-email-form .sent-message {
        display: none;
        color: #fff;
        background: #18d26e;
        text-align: center;
        padding: 15px;
        font-weight: 600;
    }

    .contact .php-email-form .loading {
        display: none;
        background: #fff;
        text-align: center;
        padding: 15px;
    }

        .contact .php-email-form .loading:before {
            content: "";
            display: inline-block;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            margin: 0 10px -6px 0;
            border: 3px solid #18d26e;
            border-top-color: #eee;
            -webkit-animation: animate-loading 1s linear infinite;
            animation: animate-loading 1s linear infinite;
        }

    .contact .php-email-form .form-group {
        margin-bottom: 25px;
    }

    .contact .php-email-form input,
    .contact .php-email-form textarea {
        box-shadow: none;
        font-size: 14px;
        border-radius: 4px;
    }

        .contact .php-email-form input:focus,
        .contact .php-email-form textarea:focus {
            border-color: #111111;
        }

    .contact .php-email-form input {
        padding: 10px 15px;
    }

    .contact .php-email-form textarea {
        padding: 12px 15px;
    }

    .contact .php-email-form button[type=submit] {
        background: var(--colorP);
        border: 0;
        padding: 10px 32px;
        color: #fff;
        transition: 0.4s;
        border-radius: 4px;
    }

        .contact .php-email-form button[type=submit]:hover {
            background: #e35052;
        }

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
    padding: 40px 0 20px 0;
}

    .blog .entry {
        padding: 30px;
        margin-bottom: 60px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

        .blog .entry .entry-img {
            max-height: 440px;
            margin: -30px -30px 20px -30px;
            overflow: hidden;
        }

        .blog .entry .entry-title {
            font-size: 28px;
            font-weight: bold;
            padding: 0;
            margin: 0 0 20px 0;
        }

            .blog .entry .entry-title a {
                color: #111111;
                transition: 0.3s;
            }

                .blog .entry .entry-title a:hover {
                    color: var(--colorP);
                }

        .blog .entry .entry-meta {
            margin-bottom: 15px;
            color: #777777;
        }

            .blog .entry .entry-meta ul {
                display: flex;
                flex-wrap: wrap;
                list-style: none;
                align-items: center;
                padding: 0;
                margin: 0;
            }

                .blog .entry .entry-meta ul li + li {
                    padding-left: 20px;
                }

            .blog .entry .entry-meta i {
                font-size: 16px;
                margin-right: 8px;
                line-height: 0;
            }

            .blog .entry .entry-meta a {
                color: #777777;
                font-size: 14px;
                display: inline-block;
                line-height: 1;
            }

        .blog .entry .entry-content p {
            line-height: 24px;
        }

        .blog .entry .entry-content .read-more {
            -moz-text-align-last: right;
            text-align-last: right;
        }

            .blog .entry .entry-content .read-more a {
                display: inline-block;
                background: var(--colorP);
                color: #fff;
                padding: 6px 20px;
                transition: 0.3s;
                font-size: 14px;
                border-radius: 4px;
            }

                .blog .entry .entry-content .read-more a:hover {
                    background: #e35052;
                }

        .blog .entry .entry-content h3 {
            font-size: 22px;
            margin-top: 30px;
            font-weight: bold;
        }

        .blog .entry .entry-content blockquote {
            overflow: hidden;
            background-color: #fafafa;
            padding: 60px;
            position: relative;
            text-align: center;
            margin: 20px 0;
        }

            .blog .entry .entry-content blockquote p {
                color: #444444;
                line-height: 1.6;
                margin-bottom: 0;
                font-style: italic;
                font-weight: 500;
                font-size: 22px;
            }

            .blog .entry .entry-content blockquote::after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 3px;
                background-color: #111111;
                margin-top: 20px;
                margin-bottom: 20px;
            }

        .blog .entry .entry-footer {
            padding-top: 10px;
            border-top: 1px solid #e6e6e6;
        }

            .blog .entry .entry-footer i {
                color: #5e5e5e;
                display: inline;
            }

            .blog .entry .entry-footer a {
                color: #1e1e1e;
                transition: 0.3s;
            }

                .blog .entry .entry-footer a:hover {
                    color: var(--colorP);
                }

            .blog .entry .entry-footer .cats {
                list-style: none;
                display: inline;
                padding: 0 20px 0 0;
                font-size: 14px;
            }

                .blog .entry .entry-footer .cats li {
                    display: inline-block;
                }

            .blog .entry .entry-footer .tags {
                list-style: none;
                display: inline;
                padding: 0;
                font-size: 14px;
            }

                .blog .entry .entry-footer .tags li {
                    display: inline-block;
                }

                    .blog .entry .entry-footer .tags li + li::before {
                        padding-right: 6px;
                        color: #6c757d;
                        content: ",";
                    }

            .blog .entry .entry-footer .share {
                font-size: 16px;
            }

                .blog .entry .entry-footer .share i {
                    padding-left: 5px;
                }

    .blog .entry-single {
        margin-bottom: 30px;
    }

    .blog .blog-author {
        padding: 20px;
        margin-bottom: 30px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

        .blog .blog-author img {
            width: 120px;
            margin-right: 20px;
        }

        .blog .blog-author h4 {
            font-weight: 600;
            font-size: 22px;
            margin-bottom: 0px;
            padding: 0;
            color: #111111;
        }

        .blog .blog-author .social-links {
            margin: 0 10px 10px 0;
        }

            .blog .blog-author .social-links a {
                color: rgba(17, 17, 17, 0.5);
                margin-right: 5px;
            }

        .blog .blog-author p {
            font-style: italic;
            color: #b7b7b7;
        }

    .blog .blog-comments {
        margin-bottom: 30px;
    }

        .blog .blog-comments .comments-count {
            font-weight: bold;
        }

        .blog .blog-comments .comment {
            margin-top: 30px;
            position: relative;
        }

            .blog .blog-comments .comment .comment-img {
                margin-right: 14px;
            }

                .blog .blog-comments .comment .comment-img img {
                    width: 60px;
                }

            .blog .blog-comments .comment h5 {
                font-size: 16px;
                margin-bottom: 2px;
            }

                .blog .blog-comments .comment h5 a {
                    font-weight: bold;
                    color: #444444;
                    transition: 0.3s;
                }

                    .blog .blog-comments .comment h5 a:hover {
                        color: var(--colorP);
                    }

                .blog .blog-comments .comment h5 .reply {
                    padding-left: 10px;
                    color: #111111;
                }

                    .blog .blog-comments .comment h5 .reply i {
                        font-size: 20px;
                    }

            .blog .blog-comments .comment time {
                display: block;
                font-size: 14px;
                color: #2b2b2b;
                margin-bottom: 5px;
            }

            .blog .blog-comments .comment.comment-reply {
                padding-left: 40px;
            }

        .blog .blog-comments .reply-form {
            margin-top: 30px;
            padding: 30px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

            .blog .blog-comments .reply-form h4 {
                font-weight: bold;
                font-size: 22px;
            }

            .blog .blog-comments .reply-form p {
                font-size: 14px;
            }

            .blog .blog-comments .reply-form input {
                border-radius: 4px;
                padding: 10px 10px;
                font-size: 14px;
            }

                .blog .blog-comments .reply-form input:focus {
                    box-shadow: none;
                    border-color: #ee9293;
                }

            .blog .blog-comments .reply-form textarea {
                border-radius: 4px;
                padding: 10px 10px;
                font-size: 14px;
            }

                .blog .blog-comments .reply-form textarea:focus {
                    box-shadow: none;
                    border-color: #ee9293;
                }

            .blog .blog-comments .reply-form .form-group {
                margin-bottom: 25px;
            }

            .blog .blog-comments .reply-form .btn-primary {
                border-radius: 4px;
                padding: 10px 20px;
                border: 0;
                background-color: #111111;
            }

                .blog .blog-comments .reply-form .btn-primary:hover {
                    background-color: #1e1e1e;
                }

    .blog .blog-pagination {
        color: #444444;
    }

        .blog .blog-pagination ul {
            display: flex;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .blog .blog-pagination li {
            margin: 0 5px;
            transition: 0.3s;
        }

            .blog .blog-pagination li a {
                color: #111111;
                padding: 7px 16px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .blog .blog-pagination li.active,
            .blog .blog-pagination li:hover {
                background: var(--colorP);
            }

                .blog .blog-pagination li.active a,
                .blog .blog-pagination li:hover a {
                    color: #fff;
                }

    .blog .sidebar {
        padding: 30px;
        margin: 0 0 60px 20px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

        .blog .sidebar .sidebar-title {
            font-size: 20px;
            font-weight: 700;
            padding: 0 0 0 0;
            margin: 0 0 15px 0;
            color: #111111;
            position: relative;
        }

        .blog .sidebar .sidebar-item {
            margin-bottom: 30px;
        }

        .blog .sidebar .search-form form {
            background: #fff;
            border: 1px solid #ddd;
            padding: 3px 10px;
            position: relative;
        }

            .blog .sidebar .search-form form input[type=text] {
                border: 0;
                padding: 4px;
                border-radius: 4px;
                width: calc(100% - 40px);
            }

            .blog .sidebar .search-form form button {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 15px;
                margin: -1px;
                background: var(--colorP);
                color: #fff;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
                line-height: 0;
            }

                .blog .sidebar .search-form form button i {
                    line-height: 0;
                }

                .blog .sidebar .search-form form button:hover {
                    background: #e34c4d;
                }

        .blog .sidebar .categories ul {
            list-style: none;
            padding: 0;
        }

            .blog .sidebar .categories ul li + li {
                padding-top: 10px;
            }

            .blog .sidebar .categories ul a {
                color: #111111;
                transition: 0.3s;
            }

                .blog .sidebar .categories ul a:hover {
                    color: var(--colorP);
                }

                .blog .sidebar .categories ul a span {
                    padding-left: 5px;
                    color: #aaaaaa;
                    font-size: 14px;
                }

        .blog .sidebar .recent-posts .post-item + .post-item {
            margin-top: 15px;
        }

        .blog .sidebar .recent-posts img {
            width: 80px;
            float: left;
        }

        .blog .sidebar .recent-posts h4 {
            font-size: 15px;
            margin-left: 95px;
            font-weight: bold;
        }

            .blog .sidebar .recent-posts h4 a {
                color: #111111;
                transition: 0.3s;
            }

                .blog .sidebar .recent-posts h4 a:hover {
                    color: var(--colorP);
                }

        .blog .sidebar .recent-posts time {
            display: block;
            margin-left: 95px;
            font-style: italic;
            font-size: 14px;
            color: #aaaaaa;
        }

        .blog .sidebar .tags {
            margin-bottom: -10px;
        }

            .blog .sidebar .tags ul {
                list-style: none;
                padding: 0;
            }

                .blog .sidebar .tags ul li {
                    display: inline-block;
                }

                .blog .sidebar .tags ul a {
                    color: #515151;
                    font-size: 14px;
                    padding: 6px 14px;
                    margin: 0 6px 8px 0;
                    border: 1px solid #c4c4c4;
                    display: inline-block;
                    transition: 0.3s;
                }

                    .blog .sidebar .tags ul a:hover {
                        color: #fff;
                        border: 1px solid var(--colorP);
                        background: var(--colorP);
                    }

                    .blog .sidebar .tags ul a span {
                        padding-left: 5px;
                        color: #aaaaaa;
                        font-size: 14px;
                    }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    position: relative;
    margin-top: -40px;
    color: #fff;
    font-size: 14px;
    background: #111111;
}

    #footer .footer-top {
        padding: 40px 0 15px 0;
        /* background: url('../../uploads/materiali/acciaio-inox.jpg') center no-repeat;
        background-size: cover; */
    }

        #footer .footer-top .footer-contact {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-contact h3 {
                font-size: 26px;
                line-height: 1;
                font-weight: 700;
            }

                #footer .footer-top .footer-contact h3 span {
                    color: var(--colorP);
                }

            #footer .footer-top .footer-contact p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 0;
                font-family: "Raleway", sans-serif;
            }

                #footer .footer-top .footer-contact p a {
                    color: white;
                }

                    #footer .footer-top .footer-contact p a:hover {
                        color: #4A90E2;
                        cursor: pointer;
                    }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: bold;
            position: relative;
            padding-bottom: 12px;
        }

            #footer .footer-top h4::after {
                content: "";
                position: absolute;
                display: block;
                width: 20px;
                height: 2px;
                background: var(--colorTesti);
                background: #4A90E2;
                bottom: 0;
                left: 0;
            }

        #footer .footer-top .footer-links {
            margin-bottom: 15px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: white;
                    font-size: 14px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 3px 0;
                    display: flex;
                    align-items: center;
                    font-size: 12px;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: #aaaaaa;
                    transition: 0.3s;
                    font-size: 14px;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        text-decoration: none;
                        color: #fff;
                    }

    #footer .footer-newsletter {
        font-size: 15px;
    }

        #footer .footer-newsletter h4 {
            font-size: 16px;
            font-weight: bold;
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-newsletter form {
            margin-top: 30px;
            background: #fff;
            padding: 5px 10px;
            position: relative;
            border-radius: 4px;
            text-align: left;
        }

            #footer .footer-newsletter form input[type=email] {
                border: 0;
                padding: 4px 8px;
                width: calc(100% - 100px);
            }

            #footer .footer-newsletter form input[type=submit] {
                position: absolute;
                top: 0;
                right: -1px;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 20px;
                background: var(--colorP);
                color: #fff;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
                box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
            }

                #footer .footer-newsletter form input[type=submit]:hover {
                    background: #e35052;
                }

    #footer .credits {
        padding-top: 5px;
        font-size: 13px;
    }

    #footer .social-links a {
        font-size: 18px;
        display: inline-block;
        background: #2b2b2b;
        color: #fff;
        line-height: 1;
        padding: 8px 0;
        margin-right: 4px;
        border-radius: 4px;
        text-align: center;
        width: 36px;
        height: 36px;
        transition: 0.3s;
    }

        #footer .social-links a:hover {
            background: var(--colorP);
            color: #fff;
            text-decoration: none;
        }

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
@keyframes bgChangeFade {
    0%, 11%, 100% {
        opacity: 1;
    }

    16%, 93% {
        opacity: 0;
    }
}

.skills {
    margin-top: -120px;
    padding: 120px 0;
}

    .skills:before {
        content: "";
        background-size: cover;
        position: absolute;
        bottom: 60px;
        top: -40px;
        left: 0;
        right: 0;
        z-index: -1;
        transform: skewY(-3deg);
    }

#skills .slider {
    overflow: hidden;
    width: 100%;
    height: 80vh;
    position: relative;
}

    #skills .slider .slide-skills {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        animation: bgChangeFade 24s infinite;
    }

        #skills .slider .slide-skills:nth-child(1) {
            background-image: url('../../uploads/skills/semitubo_simca.jpg');
            animation-delay: -21s;
        }

        #skills .slider .slide-skills:nth-child(2) {
            background-image: url('../../uploads/skills/semitubo_simca_2.jpg');
            animation-delay: -18s;
        }

        #skills .slider .slide-skills:nth-child(3) {
            background-image: url('../../uploads/skills/semitubo_simca_3.jpg');
            animation-delay: -15s;
        }

        #skills .slider .slide-skills:nth-child(4) {
            background-image: url('../../uploads/skills/semitubo_simca_4.jpg');
            animation-delay: -12s;
        }

        #skills .slider .slide-skills:nth-child(5) {
            background-image: url('../../uploads/skills/semitubo_simca_5.jpg');
            animation-delay: -9s;
        }

        #skills .slider .slide-skills:nth-child(6) {
            background-image: url('../../uploads/skills/semitubo_simca_6.jpg');
            animation-delay: -6s;
        }

        #skills .slider .slide-skills:nth-child(7) {
            background-image: url('../../uploads/skills/semitubo_simca_7.jpg');
            animation-delay: -3s;
        }

        #skills .slider .slide-skills:nth-child(8) {
            background-image: url('../../uploads/skills/semitubo_simca_8.jpg');
            animation-delay: 0s;
        }

.skills .content h3 {
    font-weight: 700;
    font-size: 32px;
    color: #37517e;
    font-family: "Poppins", sans-serif;
}

.skills .content ul {
    list-style: none;
    padding: 0;
}

    .skills .content ul li {
        padding-bottom: 10px;
    }

    .skills .content ul i {
        font-size: 20px;
        padding-right: 4px;
        color: #47b2e4;
    }

.skills .content p:last-child {
    margin-bottom: 0;
}

.skills .section-title p {
    color: #000;
}

.skills .skill-desc .skill {
    padding: 0;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: #000;
    color: var(--colorTesti);
}

    .skills .skill-desc .skill .val {
        float: right;
        font-style: normal;
    }

.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

    .skills .progress .skill {
        padding: 0;
        margin: 0 0 6px 0;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        font-family: "Poppins", sans-serif;
        color: #000;
    }

        .skills .progress .skill .val {
            float: right;
            font-style: normal;
        }

.skills .progress-bar-wrap {
    background: #e8edf5;
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: #4668a2;
}

.imprenditore ul {
    list-style: none;
    padding: 0;
}

    .imprenditore ul li {
        padding-bottom: 10px;
    }

    .imprenditore ul i {
        font-size: 20px;
        padding-right: 10px;
        color: var(--colorP);
    }

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table thead tr th {
        background-color: var(--colorP);
        color: #ffffff;
        text-align: center;
    }

    .styled-table th,
    .styled-table td {
        padding: 12px 15px;
        border: 1px solid #777777 !important;
    }

    .styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table tbody tr th {
            background-color: var(--colorP);
        }

        .styled-table tbody tr:nth-of-type(even) {
            background-color: #444444;
        }

        .styled-table tbody tr:last-of-type {
            border-bottom: 2px solid var(--colorP);
        }

        .styled-table tbody tr.active-row {
            font-weight: bold;
            color: #009879;
        }

    .styled-table thead .vuota {
        background-color: transparent !important;
        border-top: 0px !important;
        border-left: 0px !important;
    }

#contact .form-check-input {
    border: 0px !important;
    background-color: transparent;
}

.cursorNotAllowed {
    cursor: not-allowed;
}

#contact .btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 30px;
    color: #000;
    background: var(--colorP);
    border: 2px solid var(--colorP);
}

#contact .aspNetDisabled.btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 30px;
    color: #fff;
    background: #f77476;
    border: 2px solid #f77476;
}

#testo .youtube-embed-wrapper {
    padding: 0 !important;
    height: auto !important;
}

#testo iframe {
    position: unset !important;
}

@media (max-width: 767px) {
    #testo iframe {
        width: 100%;
        height: 100%;
    }
}

/* ******** 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;
    }
}


/*.pnlInformativa {
    position: fixed;
    max-width: 915px;
    width: 90vw;
    top: 30px;
    left: calc(50% - 425px);
    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: 16px;
    font-size: 14px;
}

#testoInf {
    font-family: -apple-system, sans-serif !important;
    line-height: 20px;
}

#personalizza, #rifiuta, #accetta, #rifiutaT, #salvaPreferenze {
    border-radius: 64px !important;
}

@media (max-width: 575px) {
    .pnlInformativa {
        max-width: 400px;
        width: 90vw;
        top: 30px;
        left: calc(50% - 175px);
    }

    #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;
    }

/***  ***/
.justify-items-center {
    justify-items: center;
}

.services-home {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service {
    flex: 1 1 20%;
    position: relative;
    height: 400px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

    .service::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* overlay iniziale */
        transition: background 0.3s ease;
        z-index: 0; /* sotto al testo */
    }

    .service:hover {
        transform: scale(1.03);
    }

    .service:hover::before {
        background: rgba(0, 0, 0, 0.15); /* overlay più chiaro all'hover */
    }

.service-text {
    position: relative; /* per metterlo sopra l’overlay */
    z-index: 1;
    padding: 15px;
    font-size: 1.5em;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .service {
        flex: 1 1 100%;
    }
}

#bannerClinica {
    height: 50vh;
}

.left-panel, .right-panel {
    height: 100%;
    box-sizing: border-box;
}

.left-panel {
    width: 60%;
    background-color: #000a1f;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
}

.right-panel {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    #bannerClinica {
        flex-direction: column;
        height: auto;
    }

    .left-panel, .right-panel {
        width: 100%;
        height: auto;
    }

    .left-panel {
        padding: 20px;
        margin-bottom: 5px;
    }

    .right-panel {
        max-height: 35vh;
        order: -1;
    }

    .right-panel img {
        height: 100%;
    }
}

/* --- Schermi molto piccoli --- */
@media (max-width: 360px) {
    /* nasconde immagine sui device più piccoli */
    .right-panel {
        display: none;
    }
    
    .left-panel {
        padding: 16px;
    }
}

/*** FORM CONSULTO ***/
#backdrop {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9998;
}

#consulto {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 9999;
}

@media (max-width: 768px) {
    #consulto {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        overflow-y: auto;
    }
}