/* 
Theme Name: Sito Bake
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: 20.1.0
Text Domain: bake
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 */ 
:root {
	--animation-primary: 0.75s cubic-bezier(0.62, 0.05, 0.01, 0.99);
}

body {
	overflow-x: hidden;
}

@media only screen and (min-width: 480px) {
    body {
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

@media only screen and (min-width: 980px) {
    body {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1200px) {
    body {
        font-size: 20px;
    }
}

@media only screen and (min-width: 1580px) {
    body {
        font-size: 22px;
    }
}

@media only screen and (min-width: 980px) {
    .e-con>.e-con-inner {
        width: 96%!important;
			max-width: 1712px!important;
    }
}

header > div {
	mix-blend-mode: difference;
}

.elementor-nav-menu li {
    transition: opacity .2s ease-in-out, border-color .3s ease-in-out;
}

.elementor-nav-menu:hover li {
    opacity: 0.5;
}

.elementor-nav-menu li:hover {
    opacity: 1;
}

a:active,a:hover {
    outline:0;
}

.menu-item a,
.e-filter-item,
.pulsante-chiusura a { 
    position: relative
}

/*
.menu-item a:before {
    background-color: #010101;
    bottom: 0;
    content: "";
    height: .05em;
    left: 0;
    min-height: 1.5px;
    position: absolute;
    right: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--animation-primary);            transition-delay: .3s;
}

.current-menu-item a:before {
	transform: scaleX(1)!important;
    transform-origin: left; 
}

.menu-item.spaced a:before {
	transform: scaleX(1); 
    transform-origin: left;
}*/

/*search.e-filter button:not(:last-child):before {
    content: "/";
    margin: 0 15px;
    color: var(--e-filter-active-text-color) !important;
}*/

search.e-filter button {
    margin: 0 10px;
    padding: 0 0 10px 0!important;
}

.lista-categorie-dentro-articolo li {
	margin-bottom: 10px!important;
}

header .menu-item a,
.e-filter-item,
.pulsante-chiusura a,
#lista-categorie a,
.lista-categorie a {
	text-decoration: none;
	background-image: linear-gradient(#fefefe, #fefefe);
	background-size: 0% 0.1em;
	background-position-y: 100%;
	background-position-x: 100%;
	background-repeat: no-repeat;
	transition: background-size var(--animation-primary)!important;
}

.e-filter-item:before {
	background: none!important;
}


#lista-categorie a,
.lista-categorie a{
	color: #69727D!important;
}

.e-filter-item,
#lista-categorie a,
.lista-categorie a {
	background-image: linear-gradient(#010101, #010101);
	padding: 0 0 10px 0!important;
}
 
#lista-categorie.lista-categorie-dentro-articolo a { 
	padding: 0 0 5px 0!important;
}

#lista-categorie a:hover,
.lista-categorie a:hover {
	color: #101010!important;
}

#lista-categorie.horizontal .elementor-loop-container.elementor-grid,
.lista-categorie.horizontal .elementor-loop-container.elementor-grid{
    display: flex!important;
    justify-content: center!important;
}

#lista-categorie.horizontal .e-loop-item,
.lista-categorie.horizontal .e-loop-item{
    width: fit-content !important;
} 

@media screen and (max-width: 768px){
	#lista-categorie.horizontal .elementor-loop-container.elementor-grid, .lista-categorie.horizontal .elementor-loop-container.elementor-grid {
		justify-content: center!important;
		flex-direction: column!important;
		align-items: center!important;
		grid-row-gap: 23px!important;
	}
}
 




.pulsante-chiusura a {
	background-image: linear-gradient(#010101, #010101);
}

header .menu-item a:hover,
header .menu-item a:focus,
header .menu-item a:active,
header .current-menu-item a, 
.e-filter-item:focus,
.e-filter-item:active,
.e-filter-item:hover,
.e-filter-item.focused,
.pulsante-chiusura a:hover,
#lista-categorie a:hover,
#lista-categorie a:focus,
#lista-categorie a.active,
.lista-categorie a:hover,
.lista-categorie a:focus,
.lista-categorie a.active  {
	background-size: 100% 0.1em;
	background-position-x: 0%;
	transition-delay: 0.2s!important;
}

#lista-categorie a.active span,
.lista-categorie a.active span {
	color: #010101!important;
}


.singolo-progetto .apri-progetto,
.singolo-progetto .descrizione-progetto {
    opacity: 0;
    transform: translateY(10px);
    transition: all .5s ease-in-out;
    position: relative;
    
}

.singolo-progetto:hover .apri-progetto, .singolo-progetto:hover .descrizione-progetto {
    opacity: 1;
    transform: translateY(0); 
}

.singolo-progetto .apri-progetto {
    transition-delay: 0.2s;
}

.dce-posts-container.dce-skin-grid .dce-posts-wrapper {

}  

#lavori .dce-item-grid .e-loop-item {
    position: relative;
    overflow: hidden;
} 

#lavori .dce-item-grid:nth-child(1) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(2) { 
    width: 57% !important; 
    flex: 0 1 57% !important; 
}
#lavori .dce-item-grid:nth-child(3) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}
#lavori .dce-item-grid:nth-child(4) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}
#lavori .dce-item-grid:nth-child(5) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(6) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(7) { 
    width: 57% !important; 
    flex: 0 1 57% !important; 
}
#lavori .dce-item-grid:nth-child(8) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}
#lavori .dce-item-grid:nth-child(9) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(10) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}
#lavori .dce-item-grid:nth-child(11) { 
    width: 57% !important; 
    flex: 0 1 57% !important; 
}
#lavori .dce-item-grid:nth-child(12) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(13) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}
#lavori .dce-item-grid:nth-child(14) { 
    width: 43% !important; 
    flex: 0 1 43% !important; 
}
#lavori .dce-item-grid:nth-child(15) { 
    width: 28.5% !important; 
    flex: 0 1 28.5% !important; 
}

