/* ############################################### */
/* WHEEL MENU - DESKTOP */
/* ############################################### */

.wheel-menu {
    height: calc(100vh - 122px);
    background-size: 84% auto;
    object-fit: cover;
    position: relative;
    display: flex;
    align-items: center;
}

.wheel-menu.homepage {
    height: 100vh;
}

.wheel-menu.macchine {
    height: auto;
    background-size: 84% auto;
    object-fit: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 130px 0px 240px 0;
}

.wheel-menu .wheel-container {
    display: flex;
    justify-content: center;
}

.wheel-menu .glow-circle {
    position: relative;
    width: 750px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%,
            transparent 0%,
            transparent 72%,
            rgba(85, 185, 255, 0.03) 78%,
            rgba(115, 205, 255, 0.08) 84%,
            rgba(150, 225, 255, 0.14) 90%,
            rgba(120, 210, 255, 0.08) 95%,
            transparent 100%);
    box-shadow:
        0 0 5px 1px rgba(140, 210, 255, 0.95),
        0 0 12px 3px rgba(110, 195, 255, 0.85),
        0 0 28px 9px rgba(75, 170, 245, 0.65),
        0 0 58px 22px rgba(55, 155, 235, 0.45),
        0 0 96px 42px rgba(55, 150, 225, 0.28),
        inset 0 0 5px 1px rgba(155, 220, 255, 0.75),
        inset 0 0 18px 4px rgba(75, 170, 245, 0.45);
    filter: drop-shadow(0 0 10px rgba(95, 190, 255, 0.6));
}

.wheel-menu .glow-circle .logo {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
}

/* ###### Gestione dei pallini a cerchio ###### */

.wheel-menu .wheel-items {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.wheel-menu .wheel-item {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: auto;
}

.wheel-menu .wheel-dot {
    position: relative;
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--first-color);
    z-index: 2;
}

.wheel-menu .wheel-dot::after {
    content: '';
    position: absolute;
    z-index: -1;
}

.wheel-menu .wheel-dot .bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: linear-gradient(180deg,
            rgba(194, 194, 194, 0.84) 4%,
            rgba(194, 194, 194, 0.69) 29%,
            rgba(194, 194, 194, 0.38) 59%,
            rgba(255, 255, 255, 1) 100%);
}

/* ###### Label ###### */

.wheel-menu .wheel-label {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    font-size: var(--heading-4-font-size);
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 3;
    transition: .3s ease-in-out;
}

.wheel-menu .wheel-label .sottotitolo {
    font-size: 15px;
    color: #ccc;
}

/* RIGHT */

.wheel-item.label-right .wheel-dot::after {
    left: 100%;
    top: 50%;
    width: 300px;
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
            rgba(0, 190, 240, 1) 0%,
            rgba(0, 190, 240, 0.75) 25%,
            rgba(0, 190, 240, 0.35) 60%,
            rgba(0, 190, 240, 0) 100%);
}

.wheel-item.label-right .wheel-label {
    left: 32px;
    top: -40%;
    transform: translateY(-50%);
    text-align: left;
}

/* LEFT */

.wheel-item.label-left .wheel-dot::after {
    right: 100%;
    top: 50%;
    width: 300px;
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
            rgba(0, 190, 240, 0) 0%,
            rgba(0, 190, 240, 0.35) 40%,
            rgba(0, 190, 240, 0.75) 75%,
            rgba(0, 190, 240, 1) 100%);
}

.wheel-item.label-left .wheel-label {
    right: 32px;
    top: -40%;
    transform: translateY(-50%);
    text-align: right;
    padding-right: 0;
}

/* TOP */

.wheel-item.label-top .wheel-dot::after {
    left: 50%;
    bottom: 100%;
    width: 3px;
    height: 44px;
    transform: translateX(-50%);
    background: linear-gradient(0deg,
            rgba(0, 190, 240, 1) 0%,
            rgba(0, 190, 240, 0.75) 25%,
            rgba(0, 190, 240, 0.35) 60%,
            rgba(0, 190, 240, 0) 100%);
}

.wheel-item.label-top .wheel-label {
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    text-align: center;
}

/* BOTTOM */

