@import url(https://db.onlinewebfonts.com/c/32a2e56c2aa6fd466a2e098188267b8d?family=Market+Deco);

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');




@keyframes galleriaCalidaSimple {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

body {
    animation: galleriaCalidaSimple 1.5s ease-in-out forwards;
    background-color: #fdfaf7;
}



a[hreflang="it-IT"] img, a[hreflang="en-GB"] img {
	display: none;
}


a[hreflang="it-IT"]  {
background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/03/ITA-flag.svg);
	  width: 25px;
    height: 25px;
    background-size: cover;
    top: -2px;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;
}


a[hreflang="en-GB"] {
    background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/03/UK-flag.svg);
    width: 25px;
    height: 25px;
    background-size: cover;
    top: -4px;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;
}


   .footer-sidebar-global p

 {
        font-size: 15px;
        
        line-height: 1.7;
    }	



/* 1. Animazione di Entrata */
@keyframes sweepIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Applichiamo l'animazione solo quando l'attributo [open] viene aggiunto */
details[open] .tabella1, 
details[open] figure.wp-block-table {
    animation: sweepIn 0.5s ease-out forwards !important;
}

/* 3. TRUCCO: Quando il blocco è chiuso, resettiamo l'opacità a 0 */
/* Questo "prepara" la tabella per la prossima apertura */


details .tabella1
 {
    opacity: 0;
   
}


details[open] .tabella1,
details[open] figure.wp-block-table {
    opacity: 1;
    transition: opacity 0.2s ease;
}
/* 4. Opzionale: aggiungiamo un po' di spazio per non far sembrare tutto appiccicato */
details.wp-block-details[open] summary {
    margin-bottom: 10px;
    color: #983565;
    
}
/* 3. Rendiamo il titolo (summary) più accogliente */
details.wp-block-details summary {
    cursor: pointer;
    padding: 15px 0;
    font-weight: bold;
    list-style: none; /* Rimuove freccia standard */
    border-bottom: 1px solid #eee;
    transition: color 0.5s ease;
	
}
#navBar a {
    font-weight: bold;
}

a:visited {
  
    color: #d5d795;
}


.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow img {
    border-radius: 5px;
}


.main-navigation li.lang-item {
    margin-left: 40px;
}	
	
	.site-branding {
    margin: 0;
    line-height: 0;
    padding: 0;
    height: auto;
}


 button.menu-toggle {
	background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/03/close.svg);
		width: 46px;
	height: 46px;
	background-size: cover;
	 font-size: 0;
	 border: 0px;
	 cursor: pointer;
	 background-color: transparent;
	 margin-top: -11px;
}


.toggled button.menu-toggle {
	background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/03/menu.svg);
		
	background-size: cover;
	font-size: 0;
}







/* 1. Rimuoviamo la freccia predefinita del browser */
details.wp-block-details summary {
    list-style: none; /* Per Chrome/Firefox */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

details.wp-block-details summary::-webkit-details-marker {
    display: none; /* Per Safari */
}

/* 2. Aggiungiamo il simbolo [+] quando è CHIUSO */
details.wp-block-details summary::after {
    content: "[+]";
    font-family: monospace; /* Rende i simboli squadrati e puliti */
    font-weight: bold;
    color: #bc9c82; /* Il tuo colore caldo */
    transition: all 0.3s ease;
	font-size: 38px;
}

/* 3. Cambiamo il simbolo in [-] quando è APERTO */
details.wp-block-details[open] summary::after {
    content: "[-]";
    color: #983565; /* Colore diverso per lo stato aperto */
	font-size: 38px;
}

/* 4. Opzionale: un po' di stile al titolo al passaggio del mouse */
details.wp-block-details summary:hover {
    opacity: 0.8;
}

.post, .page {
    margin: 0 0 0em;
}

.footer-sidebar-global p {
    font-size: 14px;
}
.menu-menu-1-container, .menu-menu-en-container {
    padding: 0px 20px;
}



/* Effetto hover sul titolo */
details.wp-block-details summary:hover {
    color: #bc9c82; /* Colore caldo */
}

/* 4. Tocco "Calido" alla tabella */
.tabella1 table {
    margin-top: 15px;
    border-collapse: separate;
    border-spacing: 0 8px; /* Spazio tra le righe per leggerezza */
}

.tabella1 table {
    margin-top: 15px;
    border-collapse: separate;
    border-spacing: 0 8px;
    max-width: 90%;
    margin: 0 auto;
}


.tabella1 td {
    padding: 10px;
    border-bottom: 0px solid #f9f9f9;
}


:where(.wp-block-columns) {
    margin-bottom: 0em;
}


footer#colophon {
    display: none;

	
}


