﻿.poker-box {
    width: 1000px;
    margin: 0 auto;
    margin-top: 8px;
    overflow: hidden;
    min-height:663px;
}
.poker-side {
    width: 210px;
    float: left;
    background: #171717;
    box-sizing: border-box;
    padding: 10px;
}
.poker-list {
    position: relative;
    min-height: 480px;
    overflow:hidden;
    width:780px;
    float:right;
}
.poker-item {
    background: rgba(44, 44, 44, 0.1);
    box-sizing: border-box;
    width: 184px;
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    -o-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transition: transform 0.5s, top 0.5s, left 0.5s;
    -moz-transition: transform 0.5s, top 0.5s, left 0.5s;
    -webkit-transition: transform 0.5s, top 0.5s, left 0.5s;
    -o-transition: transform 0.5s, top 0.5s, left 0.5s;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background: #171717;
}
.poker-item:nth-child(4n){
    margin-right:0;
}
.mask-wrap {
    position: relative;
    display: block;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.mask-wrap:before, .mask-after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    opacity: 0;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.mask-wrap:before {
    background: #29e5c1;
    background: linear-gradient(135deg, #29e5c1 0%, #28bbcb 50%, #2772dc 100%);
    height: 100%;
}

.mask-after {
    content: '进入游戏';
    top: 29%;
    z-index: 1;
    line-height: 20px;
    text-align: center;
    letter-spacing: 1px;
    font-size: 18px;
    color: #FFF;
    background: url('bordergame_play_icon.png') center top no-repeat;
    background-size: 28.88% auto;
    padding-top: 38%;
}

.poker-item:hover .mask-after, .poker-item:hover .mask-wrap:before, .mask-wrap:hover:after, .mask-wrap:hover:before {
    opacity: 0.9;
}

.poker-item img {
    width:128px;
    height:128px;
    margin: 20px auto;
}

.poker-item-bottom {
    display: block;
    background: #DDD;
    background: rgba(58, 61, 63, 0.3);
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: #FFF;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    white-space: nowrap;
}

.poker-item-bottom .title {
    padding: 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    white-space: nowrap;
}

.poker-title {
    text-align: center;
    height: 70px;
}

.poker-title:after {
    display: inline-block;
    width: 0;
    height: 100%;
    content: "center";
    vertical-align: middle;
    overflow: hidden;
}

.poker-title img {
    vertical-align: middle;
}

.poker-menu li {
    display: block;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    background: #222;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.25s;
}

.poker-menu li:last-child {
    /*margin-bottom: 0;*/
}

.poker-menu li.active {
    background: #ad8551;
}

.poker-menu li:hover{
    background:#444;
}

.poker-menu li.active:hover {
    background: #ad8551;
}

.poker-menu li .img {
    margin-right: 10px;
    height: 48px;
    float: left;
    text-align: center;
    font-size: 0;
    margin-left: 20px;
}

.poker-menu li .img img {
    width: 40px;
    vertical-align: middle
}

.poker-menu li .img:after {
    display: inline-block;
    width: 0;
    height: 100%;
    content: "center";
    vertical-align: middle;
    overflow: hidden;
}

.poker-menu li .txt {
    float: left;
}

.poker-menu li span {
    display: block;
    text-align: left;
    line-height: 22px;
}