.wheel-item.label-bottom .wheel-dot::after {
    left: 50%;
    top: 100%;
    width: 3px;
    height: 44px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            rgba(0, 190, 240, 1) 0%,
            rgba(0, 190, 240, 0.75) 25%,
            rgba(0, 190, 240, 0.35) 60%,
            rgba(0, 190, 240, 0) 100%);
}

.wheel-item.label-bottom .wheel-label {
    left: 50%;
    top: 48px;
    transform: translateX(-50%);
    text-align: center;
}

/* Hover pagine */

.wheel-menu .wheel-item.page .wheel-label {
    transition: .3s ease-in-out;
}

.wheel-menu .wheel-item.page .icon i {
    visibility: hidden;
    opacity: 0;
    font-size: 25px;
    color: var(--first-color);
    transition: .3s ease-in-out;
}

.wheel-menu .wheel-item.page:hover .icon i {
    visibility: visible;
    opacity: 1;
}

/* Hover top */

.wheel-menu .wheel-item.page.label-top .wheel-label {
    left: 5%;
}

.wheel-menu .wheel-item.page.label-top:hover .wheel-label .icon i {
    margin-right: 10px;
}

.wheel-menu .wheel-item.page.label-top:hover .wheel-label {
    left: 20%;
    margin-left: 10px;
}

/* Hover bottom */
.wheel-menu .wheel-item.page.label-bottom:hover .wheel-label {
    margin-left: 10px;
}

/* Hover right */
.wheel-menu .wheel-item.page.label-right .wheel-label {
    left: 5%;
}

.wheel-menu .wheel-item.page.label-right:hover .wheel-label .icon i {
    margin-right: 10px;
}

.wheel-menu .wheel-item.page.label-right:hover .wheel-label {
    left: 80%;
    margin-left: 10px;
}

/* Hover left */
.wheel-menu .wheel-item.page.label-left .wheel-label .icon {
    order: 2;
}

.wheel-menu .wheel-item.page.label-left .wheel-label {
    right: 5%;
}

.wheel-menu .wheel-item.page.label-left:hover .wheel-label .icon i {
    margin-left: 10px;
}

.wheel-menu .wheel-item.page.label-left:hover .wheel-label {
    right: 80%;
    margin-right: 10px;
}


/* Hover per le label categoria prodotto */

.wheel-menu .wheel-item.cat-prodotto.label-left:hover .wheel-label {
    right: 32px;
    padding-right: -293px;
}

.wheel-menu .wheel-item.cat-prodotto.label-right:hover .wheel-label {
    left: 45px;
}

/* ######################################## */
.wheel-menu .wheel-preview {
    position: absolute;
    top: 280%;
    width: 650px;
    min-height: 130px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px;
    border-radius: var(--standard-radius);
    background: var(--third-color);
    border: 2px solid var(--second-color);
    box-shadow: 0px 0px 10px #1A1A1E;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.wheel-menu .wheel-preview .preview-image {
    width: 250px;
    flex: 0 0 250px;
    display: flex;
    align-items: center;
}

.wheel-menu .wheel-preview .preview-image img {
    display: block;
    width: 100%;
    height: auto;
}

.wheel-menu .wheel-preview .preview-content {
    padding-top: 40px;
}

.wheel-menu .wheel-preview strong {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.wheel-menu .wheel-preview p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #cfcfcf;
}

.wheel-menu .wheel-preview .preview-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--first-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* Box verso destra */
.wheel-item.label-right .wheel-preview {
    padding-left: 85px;
    left: -40px;
    transform: translate(-50px, -50%);
    flex-direction: row-reverse;
    padding-top: 55px;
}

/* Box verso sinistra */
.wheel-item.label-left .wheel-preview {
    padding-right: 70px;
    right: -40px;
    transform: translate(50px, -50%);
    flex-direction: row;
}

.wheel-item.label-left .wheel-preview .preview-content {
    text-align: right;
}

/* Hover */
.wheel-item.cat-prodotto:hover .wheel-preview,
.wheel-item.macchina:hover .wheel-preview {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}


/* ############################################### */
/* WHEEL MENU - MOBILE */
/* ############################################### */

.wheel-menu-mobile {
    padding: 70px 0 90px 0;
    position: relative;
    overflow: hidden;
}

