/*
Theme Name: Tema Aicod Landing Page
Author: Aicod - Michele
*/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* --swiper-theme-color: #fff; */
    --colore-verde: #008C45;
    --bs-accordion-btn-active-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c3002f' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--colore-testo);
    font-weight: 500;
    line-height: 26px;
    font-size: 16px;
    letter-spacing: normal;
}
p {
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    color: var(--colore-testo);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--colore-titolo);
    font-weight: 500;
    letter-spacing: 0.015em;
}

a {
    color: var(--colore-primario);
    text-decoration: underline;
    font-weight: 700;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}

a:hover {
    color: #171717;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}

.padding-box-3>* {
    padding: 3px;
}
.no-padding-box>* {
    padding: 0;
}
.no-gutter-x {
    --bs-gutter-x: 0;
}

.image-responsive {
    width: 100%;
    height: auto;
    display: block;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Btn */
.btn-auto {
    background-color: var(--colore-primario);
    color: #fff;
    border-radius: 0;
    border: 0;
    padding: 22px 50px;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 25px;
    letter-spacing: normal;
} 
.btn-auto:hover {
    background-color: var(--colore-secondario);
    color: #fff;
}
.btn-auto:active {
    background-color: var(--colore-secondario)!important;
    color: #fff!important;
    border: none!important;
}
.hero-box  .btn-auto {
    width: 100%;
}
.btn-auto-white {
    background-color: #fff;
    color: #000;
} 
.btn-black {
    background-color: #000;
    color: #fff;
} 
.btn-black:hover {
    background-color: var(--colore-primario);
    color: #fff;
}

@media (max-width: 480px) {
    .btn-auto {
        font-size: 18px;
        line-height: 23px;
        padding: 22px 20px;
        margin-top: 15px;
    }
}
/* Background Color */
.bg-white {
    background: #fff;
}
.bg-grey {
    background-color: #F1F1F1;
}
.bg-black {
    background-color: var(--colore-secondario);
}
.bg-green {
    background-color: var(--colore-verde);
}
.bg-red {
    background-color: var(--colore-primario);
}

/** Header **/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1001;
    padding: 0;
    background: rgba(255, 255, 255, 0);
    transition: all 250ms;
}

header.in-place {
    background: rgba(255, 255, 255, 1);
    -moz-box-shadow: 0 0 3px #ddd;
    -webkit-box-shadow: 0 0 3px #ddd;
    box-shadow: 0 -2px 15px #ddd;
    transition: all 250ms;
}

header .logo {
    position: absolute;
    /* top: 70px;
    left: 70px; */
    transition: all 250ms;
    top: 0px;
    left: 50px;
}
header.no-hero .logo {
    position: absolute;
    top: 0;
    left: 50px;
    transition: all 250ms;
}
header.in-place .logo {
    top: 0px;
    left: 50px;
}

.logo img {
    padding: 10px 0;
    height: 70px;
}

/* Hero Section */
.section-hero {
    padding: 144px 20px;
    /* min-height: 900px; */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.section-hero:before {
    content: "";
    position: absolute;
    top: 0;    
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    /* mix-blend-mode: darken; */
    opacity: 0.4;
    pointer-events: none;
    transition: top 500ms ease, opacity 500ms ease;
}
.hero-box {
    max-width: 500px;
    background-color: rgba(0, 0, 0, .7);
    padding: 50px;
}
.hero-box h1,
.hero-box h2,
.hero-box p {
    color: #fff;
}
.hero-box-mob h1,
.hero-box h1 {
    font-size: 44px;
    text-transform: uppercase;
}
.hero-box-mob h2,
.hero-box h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-box-mr {
    margin-right: 20px;
}
@media screen and (min-width:1550px) { 
    .hero-box-mr {
        margin-right: 5%;
    }
}
@media screen and (min-width:1900px) { 
    .hero-box-mr {
        margin-right: 10%;
    }
}
.section-hero-mob {
    display: none;
    padding: 60px 2rem;
}

@media (max-width: 991px) {
    .section-hero-mob {
        display: block;
    }
    .hero-box {
        display: none;
    }
    .section-hero {
        min-height: 400px;
        background-position: left;
    }
    .hero-box-mob h2 {
        margin-bottom: 10px;
    }
    .section-hero:before {
        height: 120px;
    }
}
.hero-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
}
.hero-bg-mobile:before {
    content: "";
    position: absolute;
    top: 0;    
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    /* mix-blend-mode: darken; */
    opacity: 0.4;
    pointer-events: none;
    transition: top 500ms ease, opacity 500ms ease;
}
@media (max-width: 575px) {
    .hero-bg-mobile {
        display: block;
    }
}
.hero-box-cta .btn-auto {
    width: 100%;
}
@media (max-width: 767px) {
    
    /* .hero-box-mob h1 {
        font-size: 16px;
        line-height: 20px;
    }
    .hero-box-mob h2 {
        font-size: 24px;
        line-height: 30px;
    } */
    .hero-box-mob p {
        font-size: 18px;
        line-height: 24px;
    }

    .section-hero-mob {
        padding: 30px 2rem;
    }
}

/* Blocco Titolo */
.title-box {
    font-size: 40px;
}
.title-box h2 {
    font-size: 40px;
    line-height: 50px;
    color: #000;
    margin-bottom: 20px;
}

.title-box p {
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 60px;
}
@media (max-width: 767px) {
    /* .title-box {
        padding: 0 2rem;
    } */
    .title-box h2 {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
    }
    .title-box p {
        font-size: 18px;
        font-weight: 300;
        line-height: 24px;
        margin-bottom: 30px;
        text-align: left;
    }
}
.tit-container {
    padding: 0 2rem;
}


/* Blocco Card */
.card-box {
    position: relative;
}
.card-image {
    position:relative;
    cursor:unset;
    aspect-ratio: 1 / 1;
    overflow: hidden;  
}
.card-image img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%; 
}

