@import url('_variables.css');
@import url('_responsive.css');

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 !important;
}

body {
    font-family: var(--font-primary);
    overflow-x: hidden;

    &.scrolled, &.page-id-296 {
        header {
            background-color: #fff;
            box-shadow: 0px 3px 20px #00000029;
            transition: all .2s ease;

            .navbar {
                ul {
                    li {
                        a {
                            color: #000;
                        }
                    }
                }

                .logosito {
                    display: none;

                    &.scroll {
                        display: block;
                    }
                }
            }
        }


    }
}

.relative {
    position: relative;
}

ul,
li,
a,
button {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

em {
    font-style: normal;
    display: flex;
    align-items: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;

    &::before {
        content: '';
        height: 3px;
        width: 22px;
        display: inline-block;
        background-color: var(--red);
        margin-right: 10px;
    }
}


@view-transition {
    navigation: auto;
    types: slide, forwards;
}

.paddingsection {
    padding-bottom: 150px;
}

.page-template-template-home {
    .seller{
        padding-top: 150px;
    }
}


/* Navbar */
header {
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: all .2s ease;

    .container-header {
        max-width: 1900px;
        margin: 0 auto;

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;

            .logosito {
                width: 220px;
                transition: all .2s ease;
            }

            ul {
                display: flex;
                align-items: center;
                gap: 2rem;

                li {
                    a {
                        font-weight: 600;
                        color: #fff;
                        text-transform: uppercase;
                    }
                }
            }

            .current-menu-item{
                border-bottom: 2px solid var(--red);
            }

            #menubtn {
                display: none;
            }

            .logosito {
                &.scroll {
                    display: none;
                    width: 200px;
                    transition: all .2s ease;

                    img {
                        width: 100%;
                        height: auto;
                    }
                }
            }
        }
    }
}

.banner {
    height: 40vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    h1 {
        color: #fff;
    }

    .content-banner {
        transform: translateY(45px);
    }

    .bradcrumbs_btn {
        margin-top: 30px;
        display: flex;
        justify-content: center;

        #breadcrumbs {
            background-color: #fff;
            color: var(--black);
            padding: 10px 30px;
            border-radius: 30px;
        }

        p {
            margin-bottom: 0;
        }

        .breadcrumb_last {
            font-weight: 600;
        }
    }


    &.news {
        height: 50vh !important;
    }
}

.card_home{
    span{
        font-weight: 300;
        font-size: 16px;
    }
}

/* Banner-home */
.banner-home {
    height: 80vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;

    h1 {
        color: #fff;
    }

    p {
        color: #fff;
        padding: 20px 0;
    }

    img {
        position: absolute;
        bottom: 0;
    }
}

/* Section Card */

.section_card {
    padding: 100px 0;

    .body_card {
        transform: translateY(-200px);
    }

    .shadow_card {
        box-shadow: 0px 3px 20px #00000029;
        padding: 50px;
        background: #FFFFFF 0% 0% no-repeat padding-box;

        .content-card {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: start;
            text-align: left;

            p{
                font-weight: 300;
                font-size: 16px;
                padding-top: 30px;
            }

            h3 {
                padding-top: 20px;
            }
        }
    }
}


.section_vendite {
    padding-bottom: 80px;

    .boxes {
        position: relative;
        flex-direction: column;
        align-items: start !important;
        background-position: bottom;
        padding-top: 100px;
        background-size: cover;
        em {
            color: #000;
        }

        h2 {
            font-weight: 700;
        }

        .absolute-body-boxes {
            top: 25%;
            padding: 20px;
            padding: 90px 40px;
        }

        .box-content {
            background-color: var(--red);
            padding: 80px;
            bottom: 0;
            left: -30%;
            width: 100%;
            color: #fff;
            transform: translateX(-24%);
            h3{
                padding-bottom: 20px;
            }

            p {
                font-weight: 200;
            }

            .box-avatar {
                padding-right: 10%;
                padding-top: 30px;
            }
        }
    }
}


