.lottery-trend{
  margin-top: @bar-height + 20;
  padding: 20px;
  background: #fff;
  font-size:@font-size-medium;
  width: 1200px;
  table{
    width: 100%;
    text-align: center;
    border: 1px solid #d1d1d1;
    font-family: Arial;
  }
  thead tr,tfoot tr{
    background-color: #efefef;
    line-height: 30px;
    td{
      width: 18px;
    }
  }
  tfoot tr{
    background-color: #efefef;
    line-height: 30px;
    border-top: 1px solid #d1d1d1;
  }
  .border-bottom{
    border-bottom: 1px solid #d1d1d1;
  }
  .border-right{
    border-right: 1px solid #d1d1d1;
  }
  tbody tr{
    line-height: 30px;
    border-bottom: 1px dashed #d1d1d1;
    &.guides{
      border-bottom: 1px solid #d1d1d1;
    }
  }
  .hide-guides{
    tbody tr{
      border-color:transparent;
    }
  }
  .hide-lost tbody .code{
    color: #fff;
  }
  .lost{
    background-color: rgba(168, 13, 31, 0.2);
  }

  canvas {
    position: absolute;
    top: 0;
    left: 0;
  }
  @media (min-width:@screen-sm){
    margin-top: @banner-top + 20;
  }
}

.trend-wrapper{
  position: relative;
  .open {
    position: relative;
    z-index:1;
    i{
      width: 16px;
      height: 16px;
      line-height: 16px;
      text-align: center;
      color: #fff;
      background-color: @brand-primary;
      border-radius: 50%;
      position: absolute;
      top: 7px;
      left: 1px;
      &.checked{
        background: @brand-danger;
      }
    }
  }
}

.lottery-trend-nav{
  .lottery-nav{
    .btn{
      width: 180px;
    }
  }
}

@media (min-width:@screen-sm){
  .lottery-trend-nav{
    border-bottom:2px solid @brand-primary;
    position: relative;
    height: 49px;
    .lottery-nav{
      padding-top: 0;
      left: 0;
      .btn{
        font-size: 22px;
        width:180px;
        padding-top: 8px;
        padding-bottom: 8px;
        background: @brand-primary;
        i{
          font-size: @font-size-medium;
          .icon-alignment();
        }
      }
    }
  }
  .trend-method{
    position: relative;
    left: 190px;
    top: 14px;
    z-index: @zindex-navbar +  10;
    .btn{

      width: 100px;
      margin-right: 10px;
      border-bottom:none;


    }
  }
}

.trend-method{
  .btn{
    border-radius: 0;
    font-size: @font-size-medium;
    &:hover,&:focus,&:active,&.active{
      border-color: @brand-primary;
      background: @brand-primary;
      color: #fff;
    }
  }

}

.trend-control{
  line-height: 40px;text-align: center;
  label{
    margin-right: 5px;
    margin-bottom: 0;
  }
  > div{
    display: inline-block;
  }
  .time{
    margin-left: 30px;
    a{
      margin: 0 5px;
    }
  }
}