/*
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 */
.cmplz-show-banner {
    cursor: pointer;
}

.site-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.copyright.show a,
.wpcf7-list-item-label a {
     color: #fff;
}

.copyright.show a:hover,
.wpcf7-list-item-label a:hover {
    color: #F15A22;
}

.site-footer:not(.footer-stacked) .footer-inner .site-navigation {
    justify-content: flex-end;
}

.site-footer:not(.footer-stacked) .footer-inner .copyright {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    margin-top: 50px;
}

.elementor-widget-mastella-slider-portfolio .swiper-slide,
.elementor-widget-mastella-slider-collezioni .swiper-slide {
    justify-content: center;
    display: flex;
}

#site-header {
    z-index: 2;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-top: 38px;
}

header .site-logo img {
    max-width: 170px;
}

.site-navigation ul.menu li a {
    font-size: 22px;
    line-height: 32px;
    color: #fff;
    font-family: "mr-eaves-xl-modern", sans-serif!important;
    transition: all 0.2s ease;
}

.elementor-widget.testo-operetta,
.testo-operetta {
    font-family: "operetta-12", serif!important;
    font-weight: 600!important;
    font-style: normal!important;
}

.elementor-widget.testo-eaves,
.testo-eaves {
    font-family: "mr-eaves-xl-modern", sans-serif!important;
    font-weight: 400!important;
    font-style: normal!important;
}

@media (min-width: 769px) {
    .contenitore-right {
        margin-left: calc(100% - 966px);
    }
    span.d-acapo {
        display: block;
    }
}

#slider-esperienza {
    overflow: hidden;
}

.elementor-tabs-wrapper .elementor-tab-title.elementor-active,
.elementor-tabs-wrapper .elementor-tab-title:hover {
    border-left-color: transparent!important;
    border-right-color: transparent!important;
    background-color: #F15A22;
}

.elementor-tabs-wrapper .elementor-tab-title.elementor-active:before,
.elementor-tabs-wrapper .elementor-tab-title.elementor-active:after {
    display: none!important;
}

.elementor-tabs-wrapper .elementor-tab-title {
    border-top: 1px solid #fff!important;
    border-bottom: none!important;
    flex: 1 0 21%;
    text-align: center;
    border-left: none!important;
    border-right: none!important;
}

.elementor-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(1) {
    flex: 1 0 20%;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(2) {
    flex: 1 0 20%;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(3) {
    flex: 1 0 20%;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(4) {
    flex: 1 0 25%;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(5) {
    flex: 1 0 20%;
    border-bottom: 1px solid #fff!important;
    padding: 20px 10px;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(6) {
    flex: 1 0 20%;
    border-bottom: 1px solid #fff!important;
    padding: 20px 10px;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(7) {
    flex: 1 0 20%;
    border-bottom: 1px solid #fff!important;
    padding: 20px 10px;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(8) {
    flex: 1 0 20%;
    border-bottom: 1px solid #fff!important;
    padding: 20px 10px;
}

#tab-ragioni .elementor-tabs-wrapper .elementor-tab-title:nth-child(9) {
    flex: 1 0 20%;
    border-bottom: 1px solid #fff!important;
    padding: 20px 10px;
}

#tab-ragioni .elementor-tab-content {
    padding-top: 50px;
}

#tab-ragioni .elementor-tab-content img {
    margin-bottom: 30px;
}

#tab-ragioni .elementor-tab-content h3 {
    font-size: 50px;
    line-height: 65px;
}

#tab-ragioni .elementor-tab-content p {
    font-size: 25px;
    line-height: 35px;
}

@media (max-width: 767px) {
    #tab-ragioni .elementor-tab-mobile-title.elementor-active {
        border-bottom: 1px solid #fff!important;
        background-color: #F15A22;
    }
    #tab-ragioni .elementor-tab-content h3 {
        font-size: 30px;
        line-height: 35px;
    }
    #tab-ragioni .elementor-tab-content p {
        font-size: 18px;
        line-height: 25px;
    }

    .elementor-tab-title.elementor-tab-mobile-title:after {
        content: "+";
        position: absolute;
        right: 10px;
        font-weight: 300;
        font-size: 20px;
        line-height: 24px;
        transition: all 0.5s ease;
    }

    .elementor-tab-title.elementor-tab-mobile-title.elementor-active:after {
        transform: rotate(45deg);
    }
}

