/* new header */
.site-header * {
  list-style: none;
}

.site-header.row::before,
.site-header.row::after {
  display: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header > * {
  width: calc(100% / 2);
}

.site-header__logo {
  width: 40%;
  max-width: 150px;
  margin: 0;
}

.site-header >  nav {
  width: 40%;
}

.main-nav > ul {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.main-nav li {
  position: relative;
}


.site-header__sub-nav li {
  margin: 0 !important;
}

.nav-cate {
  display: block;
  width: 100%;
}

.has-sub-nav {
  position: relative;
  }

.has-sub-nav > a {
  position: relative;
  z-index: 1000;
  cursor: default;

}

.site-header__sub-nav {
  position: absolute;
  top: 40px;
  right: -100px;
  width: 550px;
  background: #F1F1F1;
  border-top: 2px solid #999;
  display: none;
  /* display: flex; */
  justify-content: space-between;
  text-align: left;
  padding: 30px 20px;
  z-index: 100;
}

.site-header__sub-nav.is-opened {
  display: flex;
}

.site-header__sub-nav ul {
  margin-left: 0;
}

.site-header__title {
  font-weight: 400;
  font-family: oswald;
  text-transform: uppercase;
}

.site-header__sub-nav ul a {
  text-transform: initial;
  font-family: 'Open Sans';
}


@media (max-width: 767px) {

  .site-header__sub-nav {
    position: static;
    width: 100%;
    flex-direction: column;
  }

  .site-header__sub-nav > * {
    margin-bottom: 1rem;
  }

  .has-sub-nav::after {
    content: '▲';
    transform: rotate(180deg);
    display: inline-block;
    position: absolute;
    right: -20px;
  }

  .has-sub-nav.is-active::after {
    transform: rotate(0);
    top: 0;
  }
  .has-sub-nav::after {
    top: 0;
    right: 0;
  }

  /* .main-nav > ul > li:hover .site-header__sub-nav { */
  /*   display: none; */
  /* } */


}

@media (min-width: 768px) {

  .main-nav > ul > li.has-sub-nav:hover::before {
    content: '';
    position: absolute;
    height: 10px;
    width: 100%;
    padding: 20px;
    background: transparent;
    display: block;
    left: 0;
  }

  .main-nav > ul > li.has-sub-nav:hover::after {
    content: '';
    position: absolute;
    height: 10px;
    width: 1px;
    background: #999;
    display: block;
    left: 50%;
  }

  .main-nav > ul > li:hover .site-header__sub-nav {
    display: flex;
  }


}

/* new homepage */

/* hero */
  .hero {
    background-size: cover;
    background-position: center;
    height: 70vh;
    max-height: 600px;
    margin: 0 1rem;
    position: relative;
  }

  .hero::after {
    content: '';
    background: linear-gradient(45deg, #000,transparent, transparent, transparent);
    opacity: .9;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .hero__text {
    width: 50%;
    max-width: 500px;
    text-align: left;
    position: relative;
    top: 80%;
    left: 4rem;
    transform: translateY(-50%);
    z-index: 10;
  }

  .hero__text h1 {
    font-size: 2.2rem;
  }

  .hero__text h1,
  .hero__text a:visited,
  .hero__text p {
    color: #fff;
  }

  .btn--primary {
    box-sizing: border-box;
    font-size: .8rem;
    color: #fff;
    background: #000;
    padding: .5rem 1.5rem;
    margin: .5rem 0;
    display: inline-block;
    text-decoration: none;
    transition: .3s ease-in-out;
  }

  .btn--primary:hover {
    background: #333;
    color: #fff;
  }

  a.btn--primary:visited {
    color: #fff !important;
  }


  .hero .btn--primary {
    margin: .5rem;
  }

  .hero--category {
    position: relative;
    height: 50vh;
    margin-bottom: 4rem;
  }

  .hero--category .hero__text {
    bottom: 0;
    transform: none;
    position: absolute;
  }

  article.service h2 {
    font-size: 1.5rem;
  }

  article.service:last-of-type + hr {
    display: none;
  }

  .list-service {
    margin-bottom: 4rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  @media (max-width: 767px) {

    .hero__text {
      width: 100%;
      padding: 1rem;
      top: 80%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .hero--category {
      position: relative;
      height: 50vh;
      margin-left: 1rem !important;
      margin-right: 1rem !important;
      margin-bottom: 4rem !important;
    }

    .hero--category .hero__text {
      top: initial;
      left: 0;
    }

  }


  /* list of cta */
  .list-cta {
    padding-top: 6rem;
    margin: 0 1rem;

  }

  .list-cta > * {
    margin-bottom: 2rem;
  }

  .media-object {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6rem !important;
  }

  .list-cta .media-object:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .media-object a {
    color: #fff;
  }

  .media-object img {
    width: 100%;
  }

  .media-object > * {
    width: calc(100% / 2 - 4rem);
  }

  .media-object__img {
    margin: 0;
  }

  .media-object__text {
    text-align: left;
  }

  .media-object h2 {
    font-size: 1.5rem;
  }

  .media-object p {
    font-size: 1rem;
  }

  .media-object--bottom-cta {
    flex-direction: row-reverse;
    margin-bottom: 0 !important;
  }

  .banner-wrapper {
    background: #E9E0CE;
    padding: 4rem 0;
  }

  @media (max-width: 767px) {

    .list-cta,
    .hero {
      margin: auto 2rem;
    }

    .list-cta .media-object:nth-child(odd),
    .media-object {
      flex-direction: column-reverse;
    }

    .media-object > * {
      width: 100%;
    }

    .media-object__text {
      margin-bottom: 1rem;
    }

    .media-object--bottom-cta {
      margin-left: 1rem !important;
      margin-right: 1rem !important;
    }

  }

/* cta banner */
  .cta-banner {
    background: #F4F3F5;
    padding: 4rem;
  }

  .cta-banner a {
    color: #fff;
  }

  .cta-banner h2 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  /* logo wall */
  .logo-wall {
    padding: 0 2.5rem 2.5rem 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-wall__logo {
    max-width: 150px;
    max-height: 60px;
    /* margin: 10px; */
  }

  .bgFonce .infolettre {
    height: 25% !important;
  }

@media (max-width: 767px) {

  .logo-wall {
    flex-wrap: wrap;
  }

}



.single-content {
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 2rem;

  @media (max-width: 767px) {

  }
}
