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

.bottom, .content, .content-div, .copy-box {
  overflow: hidden
}

.bottom-text, .btn-div p, .download, .h1-text, .input-box, .p-text, a {
  text-align: center
}

a, body, div, h1, h2, h3, h4, h5, html, li, p, ul {
  margin: 0;
  padding: 0
}

.input-box input, .input-code {
  background: #d5cbc8;
  padding: 0 5px;
  line-height: 24px;
}

.box, .btn, .content {
  margin: 0 auto;
}

.btn, .download, .pop-reg-btn {
  font-family: "宋体";
}

li, ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.hide {
  display: none;
}

body {
  width: 100%;
  margin: 0 0;
  font-size: 12px;
  font-family: "微软雅黑";
  background: url(images/bg_outer.jpg) top center no-repeat;
}

.container {
  position: relative;
  width: 1000px;
  height: 1500px;
  margin: 0 auto;
  background: url(images/bg_inner.jpg) top center no-repeat;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .container {
    margin: 0 auto;
  }
}

.title {
  position: absolute;
  left: 110px;
  top: 0px;
  font-size: 26px;
  color: #098cf4;
  font-weight: 600;
}

.logo {
  position: absolute;
  right: 100px;
  top: 30px;
  width: 149px;
  height: 95px;
  background: url("./images/logo.png");
}

.form-box {
  position: absolute;
  left: 50px;
  top: 530px;
  width: 320px;
  height: 415px;
  background: transparent;
}

.form-box .tab {
  position: relative;
  top: 20px;
  *top:45px;
  margin: 25px auto;
  width: 330px;
}

.form-box .tab li {
  display: inline-block;
  cursor: pointer;
  *display: inline; /* IE6、7 block 元素 */
  *zoom: 1;
}

.form-box .tab li a {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #ebebeb;
  font-size: 16px;
  padding: 8px 40px;
  background-color: #002847;
}

.form-box .tab li a.active {
  background-color: #098cf4;
}

.form-box .tab li a .icon-banner {
  position: absolute;
  bottom: 0px;
  border: none;
  width: 135px;
  height: 3px;
  left: 6px;
}

.form-box .tab li a.active .icon-banner {
  background-position: -54px -172px;
  width: 135px;
  height: 9px;
}

.form {
  position: relative;
  top: 30px;
  *top: 20px;
  margin: 0 15px;
  height: 180px;
}

.success_form {
  text-align: center;
  h1 {

    color: #88a8ca;
    margin-top: 50px;
  }
  h2 {
    color: #929292;
    margin: 5px;
    font-size:18px;
  }
  h3 {
    color: #efd75f;
    margin: 5px;
  }
}

.input-box {
  margin: 14px 0;
  color: #f0f0f0;
  font-size: 14px;
  background: #012745;
  height: 28px;
  line-height: 28px;
}

.input-box label{
  *float: left;
  *padding-left:10px;
}

.input-box input {
  width: 205px;
  height: 28px;
  float: right;
  pading-left: 10px;
  background: #858587;
  border: none;
  outline: none;
}

.btn-wrapper {
  text-align: center;
}

.reg-btn {
  outline: none;
  cursor: pointer;
  width: 198px;
  height: 54px;
  border: 0px;
  background: url(images/reg_btn.png?__sprite);
  background-color: transparent;
}

.reg-btn:hover {
  background: url(images/reg_btn_hover.png?__sprite);
}

.log-btn {
  outline: none;
  cursor: pointer;
  width: 198px;
  height: 54px;
  border: 0px;
  margin-top:42px;
  background: url(images/login_btn.png?__sprite);
  background-color: transparent;
}

.log-btn:hover {
  background: url(images/login_btn_hover.png?__sprite);
}

.form-box .bottom_content {
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  left: 18px;
  margin: 0 10px;
  p {
    margin: 0 0 5px 18px;
    *margin-left:50px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    color: #cfcfcf;
    font-size: 14px;
    span {
      color: #a3531e;
    }
  }
  input {
    float: left;
  }
  .copy-btn {
    height: 28px;
    color: #d5cbc8;
    background: #a3531e;
    float: right;
    *float: none;
    border: none;
    outline: none;
    cursor: pointer;
  }
}

