/*############################################################## */
/* TESTATA */
/*############################################################## */

.testata.standard {
    position: relative;
    padding-top: var(--padding-top-testata);
}

.testata.banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    display: flex;
    align-items: flex-end;
    border-radius: var(--border-radius-1);
}

.testata.banner::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top,
            rgba(38, 45, 51, 0.7) 0%,
            rgba(38, 45, 51, 0) 100%);
    border-radius: 0 0 var(--border-radius-1) var(--border-radius-1);
}

.testata.banner #breadcrumbs span,
.testata.banner #breadcrumbs a {
    color: var(--white-color) !important;
}

.testata.banner h1 {
    color: var(--white-color) !important;
}

/* Decorazione per le testate (logo Relintek) */

.decoration {
    position: relative;
}

.decoration::before {
    content: "";
    position: absolute;
    top: -115px;
    right: -15%;
    width: 55vw;
    aspect-ratio: 1 / 1;
    background-image: url(../images/decoration-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ############################################### */
/* SLIDER HOMEPAGE */
/* ############################################### */

.slider .slide {
    height: calc(100vh - 100px);
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.slider .slide::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

.slider .slide .heading-1 {
    font-size: 60px;
}

.slider .slide .heading-2 {
    font-size: 36px;
    font-weight: 300;
}

.slider .slide h1,
.slider .slide h2,
.slider .slide h3 {
    color: var(--white-color);
}

.slider .arrow-down i {
    font-size: 30px;
    color: var(--white-color);
}

.slider .splide__arrow {
    background: transparent;
    border-radius: 0;
    opacity: 1;
    padding: 0;
    width: auto;
    color: var(--white-color);
    font-size: 50px;
}

.slider .slide.img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider .slide.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    border: unset !important;
}

.slider .slide.video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    border: unset !important;
}


/* ############################################### */
/* BOX CATEGORIA PRODOTTO */
/* ############################################### */

.box-categoria {
    position: relative;
    text-align: center;
    height: 100%;
    padding: 24px;
    transition: var(--box-transition);
}

.box-categoria::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--border-radius-1);
    z-index: -1;
    transition: var(--box-transition);
}

.box-categoria:hover::before {
    transform: scale(1.05);
}

.box-categoria h3 {
    transition: var(--link-transition);
}

.box-categoria:hover h3 {
    color: var(--first-color) !important;
}

.box-categoria img {
    width: 80%;
}


/* ############################################### */
/* BOX GENERICO */
/* ############################################### */

.box-generico {
    position: relative;
    transition: var(--box-transition);
    border-radius: var(--border-radius-1);
    aspect-ratio: 1 / 1;
    transition: var(--box-transition);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.box-generico::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    border-radius: 0 0 var(--border-radius-1) var(--border-radius-1);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.box-generico .img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-1);
    transition: var(--box-transition);
}

.box-generico:hover .img-bg {
    transform: scale(1.1);
}

.box-generico h3 {
    position: relative;
    z-index: 2;
}


.box-generico .badge-categorie {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.box-generico .badge-categorie a {
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 3px;
    background-color: var(--first-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: bold;
    transition: var(--link-transition);
}

.box-generico .badge-categorie a:hover {
    background-color: var(--second-color);
}

/* ############################################### */
/* BOX PRODOTTO */
/* ############################################### */

.box-prodotto {
    position: relative;
    height: 100%;
    transition: var(--box-transition);
    box-shadow: 0px 0px 20px #0000001A;
    border-radius: var(--border-radius-1);
    background-color: var(--white-color);
}

.box-prodotto:hover::before {
    transform: scale(1.05);
}

.box-prodotto h3 {
    transition: var(--link-transition);
}

.box-prodotto:hover h3 {
    color: var(--second-color) !important;
}

.box-prodotto .box-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius-1) var(--border-radius-1) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-prodotto .box-img::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0) 100%);
    border-radius: 0;
    z-index: 1;
    transition: var(--box-transition);
}

.box-prodotto img {
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: var(--box-transition);
}

.box-prodotto:hover .box-img img {
    transform: scale(1.05);
}

.box-prodotto:hover .box-img::before {
    height: 20%;
}

.box-prodotto .content {
    text-align: center;
    border-radius: 0 0 var(--border-radius-1) var(--border-radius-1);
}

/* ############################################### */
/* BOX SOLUZIONE INTEGRATA */
/* ############################################### */

.box-soluzione-integrata {
    border-radius: var(--border-radius-1);
    background-color: var(--third-color-1);
}

.box-soluzione-integrata .box-carousel {
    padding: 10px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-1);
    box-shadow: var(--box-shadow-1);
}