.elementor-tabs-content-wrapper .elementor-tab-content {
    border: none!important;
}

#site-footer {
    background-color: #000;
    color: #fff;
}

#site-footer .site-navigation ul.menu li a {
    font-size: 18px;
    line-height: 20px;
}

.site-navigation ul.menu li a:hover {
    color: #F15A22;;
}

.mastella-slider-pagination {
    display: flex;
    float: right;
    margin-bottom: 20px;
}

.mastella-slider-pagination > div:not(.slider-counter) {
    width: 50px;
    height: 50px;
    position: initial;
    display: inline-block;
    margin: 0;
}

.mastella-slider-pagination > div:after {
    background-image: url('assets/images/slider-freccia.svg');
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    width: 100%;
    height: 100%;
    background-size: cover;
    display: block;
}

.mastella-slider-pagination > div.swiper-button-prev:after {
    transform: rotate(180deg);
}

.mastella-slider-pagination .slider-counter {
    font-family: "mr-eaves-xl-modern", sans-serif!important;
    display: inline-block;
    font-size: 25px;
    line-height: 50px;
    margin-right: 10px;
}

.mastella-slider-pagination > div.swiper-button-next {
    margin-left: 15px;
}

.swiper-slider-portfolio .swiper-slide .testo .titolo,
.swiper-slider-collezione .swiper-slide .testo .titolo,
.swiper-slider-prodotti .swiper-slide .testo .titolo {
    font-family: "mr-eaves-xl-modern", sans-serif!important;
    font-weight: bold;
    font-size: 25px;
    line-height: 35px;
    margin-top: 10px;
}

.swiper-slider-portfolio .swiper-slide .testo .descrizione {
    font-family: "mr-eaves-xl-modern", sans-serif !important;
    font-size: 22px;
    line-height: 35px;
}

.swiper-slider-collezione .swiper-slide:not(.swiper-slide-active) {
    padding: 40px;
}

.swiper-slider-collezione .swiper-slide {
    -moz-transition: padding 0.5s ease;
    -o-transition: padding 0.5s ease;
    transition: padding 0.5s ease;
}

.swiper-slider-collezione .swiper-slide .testo .titolo {
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.swiper-slider-collezione .swiper-slide:not(.swiper-slide-active) .testo .titolo {
    opacity: 0;
}

.swiper-slider-prodotti .swiper-slide .testo .titolo {
    text-align: center;
}

.wpcf7-form input,
.wpcf7-form textarea {
    border-radius: unset;
    border: none;
    margin-bottom: 10px;
}

.wpcf7-form input:focus-visible {
    outline: none;
}

.wpcf7-form {
    color: #fff;
    font-family: "mr-eaves-xl-modern", sans-serif !important;
}

.wpcf7-form .mastella-form-legenda {
    margin-top: -30px;
}

.wpcf7-form .wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-form .wpcf7-submit,
.bottone-arancio a {
    background-color: #F15A22;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 20px;
    padding: 20px 50px;
}

.site-navigation-toggle-holder .site-navigation-toggle {
    color: #F15A22;
}

.bottone-arancio a {
    animation: customSwing ease-in-out 1s infinite alternate;
    transform-origin: center -20px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    display: inline-block;
}

@keyframes customSwing {
    0% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}

.wpcf7-form .form-full .wpcf7-not-valid-tip {
    margin-top: -5px;
    padding-bottom: 15px;
}

@media (min-width: 900px){

    .wpcf7-form .form-half {
        width: 50%;
        float: left;
    }

    .wpcf7-form .form-half:nth-child(even) {
        padding-right: 10px;
    }

    .wpcf7-form .form-half:nth-child(odd) {
        padding-left: 10px;
    }

}