/**
 * @file
 * The header components.
 *
 * It includes styles for the header itself and their
 * component as the logotype or the main menu.
 */

/**
 * Global header rules
 */
 .header{ 
    position: relative;
    top: 0;
    width: 100%;
    z-index: 15;
  }
  .site-logo {
    display: flex;
    z-index: 15;
  }
  .site-logo img{
    max-width: 100px;
    width: 100%;
    z-index: 15;
    margin: 30px;
    width: 50%;
  }

  @media all and (min-width: 1000px) {
    .header {
      position: initial;
      display: flex;
    }
    .header__wrapper {
      display: flex;
      margin: 15px auto;
      max-height: calc(136px - 1.5rem);
      width: 90%;
      max-width: 1490px;
      justify-content: center;
    }
    .site-logo {
      margin-top: 1.5rem;
    }
    .site-logo img {
      margin: 0;
      width: 80px;
      max-width: 250px;
    }
  }

  @media all and (min-width: 1100px) {
    .site-logo img {
      width: 100%;
    }
  }


/**
 * Branding block
 */


/**
 * Main menu
 */

.header__main-menu{
    width: 100%;
    margin: 0;
    list-style: none;
    display: none;
    z-index:5;
  }
  .header__main-menu.is-open{
    display: block;
  }
  .menu--main .menu{
    background-color: #FFF;
    margin:0;
    padding:0;
    text-align: center;
    transition: all ease .5s;
  }
  .menu--main a,
  .menu--main span{
    position: relative;
    display: inline-block;
    color: #101010;
    font-size: 1em;
    font-weight: 700;
    padding:0.5rem 1rem;
  }
  .menu--main .menu__item a.is-active,
  .menu--main .menu__item span.is-active{
    color: #101010;
  }

  @media all and (min-width: 1000px) {
    .header__main-menu{
      display: flex;
      position: relative;
      align-items: flex-end;
    }
    .menu--main a,
    .menu--main span{
      font-size: 1em;
    }
    .menu--main .menu{
      background-color:transparent;
    }
  }

  .region-primary-menu{
    position: absolute;
    left: 0;
    right: 0;
  }

  @media all and (min-width: 1000px) {
    .region-primary-menu{
      position: inherit;
    }
  }

/* LEVEL 0 */


.menu--main .menu__item--level-0{
    position: relative;
  }
  .menu--main .menu__item--level-0 > a,
  .menu--main .menu__item--level-0 > span{
    text-transform: uppercase;
  }

  @media all and (min-width: 1000px) {
    .menu--main .menu--level-0{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      border-bottom: 2px solid #4EAA73;
    }
    .menu--main .menu__item--level-0{
      padding:0;
    }
    .menu--main .menu__item--level-0 > a,
    .menu--main .menu__item--level-0 > span{
      padding:1rem;
    }
    .menu--main .menu__item--level-0 > a:after,
    .menu--main .menu__item--level-0 > span:after{
      bottom:0.75rem;
    }
  }

 /**
 * Mobile menu button
 */
.mobile-menu-trigger {
    position: absolute;
    right: 1.5rem;
    top: 75px;
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    text-indent: 100px;
    background-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    z-index:1;
  }
  .mobile-menu-trigger:focus {
    outline: none;
  }
  .mobile-menu-trigger span {
    position: absolute;
    left: 0px;
    display: block;
    width: 25px;
    height: 3px;
    background-color:#066232;
    transition: all ease .25s;
    -webkit-transition: all ease .25s;
    -moz-transition: all ease .25s;
    -ms-transition: all ease .25s;
    -o-transition: all ease .25s;
  }
  .mobile-menu-trigger span:nth-child(1) {
    top: 7px;
  }
  .mobile-menu-trigger span:nth-child(2) {
    top: 13px;
  }
  .mobile-menu-trigger span:nth-child(3) {
    top: 19px;
  }
  .mobile-menu-trigger.is-open span:nth-child(1) {
    top: 14px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .mobile-menu-trigger.is-open span:nth-child(2) {
    width: 0;
    left: 22px;
  }
  .mobile-menu-trigger.is-open span:nth-child(3) {
    top: 14px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
  }
  @media all and (min-width: 600px) {
    .mobile-menu-trigger {
      top: 50px;
    }
  }
  @media all and (min-width: 1000px) {
    .mobile-menu-trigger {
      display: none;
    }
  }

   /**
 * Block telephone number
 */

 .bloc__phone-number span{
  background-color:#4EAA73;
  text-align: center;
  padding: 0.2rem 0.8rem;
  display: block;
}
  .bloc__phone-number .block-title{
    font-weight: 700;
    color:white;
    text-transform: uppercase;
}
.bloc__phone-number span:hover{
  background-color:#066232;
}
.bloc__phone-number a{
  color:white;
  text-decoration: none;
}
.bloc__phone-number a:hover{
  color:white;
  text-decoration: none;
}
.bloc__phone-number p{
  margin:0;
}

@media screen and (min-width:1000px) {
  .bloc__phone-number{
    position: absolute;
    transform:translateY(-50%);
    right:4%;
    top:0;
  }
}

@media screen and (min-width:1400px) {
  .bloc__phone-number{
    right:6%;
    top:15%;
  }
}

@media screen and (min-width:1650px) {
  .bloc__phone-number{
    right:7%;
    top:30%;
  }
}