.wheel-menu-mobile .glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%,
            transparent 0%,
            transparent 72%,
            rgba(85, 185, 255, 0.03) 78%,
            rgba(115, 205, 255, 0.08) 84%,
            rgba(150, 225, 255, 0.14) 90%,
            rgba(120, 210, 255, 0.08) 95%,
            transparent 100%);
    box-shadow:
        0 0 5px 1px rgba(140, 210, 255, 0.95),
        0 0 12px 3px rgba(110, 195, 255, 0.85),
        0 0 28px 9px rgba(75, 170, 245, 0.65),
        0 0 58px 22px rgba(55, 155, 235, 0.45),
        0 0 96px 42px rgba(55, 150, 225, 0.28),
        inset 0 0 5px 1px rgba(155, 220, 255, 0.75),
        inset 0 0 18px 4px rgba(75, 170, 245, 0.45);
    filter: drop-shadow(0 0 10px rgba(95, 190, 255, 0.6));
}

.wheel-menu-mobile .box-wheel-card-mobile {
    padding: 30px;
    background-color: var(--third-color);
    border-radius: var(--standard-radius);
    border: 1px solid var(--second-color);
}

.wheel-menu-mobile .box-wheel-card-mobile #editor p {
    line-height: 28px;
    color: var(--second-color-1);
}

.wheel-menu-mobile .wheel-dot {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--first-color);
    z-index: 2;
    margin-bottom: 0;
    margin-top: -8px;
}

.wheel-menu-mobile .wheel-dot::after {
    content: '';
    position: absolute;
    top: 43%;
    right: 24px;
    z-index: -1;
    width: 65vw;
    height: 4px;
    background: linear-gradient(to left, rgba(0, 190, 240, 1) 0%, rgba(0, 190, 240, 0.75) 25%, rgba(0, 190, 240, 0.35) 60%, rgba(0, 190, 240, 0) 100%);
}

.wheel-menu-mobile .wheel-dot .bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: linear-gradient(180deg,
            rgba(194, 194, 194, 0.84) 4%,
            rgba(194, 194, 194, 0.69) 29%,
            rgba(194, 194, 194, 0.38) 59%,
            rgba(255, 255, 255, 1) 100%);
}

/* ############################################### */
/* NUMERI AZIENDALI + BOX CON ICONE */
/* ############################################### */

.banner-numeri {
    background: var(--gradient-color-3);
    padding: var(--section-padding);
}

.banner-numeri .section-title {
    font-family: var(--heading-2-font-family);
    font-size: calc(var(--heading-2-font-size) - 4px);
    color: var(--black-color);
    text-transform: uppercase;
    line-height: var(--heading-2-line-height);
    letter-spacing: var(--letter-spacing-1);
    font-weight: 900;
}


/* ############################################### */
/* BOX NUMERI + BOX ICONE */
/* ############################################### */

.box-numeri,
.box-link {
    position: relative;
    padding: 70px 50px;
}

.box-numeri span {
    display: block;
}

.box-numeri .numero {
    font-size: 80px;
    font-family: var(--font-1);
    color: var(--first-color);
    font-weight: 900;
    line-height: 115px;
}

.box-numeri .titolo {
    font-size: 22px;
    font-family: var(--font-1);
    color: var(--black-color);
    text-transform: uppercase;
    font-weight: 300;
}

.box-link {
    transition: var(--box-transition);
}

.box-link span {
    display: block;
}

.box-link .icona i {
    font-size: 55px;
    background: var(--gradient-color-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--box-transition);
}

.box-link .titolo {
    font-size: var(--paragraphs-font-size);
    font-family: var(--font-1);
    color: var(--black-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 900;
    margin-top: 10px;
    transition: var(--box-transition);
}

.box-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5%;
    height: 5%;
    background: var(--gradient-color-1);
    opacity: 0;
    transition: var(--box-transition);
    border-radius: var(--standard-radius);
    transition: var(--box-transition);
}

.box-link:hover::before {
    opacity: 1;
    width: 70%;
    height: 70%;
}

.box-link:hover .titolo {
    color: var(--white-color);
}

.box-link:hover .icona i {
    background: none !important;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--first-color);
    color: var(--first-color);
}

.box-numeri .custom-border-right,
.box-link .custom-border-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #dcdcdc !important;
}

.box-numeri .custom-border-bottom,
.box-link .custom-border-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background-color: #dcdcdc !important;
}


/* ############################################### */
/* INTESTAZIONE PAGINA */
/* ############################################### */

