.form-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 25px;
  background: linear-gradient(135deg, #4A90E2, #007AFF);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  text-align: center;
}
.form-container h2 { margin-bottom: 15px; font-size: 22px; font-weight: bold; }
.form-container label { display: block; margin-bottom: 8px; font-size: 14px; text-align: left; }
.form-container input[type="email"] { width: 100%; padding: 12px; border: none; border-radius: 8px; margin-bottom: 15px; font-size: 14px; }
.form-container button { width: 100%; padding: 12px; background: #FFD700; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.form-container button:hover { background: #FFC107; transform: scale(1.05); }


.bottone-blu {
  background-color: blue !important;
  color: white !important;
  padding: 20px 40px !important;
  border: none !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-size: 18px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  width: 157px !important;         /* larghezza identica a “Contattaci” */
  height: 60px !important;         /* altezza fissa */
  text-align: center !important;
  line-height: 20px !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.bottone-blu:hover {
  background-color: yellow !important;
  color: black !important;
}

/* 📱 Mobile: larghezza coerente */
@media (max-width: 768px) {
  .bottone-blu {
    width: 100% !important;        /* occupa tutta la larghezza disponibile */
    max-width: 157px !important;   /* non supera la larghezza del pulsante “Contattaci” */
    margin: 0 auto !important;     /* centrato */
    display: block !important;
  }
}



/* Sidebar menu laterale fisso */
.sidebar-menu {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 220px;
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  padding: 20px 10px;
  z-index: 1000;
  height: auto;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

/* Lista menu */
.sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Voci menu */
.sidebar-menu ul li {
  margin-bottom: 15px;
}

/* Link menu */
.sidebar-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  display: block;
  transition: color 0.3s ease;
}

/* Hover effetto */
.sidebar-menu ul li a:hover {
  color: #007bff;
}












/* Questo codice imposta lo stile delle immagini della pagina 202X presentazione solo per dispositivi con una certa risoluzione */
@media only screen and (max-width: 1440px) and (min-width: 800px) {
  .vierre img {
    width: 610px !important;
    max-width: 700px !important;
    height: 605px !important;
    display: block;
  }
}

@media only screen and (max-width: 1440px) and (min-width: 800px) {
  .vierre1 img {
    width: 600px !important;
    max-width: 600px !important;
    margin-right: 80px !important;
    height: auto !important;
    display: block;
  }
}

@media only screen and (max-width: 1440px) and (min-width: 800px) {
  .vierre2 img {
    width: 610px !important;
    max-width: 700px !important;
    margin-right: 80px !important;
    height: 480px !important;
    display: block;
  }
}

@media only screen and (max-width: 1440px) and (min-width: 800px) {
  .vierre2tex {
    padding-right: 40px;
  }
}

@media only screen and (max-width: 1440px) and (min-width: 800px) {
  .vierre2button {
    margin-right: 40px;
  }
}


/* INIZIO Questo codice crea il menu verticale dei laboratori MODULO LATERALE SANTI ALTRO*/

#vertical-menu {
  position: absolute;
  top: 120px; /* distanza dall’alto */
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

#vertical-menu a {
  display: block;
  width: 140px;
  padding: 10px 0;
  margin: 6px 0;
  text-align: center;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  background-color: #555;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#vertical-menu a.red    { background-color: #e74c3c; }
#vertical-menu a.blue   { background-color: #3498db; }
#vertical-menu a.green  { background-color: #2ecc71; }
#vertical-menu a.yellow { background-color: #f1c40f; color: #333; }

#vertical-menu a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* FINE Questo codice crea il menu verticale dei laboratori*/


.view-item #sp-main-body .container{
    max-width: 100% !important;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #FFFFFF;
    width: 300px;
}

#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items .sp-menu-item {
  padding-left: 0px;
  padding.right: 0px;
}

.sp-simpleportfolio .sp-simpleportfolio-meta {display: none; width:0%;} 
.sp-simpleportfolio .sp-simpleportfolio-description, 
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-details .sp-simpleportfolio-description{
  width: 100% !important; float: none;}


.offcanvas-menu .offcanvas-inner .menu.nav-pills li.menu-deeper.menu-parent .menu-child {
    display: block;
    padding: 15px 30px 15px 25px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(32, 31, 31, 0.1);
}

.offcanvas-menu .offcanvas-inner ul.menu>li ul.menu-child {
    display: none;
}

.offcanvas-menu .offcanvas-inner .menu.nav-pills li.menu-deeper.menu-parent .menu-toggler {
    display: block;
    color: white;
    padding: 30px;
}

#sp-header.has-slideshow .sp-megamenu-parent .sp-dropdown.sp-dropdown-main {
    bottom: 100% !important;
}
.sp-megamenu-parent .sp-dropdown.sp-dropdown-main {
  top:initial;
}


header#sp-header.menu-fixed .sp-dropdown.sp-dropdown-main.sp-menu-right {
    top: 100%;
}

#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items {background: #fff !important;}
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items:hover .sp-menu-item a,
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main:hover .sp-dropdown-inner a,
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner a,
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items:hover li a,
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items .sp-menu-item a,
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items .sp-menu-item:hover a {color: #000;}

#sp-header .sp-megamenu-parent .sp-menu-item a {display: block;}
 
#sp-header .sp-megamenu-parent .sp-menu-item .sp-dropdown.sp-dropdown-main .sp-dropdown-inner .sp-dropdown-items .sp-menu-item a:hover {color: #0083C9 !important;}

.offcanvas-menu .offcanvas-inner .menu.nav-pills li.menu-deeper.menu-parent .menu-child>li a {
    padding: 0 !important;
    font-size: 14px;
    list-style: 20px;
    font-family: "Open Sans";
    font-weight: 300;
    color: #ffffff;
}

#.sp-slider .sp-item .sp-background {
#    position: absolute;
#    top: 0;
#    left: 0;
#    width: 100%;
#    height: 90%;
#    background-position: center;
#    background-size: cover;
#    -webkit-backface-visibility: hidden;
#    backface-visibility: hidden;
#    z-index: -1;
#}
  
#sp-footer #sp-footer1 .sp-copyright {
    font-size: 14px;
    color: #fff;
    text-align: center;
    font-family: "Open Sans", "sans-serif";
    font-weight: 300;
}
#sp-footer #sp-footer1 {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.sp-simpleportfolio .sp-simpleportfolio-meta {display: none;}
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-details .sp-simpleportfolio-description 
{width: 99% !important; float: none;
}

#sp-header .sp-megamenu-parent .sp-menu-item a {
  font-size: 16px;
  list-style: 60px;
  font-family: "Open Sans";
  font-weight: 300;
  padding: 0px 10px;
}

@media only screen and (max-width: 1440px) and (min-width: 640px) {
#sp-header .sp-megamenu-parent .sp-menu-item a {
  font-size: 14px;
  list-style: 60px;
  font-family: "Open Sans";
  font-weight: 300;
  padding: 0px 7px;
}
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
    font-size: 12px;
    line-height: 1.5;
    display: inline-block;
    padding: 5px 0;
    cursor: pointer;
}
.burger-icon>span{
  background-color: #c4b6b6 !important;
}
#### COLORE INTERNO MENU ####
#.offcanvas-menu .offcanvas-inner{
#   background-color: #B805A2 !important;
#}

#@media (max-width: 800px) {
#.sp-slider .sp-item .sp-background {
#  position: absolute;
#  top: 0;
#  left: 0;
#  width: 100%;
#  height: 60%;
#  background-position: center;
#  background-size: cover;
#  -webkit-backface-visibility: hidden;
#  backface-visibility: hidden;
#  z-index: -1;
#}