.card-image:before {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 0;
    right: 0;    
    left: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
    mix-blend-mode: darken;
    opacity: 0.7;
    pointer-events: none;
    transition: top 500ms ease-out, opacity 500ms ease-out; 
}
.card-box.hovered .card-image:before {
    top: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
    opacity: 1;
    transition: top 500ms ease-out, opacity 500ms ease-out;
}
.card-image:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;    
    left: 0;
    background-color: rgba(15, 15, 15, 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms ease-out; 
}
.card-box.hovered .card-image:after {
    opacity: .6;
    transition: opacity 500ms ease-out;
}



.box-tit {
    margin: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(100% - 100px);
    width: calc(100% - 100px);
    overflow: hidden;
}

.card-titolo {
    position: absolute;
    top: calc(100% - 76px);
    left: 0;
    width: 100%;
    transition: top 500ms ease-out;
}

.card-titolo.centered {
    top: 50%;
    transform: translateY(-50%);
    transition: top 500ms ease-out;
}
.card-titolo h2 {
    color: #fff;
    font-size: 32px;
    line-height: 38px;
}
.card-titolo p {
    color: #fff;
    margin-bottom: 0;
}
.section-card .cta-box {
    margin-top: 50px;
}
@media (min-width: 1400px) and (max-width: 1560px) {
    .card-titolo h2 {
        font-size: 28px;
        line-height: 34px;
    }
    .card-titolo p {
        font-size: 18px;
        line-height: 28px;
    }
    .box-tit {
        margin: 30px;
        height: calc(100% - 60px);
        width: calc(100% - 60px);
    }
}
@media (max-width: 1400px) {
    .card-image {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 500px) {
    .card-image {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 390px) {
    .box-tit {
        margin: 30px;
        height: calc(100% - 60px);
        width: calc(100% - 60px);
    }
}

/* Blocco Grid */
.grid-box {
    padding: 60px 30px;
    background-color: #F1F1F1;
    height: 100%;
}
.grid-box .grid-image {
    width: 80px;
    height: 80px;
    /* border-radius: 40px; */
    /* border: 2px solid #000; */
    margin: 0 auto 35px;
    /* padding: 15px; */
}
.grid-box .grid-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
}
/* .grid-box .grid-image svg {
    width: 100%;
    height: auto;
    fill: var(--colore-primario);
} */
.grid-box h2 {
    font-size: 24px;
    line-height: 30px;
}
.grid-box p {
    margin-bottom: 0;
}
.grid-mobile {
    display: none;
}

@media (max-width: 767px) {
    .section-grid {
        padding: 60px 2rem;
    }
}
@media (max-width: 991px) {
    .grid-mobile {
        display: block;
    }
    .grid-desktop {
        display: none;
    }
    .grid-box {
        margin: 0 3px;
        height: 100%;
    }
}

/*** Blocco Vieo Gallery **/
.box-gallery-video-evento {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.box-gallery-video-evento .glightbox img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.box-gallery-video-evento .glightbox .play-yt-video-gallery {
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    z-index: 111;
    width: 60px;
    cursor: pointer;
}

/* Blocco Gallery */
.gallery_strip_container .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.slick-slider {
    padding-bottom: 20px;
}

.gallery_strip_container .gallery_immagine_singola {
    position:relative;
    cursor:unset;
    aspect-ratio: 4 / 3;
    overflow: hidden;  
}
.gallery_strip_container .formato_ {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%; 
}
/* .gallery_strip_container .slick-slide {
    margin-left: 10px;
    margin-right: 10px;
} */

/* Slick Arrows */
.slick-navi.prev {
    right: unset;
    left: calc(50% - 32px);
    bottom: -15px;
    z-index: 10;
}
.slick-navi.next {
    left: unset;
    right: calc(50% - 32px);
    bottom: -15px;
    z-index: 10;
}
.slick-disabled {
    opacity: .5;
}
.slick-navi.prev.slick-news {
    background-image: url(/wp-content/themes/aicod-lp/assets/img/arrow-prev.svg); 
    cursor: pointer;
}
.slick-navi.next.slick-news {
    background-image: url(/wp-content/themes/aicod-lp/assets/img/arrow-next.svg); 
    cursor: pointer;
}
.slick-navi {
    width: 44px;
    height: 14px;
}
@media (max-width: 767px) {
    .gallery_strip_container .lightbox-img {
        pointer-events: none;
    }
}

/* Blocco Slideshow Modelli */
/* .slideshow_model_container .model-preview-box {
    position:relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.slideshow_model_container .model-preview-box img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%; 
} */
.slideshow_model_preview {
    cursor: pointer;
}
.slideshow_model_preview {
    opacity: 1;
}
.slideshow_model_container.-visible .slideshow_model_preview.-inactive {
    opacity: .5;
}
/* .slick-slide:not(.slick-current) .slideshow_model_preview.-inactive, */
.slideshow_model_container .slick-slide.slick-current .slideshow_model_preview.-inactive {
    opacity: 1;
}
.slideshow_model_container.-visible .slick-slide:not(.slick-current) .slideshow_model_preview.-active {
    opacity: .5
}



.slideshow_model_container p {
    text-align: center;
}


/* .slideshow_model_for .modelbox {
    display: flex;
    -webkit-animation: fadeAnimation 0.5s ease-out;
    animation: fadeAnimation 0.5s ease-out;
}

.slideshow_model_for .modelbox.-disabled {
    display: none;
}
.slideshow_model_for .slick-navi {
    display: none!important;
}
.slideshow_model_for.-visible .slick-navi {
    display: block!important;
} */



.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper.mySwiper {
    overflow: visible;
}
.mySwiper-slideshow,
.mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}
.mySwiper2 {
    height: 80%;
    width: 100%;
    margin-top: 30px;
}
.mySwiper2def {
    margin-top: 0;
}
.mySwiper-slideshow .swiper-slide,
.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 1;
}
.mySwiper-slideshow.visible .swiper-slide,
.mySwiper.visible .swiper-slide {
    opacity: 0.4;
}
.mySwiper-slideshow .swiper-slide.-active,
.mySwiper.visible .swiper-slide.-active, 
.mySwiper-slideshow .swiper-slide.-active,
.mySwiper .swiper-slide.-active {
    opacity: 1;
}
/* .mySwiper-slideshow {
    background-color: #000;
} */
.model-preview-box {
    position:relative;
    /* cursor:unset; */
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.model-preview-box img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%; 
}

