.cgslot-nav {
    width: 1000px;
    height: auto;
    background: #343535;
    border-bottom: 5px solid #202020;
    margin: 0 auto;
}
.cgslot-nav ul {
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cgslot-nav li {
    float: left;
    border-left: 1px solid #202020;
    border-right: 1px solid #444444;
    border-bottom: 1px solid #202020;
    border-top: 1px solid #444444;
    height: 40px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    line-height: 40px;
    color: #fff;
    width:125px;
    font-family: microsoft yahei;
    position:relative;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}
.cgslot-nav li.on {
    background: #F39800;
}

.cgslot-nav li:hover {
    background: #F39800;
}
.cgslot-nav li .hot{
    position:absolute;
    top:2px;
    
}
.cgslot-container{
    width: 1000px;
    margin: 0 auto;
    background: #333333;
}
.cgslot-header,.cgslot-bar,.cgslot-body{
    width: 100%;
    background: #121212;
    overflow: hidden;
}
.cgslot-warp{
    position: relative;
    width: 800px;
    margin: 0 auto;
    text-align:left;
}
.cgslot-logo{
    *min-width: 288px;
    height: 58px;
    display: none;
    margin: 20px auto 20px 0;
    float:left;
}
.cgslot-search{
    position: absolute;
    top: 40px;
    right: 0;
    display: block;
    width: 210px;
    height: 30px;
    padding: 1px 0 1px 10px;
    background: url('search.png') no-repeat;
}
.cgslot-search:hover{
    position: absolute;
    top: 40px;
    right: 0;
    display: block;
    width: 210px;
    height: 30px;
    padding: 1px 0 1px 10px;
    background: url('search.png') no-repeat;
}
.cgslot-search input {
    width: 165px;
    height: 28px;
    color: #333;
    font-family: 'Microsoft YaHei', Arial;
    font-size: 14px;
    line-height: 28px;
    border: none;
    outline: none;
    box-sizing: border-box;
}
.cgslot-search button {
    width: 30px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    vertical-align: top;
}
.cgslot-filtertitle{
    font-size: 12px;
    color: #fff;
    line-height: 30px;
    display: inline-block;
}
.cgslot-bar{
    padding: 8px 0;
    background-color: #000;
}
.cgslot-filter{
    display: inline-block;
    margin: 0;
    padding: 0;
	vertical-align: bottom;
}
.cgslot-filter li{
    display: inline-block;
    width: 70px;
    height: 30px;
    margin-right: 5px;
    color: #fff;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}
.cgslot-filter li:hover,.cgslot-filter li.active{
    background-color: #333;
}
.cgslot-gamelist{
    width: 800px;
    min-height: 824px;
    margin: 10px 0 20px;
    text-align: left;
}
.cgslot-gamelist .gameitem{
    display: inline-block;
    width: 152px;
    margin: 10px 4px;
    border: 3px solid #333;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}
.cgslot-gamelist .gameitem .gameicon{
    display: block;
    width: 146px;
    height: 146px;
    background-size: 146px 146px;
}
.cgslot-gamelist .gameitem .gameicon.biggame{
    height: 189px;
    background-size: 146px 189px;
}
.cgslot-gamelist .gameitem .gameicon.MG{
    background-size: auto;
    background-position:0;
}
.cgslot-gamelist .gameitem .gametitle{
    display: block;
    color: #afafaf;
    font-size: 15px;
    line-height: 34px;
    text-align: center;
    background-color: #333;
    height: 34px;
    overflow: hidden;
}
.gamemask{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.gamemask a{
    width: 100px;
    height: 30px;
    line-height: 30px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}
.gamemask .realgame{
    background: #0297da;
    color: #fff;
}
.gamemask .realgame:hover{
    background: #33bdfd;
}
.gamemask .testgame{
    background: #ccc;
    color: #111;
}
.gamemask .testgame:hover{
    background: #f1f1f1;
}
.cgslot-gamelist .gameitem:hover{
    border: 3px solid #0297da;
}
.cgslot-gamelist .gameitem:hover .gamemask{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cgslot-pageing{text-align: center;}
.cgslot-page{margin:0 auto 20px;}
.cgslot-page li {
    display: inline-block;
    padding: 0 10px;
    color: #999;
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    background-color: #000;
    border: 1px solid #212121;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    margin: 0 2px;
}
.cgslot-page li:hover {
    border: 1px solid #000;
    background-color: #212121;
    color: #fff;
}
.cgslot-page li.currpage{
    background: #212121;
    border: 1px solid transparent;
    color: #fff;
    box-shadow: inset 0px 0px 4px 0px #000;
}
.cgslot-page li.totalpage{
    background: none;
    border: 0;
    color: #999;
}