.intestazione #editor * {
    color: var(--white-color);
}

.intestazione .sticky {
    position: sticky;
    top: 165px;
}


/* ############################################### */
/* DIVIDER GRAFICO LINEA (azzurra)*/
/* ############################################### */

.line-wrapper {
    width: 100%;
    padding: 60px 0;
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .055) 0 2px,
            transparent 2px 26px),
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, .055) 0 2px,
            transparent 2px 26px),
        #080a10;
}

.line-wrapper {
    width: 100%;
    padding: 30px 0 50px 0;
    background: transparent;
}

.neon-line {
    width: 100%;
    height: 2px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 180, 230, 0.10) 5%,
            rgba(0, 205, 255, 0.55) 17%,
            rgba(0, 220, 255, 0.95) 50%,
            rgba(0, 205, 255, 0.55) 83%,
            rgba(0, 180, 230, 0.10) 95%,
            transparent 100%);
    box-shadow:
        0 0 4px rgba(0, 205, 255, 0.85),
        0 0 10px rgba(0, 205, 255, 0.55),
        0 0 22px rgba(0, 185, 240, 0.32),
        0 0 42px rgba(0, 150, 220, 0.20);
}

.neon-line::before,
.neon-line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.neon-line::before {
    top: -13px;
    height: 13px;
    background: linear-gradient(to top,
            rgba(0, 190, 245, 0.16),
            rgba(0, 190, 245, 0.06),
            transparent);
    filter: blur(7px);
}

.neon-line::after {
    top: 2px;
    height: 24px;
    background: linear-gradient(to bottom,
            rgba(0, 200, 255, 0.24),
            rgba(0, 170, 240, 0.11),
            rgba(0, 130, 210, 0.04),
            transparent);
    filter: blur(9px);
}


/* ############################################### */
/* DIVIDER GRAFICO LINEA (bianca)*/
/* ############################################### */

.white-line-wrapper {
    width: 100%;
    padding: 30px 0 50px 0;
    background: transparent;
}

.neon-line-white {
    width: 100%;
    height: 2px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 5%,
            rgba(255, 255, 255, 0.35) 18%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.35) 82%,
            rgba(255, 255, 255, 0.08) 95%,
            transparent 100%);
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.65),
        0 0 10px rgba(255, 255, 255, 0.35),
        0 0 22px rgba(255, 255, 255, 0.18),
        0 0 42px rgba(255, 255, 255, 0.10);
}

.neon-line-white::before,
.neon-line-white::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.neon-line-white::before {
    top: -12px;
    height: 12px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.05),
            transparent);
    filter: blur(7px);
}

.neon-line-white::after {
    top: 2px;
    height: 22px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.03),
            transparent);
    filter: blur(9px);
}

/* ############################################### */
/* SINGOLA MACCHINA - video */
/* ############################################### */

.video-section iframe {
    height: 450px;
    width: 100% !important;
}

.sticky-img {
    position: sticky;
    top: 170px;
}



/* ############################################### */
/* BOX MACCHINA */
/* ############################################### */

.box-macchina * {
    transition: var(--box-transition);
}

.box-macchina {
    padding: clamp(20px, 5vw, 50px);
    text-align: center;
    background-color: #1a1a1e;
    border: 1px solid #434050;
    border-radius: var(--standard-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-macchina img {
    width: 100%;
    aspect-ratio: 4 /3;
    object-fit: cover;
}

.box-macchina #editor * {
    color: var(--second-color-2);
}

.box-macchina:hover {
    background: var(--gradient-color-3);
}

.box-macchina:hover * {
    color: var(--black-color);
}

.box-macchina:hover #editor p {
    color: var(--black-color);
}

.box-macchina .btn-1:after {
    content: '\f178';
    margin-left: 8px;
    font-weight: 300;
    font-family: 'Font Awesome 6 Pro';
    position: relative;
    top: 1px;
}

.box-macchina:hover .btn-1 {
    background: var(--gradient-color-3);
    color: var(--black-color);
}


/* ############################################### */
/* BOX PAGINA */
/* ############################################### */

.box-pagina * {}

.box-pagina {
    text-align: center;
    background-color: #1a1a1e;
    border: 1px solid #434050;
    border-radius: var(--standard-radius);
}

.box-pagina .box-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-top-left-radius: var(--standard-radius);
    border-top-right-radius: var(--standard-radius);
}

