/*
 * @Author: hapick
 * @Date: 2018-04-16 14:11:51
 * @Last Modified by: hapick
 * @Last Modified time: 2018-04-17 16:37:59
 */

/* 首页 */

/* line */
.line-1,
.line-2 {
    display: flex;
    margin-top: 40px;
    min-height: 200px;
}

.line-1 .left,
.line-2 .left {
    flex: 2;
    display: flex;
}

.line-1 .right,
.line-2 .right {
    flex: 1;
}

.line-3 {
    margin-bottom: 40px;
}

/* 活动公告 */
.line-1 .left .activity {
    flex: 1;
    padding: 0 20px 0 10px;
}

.line-1 .left .activity .content {
    min-height: 200px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgb(222, 222, 222);
    border-top: 3px solid rgb(0, 133, 211);
}

.line-1 .left .activity .content .item {
    list-style: disc inside;
    padding: 5px 0;
    border-bottom: 1px dashed rgb(213, 213, 213);
    line-height: 1.8;
}

.line-1 .left .activity .content .item:last-of-type {
    border-bottom: none;
}

/* 加入纵悦 */
.line-1 .left .jion {
    flex: 1;
    /* padding: 0 10px 0 20px; */
}

.line-1 .left .jion .content {
    min-height: 200px;
    margin-top: 10px;
}

.line-1 .left .jion .content .head,
.line-1 .left .jion .content .item {
    display: flex;
    line-height: 1.8;
    padding: 5px 0;
}

.line-1 .left .jion .content .head {
    background: rgb(246, 245, 245);
}

.line-1 .left .jion .content .item .job-name {
    flex: 3;
}

.line-1 .left .jion .content .item .job-class {
    flex: 2;
}

.line-1 .left .jion .content .item .job-place {
    flex: 1;
}

/* 轮播 */
.line-1 .right {
    position: relative;
}

/*.line-1 .right a {
    display: none;
    width: 100%;
    height: 100%;
    padding-left: 20px;
    position: absolute;
    top: 0;
    left: 0;
}*/

.line-1 .right .active {
    display: block;
}

.line-1 .right img {
    width: 100%;
}

.line-1 .right .indicator {
    height: 7px;
    position: absolute;
    right: 10px;
    bottom: 30px;
}

