#main-header {
  position: fixed;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 99;
align-items: center;
    background-color: var(--color-vert-1);
}

#main-header-mobile {
  display: none;
}

#main-header nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  justify-content: space-around;
  width: 65%;
  margin-right: auto;
  margin-left: auto;
  }

  #main-header nav a {
color: white;
    }

    #main-header nav a:hover {
          }

    #main-header .devis {
      background-color: white;
      color: var(--color-gris-5);
      padding: 10px 25px;
      border-radius: 40px;
      display: block;
      }

      #main-header .devis:hover {
        background-color: var(--color-gris-5);
        }

        #main-header .devis button {
          border: none;
          background-color: transparent;
          }

          #main-header .devis:hover button {
            color: white;
            }

/*   .menu.menu-1 p::after {
    background-size: 10px 10px;
    background-image: url("https://levillagedestalentscreatifs.fr/wp-content/themes/village/asset/img/fleche-bas.svg");
    display: inline-block;
    width: 10px;
    height: 10px;
    content: "";
    transition: all ease-in 0.3s;
    position: relative;
    left: 10px;
    filter: invert(100%);
 } */

#main-header .logo {
  display: flex;
  padding: 10px 5px;
  margin-left: auto;
  width: 13%;
}



#main-header .menu {
  margin-right: 15px;
  text-align: center;
  display: flex;
align-items: center;
  }

  #main-header  menu.menu-5 {
    margin-right: 0;
    }






    #main-header .logo img {
      /* width: 200px; */
      height: 80px;
    }

    #main-header .devis {
      /* padding: 10px 25px; */
      padding: 8px 35px;
    }

    #main-header .devis button {
      font-size: 16px;
    }

    /* Élément | https://afr-espace-client.hehocom.website/ */

    div.menu:nth-child(5) {
      display: none;
    }







/*
*
*
*
* MEDIA
*
*
*
*
*/


  @media screen and (max-width: 1200px) {
    #main-header nav {
      width: 73%;
      }
      #main-header .menu.menu-3 {
        display: none;
        }
  }

  @media screen and (max-width: 1000px) {

  }

@media screen and (max-width: 900px) {

}
@media screen and (max-width: 850px) {

}

@media screen and (max-width: 768px) {

  #main-header {
    display: none;
  }
  #main-header-mobile {
    display: flex;
    position: fixed;
top: 0;
width: 100%;
background: var(--color-vert-1);
z-index: 9;
box-shadow: 0px 2px 4px var(--color-gris-1);
    }


    #menuDeroulant {
    height: 20vh;
display: flex;
align-items: center;
justify-content: space-around;
margin: auto;
    margin-left: auto;
width: 60vw;
margin-left: 35%;
    }


    #menuDeroulant input {
      display: block;
      width: 35px !important;
      height: 32px;
      position: absolute;
      left: 58px;
      top: calc(12vh + -30px);
      cursor: pointer;
      opacity: 0;
      z-index: 2000;
  }

  #menuDeroulant .span-burger {
    width: 50px;
    position: absolute;
    top: calc(12vh + -40px);
    left: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#menuDeroulant .span-1 {
  transform-origin: 0% 0%;
  top: 18px;
}

#menuDeroulant .span-2 {
top: 25px;
width: 18px;
left: 14px;
}

#menuDeroulant .span-3 {
transform-origin: 0% 0%;
top: 33px;
}

#menuDeroulant span {
  display: block;
  width: 25px;
  height: 1px;
  position: absolute;
  background-color: white;
  z-index: 20;
  right: 11px;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

#main-header-mobile #menuDeroulant span {
  background-color: var(--color-bleu-2);
  }

#menuDeroulant #menu {
width: calc(100%);
background-color: white;
transform-origin: 0% 0%;
transform: translate(0, 0%);
transition: display 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
padding-top: 5px;
position: absolute;
top: calc(10vh + -30px);
z-index: 12;
max-height: calc(85vh - 90px);
overflow: auto;
opacity: 0;
display: none;
transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menuDeroulant input:checked~.span-burger .span-1 {
transform: rotate(38deg);
}
#menuDeroulant input:checked~.span-burger .span-2 {
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}
#menuDeroulant input:checked~.span-burger .span-3 {
transform: rotate(-38deg);
}

