//.section-subnav {
//  overflow: hidden;
//  position: relative;
//  background-color: $primary-dark;
//  z-index: 1;
//  display: none;
//  @include media-breakpoint-up(lg) {
//  height: $font-size-base * $line-height-base + $navbar-nav-link-padding-x * 2;
//    display: inherit;
//  }
//  @include media-breakpoint-down(lg) {
//    .container {
//      max-width: inherit;
//    }
//  }
//}

.section-mobilenav {
  position: relative;
  z-index: 2;
  background-color: $primary-light;
  padding-top: 1em;
  padding-bottom: 1em;
  //padding-left: 0;
  padding-right: 0;
  @include media-breakpoint-up(lg) {
    display: none;

  }

}


// Logo
.nav-item--home {
  .navbar-mobileheader .navbar-nav &,
  .navbar-main .navbar-nav & {
    position: absolute;
    left: 0;

    .nav-link--logo {

      background-color: $navbar-light-brand-color;
      border-radius: 0 1.75rem 1.75rem 0;
      position: absolute;
      top: -2rem;
      padding-top: 1.5rem;
      padding-right: 1.5rem;
      padding-bottom: 1.5rem;
      padding-left: 0rem;

      @include media-breakpoint-up(lg) {
        padding-top: 2.5vw;
        padding-right: 2.5vw;
        padding-bottom: 2.5vw;
        padding-left: 0;
      }

      @include media-breakpoint-up(xl) {
        padding-top: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
        padding-left: 0;
      }

      img {
        display: block;
        position: relative;
        height: auto; // STUPID IE!
        width: 90px;
        height: 80px;
        @include media-breakpoint-up(md) {
          width: 122px;

        }
        @include media-breakpoint-up(lg) {
          width: 11vw;
          max-width: 142px;
          height: 125px; // FUCK YOU IE11
        }

      }

      &::after {
        content: '';
        position: absolute;
        background-color: $navbar-light-brand-color;
        top: 0;
        bottom: 0;
        right: 100%;
        width: 50vw;
      }

    }
  }
}


.nav-item--toggler {

}


.navbar-main {
  //@extend .navbar-expand;
  //@extend .navbar-light;
  //
  //font-size: $font-size-base;
  @media (min-width: 1200px) {
    font-size: $font-size-lg;
  }

  .navbar-nav {
    padding-left: $navbar-logo-width;

    @include media-breakpoint-up(xl) {
      padding-left: $navbar-logo-width-max;
    }

  }
}


.navbar-sub {
  .navbar-nav {
    padding-left: $navbar-logo-width;

    @include media-breakpoint-up(xl) {
      padding-left: $navbar-logo-width-max;
    }
  }

  font-size: $font-size-sm;
  @media (min-width: 1200px) {
    font-size: $font-size-base;
  }

  .nav-item {
    overflow: hidden;

    a {
      position: relative;

      &::before {
        content: '';
        width: 100%;
        height: 3px;

        position: absolute;
        left: 0;
        bottom: 0;
      }

    }

    .nav-link.current,
    .nav-link.active {

      &::before {
        background-color: $navbar-dark-active-color;
      }
    }
  }
}



.scrolltop {
  .row > & {

    @include make-col-ready;
    @include make-col(12);
    text-align: right;
    margin-top: calc($grid-gutter-width / 2);

    &:after {
      content: '';
      left: calc($grid-gutter-width / 2);
      right: calc($grid-gutter-width / 2);
      bottom: 0;
      height: 1px;
      background-color: $gray-200;

      display: block;
    }
  }
}


.link-top {
  //@include button-size($btn-padding-y-sm, $btn-padding-x-sm, .75em, $btn-line-height-sm, $btn-border-radius-sm);
  background-color: $gray-200;
  color: var(--parent-color);
  display: inline-block;
}


.navbar-mobileheader {
  .navbar-nav {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
  }

  padding-right: 0;
  //padding-left: 0;
}

