@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;700&family=Inter:opsz,wght@14..32,700&display=swap');

body { padding-top: 64px; }

h1, h2, h3, p, li { font-family: 'Gabarito', sans-serif; }
h1, h2, h3 { color: #675b8d; font-size: 2.5rem; margin: 3rem 0 2rem 0; text-align: center;}
h3 { font-size: 2rem; margin: 2rem 0 1.6rem 0 }

ol { padding-left: 3rem; }

p, li, .alert {
  font-size: 26px;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

p, .alert { margin-top: 1.5rem; }

label {
  font-size: 20px;
  margin-bottom: 0.5rem;
  margin-top: 1.4rem;
}

h2 a, p a, li a, small a, .alert a {
  border-bottom: 1px dashed #675b8d;
  color: #675b8d;
  text-decoration: none;
}

ul.small-margin li { margin-top: 0; margin-bottom: 0.3rem; }

.purple { color: #675b8d; }

@media (max-width: 768px) {
  p, label, li, .alert {
    font-size: 20px;
    line-height: 28px;
  }

  label, .navbar li {
    font-size: 18px;
  }
}

.small, small { font-size: 1.2rem; display: inline-block; margin: 0; }

.footer, .navbar { background-color: #675b8d; }

.navbar .navbar-brand { color: #fff; font-size: 22px; line-height: 3rem; }
.navbar .navbar-toggler span { color: #fff; }
.navbar { transition: box-shadow 0.3s ease; }
.navbar.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.navbar li { font-size: 22px; margin: unset; }
.navbar li a { color: #675b8d; border-bottom: none; border-left: 3px solid transparent; padding-left: 0.75rem; transition: background-color 0.18s ease, border-left-color 0.18s ease, color 0.18s ease; }
.navbar li a:hover { color: #675b8d; background-color: rgba(103, 91, 141, 0.08); border-bottom: none; border-left-color: #675b8d; }
.navbar li a.active { color: #675b8d; font-weight: 600; border-left-color: #675b8d; background-color: rgba(103, 91, 141, 0.12); }
.navbar i.fa-fw { margin-right: 20px; }
.navbar .nav-divider { padding: 0; }
.navbar .nav-divider hr { border-top: 1px solid #e0daea; margin: 0.5rem 0.75rem; width: auto; opacity: 1; }

.navbar .custom-toggler { background-color: transparent; border: 2px solid white; border-radius: 4px; color: white; padding: 8px; }
.navbar .custom-toggler:focus { outline: none; box-shadow: 0 0 5px rgba(255, 255, 255, 0.75); }
.navbar .custom-toggler i { font-size: 1.5rem; }

@media (hover: hover) {
  .navbar .custom-toggler:hover { background-color: rgba(255, 255, 255, 0.1); }
}

hr { display: block; height: 1px; border: 0; border-top: 2px solid #675b8d; margin: 1rem auto 3rem auto; opacity: 1; width: 80px; }

.footer { padding-bottom: 3rem; padding-top: 2rem; }
.footer a, .footer a:hover, .footer a:visited { color: #fff; }
.footer div.email, .footer div.social-media { text-align: center; }
.footer div.email a { font-size: 56px; text-decoration: none; }
.footer div.social-media a { font-size: 68px; margin-left: 2rem; margin-right: 2rem; }
.footer label, .footer p, .footer small  { color: #fff; }
.footer label a, .footer p a, .footer small a { border-bottom: 1px dashed #fff; }

/* Forms */
label .fad, label .fas { margin-right: 14px; }
.character-count { display: block; margin-top: 0.3rem; text-align: right; }

/* Buttons */
.btn i { margin-right: 14px; }
.btn-primary { background-color: #675b8d; border-color: #675b8d; color: #fff; font-size: 1.6rem; margin-bottom: 2rem; margin-top: 2.4rem; }

#divSignUpResult, #divSubmitEvidenceResult { display: none; margin-top: 3rem; }
#divSignUpResult i.fad, #divSubmitEvidenceResult i.fad { font-size: 10rem; margin-bottom: 2rem; }
#divSignUpResult.success i, #divSubmitEvidenceResult.success i { color: #37d51f; }
#divSignUpResult.failure i, #divSubmitEvidenceResult.failure i { color: #f13f3f; }

/* Alerts */
.alert { text-align: center; }
.alert .fa-duotone { margin-right: 0.6rem; }
.alert-info { background-color: #eeeafb; border: 1px solid #675b8d;  }

/* Cards */
.card-text { font-size: 1.2rem; }
.card-footer .btn { font-size: 1rem; margin-top: 0.4rem; margin-bottom: 0.4rem; }

/* Modals */
.modal-success, .modal-failure { padding: 20px; text-align: center; }
.modal-success i.fad, .modal-failure i.fad { font-size: 14rem; margin-bottom: 24px; }
.modal-success h1, .modal-failure h1 {	font-size: 3rem; margin-bottom: 24px; }
.modal .close { border: none; background-color: #fff; }
.modal li { font-size: 20px; margin: 0 0 0.5rem 0; }
.modal ol { margin-top: 0.5rem; }
.modal-success i.fad { color: #37d51f; }
.modal-failure i.fad { color: #f13f3f; }

/* Call For Evidence */
.evidence p { font-size: 22px; margin-bottom: 0.8rem; margin-top: 0.8rem; }

@media (max-width: 991px) {
  .btn-primary { font-size: 1.2rem; margin-bottom: 0.9rem; margin-top: 0.9rem; }
  h1, h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  .footer div.email a { font-size: 36px; }
  .footer div.social-media a { font-size: 48px; margin-left: 1.5rem; margin-right: 1.5rem; }
}

@media (max-width: 767px) {
  .footer div.social-media a { font-size: 38px; margin-left: 1.2rem; margin-right: 1.2rem; }
}

/* Innovate Access */
.headshots .card img {
  height: 400px; object-fit: cover;
}

.portfolio .card img {
    height: 150px; background: #e9ecef; object-fit: cover;
}

/* Blog */
.updates .author-name, .updates .update-date, .updates .small i { color: #675b8d; font-weight: normal; }
.updates .small i { margin-right: 0.4rem; }
.updates .card { cursor: pointer; }

/* News */
.press .bg-primary { background-color: #675b8d !important; }

/* Lilac Centre */
.lilac-header-text, .lilac-subheader-text { color: #ffffff; font-family: 'Inter', Helvetica, Arial, sans-serif; font-size: 4.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0rem 1rem 0rem 1rem; }
.lilac-subheader-text { font-size: 3rem; }
.lilac .card-body { background-color: #e5e1f2; }
.lilac .card-title { margin-bottom: 0rem; }

#offcanvasNavbar { width: 540px; }

@media (max-width: 991px) {
  .lilac-header-text { font-size: 3.5rem; }
  .lilac-subheader-text { font-size: 2rem; }
}

@media (max-width: 767px) {
  .lilac-header-text { font-size: 2.5rem; }
  .lilac-subheader-text { font-size: 1.5rem; }
}

@media (max-width: 576px) {
  .lilac-header-text { font-size: 2rem; }
  .lilac-subheader-text { font-size: 1rem; }
  #offcanvasNavbar { width: 100%; }
}

@media (min-width: 768px) {
  .events h5 { display: flex; min-height: 3rem; }
}

/* Events / Advisory Board - Scroll animation */
.events .col,
.advisory-board .col {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.events .col.visible,
.advisory-board .col.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .events .col,
  .advisory-board .col {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
