/* Admission enquiry form - Geneva Liberal School */

/* compact page head - keeps the form above the fold */
.inq-head {
  background: linear-gradient(135deg, #802127 0%, #58161a 100%);
  /* .header is position:fixed (~99px), so clear it */
  padding: 128px 0 30px;
}

.inq-head-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.inq-head-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

h1.inq-head-title {
  font-family: 'cambriabold', 'Lora', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 8px;
}

.inq-head-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
}

.inq-head-right {
  text-align: right;
}

.inq-head-calllabel {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

a.inq-head-phone {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}

a.inq-head-phone:hover {
  color: #fff;
  text-decoration: underline;
}

.inq-section {
  padding: 32px 0 70px;
}

.inq-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e2e2;
  padding: 34px 38px 38px;
}

/* honeypot - must never be visible to a human */
.inq-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inq-row {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
}

.inq-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.inq-field.inq-full {
  flex-basis: 100%;
}

.inq-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3d3330;
  margin-bottom: 7px;
}

.inq-req {
  color: #bb2828;
}

.inq-opt {
  font-weight: 400;
  color: #8a7f7c;
}

.inq-field input,
.inq-field select,
.inq-field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #2b2422;
  background: #fdfcfc;
  border: 1px solid #d8cfcf;
  border-radius: 0;
  padding: 11px 13px;
  width: 100%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.inq-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23802127' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px;
  padding-right: 36px;
}

.inq-field textarea {
  resize: vertical;
  min-height: 110px;
}

.inq-field input:focus,
.inq-field select:focus,
.inq-field textarea:focus {
  outline: none;
  border-color: #802127;
  background: #fff;
}

.inq-field input.inq-invalid,
.inq-field select.inq-invalid {
  border-color: #bb2828;
  background: #fdf6f6;
}

.inq-err {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #bb2828;
  margin-top: 5px;
  min-height: 1px;
}

.inq-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.inq-submit {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #802127;
  color: #fff;
  border: none;
  padding: 13px 38px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.inq-submit:hover:not(:disabled) {
  background-color: #bb2828;
}

.inq-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inq-note {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #8a7f7c;
}

.inq-status {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-top: 18px;
  min-height: 1px;
}

.inq-status.inq-failed {
  color: #bb2828;
}

/* thank-you panel */
.inq-thanks {
  text-align: center;
  padding: 30px 10px 10px;
}

.inq-thanks-mark {
  font-size: 42px;
  line-height: 1;
  color: #802127;
  margin-bottom: 18px;
}

.inq-thanks-head {
  font-family: 'cambriabold', 'Lora', serif;
  font-size: 28px;
  color: #58161a;
  margin-bottom: 12px;
}

.inq-thanks-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #4a403d;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.inq-thanks-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #802127;
  color: #fff;
  padding: 11px 32px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.inq-thanks-btn:hover {
  background-color: #bb2828;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .inq-head {
    padding: 118px 0 22px;
  }
  .inq-head-inner {
    display: block;
  }
  h1.inq-head-title {
    font-size: 26px;
  }
  .inq-head-sub {
    font-size: 13.5px;
  }
  .inq-head-right {
    text-align: left;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  a.inq-head-phone {
    display: inline-block;
    margin-right: 16px;
    font-size: 15px;
  }
  .inq-section {
    padding: 22px 0 46px;
  }
  .inq-wrap {
    padding: 26px 20px;
  }
  .inq-row {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 22px;
  }
  .inq-actions {
    gap: 14px;
  }
  .inq-submit {
    width: 100%;
  }
  .inq-thanks-head {
    font-size: 23px;
  }
}

.inq-captcha {
  margin-top: 26px;
  max-width: 430px;
}

.inq-captcha > label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3d3330;
  margin-bottom: 7px;
}

.inq-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.inq-captcha-row input {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2b2422;
  background: #fdfcfc;
  border: 1px solid #d8cfcf;
  border-radius: 0;
  padding: 11px 13px;
  flex: 1 1 auto;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.inq-captcha-row input::placeholder {
  letter-spacing: 0;
  text-transform: none;
}

.inq-captcha-row input:focus {
  outline: none;
  border-color: #802127;
  background: #fff;
}

.inq-captcha-row input.inq-invalid {
  border-color: #bb2828;
  background: #fdf6f6;
}

.inq-captcha-img {
  flex: 0 0 auto;
  width: 190px;
  height: 58px;
  border: 1px solid #d8cfcf;
  background: #f4f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.inq-captcha-img svg {
  display: block;
}

.inq-captcha-loading {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #8a7f7c;
}

.inq-captcha-refresh {
  flex: 0 0 auto;
  width: 44px;
  font-size: 20px;
  line-height: 1;
  color: #802127;
  background: #fdfcfc;
  border: 1px solid #d8cfcf;
  cursor: pointer;
  transition: all 0.2s ease;
}

.inq-captcha-refresh:hover {
  background: #802127;
  color: #fff;
  border-color: #802127;
}

@media (max-width: 575px) {
  .inq-captcha {
    max-width: none;
  }
  .inq-captcha-row {
    flex-wrap: wrap;
  }
  .inq-captcha-row input {
    order: 3;
    flex-basis: 100%;
  }
  .inq-captcha-img {
    order: 1;
  }
  .inq-captcha-refresh {
    order: 2;
    height: 58px;
  }
}

/* enquiry call-to-action panel (replaces the old embedded form) */
.inqcta {
  background: #fff;
  border: 1px solid #e8e2e2;
  border-top: 4px solid #802127;
  padding: 48px 36px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inqcta-head {
  font-family: 'cambriabold', 'Lora', serif;
  font-size: 30px;
  color: #58161a;
  margin-bottom: 16px;
}

.inqcta-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #4a403d;
  max-width: 420px;
  margin-bottom: 30px;
}

.inqcta-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #802127;
  color: #fff;
  padding: 13px 40px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.inqcta-btn:hover {
  background-color: #bb2828;
  color: #fff;
  text-decoration: none;
}

.inqcta-or {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #8a7f7c;
  margin: 26px 0 8px;
}

.inqcta-phones {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.inqcta-phones a {
  color: #802127;
  text-decoration: none;
}

.inqcta-phones a:hover {
  text-decoration: underline;
}

.inqcta-phones span {
  color: #8a7f7c;
  margin-right: 4px;
}

@media (max-width: 767px) {
  .inqcta {
    padding: 36px 22px;
  }
  .inqcta-head {
    font-size: 24px;
  }
}

/* the old form slot was sized for an 980px iframe */
.d_flexformwithcontent .iframeform-cta {
  height: auto;
  background-color: transparent;
}
