/**
 * @file
 * Use this CSS file to override base CSS rules
 */

/* Set default font weight to 300 for better typography in high-density screens */
/*body {
  font-weight: 300;
}*/

/*** General ***/

/* Titres */

h1 {
  font-size: 3em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}

@media(max-width:575px) {
  h1 {
  font-size: 32px;

}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}


}

/* Paddings */


.padding-bottom-18 {
  padding-bottom: 18px;
}

.padding-bottom-10 {
  padding-bottom: 10px;
}

.padding-bottom-36 {
  padding-bottom: 36px;
}

.padding-bottom-48 {
  padding-bottom: 48px;
}

.padding-bottom-0 {
  padding-bottom: 0 !important;
}

.padding-top-36 {
  padding-top: 36px;
}

.padding-top-48 {
  padding-top: 48px;
}

.padding-top-18 {
  padding-top: 18px;
}

.padding-sides-10 {
  padding: 0 10px;
}

.padding-right-36 {
  padding-right: 36px;
}

.padding-left-36 {
  padding-left: 36px;
}

/* Margins */

.nomargin-top {
  margin-top: 0;
}

.nomargin {
  margin: 0;
}

.margin-top-18 {
  margin-top: 18px;
}

.margin-top-36 {
  margin-top: 36px;
}

.margin-left-32 {
  margin-left: 32px;
}

.margin-au {
  margin: auto;
}

/*Borders */

.border-bottom-grey {
  border-bottom: solid 1px #ddd;
}

.border-top-grey {
  border-top: solid 1px #ddd;
}

.border-right-grey {
  border-right: solid 1px #ddd;
}

/*Display */

.in-bl {
  display: inline-block;
}

.inl {
  display: inline;
}

.fl-center {
  display: flex;
  align-items: center
}

/* Positions */

.rel {
  position: relative;
}

/* Fonts */

body {
    font-size: 18px;
    line-height: 1.65;
    color: #333;
}

.font20 {
  font-size: 20px;
}

.font22 {
  font-size: 22px;
}

.font14 {
  font-size: 14px !important;
}

.font16 {
  font-size: 16px;
}

.normal {
  font-weight: 400;
}

.gras {
  font-weight: 800;
}

.caps {
  text-transform: uppercase;
}

.greytext {
  color:#777;
}

@media (max-width:991px) {
  body {
    font-size: 16px;
  }
}

/*Alignement*/

.textcenter {
  text-align: center;
}

.textend {
  text-align: right;
}

.justend {
  justify-content: flex-end;
}



/*** Header ***/

.header {
  position: absolute;
  width: 100%;
  top:0 !important;

}

.header.region--dark-background {
  background-color: transparent;
}

.sticky-wrapper {
  height: auto !important;
}

@media(max-width:1199px) {
  .onscroll .header.js-fixed.region--dark-background, .onscroll .region--dark-background .header.js-fixed {
    background-color: transparent !important;
}
.onscroll .header.js-fixed {
    position: absolute !important;
    top: 0;
    width: 100%;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
}

/*** Header ***/

/* Menu */

.block-superfish {
  width:auto;
}

#admin-toolbar-search-tab {
  display: none;
}


/* Banniere */

.path-frontpage #banner {
  background-image: url("/sites/default/files/banniere-accueil.jpg");
  background-size: cover;
  height: 100vh;
  background-position: center top 12%;
  background-attachment: fixed;
}

.banner:after {
  position: absolute;
  background-image: none;
  height: 100px;
  width: 100%;
  bottom: 0;
  top: auto;
  z-index: 0;
  background: none;
  background: none;
  background:none;
}

#banner {
  background-image: url("/sites/default/files/banner-groupe-4_1.jpg");
  background-size: cover;
  background-position: center 10%;
  min-height: 70vh;
  padding: 133px 0 80px 0;
  display: flex;
  align-items: center;
}

@media(max-width:1199px) {
  .path-frontpage #banner {
    background-attachment: scroll;
    height: 95vh;
  }
  
  
}

@media(max-width:991px) {
  .path-frontpage #banner {
    height: 0;
  }
  #banner {
    min-height: 55vh;
  }
}

@media(max-width:767px) {
  .path-frontpage #banner {
    height: 0;
  }
  #banner {
    min-height: 75vh;
  }
  background-position: center top 15%;
}

@media(max-width:575px) {
  #banner {
    min-height: 215px;
  }
  .path-frontpage #banner {
    background-image: url("/sites/default/files/pentaedre-mobile-front.jpg");
    background-size: cover;
    background-position: center center;

  }
  #banner {
    background-image: url("/sites/default/files/pentaedre-mobile-banner.jpg");
    background-size: cover;
    background-position: center top;
}
}

/*** Footer ***/

.footer__section.footer-first {
  padding: 0;
}