.mySwiper2 .close-icon-swiper {
    cursor: pointer;
    position:absolute;
    top: 30px;
    right: 50px;
    z-index: 100;
}
.mySwiper2 .close-icon-swiper svg {
    width: 12px;
}
.mySwiper2 .text-side {
    padding: 50px;
    text-align: left;
}
.mySwiper2 .image-side {
    min-height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
}
.mySwiper2 .slick-list {
    position: relative;
    display: block;
    overflow: unset;
    margin: 0;
    padding: 0;
}
.mySwiper2 .swiper-button-next {
    right: 50px;
    bottom: 50px;
    top: auto;
}
.mySwiper2 .swiper-button-prev {
    left: auto;
    right: 100px;
    bottom: 50px;
    top: auto;
}

.swiper.mySwiper2 {
    margin-top: 50px;
    -webkit-box-shadow: 0 -2px 17px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 -2px 27px 0 rgba(0, 0, 0, 0.05);
}
.swiper.mySwiper2:not(.visible) {
    display:none;
}
.swiper.mySwiper2.visible {
    display:block;
}

/* Definizione dell'effetto fade */
/* Definizione dell'effetto fade */
@keyframes fadeAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @-webkit-keyframes fadeAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .mySwiper2 .swiper-slide:not(.-active){
    display:none;
    -webkit-animation: fadeAnimation 0.3s ease-out;
    animation: fadeAnimation 0.3s ease-out;
}
.mySwiper2 .swiper-slide.-active {
    display:block;
    -webkit-animation: fadeAnimation 0.3s ease-out;
    animation: fadeAnimation 0.3s ease-out;
}


