@charset "utf-8";

@import "../initial";

.sitemenu-horizontal {
  padding: 10px 0;

  @include clearfix;

  .sitemenu-title {
    display: none;
  }

  .sitemenu-item.level-1 {
    font-size: 0.8125rem;
    position: relative;
    float: left;
    margin-right: 1%;
    margin-bottom: 12px;
    padding: 8px .8em;
    padding-bottom: 8px;
    color: $theme-white;
    border-radius: .2em;
    background: $theme-color-third;

    &:hover {
      background: darken($theme-color-third, 10%);
    }
  }

  .sitemenu-link.level-1 {
    margin-right: .25rem;
    color: $theme-white;
  }

  .sitemenu-dropdown-toggle {
    font-size: 0.75rem;
    padding: 2px .3125rem;
    cursor: pointer;
  }

  // sitemenu dropdown
  .sitemenu-list.dropdown-menu {
    min-width: 100%;
    margin-top: 4px;
    border: none;
    border-radius: .2em;
    background: $theme-color-third;
  }

  .sitemenu-link.level-2 {
    color: $theme-white;
    font-size: 0.8125rem;
    padding: 4px 0.625rem;

    &:hover {
      text-decoration: underline;
      background-color: transparent;
    }
  }
}

.sitemenu-vertical {
  .sitemenu-list {
    background-color: $theme-color-third;
  }

  .sitemenu-item.level-1 {
    border-bottom: 1px solid $theme-white;
    padding: 10px 20px;
    position: relative;
    color: $theme-white;
    background-color: transparent;
    &:hover{
      background-color: darken($theme-color-third, 10%);
    }
  }

  .sitemenu-link {
    font-size: 0.8125rem;
    color: $theme-white;
  }

  .sitemenu-dropdown-toggle {
    font-size: 0.75rem;
    padding: 2px .3125rem;
    cursor: pointer;
  }

  .sitemenu-list.dropdown-menu {
    border: none;
    border-radius: .2em;
    background: $theme-color-main;
  }

  .sitemenu-link.level-2 {
    color: $theme-white;
    font-size: 0.8125rem;
    padding: 4px 0.625rem;

    &:hover {
      text-decoration: underline;
      background-color: transparent;
    }
  }
}