@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
#mofe {
  /* Inizializza  i div nascosti, senza occupare spazio e preparati per l'animazione */
  /* Transizione per mostrare il div con slide down e dissolvenza (durata rallentata) */
  /* Transizione per nascondere il div con slide up e dissolvenza (durata rallentata) */
}
#mofe * {
  font-family: "DM Sans", serif;
  scroll-behavior: smooth;
  /* Rende lo scroll fluido */
  transition: all 0.3s ease;
}
#mofe .fab, #mofe .fa-brands {
  font-family: "Font Awesome 6 Brands";
}
#mofe .fas, #mofe .fa-classic, #mofe .fa-solid, #mofe .far, #mofe .fa-regular {
  font-family: "Font Awesome 6 Free";
}
#mofe h1, #mofe h2, #mofe h3, #mofe h4, #mofe h5, #mofe h6 {
  font-weight: bold;
}
#mofe .iniziale {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  /* Evita di occupare spazio visivo */
  height: 0;
  /* Elimina qualsiasi altezza visibile */
}
#mofe .red {
  color: #C00317;
}
#mofe a {
  color: #C00317;
}
#mofe .mostra {
  max-height: 1000px;
  /* Altezza sufficiente per il contenuto */
  opacity: 1;
  visibility: visible;
  position: static;
  /* Torna alla posizione normale */
  height: auto;
  /* Ripristina l'altezza automatica */
  transition: max-height 2s ease, opacity 2s ease;
  /* Rallenta la transizione a 1s */
  overflow: hidden;
}
#mofe .nascondi {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  /* Manteniamo il div invisibile finché l'animazione non è completata */
  position: absolute;
  /* Torna a essere assoluto quando nascosto */
  height: 0;
  transition: max-height 1s ease, opacity 1s ease;
  /* Rallenta la transizione a 1s */
  overflow: hidden;
}
#mofe .container-fluid {
  padding: 0 5%;
}
#mofe header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background-color: #ffffff;
  color: #C00317;
  border-bottom: 1px solid #C00317;
}
#mofe header .navbar-brand {
  color: #ffffff;
  flex-grow: 1;
}
#mofe header .navbar-brand img {
  max-width: 150px;
}
#mofe header .navbar-brand #assicoop-logo {
  margin-right: 5%;
}
#mofe header .navbar-brand #unipol-logo {
  height: 60px;
}
#mofe header .navbar-dark .navbar-toggler {
  border: 1px solid #C00317;
}
#mofe header .navbar-nav {
  gap: 10px;
}
#mofe header #navbarSupportedContent {
  justify-content: end;
}
#mofe header #navbarSupportedContent .nav-link {
  font-size: 1.3rem;
  color: #C00317;
  padding: 20px 30px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  border-radius: 16px;
}
#mofe header #navbarSupportedContent .nav-link:hover {
  color: #ffffff;
  background-color: #C00317;
}
@media (max-width: 991px) {
  #mofe header #navbarSupportedContent .navbar-nav {
    margin-top: 20px;
  }
  #mofe header #navbarSupportedContent .nav-item {
    display: flex;
    align-items: center;
  }
  #mofe header #navbarSupportedContent .nav-link {
    padding: 10px;
    font-size: 1.2rem;
  }
}
@media (max-width: 960px) {
  #mofe header #navbarSupportedContent .nav-item {
    display: flex;
    align-items: center;
  }
}
#mofe .spacer {
  background-color: #C00317;
}
#mofe .hero {
  min-height: 800px;
  margin-top: 100px;
}
#mofe .hero .img-scontornata {
  position: relative;
  right: -250px;
  z-index: 1;
  max-width: 700px;
  min-width: 600px;
}
#mofe .hero h1 {
  font-size: 3rem;
}
@media (max-width: 1880px) {
  #mofe .hero .img-scontornata {
    right: -200px;
    max-width: 700px;
    min-width: 500px;
  }
}
@media (max-width: 1620px) {
  #mofe .hero .img-scontornata {
    right: -180px;
    max-width: 700px;
    min-width: 450px;
  }
}
@media (max-width: 1440px) {
  #mofe .hero .img-scontornata {
    display: none;
  }
  #mofe .hero .top-section {
    flex-direction: column;
  }
}
@media (max-width: 641px) {
  #mofe .hero .text-wrapper h1 {
    font-size: 2rem;
  }
  #mofe .hero .text-wrapper p {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
}
@media (max-width: 526px) {
  #mofe .hero .top-section .col-8 {
    width: 100%;
  }
  #mofe .hero .text-wrapper p {
    font-size: 1.3rem;
    margin-bottom: 0;
  }
}
#mofe .hero .boxed {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  max-width: 800px;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.46);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15.6px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: -1px 5px 15px 5px rgba(0, 0, 0, 0.2);
}
#mofe .hero .boxed .succes-confirmed {
  border-radius: 16px;
  border: 1px solid #C00317;
  padding: 20px;
  margin: 20px 0;
}
#mofe .hero .boxed .succes-confirmed p {
  color: #C00317;
  font-size: 1rem;
  text-align: justify;
  margin: 0;
}
#mofe .hero .boxed form {
  border-radius: 5px;
}
#mofe .hero .boxed form input {
  padding-bottom: 10px;
}
#mofe .hero .boxed form label, #mofe .hero .boxed form input[type="checkbox"] {
  cursor: pointer;
}
#mofe .hero .boxed form label {
  display: block;
}
#mofe .hero .boxed form input[type="text"], #mofe .hero .boxed form input[type="email"], #mofe .hero .boxed form input[readonly] {
  border: none !important;
  border-bottom: 1px solid #C00317 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#mofe .hero .boxed form input[type="text"]:focus, #mofe .hero .boxed form input[type="email"]:focus, #mofe .hero .boxed form select:focus {
  border: none;
  outline: none;
  box-shadow: 0 0;
}
#mofe .hero .boxed form input[type="checkbox"], #mofe .hero .boxed form input[type="radio"] {
  margin-right: 0.5rem;
}
#mofe .hero .boxed form .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}
#mofe .hero .boxed form .input-wrapper {
  margin-bottom: 1rem;
}
#mofe .hero .boxed form #invia {
  border: 1px solid #C00317;
  color: #C00317;
  background-color: transparent;
  font-weight: bold;
}
#mofe .hero .boxed form #invia:hover {
  color: #ffffff;
  background-color: #C00317;
}
#mofe #scritta-bella {
  background-color: #ffffff;
}
#mofe #scritta-bella h2 {
  color: #2A2A28;
  margin-bottom: 0;
  font-size: 1.5rem;
}
@media (max-width: 1440px) {
  #mofe #scritta-bella h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  #mofe #scritta-bella h2 {
    font-size: 1.2rem;
  }
}
#mofe .programma-description li {
  font-size: 1.3rem;
  padding: 10px 0;
  color: #C00317;
}
#mofe #programma {
  position: relative;
  min-height: 600px;
  padding: 60px 0;
  background-color: #F5F3F0;
}
@media (min-width: 2455px) {
  #mofe #programma .testo-programma {
    max-width: 1700px;
  }
}
@media (max-width: 2455px) {
  #mofe #programma .testo-programma {
    max-width: 1700px;
  }
}
@media (max-width: 2135px) {
  #mofe #programma .testo-programma {
    max-width: 1600px;
  }
}
@media (max-width: 2025px) {
  #mofe #programma .testo-programma {
    max-width: 1400px;
  }
}
@media (max-width: 1912px) {
  #mofe #programma .testo-programma {
    max-width: 1300px;
  }
}
@media (max-width: 1760px) {
  #mofe #programma .testo-programma {
    max-width: 1200px;
  }
}
@media (max-width: 1706px) {
  #mofe #programma .testo-programma {
    max-width: 1000px;
  }
}
@media (max-width: 1594px) {
  #mofe #programma .testo-programma {
    max-width: 900px;
  }
}
@media (max-width: 1558px) {
  #mofe #programma .testo-programma {
    max-width: 800px;
  }
}
@media (max-width: 1440px) {
  #mofe #programma .testo-programma {
    max-width: 700px;
  }
}
@media (max-width: 1440px) {
  #mofe #programma .testo-programma {
    max-width: 100%;
  }
}
#mofe #programma #programma-logo {
  position: absolute;
  right: 0;
  max-height: 100%;
  top: 0;
}
@media (max-width: 1440px) {
  #mofe #programma #programma-logo {
    display: none;
  }
}
#mofe #programma h2 {
  margin-bottom: 30px;
  color: #C00317;
  font-size: 3rem;
}
#mofe #programma p {
  font-size: 18px;
}
#mofe #programma ul {
  list-style-type: none;
  padding: 0;
}
#mofe #dove {
  padding: 60px 0;
  text-align: center;
  background-color: #C00317;
}
#mofe #dove h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #ffffff;
}
@media (max-width: 425px) {
  #mofe #dove p.bold.text-white {
    font-size: 1.8rem;
  }
  #mofe #dove p.text-white.medium {
    font-size: 1.2rem !important;
  }
}
#mofe #dove p {
  font-size: 2rem;
}
#mofe #dove iframe {
  width: 100%;
  min-height: 400px;
}
#mofe #contatti {
  padding: 60px 0;
  text-align: center;
}
#mofe #contatti h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #C00317;
}
#mofe #contatti p {
  color: #C00317;
}
#mofe #contatti .segreteria {
  font-size: 1.8rem;
}
#mofe #contatti a {
  font-size: 1.3rem;
  text-decoration: none;
  color: #C00317;
}
#mofe #contatti .contatti-container {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: center;
}
#mofe #contatti .contatti-container .fa-regular.fa-envelope {
  font-size: 30px;
  color: #C00317;
}
#mofe #contatti.online {
  background-color: #C00317;
}
#mofe #contatti.online h2, #mofe #contatti.online p, #mofe #contatti.online a, #mofe #contatti.online .fa-regular.fa-envelope {
  color: #ffffff;
}
#mofe #contatti.online #contact-logo {
  position: absolute;
  left: 10px;
  top: 10px;
  max-width: 200px;
}
#mofe footer {
  padding: 20px 0;
  text-align: center;
  background-color: #ffffff;
  text-align: right;
  border-top: 1px solid #C00317;
}
#mofe footer img {
  max-width: 150px;
  object-fit: contain;
}
#mofe footer .footer-unipol-logo {
  height: 60px;
}
#mofe .lower-footer {
  text-align: center;
  background-color: #f3f7f8;
  padding: 25px 0;
  opacity: 0.8;
}
#mofe .lower-footer p {
  margin: 0;
  color: #C00317;
}