/* Slideshow versione Default */
.mySwiper-slideshow .model-preview-box {
    position:relative;
    /* cursor:unset; */
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.mySwiper-slideshow .model-preview-box img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%; 
}
.mySwiper-slideshow .model-preview-box:before {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
    mix-blend-mode: darken;
    opacity: 0.7;
    pointer-events: none;
    transition: top 500ms ease-out, opacity 500ms ease-out;
}


.section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal {
    bottom: -20px;
}
.section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal .swiper-scrollbar-drag {
    border-radius: 4px;
    background: var(--colore-primario);
    cursor: move;
    cursor: grab;
    cursor: -webkit-grab;
}
.section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal .swiper-scrollbar-drag:hover, .section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal .swiper-scrollbar-drag:active {
    -webkit-transition: margin-top 200ms, height 200ms, padding 200ms !important;
    transition: margin-top 200ms, height 200ms, padding 200ms !important;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    margin-top: -5px;
    border-radius: 8px;
    height: 14px;
}
.section-slideshow  .swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%;
}
.slideshow_box {
    position: relative;
}  
.mySwiper-slideshow .swiper-slide {
    cursor: pointer;
}

.mySwiper-slideshow .model-title-box {
    position: absolute;
    left: 0;
    top: 0;
    height: calc(100% - 100px);
    width: calc(100% - 50px);
    overflow: hidden;
    margin: 50px 25px;
}
.mySwiper-slideshow .model-title {
    position: absolute;
    bottom: -48px;
    left: 0;
    width: 100%;
    transition: bottom 300ms ease-out;
}
.mySwiper-slideshow .swiper-slide.-active .model-title,
.mySwiper-slideshow .swiper-slide:hover .model-title {
    bottom: -10px;
    transition: bottom 300ms ease-out;
}
.mySwiper-slideshow .swiper-slide.-active .model-preview-box:before,
.mySwiper-slideshow .swiper-slide:hover .model-preview-box:before {
    top: 0;
    opacity: 0.9;
    transition: top 500ms ease-out, opacity 500ms ease-out;
}
.swiper-control .swiper-button-next, .swiper-control .swiper-button-prev {
    top: 74px;
    z-index: 1;
}
@media (min-width: 768px) {
    .swiper-control .swiper-button-next,
    .swiper-control .swiper-button-prev {
      display: none;
    }
  }
  @media (max-width: 767px) {
    .section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal .swiper-scrollbar-drag:hover, .section-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal .swiper-scrollbar-drag:active {
        -webkit-transition: none !important;
        transition: none !important;
        -webkit-transition-timing-function: ease-in-out;
        transition-timing-function: ease-in-out;
        margin-top: 0;
        border-radius: 4px;
        height: 4px;
        cursor: default;
    }
  }
