/* ==========================================================================
   VARIABLES & MIXINS
   ========================================================================== */
/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
.wp-block-navigation__responsive-container-content > *:nth-child(6) {
  flex-direction: row !important;
}

.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  width: 32px !important;
  height: 32px !important;
}

input::placeholder, textarea::placeholder {
  color: #fff;
  opacity: 1;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #fff;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #fff;
  opacity: 0;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #fff;
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: #fff;
}

.is_modal_open {
  overflow: hidden !important;
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal_block {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  padding: 40px 20px 24px;
  background: #1B1926;
  z-index: 99;
}
.modal_block.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 110000;
  padding: 2rem 0;
  overflow-y: scroll;
  height: 100dvh;
}
@media screen and (min-width: 768px) {
  .modal_block.active {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   FORM STRUCTURE & LAYOUT
   ========================================================================== */
.wpcf7 {
  background: #302E3B;
  color: #fff;
}
.modal_block .wpcf7 {
  width: 100%;
  max-width: 794px;
}

.form_heading {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
}
.form_heading .close_modal_container {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .form_heading {
    flex-direction: row;
  }
  .form_heading .close_modal_container {
    padding-bottom: 0;
  }
}

.form_title {
  font-size: 32px;
  line-height: 38px;
  color: #fff;
  padding: 20px 20px 24px 20px;
  border-bottom: 1px solid #434050;
}
@media screen and (min-width: 768px) {
  .form_title {
    padding: 34px 40px 24px 40px;
    font-size: 36px;
    line-height: 42px;
  }
}
.form_title.no_border {
  border-bottom: 0;
  padding-bottom: 0;
}
#contacts .form_title {
  font-size: 32px;
  line-height: 38px;
}
@media screen and (min-width: 768px) {
  #contacts .form_title {
    font-size: 28px;
    line-height: 34px;
  }
}

.form_description {
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  padding: 12px 20px 28px 20px;
}
@media screen and (min-width: 768px) {
  .form_description {
    padding: 12px 40px 28px 40px;
  }
}

.form_wrapper {
  padding: 0 20px 24px 20px;
}
@media screen and (min-width: 768px) {
  .form_wrapper {
    padding: 0 40px 24px 40px;
  }
}

/* ==========================================================================
   STEP NAVIGATION & PROGRESS
   ========================================================================== */
.bullets {
  display: flex;
  gap: 20px;
}
.bullets .bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background-color: #434050;
}
.bullets .bullet.active {
  background-color: #D784E3;
  box-shadow: 0 0 0 5px #434050;
}

.navigation_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  flex-direction: column-reverse;
  padding: 24px 20px 32px 20px;
}
@media screen and (min-width: 768px) {
  .navigation_wrapper {
    padding: 24px 40px 32px 40px;
    flex-direction: row;
  }
}
.navigation_wrapper > * {
  width: auto;
}

.question_status {
  color: inherit;
  margin-bottom: 16px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .question_status {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   FORM STEPS & QUESTIONS
   ========================================================================== */
.step label {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}
@media screen and (min-width: 768px) {
  .step label {
    font-size: 24px;
    line-height: 32px;
  }
}
.step .question_title {
  padding-bottom: 24px;
  display: block;
}
#modulo_preadesione .step .intro-text,
#modulo_preadesione .step .wpcf7-form-control-wrap,
#modulo_preadesione .step .question_title {
  padding: 0 20px 24px 20px !important;
}
@media screen and (min-width: 768px) {
  #modulo_preadesione .step .intro-text,
  #modulo_preadesione .step .wpcf7-form-control-wrap,
  #modulo_preadesione .step .question_title {
    padding: 0 40px 24px 40px !important;
  }
}
.step .intro-text {
  font-size: 1.125rem;
  line-height: 1.5em;
}
.step .text-other {
  display: block !important;
  margin-top: -24px;
}
.step .text-other.wpcf7cf-hidden {
  display: none !important;
}
.step .text-other .wpcf7-text {
  border: 2px solid #434050;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  line-height: 22px;
  padding: 12px;
  width: 100%;
}
#modulo_preadesione .step .contact_info {
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (min-width: 768px) {
  #modulo_preadesione .step .contact_info {
    padding-left: 40px;
    padding-right: 40px;
  }
}
#modulo_preadesione .step .contact_info .wpcf7-form-control-wrap {
  padding: 0 !important;
}
#modulo_preadesione .step .privacy {
  color: #BCBCBC;
  font-size: 10px;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (min-width: 768px) {
  #modulo_preadesione .step .privacy {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.wpcf7-list-item {
  display: block;
  width: 100%;
  margin: 0 0 12px 0;
  border: 2px solid #434050;
}
.wpcf7-list-item label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  line-height: 22px;
  padding: 12px;
  cursor: pointer;
}
.wpcf7-list-item input[type=radio] {
  appearance: none;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
  border: 1px solid #434050;
  width: 20px;
  height: 20px;
}
.wpcf7-list-item input[type=radio]:checked {
  border-color: #D784E3;
  color: #D784E3;
}
.wpcf7-list-item input[type=radio]:checked::after {
  background-color: #D784E3;
}
.wpcf7-list-item input[type=radio]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s;
}
.wpcf7-list-item:has(input[type=radio]:checked) {
  background-color: #434050 !important;
}