.gallery-mattoncini.menua img {
    border-radius: 05px;
    display: block;
    width: 100%;
    height: auto !important;
}



.organetto .wp-block-table td, .organetto .wp-block-table th {
    border: 0px solid;
    padding: 0.2em;
    font-size: 22px;
    color: #983565;
    font-weight: 600;
    font-family: "Quicksand", sans-serif;
}

.pallini2 {
    background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/02/iD_pallini-gialli-2.svg);
    background-size: 80px;
    background-repeat: repeat-x;
    margin-top: -8px;
    position: relative;
}
.pallini3 {
    background-image: url(https://www.idilettanti.it/wp-content/uploads/2026/02/iD_pallini-viola-2.svg);
    background-size: 80px;
    background-repeat: repeat-x;
	    margin-top: -8px;
    position: relative;
}





.wp-block-details-content table {
    border-radius: 10px;
    overflow: hidden;
}


details.wp-block-details summary {
    cursor: pointer;
    padding: 15px 0;
    font-weight: bold;
    list-style: none;
    border-bottom: 0px solid #eee;
    transition: color 0.5s ease;
    font-size: 42px;
    font-weight: 400;
    font-family: "Market Deco";
    line-height: 1.2;
    max-width: 80%;
    margin-left: auto;
    /* margin-bottom: 0.7em; */
    margin-right: auto;
}


.fissata {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
}

.fondo {
    transition: opacity 0.6s ease;
}


.fondo {
    transition: opacity 0.8s ease-in-out; /* Sfumatura leggermente più lenta per eleganza */
}
.fondo.sparito {
    opacity: 0 !important;
    visibility: hidden;
}

div#copertinahome {
    height: 100vh;
    min-height: 100vh !important;
}









.fondo {
  
    
    /* Applichiamo il buco */
  
   

background-color: #0e5664;
    opacity: .95;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    /* 1. Applichiamo le due maschere: il Logo e il Fondo Pieno */
    -webkit-mask-image: url('https://www.idilettanti.it/wp-content/uploads/2025/11/logoidilettanti.svg'), linear-gradient(#000, #000);
    mask-image: url('https://www.idilettanti.it/wp-content/uploads/2025/11/logoidilettanti.svg'), linear-gradient(#000, #000);

    /* 2. IMPORTANTE: Il primo valore è per l'SVG (200px), il secondo per il gradiente (cover/tutto) */
    -webkit-mask-size: 300px, cover;
    mask-size: 300px, cover;

    /* 3. Il primo non si ripete, il secondo sì (o cover) */
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;

    /* 4. Posizioniamo il buco al centro, il gradiente ovunque */
    -webkit-mask-position: center, center;
    mask-position: center, center;

    /* 5. Sottraiamo l'SVG dal gradiente */
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
	
	/* ... tue proprietà precedenti ... */
    transition: mask-size 0.1s ease-out, -webkit-mask-size 0.1s ease-out;
    will-change: mask-size, -webkit-mask-size; /* Aiuta il browser a non scattare */

	
}



.wp-lightbox-overlay .wp-block-image img {
    height: auto;
    min-height: auto;
    min-width: 800px;
    width: 100%;
    max-width: 850px;
	  border-radius: 15px;
    display: block;
}




.wp-lightbox-overlay .wp-block-image {
   border-radius: 15px;
	overflow: hidden;
}



.wp-lightbox-overlay .scrim {
  
    height: 100%;
    opacity: .9;
    position: absolute;
    width: 100%;
  
    background-color: #19525e !important;
}




.gallery-mattoncini.wp-block-gallery {
    column-count: 3; /* Numero di colonne per desktop */
    column-gap: 20px!important;
    display: block; /* Fondamentale per il trucco columns */
}


.gallery-mattoncini.wp-block-gallery.has-nested-images figure.wp-block-image img {
    display: block;
    height: auto;
    max-width: 100% !important;
    width: auto;
    margin-bottom: 20px;
}


.gallery-mattoncini.wp-block-image {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px; /* Spazio verticale tra i mattoncini */
}

/* Tocco estetico "Calido" */
.gallery-mattoncini img {
    border-radius: 05px;
    display: block;
    width: 100%;
    height: auto !important;
}





h2.titolo3 {
font-size: 60px;
	font-weight: 500;
	text-shadow: 0px 3px #983565;
}

    


header#masthead{
 
    background-color: transparent;
    backdrop-filter: blur(6px);
	transition: 0.5s;
}





header#masthead.fixed-header {
 
    background-color: #00000087;
    backdrop-filter: blur(6px);
	transition: 0.5s;
}




  

