.wps-form {
  width: 100%;
  margin: 0 auto;
}
.wps-form-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.wps-form-row .wpcf7-form-control {
  width: 100%;
}
.wps-form-column {
  flex: 1;
  padding: 0.5rem 0;
  width: 100%;
}
@media only screen and (min-width: 600px) {
  .wps-form-row {
    flex-direction: row;
  }
  .wps-form-column {
    padding: 0.5rem;
  }
  .wps-form-column:first-child {
    padding-left: 0;
  }
  .wps-form-column:last-child {
    padding-right: 0;
  }
  .wps-form-column.small {
    flex: unset;
    width: 8rem;
  }
}
.wpcf7-form {
  width: 100%;
  margin: 0 auto;
}
.wpcf7-form span.wpcf7-list-item.first.last {
  margin: 0;
}
.wpcf7-form .wpcf7-not-valid {
  border: 2px solid red;
}
.wpcf7-form span.wpcf7-not-valid {
  display: block;
}
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}
.wpcf7-form .layout-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.wpcf7-form .layout-row .wpcf7-form-control {
  width: 100%;
}
.wpcf7-form .layout-column {
  flex: 1;
  padding: 0.5rem 0;
  width: 100%;
}
.wpcf7-form .layout-column.two-fields {
  display: flex;
  justify-content: space-between;
}
.wpcf7-form .layout-column.two-fields > * {
  width: calc(50% - 0.5rem);
}
@media only screen and (min-width: 600px) {
  .wpcf7-form .layout-row {
    flex-direction: row;
  }
  .wpcf7-form .layout-column {
    padding: 0.5rem;
  }
  .wpcf7-form .layout-column:first-child {
    padding-left: 0;
  }
  .wpcf7-form .layout-column:last-child {
    padding-right: 0;
  }
  .wpcf7-form .layout-column.small {
    flex: unset;
    width: 8rem;
  }
}
input[type=checkbox] {
  border-radius: 0;
}
input[type=text],
input[type=date],
input[type=datetime],
input[type=number],
input[type=search],
input[type=time],
input[type=url],
input[type=email],
input[type=tel],
input[type=password],
textarea,
select,
.nf-form-cont .nf-field-element input[type=text],
.nf-form-cont .nf-field-element input[type=date],
.nf-form-cont .nf-field-element input[type=datetime],
.nf-form-cont .nf-field-element input[type=number],
.nf-form-cont .nf-field-element input[type=time],
.nf-form-cont .nf-field-element input[type=url],
.nf-form-cont .nf-field-element input[type=email],
.nf-form-cont .nf-field-element input[type=tel],
.nf-form-cont .nf-field-element input[type=password],
.nf-form-cont .field-wrap:not(.list-multiselect-wrap) .nf-field-element select,
.nf-form-cont .nf-field-element textarea {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: #fcfcfc;
  border: 1px solid #bebebe;
  border-radius: 2px;
  padding: 0 7px;
  margin: 0;
  color: var(--body-color);
  line-height: 1.5;
  height: 2.5rem;
  width: 100%;
  vertical-align: middle;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: inset 0 0 6px 0 rgba(0,0,0,0.1);
}
input[type=text]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=password]:focus,
textarea:focus,
select:focus,
.nf-form-cont .nf-field-element input[type=text]:focus,
.nf-form-cont .nf-field-element input[type=date]:focus,
.nf-form-cont .nf-field-element input[type=datetime]:focus,
.nf-form-cont .nf-field-element input[type=number]:focus,
.nf-form-cont .nf-field-element input[type=time]:focus,
.nf-form-cont .nf-field-element input[type=url]:focus,
.nf-form-cont .nf-field-element input[type=email]:focus,
.nf-form-cont .nf-field-element input[type=tel]:focus,
.nf-form-cont .nf-field-element input[type=password]:focus,
.nf-form-cont .field-wrap:not(.list-multiselect-wrap) .nf-field-element select:focus,
.nf-form-cont .nf-field-element textarea:focus {
  outline-offset: -1px;
}
select:where(:not([multiple])),
.nf-form-cont .field-wrap:not(.list-multiselect-wrap) .nf-field-element select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23000000'><polygon points='0,25 100,25 50,75'/></svg>");
  background-position: calc(100% - 0.75rem) 0.75rem;
  background-size: 1rem 1rem;
  background-repeat: no-repeat;
}
select:where(:not([multiple]))::-ms-expand,
.nf-form-cont .field-wrap:not(.list-multiselect-wrap) .nf-field-element select::-ms-expand {
  display: none;
}
textarea,
.nf-form-cont .nf-field-element textarea {
  height: 10rem;
  transition: width 0s, height 0s;
}
form span.date input.date-day,
form span.date input.date-month {
  width: 3em;
  text-align: center;
}
form span.date input.date-year {
  width: 4em;
  text-align: center;
}
form span.date span {
  display: inline-block;
  width: 0.5em;
  padding: 0 0.25em;
  font-weight: bold;
}
form span.postcode-city input.postcode {
  width: 5em;
}
form span.postcode-city span.delimiter {
  display: inline-block;
  width: 0.5em;
  padding: 0 0.25em;
  font-weight: bold;
}
form span.postcode-city input.city {
  width: calc(100% - 6em);
}
.checkbox {
  position: relative;
}
.checkbox .checkbox-button {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 0.5em 0 0;
  float: left;
}
.checkbox .checkbox-button label {
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  border: 1px solid #bebebe;
}
.checkbox .checkbox-button label:after {
  content: '';
  width: 22px;
  height: 8px;
  position: absolute;
  top: 7px;
  left: 3px;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.checkbox .checkbox-button label:hover::after {
  opacity: 0.1;
}
.checkbox .checkbox-button input[type=checkbox] {
  visibility: hidden;
}
.checkbox .checkbox-button input[type=checkbox]:checked + label:after {
  opacity: 1;
}
.checkbox .checkbox-label {
  position: relative;
  display: block;
  margin: 0.21em 0 0 calc(32px + 0.5em);
}
.nf-form-cont .nf-field-label label {
  font-weight: normal;
}
.nf-form-cont .checkbox-container.label-right .field-wrap {
  flex-direction: column;
}
.nf-form-cont .checkbox-container.label-right .nf-field-label {
  align-items: flex-start;
}
.nf-form-cont .label-above .nf-field-label {
  margin-bottom: 0;
}
.nf-form-cont form .nf-field-container .checkbox-wrap .nf-field-label {
  margin-left: 0;
}
@media (max-width: 480px) {
  table.form tbody td:first-child {
    display: block;
    padding-top: 0.5em;
    padding-bottom: 0;
  }
  table.form tbody td:last-child {
    display: block;
    padding-left: 2em;
  }
}
@media (max-width: 480px) {
  .form-success,
  .form-alert,
  .form-error {
    padding: 10px 10px 10px 10px;
    margin: 0.5em 0 0.5em 0;
    min-height: 60px;
    border-radius: 25px 10px 25px 10px;
  }
  .form-success ul,
  .form-alert ul,
  .form-error ul {
    clear: both;
  }
  .form-success::before {
    font-size: 40px;
    line-height: 40px;
    position: static;
    margin: 15px 15px 5px 10px;
  }
  .form-alert::before {
    font-size: 40px;
    line-height: 40px;
    position: static;
    margin: 5px 10px 5px 10px;
  }
  .form-error::before {
    font-size: 40px;
    line-height: 40px;
    position: static;
    margin: 5px 10px 5px 10px;
  }
}
