/*  TOP BAR */

#top-bar {
  position: relative;
  display: inline-block;
  width: 100vw;
  height: 140px;
}

#top-bar ul {
  position: relative;
  display: table;
  vertical-align: middle;
  height: 100%;
  width: 90%;
  margin: 0 5%;
}

#top-bar ul li {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

#top-bar ul li#top-logo { width: 15%; }
#top-bar ul li#top-client { width: 15%; }
#top-bar ul li#top-contact { width: auto; text-align: right; }
#top-bar ul li#top-menu { width: 10%; }

#top-bar ul li#top-contact p {
  font-family: 'sansRegular', sans-serif;
  font-size: 18px;
  padding-right: 40px;
}

#top-bar ul li#top-contact p span {
  font-family: 'sansBold', sans-serif;
  font-size: 12px;
}

#top-bar ul li#top-contact::before {
  content: "";
  position: absolute;
  right: -10px;
  top: calc(50% - 30px);
  width: 20px;
  height: 60px;
  background-image: url('../svg/deco-square.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
}

#top-bar ul li#top-client::before {
  content: "";
  position: absolute;
  left: 0px;
  top: calc(50% - 25px);
  width: 1px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.9);
}

#top-bar ul li#top-menu span {
  display: inline-block;
  width: 40px;
  height: 40px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9);
  background-image: url('../svg/picto-menu.svg');
  background-repeat: no-repeat;
  background-size:40%;
  border-radius: 50%;
  background-position: center;
  transform: rotate(0deg);
  transition-duration: 1s;
  cursor: pointer;
}

#top-bar ul li#top-menu span:hover { transform: rotate(90deg); }

/*  MENU POP */

#menu-principal-complet {
  position: fixed;
  display: table;
  top: -200vh;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  /*background-image: url('../svg/menu-fond.svg');
  background-size: 1300px;
  background-repeat: repeat-x;
  background-position: bottom center;*/
  transition-duration: 1s;
}

#menu-principal-complet.open {
  top: 0vh;
}

ul#menu-principal {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  width: 80vw;
  height: 100%;
  margin: 0 auto;
}

ul#menu-principal li {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 100%;
  padding: 0;
  text-align: center;
  transition-duration: 1s;
}

ul#menu-principal li::before {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  top: calc(50% - 40px);
  display: block;
  width: 20px;
  height: 20px;
  background-image: url('../svg/picto-bas.svg');
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
  opacity: 0;
  transform: rotate(90deg);
  transition-duration: 0.4s;
}

ul#menu-principal li:hover::before {
  transform: rotate(0deg);
  top: calc(50% - 30px);
  opacity: 1;
}

ul#menu-principal li a p {
  font-family: 'sansRegular';
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

#logo-menu {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 10vh;
  padding: 2vh 0;
  cursor: pointer;
  background-image: url('../svg/logo-projet.svg');
  background-position: center;
  background-size: 200px;
}

#bouton-menu {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  margin: 10px 0 0 0;
  left: calc(50% - 20px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  cursor: pointer;
  background-image: url('../svg/picto-close.svg');
  background-position: center;
  background-size: 40%;
  transform: rotate(0deg);
  transition-duration: 1s;
}

#bouton-menu:hover {
  transform: rotate(90deg);
}

#logo-client {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 60px;
  padding: 60px 0 0 0;
  cursor: pointer;
  background-image: url('../svg/logo-client.svg');
  background-position: 50% 70%;
  background-size: 140px;
}

@media screen and (max-height: 900px) {
  ul#menu-principal li { padding: 1vh 0; }
  #logo-client { height: 80px; padding: 0px 0 0px 0; }
  #menu-principal-complet { background-size: 800px; }
}

@media screen and (max-width: 1000px) {
  #top-bar ul li#top-logo { width: 40%; }
  #top-bar ul li#top-client { width: 40%; }
  #top-bar ul li#top-contact { display: none; }
  #top-bar ul li#top-menu { width: 20%; }
}

ul#menu-principal p.contact {
  font-size: 100%;
}

ul#menu-principal p.contact span {
  font-size: 80%;
  font-family: 'sansBold', sans-serif;
}
