/* Coast Home form v3 — paste into the CMS page's Custom CSS without <style> tags.
   Also embedded in the matching template. Scoped to this Coast form only.
   Morweb transfers input style attributes onto generated .mwInput wrappers. */
.quoteForm2021Wrap.coastHomeForm2026 {
  --coast-column-basis:180px;
  --coast-form-padding:20px;
  min-width:0!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-grid,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-row,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field,
.quoteForm2021Wrap.coastHomeForm2026 .quoteButtons,
.quoteForm2021Wrap.coastHomeForm2026 .quoteSubmit {
  box-sizing:border-box!important; min-width:0!important; max-width:100%!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput {
  display:block!important; width:100%!important; max-width:100%!important;
  min-width:0!important; float:none!important; margin:0!important;
  padding:0!important; box-sizing:border-box!important; height:auto!important;
}
/* The native text control owns its border. Its wrapper must not clip corners. */
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.text,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.textarea {
  border:0!important; overflow:visible!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field input,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field textarea,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field select:not(.hidden) {
  display:block!important; width:100%!important; max-width:100%!important;
  min-width:0!important; box-sizing:border-box!important; margin:0!important;
  padding:12px 14px!important; float:none!important;
  border:1px solid #414141!important; border-radius:5px!important;
  background-color:#fff!important; background-clip:padding-box!important;
  font-family:Montserrat,Arial,sans-serif!important; font-size:15px!important;
  font-weight:400!important; font-style:normal!important; line-height:24px!important;
  color:#4b525b!important; text-indent:0!important; letter-spacing:normal!important;
  min-height:50px!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field input::placeholder,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field textarea::placeholder {
  font:inherit!important; color:#858585!important; opacity:1!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field textarea {
  height:190px!important; min-height:120px!important; resize:vertical!important;
}
/* Morweb paints the province label in .value over a transparent native select.
   Keep that native select intact so keyboard/touch selection continues to work. */
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select {
  position:relative!important; min-height:50px!important;
  border:1px solid #414141!important; border-radius:5px!important;
  background-color:#fff!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select > .value {
  display:block!important; width:100%!important; min-width:0!important;
  max-width:100%!important; box-sizing:border-box!important;
  padding:12px 38px 12px 14px!important; margin:0!important;
  height:auto!important; min-height:48px!important;
  font-family:Montserrat,Arial,sans-serif!important; font-size:15px!important;
  font-weight:400!important; font-style:normal!important; line-height:24px!important;
  color:#858585!important; text-indent:0!important; letter-spacing:normal!important;
  border-radius:4px!important; background:transparent!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select > .value * {
  font:inherit!important; color:inherit!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select > .subcontrol {
  right:12px!important; top:50%!important; transform:translateY(-50%);
}
/* Retain Morweb's visible validation feedback when the wrapper owns the error. */
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.error > input,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.error > textarea,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select.error,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .combo.error .mwInput > input,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .combo.error .mwInput > textarea,
.quoteForm2021Wrap.coastHomeForm2026 .coast-form-field [aria-invalid="true"] {
  border-color:#f00!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-credit-check-box .mwInput.checkbox {
  width:28px!important; height:28px!important; min-width:28px!important;
  min-height:28px!important; margin:0!important; padding:0!important;
  box-sizing:border-box!important; border:1px solid #111!important;
  border-radius:3px!important; background-color:#fff!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-credit-check-box input[type="checkbox"] {
  width:28px!important; height:28px!important; margin:0!important; accent-color:#063468;
}
.quoteForm2021Wrap.coastHomeForm2026 .coast-credit-copy,
.quoteForm2021Wrap.coastHomeForm2026 .agreement-copy { overflow-wrap:anywhere; }
.quoteForm2021Wrap.coastHomeForm2026 .pageFourForm .quoteSubmit .mwInput.button {
  display:block!important; width:100%!important; max-width:100%!important;
  margin:0!important; padding:0!important; float:none!important;
  height:auto!important; min-height:50px!important; box-sizing:border-box!important;
  background:#f5ba31!important; border:0!important; border-radius:4px!important;
  font:700 18px/24px Arial,sans-serif!important; color:#000!important;
}
.quoteForm2021Wrap.coastHomeForm2026 .pageFourForm .quoteSubmit input[type="submit"] {
  display:block!important; width:100%!important; max-width:100%!important;
  box-sizing:border-box!important; margin:0!important; padding:14px 20px!important;
  height:auto!important; min-height:50px!important;
  position:relative!important; top:0!important; left:0!important; float:none!important;
  border:0!important; border-radius:4px!important; background:#f5ba31!important;
  font-family:Arial,sans-serif!important; font-size:18px!important;
  font-weight:700!important; line-height:24px!important; letter-spacing:0!important;
  color:#000!important; text-align:center!important; text-indent:0!important;
  text-transform:none!important; white-space:normal!important; cursor:pointer;
}
.quoteForm2021Wrap.coastHomeForm2026 .pageFourForm .quoteSubmit input[type="submit"]:hover {
  background:#e8ac22!important;
}
.quoteForm2021Wrap.coastHomeForm2026 input:focus-visible,
.quoteForm2021Wrap.coastHomeForm2026 select:focus-visible,
.quoteForm2021Wrap.coastHomeForm2026 textarea:focus-visible,
.quoteForm2021Wrap.coastHomeForm2026 a:focus-visible {
  outline:2px solid #0081c3!important; outline-offset:2px;
}
.quoteForm2021Wrap.coastHomeForm2026 .mwInput.select:focus-within,
.quoteForm2021Wrap.coastHomeForm2026 .coast-credit-check-box .mwInput:focus-within {
  outline:2px solid #0081c3!important; outline-offset:2px;
}
@media (max-width:600px) {
  .quoteForm2021Wrap.coastHomeForm2026 {
    --coast-column-basis:100%;
    --coast-form-padding:16px;
  }
  .quoteForm2021Wrap.coastHomeForm2026 .coast-form-field input,
  .quoteForm2021Wrap.coastHomeForm2026 .coast-form-field textarea,
  .quoteForm2021Wrap.coastHomeForm2026 .coast-form-field select,
  .quoteForm2021Wrap.coastHomeForm2026 .coast-form-field .mwInput.select > .value {
    font-size:16px!important;
  }
}
