/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Targeta i placeholder dei campi all'interno di moduli Elementor */
.elementor-form input::placeholder,
.elementor-form textarea::placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

/* Per compatibilità cross-browser */
.elementor-form input::-webkit-input-placeholder,
.elementor-form textarea::-webkit-input-placeholder {
    color: #000000 !important;
}

.elementor-form input:-moz-placeholder,
.elementor-form textarea:-moz-placeholder {
    color: #000000 !important;
}

.elementor-form input::-moz-placeholder,
.elementor-form textarea::-moz-placeholder {
    color: #000000 !important;
}

.elementor-form input:-ms-input-placeholder,
.elementor-form textarea:-ms-input-placeholder {
    color: #000000 !important;
}

.elementor-form input:focus,
.elementor-form textarea:focus,
.elementor-form select:focus {
    outline: none !important;
    box-shadow: none !important;
}

input#form-field-privacy {
    position: relative;
    top: 3px;
}


.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after {
    visibility: hidden;
}

.elementor-nav-menu--main .elementor-nav-menu a {
    padding: 10px 0 !important;
}

body.home .top-menu-social {
    display: none;
}

.wpml-ls-item ul.sub-menu {
    margin: 0 !important;
}

.wpml-ls-item ul.sub-menu .elementor-sub-item {
    width: 42px;
    background: #ddd;
}

li.menu-special {
    border: 2px solid #000;
}

.dati-tecnici hr {
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.dati-tecnici.img-background hr {
    border-bottom: 1px solid #fff;
}

span.swiper-pagination-bullet {
    width: 50px;
    border-radius: 0;
    height: 3px;
    margin-top: 15px;
}

.elementor-element.elementor-pagination-position-outside .swiper {
    padding-bottom: 50px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.language-toggle {
    background: #0073e6;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.language-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    display: none;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.language-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.language-menu li a:hover {
    background: #f0f0f0;
}

.language-dropdown.open .language-menu {
    display: block;
}

.language-dropdown button.language-toggle {
    font-weight: 600;
}

.language-dropdown button.language-toggle i {
    position: relative;
    top: 2px;
}

a.elementor-post__read-more {
    border: 1px solid #000;
    padding: 14px 30px 14px 30px;
    margin-top: 30px;
    display: inline-block;
}

.elementor-1792 .elementor-element.elementor-element-5ee145d .elementor-nav-menu--dropdown a:hover,
.elementor-1792 .elementor-element.elementor-element-5ee145d .elementor-nav-menu--dropdown a.elementor-item-active,
.elementor-1792 .elementor-element.elementor-element-5ee145d .elementor-nav-menu--dropdown a.highlighted,
.elementor-1792 .elementor-element.elementor-element-5ee145d .elementor-menu-toggle:hover {
    color: #000000;
    /* Cambia questo con il colore desiderato */
}

.sub-menu li {
    padding: 0 40px 0 20px;
}

.wpml-ls-item .sub-menu li {
    padding: 0;
}

body.home .swiper-horizontal>.swiper-pagination-bullets,
body.home .swiper-pagination-bullets.swiper-pagination-horizontal,
body.home .swiper-pagination-custom,
body.home .swiper-pagination-fraction {
    left: 50% !important;
}

.lista-progetti .elementor-widget-theme-post-featured-image .elementor-widget-container {
    position: relative;
    width: 100%;
    padding-bottom: 65%;
    overflow: hidden;
}

.lista-progetti .elementor-widget-theme-post-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-case .elementor-posts .case .elementor-post__title,
.pagina-categoria-case-progetti .elementor-post__title a {
    display: inline-block;
    font-family: "Roboto", Sans-serif;
    font-size: 18px !important;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #000;
    padding: 14px 30px 14px 30px;
}

.single-case .elementor-posts .case .elementor-post__title::after,
.pagina-categoria-case-progetti .elementor-post__title a::after {
    content: "\e876";
    font-weight: 900;
    font-family: elementskit !important;
}

.single-case .elementor-posts .case .elementor-post__title a {
    font-family: "Roboto", Sans-serif;
    font-size: 18px !important;
    font-weight: 500;
}

/* Testo che scorre */
.excellence-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.excellence-text {
    font-size: 180px;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: url('img/1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    white-space: nowrap;
    animation: scroll 50s linear infinite;
}


/* Isola blocco su mobile */
@media (max-width: 767px) {
    .fix-mobile-overlap {
        display: flow-root;
        isolation: isolate
    }

    .fix-mobile-overlap .elementor-widget-container {
        overflow: visible
    }

    .fix-mobile-overlap .elementor-posts-container {
        display: block;
        contain: layout
    }

    .fix-mobile-overlap article.elementor-post {
        position: relative;
        display: block;
        overflow: hidden;
        margin: 0 0 20px
    }

    .fix-mobile-overlap .elementor-post__overlay,
    .fix-mobile-overlap .elementor-post__text {
        position: static;
        inset: auto;
        transform: none
    }

    .fix-mobile-overlap .elementor-post__thumbnail,
    .fix-mobile-overlap .elementor-post__thumbnail__link,
    .fix-mobile-overlap .elementor-post__thumbnail img {
        display: block;
        width: 100%;
        height: auto
    }
}

/**/

@media(max-width:1366px) {
    .excellence-text {
        font-size: 120px;
    }
}

@media(max-width:1024px) {
    .marquee-text {
        font-size: 140px;

    }

    .excellence-text {
        animation: scroll 50s linear infinite;
    }

    .lista-progetti .elementor-widget-theme-post-featured-image .elementor-widget-container {
        position: unset;
        width: unset;
        padding-bottom: unset;
        overflow: unset;
    }

    .lista-progetti .elementor-widget-theme-post-featured-image a,
    .lista-progetti .elementor-widget-theme-post-featured-image img {
        position: relative;
        width: 100%;
        object-fit: cover;
        height: 350px;
        min-height: 100%;
    }
}

@media(max-width:767px) {
    .excellence-text {
        font-size: 100px;

    }

    .excellence-text {
        animation: scroll 60s linear infinite;
    }
}

.followUs-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.followUs-text {
    font-size: 180px;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: url('img/2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    white-space: nowrap;
    animation: scroll 50s linear infinite;
}


/* Scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(15%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media(max-width:1366px) {
    .followUs-text {
        font-size: 120px;
    }
}

@media(max-width:1024px) {
    .followUs-text {
        font-size: 140px;

    }

    .followUs-text {
        animation: scroll 50s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(30%);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}

@media(max-width:880px) {
    body.home .top-menu-social {
        display: inline-block;
    }
}

@media(max-width:767px) {
    .followUs-text {
        font-size: 100px;

    }

    .followUs-text {
        animation: scroll 60s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(20%);
        }

        100% {
            transform: translateX(-100%);
        }

    }
}

/**/

@media (max-width: 767px) {
    .reverse-mobile {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    span.swiper-pagination-bullet {
        width: 25px;
    }

    .elementor-element.elementor-pagination-position-outside .swiper {
        padding-bottom: 50px;
    }

    .prefooter ul.sub-menu {
        margin: -30px 97px !important;
    }
}