/* Shared French desktop refresh. Scope stays inside /fr/ pages that include it. */

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

#header .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;
}

#blog .blog-posts {
  margin: 0;
}

#blog .blog-posts li,
#blog .blog-posts li:nth-child(3n+1) {
  box-sizing: border-box;
  float: left;
  margin: 0;
  padding: 0 15px 10px;
  width: 33.333%;
}

#blog .blog-posts li img {
  box-sizing: border-box;
  margin-bottom: 30px;
  width: 100%;
}

#blog .page-header .page-title {
  float: none;
  width: 100%;
}

#blog .page-intro-cta {
  clear: both;
  color: #4c4f55;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 35px;
  max-width: 760px;
}

#blog .page-intro-cta .cta-button {
  background: #f29d1f;
  color: #fff;
  display: inline-block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  padding: 10px 18px;
  text-decoration: none;
}

#blog .page-intro-cta .cta-button:hover {
  background: #d98712;
  color: #fff;
}

@media only screen and (min-width: 64.063em) {
  .container,
  .projects-slider-container {
    width: 940px;
  }
}

@media only screen and (max-width: 64em) {
  #header .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;
  }

  #blog .blog-posts li,
  #blog .blog-posts li:nth-child(3n+1) {
    margin: 0;
    padding: 0 15px 10px;
    width: 33.333%;
  }
}

@media only screen and (max-width: 40em) {
  #blog .blog-posts li,
  #blog .blog-posts li:nth-child(3n+1) {
    padding: 0;
    width: 100%;
  }
}
