/* Marketo form 3523 (contest entry). Keyed on the form id: update the selector
   if Fanshawe issues a new form. Marketo injects inline styles, hence the
   !important on nearly everything. */
#mktoForm_3523 { padding:0 !important; margin:0 !important; width:100% !important; max-width:none; font-family:'Montserrat', sans-serif !important; }

.mktoForm .mktoRequiredField .mktoAsterix { float: left; padding-right: 2px; color: #000 !important; }

.mktoFormRow, .mktoFieldWrap, .mktoFormCol, .mktoButtonRow { width:100%; color: #000; }
/* Space rows via the field wrap: hidden-field rows have none, so they collapse. */
.mktoForm .mktoFormRow { margin-bottom: 0; }
.mktoForm .mktoFieldWrap { margin-bottom: 22px; }
.mktoForm .mktoGutter, .mktoForm .mktoOffset { display: none !important; }

.mktoForm a, .mktoForm a:visited { color:#e2231a; font-weight: 700; }
.mktoForm a:hover, .mktoForm a:focus { color:#b3272d; }

.mktoForm .mktoLabel {
  width: 150px !important;
  padding-top: 0.9em !important;
  color: #000 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
}

.mktoForm input[type=url],
.mktoForm input[type=text],
.mktoForm input[type=date],
.mktoForm input[type=tel],
.mktoForm input[type=email],
.mktoForm input[type=number],
.mktoForm textarea.mktoField,
.mktoForm select.mktoField {
  width: calc(100% - 150px) !important;
  height: 43px;
  box-shadow: none !important;
  padding: 10px 12px !important;
  border: 1px solid #c7c7c7 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
}
.mktoForm select.mktoField { padding: 0 12px !important; }

/* Checkbox / radio lists beside the label (e.g. First Nation, Métis or Inuit) */
.mktoForm .mktoCheckboxList.mktoHasWidth,
.mktoForm .mktoRadioList.mktoHasWidth {
  width: calc(100% - 150px) !important;
  padding: 12px 0 0 !important;
}
.mktoForm .mktoCheckboxList > label,
.mktoForm .mktoRadioList > label {
  color: #000 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  line-height: 18px !important;
  margin: 0 0 6px 22px !important;
}
.mktoForm .mktoCheckboxList > input,
.mktoForm .mktoRadioList > input { margin-left: -22px !important; }

/* Consent (CASL) - checkbox at the start, consent text beside it.
   VERIFY the field id once the form renders (openhouse uses CASL_Opt_In__c). */
.mktoFieldWrap > #LblCASL_Opt_In__c {
  float: right;
  width: calc(100% - 35px) !important;
  padding-top: 0 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 15px !important;
  text-align: left;
}
#LblCASL_Opt_In__c ~ .mktoCheckboxList { float: left; width: 35px !important; margin: 0; padding: 0 !important; }

.mktoForm .mktoButtonRow { text-align: left; margin-top: 30px; }
.mktoForm .mktoButtonWrap { margin-left: 0 !important; }
.mktoButton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 255px;
  min-height: 70px;
  padding: 12px 30px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 23px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  box-shadow: none !important;
  background-image: none !important;
  background-color: #000 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: background-color 300ms ease-in !important;
}
.mktoButton:hover, .mktoButton:focus { background-color: #333 !important; color: #fff !important; }

@media only screen and (max-width: 650px) {
  .mktoForm .mktoLabel { width: 100% !important; padding-top: 0.3em !important; }
  .mktoForm input[type=url], .mktoForm input[type=text],
  .mktoForm input[type=date], .mktoForm input[type=tel],
  .mktoForm input[type=email], .mktoForm input[type=number],
  .mktoForm textarea.mktoField, .mktoForm select.mktoField { width:100% !important; }
  .mktoForm .mktoCheckboxList.mktoHasWidth,
  .mktoForm .mktoRadioList.mktoHasWidth { width: 100% !important; padding-top: 0 !important; }
  .mktoButton { width: 100%; max-width: 400px; font-size: 20px !important; }
}
