/* Site form layout. CF7 class names are retained by GRAVITI Forms for compatibility. */
.wpcf7 .formWrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.wpcf7 .formRow {
  display: flex;
  margin: 0;
  padding: 3rem 0;
  gap: 30px;
  border-top: 1px #EFF4F8 solid;
}

.wpcf7 .formRow .formBody.grids {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  gap: 30px;
}

.wpcf7 .formRow .formBody.grids .formBodyInnr {
  width: 100%;
  display: flex;
  margin: 0;
  gap: 10px;
  align-items: center;
}

.wpcf7 .formLabel,
.wpcf7 .formBody {
  margin: 0;
  padding: 0;
}

.wpcf7 .formLabel {
  width: 222px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wpcf7 .formBody {
  width: calc(100% - 180px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7 .formLabel span,
.wpcf7 .formLabel.is-required span {
  font-size: 0.8rem;
  background-color: #FFC800;
  padding: 2px 10px;
  border-radius: 12px;
}

.wpcf7 .formLabel.is-required span {
  background-color: #FFCE25;
}

.wpcf7 input[type=text],
.wpcf7 input[type=tel],
.wpcf7 input[type=email],
.wpcf7 input[type=date],
.wpcf7 input[type=time],
.wpcf7 input[type=datetime-local],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  margin: 0;
  padding: 0.75em;
  border: 1px solid #c4bbb8;
  border-radius: 5px;
  box-shadow: none;
  background-color: #fefefe;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: 16px;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7 input[type=text]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=date]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: 0;
  border: 1px #707070 solid;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

.wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.wpcf7 input[type=checkbox] {
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.wpcf7 input[type=checkbox]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: 16px;
  box-sizing: border-box;
  transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox]+span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid #c4bbb8;
  border-radius: 0;
  background-color: #fefefe;
  box-sizing: border-box;
}

.wpcf7 input[type=checkbox]+span::after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.15em;
  left: 0.44em;
  width: 0.4em;
  height: .8em;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
  box-sizing: border-box;
  transform: rotate(40deg);
  transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox]:checked+span {
  color: #004EA1;
  transition: all .25s ease;
}

.wpcf7 input[type=checkbox]:checked+span::before {
  opacity: 1;
  border: 1px solid #004EA1;
  background-color: #004EA1;
  transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox]:checked+span::after {
  opacity: 1;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: opacity .25s ease;
}

.wpcf7 .ddmenu {
  position: relative;
}

.wpcf7 .ddmenu::before {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  pointer-events: none;
  content: "";
  width: 12px;
  height: 12px;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
}

.wpcf7 .ddmenu.ofset::before {
  right: 44px;
}

.wpcf7 .formRow.rowSubmit {
  flex-direction: column;
}

.wpcf7 [type="submit"] {
  cursor: pointer;
  width: 320px;
  margin: 0 auto;
  max-width: 100%;
  padding: 18px;
  box-shadow: none;
  border: 1px #004EA1 solid;
  border-radius: 30px;
  background-color: #004EA1;
  color: #fff;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  transition: all .25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7 [type="submit"]:hover {
  background-color: #FFC800;
  border: 1px #FFC800 solid;
  color: #111;
  transition: all .25s;
}

.wpcf7 .row-drawing .attention {
  display: block;
  font-size: 0.7rem;
  margin: 5px 0 0 0;
}

.wpcf7 .form__sub_label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  width: 100%;
}

.wpcf7 .form__sub_label:last-child {
  margin: 0;
}

.wpcf7 .form__sub_label label {
  width: 77px;
}

.wpcf7 .formBody .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}

.wpcf7 .formBodyInnr > .wpcf7-form-control-wrap {
  flex: 1;
}

.wpcf7 .formBodyInnr > p {
  flex-shrink: 0;
}

.wpcf7 .formRow.rowPrivacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.wpcf7 .formRow.rowPrivacy .formBody {
  text-align: center;
}

.wpcf7 .formRow.rowPrivacy h5 {
  font-size: 1.7rem;
  margin: 0;
}

.wpcf7 .formRow.rowPrivacy p {
  color: #7D7F83;
  text-align: center;
  max-width: 580px;
}

.wpcf7 .formRow.rowPrivacy p a {
  color: #E99568;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 767px) {
  .wpcf7 div.formRow {
    flex-direction: column;
    gap: 15px;
  }

  .wpcf7 .formBody {
    width: 100%;
  }

  .wpcf7 .formLabel {
    width: 100%;
    gap: 13px;
  }

  .wpcf7 .formRow .formBody.grids {
    display: grid;
    gap: 20px;
  }
}


.wpcf7 input[type=checkbox]:focus-visible+span::before {
  outline: 3px solid #ffc800;
  outline-offset: 3px;
}

.wpcf7 .formRow .formBody {
  flex: 1;
  min-width: 0;
}

.wpcf7 input:focus-visible,
.wpcf7 textarea:focus-visible,
.wpcf7 select:focus-visible {
  outline: 3px solid #ffc800 !important;
}

/* Empty validation messages must not add a gap below every field. */
.gf-wrap .gf-field-error:empty {
  display: none;
}
.gf-wrap .gf-field-error {
  width: auto;
}
.gf-wrap [aria-invalid="true"] {
  border-color: #b42318;
}

/* Calendar and combined time selector for the reservation form. */
.wpcf7 .needs-reservation-control { min-width: 0; }
.wpcf7 .needs-reservation-caption { display: block; margin-bottom: 8px; font-size: 14px; }
.wpcf7 .needs-reservation-control select { padding-right: 40px; }
/* Keep native date/time fields usable even when empty on mobile browsers. */
.wpcf7 input:is([type=text],[type=tel],[type=email],[type=date],[type=time],[type=datetime-local]),
.wpcf7 select {
  min-width: 0;
  min-height: 50px;
  line-height: 1.5;
}
.wpcf7 input:is([type=date],[type=time],[type=datetime-local]) {
  height: 50px;
  max-width: 100%;
}
.wpcf7 input::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: left;
}
.wpcf7 input::-webkit-datetime-edit {
  padding: 0;
}
