/* Focused French homepage refresh. Keeps the legacy theme intact. */

#header.show-for-medium-up {
  background: #252525;
  border-bottom: 1px solid #171717;
  min-height: 78px;
  padding: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
}

#header.show-for-medium-up .container {
  display: flex;
  align-items: center;
  min-height: 78px;
}

#logo {
  display: flex;
  align-items: center;
  float: none;
  line-height: 0;
  margin: 0;
}

#logo img {
  display: block;
  height: 54px;
  width: 155px;
}

#nav {
  display: flex;
  align-items: center;
  float: none;
  margin: 0 0 0 auto;
}

#nav li {
  float: none;
  font-size: 14px;
}

#nav li a {
  color: #b7bcc1;
  display: block;
  line-height: 20px;
  padding: 29px 12px;
  text-shadow: none;
  white-space: nowrap;
}

#nav li a:hover,
#nav li.active a,
#nav li.hover a {
  color: #fff;
}

#nav li.active a:after,
#nav li.hover a:after,
#nav ul li.active a:after {
  bottom: -14px;
}

#header .social-links {
  align-items: center;
  border-left: 1px solid #4b4b4b;
  display: flex;
  float: none;
  height: 28px;
  margin: 0 0 0 14px;
  order: 3;
  padding: 0 0 0 13px;
}

#header .social-links li {
  margin: 0;
}

.subnav-background {
  top: 78px;
}

#content-main {
  margin-top: 0;
}

.slogan {
  font-size: 54px;
  line-height: 1.05;
  margin: 58px 0 14px;
}

.homepage-hero-intro {
  color: #6f7479;
  font: 16px/1.7 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  margin: 0 auto 42px;
  max-width: 760px;
  text-align: center;
}

.homepage-hero-intro p {
  margin: 0 auto 20px;
}

.homepage-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.homepage-hero-actions a {
  border: 1px solid #d7d9dd;
  color: #4c4f55;
  display: inline-block;
  font: 700 12px/1 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  padding: 13px 18px;
  text-shadow: none;
}

.homepage-hero-actions a:first-child {
  background: #ff9900;
  border-color: #ff9900;
  color: #fff;
}

.homepage-hero-actions a:hover {
  border-color: #4c4f55;
  color: #26272a;
}

.homepage-hero-actions a:first-child:hover {
  background: #e58a00;
  border-color: #e58a00;
  color: #fff;
}

.projects-slider-container {
  margin: 22px auto 54px;
}

.projects-slider-gallery {
  height: 660px;
  margin-bottom: 24px;
}

.projects-slider-gallery li a {
  box-shadow: 0 16px 36px rgba(39, 39, 39, .08);
}

.section-title {
  margin-bottom: 24px;
}

.blog-posts li h2 {
  color: #4c4f55;
  font-size: 19px;
  line-height: 1.3;
}

.blog-posts li .meta,
.blog-posts li .meta a {
  color: #9aa1a7;
}

.blog-posts li .read-more {
  visibility: visible;
}

@media only screen and (max-width: 64em) {
  #header.show-for-medium-up .container {
    box-sizing: border-box;
    padding: 0 18px;
  }

  #logo img {
    height: 48px;
    width: 138px;
  }

  #nav li {
    font-size: 12px;
  }

  #nav li a {
    padding-left: 7px;
    padding-right: 7px;
  }

  .slogan {
    font-size: 45px;
  }
}

@media only screen and (max-width: 48em) {
  #header.show-for-medium-up {
    display: none !important;
  }

  .contain-to-grid.show-for-small-only {
    display: block !important;
  }
}

@media only screen and (max-width: 40em) {
  .slogan {
    font-size: 35px;
    line-height: 1.15;
    margin: 40px 0 16px;
  }

  .homepage-hero-intro {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 0 12px;
  }

  .homepage-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .homepage-hero-actions a {
    text-align: center;
  }

  .projects-slider-gallery {
    height: auto;
  }
}
