body { 
  background: @bg-new-color;
  word-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  &.bg-blank {
    background-color: #fff;
  }
}

html.nav-active,
html.nav-active body {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.es-wrap {
  &.nav-active {
    .es-transition();
    transform: translate3d(250px, 0, 0);
    -webkit-transform: translate3d(250px, 0, 0);
    -o-transform: translate3d(250px, 0, 0);
    -moz-transform: translate3d(250px, 0, 0);
  }
}

.html-mask.active {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backface-visibility: hidden;
}

#content-container {
  margin: 30px auto;
  min-height: 400px;
  @media(max-width:@screen-xs-max) {
    min-height: 250px;
  }
}

input:-webkit-autofill, 
textarea:-webkit-autofill, 
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px @bg-color inset;
}

.caret {
  border-top: 4px solid;
}

.tooltip {
  min-width: 40px;
}

.affix,
.affix-bottom {
  z-index: 1;
}

// 富文本编辑器
.cke_chrome {
  .border-radius();
  border-color: @gray-light !important;
  .box-shadow(none) !important;
}

// 全站公告
.alert-notice {
  .border-radius(0);
  margin-bottom: 0;
  padding: 0;
  border: none;
  color: @brand-primary;
  .swiper-container {
    position: relative;
    height: 38px;
    line-height: 38px;
    overflow: hidden;
  }
  .swiper-wrapper {
    padding-right: 30px;
  }
  .swiper-slide {
    float: none;
    .text-overflow;
  }
  .close {
    float: none;
    position: absolute;
    top: 5px;
    right: 0;
    width: 30px;
  }
}

// 站内公告
.aside-notice {
  padding: 0;
  .swiper-container {
    position: relative;
    padding: 0 15px;
    height: 38px;
    line-height: 38px;
    overflow: hidden;
  }
  .swiper-slide {
    float: none;
    .text-overflow;
  }
}

// 直播提示
.modal-live-remind {
  .modal-body {
    padding: 40px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .media-left img {
    width: 160px;
    max-width: 160px;
  }
  .media-body h4 {
    color: @gray-darker;
    font-size: 16px;
    // margin-bottom: 10px;
  }
  .media-body p {
    color: @gray;
    font-size: 12px;
  }
  .live-countdown {
    font-size: 22px;
    color: @gray-darker;
    margin-bottom: 20px;
    text-align: center;
    span {
      color: @brand-warning;
      font-size: 40px;
    }
  }
  .btn {
    width: 300px;
  }
}
