.nav {
  float: right;
  display: none;
}
.nav__logo {
  margin-bottom: 50px;
  text-align: center;
  border-bottom: 2px solid #b51f24;
  padding: 25px 0;
  .logo {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    min-width: auto;
    transform: translateY(-4rem);
    opacity: 0;
  }
  .logo__image {
    margin: 0;
  }
}
.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  float: left;
}

.menu-item {
  float: left;
  padding: 0 27px 13px 0;
  position: relative;
  &.has-dropdown {
    a {
      padding-right: 22px;
      &:before {
        content: "";
        position: absolute;
        top: 6px;
        right: 0;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #fff;
      }
    }
  }
  &:last-child {
    padding-right: 0;
  }
  a {
    display: block;
    color: #fff;
    text-decoration: none;
    position: relative;
    &:hover {
      text-decoration: underline;
    }
  }
}


.nav__dropdown {
  list-style: none;
  padding: 9px 8px 9px 15px;
  margin: 0;
  position: absolute;
  top: 44px;
  left: -3px;
  width: 155px;
  visibility: hidden;
  opacity: 0;
  max-height: none;
  overflow: visible;
  z-index: 16;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}

.dropdown-nav__item {
  padding: 3px 6px;
}

.dropdown-nav__link {
  color: #595959;
  display: block;
  text-decoration: none;
}
.dropdown-nav__link:hover {
  text-decoration: underline;
}
.nav__dropdown:before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to right, #b51f24, #fcc6cc);
}
.menu-item:hover .nav__dropdown,
.menu-item:focus .nav__dropdown,
.nav__dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(-12px);
}

.nav__info {
  display: none;
}

.menu__button {
  float: right;
  display: none;
  position: relative;
  z-index: 5;
  margin: 10px 10px 10px 5%;
}

.hamburger {
  padding: 0;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-active:hover {
  opacity: 0.7;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  /*background-color: @tonys-pink;*/
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 30px;
  height: 4px;
  background-color: @roof-terracotta;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media screen {
  @media @mxw-900 {
    .nav {
      float: none;
    }
    .nav__list {
      float: none;
      text-align: center;
    }
    .menu-item {
      float: none;
      display: inline-block;
      vertical-align: top;
    }
  }
  @media @mxw-630 {
    .menu__button {
      margin-left: 10px;
    }
  }
  @media @mxw-768 {
    .menu__button {
      display: block;
    }
    /* mobile nav menu */
    .nav {
      background-color: #fff;
      bottom: 0;
      font-size: 0;
      float: none;
      padding: 0;
      left: 0;
      opacity: 0;
      pointer-events: none;
      position: fixed;
      right: 0;
      top: 0;
      transition: opacity .4s;
      z-index: 3;
      display: block;
    }
    .nav__list {
      float: none;
      left: 50%;
      transform: translateX(-50%);
      padding: 0;
      position: absolute;
      top: 175px;
      width: 282px;
      text-align: center;
    }

    .nav__link-text--desktop {
      display: none;
    }
    .menu-item {
      position: relative;
      display: block;
      margin-bottom: 15px;
      padding: 0;
      &:before {
        display: none;
      }
      a {
        font-size: 18px;
        display: inline-block;
        opacity: 0;
        transform: translateY(4rem);
        color: @scorpion;
        font-family: @bold-ff;
      }
    }

    .nav__info {
      display: none;
      position: absolute;
      bottom: 25px;
      left: 50%;
      opacity: 0;
      transform: translateX(-50%) translateY(4rem);
      transition: opacity .4s cubic-bezier(.165,.84,.44,1),transform .4s cubic-bezier(.165,.84,.44,1);
      width: 280px;
      text-align: center;
    }
    .nav__info-item {
      margin-bottom: 5px;
    }
    .nav__info-link {
      font-size: 16px;
      line-height: 1.1;
      color: @roof-terracotta;
      text-decoration: none;
      position: relative;
      &:hover {
        text-decoration: underline;
      }

    }
    .nav__info-link--phone {
      font-size: 20px;
      line-height: 1;
      font-family: @bold-ff;
      color: @mine-shaft;
      position: relative;
      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        margin: -62px 0 0 -22px;
        width: 44px;
        height: 58px;
        background: url("@{IMAGES-DIR}/marker.svg") no-repeat;
      }
    }
    .nav__info-button {
      margin-top: 20px;
      min-width: 100%;
    }
    /* mobile active nav menu */
    .nav.menu-is-active {
      opacity: 1;
      pointer-events: all;
      transition: opacity .4s;
      a {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .4s cubic-bezier(.165,.84,.44,1),transform .4s cubic-bezier(.165,.84,.44,1);
      }
      .menu-item:nth-of-type(1) a {
        transition-delay: .3s;
      }
      .menu-item:nth-of-type(2) a {
        transition-delay: .35s;
      }
      .menu-item:nth-of-type(3) a {
        transition-delay: .4s;
      }
      .menu-item:nth-of-type(4) a {
        transition-delay: .45s;
      }
      .menu-item:nth-of-type(5) a {
        transition-delay: .5s;
      }
      .menu-item:nth-of-type(6) a {
        transition-delay: .55s;
      }
      .nav__info {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        transition-delay: .6s;
      }
      .nav__logo {
        .logo {
          opacity: 1;
          transform: translateY(0);
          transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
      }
    }
  }
  @media @mxw-480 {
    .nav__logo {
      padding: 15px 0;
    }
    .nav__list {
      top: 155px;
    }
  }
}

@media (min-height: 570px) {
  @media @mxw-768 {
    .nav__info {
      display: block;
    }
  }
}