/* SteadiOp booking form: matches the Wufoo form it replaces
   (Wufoo theme 6 on a transparent background). Values measured from the
   live Wufoo embed. Everything is scoped under .sop-booking. */

#content .sop-booking,
.sop-booking {
  margin: 0 0 10px;
  font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
  color: #999;
}
.sop-booking form { margin: 0; padding: 0 0 20px; }
#content .sop-booking ul,
.sop-booking ul { list-style: none; margin: 0; padding: 0; }
#content .sop-booking ul li,
.sop-booking li {
  list-style: none;
  background: none;
  margin: 0;
  padding: 6px 1% 9px;
  font-size: 13px;
  line-height: normal;
  color: #999;
  position: relative;
}
#content .sop-booking ul li::before { content: none; display: none; }
.sop-booking li::after { content: ''; display: block; clear: both; }
.sop-booking li.hide { display: none !important; }

/* header */
.sop-booking .info {
  margin: 0 0 5px;
  padding: 0 1% 14.3px;
  border-bottom: 1px dotted #ccc;
}
#content .sop-booking .info h2,
.sop-booking .info h2 {
  margin: 0 0 5px;
  padding: 0;
  font: normal 20.8px/normal "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
  color: #999;
  text-transform: none;
  letter-spacing: normal;
  border: 0;
  background: none;
}
.sop-booking .info div { font-size: 12.35px; line-height: 16.6725px; color: #999; }

/* labels */
.sop-booking label.desc,
.sop-booking legend.desc {
  display: block;
  margin: 0;
  padding: 0 0 3px;
  border: 0;
  font-size: 12.35px;
  font-weight: bold;
  line-height: 18.525px;
  color: #999;
  white-space: normal;
}
.sop-booking .req { color: #f00; font-weight: bold; }
.sop-booking .sop-name > span { float: left; margin: 0 3px 0 0; }
.sop-booking .sop-name > span label {
  display: block;
  padding: 3px 0 0;
  font-size: 11.05px;
  line-height: 17.68px;
  color: #999;
}

/* fields */
#content .sop-booking input.text,
#content .sop-booking textarea.textarea,
.sop-booking input.text,
.sop-booking textarea.textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 2px 0;
  height: 22px;
  background: #444;
  border: 1px solid #c3c3c3;
  border-top-color: #7c7c7c;
  border-bottom-color: #ddd;
  border-radius: 0;
  box-shadow: none;
  font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
  color: #dedede;
  -webkit-appearance: none;
  appearance: none;
}
#content .sop-booking input.fn { width: 68px; }
#content .sop-booking input.ln { width: 118px; }
#content .sop-booking input.medium { width: 50%; }
#content .sop-booking textarea.textarea {
  display: block;
  width: 100%;
  height: 78px;
  resize: vertical;
}
.sop-booking input.text:focus,
.sop-booking textarea.textarea:focus { outline: 1px solid #999; outline-offset: 0; }

/* GDPR section */
#content .sop-booking li.section { padding: 7px 0 0; }
#content .sop-booking li.section h3 {
  margin: 0 0 3px;
  padding: 12px 1% 0;
  border-top: 1px dotted #ccc;
  font: normal 14.3px/19.305px "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
  color: #999;
  height: auto;
  text-transform: none;
}
#content .sop-booking li.section div {
  margin: 0 0 11.05px;
  padding: 0 1%;
  font-size: 11.05px;
  line-height: 17.68px;
  color: #999;
}
#content .sop-booking li.section a { color: #00e; text-decoration: underline; }

/* consent */
.sop-booking fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sop-booking .subfield { display: block; }
#content .sop-booking input.checkbox {
  float: left;
  width: 13px;
  height: 13px;
  margin: 4px 0 0;
  padding: 0;
}
#content .sop-booking label.choice {
  display: block;
  margin: 0 0 0 23px;
  padding: 0 0 5px;
  font-size: 13px;
  line-height: 19.5px;
  color: #999;
}

/* submit: the plain browser button Wufoo shows */
#content .sop-booking li.buttons { padding: 10px 1%; }
#content .sop-booking input.submit {
  margin: 0 5px 0 0;
  padding: 1px 7px;
  font: 15.6px Arial, sans-serif;
  color: #000;
  background: #efefef;
  border: 1px solid #767676;
  border-radius: 2px;
  cursor: pointer;
  -webkit-appearance: auto;
  appearance: auto;
}
#content .sop-booking input.submit[disabled] { opacity: 0.6; cursor: default; }

/* messages and validation */
.sop-booking .sop-booking-msg { padding: 8px 1% 10px; font-size: 13px; line-height: 19.5px; }
.sop-booking .sop-booking-msg[hidden] { display: none; }
.sop-booking .sop-ok { color: #dedede; }
.sop-booking .sop-err { color: #ff8080; }
.sop-booking li.sop-invalid label.desc,
.sop-booking li.sop-invalid legend.desc { color: #ff8080; }
#content .sop-booking li.sop-invalid input.text:invalid,
#content .sop-booking li.sop-invalid textarea:invalid,
#content .sop-booking li.sop-invalid .sop-bad { border-color: #ff8080; }

/* phones */
@media (max-width: 600px) {
  #content .sop-booking input.medium { width: 100%; }
  #content .sop-booking input.text,
  #content .sop-booking textarea.textarea { font-size: 16px; height: 30px; }
  #content .sop-booking textarea.textarea { height: 120px; }
  #content .sop-booking input.fn,
  #content .sop-booking input.ln { width: 100%; }
  .sop-booking .sop-name > span { float: none; display: block; margin: 0 0 6px; }
}
