@import "../../entry/mixins";
@import "../../entry/variables";

.lottery {
  position: absolute;
  left: 425px;
  top: 220px;
  cursor: pointer;
  width:154px;
  height:106px;
  @include block();
  background: url("./lottery.png?__sprite");
  &:hover{
    background: url("./lottery_hover.png?__sprite");
  }
}

.lottery_container {
  position: absolute;
  width: 1000px;
  top: 100px;
  left: 50%;
  margin-left: -500px;
  height: 570px;
  background: url("./lottery_bg.png") center 100px no-repeat;
  li {
    text-align: center;
    p {
      color: #d1c1c3;
      font-size: 12px;
      position: relative;
    }
  }
}

.lottery-item-1 {
  position: absolute;
  left: 170px;
  top: 115px;
  .icon {
    width: 71px;
    height: 46px;
    background: url("./prize1.png?__sprite");
  }
  p{
    left:-4px;
  }
}

.lottery-item-2 {
  position: absolute;
  left: 250px;
  top: 165px;
  .icon {
    width: 84px;
    height: 35px;
    background: url("./prize2.png?__sprite");
  }
  p{
    left:-4px;
  }
}

.lottery-item-3 {
  position: absolute;
  left: 360px;
  top: 105px;
  .icon {
    width: 41px;
    height: 55px;
    background: url("./prize3.png?__sprite") no-repeat;
  }
}

.lottery-item-4 {
  position: absolute;
  left: 580px;
  top: 110px;
  .icon {
    width: 70px;
    height: 49px;
    background: url("./prize4.png?__sprite") no-repeat;
  }
}

.lottery-item-5 {
  position: absolute;
  left: 680px;
  top: 145px;
  .icon {
    width: 55px;
    height: 55px;
    background: url("./prize5.png?__sprite") no-repeat;
  }
}

.lottery-item-6 {
  position: absolute;
  left: 770px;
  top: 100px;
  .icon {
    width: 41px;
    height: 55px;
    background: url("./prize3.png?__sprite") no-repeat;
  }
}

.lottery-item-7 {
  position: absolute;
  left: 770px;
  top: 190px;
  .icon {
    width: 76px;
    height: 52px;
    background: url("./prize7.png?__sprite") no-repeat;
  }
}

.lottery-item-8 {
  position: absolute;
  left: 690px;
  top: 245px;
  .icon {
    width: 51px;
    height: 51px;
    background: url("./prize8.png?__sprite") no-repeat;
  }
}

.lottery-item-9 {
  position: absolute;
  left: 590px;
  top: 205px;
  .icon {
    width: 65px;
    height: 41px;
    background: url("./prize9.png?__sprite") no-repeat;
  }
}

.lottery-item-10 {
  position: absolute;
  left: 350px;
  top: 190px;
  .icon {
    width: 55px;
    height: 57px;
    background: url("./prize10.png?__sprite") no-repeat;
  }
}

.lottery-item-11 {
  position: absolute;
  left: 235px;
  top: 245px;
  .icon {
    width: 88px;
    height: 52px;
    background: url("./prize11.png?__sprite") no-repeat;
  }
}

.lottery-item-12 {
  position: absolute;
  left: 150px;
  top: 205px;
  .icon {
    width: 71px;
    height: 38px;
    background: url("./prize12.png?__sprite") no-repeat;
  }
}

.lottery_container li .icon.focus {
 @include transform(scale(1.5),50% 100%);
  position: relative;
  top:-10px\9;
}

.my_prize{
  position: absolute;
  top:450px;
  left:300px;
  @include block();
  width:175px;
  height:43px;
  background: url("./my_prize.png?__sprite");
  &:hover{
    background: url("./my_prize_hover.png?__sprite");
  }
}

.info_fill{
  position: absolute;
  top:450px;
  left:540px;
  @include block();
  width:175px;
  height:43px;
  background: url("./info_fill.png?__sprite");
  &:hover{
    background: url("./info_fill_hover.png?__sprite");
  }
}

.info_fill_btn{
  @include block();
  position: relative;
  top:5px;
  width:57px;
  height:21px;
  background: url("info_fill_btn.png");
}
.code_wrapper{
  background: #5b0500;
  height:25px;
  line-height:25px;
  width:250px;
  text-align: left;
  margin-left:10px;
}
.copy-btn{
  @include block();
  width:40px;
  height:21px;
  position: absolute;
  top:85px;
  right:30px;
  background: url("./sm_btn.png?__sprite");
  &:hover{
    background: url("./sm_btn_hover.png?__sprite");
  }
}

.info_fill_dialog {
  margin-left:-40px;
  p {
    font-size: 14px;
  }
  label {
    font-size: 16px;
  }
  em {
    color: #b41505;
  }
  .dialog-input-group {
    margin: 10px auto;
  }
  .dialog-input-group .label {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 80px;
    color: #d1c1c3;
    text-align: right;
    vertical-align: top;
    line-height: 30px;
  }

  .dialog-input-group input {
    height: 30px;
    line-height: 30px;
    width: 220px;
    padding-left: 10px;
    background-color: #a4a1a1;
    color: #350c1b;
    border: none;
  }

  .dialog-input-group textarea {
    resize: none;
    width: 220px;
    padding: 10px 0 0 10px;
    border: none;
    color: #350c1b;
    background-color: #a4a1a1;
    vertical-align: baseline;
  }
}

.my_prize_dialog {
  margin-top: 10px;
  .thead {
    background: #440f0b;
    span {
      @include block();
      width: 120px;
      color: #d1c1c3;
      padding: 7px 0px;
      text-align: center;
    }
  }
  .table_wrapper {
    height: 200px;
    position:relative;
    overflow: auto;
    margin: 0 auto;
    table {
      tr {
        td {
          height: 30px;
          line-height: 30px;
          position: relative;
          span {
            position: absolute;
            left: 130px;
            top:0px;
            @include block();
            width: 80px;
            text-align:center;
            text-indent:0px;
            color: #d1c1c3;
          }
        }
        .label {
          width: 200px;
        }
        .time {
          width: 200px;
        }
      }
    }
  }
}