:root {
  --footer-height: 200px;
}

.app {
  position: relative;
  min-height: 100vh;
}

.content {
  padding-bottom: var(--footer-height);
  overflow: hidden;
}

html,
body {
  font-family: "Roboto", sans-serif;
}

img {
  max-width: 100%;
}

h1 {
  font-size: 2rem;
  font-family: "Open Sans Condensed", sans-serif;
  color: #28166f;
}

h2 {
  font-family: "Open Sans Condensed", sans-serif;
  color: #28166f !important;
}

.text-blue {
  color: #28166f !important;
}

.text-orange {
  color: #e77817 !important;
}

.text-black {
  color: #000000 !important;
}

.bg-blue {
  background-color: #28166f;
}

.btn-default {
  background: #e77817;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4em;
}

@media (min-width: 992px) {
  .main-image {
    position: relative;
    top: -7rem;
  }
}

.border-radius-50 {
  border-radius: 50%;
}

/* Navigation */
.navigation {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100vw;
  background: #fff;
  font-family: "Open Sans Condensed", sans-serif;
  overflow: hidden;
}

.navigation .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navigation .brand img {
  max-width: 100px;
}

.navigation .brand .toggle {
  width: 3rem;
  text-align: center;
  border: 1px solid;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

.navigation .menu-list {
  height: 0;
}

.navigation .menu-list.active {
  height: auto;
  padding: 1rem 0;
}

.navigation .menu-list .menu-item {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  color: #28166f;
  padding: 0.5rem 0;
}

.navigation .menu-list .menu-item.orange {
  color: #e77817;
}

@media (min-width: 992px) {
  .navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navigation .brand {
    display: block;
    padding: 0;
  }

  .navigation .brand .toggle {
    display: none;
  }

  .navigation .menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .navigation .menu-list .menu-item {
    padding: 1rem 1rem;
  }

  .navigation .menu-list .menu-item:hover {
    background: rgba(167, 171, 230, 0.3);
    text-decoration: none;
  }
}

/* Home */
.hero-unit {
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 32rem;
  color: #fff;
}
/* Page Header */
.page-header {
  background: #28166f;
  height: 20rem;
  font-family: "Open Sans Condensed", sans-serif;
  color: #fff;
}

.slogan-hero h1,
.slogan-hero h2,
.slogan-hero h3,
.slogan-hero h4,
.slogan-hero h5,
.slogan-hero h6,
.slogan-hero p {
  color: #fff !important;
}

/* Focus Areas */
.focus-area-item,
.project-item {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.project-item p {
  font-size: 0.8rem;
}

/* Loader animation */
#loader {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2em;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ripple:before,
.lds-ripple:after {
  content: "";
  position: absolute;
  border: 4px solid #333;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple:after {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}

/* advisory council */
.advisory-council {
  display: inline-block;
  width: 5rem;
  border-radius: 50%;
  overflow: hidden;
}

/* 404 error page */
.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 50vw;
  align-items: center;
}

/* filter */
.filter {
  position: relative;
}

.filter .label:hover {
  cursor: pointer;
}

.filter .type-list {
  display: none;
  list-style-type: none;
}

.filter .type-list.active {
  position: absolute;
  top: 2.5rem;
  left: 2px;
  z-index: 1;
  display: block;
  background: #fff;
  min-width: 100%;
  border: 1px solid #aaa;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  padding: 0;
}

@media (min-width: 992px) {
  .filter .type-list.active {
    min-width: 14rem;
  }
}

.filter .type-list .type-item {
  padding: 0.5rem 1rem;
}

.filter .type-list .type-item:hover {
  background: #eee;
  cursor: pointer;
}

/* footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem 0;
  background: url("../images/footer-bg.jpg") no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: var(--footer-height);
}

.footer .container,
.footer .container .row {
  height: 100%;
}

.footer .logo {
  width: 7.8em;
  filter: grayscale(1) brightness(800%);
}

.footer .social .social-btn {
  width: 1.8em;
}

.footer .buttons .btn-default {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #e77817;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  color: #e77817;
  font-size: 1em;
}

.footer .privacy-policy {
  color: #fff;
  font-size: 0.8em;
}

.player-wrapper {
  position: relative;
  padding-top: 56.25%; /* Player ratio: 100 / (1280 / 720) */
}

.react-player-podcast {
  position: absolute;
  top: 0;
  left: 0;
}

.year-of-action-blog,
.event-resources {
  background: #ddd;
}

.year-of-action-blog::before,
.event-resources::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: -100vw;
  background: #ddd;
}

.content a {
  color: #28166f;
}
