/* ------------ Variables ------------- */
:root {
  --theme-color: #166600;
  --theme-secondary-color: #063A6A;
  --theme-tertiary-color:  #0959A1;
  --theme-text-color: #000000;
  --theme-font: 'LatoRegular';
  --theme-heading-font: 'Prata';
}

.white-to-grey {
  background: linear-gradient(#FFF, #DADADA);
}

#logo img {
  max-width: 180px;
  width: 100%;
  position: absolute;
}

.menu.main a, ul.sf-menu a {
  color: var(--theme-secondary-color);
  font-family: var(--theme-heading-font);
  font-size: 1.8rem;
  text-transform: capitalize;
}
.menu.main a.is-active, ul.sf-menu a.is-active {
  border-bottom: 2px solid;
  border-bottom-color: var(--theme-secondary-color);
}
.menu.main a:hover, ul.sf-menu a:hover {
  color: var(--theme-text-color);
  transition: color 0.5;
}

h1 {
  font-weight: 900;
}

h1:after {
  content: '';
  display: block;
  height: 8px;
  width: 20%;
  margin: 1rem auto 3rem;
  background-color: var(--theme-secondary-color);
}

.flexslider {
  margin: 0;
  border: 0;
}
.flex-control-nav {
  z-index: 100;
  bottom: 1.5rem;
}
.flex-control-nav li {
  margin: 0.1rem;
}
.flex-control-paging li a {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #FFF;
}
.flex-control-paging li a.flex-active {
  background: #FFF;
}

.project.node.teaser .node-title {
  text-align: center;
}
.project.node.teaser .node-title a {
  color: var(--theme-secondary-color);
  font-family: var(--theme-heading-font);
  font-size: 2rem;
  font-weight: bold;
  transition: all 0.5s;
}
.project.node.teaser .node-title a:hover {
  color: var(--theme-text-color);
  transition: all 0.5s;
}
.project.node.teaser .node-title a:before {
  content: '';
  display: block;
  height: 8px;
  width: 40%;
  margin: 0.75rem auto;
  background-color: var(--theme-secondary-color);
}

.bigbox.columns:nth-of-type(odd) {
  padding: 0 3rem 0 0;
  clear: left;
}
.bigbox.columns:nth-of-type(even) {
  padding: 0 3rem 0 3rem;
  clear: right;
}
.bigbox {
  margin: 3rem 0;
}
.bigbox .teaser {
  padding: 2rem 2rem 3rem;
  box-shadow: 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(255 255 255 / 10%) inset;
}
.bigbox h2 {
  margin-left: -1rem;
  margin-bottom: 2rem;
}

.site-footer {
  padding: 3rem 0 1rem;
  border: 0.3rem solid #DADADA;
}
.site-footer h2 {
  margin-bottom: 2rem;
}
.site-footer a:not(.button) {
  color: var(--theme-tertiary-color);
}

/* ---------- Secondary Content ----------- */
#bottom_content h2 {
  font-size: 2.4em;
  text-align: center;
}
#bottom_content h2:after {
  content: '';
  display: block;
  height: 8px;
  width: 16%;
  margin: 1rem auto 3rem;
  background-color: var(--theme-secondary-color);
}

/* --------------- Events ----------------- */
.date-time {
  font-size: 0.9em;
}
.event.node.teaser a {
  color: var(--theme-secondary-color);
}
.event.node.teaser a:hover {
 color: var(--theme-text-color);
}

.event.node h3 {
  text-align: center;
}
.event.node {
  text-align: center;
}

@media screen and (max-width: 1440px) {
  #primary_menu {
    padding: 36px 0 36px 16%;
  }

  .menu.main a {
    font-size: 1.2rem;
    padding: 0.7rem 0;
  }
}

@media screen and (max-width: 1024px) {
  #bottom_content h2 {
    font-size: 2.2em;
  }
  #primary_menu {
    padding: 36px 0 36px 24%;
  }
  .bigbox.columns:nth-of-type(odd) {
    padding: 0 0.5rem;
  }
  .bigbox.columns:nth-of-type(even) {
    padding: 0 0.5rem;
  }
  .project.node.teaser .node-title a {
    font-size: 1.8rem;
  }
  .flex-control-nav {
    bottom: 1rem;
  }
  .flex-control-paging li a {
    width: 4vw;
    height: 4vw;
  }
}

@media screen and (max-width: 640px) {
  #bottom_content h2 {
    font-size: 2em;
  }
  #logo {
    text-align: center;
  }
  #logo img {
    max-width: 116px;
    position: relative;
  }
  .front #banner {
    margin-top: 0;
  }
  .project.node.teaser {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .project.node.teaser .field-highlighted-image {
    text-align: center;
  }
  .project.node.teaser .node-title a {
    font-size: 1.6rem;
  }
  .flex-control-nav {
    bottom: 0.5rem;
  }
}

@media screen and (max-width: 400px) {
  #logo img {
    margin: 0;
  }
}