/* Form controls (Contact Form 7, search, WooCommerce). Values measured from the previous site. */
form { margin-bottom: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label, legend { display: block; margin-bottom: .4em; font-size: .9em; font-weight: 700; color: #222; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select {
  box-sizing: border-box; width: 100%; max-width: 100%; height: 48px; margin-bottom: 1em; padding: 0 .75em;
  font-family: inherit; font-size: .97em; font-weight: 700; line-height: 1.6; color: #333; vertical-align: middle;
  background-color: #fff; border: 1px solid #ddd; border-radius: 5px; box-shadow: none; transition: color .3s, border .3s, background .3s, opacity .3s; appearance: none; -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: #757575; }
input[type=date] { display: inline-block; }
textarea { height: 120px; min-height: 120px; padding-top: .7em; }
select { display: block; padding-right: 1.4em; background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: right .45em top 50%; background-repeat: no-repeat; background-size: auto 16px; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: #aaa; box-shadow: 0 0 5px #ccc; }
input[type=checkbox], input[type=radio] { display: inline-block; margin: 3px 10px 16px 4px; font: inherit; appearance: auto; -webkit-appearance: auto; }
input[type=submit], button[type=submit], .button-submit {
  position: relative; display: inline-block; min-height: 2.5em; max-width: 100%; margin: 0 1em 1em 0; padding: 0 1.2em;
  font-family: inherit; font-size: .97em; font-weight: 700; line-height: 2.4em; letter-spacing: .03em; text-align: center; color: #fff;
  background-color: var(--tsd-primary); border: 0; border-radius: 5px; cursor: pointer; vertical-align: middle; appearance: none; }
input[type=submit]:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }
input[type=submit]:disabled { cursor: not-allowed; opacity: 1; }
@media (max-width: 549px) {
  input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select { font-size: 16px; }
}

/* Contact Form 7 */
.wpcf7 { position: relative; color: #333; }
.wpcf7 form { margin-bottom: 1.3em; }
.wpcf7 p { margin: 0; padding: 0; }
.wpcf7 br { display: none; }
.wpcf7 label { display: inline-block; width: 100%; }
.wpcf7 .wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 .wpcf7-list-item { display: inline-block; margin: 0 1.2em 0 0; }
.wpcf7 .wpcf7-list-item-label { font-size: inherit; }
.wpcf7 .wpcf7-not-valid-tip { position: absolute; top: auto; bottom: -5px; left: 0; z-index: 2; padding: 2px 5px; font-size: .8em; color: #fff; background: var(--tsd-alert); border-radius: 3px; line-height: 1.2; }
.wpcf7 .wpcf7-response-output { margin: 5px 0 0; padding: 7px 14px; border-radius: 10px; }
.wpcf7 .row { margin-left: -15px; margin-right: -15px; width: auto; }
.wpcf7 .col { padding-bottom: 0; }