h2.titolobanner {
    position: absolute;
    bottom: 42%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    font-family: "Market Deco";
    color: #d5d795;
    line-height: 1.1;
    font-size: 75px;
    text-shadow: 0px 7px #983565;
}
li#menu-item-180, li#menu-item-666  {
    margin-right: 36px;
}

li#menu-item-228, li#menu-item-665 {
    margin-right: 36px;
}



.fondo {
  
}

.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
    color: inherit;
    position: static;
    width: 100%;
}





html {
    scroll-behavior: smooth;
}



body {
	background-color: #19525E;
	color: #D5D795;
	 font-family: 'Poppins', sans-serif;
}

h2

 {
    font-size: 32px;
	 font-weight: 600;
	 font-family: 'Quicksand', sans-serif;
}
h2 {
    font-size: 42px;
    font-weight: 400;
    font-family: "Market Deco";
    line-height: 1.2;
   
    margin-left: auto;
    /* margin-bottom: 0.7em; */
    margin-right: auto;
}


div#iconefix {
    position: fixed;
    right: 10px;
    bottom: 10px;
}

div#iconefix img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    width: 30px;
	z-index: 999;
}






h2 {
    font-size: 42px;
    font-weight: 400;
    font-family: "Market Deco";
    line-height: 1.2;
   
    margin-left: auto;
    margin-bottom: 0;
    margin-right: auto;
}













p {
    font-size: 24px;
    font-weight: 300;
}




.main-navigation a {
    display: block;
    text-decoration: none;
    color: #d5d795;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    height: 78px;
    align-items: center;
}
li.logo.menu-item {
    margin: auto;
}

.main-navigation li {
    position: static;
}


li.logo.menu-item a {
    color: #ffffff;
    text-decoration: none;
}

.main-navigation a:visited {
    color: #d5d795;
}

li.logo.menu-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap; /* Evita che il testo vada a capo se lo spazio è stretto */

}

.site-branding {
    display: none;
}


p.titolo2

 {
    padding: 0;
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
}


a {
    color: #d5d795;
    text-decoration: none;
}

.site-info {
    display: none;
}



a:hover, a:focus, a:active {
    color: #d5d79599;
}

.nomargini {
   margin: 0;	
	
}
h2.titolo2 {
    border-top: 2px solid #983565;
    border-bottom: 2px solid #983565;
    padding: 0.8rem;
	margin-left: auto;
	margin-left: auto;
}


.page-content, .entry-content, .entry-summary

 {
    margin: 0;
}


.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}


