@charset "utf-8";

@import "../initial";
.sitemenubox{
    padding-right: 0.9375em;
    padding-left: 0.9375em;
}
.sitemenu-horizontal {
  .sitemenu-title{
        margin: 0;
  }
  padding: 0;
  @include clearfix;


  .sitemenu-item.level-1 {
    font-size: 0.8125rem;
    position: relative;
    float: left;
    margin-right: 1%;
    margin-bottom: 0.75em;
    padding: 0.5em .8em;
    padding-bottom: 0.5em;
    color: $theme-white;
    border-radius: .2em;
    background: $theme-color-green;
    text-align: center;

    &:hover {
      background: darken($theme-color-green, 10%);
      .sitemenu-list.level-2 {
        display: block;
      }
    }
  }

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

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

  // sitemenu dropdown
  .sitemenu-list.dropdown-menu {
    min-width: 100%;
    margin-top: 0.25em;
    border: none;
    border-radius: .2em;
    background: darken($theme-color-green, 10%);
  }

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

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

.sitemenu-vertical {
  box-shadow: 0px 0px 2px 1px #d7d7d7;
  background: #fff;
  padding: 1em;
  .sitemenu-list {
    // background-color: $theme-color-green;
  }
  .sitemenu-title{
    color: #288e8e;
    margin-top: 0.5em;
  }
  .sitemenu-item.level-1 {
    padding: 0.625em 1.25em;
    position: relative;
    color: $theme-white;
    border-bottom: 0.0625em solid #e3e3e3;
    &:hover {
      .sitemenu-list.dropdown-menu { display: block; }
      background:#288e8e;
      a{
        color: #fff;
      }
    }
  }

  .sitemenu-link {
    font-size: 0.8125rem;
    color: #288e8e;
  }

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

  .sitemenu-list.dropdown-menu {
    border: none;
    border-radius: .2em;
    background: darken($theme-color-green, 10%);
  }

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

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