.box-pagina img {
    border-top-left-radius: var(--standard-radius);
    border-top-right-radius: var(--standard-radius);
    transition: var(--box-transition);
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
}

.box-pagina .content {
    padding: 30px 40px;
}

.box-pagina #editor * {
    color: var(--second-color-2);
}

.box-pagina:hover {
    background: var(--gradient-color-3);
}

.box-pagina:hover .box-img img {
    transform: scale(1.3);
}

.box-pagina:hover * {
    color: var(--black-color);
}

.box-pagina:hover #editor p {
    color: var(--black-color);
}

.box-pagina .btn-1 {
    transition: var(--box-transition);
}

.box-pagina .btn-1:after {
    content: '\f178';
    margin-left: 8px;
    font-weight: 300;
    font-family: 'Font Awesome 6 Pro';
    position: relative;
    top: 1px;
}

.box-pagina:hover .btn-1 {
    background: var(--gradient-color-3);
    color: var(--black-color);
    border-color: var(--second-color);
}


/* ############################################### */
/* BOX BANNER CARD */
/* ############################################### */

.box-banner-card {
    padding: clamp(20px, 5vw, 50px);
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: var(--standard-radius);
    overflow: hidden;
    height: 100%;
    transition: var(--box-transition);
    height: 550px;
    display: flex;
    align-items: center;
}

.box-banner-card.odd:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 25%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 75%);
    z-index: 1;
}

.box-banner-card.even:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 25%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0) 75%);
    z-index: 1;
}

.box-banner-card.odd h3,
.box-banner-card.odd #editor p {
    color: var(--black-color);
}

.box-banner-card.even h3,
.box-banner-card.even #editor p {
    color: var(--white-color);
}


/* ############################################### */
/* CRONOSTORIA */
/* ############################################### */

.cronostoria {}

.cronostoria .box-line {
    width: 85%;
    position: relative;
}

.cronostoria .box-line::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 70%;
    height: 1px;
    background: var(--second-color);
    transform: translateY(-50%);
}

.cronostoria h2 {
    color: var(--white-color);
}

.cronostoria .box-cronostoria {
    background: var(--gradient-color-3);
    padding: 60px;
    border: 1px solid var(--second-color);
    border-radius: var(--standard-radius);
}

.cronostoria .box-cronostoria .title {
    color: var(--second-color);
    line-height: 60px;
}

.cronostoria .banner-cronostoria {
    background-color: var(--white-color);
}

.cronostoria .banner-cronostoria h2 {
    color: var(--black-color);
}

.cronostoria .splide__pagination {
    bottom: unset;
    left: unset;
    padding: 0 1em;
    position: absolute;
    right: -17px;
    z-index: 1;
    top: -87px;
}


/* ############################################### */
/* CAROSELLO PAGINE CORRELATE */
/* ############################################### */

.box-carousel {
    overflow: hidden;
}

.box-carousel h2,
.box-carousel #editor p {
    color: var(--white-color);
}

.box-carousel .splide__pagination {
    bottom: -60px;
    left: -15px;
    padding: 0 1em;
    position: absolute;
    right: unset;
    z-index: 1;
}

.box-carousel .splide__pagination__page {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dcdcdc;
    border-radius: 0;
    display: inline-block;
    height: 8px;
    margin: 0;
    opacity: 1;
    padding: 0;
    position: relative;
    transition: transform .2s linear;
    width: 140px;
}

.box-carousel .splide__pagination__page.is-active {
    background: var(--first-color);
    height: 8px;
    transform: scale(1);
    z-index: 1;
    border-bottom: 1px solid var(--first-color);
}

.box-carousel .splide__track {
    overflow: visible;
    position: relative;
    z-index: 0;
}


/* ############################################### */
/* BOX CARD */
/* ############################################### */

.box-card {
    padding: clamp(40px, 5vw, 50px);
    background-color: var(--third-color);
    border-radius: var(--standard-radius);
    border: 2px solid var(--second-color);
    box-shadow: 0px 0px 10px #1A1A1E;
}

.box-card i {
    font-size: 50px;
}

.box-card i,
.box-card h3,
.box-card #editor p {
    color: var(--white-color);
}

.box-card.icona {
    background: var(--gradient-color-3);
}

.box-card.icona i {
    font-size: 60px;
    color: var(--second-color)
}