.game_box {
  cursor: pointer;
  outline: none;
  width: 299px;
  height: 90px;
  border: 0px;
  position: absolute;
  top: 530px;
  right: 150px;
  @include block();
  background: url("./images/game_box.png?__sprite");
}

.game_box:hover {
  background: url("./images/game_box_hover.png?__sprite");
}

.gifts {
  position: absolute;
  top: 650px;
  right: 170px;
  .icon {
    @include block();
    width: 76px;
    height: 65px;
    background: url("./images/gift.png?__sprite");
  }
  span {
    font-size: 25px;
    color: #a4c9f1;
    position: relative;
    top: -30px;
  }
  p {
    font-size: 16px;
    color: #999999;
    text-align: center;
  }

  ul {
    margin-top: 10px;
    li {
      @include block();
      margin: 10px 15px;
      p {
        font-size: 14px;
        color: #999999;
        text-align: center;
      }
    }
    .gift1 {
      .gift_icon {
        width: 111px;
        height: 104px;
        background: url("./images/gift1.png?__sprite");
      }
    }
    .gift2 {
      .gift_icon {
        width: 111px;
        height: 104px;
        background: url("./images/gift2.png?__sprite");
      }
    }
  }
}

.start_game {
  cursor: pointer;
  outline: none;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  width: 198px;
  height: 54px;
  border: 0px;
  background: url(images/start_game.png?__sprite);
}

.start_game:hover {
  background: url(images/start_game_hover.png?__sprite);
}

.gift {
  position: absolute;
  left: 125px;
  top: 835px;
  width: 320px;
  height: 150px;
  background: #382c16;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 0 6px #a89572 inset;
}

.gift p {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.gift ul {
  background: url("images/gift.png") center center no-repeat;
  height: 75px;
}

.gift ul li {
  display: inline-block;
  margin: 0 7px;
  width: 60px;
  position: relative;
  text-align: left;
  top: 35px;
  *display: inline; /* IE6、7 block 元素 */
  *zoom: 1;
}

.gift ul li a {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  position: relative;
  top: 20px;
  display: block;
}

.gift ul li span {
  color: #fff;
  position: absolute;
  white-space: nowrap;
}

.hero {
  position: absolute;
  left: 80px;
  bottom: 25px;
  width: 960px;
  height: 500px;
}

#logout {
  cursor: pointer;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}

#username-span {
  font-size: 20px;
}

.preview {
  position: absolute;
  bottom: 200px;
  left: 0px;
  width: 1000px;
  height: 300px;
  text-align: center;
  .prev {
    position: absolute;
    left: 10px;
    top: 120px;
    width: 33px;
    height: 84px;
    cursor: pointer;
    background: url("./images/left_arrow.png?__sprite");
    &:hover {
      background: url("./images/left_arrow_hover.png?__sprite");
    }
  }
  .next {
    position: absolute;
    right: 10px;
    top: 120px;
    cursor: pointer;
    width: 33px;
    height: 84px;
    background: url("./images/right_arrow.png?__sprite");
    &:hover {
      background: url("./images/right_arrow_hover.png?__sprite");
    }
  }
  .carousel {
    width: 1000px;
    height: 100%;
    overflow: hidden;
  }

  .carousel_wrapper {
    width: 800px;
    height: 100%;
    margin: 25px 90px;
    overflow: hidden;
  }

  .box {
    display: inline-block;
    cursor: default;
    *display: inline; /* IE6、7 block 元素 */
    *zoom: 1;
    float: left;
    margin: 8px 15px;
    width: 242px;
    height: 284px;
    &.hide {
      display: none;
    }
  }

  .box1 {
    background: url("images/role1.png");
  }

  .box2 {
    background: url("images/role2.png");
  }

  .box3 {
    background: url("images/role3.png");
  }

  .box4 {
    background: url("images/role4.png");
  }
}

/*three*/
.sq-third-link
span {
  font-size: 12px;
  color: #fff;
  line-height: 28px;
  vertical-align: top;
  display: inline-block;
  *display: inline;
}

.three-icon {
  background: url(http://img1.37wanimg.com/common/css/images/three.png) no-repeat;
  width: 28px;
  height: 28px;
  display: inline-block;
  text-indent: -9999em;
  vertical-align: middle;
  margin: 0 11px;
}

.three-wx {
  background-position: -39px 0;
}

.three-wb {
  background-position: -78px 0;
}