.wpcf7-list-item-label {
  width: calc(100% - 30px);
}

.contact_info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .contact_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
  }
}
.contact_info .wpcf7-form-control-wrap,
.contact_info .input_wrapper {
  width: 100%;
}
.contact_info .input_wrapper {
  position: relative;
}
.contact_info .input_wrapper.email, .contact_info .input_wrapper.messaggio {
  grid-column: span 2;
}
.contact_info .input_wrapper .placeholder {
  display: block;
  position: absolute;
  z-index: 10;
  padding-left: 17px;
  font-size: 16px;
  top: 5px;
  left: 0;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .contact_info .input_wrapper .placeholder {
    font-size: 18px;
  }
}
.contact_info input, .contact_info textarea, .contact_info select {
  width: 100%;
  height: 58px;
  padding: 16px;
  border: 1px solid #434050;
  background: #1B1926;
  color: #fff;
}
.contact_info select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../assets/img/select_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}
.contact_info textarea {
  height: 90px;
}
.wpcf7-form-control-wrap[data-name=messaggio] .contact_info textarea {
  height: 90px;
}

.wpcf7-acceptance .wpcf7-list-item {
  border: 0;
}
.wpcf7-acceptance .wpcf7-list-item label {
  flex-direction: row;
  padding: 8px 0 0 0;
}
.wpcf7-acceptance .wpcf7-list-item label input {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 3px;
  margin-top: 4px;
  border: 1px solid #666;
  height: 16px;
  width: 16px;
  position: relative;
}
.wpcf7-acceptance .wpcf7-list-item label input:checked:after {
  content: "";
  border-radius: 2px;
  position: absolute;
  top: 1px;
  left: 1px;
  background-color: var(--wp--preset--color--accent);
  height: 12px;
  width: 12px;
}
.form_wrapper .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 14px !important;
  line-height: 22px;
  align-items: flex-start;
}

.form_wrapper .privacy {
  padding: 0;
  color: #BCBCBC;
  font-size: 10px;
}

/* ==========================================================================
   BUTTONS & NAVIGATION
   ========================================================================== */