.container2 {
    width: 100%;
    margin: 0 auto;
    max-width: 680px;
}




li#menu-item-149 {
    margin-right: 40px;
}

header#masthead {
    padding: flex;
    position: fixed;
    z-index: 99999;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    top: 20;
}

header#masthead .container {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2;

  /* MASCHERA */
  -webkit-mask-image: url("https://www.idilettanti.it/wp-content/uploads/2025/12/iD_home-maschera-positivo.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: url("https://www.idilettanti.it/wp-content/uploads/2025/12/iD_home-maschera-positivo.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
	
	
	
}


/* Adattamento per Tablet e Mobile */
@media (max-width: 768px) {
	
	
	
	.main-navigation :where(.wp-block-columns.is-layout-flex) {
    gap: 15px;
}
	
	
	
	
	.main-navigation li.lang-item {
    margin-left: 0px;
}
	
    .footer-sidebar-global p

 {
        font-size: 15px;
        text-align: center;
        line-height: 1.7;
    }	
	
	h2.titolobanner {
    position: absolute;
    bottom: 42%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    font-family: "Market Deco";
    color: #d5d795;
    line-height: 1.1;
    font-size: 50px;
    text-shadow: 0px 7px #983565;
    left: 0;
}
	
	
	
	.main-navigation {
    display: block;
    width: auto;
    position: fixed;
    right: 20px;
}
	
.main-navigation li {
    position: static;
    font-size: 20px;
    margin-bottom: 10px;
}	
	
	.main-navigation ul {
  height: auto;
    display: block;
}
	
	
	h2 {
    font-size: 35px;
   
}
	
p {
    font-size: 22px;
    font-weight: 300;
}	
	
	
	
	
    .main-navigation li.lang-item {
        margin-left: 0px;
        margin-top: 24px;
    }

	li#menu-item-662 {
    display: none;
}
	
	nav#site-navigation.toggled .menu-menu-1-container, nav#site-navigation.toggled .menu-menu-en-container {
		
        transition: 0.4s;
        right: 0px;
		
		
		
}
	
    nav#site-navigation .menu-menu-1-container, nav#site-navigation .menu-menu-en-container {
        padding: 0px 40px;
        position: fixed;
        background-color: #000000d6;
        top: 0;
        height: 100vh;
        right: 0;
        display: flex;
        flex-direction: column;
        width: 300px;
        z-index: -1;
        padding-top: 80px;
        transition: 0.4s;
        right: -310px;
        backdrop-filter: blur(6px);
    }
    .gallery-mattoncini.wp-block-gallery { column-count: 2; }
	
	.menu-toggle, .main-navigation.toggled ul {
    display: block;
}
	li#menu-item-87 {
    display: none;
}
	
	
.site-branding {
    display: block;
}	
	
header#masthead .container {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    padding: 20px;
}	
	
    h2 {
        font-size: 42px;
    }
	
	
:where(.wp-block-columns.is-layout-flex) {
    gap: 0em;
}	
	
	:where(.wp-block-group.has-background) {
    padding: 0;
}
	
.container {
 
    padding: 0px 20px;
}	
	
	
details.wp-block-details summary {
    cursor: pointer;
    padding: 15px 0;
    font-weight: bold;
    list-style: none;
    border-bottom: 0px solid #eee;
    transition: color 0.5s ease;
    font-size: 42px;
    font-weight: 400;
    font-family: "Market Deco";
    line-height: 1.2;
    max-width: 80%;
    margin-left: auto;
    /* margin-bottom: 0.7em; */
    margin-right: auto;
}	
	
	
	
	h2.titolo3 {
    font-size: 42px;
    font-weight: 500;
    text-shadow: 0px 3px #983565;
}
	
	
	
	
	
	
	
	
	
	
	
	
	
}
@media (max-width: 480px) {
      .gallery-mattoncini.wp-block-gallery

 {
        column-count: 2;
    }
	
	
	
	
	
	
	
	
	
	
	
	
	
}