.seller {
    position: relative;


        p{
            margin-bottom: 0 !important;
        }
    

    h2 {
        font-weight: 700;
        padding-bottom: 15px;
    }

    em {
        color: var(--black);
    }

    .btn_secondary {
        margin-top: 15px;
    }

    .quadrato {
        position: absolute;
        right: 0;
        width: 50%;
        height: 70%;
        bottom: 0;
        border-left: 4px solid var(--red);
        border-top: 4px solid var(--red);
        z-index: 2;
    }

    .quadrato-grigio {
        position: absolute;
        right: 0;
        width: 52%;
        height: 64%;
        bottom: 0;
        z-index: 1;
        background: #F9F9F9;
    }

    .z-9 {
        z-index: 9;
    }


    p{
        padding: 20px 0;
    }
}


.plus {
 
    padding-top: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    .title_plus {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 80px;
        color: #fff;
    }

    p {
        color: #fff;
    }
}


.vendiamo {
    em {
        color: var(--black);
    }

    h2 {
        padding-bottom: 15px;
    }

    .btn_secondary {
        margin-top: 15px;
    }

    .quadrato-grigio {
        position: absolute;
        bottom: 100px;
        width: 35%;
        height: 60%;
        background: #f9f9f9;
        z-index: 1;
    }

    .z-9 {
        position: relative;
        z-index: 2;
    }

    img {
        width: 100%;
        height: auto;
    }

    p{
        padding: 20px 0;
        margin-bottom: 0 !important;
    }
}

.certificazioni {
    background-color: var(--red);

    .content-certificazioni {
        display: flex;
        flex-direction: column;
        align-items: center;


        em {
            &::before {
                background-color: #fff;
            }
        }

        h2 {
            color: #fff;
            padding-bottom: 15px;
        }

        a {
            color: #fff;
            margin-top: 25px;
        }
    }
}


.novita {
    em {
        color: var(--black);
    }

    .news-item {
        img {
            width: 100%;
            height: auto;
        }



        .info_news {
            >div {
                color: var(--grigio);
                font-family: var(--font-secondary);
            }

            .line-vertical {
                height: 25px;
                width: 2px;
                background-color: var(--red);
            }
        }
    }

    .box-latest {
        padding: 20px 35px;
        background-color: #F9F9F9;
        transform: translateY(190px);

        h3 {
            margin-bottom: 20px;
            font-weight: 700;
        }

        img {
            width: 100%;
            height: auto;
        }

        .date {
            color: var(--grigio);
            font-family: var(--font-secondary);
            font-size: 12px;
        }

        h4 {
            font-family: var(--font-primary);
            font-size: 14px;
            font-weight: 700;
        }
    }
}

.azienda {
    padding-top: 150px;
    em {
        color: var(--black);

    }


    h2{
        padding-bottom: 10px;
        
    }

    img {
        width: 100%;
        height: auto;
    }
}

.rivolgiamo {
    h2{
        margin-bottom: 25px;
    }
    em {
        color: var(--black);

    }

    img{
        width: 100%;
    }
}

.page-template-template-news{
    .servizi_vendita{
        padding-bottom: 100px;
    }
}


.servizi_vendita {
    padding-bottom: 10px;
    padding-top: 100px;


    em {
        justify-content: center;
        color: var(--black);
    }
}

.page-template-template-home {
    .plus{
        padding-top: 150px;
    }
    .section_vendite {
        padding-bottom: 0 !important;
    }

    .vendiamo{
        padding-top: 150px;
    }

    .contact_form{
        padding-top: 100px;
    }
}

.page-template-template-servizi{

    .contact_form{
        padding-top: 150px;
    }
}

.page-template-template-azienda {
    .vendiamo{
        padding-top: 150px;
    }

    .rivolgiamo{
        padding-top: 150px;
    }

    .seller {
        padding-top: 0;

        .quadrato {
            border-bottom: 4px solid var(--red);
        }
    }
}

.page-template-template-servizi {
    .content-card {
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start !important;

        h3 {
            padding-top: 10px;
            padding-bottom: 10px;
        }
    }

    .body_card {
        transform: translateY(0);
    }

    .section_vendite {
        padding-top: 80px;
        padding-bottom: 0;
    }
}