.box-soluzione-integrata .box-carousel img {
    border-radius: var(--border-radius-1);
    transition: var(--box-transition);
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.box-soluzione-integrata .box-carousel .box-icon {
    position: relative;
}

.box-soluzione-integrata .box-carousel .box-icon .plus-icon {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    z-index: 1;
}

.box-soluzione-integrata .box-carousel .box-icon .plus-icon i {
    color: var(--second-color);
    font-size: 30px;
}


/* ############################################### */
/* SINGOLA SOLUZIONE INTEGRATA (BUNDLE) */
/* ############################################### */

.carousel-prodotti-bundle .box-carousel .box-icon {
    border-radius: var(--border-radius-1);
    border: 2px solid #f0f0f0;
    background-color: var(--white-color);
    height: 100%;
    position: relative;
}

.carousel-prodotti-bundle .box-carousel .box-icon img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.carousel-prodotti-bundle .box-carousel .box-icon .plus-icon {
    position: absolute;
    top: 50%;
    right: -42px;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-prodotti-bundle .box-carousel .box-icon .plus-icon i {
    color: var(--second-color);
    font-size: 60px;
}

.carousel-prodotti-bundle .splide__arrow {
    background: #F1F3F4;
    border-radius: 50px;
    opacity: 1;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-size: 22px;
}

.carousel-prodotti-bundle .splide__arrow--next {
    right: -70px;
}

.carousel-prodotti-bundle .splide__arrow--prev {
    left: -70px;
}


/*############################################################## */
/* SEZIONE DOWNLOAD ALLEGATI LEAD GENERATION */
/*############################################################## */

button.btn-2 {
    cursor: pointer;
}

button.btn-2 i {
    font-size: 18px;
    margin-right: 8px;
}

.download-decoration {
    width: 80%;
    height: auto;
}

/*############################################################## */
/* BOX FILE PDF ALLEGATO */
/*############################################################## */

.box-file * {
    transition: var(--link-transition);
}

.box-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: var(--border-radius-1);
    border: 1px solid #D9DADB;
    background-color: var(--white-color);
    cursor: pointer;
}

.box-file i {
    font-size: 18px;
    margin-right: 15px;
    color: var(--black-color);
}

.box-file .title {
    color: var(--black-color);
    text-align: left;
}

.box-file .format {
    font-size: 14px;
    font-weight: 400;
    color: var(--third-color-2);
}

.box-file:hover {
    background-color: var(--third-color-1);
    border-color: #D9DADB;
}

.box-file:hover i,
.box-file:hover .title {
    color: var(--second-color);
}



/*############################################################## */
/* SEZIONE MEDIA TEXT */
/*############################################################## */

.section-media-text .sticky-media {
    position: sticky !important;
    top: 220px !important;
}

.section-media-text .logo {
    height: 40px;
    margin-bottom: 15px;
}

.section-media-text .decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.section-media-text .decoration::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 27%;
    transform: translate(-50%, -50%);
    width: calc(100% + 250px);
    aspect-ratio: 1 / 1;
    background-image: url(../images/decoration-dots.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .1;
}

.section-media-text iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px;
    transform: translateY(0);
    border-radius: var(--border-radius-1);
    border: unset !important;
}

.section-media-text video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius-1);
}

.section-media-text img.standard {
    aspect-ratio: 4 / 2.8;
    object-fit: cover;
    border-radius: var(--border-radius-1);
}

.section-media-text img.decoration {
    border-radius: var(--border-radius-1);
    position: relative;
    z-index: 2;
}

.section-media-text .splide__arrow {
    background: #F1F3F4;
    border-radius: 50px;
    opacity: 1;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-size: 22px;
}

.section-media-text .splide__arrow--next {
    right: -70px;
}

.section-media-text .splide__arrow--prev {
    left: -70px;
}



/*############################################################## */
/* BANNER CTA */
/*############################################################## */

.banner-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
}

.banner-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #005CB9;
    opacity: 0.7;
}

.banner-cta #editor p {
    color: var(--white-color);
}


/*############################################################## */
/* BOX MARCHIO */
/*############################################################## */

.box-marchio {
    padding: 20px 24px;
    border-radius: var(--border-radius-1);
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: var(--box-transition);
}

.box-marchio:hover {
    transform: scale(1.05);
}


/* ############################################### */
/* SEZIONE CAROSELLO PHOTOGALLERY */
/* ############################################### */

.section-carousel .splide__arrow {
    background: #F1F3F4;
    border-radius: 50px;
    opacity: 1;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-size: 22px;
}

.section-carousel .splide__arrow--next {
    right: -70px;
}

.section-carousel .splide__arrow--prev {
    left: -70px;
}


/* ############################################### */
/* SEZIONE CARDS (PER BRAND COLLABORAZIONI) */
/* ############################################### */


