/* ------------ Variables ------------- */
:root {
  --theme-color: #003f5f;
  --theme-secondary-color: #6cb33f;
  --theme-tertiary-color:  #f4ede1;
  --theme-text-color: #878787;
  --theme-font: 'OpenSans';
  --theme-heading-font: 'CormorantRegular';
  --theme-smaller-heading-font: 'OpenSans';
  --theme-light-bage: #f9f6f0;
}

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

.menu.main a {
  color: var(--theme-color);
  font-family: OpenSans;
  font-size: 1.1rem;
  text-transform: capitalize;
}
.menu.main a.is-active {
  border-bottom: 2px solid;
  border-bottom-color: var(--theme-secondary-color);
}
.menu.main a:hover {
  color: var(--theme-secondary-color);
  transition: color 0.5;
  border-bottom: 2px solid #6cb33f;
}

h1 {
  font-weight: 400;
}

.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: #000000;
  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-secondary-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 0 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);
}
.site-footer a:not(.button):hover {
  text-decoration: underline;
}

/* ---------- 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-color);
}
.event.node.teaser a:hover {
 color: var(--theme-secondary-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;
  }
  .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: 180px;
    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;
  }
}