.swiper-control .swiper-button-next {
    background-image: url(/wp-content/themes/aicod-lp/assets/img/arrow-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 44px;
    height: 14px;
    left: unset;
    right: calc(50% - 54px);
}
.swiper-control .swiper-button-prev {
    background-image: url(/wp-content/themes/aicod-lp/assets/img/arrow-prev.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 44px;
    height: 14px;
    right: unset;
    left: calc(50% - 54px);
}
.swiper-control .swiper-button-prev:after,
.swiper-control .swiper-button-next:after {
    content: '';
}
.mySwiper-slideshow .model-title h2 {
    color: #fff;
    font-size: 32px;
    line-height: 38px;
}
.mySwiper2def .title-box p {
    margin-bottom: 20px;
}

.mySwiper2def .text-side {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-slideshow svg {
    position: absolute;
    margin-left: 10px;
    top: 7px;
}
.cta-slideshow p {
    color: #fff;
    font-size: 20px;
    line-height: 28px;
    position: relative;
    margin-left: -30px;
}

.mySwiper-slideshow.swiper-backface-hidden .swiper-slide {
    transform: none;
}

@media screen and (max-width: 1200px) {
    .mySwiper-slideshow .model-title {
        bottom: -10px;
        transition: bottom 300ms ease-out;
    }
}
/* @media screen and (max-width: 992px) {
    .mySwiper2 .close-icon-swiper {
        top: 530px;
    }
} */
/* Blocco Text + Image */
.section-txtimg {
    padding: 0;
}

.section-txtimg .image-side {
    min-height: 540px; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;   
}

.section-txtimg .text-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;   
}
.section-txtimg .text-side.order-lg-2 {
    justify-content: flex-start;
}
.section-txtimg .text-side .title-box p {
    margin-bottom: 20px;
}

.section-txtimg .text-side .title-box {
    padding: 20px 60px;
}

@media (min-width: 1920px) {
    .section-txtimg .text-side .title-box {
        /* max-width: 660px;  */
        padding: 20px 170px;
    }
}

@media screen and (max-width: 992px) {
    .section-txtimg .text-side .title-box {
        padding: 60px 60px;
    }
}
@media (max-width: 767px) {
    .section-txtimg .text-side .title-box {
        padding: 60px 2rem;
    }
}
/* Blocco Testimonial */
.gallery_testimonial_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
}
.gallery_testimonial_container .slick-slide {
    padding: 0 20px 20px 20px;
    height: 100%;
}
.gallery_testimonial_container .slick-slide > div {
    height: 100%;
}
.gallery_testimonial_container .slick-track {
    height: 100%;
}
.tml-quote {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.tml-bottom {
    margin-top: 50px;
}
.tml-star {
    display: flex;
    margin-bottom: 50px;
}
.tml-star img {
    margin-right: 10px;
}
.box-testimonial {
    background-color: #000 ;
    padding: 30px;   
    height: 100%; 
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
.box-testimonial p {
    color: #fff ;
    font-size: 16px;
    font-weight: 300;    
    margin-bottom: 0;
}
.box-testimonial p.nome-testi {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}
.box-testimonial p.azienda-testi {
    font-size: 20px;
    font-weight: 500;
}
@media (max-width: 767px) {
    .gallery_testimonial_container .slick-slide {
        padding: 0 0 20px 0;
    }
    .section-testimonial {
        padding: 30px 2rem;
    }
}


/* Blocco Mappa */
#map {
    height: 540px;
}
.section-mappa {
    padding: 0;
}

.section-mappa .text-side {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.section-mappa .text-side .title-box {
    padding: 20px 60px;
}
@media (min-width: 1920px) {
    .section-mappa .text-side .title-box {
        /* max-width: 660px;  */
        padding: 20px 170px;
    }
}
@media screen and (max-width: 992px) {
    .section-mappa .text-side .title-box {
        padding: 60px;
    }
    #map {
        height: 400px;
    }
}
@media (max-width: 767px) {
    .section-mappa .text-side .title-box {
        padding: 60px 2rem;
    }
}
.box-sede {
    padding: 25px 0;
    border-bottom: 1px solid #F1F1F1;
}
.section-mappa .text-side .title-box .box-sede:last-child {
    border-bottom: none;
}
.section-mappa .text-side .title-box h2 {
    margin-bottom: 0;
}
.box-sede p {
    margin-bottom: 0;
}
.box-sede p span {
    font-weight: 500;
    text-transform: uppercase;
}
.box-sede a {
    color: var(--colore-testo-primario);
    text-decoration: underline;
    font-weight: 300;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}
.box-sede a:hover {
    color: var(--colore-primario);
}

.leaflet-control-container .leaflet-attribution-flag {
    display: none!important;
}

/* Blocco Contatti */
.section-contatti {
    padding: 80px 0;
    margin-top: 100px;
    margin-bottom: 30px;
}
.section-contatti .nav-link {
    border-radius: 0;
    border: 0;
    padding: 25px 50px;
    margin-right: 5px;
    font-size: 24px;
    background-color: #fff;
    color: #909090;
    font-weight: 500;
    text-transform: uppercase;
    background-image: linear-gradient(to bottom, #fff 50%, rgba(0,0,0,.1) 100%);
}
@media screen and (max-width: 1200px) {
    .section-contatti .nav-link {
        padding: 25px 40px;
    }
}
.section-contatti .nav-link:hover {
    color: var(--colore-primario);
}
.section-contatti .nav-link.active {
    background-image: none;
}
.section-contatti .tab-content {
    background-color: #fff;
    padding: 50px;
    border: 0;
}

/* .section-contatti .nav-tabs {
    border: 0;
} */
.contatti-mobile {
    display: none;
}
@media screen and (max-width: 992px) {
    .contatti-mobile {
       display: block;
    }
    .contatti-desktop {
        display: none;
    }
    .section-contatti {
        margin-top: 0;
    }
}
/* .section-contatti input {
    padding: 13px 20px;
    border: 1px solid #f1f1f1;
} */
.section-contatti .wpcf7-form-control.wpcf7-select,
.section-contatti .wpcf7 input[type="text"],
.section-contatti .wpcf7 input[type="email"],
.section-contatti .wpcf7 textarea {
    box-shadow: none;
    padding: 13px 20px;
    border: 1px solid #f1f1f1;
}
.wpcf7 .wpcf7-submit {
    width: auto;
}

.wpcf7 .wpcf7-submit:not([disabled]):hover {
    background: var(--colore-secondario);
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}
.wpcf7-form-control,
.wpcf7-form label {
    width: 100%;
}
/* .wpcf7-acceptance label {
    line-height: 1.15;
} */
.section-contatti .tab-content p,
.wpcf7-acceptance .wpcf7-list-item-label {    
    font-size: 18px;
    color: #909090;
}
.wpcf7-acceptance .wpcf7-list-item-label a {
    font-weight: 300;
    color: #909090;
}
.wpcf7-acceptance .wpcf7-list-item-label a:hover {
    font-weight: 300;
    color: #000;
}
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-not-valid-tip {
    position: absolute;
    top: 0px;
    right: 5px;
}
.wpcf7-textarea {
    height: 120px;
}
textarea + .wpcf7-not-valid-tip {
    top: -100px;
}

.contatti-mobile .accordion-item {
    border-radius: 0;
    border: none;
    margin-bottom: 2px;
}
.contatti-mobile .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: 0;
}
.contatti-mobile .accordion-button {
    border-radius: 0;
    color: #000;
    background-color: #fff;
    box-shadow: none;
    font-size: 18px;
    text-transform: uppercase;
    padding: 1.5rem
}
.contatti-mobile .accordion-body {
    border-top: solid 2px #F1F1F1;
}
.contatti-mobile .accordion-button:not(.collapsed)::after,
.contatti-mobile .accordion-button::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'none\' stroke=\'%23c3002f\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3e%3cpath d=\'M2 5L8 11L14 5\'/%3e%3c/svg%3e');    
}
.contatti-mobile .wpcf7-acceptance .wpcf7-list-item-label,
.contatti-mobile p {    
    font-size: 16px;
}
.contatti-mobile .wpcf7 input[type="text"],
.contatti-mobile .wpcf7 input[type="email"],
.contatti-mobile .wpcf7 textarea {
    font-size: 16px;
}
input {
    border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
}