/* Ripetizione per elementi oltre il quindicesimo */
#lavori .dce-item-grid:nth-child(n+16) {
    width: calc(43% * (1 + (n-15) % 15)) !important;
    flex: 0 1 calc(43% * (1 + (n-15) % 15)) !important;
}


@media screen and (max-width: 768px){
    .type-cases  {
        width: 100% !important;
        flex: 0 1 100% !important;
    }
	
	#lavori .dce-item-grid, #lavori .dce-item-grid:nth-child(1),
    #lavori .dce-item-grid:nth-child(2),
    #lavori .dce-item-grid:nth-child(3),
    #lavori .dce-item-grid:nth-child(4),
    #lavori .dce-item-grid:nth-child(5),
    #lavori .dce-item-grid:nth-child(6),
    #lavori .dce-item-grid:nth-child(7),
    #lavori .dce-item-grid:nth-child(8),
    #lavori .dce-item-grid:nth-child(9),
    #lavori .dce-item-grid:nth-child(10),
    #lavori .dce-item-grid:nth-child(11),
    #lavori .dce-item-grid:nth-child(12),
    #lavori .dce-item-grid:nth-child(13),
    #lavori .dce-item-grid:nth-child(14),
    #lavori .dce-item-grid:nth-child(15),
	#lavori .dce-item-grid:nth-child(n+16) {
        width: 100% !important;
        flex: 0 1 100% !important;
    }
	
	.singolo-progetto .singolo-progetto-nome a { 
		height: 80px !important;
	}
	
	.singolo-progetto .apri-progetto, .singolo-progetto .descrizione-progetto {
		opacity: 1;
		transform: translateY(0px);
	}
	 
    .testo-sezione-aggiuntiva * {
        font-size: 19px!important;
		font-family: var(--e-global-typography-text-font-family), "Universus", Sans-serif!important;
		line-height: 1.3em!important;
		font-weight: 400!important;
    } 
	
	
}

.contenitore-logo {
    transition: opacity 0.35s ease-out; /* Transizione per il fade out */
}

.hidden {
    opacity: 0; /* Nasconde l'elemento */
    pointer-events: none;
}

/* reveal */
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h15 {
  overflow: hidden; /* Nasconde gli elementi durante l'animazione */
}

.reveal h1 span,
.reveal h2 span,
.reveal h3 span,
.reveal h4 span,
.reveal h5 span {
  display: block;
  float: none;
  opacity: 0; /* Inizialmente invisibile */
  transform: translateY(20px); /* Sposta il testo verso il basso */
  animation: reveal 0.5s forwards; /* Applica l'animazione */
}

.reveal h1 span:nth-child(1),
.reveal h2 span:nth-child(1),
.reveal h3 span:nth-child(1),
.reveal h4 span:nth-child(1),
.reveal h5 span:nth-child(1) {
  animation-delay: 1.2s; /* Primo span appare subito */
}

.reveal h1 span:nth-child(2),
.reveal h2 span:nth-child(2),
.reveal h3 span:nth-child(2),
.reveal h4 span:nth-child(2),
.reveal h5 span:nth-child(2) {
  animation-delay: 1.6s; /* Secondo span appare dopo 0.25 secondi */
}

.reveal h1 span:nth-child(3),
.reveal h2 span:nth-child(3),
.reveal h3 span:nth-child(3),
.reveal h4 span:nth-child(3),
.reveal h5 span:nth-child(3) {
  animation-delay: 2.0s; /* Terzo span appare dopo 0.5 secondi */
}


