/*FORM FIXES FOR LEGACY MARKUP*/

.page-id-172 header.entry-header {
  justify-content: center;

  & h1 {
    text-align: center;
  }
}

/*appointment form*/

.appt-header {
  width: 100%;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-sizing: border-box;
  padding: 50px 0 35px 0;
  position: relative;
}
.appt-header h2 {
  font-weight: bold !important;
  text-transform: uppercase;
  color: #3a3a3a;
  font-size: 32px;
}
.appt-header > p {
  font-style: italic;
  color: #444;
  margin-bottom: 0 !important;
}
.appt-page-number {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50px;
  height: 50px;
  background-color: var(--lime);
  border-radius: 100%;
  top: -25px;
}
.appt-page-number > p {
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  margin-bottom: 0 !important;
}
.appt-urgent-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 50px;
  background-color: #eb5757;
  width: 100%;
  box-sizing: border-box;
}
.appt-urgent-cta p {
  color: white;
  margin-bottom: 0 !important;
  text-align: center;
}
.appt-urgent-cta p a {
  color: white;
  margin-bottom: 0 !important;
  text-align: center;
}

#gform_wrapper_13 {
  background-color: white;
  box-sizing: border-box;
  padding: 0 0 50px 0;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  margin-bottom: 0;
  margin-top: 60px;

  .gform_heading {
    display: none;
  }

  .gfield:not(#field_13_2) {
    padding: 0 50px;
  }

  .gfield input:not(.gfield-choice-input) {
    background-color: #fafafa;
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    padding: 5px 10px !important;
    color: #444;
    width: 100% !important;
  }

  .gform_page_footer {
    border-top: none !important;
    padding: 0 50px !important;
    margin: 25px 0 0 0 !important;
  }

  .gform_next_button,
  .gform_previous_button,
  .gform_button {
    box-shadow: none;
    margin-right: 0 !important;
    width: 100% !important;
    background-color: var(--lime);
    color: white;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box !important;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 20px !important;
    transition: all 0.6s ease;
    margin-bottom: 5px !important;
    display: block;
    font-weight: bold;
    margin-left: 0px;
  }

  .gform_next_button:hover,
  .gform_previous_button:hover,
  .gform_button:hover {
    background-color: var(--hover) !important;
    color: #fff !important;
    cursor: pointer;
  }

  .gfield select {
    background-color: #fafafa;
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    padding: 5px 10px !important;
    color: #444;
    width: 100% !important;
  }
}

/*newsletter form*/

#gform_wrapper_4 {
  #input_4_2 {
    width: 100%;
  }

  #gform_submit_button_4 {
    padding: 10px 10px !important;
  }
}