.box-card.icona h3,
.box-card.icona #editor p,
.box-card.icona #editor ul li {
    color: var(--black-color);
}


/* ############################################### */
/* BOX STEP */
/* ############################################### */
.box-step {
    position: relative;
    padding: 70px 50px;
}

.box-step span {
    display: block;
}

.box-step .numero {
    font-size: 80px;
    font-family: var(--font-1);
    color: var(--first-color);
    font-weight: 900;
    line-height: 115px;
}

.box-step .titolo {
    font-size: 22px;
    font-family: var(--font-1);
    color: var(--white-color);
    text-transform: uppercase;
    font-weight: 300;
}

.box-step #editor p {
    color: var(--white-color);
}

.box-step .custom-border-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    filter: drop-shadow(0px 10px 20px #dcdcdc);
    background: transparent radial-gradient(closest-side at 50% 50%, #A8AAAC 0%, #A8AAAC00 100%) 0% 0% no-repeat padding-box;
}


/* ############################################### */
/* SEZIONE MEDIA / TEXT (per la copertura assistenza) */
/* ############################################### */

.section-mediatext {
    background: var(--white-color);
}

.section-mediatext h2,
.section-mediatext #editor * {
    color: var(--black-color);
}

.section-mediatext .box-text {
    padding: clamp(20px, 5vw, 60px);
    border-radius: var(--standard-radius);
    background: transparent linear-gradient(123deg, #A8AAACE6 0%, #DCDCDCE6 16%, #FFFFFFE6 51%, #DCDCDCE6 79%, #A8AAACE6 100%) 0% 0% no-repeat padding-box;
    ;
    box-shadow: 0px 0px 10px #1A1A1E4A;
}

.section-mediatext .box-text #editor p {
    margin-bottom: 0;
}

.section-mediatext .box-marked {
    padding: clamp(15px, 5vw, 40px) clamp(20px, 5vw, 60px);
    background-color: var(--first-color);
    border-radius: var(--standard-radius);
    box-shadow: 0px 0px 10px #1A1A1E4A;
}

.section-mediatext .img-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 120%;
    z-index: 0;
}

/* ############################################### */
/* BANNER FORM */
/* ############################################### */

.section-form {
    background-color: var(--white-color);
}

.banner-form {
    position: relative;
    padding: 150px 100px;
    background: transparent linear-gradient(180deg, #4B4859E6 0%, #111017E6 100%) 0% 0% no-repeat padding-box;
    border-radius: 38px;
}

.banner-form::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115%;
    height: 100%;
    z-index: -1;
    border-radius: var(--standard-radius);
    box-shadow: var(--box-shadow-1);
    background-color: var(--third-color-1);
}

.banner-form #form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: clamp(20px, 5vw, 50px);
    background-color: var(--white-color);
    box-shadow: 0px 3px 20px #0000000D;
    border-radius: var(--standard-radius);
}

.banner-form #editor p {
    color: var(--white-color);
    margin-bottom: 0;
}


/* ############################################### */
/* PAGINA CONTATTI */
/* ############################################### */

.google-maps iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: var(--standard-radius);
}

.page-contatti.margin-negative {
    margin-top: -120px;
}

.page-contatti #form {
    padding: clamp(20px, 5vw, 50px);
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--standard-radius);
}

.page-contatti #editor p {
    color: var(--white-color);
    margin-bottom: 0;
}

.page-contatti .box-contact {
    margin-bottom: 30px;
}

.page-contatti span,
.page-contatti .box-contact span,
.page-contatti .box-contact i,
.page-contatti .box-contact a {
    color: var(--white-color);
    text-decoration: none;
}

.page-contatti .box-contact .icon {
    margin-right: 15px;
}

.page-contatti .padding-fix {
    padding-top: 100px
}

.page-contatti label span {
    color: var(--black-color) !important;
}

/* ############################################### */
/* BANNER INTESTAZIONE CON BOX */
/* ############################################### */

.banner-bg-custom {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.banner-bg-custom .box-card {
    border-radius: var(--standard-radius);
}

/* ############################################### */
/* BANNER INTESTAZIONE CON BOX V2 (pagina richiedi preventivo) */
/* ############################################### */

.banner-bg-custom-2 {
    position: relative;
    padding: 50px;
    background-image: url(../images/bobinatrici.webp);
    background-repeat: no-repeat;
    background-size: auto 125%;
    background-position: right -55% top 70%;
    height: 100%;
}

.banner-bg-custom-2 #editor p {
    color: var(--white-color);
}