.reveal h1 span:nth-child(4),
.reveal h2 span:nth-child(4),
.reveal h3 span:nth-child(4),
.reveal h4 span:nth-child(4),
.reveal h5 span:nth-child(4) {
  animation-delay: 2.4s; /* Terzo span appare dopo 0.5 secondi */
}


@keyframes reveal {
  to {
    opacity: 1; /* Rende visibile il testo */
    transform: translateY(0); /* Riporta il testo alla posizione originale */
  }
}



@media screen and (min-width:1500px){
#titolo-lavoro h1 {
	font-size: 8.5rem!important;
}
}

p * {
font-family: var( --e-global-typography-text-font-family ), "Universus", Sans-serif!important;
    font-size: var(--e-global-typography-text-font-size)!important;
    font-weight: var(--e-global-typography-text-font-weight)!important;
}

 
b, strong {
   /*font-weight: bolder !important;*/
}

.elementor-background-video-container {
	background: white;
}

.sezione-testuale-video {
	pointer-events: none;
}

.singolo-progetto {
	background-size: cover!important;
}

li.popup-contatti, li.popup-contatti a {
	    cursor: pointer!important;
}

.single_post_container, body.elementor-page.page .single_post_container .single_post_content {
    max-width: 1695px!important;
    width: 100%;
}

.elementor-tab-title {
    cursor: pointer!important
}


footer a {
	color: white!important;
}

footer img {
	max-width: 200px!important;
}

.singolo-progetto .singolo-progetto-nome a {
	width: 100%;
	display: block;
	height: 270px;
}
 

.singolo-servizio span {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.singolo-servizio a {
	display: block!important;
	transition: all .2s ease-in-out!important;
}

.singolo-servizio:hover a {
	opacity: 0.7!important;
}

@media screen and (max-width: 768px){
    .singolo-servizio p, .singolo-servizio p a {
        font-size: 0.9em!important;
    }
}

@media screen and (max-width: 1440px){
    .singolo-servizio p, .singolo-servizio p a {
        font-size: 1.2em!important;
    }
}

@media screen and (min-width: 1440px){
    .singolo-servizio p, .singolo-servizio p a {
        font-size: 1.45em!important;
    }
}

.freccia svg *, .freccia svg,
.singolo-servizio svg path, .singolo-servizio svg polygon {
    fill: #000!important;  
    transition: all .3s ease;
}

.freccia-grigia svg *, .freccia-grigia svg {
    fill: var(--e-global-color-09dc711)!important;  
}

.freccia-bianca svg *, .freccia-bianca svg {
    fill: #fff!important;  
}

.freccia .elementor-button-icon,
.singolo-servizio .elementor-button-icon,
.singolo-servizio .elementor-icon-box-icon {
	overflow: hidden;
}

.freccia svg,
.singolo-servizio svg {
    display: inline-block;
    transform: translateZ(0);
    transition: all .3s ease;
    transition: transform .5s cubic-bezier(.23,1,.38,1) 0s;
    transition: transform .5s var(--power3-ease-out) 0s;
}

.freccia:hover svg,
.singolo-servizio:hover svg {
    animation: Link_leftToRight__5_BZ4 1s cubic-bezier(.86,.01,.14,1) .2s;
    animation: Link_leftToRight__5_BZ4 1s cubic-bezier(0.86,0.01,0.14,1) .2s;
}

@keyframes Link_leftToRight__5_BZ4 {
    0% {
        transform: translateZ(0)
    }

    50% {
        transform: translate3d(35px,0,0)
    }

    51% {
        transform: translate3d(-35px,0,0)
    }

    to {
        transform: translateZ(0)
    }
}

.d-flex a {
	display: flex!important
}

.aspect-ratio-16-9 .elementor-spacer {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
}

.aspect-ratio-16-9 .elementor-spacer > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#contenuto-articolo img {
	display: block;
	width: 100%!important;
    margin: 20px 0;
}

#contenuto-articolo h2, #contenuto-articolo h3, #contenuto-articolo h4, #contenuto-articolo h5 {
	    margin-top: .75rem;
	    margin-bottom: 1.25rem;
}

#contenuto-articolo p { 
    margin-bottom: 1rem; 
}


.tagcloud {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
	white-space: nowrap;
}

.tagcloud h3 {
    font-size: 1.1rem!important;
	transition: all .2s linear;
    background: #101010;
    color: white;
    padding: 5px 10px!important;
	border: 1px solid black;
    margin: 0px !important;
}

.tagcloud h3:hover { 
    color: #101010;
    background: white; 
}

.tagcloud h3 a {
	text-decoration: none!important;
}


#contenuto-articolo a {
    text-decoration: underline;
	transition: all .2s linear;
}


#contenuto-articolo a:hover {
    opacity: 0.7;
}