/*
CTC Separate Stylesheet
Updated: 2024-05-22 10:36:45
*/

/* inizio cta mobile */

/*pulsanti cookieyes*/
.cky-btn {
	padding: 8px !important;
}

.grecaptcha-badge {
	display: none;
}

span.my_label.vis_label {
    display: block !important;
    line-height: initial;
    padding-bottom: 10px;
}




.elementor-kit-26 [type="file"] {
    color: #d2d2d2 !important;
}

.elementor-kit-26 select {
    font-family: "Lexend", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7em;
    color: #454955;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #F3EFF5;
    border-radius: 0px 0px 0px 0px;
    padding: 16px 24px 16px 24px;
}


.btn-form-mobile {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-color: #dced31;
    color: #000 !important;
    position: fixed;
    bottom: 0;
    padding: 12px 2px;
    font-size: 16px;
    justify-content: center;
        z-index: 100000;
}

.btn-telefono-mobile  {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    background-color: #fff;
    color: #000 !important;
    position: fixed;
    bottom: 80px;
    padding: 5px;
    font-size: 16px;
    width: 60px;
    height: 60px;
    right: 10px;
    border-radius: 10px;
        z-index: 100000;
}


.btn-telefono-mobile  img {
    width: 25px;
}
.btn-telefono-mobile  span {
    font-size: 13px;
}

/* fine cta mobile */

/* common */

.sezione-footer-camion {
    overflow: hidden;
}

.my_flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

strong {
    font-weight: 800;
}

/**************************************/

.my_card {
    width: 33;
}

.my_button a.elementor-button {
    width: 100%;
}

.my_article h2{
     font-size: 2rem;
}

/******************FORM PREVENTIVO************/
.my_form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;

    p {
        width: 47%;

        label {
            width: 100%;
            line-height: .1;

            .my_label {
                display: none;
            }
        }
    }

    p.my_submit_cv {
        width: 100%;

        input.wpcf7-file {
            border: none;
            padding-left: 0px;
        }
    }

    .my_text {
        width: 100%
    }

}

@media screen and (max-width: 767px) {
    p.my_submit_cv input.wpcf7-file {
        border: none !important;
        padding-left: 0px !important;
    }
}



/******************CARD SIGOLI SERVIZI************/
.card-body {
    align-self: stretch;
    width: calc((100% - (30px * 2)) / 3);
    background-repeat: no-repeat;
    background-size: cover;
    /* padding-top: 400px; */
    /* padding-left: 50px; */
    padding: 140px 10px 20px;
    /* aspect-ratio: 1.5; */
    /* display: flex; */
    /* flex-direction: column; */
    text-align: center;
    list-style: none;
    clip-path: polygon(100% -65%, 0% 20%, 0% 100%, 100% 100%);

    .content {
        background-color: rgba(0, 0, 0, 0.473);
        border-radius: 20px;
        padding: 2px;

        .description {
            color: var(--e-global-color-primary);
        }
    }

}


@media screen and (max-width: 890px) and (min-width: 767px) {
    .card-body {
        width: 46%;
    }
}

@media screen and (max-width: 766px) {

    /* .card-body {
        width: 100%;

        .content {
            background-color: rgba(0, 0, 0, 0.473);
            border-radius: 20px;
            padding: 2px;

            .description {
                color: var(--e-global-color-primary);
            }
        }
    } */
    .card-body {
        width: 100%;
    }

    .card-body .content {
        background-color: rgba(0, 0, 0, 0.473);
        border-radius: 20px;
        padding: 2px;
    }

    .card-body .content .description {
        color: var(--e-global-color-primary);
    }
}



/*****************PARCO MEZZI*********************/

.card_mezzi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;

    li:nth-child(2n) {
        flex-direction: row-reverse;
    }

    li {
        width: 100%;
        align-items: stretch;

        .secondary_card {
            background-color: #454955;
            color: #f3eff5;
            width: 49%;
            padding: 50px;

            h3 {
                color: #f3eff5;
            }
        }

        .primary_card {
            width: 49%;
            padding: 50px;
            background-color: #f3eff5;
            color: #454955;
            background-size: contain;
            background-position-x: 165px;
            background-position-y: center;
            background-repeat: no-repeat;
            position: relative;

            h3 {
                color: #454955;
            }

            span {
                position: absolute;
                background-color: var(--e-global-color-accent);
                padding: 8px 15px;

                svg {
                    display: inline-block;
                    width: 25px;
                    margin-right: 20px;
                }
            }

        }

        h3 {
            font-size: 35px;
            padding-right: 100px;
            padding-top: 40px;
        }
    }
}



