/* Contact Form ------------------------------------ */
.contact-form__submit input[type="submit"] {
    width: 100%;
	  background-color: var(--wp--preset--color--custom-primary);
    color: #fff;
    font-size: 1.15rem;
    transition: all .3s;
    &:hover {
      background-color: var(--wp--preset--color--custom-primary-light);
    }
}
.wpcf7 .wpcf7-submit:disabled {
    background-color: #ededed;
    color: #888;
}
.wpcf7 form.invalid .wpcf7-response-output {
    font-size: 15px;
}


.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
	background: #ededed;
	border: none;
    font-size: 1.25rem;
}
.contact-form {
    font-size: 1.25rem;
    & dl {
        display: flex;
        flex-flow: wrap;
        margin: 0;
        & dt {
            margin-bottom: 20px;
            & .required {
                color: red;
            }
        }
        & dd {
            margin: 0 0 30px 0;
            width: 100%;
        }
        & p {
            margin: 0;
        }
        @media (min-width: 782px) {
            flex-flow: wrap;
            & dt {
                width: 25%;
                min-width: 220px;
            }
            & dd {
                width: 75%;
            }
            & p {
                margin: 0;
            }
        }
    }
    &.confirm {
      & dl {
        & dd {
          padding: 20px;
          background-color: #ededed;
          box-sizing: border-box;
          &.confirm-submit {
            margin-top: 20px;
            padding: 0;
            background: none;
          }
        }
      }
    }
}
.contact-form dd {
	margin-bottom: 20px;
}
.contact-form dt:last-child,
.contact-form dd:last-child {
	margin-bottom: 0;
}
.contact-form .ajax-loader {
	margin-top: 20px;
}
.contact-form .contact-form__submit .ajax-loader {
	margin-top: 0px;
}
.wpcf7-submit,
.wpcf7-submit {
	padding: 20px 40px;
	background: none;
	border: 1px solid #ccc;
	border-radius: 100px;
	color: #555;
}
.wpcf7-submit:disabled {
	border-color: #eee;
	color: #ccc;
}
.wpcf7-previous {
	position: relative;
	width: 42px; height: 42px;
	margin-right: 20px; padding: 0;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: none;
	text-indent: -9999px;
	overflow: hidden;
}
.contact__previous {
	position: relative;
}
.contact__previous::after {
	content: '\f060';
	position: absolute;
	left: 0; top: 0;
	width: 42px; height: 42px; line-height: 42px;
	text-align: center;
	font-family: "Font Awesome 5 Free";
 	font-weight: 900;
	 color: #ccc;
	 pointer-events: none;
}
.contact-form .wpcf7-not-valid-tip {
	margin-top: 10px;
}
.contact-form.contact-form--confirm dd > div {
	padding: 15px;
	background-color: #ededed;
	text-align: left;
}
.contact--steps {
	display: flex;
	align-items: center;
	margin: 0; padding: 0;
	list-style: none;
    font-size: 12px;
    @media (min-width: 782px) {
        font-size: 1.15rem;
    }
}
.contact--steps li {
	position: relative;
	margin: 0; padding: 4px 14px;
	background: #ededed;
    color: #898989;
    @media (min-width: 782px) {
        padding: 7px 21px;
    }
}
.contact--steps li.current {
	background-color: var(--wp--preset--color--custom-primary);
    color: #fff;
}
.contact--steps li em {
	font-style: normal;
	color: inherit;
}
.contact--steps li:not(:last-child) {
	margin-right: 1px;
}
.wpcf7-form-control {
  cursor: pointer;
  & .wpcf7-list-item {
    margin-left: 0;
    font-size: 1.1rem;
  }
}
.contact-form .text input,
.contact-form .text-area textarea {
  padding: 14px;
  width: 100%;
  box-sizing: border-box;
	border-radius: 4px;
}
.contact-form .calendar input,
.contact-form .calendar input[type="date"] {
  padding: 14px;
  width: 100%; min-width: 100%;
  box-sizing: border-box;
  background: #ededed;
  border: none;
	border-radius: 0px;
  @media only screen and (min-width: 960px) {
    font-size: 1..25rem;
  }
}
.contact-form .calendar input[type="date"] {
	display: block;
	-webkit-appearance: none;
	min-height: 1.2em;
}
.contact-form .select select {
	-webkit-appearance: none;
	appearance: none;
}
.contact-form .calendar select {
  padding: 14px;
  width: 100%;
  box-sizing: border-box;
  background: #ededed;
  border: none;
    border-radius: 0px;
  @media only screen and (min-width: 960px) {
    font-size: 1.8rem;
  }
}
.contact-form .select > span::after {
	content: '▼';
	position: absolute;
	top: 1em; right: 1em;
	z-index: 10;
	line-height: 1;
	pointer-events: none;
}
.contact-form .calendar label > span {
	display: flex;
	flex-flow: wrap;
	width: 100%;
}
.contact-form .calendar label .placeholder::before {
	content: attr(placeholder);
}
.placeholder::-webkit-datetime-edit-fields-wrapper {
  display: none;
}
.placeholder::-webkit-calendar-picker-indicator {
  display: none;
}
.contact-form .checkbox .wpcf7-list-item input {
  margin-right: 7px;
}
.contact-form .checkbox .wpcf7-list-item label {
  display: flex;
  cursor: pointer;
	align-items: center;
}
.contact-form .checkbox .wpcf7-form-control {
  cursor: auto;
}
.contact-form .postcode input {
  padding: 14px;
  width: 120px;
  box-sizing: border-box;
}
.contact-form .postcode input.postCode4 {
	margin-left: 7px;
	width: 140px;
}
.wpcf7 form.invalid .wpcf7-response-output {
	padding: 12px;
	background-color: #ededed;
}
.link--text a {
	color: royalblue;
}
.link--text a::after {
	content: '\f35d';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}
.link--text a:hover {
	text-decoration: underline;
}

.wpcf7 form .wpcf7-response-output {
  border: none;
}
.wpcf7-not-valid-tip {
  color: red;
  font-size: 1rem;
}
.error {
  .wpcf7-not-valid-tip {
      display: none;
  }

  .error-message {
      margin-top: 7px;
      color: red;
      display: none;
  }

  &:has(.wpcf7-not-valid-tip) {
      & .error-message {
          display: block;
      }
  }
}
.wpcf7-spinner {
	display: block;
	margin: 24px auto;
}
@media only screen and (min-width: 640px) {
	.wpcf7-spinner {
		display: inline-block;
		margin: 0 24px;
	}
}
input[type=date]::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
}


input[type="date"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
}

input[type="date"]::-webkit-clear-button{
  -webkit-appearance: none;
}

input[type="date"]{
  position: relative;
}
input[type="date"]::before {
  content: '\f133';
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
}