input[type="submit" i] {
    background-color: var(--colore-primario);
    color: #fff;
    border-radius: 0;
    padding: 22px 50px;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 25px;
    letter-spacing: normal;
    border-color: transparent;
}
.input[type="submit"]:hover,
.input[type="submit"]:focus {
    background: var(--colore-secondario);
    color: #fff;
}
.wpcf7 form .wpcf7-response-output {
    margin: -20px 0 10px 0;
}

.hidden-input {
    display: none;
}

/* .wpcf7-acceptance .wpcf7-list-item-label {
    font-weight: 300;
    color: #909090;
} */
/* .accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
} */
@media (max-width: 575px) {
    .wpcf7 .wpcf7-submit {
        width: 100%;
    }
    input[type="submit" i] {
        padding: 22px 30px;
    }
}

.wpcf7 select.vespa-select {
    color: #757575; /* Colore normale del testo */
}
.wpcf7 select.vespa-select option {
    color: #1e1e1e; /* Colore del testo per il placeholder */
}
/* .wpcf7 select.vespa-select:invalid {
    color: red; 
} */
.wpcf7 select.vespa-select option:first-child {
    color: #757575; /* Colore normale per le altre opzioni */
    display: none;
}
/** OLD CSS **/


/** Footer **/
.sezione-footer {
    padding-top: 80px;
    padding-bottom: 0;
}
.container-footer-top {
    padding-bottom: 50px;
}
.footer-logo {
    /* margin-bottom: 50px; */
    max-width: 200px;
}
.bg-black .widget a:hover {
    color:#fff;
}
.footer-copy {
    padding-top: 20px;
    padding-bottom: 30px;
}
.footer-copy .widget p {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 14px;
}
.footer-copy .widget a {
    font-weight: 400;
    text-decoration: none;
    color: var(--colore-testo);
}
.footer-copy .widget a:hover {
    color: var(--colore-primario);
}
/* .footer-menu {
    margin-bottom: 40px;
} */
.footer-menu p {
    color: #fff;
    /* text-transform: uppercase; */
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 15px;
}
.footer-link {
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    font-weight:500;
    text-decoration: none;
}
.footer-link:hover {
    color: var(--colore-primario)!important;
}
@media screen and (max-width: 1200px) {
    .footer-logo {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 991px) {
    .footer-menu { 
        padding-bottom: 20px;       
        margin-bottom: 20px;
        border-bottom: 1px solid #fff;
    }
    .container-footer-top {
        padding-bottom: 40px;
    }
    .sezione-footer {
        padding-top: 40px;
    }
}
@media screen and (max-width: 575px) {
    .container-footer-top {
        padding-left: 30px;
        padding-right: 30px;
    }
}
.foot-w {
    padding-left: 5px;
    padding-right: 5px;
}

.sezione-footer .social-box {
    background-color: #F1F1F1;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-top: 60px;
}
.sezione-footer .row.g-0 > .col.text-center:not(:last-child) .box-s.box-social-link {
    border-right: 2px solid #fff;
}
.box-social-link {
    /* padding: 18px 20px;
    position: relative; */
    /* background-color: ; */
}
.footer-social-link {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 18px 20px;
}
.footer-social-link svg {
    height: 30px;
    width: auto;
}
.footer-social-link:hover {
    background-color: #fff;
}
.footer-social-link:hover svg {
    fill: var(--colore-primario);
}

.footer-social-link:hover #phone-icon {
    stroke: var(--colore-primario);
    fill: none;
}
/** Menu  **/
header .icon-trigger {
    /* width: 60px;
    height: 60px;
    top: 60px;
    right: 70px; */
    display: inline-block;
    position: absolute;
    overflow: hidden;
    z-index: 4;
    top: 0;
    width: 50px;
    height: 50px;
    right: 50px;
}
header .icon-trigger span {
    width: 30px;
    height: 2px;
    background: #171717;
    margin: 1px auto auto;
    position: relative;
    display: block;
    top: 50%;
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -moz-transition: all 250ms;
    -o-transition: all 250ms;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}
