//%basefont {
//  font-family: "Lato", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\u5FAE\u8F6F\u96C5\u9ED1", Arial, sans-serif;
//}

html {
  line-height: 1.6; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
  height: 100%;
}

body {
  //margin: 0;
  //height: 100%;
  font-size: 14px;
  color: #3B454E;
  -webkit-font-smoothing: antialiased;

  &.full {
    .nav {
      display: none;
    }

    .content {
      margin-left: 30px !important;
    }

    .k-footer {
      display: none;
    }

    .toggle {
      left: 4px;

      &:before {
        content: "\e6ed";
      }
    }
  }
}

.toggle {
  position: fixed;
  top: 56px;
  left: 295px;
  z-index: 3;

  &:before {
    content: "\e703";
  }
}

%grid-bg {
  background: #fff url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2VlZWVlZSIgb3BhY2l0eT0iMC4zIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZWVlZWVlIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=') -1px -1px;
}

@media screen and (max-width: $mobile) {
  .k-footer {
    display: none;
  }
}

.k-footer {
  border-top: 1px solid #f0f0f0;
  text-align: center;
  padding-right: 30px;
  height: 36px;
  line-height: 36px;
  color: #666;
  font-size: 12px;
  background: #fafafa;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;

  a, span {
    color: #666;
    margin-left: 6px;
    padding-right: 6px;
  }
}