.line-1 .right .indicator i {
    display: inline-block;
    width: 20px;
    height: 100%;
    margin-left: 7px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.line-1 .right .indicator .active {
    background: #fff;
}

/* 推荐游戏 */
.line-2 .left .recommend {
    width: 100%;
}

.line-2 .left .recommend .content {
    font-size: 0;
    margin-top: 20px;
}

.line-2 .left .recommend .content .item {
    display: inline-block;
    width: 49%;
    margin-right: 2%;
    margin-bottom: 30px;
}

.line-2 .left .recommend .content .item:nth-child(even) {
    margin-right: 0;
}

.line-2 .left .recommend .content .item .img {
    width: 100%;
}

.line-2 .left .recommend .content .item .foot{
    display: flex;
    padding: 5px 10px;
    background: rgb(237, 237, 237);
    font-size: 14px;
}

.line-2 .left .recommend .content .item .foot .game-name {
    flex: 1;
    font-size: 18px;
    line-height: 30px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

.line-2 .left .recommend .content .item .foot .foot-right {
    display: inline-block;
}

.line-2 .left .recommend .content .item .foot .foot-right .website,
.line-2 .left .recommend .content .item .foot .foot-right .break,
.line-2 .left .recommend .content .item .foot .foot-right .gift {
    color: #999;
    display: inline-block;
    margin: 0 5px;
    line-height: 30px;
}

.line-2 .left .recommend .content .item .foot .foot-right .website:hover,
.line-2 .left .recommend .content .item .foot .foot-right .gift:hover {
    color: rgb(0, 133, 211);
}

.line-2 .left .recommend .content .item .foot .foot-right .start-game {
    display: inline-block;
    margin-left: 5px;
    padding: 5px 20px;
    color: #fff;
    background: rgb(237, 115, 13);
    border: none;
    outline: none;
}

/* 热门下载 */
.line-2 .right .hot {
    margin-left: 100px;
}

.line-2 .right .hot .content {
    margin-top: 20px;
}

.line-2 .right .hot .content .item {
    display: flex;
    margin-bottom: 20px;
}
.line-2 .right .hot .content .item .img {
    width: 75px;
}

.line-2 .right .hot .content .item .item-right {
    flex: 1;
    margin-left: 20px;
    position: relative;
}

.line-2 .right .hot .content .item .item-right p {
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-2 .right .hot .content .item .item-right .download-now {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid rgb(0, 133, 211);
    color: rgb(0, 133, 211);
}

.line-2 .right .hot .content .item .item-right .download-now:hover {
    color: #fff;
    background: rgb(0, 133, 211);
}

/* 合作伙伴 */
.line-3 .friend .content {
    margin-top: 10px;
}

.line-3 .friend .content .friend-link {
    padding: 5px 0;
    margin-right: 10px;
    line-height: 2;
}


/* login box */

.banner_img{
    background-image:url(../images/banner-home.png);
    width: 100%;
    min-width: 1140px;
    height: 300px;
    margin-top: auto;
}
.loginbox{
    z-index: 999;
    width: 350px;
    height: 300px;
    /*margin-top: -300px;*/
    /*margin-right: 20%;*/
    float: right;
    /*border: 1px solid red;*/
    padding-top: 20px;
}

.login {
  position: relative;
  margin: 0 auto;
  padding: 20px 20px 20px;
  width: 310px;
  background: white;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.login:before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  z-index: -1;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.login h1 {
  margin: -20px -20px 21px;
  line-height: 40px;
  font-size: 15px;
  font-weight: bold;
  color: #555;
  text-align: center;
  text-shadow: 0 1px white;
  background: #f3f3f3;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 3px 3px 0 0;
  background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
  background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
  -webkit-box-shadow: 0 1px whitesmoke;
  box-shadow: 0 1px whitesmoke;
}
.login p {
  margin: 20px 0 0;
}
.login p:first-child {
  margin-top: 0;
}
.login input[type=text], .login input[type=password] {
  width: 263px;
}
.login p.remember_me {
  float: left;
  line-height: 31px;
}
.login p.remember_me label {
  font-size: 12px;
  color: #777;
  cursor: pointer;
}
.login p.remember_me input {
  position: relative;
  bottom: 1px;
  margin-right: 4px;
  vertical-align: middle;
}
.login p.submit {
  text-align: right;
}

.login-help {
  margin: 20px 0;
  font-size: 11px;
  color: white;
  text-align: center;
  text-shadow: 0 1px #2a85a1;
}
.login-help a {
  color: #cce7fa;
  text-decoration: none;
}
.login-help a:hover {
  text-decoration: underline;
}

:-moz-placeholder {
  color: #c9c9c9 !important;
  font-size: 13px;
}

::-webkit-input-placeholder {
  color: #ccc;
  font-size: 13px;
}

input {
  font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
  font-size: 14px;
}

input[type=text], input[type=password] {
  margin: 5px;
  padding: 0 10px;
  width: 200px;
  height: 34px;
  color: #404040;
  background: white;
  border: 1px solid;
  border-color: #c4c4c4 #d1d1d1 #d4d4d4;
  border-radius: 2px;
  outline: 5px solid #eff4f7;
  -moz-outline-radius: 3px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}
input[type=text]:focus, input[type=password]:focus {
  border-color: #7dc9e2;
  outline-color: #dceefc;
  outline-offset: 0;
}

.regbtn,input[type=submit] {
  padding: 0 18px;
  height: 29px;
  font-size: 12px;
  font-weight: bold;
  color: #527881;
  text-shadow: 0 1px #e3f1f1;
  background: #cde5ef;
  border: 1px solid;
  border-color: #b4ccce #b3c0c8 #9eb9c2;
  border-radius: 16px;
  outline: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  background-image: -webkit-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: -moz-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: -o-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: linear-gradient(to bottom, #edf5f8, #cde5ef);
  -webkit-box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
}

input[type=submit]:active {
  background: #cde5ef;
  border-color: #9eb9c2 #b3c0c8 #b4ccce;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.lt-ie9 input[type=text], .lt-ie9 input[type=password] {
  line-height: 34px;
}