/* home */
.home {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: auto;
}
.home-body {
  position: absolute;
  left: 0;
  top: 64px;
  right: 0;
  bottom: 0;
  overflow: auto;
  background: @background-color;
  z-index: 98;
}
.home-main {
  position: relative;
  padding: 32px 32px 52px;
  min-height: 100%;

  &-nofooter {
    padding-bottom: 0;
  }
}

/* view-footer */
.home-footer {
  position: absolute;
  width: 100%;
  height: 32px;
  bottom: 0;
  left: 0;
  z-index: auto;
  line-height: 32px;
  border-radius: 16px 16px 0 0;
  color: @dark-color-lighter;
  background-color: @white;
  text-align: center;
  font-size: 12px;
  a {
    color: @dark-color-light;
    &:hover {
      color: @dark-color;
    }
  }
}

/* head */
.view-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: #fff;
  border-radius: 0px 0px 20px 20px;

  .head-main {
    height: 64px;
  }
  .head-logo {
    float: left;
    padding: 18px 0 18px 32px;
    line-height: 28px;
    color: @font-color-main;
    font-size: 20px;
    cursor: pointer;

    > h1 {
      font-weight: 900;
    }
  }
  .head-nav {
    margin: 0 150px 0 190px;
  }
  .head-user {
    float: right;
    height: 50px;
    padding: 16px 32px 16px 10px;
    line-height: 32px;
    color: @dark-color-light;
    span {
      display: inline-block;
      vertical-align: middle;
      margin-left: 10px;
      padding: 0 10px;
      font-weight: 600;
      background: @background-color;
      border-radius: 16px;
      cursor: pointer;
    }
  }
  .user-name {
    > i {
      color: #bec3d1;
    }
  }
  .user-logout {
    i {
      vertical-align: middle;
      margin-top: -3px;
    }

    &:hover {
      background-color: shade(@background-color, 5%);
    }
  }

  .head-sub {
    border-top: 1px solid @background-color;
    height: 60px;
    line-height: 59px;
    text-align: center;
  }
}

.view-header-sub + .home-body {
  top: 124px;
}

/* navs */
.home-navs {
  font-size: 0;
  overflow-x: auto;
  overflow-y: hidden;
  color: @dark-color-light;
  ul {
    word-wrap: none;
  }
  li {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;

    > i {
      margin-right: 8px;
      margin-top: -2px;
    }

    &.act {
      color: @main-color;
    }
    &:hover {
      color: @main-color;
    }
  }
}