.page-template-template-prodotti {
    .body_card {
        transform: translateY(0);
    }

        .section_vendite {
            padding-bottom: 150px;
            padding-top: 80px;
        }
}

.page-template-template-certificazioni {
    .body_card {
        transform: translateY(0);
    }

        .servizi_vendita{
            padding-bottom: 100px;
        }
}

.contact_form {
    form {
        margin-top: 50px;

        label,
        textarea,
        input {
            width: 100%;
            background: #F9F9F9;
            border: 0;
            padding: 5px 10px;
            outline: none;

            &::placeholder {
                color: #3F4144;
                font-family: var(--font-secondary);
                font-size: 16px;
            }
        }

        .btn_submit {
            text-align: center;

            p{
                text-align: left;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            input {
                width: auto;
                background-color: var(--red);
                border-radius: 30px;
                padding: 14px 36px;
                font-size: 18px;
                color: #fff;
            }

            .wpcf7-spinner {
            }
        }

        br {
            display: none;
        }
    }

    img {
        width: 100%;
        height: auto;
    }
}


.blog {

    &.novita {
        padding-top: 100px;
        .box-latest {
            transform: translateY(0);
        }

        .box-news {
            margin-top: 100px;
            background-color: var(--red);
            width: 100%;
            padding: 50px 0;
            text-align: center;
            color: #fff;

            h3 {
                font-size: 29px;
            }

            .btn_primary {
                background-color: #fff;
                color: var(--black);
                margin-top: 20px;
            }
        }
    }
}

.card_contact {
    padding-top: 150px;
    .content_card_contact {
        background-color: #F4F4F4;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}

.bg_azure {
    background-color: #F4F4F4;

    .bg_form_white {
        background-color: #fff;
        padding: 50px;
        transform: translateY(-100px);
    }
}

.lines-wrap-item {
    position: absolute;
    top: 0;
    left: -10px;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #b7b7b712 2px, transparent 2px);
    background-size: 80px 1px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background-size: 120px 1px;



    .animated-line {
        width: 235px;
        display: inline-block;
        height: 100%;
        top: -30px;
        left: 0;
        position: absolute;

        &:nth-child(2) {
            left: 240px;
        }

        &:nth-child(3) {
            left: 480px;
        }

        &:nth-child(4) {
            left: 720px;
        }

        &:nth-child(5) {
            left: 960px;
        }

        &:nth-child(6) {
            left: 1200px;
        }

        &:nth-child(7) {
            left: 1440px;
        }

        &:nth-child(8) {
            left: 1680px;
        }

        &::before {
            content: "";
            background-color: transparent;
            background-image: linear-gradient(0deg, #00000000 0%, #f16900 100%);
            left: 51%;
            width: 2px;
            height: 30px;
            position: absolute;
            border-radius: 50px;
            animation: scrollBottom 15s ease-out infinite;

            &:nth-child(2) {
                left: 240px;
            }

            &:nth-child(3) {
                left: 480px;
            }

            &:nth-child(4) {
                left: 720px;
            }

            &:nth-child(5) {
                left: 960px;
            }

            &:nth-child(6) {
                left: 1200px;
            }

            &:nth-child(7) {
                left: 1440px;
            }

            &:nth-child(8) {
                left: 1680px;

            }
        }

        &:nth-child(2) {
            left: 240px;

            &::after {
                animation-delay: 1.5s !important;
            }
        }

        &:nth-child(3) {
            left: 480px;

            &::after {
                animation-delay: 14s !important;
            }
        }

        &:nth-child(4) {
            left: 720px;

            &::after {
                animation-delay: 2.5s !important;
            }
        }

        &:nth-child(5) {
            left: 960px;

            &::after {
                animation-delay: 13s !important;
            }
        }

        &:nth-child(6) {
            left: 1200px;

            &::after {
                animation-delay: 5s !important;
            }
        }

        &:nth-child(7) {
            left: 1440px;

            &::after {
                animation-delay: 10s !important;
            }
        }

        &:nth-child(8) {
            left: 1680px;

            &::after {
                animation-delay: 2s !important;
            }
        }

        &:nth-child(9) {
            left: 1920px;

            &::after {
                animation-delay: 6s !important;
            }
        }

        &:nth-child(10) {
            left: 2140px;

            &::after {
                animation-delay: 1s !important;
            }
        }

        &:nth-child(2) {
            left: 240px;

            &::before {
                animation-delay: 1.5s !important;
            }
        }

        &:nth-child(3) {
            left: 480px;

            &::before {
                animation-delay: 8s !important;
            }
        }

        &:nth-child(4) {
            left: 720px;

            &::before {
                animation-delay: 2.5s !important;
            }
        }

        &:nth-child(5) {
            left: 960px;

            &::before {
                animation-delay: 3s !important;
            }
        }

        &:nth-child(6) {
            left: 1200px;

            &::before {
                animation-delay: 10s !important;
            }
        }

        &:nth-child(7) {
            left: 1440px;

            &::before {
                animation-delay: 3s !important;
            }
        }

        &:nth-child(8) {
            left: 1680px;

            &::before {
                animation-delay: 7s !important;
            }
        }

        &:nth-child(9) {
            left: 1920px;

            &::before {
                animation-delay: 2s !important;
            }
        }

        &:nth-child(10) {
            left: 2140px;

            &::before {
                animation-delay: 4s !important;
            }
        }

        &::after {
            content: "";
            background-color: transparent;
            background-image: linear-gradient(0deg, #f16900 0%, #00000000 100%);
            left: 102%;
            width: 2px;
            height: 30px;
            position: absolute;
            border-radius: 50px;
            animation: scrollTop 15s ease-out infinite;
        }
    }
}


@keyframes scrollBottom {
    0% {
        opacity: 1;
        bottom: 0;
    }

    100% {
        bottom: 120%;
        opacity: .5;
    }
}

@keyframes scrollTop {
    0% {
        top: 0;
        opacity: 1;
    }

    100% {
        top: 120%;
        opacity: .5;
    }
}

.z-10 {
    z-index: 10;
}


.page-template-template-news {
    .novita {
        .lines-wrap-item {
            & .animated-line {
                &::before {
                    content: "";
                    background-color: transparent;
                    background-image: linear-gradient(0deg, #00000000 0%, #f16900 100%);
                    left: 51%;
                    width: 2px;
                    height: 30px;
                    position: absolute;
                    border-radius: 50px;
                    animation: scrollBottom 60s ease-out infinite;
                }

                &::after {
                    content: "";
                    background-color: transparent;
                    background-image: linear-gradient(0deg, #f16900 0%, #00000000 100%);
                    left: 102%;
                    width: 2px;
                    height: 30px;
                    position: absolute;
                    border-radius: 50px;
                    animation: scrollTop 60s ease-out infinite;
                }
            }
        }
    }
}

.accept {
    .wpcf7-list-item{
        margin-left: 0;
    }
    label {
        width: auto !important;
        background: #ffffff !important;
        border: 0 !important;
        padding: 5px 10px;
        outline: none;
        display: flex !important;
        align-items: center;
        gap: 5px;

        span{
            font-size: 12px;
        }

        input{
            width: auto !important;
        }
    }
}


.page-id-296{
    .colonnastretta{
        max-width: 1320px;
        margin: 0 auto;
        padding-top: 140px;
    }

        div#cmplz-document {
                width: 100% !important;
                    max-width: 100%;
        }


                #cmplz-cookies-overview .cmplz-dropdown summary div,
                #cmplz-document .cmplz-dropdown summary div{
                    display: flex !important;
                    justify-content: space-between !important;
                }
}

footer {
    padding-top: 50px;
    background: transparent linear-gradient(180deg, #1D3C6F 0%, #213D6A 59%, #3F4144 100%) 0% 0% no-repeat padding-box;
    color: #fff;

    .logosito {
        img {
            width: 220px;
            margin-bottom: 30px;
        }
    }

    h3 {
        font-size: 18px;
        font-weight: 700;
    }

    h4 {
        font-size: 16px;
        font-weight: 500;
    }

    p {
        font-weight: 200;
    }

    a {
        font-weight: 300;
    }

    .copyright {
        font-size: 12px;
        padding-bottom: 15px;
    }
}