/**********/
/* Header */
/**********/

.header {
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  padding: 0px 16px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.header .logo .logo-hippopotamus-rouge {
  width: 165px;
  height: 45px;
  margin: 16px 0;
}

.header .menu_secondary .container, .header .header-container {
  padding: 5px;
  text-decoration: none;
  border: solid 1px #000000;
  /* height: 36px;
  padding: 0px 20px;
  border-radius: 2px;
  border: solid 1px #c6af8f;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between; */
}

.header .toolbar_desktop .menu_secondary .container:first-of-type {
  margin-right: 16px;
}

.header .menu_secondary .container:hover {
  border: solid 1px #AE1917;
}

.header .menu_secondary .container .text, .header .header-container .header-text {
  display: flex;
  font-family: GothamMedium;
  font-size: 12px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
  white-space: nowrap;
}

.header .menu_secondary .container:hover .text {
  color: #AE1917;
}

/*******************/
/* Toolbar desktop */
/*******************/

.toolbar_desktop {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.toolbar_desktop .menu_secondary {
  display: flex;
  flex-direction: row;
}

/* Retrait du bouton "Commandez en ligne" sur demande d'Hippo le 20/04/23 */
/* .menu_secondary a:first-child {
  visibility: hidden;
  pointer-events: none;
} */

/******************/
/* Toolbar mobile */
/******************/

.toolbar_mobile {
  display: none;
  height: 100%;
}

.toolbar_mobile .button_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.toolbar_mobile .hamburger {
  height: 40px;
  height: 40px;
  cursor: pointer;
}

.toolbar_mobile .location {
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-decoration: none;
}

.toolbar_mobile .header-container {
    border: none;
    padding: 0 0;
    justify-content: flex-start;
}

.toolbar_mobile .header-container .header-text {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
}

.toolbar_mobile .header-container:hover .header-text {
  color: #AE1917;
}

.toolbar_mobile .menu {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 0;
  padding: 8px;
  margin-left: -1000px;
  z-index: 1;
  background-color: #FFF;
}

.toolbar_mobile .menu .close_menu {
  cursor: pointer;
}

.toolbar_mobile .menu .logo {
    text-align: center;
    margin-bottom: 44px;
    margin-top: 24px;
}

.toolbar_mobile .menu ul {
    flex-direction: column;
}

.toolbar_mobile .menu ul li {
    width: 100%;
    display: block;
    margin: auto;
}

.toolbar_mobile .menu ul li:first-child::before {
    content: "";
    display: block;
    height: 1px;
    width: 175px;
    margin: 0 auto 20px auto;
    background: #dac3ac;
}

.toolbar_mobile .menu ul li:after {
    content: "";
    display: block;
    height: 1px;
    width: 175px;
    margin: 20px auto;
    background: #dac3ac;
}

.toolbar_mobile .menu.active {
  margin-left: 0;
  width: 75vw;
  min-width: 196px;
  transition: margin-left .25s;
  overflow-y: scroll;
}

.toolbar_mobile .menu_secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px;
}

.toolbar_mobile .menu_secondary .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 12px;
}

.toolbar_mobile .menu_social {
    display: flex;
    flex-direction: row;
    justify-content: center;
  margin-top: 36px;
}

.toolbar_mobile .menu_social > a:not(:last-child) {
  margin-right: 20px;
}

/********/
/* Menu */
/********/

.menu {
  width: 100%;
  margin: 0 64px;
}

.menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-flex-pack: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  justify-content: space-between;
}

.menu ul li {
  margin-right: 32px;
  margin-left: 32px;
  list-style: none;
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
}

.menu ul li:first-child {
  margin-left: 0;
}

.menu ul li:last-child {
  margin-right: 0;
}

.menu ul li a {
  display: block;
  color: black;
  font-family: GothamMedium;
  font-size: 14px;
  font-weight: 350;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  /* Make elements act like <pre>, which preserves newlines. */
  white-space: pre-line;
}

.menu ul li a:hover, .menu ul li.active a {
  color: #AE1917;
  text-decoration-line: underline;
}

/***********/
/* Content */
/***********/

.site-content {
  padding-top: 90px;
}

@media screen and (max-width:1100px) {
  .menu {
    margin: 0 32px;
  }

  .header .menu_secondary .container .text, .header .header-container .header-text {
    white-space: unset;
  }
}

@media screen and (max-width:968px) {
  .header {
    height: 56px;
    padding: 0px 24px;
  }
  .site-content {
    padding-top: 56px;
  }

  .toolbar_desktop {
    display: none;
  }

  .toolbar_mobile {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .toolbar_mobile .logo img {
    object-position: center center;
    height: 100%;
  }

  .header .container {
    margin-right: 0;
  }

  .header .logo {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px 0;
    box-sizing: border-box;
  }

  .menu .logo {
    margin: 0 ;
    padding: 0;
    display: block;
    height: 62px;
  }
}

/**********/
/* Dimmer */
/**********/

.dimmer {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.dimmer.active {
  display: block;
}
