*:focus {
  outline: none;
}

#hp_link {
  cursor: pointer;
}

.sommario {
  padding-top: 0;
  max-width: 100%;
}

.form_container {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

#form_registrazione {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preventDefault {
  width: 100%;
}

.short_height {
  height: 400px;
  max-height: 400px;
}

.introduzione .titolo_form {
  text-align: center;
  padding: 10px;
}

.form_spiega {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #35194d;
}

.form_container .box_input {
  width: 100%;
  position: relative;
  padding-top: 20px;
}

.form_container .box_input + .box_input {
  margin-left: 30px;
}

.form_container .box_input_doppio {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.form_container .box_input_doppio .box_input {
  max-width: 50%;
}

.form_container .box_input span {
  position: absolute;
  top: 13px;
  left: 11px;
  background-color: #fff;
  padding-left: 4px;
  padding-right: 4px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: #35194d;
  z-index: 15;
}

.form_container .box_input input {
  width: 100%;
  max-width: 750px;
  border: 1.5px solid rgba(53, 25, 77, 0.25);
  border-radius: 8px;
  padding: 3px 15px 2px 15px;
  height: 40px;
  font-size: 15px;
}

.pulsante_viola {
  color: #fff;
  background: #35194d;
}

.cornice_viola {
  border: 3px solid #35194d;
}

.link_informativa_privacy {
  width: 100%;
  padding: 10px 0 20px;
}

.introduzione .link_a_form {
  padding-bottom: 20px;
}






.modalitaEvento {
  /* width: 50%; */
  position: relative;
  z-index: 10;
}

.modalitaEvento {
  width: 100%;
  position: relative;
  height: 40px;
  border: 1.5px solid rgba(53, 25, 77, 0.25);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  padding: 0 15px;
  font-size: 16px;
  cursor: pointer;
}

.modalitaEvento::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid #35194d;
  border-bottom: 2px solid #35194d;
}

.modalitaEvento:hover {
  background: #fff;
}

.modalitaEvento.active {
  background: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.options_modalitaEvento {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: fit-content;
  background: rgba(255, 255, 255, 1);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  display: none;
}

.options_modalitaEvento.active {
  display: block;
}

.options_modalitaEvento .item {
  text-transform: capitalize;
  width: 100%;
  height: 30px;
  padding: 0 15px;
  line-height: 30px;
  cursor: pointer;
}

.options_modalitaEvento .item.active {
  color: #fff;
  background: #35194d;
}

.options_modalitaEvento .item:first-of-type {
  margin-block-start: 0;
}

/* ---------------------------- */


.ruolo_container {
  /* width: 50%; */
  position: relative;
  z-index: 10;
}

.ruolo {
  width: 100%;
  position: relative;
  height: 40px;
  border: 1.5px solid rgba(53, 25, 77, 0.25);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  padding: 0 15px;
  font-size: 16px;
  cursor: pointer;
}

.ruolo::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid #35194d;
  border-bottom: 2px solid #35194d;
}

.ruolo:hover {
  background: #fff;
}

.ruolo.active {
  background: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.options {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: fit-content;
  background: rgba(255, 255, 255, 1);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  display: none;
}

.options.active {
  display: block;
}

.options .item {
  text-transform: capitalize;
  width: 100%;
  height: 30px;
  padding: 0 15px;
  line-height: 30px;
  cursor: pointer;
}

.options .item.active {
  color: #fff;
  background: #35194d;
}

.options .item:first-of-type {
  margin-block-start: 0;
}

.errore {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #ec0e00;
  opacity: 0;
  margin-block-start: 0.2em;
  margin-block-end: 0;
  height: 0;
}

.avviso_mobile {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #ec0e00;
  opacity: 0;
  margin-block-start: 0;
  margin-block-end: 1em;
  height: 14px;
}

.esito {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.yf_grey {
  width: 100%;
  max-width: 200px;
  padding: 10px 0;
  text-align: center;
}

.esito_titolo {
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  text-align: center;
  color: #35194d;
  padding: 10px 0;
}

.esito_sommario {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #35194d;
  max-width: 500px;
  padding: 10px 0 30px;
}

.link_a_hp {
  display: inline-block;
  width: fit-content;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pulsante_bianco {
  background: #fff;
  color: #35194d;
  border: 3px solid #35194d;
}

.introduzione .link_a_hp:hover .cornice_pulsante {
  transform: translate(10px, 10px);
}

@media screen and (max-width: 768px) {
  .form_container .box_input_doppio {
    flex-direction: column;
  }

  .form_container .box_input_doppio .box_input {
    max-width: 100%;
  }

  .form_container .box_input + .box_input {
    margin-left: 0;
  }

  .link_informativa_privacy {
    padding: 10px 0 20px;
  }

  .yf_grey {
    max-width: 100px;
  }

  .esito_titolo {
    font-size: 24px;
    line-height: 28px;
  }

  .esito_sommario {
    font-size: 16px;
    line-height: 18px;
  }
}