@media (max-width: 1023px) {
    .card_mezzi {
        li {
            .secondary_card {
                width: 100%;
                padding: 25px;
                padding-top: 0;

                h3 {
                    font-size: 1.5rem;
                    padding-right: 0px;
                }
            }

            .primary_card {
                display: none;
            }
        }

        li:nth-child(2n) {
            .secondary_card {
                background-color: #f3eff5;
                color: #454955;

                h3 {
                    color: #454955;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .card_mezzi .primary_card {
        display: none;
    }

    .card_mezzi .secondary_card {
        background-color: #454955;
        color: #f3eff5;
        width: 100%;
        padding: 25px;
    }

    .card_mezzi .secondary_card>h3 {
        font-size: 1.5rem;
        padding-right: 0px;
    }


}





/******************OFFERTA LAVORO************/

ul.my_flex {
    list-style: none;
    padding: 0;
    align-items: stretch;
    gap: 30px;


    li.card {
        background-color: #454955;
        width: calc((100% - 30px* 2) / 2);
        padding: 90px 25px 25px 25px;
        clip-path: polygon(100% -100%, 0% 10%, 0% 100%, 100% 100%);

        a:hover {
            color: var(--e-global-color-accent);
        }


        span {
            background-color: #0c0a0a;
            padding: 20px 7px 7px 7px;
            font-weight: bold;
        }

        h3 {
            margin: 40px 0;
        }
    }
}

@media screen and (max-width: 1023px) {
    ul.my_flex li.card {
        background-color: #454955;
        width: 100%;
        padding: 90px 25px 25px 25px;
        clip-path: polygon(100% -100%, 0% 10%, 0% 100%, 100% 100%);
    }
    
    ul.my_flex a:hover {
        color: var(--e-global-color-accent);
    }

    ul.my_flex span {
        background-color: #0c0a0a;
        padding: 20px 7px 7px 7px;
        font-weight: bold;
    }

    ul.my_flex h3 {
        margin: 40px 0;
    }
}


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

    p {
        font-size: 2.5rem;
        font-weight: bold;
        text-align: center;
        margin: 100px 0;
    }

    a {
        border: 2px solid var(--e-global-color-accent);
        padding: 2em;
        color: var(--e-global-color-7e3c64e);
        background-color: var(--e-global-color-accent);

        &:hover {
            color: var(--e-global-color-accent);
            background-color: transparent;
            border: 2px solid var(--e-global-color-primary);
        }
    }

}

/******************NAV BAR************/

.my_nav {
    ul#menu-menu-principale {
        width: max-content;

        i {
            margin-left: 20px;
        }
    }
}

@media screen and (max-width: 766px) {
    ul#menu-menu-principale i {
        margin-left: 40px;
    }
}

@media screen and (max-width: 890px) and (min-width: 767px) {

    /* Your CSS rules here */
    .my_nav {
        ul#menu-menu-principale {
            a {
                padding: 15px 10px;
                margin: 0px;
            }
        }
    }
}


@media (min-width: 1024px) {
    .ekit-nav-dropdown-hover .elementskit-dropdown-has:hover>.elementskit-dropdown {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        pointer-events: auto;
    }
}


/*************lista singoli servivi**********/

.my_lista {
    li {
        width: 30%;
        flex-direction: column;
        justify-content: left;
        text-align: center;


        h5 {
            width: 100%;
            text-align: center;
            border: 2px solid var(--e-global-color-accent);
            padding: 5px 0px;
        }
    }
}

@media screen and (max-width: 767px) {
    ul.my_lista {
        gap: 0px;

        li {
            width: 100%;
        }
    }

    .my_lista h5 {
        width: 100%;
        text-align: center;
        border: 2px solid var(--e-global-color-accent);
        padding: 5px 0px;
    }
}

.my_blog {
    .elementskit-post-image-card {
        height: calc(100% - 30px);
    }
}