/* Dimension du menu */
#menuDeroulant input:checked~#menu {
  transform: translate(-15%, 13vh);
  transition: display 0.2s cubic-bezier(0.77, 0.2, 0.05, 1);
  opacity: 1;
  display: block;
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

/* Permet de pouvoir cliquer sur le hamburger */
#menuDeroulant input:checked~ul {
  transform: none;
}


/* menu */
#menuDeroulant .menu {
  display: flex;
  flex-direction: column;
  padding: 2% 8%;
  }

}



/* Feuille de style intégrée #29 | https://afr-expert.hehocom.website/ */

#menuDeroulant .sub_menu .reseau a {
  border-bottom: none;
  height: 40px;
  display: block;
  width: 40px;
}

.reseau {
  width: 80%;
  display: flex;
  margin-left: -15px;
}

.reseau a img {
  height: 40px;
}



/* header.css | https://afr-espace-client.hehocom.website/wp-content/themes/InstallType/asset/css/header.css?ver=1.0 */

@media screen and (max-width: 768px) {
  #menuDeroulant {
    /* height: 20vh; */
    /* width: 60vw; */
    /* margin-left: 35%; */
    height: 85px;
    width: 100vw;
    flex-direction: row-reverse;
    position: relative;
    margin-left: 0;
    position: relative;
  }
  #main-header-mobile {
    /* box-shadow: 0px 2px 4px var(--color-gris-1); */
  }
  #menuDeroulant .span-burger {
    /* top: calc(12vh + -40px); */
    /* left: 50px; */
    top: 17.5px;
    right: 50px;
    height: 50px;
    cursor: pointer;
    left: unset;
  }
  #main-header-mobile #menuDeroulant span {
    /* background-color: var(--color-bleu-2); */
    background-color: white;
  }
  #menuDeroulant .span-2 {
    /* left: 14px; */
    right: 11px;
    left: unset;
  }
  #menuDeroulant span {
    /* height: 1px; */
    height: 2px;
  }
  #menuDeroulant input {
    /* width: 35px !important; */
    /* left: 58px; */
    /* top: calc(12vh + -30px); */
    width: 50px !important;
    right: 50px;
    top: 17.5px;
    height: 50px;
    left: unset;
  }



  /* Feuille de style intégrée #30 | https://afr-espace-client.hehocom.website/ */

  #menuDeroulant .sub_menu {
    display: none;
    position: absolute;
    height: 400px;
    bottom: -400px;
    left: 0;
    width: 100%;
    background-color: var(--color-vert-1);
    z-index: 973;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }

  #menuDeroulant .sub_menu a {
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--police-avenir-book);
    width: 80%;
    height: ;
    height: 30px;
    border-bottom: 2px solid var(--color-vert-2);
  }






}

/* Feuille de style intégrée #30 | https://afr-espace-client.hehocom.website/ */

.logo-mobile-div img {
  height: 50px;
}

#menuDeroulant div a button {
  padding: 8px 35px;
  background-color: white;
  border: none;
  border-radius: 25px;
  font-size: 12px;
  box-shadow: 1px 1px 5px var(--color-gris-4);
  color: var(--color-gris-4);
}

/* Élément | https://afr-espace-client.hehocom.website/ */

#menuDeroulant > div:nth-child(1) {
  width: 50%;
}

.sub_menu_devis
{
  display: none;
}

@media screen and (max-width:500px)
{
  .menu_devis
  {
    display: none;
  }
  .sub_menu_devis
  {
    display: block;
  }
  #menuDeroulant
  {
    justify-content: start;
    flex-direction: row;
  }
  #menuDeroulant .logo-mobile-div {
  margin-left: 30px;
}
}



@media screen and (max-width:360px)
{
  #menuDeroulant input,
  #menuDeroulant .span-burger
  {
    right: 25px;
  }
  .logo-mobile-div img {
  height: 40px;
}
}
