/*
Theme Name: Vimarte Child
Template: galleria-metropolia
Version: 1.0
Description: Child theme per Galleria Metropolia
Author: Lorenzo
*/
.project_wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Griglia 50/50 su desktop */
.project_grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project_image,
.project_sidebar {
  width: 100%;
}

.project_content {
  margin-top: 10px;
}

/* Desktop 50/50 */
@media (min-width: 1024px) {
  .project_grid {
    flex-direction: row;
  }

  .project_image,
  .project_sidebar {
    width: 50%;
  }

  .project_sidebar {
    padding-left: 40px;
  }
}

/* Tabella */
.project_table {
  width: 100%;
  border-collapse: collapse;
}
.project_table td {
  padding: 6px 8px;
  vertical-align: top;
  text-align: left;
}
.icon-box {
  width: 12px;
  height: 12px;
  background-color: #dd7328;
  display: inline-block;
  margin-top: 4px;
}
.project_label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}
.project_table.no-border td {
  border: none !important;
}
.project_table.no-border tr {
  border: none !important;
}
/* cambio line height tabella vimarte - campo descrizione */
.project_description {
  line-height: 1.2; /* oppure prova 1.1 o 1.3 secondo gusto */
}

/* personalizzazione Lightbox main image */
.glightbox-clean .gclose {
  background: transparent;
  font-size: 24px;
  color: #fff;
  right: 20px;
  top: 20px;
}
/* riga arancio per separare main img e vimarte table */
.gallery-divider {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  margin-top: 10px;
  margin-bottom: 0px;
  border-bottom-color: #e56300;
  width: 100%;
  max-width: 1440px;
}

/* VIMARTE FORM IN PROJECT DETAILS RICHIEDI FOTO */
/* custom */

/*
.vimarte-form-custom {
  width: 50%;
  max-width: 600px;
  float: left;
  font-family: 'Arial', sans-serif;
  padding: 20px 0;
}
*/

.vimarte-form-custom {
  width: 50%;
  max-width: 600px;
  float: left;
  font-family: 'Arial', sans-serif';
  padding: 20px;
  margin-top:0px;
  
}

.vimarte-form-custom label {
  display: block;
  font-size: 15px !important;
  font-weight: 500;
  margin-bottom: 2px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #111;
}

.vimarte-form-custom .form-intro {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Muli';
  margin-top: -35px;
}

/* Checkbox */
.vimarte-form-custom .checkbox-group {
  margin-bottom: 20px;
}

/* Email */
/*.email-wrapper {
  margin-bottom: 20px;
}*/

.email-wrapper {
  display: flex;
  flex-direction: column; /* molto importante! */
  align-items: stretch;
  margin-bottom: 20px;
}

.email-input-container {
  position: relative;
}

.email-input-container input[type="email"] {
  height: 44px !important;
  line-height: 44px !important;
  padding-left: 46px !important;
  font-size: 16px !important;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  background-color: #fff;
  box-sizing: border-box;
}

.email-input-container .email-icon {
  position: absolute;
  top: 55%;
  left: 14px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: #555;
  pointer-events: none;
  z-index: 2;
}

/* Prefisso + Numero */
.phone-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.phone-wrapper .phone-field:first-child {
  flex: 0 0 25%;
}

.phone-wrapper .phone-field:last-child {
  flex: 0 0 75%;
}

.phone-wrapper select,
.phone-wrapper input[type="tel"] {
  height: 44px !important;
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

/* Submit */
.vimarte-form-custom .submit-wrapper {
  margin-top: 10px;
}

.vimarte-form-custom .submit-wrapper input[type="submit"] {
  background-color: #fff;
  color: #111;
  border: 1px solid #666;
  padding: 10px 24px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  width: auto;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .vimarte-form-custom {
    width: 100%;
    float: none;
  }

  .phone-wrapper {
    flex-direction: column;
  }

  .phone-wrapper .phone-field {
    width: 100% !important;
  }
}