/* ############################################### */
/* BOX CARD */
/* ############################################### */

.box-card {
    height: 100%;
}

.box-card.immagine {
    padding: 30px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--border-radius-1);
}

.box-card.immagine img {
    width: 170px;
}

.box-card.icona {
    padding: 35px 30px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--border-radius-1);
}

.box-card.icona i {
    font-size: 35px;
    color: var(--second-color);
    margin-bottom: 15px;
}


/*############################################################## */
/* BANNER FORM */
/*############################################################## */
.banner-form {
    position: relative;
    min-height: 400px;
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.banner-form::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115%;
    height: 100%;
    z-index: 1;
    border-radius: 38px;
    background-color: #f8f8f8;
}

#section-form #form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.cont-form {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--border-radius-1);
}


/*############################################################## */
/* PAGINA CONTATTI - MAPPA GOOGLE MAPS */
/*############################################################## */

.google-maps iframe {
    border-radius: var(--border-radius-1);
    width: 100%;
    height: 350px;
}

.template-contatti #form {
    position: relative;
    transform: unset;
    top: unset;
    right: unset;
    margin-top: -35px;
}

.template-contatti .contact-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.template-contatti .contact-box .icon {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: var(--first-color);
    color: var(--white-color);
    font-size: 27px;
    margin-right: 15px;
}

.template-contatti .contact-box a {
    text-decoration: none;
    transition: var(--link-transition);
}

.template-contatti .contact-box a:hover {
    opacity: 0.8;
}

/*############################################################## */
/* MODAL POPUP 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.7);
    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: 40px 60px;
}

.popup-box .popup .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--third-color-1);
}

.popup-box .popup .header .close-btn {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--black-color);
    cursor: pointer;
}

.popup-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.popup-file-item input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}


/*############################################################## */
/* PRODOTTO SINGOLO - TOP BANNER */
/*############################################################## */

.top-banner {
    position: sticky;
    top: 100px;
    z-index: 2;
    padding: 20px 0;
    background-color: var(--first-color);
}

.top-banner a {
    font-size: var(--paragraphs-font-size);
    font-weight: bold;
    color: var(--white-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: 70px;
}

.top-banner a i {
    font-size: 16px;
    margin-right: 6px;
}


/*############################################################## */
/* PRODOTTO SINGOLO - TEMPLATE PAGINA */
/*############################################################## */

.template-singolo-prodotto .spacing-top {
    padding-top: var(--padding-top-testata);
}

.template-singolo-prodotto .col-sx .container,
.template-singolo-prodotto .col-dx .container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.template-singolo-prodotto #form {
    position: relative !important;
    top: unset !important;
    right: unset !important;
    transform: unset !important;
}

.template-singolo-prodotto #form .cont-form {
    background-color: transparent !important;
    box-shadow: unset !important;
    border-radius: unset !important;
}

/*############################################################## */
/* PRODOTTO SINGOLO - BOX SIDEBAR */
/*############################################################## */

.box-sidebar {
    position: sticky;
    top: 200px;
    z-index: 2;
    padding: 35px;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-1);
    border-radius: var(--border-radius-1);
}

.box-sidebar .riga {
    padding: 25px 0;
    border-bottom: 1px solid #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-sidebar .riga .label {
    font-size: var(--paragraphs-font-size);
    font-weight: var(--paragraphs-font-weight);
    color: var(--black-color);
}

.box-sidebar .riga img {
    width: 200px;
    height: auto;
}

.box-sidebar .riga .badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #3DC47E;
    font-size: var(--paragraphs-font-size);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--white-color);
}

.box-sidebar .riga .badge.esclusiva {
    background-color: #3DC47E;
}

.box-sidebar .riga .badge.no-esclusiva {
    background-color: #f01414;
}

/*############################################################## */
/* PRODOTTO SINGOLO - BANNER PRESENTAZIONE MARCHIO */
/*############################################################## */

.banner-presentazione-marchio {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px;
    min-height: 350px;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-1);
}

.banner-presentazione-marchio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-1);
}

.banner-presentazione-marchio .box-content {
    position: relative;
    z-index: 1;
    padding: 30px 50px;
    width: 270px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-1);
    text-align: center;
}


/*############################################################## */
/* PAGINA RISULTATI RICERCA SEARCH */
/*############################################################## */

#searchResults .box-result {
    width: 100%;
    background-color: var(--third-color-1);
    padding-left: 15px;
    border-left: 6px solid var(--first-color);
}

#searchResults .box-result .section-label {
    font-size: calc(var(--section-label-font-size) - 3px);
    font-weight: bold;
    color: var(--first-color);
    text-transform: uppercase;
}