* {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Microsoft Yahei';
    background-color: #b5b5b5;
    margin-bottom: 80px;
}
a {
    text-decoration: none;
}
ul,li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.clear {
    clear: both;
}
.wrap {
    width: 1700px;
    margin: 0 auto;
}

header {
    height: 70px;
    background: url("../images/header_bg.png") repeat-x 0 0 ;
}
nav {
    width: 1700px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.menu-items {
    list-style: none;
    height: 70px;
    padding: 0;
    margin: 0;
    display:flex;
    justify-content: space-between;
    align-items:stretch;
}
.menu-items > li {
    padding-top: 20px;
    margin: 0 20px;
    display: flex;
    justify-content: center;

}
.menu-items > li > a {
    color: #2f4056;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease 0.2s;

}
.menu-items > li > a:hover, .menu-items > li > a.active {
    color: #d91d20 ;
}
.menu-items > li > a > span {
    display: block;
    text-align: center;
}
.menu-items > li > a >span.menu-item-cn {
    font-size: 20px;
    font-weight: 600;
}
.menu-items > li > a > span.menu-item-en {
    font-size: 12px;
    padding-top: 10px;
}
.ad {
    background: url('../images/bg1.jpg') #1a1309 no-repeat 0 0;
    height: 739px;
}
.p-re {
    position: relative;
}
.game-box {
    width: 217px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 120px;
}
.sign {
    width: 340px;
    height: 350px;
    background: url("../images/sign_box2.png") no-repeat 0 0;
    position: absolute;
    top: 370px;
    left: 75px;
}
.btn-sign {
    display: none;
    background-color: #ff6600;
    color: #FFF;
    font-size: 22px;
    /*font-weight: bold;*/
    padding: 3px 60px;
    text-decoration: none;
    border-radius: 30px;
    letter-spacing: 5px;
    position: absolute;
    bottom:40px;
    left: 90px;
}
.user-center {
    position: absolute;
    width: 1350px;
    height: 280px;
    padding: 30px 60px 0 60px;
    background: url("../images/user_center.png") no-repeat 0 0;
    top: 440px;
    left: 450px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.user-center > .user-center-item {
    text-align: center;
    padding-top: 30px;
    width: 280px;
    margin-top: 10px;
}

.user-center >  .user-center-item > h2 {
    font-weight: 600;
    font-size: 24px;
}
.summary{font-size: 16px;margin-top: 30px;}
.user-center  .btn-user-center {
    padding: 5px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #e02627;
    margin-top: 30px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #e02627;
    display: inline-block;
}
.user-center  .btn-user-center:hover{
    color: #ffffff;
    border-color: #ffffff;
    background-color: #e02627;
}
.user-center  .btn-user-center.btn-scan {
    color: #FFF;
    background-color: #e02627;
    border-color: #FFF;
    border-radius: 30px;
}
.user-center  .btn-user-center.btn-scan:hover{
    color: red;
    background-color: #ffffff;
    border-color: red;
}
.search {
    margin-top: 30px;
    padding: 10px 80px 10px 30px;
    border-radius: 5px;
    background-color: #ededed;
    display: flex;
    justify-content:space-between ;
}
.switch-tab {
    width: 200px;
    display: flex;
    justify-content: space-between;
}
.switch-tab > a {
    font-size: 20px;
    font-weight: 600;
    color: #684f39;
    text-decoration: none;
    display: block;
    cursor: pointer;
    padding-bottom: 5px;
    
}
.switch-tab > a.active, .switch-tab > a:hover{
    border-bottom: solid 5px #000;
    color: #000;
}
.hot-key {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hot-key > a {
    display: block;
    cursor: pointer;
    color:#382616;
    font-size:15px;
    border:1px solid #382616;
    padding: 5px 20px;
    margin: 0 5px;
     border-radius: 20px; 
    text-decoration: none;
}
.hot-key > a:hover{
    background: #e4bebe!important;
}
.key-active{
    background: #e4bebe!important;
}
.switch-box {
    margin-top: 5px;
}
.switch-box-item {
    display: none;
}
.switch-box-item.active {
    display: block;
}
.games {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fill, 330px);
    grid-gap: 10px;
}

.games a {
    text-decoration: none;
}
.game-item {
    width: 330px;
    border-radius: 3px;
    border: 1px solid #FFF;
    overflow: hidden;
    background: #FFFFFF;
}

.game-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 200px;
    transition: all 0.6s;
    border: 0; 
    flex-shrink: 0;
}
.game-image:hover{
    transform: scale(1.2);
}

.game-bottom {
    background-color: #FFF;
    padding: 10px;
}
.game-info {
    display: flex;
    justify-content: space-between;
}
.game-title {
    font-size: 16px;    
    font-weight: bold;
}
.game-title > a {
    color: #000;
}
.game-btns {
    display: flex;
    justify-content: space-between;
    text-align: right;
}
.game-ver {
    font-size: 12px; 
    color: #2a2a2a;
    padding: 10px 0;
}
.game-ver  > a{
    color: #2a2a2a;
}
.game-desc {
    font-size: 17px;
    color: red;
    border-top: 1px solid #ebebeb;
    padding-top: 5px;
    font-weight:600;
}

.game-btns {
    display: flex;
    justify-content: space-between;
}
.game-fav {
    width: 28px;
    height: 28px;
    background-image: url(../images/fav1.png);
    background-repeat: no-repeat;
    cursor: pointer;    
}
.game-fav:hover {
    background-image: url(../images/fav2.png);
}
.game-gift {
    width: 28px;
    height: 28px;
    background-image: url(../images/gift0.png);
    background-repeat: no-repeat;
    cursor: pointer;
    margin: 0 10px;
}
.game-gift:hover {
    background-image: url(../images/gift1.png);
}
.game-gift-btn {
    height: 28px;
    width: 74px;
    background-image: url(../images/welfare0.png);
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    border: none;
    color: #FFF;
}
.game-gift-btn:hover {
    background-image: url(../images/welfare1.png);
    cursor: pointer;
}
.game-table {
    background-color: #FFF;
    border-top: 1px solid #333333;
    border-left: 1px solid #333333;
    font-size: 12px;
    border-collapse: collapse;
    padding: 0;
}
.game-table a{
    text-decoration: none;
    color:#000
}
.game-table td, .game-table th {
    text-align: center;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px 0;

} 
.game-table th {
    background-color: #f0f0f0;
}
.game-table tr:hover td {
    background-color: #ffe999;
}

.charge {
    color: #733D22; 
    cursor: pointer;
    width: 70px;
    height: 20px;
    border: 1px solid #733D22;
    border-radius: 10px;
    display: inline-block;
    line-height: 20px;
}
footer {
    margin-top: 50px;
}

footer > .copyright {
    line-height: 30px;
    color: #FFF;
    font-size: 15px;
    text-align: center;
}
footer > .copyright >p{
    margin: 10px;
}
footer > .footer-logo {
    display: flex;
    justify-content: center;
    
}
footer > .footer-logo > .logo-item {
    display: flex;
    justify-content: space-between;
    border: 1px solid #CCC;
    border-radius: 5px;
    background-color:#FFF;
    margin: 0 15px;
    padding: 10px;
  
}
footer > .footer-logo > .logo-item > .logo-image {
    width: 42px;
    height: 43px;
    border: 0;
    margin-right: 10px;
}
footer > .footer-logo > .logo-item > .logo-text {
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
}

.goto-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2f4056;
    color: #ffc83d;
    position: fixed;
    right: 15px;
    bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.is-active > a > span {
    color: #ffee00!important;
}
 .tc h1 {
	text-align: center;
	padding: 20px 0 10px;
	color: red;
	font-size: 26px;
}
 .tc p {
	padding: 0 0 0 80px;
	margin-bottom: 15px;
	font-size: 14px;
}
.search-input {
    position: relative;
}
.search-key {
    background-color: transparent;
    border: 1px solid #382616;
    border-radius: 20px;  
    padding: 7px 20px;
    outline:none;
    color: #382616;
}
.search-btn {
    background-color: transparent;
    background-image: url(../images/search.png) ;
    background-repeat: no-repeat;
    background-position:  center center;
    position: absolute;
    top: 2px;
    right: 10px;
    border: none;
    width: 18px;
    height: 30px;
    cursor: pointer;
}
.game-cover:hover .game-download{
  display: inline-block;
}
.game-download {
 width: 28px;
     height: 28px;
     cursor: pointer;
     background: url(../images/download1.png);
     position: absolute;
     z-index: 999;
     top:2px;
     left: 2px;
	 display: none;
}
.game-download:hover{
     width: 28px;
     height: 28px;
     cursor: pointer;
     background: url(../images/download0.png);
     position: absolute;
     z-index: 999;
}
.yqtg{
    height:140px;width: 238px;background:url(../images/tj_bg.png);position: relative;top: 0px;cursor: pointer;border-radius:5px;left: 4px;
}
.roll3{
    height:280px;width:300px;
}
.roll3 img{
    height:90px;width:290px;padding-top: 5px;
}
.roll3 img:hover{
      animation: ring 1.5s linear 1;
}
@-webkit-keyframes tada {
    0% {-webkit-transform: scale(1);}
    10%, 20% {-webkit-transform: scale(0.9) rotate(-9deg);}
    30%, 50%, 70%, 90% {-webkit-transform: scale(1) rotate(9deg);}
    40%, 60%, 80% {-webkit-transform: scale(1) rotate(-9deg);}
    100% {-webkit-transform: scale(1) rotate(0);}
}
@keyframes tada {
    0% {transform: scale(1);}
    10%, 20% {transform: scale(0.9) rotate(-9deg);}
    30%, 50%, 70%, 90% {transform: scale(1) rotate(9deg);}
    40%, 60%, 80% {transform: scale(1) rotate(-9deg);}
    100% {transform: scale(1) rotate(0);}
}
/* 震铃 */
@-webkit-keyframes ring{
    0%{-webkit-transform:scale(1);}
    10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);}
    30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);}
    40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);}
    100%{-webkit-transform:scale(1) rotate(0);}
}
@-moz-keyframes ring{
    0%{-moz-transform:scale(1);}
    10%,20%{-moz-transform:scale(0.9) rotate(-3deg);}
    30%,50%,70%,90%{-moz-transform:scale(1.1) rotate(3deg);}
    40%,60%,80%{-moz-transform:scale(1.1) rotate(-3deg);}
    100%{-moz-transform:scale(1) rotate(0);}
}
@-ms-keyframes ring{
    0%{-ms-transform:scale(1);}
    10%,20%{-ms-transform:scale(0.9) rotate(-3deg);}
    30%,50%,70%,90%{-ms-transform:scale(1.1) rotate(3deg);}
    40%,60%,80%{-ms-transform:scale(1.1) rotate(-3deg);}
    100%{-ms-transform:scale(1) rotate(0);}
}
@keyframes ring{
    0%{transform:scale(1);}
    10%,20%{transform:scale(0.9) rotate(-3deg);}
    30%,50%,70%,90%{transform:scale(1.1) rotate(3deg);}
    40%,60%,80%{transform:scale(1.1) rotate(-3deg);}
    100%{transform:scale(1) rotate(0);}
}
.layui-btn-xs {
    line-height: 21px;
}
.right-tag-new{
    background-image: url(../images/new.png);
    position: absolute;
    right: 0;
    top: 0;
    width: 76px;
    height: 76px;
    background-repeat: no-repeat;
    background-position: 100% 0;
}
.right-tag-hot{
    background-image: url(../images/hot.png);
    position: absolute;
    right: 0;
    top: 0;
    width: 76px;
    height: 76px;
    background-repeat: no-repeat;
    background-position: 100% 0;
}