/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */


.btn-philia span.elementor-button-text{
	min-width: 240px;
}

.btn-philia-header span.elementor-button-text{
	min-width: 200px;
}

.carosello-philia .swiper .elementor-swiper-button {
	top:  calc(100% + 60px) !important;
	
}

.carosello-philia .swiper .elementor-swiper-button-prev {
	   left: calc(50% - 65px)  !important;
}

.carosello-philia .swiper .elementor-swiper-button-next{
	   right: calc(50% - 65px)  !important;
}

#menumasseria, #menumasseriamobile {
	display: none;
}

.rotate180 {
  transform : rotate(180deg);
}

.title_exp_marq {
	font-size: 84px !important;
	font-weight: 300 !important;
	color: #F8F1EA !important;
}

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 200px;
  overflow-x: hidden;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.galleria-stanza .elementor-swiper-button.elementor-swiper-button-prev {
	top: calc(100% + 50px) !important;
    left: calc(50% - 40px) !important;
}

.galleria-stanza .elementor-swiper-button.elementor-swiper-button-next{
	top: calc(100% + 50px) !important;
    left: calc(50% + 40px) !important;
}


.galleria-stanza {
	    margin-inline-start: -9% !important;
	
}

.elementor.elementor .e-con>.galleria-stanza.elementor-widget {
    max-width: calc(100% + 18%) !important;
}

.e-con .galleria-stanza.elementor-widget.e-widget-swiper{
    width: calc(100% + 18%) !important;
}
.ov-x {
	overflow-x: clip !important;
}

.galleria-stanza {
	overflow-x: clip !important;
}

@media (max-width: 767px) {
	.galleria-stanza {
	    margin-inline-start: -50% !important;
	}
	
	.elementor.elementor .e-con>.galleria-stanza.elementor-widget {
    max-width: calc(100% + 100%) !important;
}

.e-con .galleria-stanza.elementor-widget.e-widget-swiper{
    width: calc(100% + 100%) !important;
}
	
	.galleria-stanza .elementor-swiper-button.elementor-swiper-button-prev {
	top: calc(100% + 50px) !important;
    left: calc(50% - 52px) !important;
}

.galleria-stanza .elementor-swiper-button.elementor-swiper-button-next{
	top: calc(100% + 50px) !important;
    left: calc(50% + 16px) !important;
}
}

#img_pietra, #img_arco, #img_nicchia, #img_stella, #img_padiglione { 
  display: none !important; 
  transition: opacity 0.3s ease; /* opzionale per fade */
}
#img_pietra.show, #img_arco.show, #img_nicchia.show, #img_stella.show, #img_padiglione.show { 
  display: block !important; 
}

#myheader {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    background-color: transparent;
}
#myheader.hidden {
    opacity: 0;
}
#myheader.scroll-up {
    background-color: #353130 !important; /* Marrone */
    opacity: 1;
}