header.no-hero .icon-trigger,
header.in-place .icon-trigger {
    top: 0;
    width: 50px;
    height: 50px;
    right: 50px;
}

header .icon-trigger span:after, 
header .icon-trigger span:before {
    display: block;
    content: '';
    height: 2px;
    width: 30px;
    background: #171717;
    position: relative;
    transition: all 250ms;    
}
header .icon-trigger span:after {
    top: 5px;
}
header .icon-trigger span:before {
    bottom: 7px;
}
header .icon-trigger.is-active span, 
header .icon-trigger.is-active span:after, 
header .icon-trigger.is-active span:before {
    background: #fff;
}
header .icon-trigger.is-active span:before {
    -moz-transform: translateX(150%);
    -o-transform: translateX(150%);
    -webkit-transform: translateX(150%);
    -ms-transform: translateX(150%);
    transform: translateX(150%);
}
header .icon-trigger.is-active span:after {
    -moz-transform: translateX(-150%);
    -o-transform: translateX(-150%);
    -webkit-transform: translateX(-150%);
    -ms-transform: translateX(-150%);
    transform: translateX(-150%);
}
header.in-place .icon-trigger.is-active span {
    background: #171717;
}

nav {
    display: table;
    position: fixed;
    top: 70px;
    right: 0;
    height: calc(100% - 120px);
    width: 300px;
    z-index: 2;
    background: #171717;
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -moz-transition: all 250ms;
    -o-transition: all 250ms;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}
