#header {
  position: relative;
  z-index: 10;
}
#header #logo {
  float: left;
}
#header #logo img {
  vertical-align: bottom;
  max-width: 466px;
  border-bottom-right-radius: 18px;
  box-shadow: 2px 2px #d9d9d9;
}

/** Service client */
#header #service-client {
  position: absolute;
  top: 21px;
  right: 53px;
  color: #495258;
  font-family: Montserrat;
  text-transform: uppercase;
  font-size: 16px;
}
#header #service-client a {
  font-family: MontserratBold;
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 340px) {
  #header #service-client a {
    /*font-size: 14px;*/
  }
}
@media screen and (min-width: 700px) {
  #header #service-client a:before {
    content: url('/sites/lextenso/themes/lextenso/images/phone-round.png');
    position: absolute;
    left: -40px;
    top: 5px;
  }
}

#header .region-header {
  padding-top: 52px;
  padding-bottom: 9px;
  float: none;
  width: auto;
  clear: both;
}

.front.not-logged-in #header .region-header.search-open {
  padding-top: 52px;
}
.js-sticky #header {
  position: fixed;
  /*left: 50%;*/
  /*margin-left: -706px;*/
  top: 0;
  animation: headerSlideIn 0.3s 0s ease-out forwards;
  padding-bottom: 5px;
}

.js-sticky #header #logo {
  margin-top: 15px;
}

.algolia-search-filters-mobile.js-sticky #header #logo {
  margin-top: 0;
}

@media (min-width: 1412px) {
  .js-sticky #header {
    width: 1412px !important;
  }
}
.js-sticky #header:before {
  display: none;
}
.js-sticky #header .region-header {
  float: left;
  width: 768px;
  clear: none;
}
.js-sticky #header #header-bottom-content, .js-sticky #header #algolia-open-advanced-filters-container,
.js-sticky #header .reset-search, .js-sticky #header #algolia-current-type-filters {
  display: none;
}
.js-sticky #header #logo {
  float: left;
  margin-right: 50px;
}
.js-sticky #header #logo img {
  max-width: 276px;
  max-height: 63px;
}
.js-sticky #header .scrollgress {
  display: block;
  position: absolute !important;
  top: auto !important;
  bottom: 0;
  background: #e5e5e5 !important;
}
.js-sticky #header .region-header {
  padding-top: 15px;
  padding-bottom: 6px;
}
body.algolia-search #header, #header {
  background: #e3e1d8;
  box-shadow: inset 0px -26px 15px -25px rgba(0, 0, 0, 0.2);
}


@media screen and (max-width: 1412px) {
  .js-sticky #header,
  .js-sticky #page.with-sidebar #header {
    /*  width: 100%;*/
    /*  left: 0;*/
    /*  margin-left: 0;*/
  }

  .js-sticky #header .region-header {
    /*  width: calc(100% - 600px);*/
  }
}
@media screen and (max-width: 1280px) {
  #header #service-client {
    right: 18px;
  }

  .js-sticky #header .region-header {
    /*width: calc(100% - 540px);*/
  }

  .js-sticky #header #logo {
    /*margin-right: 18px;*/
  }
}
@media screen and (max-width: 767px) {
  .js-sticky #header #service-client {
    /*  top : 5px;*/
  }
  #header #service-client {
    /*  padding-left: 0;*/
  }

  #header #service-client a::before {
    /*  display: none;*/
  }

  #header .region-header {
    /*padding-bottom: 25px;*/
  }

  #header .region-header,
  .front.not-logged-in #header .region-header {
    /*  padding-top: 34px;*/
  }

  .js-sticky #header .region-header, .js-sticky.front #header .region-header,
  .js-sticky.front.not-logged-in #header .region-header.search-open {
    /*  padding-top: 18px;*/
  }

  .js-sticky #header .region-header {
    /*  clear: both;*/
      max-width: 100%;
    /*  float: none;*/
  }
}


@media screen and (max-width: 650px) {
  #header #logo{
  /*  width: 68%;*/
  }
  #header #logo img{
    width: 65%;
  }
}
@media screen and (max-width: 550px) {
  #header #service-client {
    top: 8px;
    right: 20px;
  }
  #header #service-client span {
    font-size: 14px;
  }

  #header #service-client a {
    letter-spacing: 0;
  }
}
@media screen and (max-width: 450px) {
  #header #service-client {
    top: 4px;
    right: 1px;
    line-height: 13px;
  }
  #header #service-client span {
    font-size: 10px;
  }

  #header #service-client a {
    font-size: 11px;
  }
}
