/* 
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 */

body,
main{
	overflow-x: hidden;
}

a{
	color: inherit;
}

/* Stili per l'effetto testo animato stile soleilnoir.com */
/* Contenitore principale */
.text-animation-soleil {
    /*overflow: hidden;*/
    line-height: 1.4; /* Leggermente aumentato per span multipli */
}

/* Wrapper per il contenuto animato */
.animated-content-wrapper {
    display: inline;
}

/* Contenitore per le parole */
.animated-words-container {
    display: inline;
}

/* Stile per le parole animate - VERSIONE ORIGINALE */
.animated-word {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    display: inline-block;
    margin-right: 0.2em;
}

/* Stile per le lettere animate - VERSIONE ORIGINALE */
.animated-letter {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
    display: inline-block;
}

/* NOTA: Gli elementi HTML sono ora integrati nelle parole animate
   quindi non serve più .animated-element */

/* Line breaks animati */
.animated-br {
    opacity: 0;
    display: block;
    margin: 1em 0;
    will-change: opacity;
}

/* Preserva gli stili inline originali */
.animated-element[style] {
    /* Gli stili inline vengono mantenuti automaticamente */
}

/* Stile per il testo grassetto negli span animati */
.animated-element[style*="font-weight: 700"],
.animated-element[style*="font-weight: bold"] {
    /* Assicura che il grassetto sia visibile durante l'animazione */
    font-weight: 700 !important;
}

/* Personalizzazione per schermi piccoli */
@media (max-width: 768px) {
    .animated-word {
        margin-right: 0.1em;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .animated-letter {
        transition-duration: 0.3s !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Assicura che il testo non esca dal contenitore */
    .text-animation-soleil {
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .animated-letter {
        transition-duration: 0.25s !important;
    }

    .animated-element {
        transform: translateY(15px); /* Meno movimento su mobile */
    }
}




/*Styling image carousel*/
.dkr-material-carousel{
    min-height: 90vh;
}

.swiper-slide-active .dkr-material-container {
    height: 90vh!important;
}

.dkr-material-container {
    height: 65vh!important;
    transition: 1s;
}

.dkr-material-container:hover .dkr-material-title{
    opacity: 1;
}

.dkr-material-container .dkr-material-title{
    opacity: 0;
    transition: 2s;
}

svg#Livello_1:hover circle {
    fill: rgb(255,255,255,0.3);
}

.dkr-material-carousel.elementor-widget-n-carousel .e-n-carousel.offset-right {
    padding-inline-end: 26vw;
}

.rrr-contact-form input[type="checkbox"]{
    width: 1.37vw;
    -webkit-appearance: none;
    height: 1.37vw;
    border: 1px solid #FEFEFF !important;
    background-color: transparent !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: .41vw;
    position: relative;
    transition: all 0.2s 
ease-in-out;
    padding: 0 !important;
}


.rrr-contact-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: .8vw;
    height: .8vw;
    top: .23vw;
    left: .23vw;
    background-color: #FEFEFF;
}

@media (max-width: 767px) {
	.rrr-contact-form input[type="checkbox"] {
		width: 4.37vw;
		height: 4.37vw;
		margin-right: 1.41vw;
	}
	.rrr-contact-form input[type="checkbox"]:checked::after {
		width: 2.8vw;
		height: 2.8vw;
		top: 0.45vw;
		left: 0.44vw;
	}
	
	.swiper-slide-active .dkr-material-container {
		height: 50vh!important;
	}
	
	.swiper-slide-active .dkr-material-container .dkr-material-title{
		opacity: 1;
	}

	.dkr-material-container {
		height: 35vh!important;
		transition: 1s;
	}
	
	.dkr-material-carousel{
		min-height: 50vh;
	}
	
	.rrr-contact-form .elementor-field-group{
		    margin-bottom: 5vh!important;
	}
	
	.rrr-contact-form .elementor-field-group:not(.elementor-field-type-acceptance) .elementor-field:not(.elementor-select-wrapper) {
		border-width: 0px 0px 2px 0px!important;
	}

}

