.tdf-cf7-form {
  font-size: 0.75rem;
  line-height: 2rem;
}

.tdf-cf7-form input[type=date] {
  -webkit-appearance: none;
  min-height: 3.5rem;
  min-width:200px;
}

.tdf-cf7-form .tdf-cf7-select {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width:200px;
}

wpcf7-response-output {
  border-color: #dc3232;
  color: #dc3232;
}

.tdf-cf7-form .tdf-cf7-select select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 1px solid #999;
  border-radius: 2px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.tdf-cf7-form .tdf-cf7-select .wpcf7-form-control-wrap::before {
  content: "";
  border-color: #333;
  border-width: 0 0 1px 1px;
  aspect-ratio: 1 / 1;
  width: auto;
  height: 10px;
  border-radius: 0;
  position: absolute;
  top: 37%;
  right: 20px;
  display: block;
  transform: rotate(-45deg) translate(0%, 0%);
  transform-origin: center;
}

.tdf-cf7-form .tdf-cf7-select select::-ms-expand {
  display: none;
}

.tdf-cf7-form .tdf-cf7-select select:hover,
.tdf-cf7-form .tdf-cf7-select select:focus {
  color: #333;
  background-color: #fff;
}

.tdf-cf7-form .tdf-cf7-select select:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.tdf-cf7-checkboxes {
  margin-top: 15px;
  line-height: 2;
  display: flex;
  flex-direction: column;
}

.wpcf7-list-item-label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

.tdf-cf7-checkboxes .wpcf7-list-item-label:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background: #ccc;
}

.wpcf7-list-item .wpcf7-list-item-label:before {
  content: "";
  display: block;
  background: #ccc;
  aspect-ratio: 1/1;
  width: auto;
  height: 100%;
  border-radius: 0;
  position: absolute;
  top: 0;
  margin-right: 5px;
  left: 0px;
}

.wpcf7-list-item input {
  display: none;
}

.wpcf7-list-item:hover .wpcf7-list-item-label:before,
.wpcf7-list-item:focus .wpcf7-list-item-label:before {
  background: #aaa;
}

.wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label:before {
  background: #333;
}

.wpcf7-list-item-label:after {
  content: "";
  display: none;
  border-color: white;
  border-width: 0 0 2px 2px;
  aspect-ratio: 2/1;
  width: auto;
  height: 30%;
  border-radius: 0;
  position: absolute;
  top: 0%;
  left: 0px;
}

.wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label:after {
  display: block;
  transform: rotate(-45deg) translate(-5%, 105%);
  transform-origin: center;
}

.tdf-cf7-form ul {
  display: flex;
  flex-direction: column;
}

.tdf-cf7-form ul li {
  display: flex;
  flex-direction: column;
  padding: 7.5px 0;
}

.tdf-cf7-form .required {
  color: #dc3232;
}

.tdf-cf7-form .full {
  width: 100%;
}

.tdf-cf7-form .half {
  width: 50%;
}

.tdf-cf7-form .quarter {
  width: 25%;
}

.tdf-cf7-form .annotate {
  font-size: 11px;
  text-align: right;
}

.tdf-cf7-form .field-hint {
  font-size: 9px;
}

.tdf-cf7-form form input,
.tdf-cf7-form form textarea {
  border: 1px solid #999;
  width: 100%;
  background: white;
  padding: 0.625rem 1.25rem;
  border-radius: 2px;
}

.tdf-cf7-form form textarea {
  height: 200px;
}

#autozip {
  display: none !important;
}

.tdf-cf7-button {
  color: white !important;
  border: 0 !important;
  display: block !important;
  margin: 10px auto;
  line-height: 3em !important;
  padding: 5px 4.5em !important;
  width: fit-content !important;
  background: #ff9f00 !important;
  border-radius: 0.5em !important;
  cursor: pointer;
  font-size: 15px;
}

.wpcf7-response-output {
  border-color: #dc3232 !important;
  color: #dc3232;
  text-align: center;
}

.grecaptcha-badge { visibility: hidden; }