.wpcf7 .steps_navigation button,
.wpcf7 .form_footer button,
.wpcf7 .wpcf7-submit {
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  border: 1.5px solid #434050;
  padding: 10px 26px;
  background: #434050;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin-left: 0;
}
@media screen and (min-width: 768px) {
  .wpcf7 .steps_navigation button,
  .wpcf7 .form_footer button,
  .wpcf7 .wpcf7-submit {
    margin-left: 10px;
  }
}
.wpcf7 .steps_navigation button.active,
.wpcf7 .form_footer button.active,
.wpcf7 .wpcf7-submit.active {
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.wpcf7 .steps_navigation button.inizia.active, .wpcf7 .steps_navigation button.next.active, .wpcf7 .steps_navigation button.wpcf7-submit.active,
.wpcf7 .form_footer button.inizia.active,
.wpcf7 .form_footer button.next.active,
.wpcf7 .form_footer button.wpcf7-submit.active,
.wpcf7 .wpcf7-submit.inizia.active,
.wpcf7 .wpcf7-submit.next.active,
.wpcf7 .wpcf7-submit.wpcf7-submit.active {
  background-color: #D784E3;
  color: #1E1E1E;
}
.wpcf7 .steps_navigation button.close_modal,
.wpcf7 .form_footer button.close_modal,
.wpcf7 .wpcf7-submit.close_modal {
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}
.wpcf7 .steps_navigation button.close_modal.active,
.wpcf7 .form_footer button.close_modal.active,
.wpcf7 .wpcf7-submit.close_modal.active {
  background-color: #D784E3 !important;
  color: #1E1E1E !important;
}
.wpcf7 .steps_navigation button[disabled],
.wpcf7 .form_footer button[disabled],
.wpcf7 .wpcf7-submit[disabled] {
  background: #434050;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
  pointer-events: none;
}

.steps_navigation {
  width: 100%;
  background: #302E3B;
  display: flex;
  flex-direction: column-reverse;
  border-top: 1px solid #434050;
  padding: 24px 16px;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .steps_navigation {
    flex-direction: row;
    justify-content: end;
    padding: 24px 40px;
    gap: 10px;
  }
}

.form_footer {
  display: flex;
  justify-content: end;
  position: sticky;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: #302E3B;
  border-top: 1px solid #434050;
  flex-direction: column-reverse;
  padding: 20px 16px;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .form_footer {
    position: relative;
    padding: 24px 40px;
    flex-direction: row;
    gap: 10px;
  }
}

svg.close_modal {
  cursor: pointer;
}

/* ==========================================================================
   FORM ANIMATIONS & INTERACTIONS
   ========================================================================== */
.wpcf7-form .input_wrapper {
  position: relative;
}
.wpcf7-form .input_wrapper label {
  font-size: 16px;
  z-index: 100;
}
@media screen and (min-width: 768px) {
  .wpcf7-form .input_wrapper label {
    font-size: 18px;
  }
}
.wpcf7-form .input_wrapper .placeholder {
  top: 20px;
  transition: var(--transition--default);
  pointer-events: none;
}
.wpcf7-form .input_wrapper ::placeholder {
  visibility: hidden;
}
.wpcf7-form .input_wrapper textarea:focus::placeholder, .wpcf7-form .input_wrapper input:focus::placeholder {
  color: transparent;
}
.wpcf7-form .input_wrapper textarea:focus + .placeholder, .wpcf7-form .input_wrapper textarea:not(:placeholder-shown) + .placeholder, .wpcf7-form .input_wrapper input:focus + .placeholder, .wpcf7-form .input_wrapper input:not(:placeholder-shown) + .placeholder {
  visibility: visible;
  top: 10px;
}
.wpcf7-form .input_wrapper textarea:focus, .wpcf7-form .input_wrapper textarea:not(:placeholder-shown), .wpcf7-form .input_wrapper input:focus, .wpcf7-form .input_wrapper input:not(:placeholder-shown) {
  padding-bottom: 0 !important;
  padding-top: 24px !important;
}
.wpcf7-form .input_wrapper:has(input:focus) .placeholder, .wpcf7-form .input_wrapper:has(input:not(:placeholder-shown)) .placeholder, .wpcf7-form .input_wrapper:has(textarea:focus) .placeholder, .wpcf7-form .input_wrapper:has(textarea:not(:placeholder-shown)) .placeholder, .wpcf7-form .input_wrapper:has(.wpcf7-select.has-value) .placeholder {
  top: 10px;
  visibility: visible;
  font-size: 0.875rem;
  opacity: 1;
}
.wpcf7-form .input_wrapper:has(.wpcf7-select) .placeholder {
  opacity: 0;
}
.wpcf7-form .input_wrapper:has(.wpcf7-select.has-value) select {
  padding-top: 28px;
  padding-bottom: 4px;
}

.wpcf7-spinner {
  display: none !important;
}

/* ==========================================================================
   RESPONSE MESSAGES
   ========================================================================== */
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 40px;
  border: 0;
}
@media screen and (min-width: 768px) {
  .wpcf7 form .wpcf7-response-output {
    padding: 40px;
  }
}

.response_message {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

#confirmed_message {
  padding-bottom: 0px;
}
#confirmed_message.pb-0 {
  padding-bottom: 0 !important;
}
#confirmed_message .title {
  font-size: 32px;
  line-height: 38px;
  color: #fff;
  padding: 32px 40px 9px 40px;
}
@media screen and (min-width: 768px) {
  #confirmed_message .title {
    font-size: 36px;
    line-height: 42px;
  }
}
#confirmed_message .response_message {
  font-size: 1.125rem;
  line-height: 1.5em;
  color: #fff;
  padding: 0 40px;
}
#confirmed_message .form_footer {
  position: relative;
  width: 100%;
  left: 0;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.wpcf7 .accent-color {
  color: var(--wp--preset--color--accent);
}

.wpcf7-form-control-wrap {
  display: block;
}

.wp-elements-6ddb5596cc9659251fa794567f070516 .motion-scrollable-true {
  /* max-height: unset !important; */
}

/*# sourceMappingURL=cf7.css.map */