/* ############################################### */
/* PRODOTTO SINGOLO */
/* ############################################### */

.single-articolo .box-card {
    border-radius: 0;
}

.single-articolo .box-carousel img {
    border-radius: 15px;
}

.banner-white #editor p,
.banner-white #editor ul li {
    color: var(--white-color);
}

.section-dati-tecnici .box-card {
    background: var(--gradient-color-4);
    border-radius: 2px;
}

.section-dati-tecnici .box-card h3,
.section-dati-tecnici .box-card #editor * {
    color: var(--white-color) !important;
}

.single-articolo .box-carousel img {
    width: 100%;
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
    border-radius: 0;
}


/* ############################################### */
/* TABELLA DATI TECNICI MACCHINA */
/* ############################################### */

.tech-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #00a9e0 #e5e5e5;
}

/* Chrome, Edge, Safari */
.tech-table-wrap::-webkit-scrollbar {
    height: 7px;
}

.tech-table-wrap::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 20px;
}

.tech-table-wrap::-webkit-scrollbar-thumb {
    background: #00a9e0;
    border-radius: 20px;
}

.tech-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #008bbb;
}

.tech-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    color: #3f4050;
    font-size: 14px;
}

.tech-table th,
.tech-table td {
    border: 1px solid #ddd;
    padding: 10px 25px;
    text-align: center;
    vertical-align: middle;
}

.tech-table th:first-child,
.tech-table td:first-child {
    text-align: left;
    width: 34%;
}

.tech-table thead th {
    background: #e8e8eb;
    font-weight: 700;
    text-transform: uppercase;
    color: #3b3b4a;
}

.tech-table .section-row td {
    background: #e9e9ec;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-table .section-row td:not(:first-child) {
    color: transparent;
}

@media (max-width: 768px) {
    .tech-table {
        font-size: 14px;
        min-width: 850px;
    }

    .tech-table th,
    .tech-table td {
        padding: 12px 16px;
    }

    .tech-table-wrap::-webkit-scrollbar {
        height: 15px;
    }
}

/* ############################################### */
/* BOX ARTICOLO - FIERA */
/* ############################################### */

.box-articolo-fiera {
    position: relative;
}

.box-articolo-fiera:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(225deg,
            #A8AAAC 0%,
            #DCDCDC 16%,
            #FFFFFF 51%,
            #DCDCDC 79%,
            #A8AAAC 100%);
    border-radius: var(--standard-radius);
    z-index: -1;
}

.box-articolo-fiera .section-label {
    font-size: var(--paragraphs-font-size);
}

.box-articolo-fiera .border-bottom {
    border-color: #b8b8b8 !important;
}


/* ############################################### */
/* BOX ARTICOLO - EVIDENZA */
/* ############################################### */

.box-articolo-evidenza {
    position: relative;
    background: var(--gradient-color-3);
    border-radius: var(--standard-radius);
    padding: 55px 45px 35px 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-articolo-evidenza .badge-evidenza {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #FF4F52;
    color: var(--white-color) !important;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}

.box-articolo-evidenza img {
    width: 90%;
}

.box-articolo-evidenza .date {
    font-size: 12px;
    color: var(--second-color);
    letter-spacing: 0.5px;
}

.box-articolo-evidenza .separator {
    height: 2px;
    width: 30px;
    background-color: #dcdcdc;
    transform: rotate(90deg);
    margin: 15px 0;
}

.box-articolo-evidenza .link {
    font-size: var(--paragraphs-font-size);
    color: var(--black-color);
}


/* ############################################### */
/* BOX ARTICOLO - FOCUS */
/* ############################################### */

.box-articolo-focus {
    border-radius: var(--standard-radius);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.box-articolo-focus .box-approfondimento {
    padding: 30px clamp(20px, 5vw, 50px);
    background-color: var(--third-color);
    border-radius: var(--standard-radius);
    height: 100%;
}

.box-articolo-focus .box-approfondimento #editor * {
    color: var(--white-color);
}

.box-articolo-focus .box-approfondimento .badge-focus {
    display: inline-block;
    background-color: #AC8EE3;
    color: var(--white-color) !important;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}


/* ############################################### */
/* PAGINA NEWS */
/* ############################################### */

.margin-negative-news {
    margin-top: -300px;
}

.fiere-carousel .splide__arrow {
    top: 19%;
    font-size: 25px;
    height: auto;
    width: auto;
    background: transparent;
}

.fiere-carousel .splide__arrow--prev {
    left: unset;
    right: 27.2%;
}

.fiere-carousel .splide__arrow--next {
    right: 24.5%;
}


/* ############################################### */
/* ARTICOLO NEWS SINGOLO */
/* ############################################### */
.single-articolo .section-form {
    background: transparent;
}


/* ############################################### */
/* TABELLA POSIZIONI LAVORATIVE - DESKTOP */
/* ############################################### */

.posizioni-lavorative-desktop .tabella-posizioni-lavorative .table-bar {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--third-color);
    border-top-left-radius: var(--standard-radius);
    border-top-right-radius: var(--standard-radius);
    border-bottom: 2px solid var(--second-color);
}