nav.is-active {
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    right: 60px
}
.in-place nav.is-active {
    right: 0;
}
nav .menu-class {
    display: table-cell;
    vertical-align: middle;
    padding: 0;
}
nav .menu-class li {
    margin: 17px 0;
    display: block;
    text-align: center;
}
nav .menu-class li a {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
    color: #fff;
    position: relative;
}
nav .menu-class li a:before {
    display: block;
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:%23ffffff}</style><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>');
    position: absolute;
    font-family: fontAwesome;
    top: 50%;
    font-size: 12px;
    margin-top: 4px;
    left: -20px;
    color: var(--colore-primario);
    opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}
nav .menu-class li a:hover:before {
    visibility: visible;
    opacity: 1;
    -khtml-opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    left: -30px
}
@media screen and (max-width: 600px) {
    .in-place nav.is-active, nav {
        right: 0;
        top: 70px;
    }
    nav {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    header.in-place .logo,
    header .logo {
        left: 20px;
    }
    header.in-place .icon-trigger,
    header .icon-trigger {
       right: 20px;
    }
}
#menu-nissan-commerciali {
    padding: 20px;
}
/** Privacy Policy **/
.row-title {
    padding: 120px 0;
}
.row-title h1 {
    font-size: 40px;
}

.box-privacy h2 {
    font-size: 24px;
}
.error404-box {
    margin-top: 180px;
}
.sezione-privacy li,
.sezione-privacy p {
    font-size: 14px;
    line-height: 18px;
    color: #666;
    font-weight: 300;
}
.sezione-privacy h1 {
    font-size: 30px;
    line-height: 36x;
    color: #333;
}
.sezione-privacy h2 {
    font-size: 22px;
    line-height: 28px;
    color: #333;
    margin-bottom: 30px;
}
.sezione-privacy h3 {
    font-size: 18px;
    line-height: 24px;
    color: #333;
    margin-top: 10px;
}
.sezione-privacy h4 {
    font-size: 16px;
    line-height: 22px;
    color: #333;
    margin-top: 10px;
}
.sezione-privacy .table>tbody {
    font-size: 12px;
    font-weight: 300;
}
.sezione-privacy .table>thead {
    font-size: 14px;
    color: #333;
}
.sezione-privacy .wp-block-table td,
.sezione-privacy .wp-block-table th {
    border: 1px solid #ccc;
}

.table>:not(caption)>*>* {
    color: #666;
}

.sezione-privacy p strong {
    font-weight: 600;
}

.CookieDeclarationTableCell {
    text-overflow: ellipsis;
    word-wrap: break-word;
    border-bottom: 1px solid #777777;
    vertical-align: top;
    padding: 4px 4px 5px 4px;
    color: #666;
    font-weight: 300;
    font-size: 14px;
}

.CookieDeclarationType {
    border: 1px solid #ccc!important;
}