.navLogged-wrapper {
  vertical-align: middle;
  overflow: auto;
  @include for-size(tablet-landscape-up) {
    order: 1;
    margin: 0;
  }
}
.nav {
  $block: unquote("#{&}");
  display: inline-block;
  &-wrapper {
    background: #fff;
    color: $color-cyan_shade1;
    padding: 1.5em;
    @include fly-by();
    @media screen and (min-width: 45.000em) {
      @include fly-byEnhanced();
    }
    @media screen and (min-width: 64.000em) {
      padding: 1.5em 1em 1.5em 5em;
    }
    @media screen and (min-width: 80.000em) {
      padding: 60px 10% 45px 18%;
       z-index: -9999999999;
     }
  }
  &-logged {
    display: inline-block;
    cursor: pointer;
    padding: 1em;
    vertical-align: middle;
    @media screen and (min-width: 16.875em) {
      padding: $spacer-small 0 0;
    }
    @include for-size(tablet-portrait-up) {
      padding: ($spacer-small + 3) 0 0 0;
    }
    &__anchor {
      color: #fff;
      display: inline-block;
      font-size: $font-x-medium;
      text-decoration: none;
      text-transform: uppercase;
      @media screen and (min-width: 20.000em) {}
      @media screen and (min-width: 45.000em) {
        padding: ($spacer-small + 3) .5em;
        text-indent: inherit;
      }
      &:before {
        background-image: url('/static/img/icons/ninyampinga/iconsSprite.png');
        background-repeat: no-repeat;
        background-position: 0 44.8%;
        background-size: 65px;
        display: none;
        visibility: hidden;
        content: "";
        width: 30px;
        height: 55px;
        vertical-align: middle;
        @include for-size(tablet-portrait-up) {
          background-position: 0 45.2%;
          background-size: 80px;
          display: inline-block;
          visibility: visible;
          margin: 0 15px 0 0;
        }
      }
      &:after {
        background-image: url('/static/img/icons/ninyampinga/iconsSprite.png');
        background-repeat: no-repeat;
        background-position: 0 44.8%;
        background-size: 65px;
        content: "";
        width: 30px;
        height: 35px;
        vertical-align: middle;
        display: inline-block;
        visibility: visible;
        margin: 0 0 0 1.5em;
        @include for-size(tablet-portrait-up) {
          background-image: url('/static/img/icons/ninyampinga/iconsSprite.png');
          background-position: 0 45.2%;
          background-size: 60px;
          display: none;
          visibility: hidden;
        }
      }
      &:active, &:hover, &:focus {
        color: #fff;
        text-decoration: underline;
        text-underline-position: under;
      }
    }
  }
  &-list {
    padding: 0;
    margin: 0;
    vertical-align: top;
    text-align: left;
    &__item {
      display: block;
      margin: $spacer-half 0;
    }
    &__title {
      color: #000;
      font-size: $font-x-medium;
      text-transform: uppercase;
      padding: 15px 0;
      @include for-size(tablet-landscape-up) {
        padding: 0 0 25px;
      }
    }
    &__anchor {
      background: transparent;
      color: $color-cyan_shade1;
      font-size: $font-small;
      padding: 0;
      text-decoration: underline;
      text-transform: uppercase;
      @include for-size(tablet-portrait-up) {
        font-size: $font-x-medium;
      }
    }
    &-inner {
      margin: 0;
      padding: 0;
      &__item {
        display: block;
        padding: $spacer-small;
      }
    }
  }
  &-primary {
    margin: 0 5% 0 0;
    display: inline-block;
    vertical-align: top;
    #{$block}-list {
      &__item {
        margin: 0;
        padding: 5px;
      }
      &__anchor {
        color: #000;
        @include for-size(tablet-landscape-up) {
          font-size: $font-x-medium;
        }
      }
    }
  }
  &-secondary {
    display: inline-block;
    vertical-align: top;
    @media screen and (min-width: 45.000em) {
      width: 75%;
    }
    @media screen and (min-width: 64.000em) {
      padding: 0 0 0 5%;
      border-left: 3px solid #000; //To Review
    }
    &__item {
      vertical-align: top;
      display: inline-block;
      padding: 15px 1.5em 0 0;
      @media screen and (min-width: 64.000em) {
        padding: 0 5em 0 0;
      }
    }
  }
  .open {
    background-color: #fff;
    color: $color-pink-bright;
    border-top-right-radius: 3px;
    &:before {
      background-image: url('/static/img/icons/ninyampinga/header-icons.png');
      background-repeat: no-repeat;
      background-position: 0 -8.9em;
      background-size: 35px;
      vertical-align: middle;
      height: 40px;
      width: 45px;
    }
  }
}


:lang(rw) {
  .nav-logged__anchor {
    @media screen and (min-width: 16.875em) {
      text-indent: -8em;
    }
    @media screen and (min-width: 45.000em) {
      text-indent: inherit;
    }
  }
}

:lang(en) {
  .nav-logged__anchor {
    @media screen and (min-width: 16.875em) {
      text-indent: -4em;
    }
    @media screen and (min-width: 45.000em) {
      text-indent: inherit;
    }
  }
}