.posizioni-lavorative-desktop .tabella-posizioni-lavorative .table-bar .btn-click {
    height: 100%;
    padding: 0;
    border: unset;
    border-top: 5px solid transparent;
    margin: 0 15px;
    background: var(--third-color);
    font-size: var(--paragraphs-font-size);
    color: var(--white-color);
    text-transform: uppercase;
}

.posizioni-lavorative-desktop .tabella-posizioni-lavorative .table-bar .btn-click.active {
    border-color: var(--first-color);
}

.posizioni-lavorative-desktop .tabella-posizioni-lavorative .table-content {
    padding: 50px;
    background: var(--third-color);
    border-bottom-left-radius: var(--standard-radius);
    border-bottom-right-radius: var(--standard-radius);
}

.posizioni-lavorative-desktop .tabella-posizioni-lavorative .table-content #editor * {
    color: var(--white-color);
}


/* ############################################### */
/* TABELLA POSIZIONI LAVORATIVE - MOBILE */
/* ############################################### */

.posizioni-lavorative-mobile .accordion-posizioni {
    padding: 0 15px;
    border: 1px solid var(--second-color);
    background-color: var(--third-color);
}

.posizioni-lavorative-mobile .accordion {
    background-color: transparent;
    cursor: pointer;
    padding: 13px 18px 18px 18px;
    width: 100%;
    border: unset;
    border-bottom: 1px solid var(--second-color);
    border-top: 5px solid transparent;
    text-align: center;
    outline: none;
    transition: 0.4s;
    font-size: var(--paragraphs-font-size);
    color: var(--white-color);
    text-transform: uppercase;
}

.posizioni-lavorative-mobile .accordion:last-of-type {
    border-bottom: unset;
}

.posizioni-lavorative-mobile .accordion.active {
    border-top: 5px solid var(--first-color);
}

.posizioni-lavorative-mobile .panel {
    background-color: var(--third-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.posizioni-lavorative-mobile .panel #editor * {
    color: var(--white-color);
}

.posizioni-lavorative-mobile .panel .custom-padding {
    padding: 30px 0;
}


/*############################################################## */
/* MODAL LEAD GENERATION */
/*############################################################## */

.popup-box {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: var(--box-transition);
}

.popup-box.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.popup-box .popup {
    background-color: var(--white-color);
    padding: 60px;
}

.popup-box .popup .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--third-color-1);
}

.popup-box .popup .header .close-btn {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--third-color);
    cursor: pointer;
    line-height: 20px;
}

/*############################################################## */
/* PAGINA RISULTATI DI RICERCA */
/*############################################################## */

#searchResults .border-bottom {
    border-bottom: 1px solid var(--second-color) !important;
}

.search-label {
    color: var(--white-color);
}

.excerpt_part {
    color: var(--second-color-1) !important;
}

.excerpt p {
    margin-bottom: 0;
}


/*############################################################## */
/* BOX FIERA */
/*############################################################## */

.box-fiera {
    background-color: rgba(0, 0, 0, 0.5);
}

/*############################################################## */
/* PAGINA 404 */
/*############################################################## */

.section-404 {
    min-height: 400px;
    height: 50vh;
    display: flex;
    align-items: center;
}

.page-content #editor * {
    color: var(--white-color) !important;
}