/* ------------ Variables ------------- */
:root {
  --theme-color: #063A6A;
  --theme-secondary-color: #C09100;
  --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 {
  margin: 15px 30px;
  max-width: 225px;
  width: 100%;
}
@media screen and (max-width: 1240px) {
  #logo img {
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  #logo {
    text-align: center;
  }
  #logo img {
    max-width: 275px;
  }
}
@media screen and (max-width: 400px) {
  #logo img {
    margin: 0;
  }
}

#primary_menu {
  padding-top: 5rem;
}
.menu.main a {
  color: var(--theme-color);
  font-family: var(--theme-heading-font);
  font-size: 2rem;
  text-transform: capitalize;
}
.menu.main a.is-active {
  border-bottom: 1px solid;
  border-bottom-color: var(--theme-secondary-color);
}
.menu.main a:hover {
  color: var(--theme-secondary-color);
  transition: color 0.5;
}

@media screen and (max-width: 1023px) {
  #primary_menu {
    padding-top: 1.5rem;
  }
  .menu.main a {
    font-size: 1.15rem;
    padding: 0.7rem 0;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1440px)  {
    #primary_menu {
      padding-top: 4.5rem;
    }
    .menu.main a {
      font-size: 1.15rem;
      padding: 0.7rem 0;
    }
}
  


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

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