/* 棋盤遊戲 */

.chess-game .chess-gameHeader{
    width: 1190px;
    min-width: 100%;
    position: relative;
    /*height: 1000px;*/
}
.chess-game .chess-gameHeader .chess-containter{
    width: 1200px;
    margin: 0 auto;
}
.chess-wrapper{
    z-index: 3;
    width: 1153px;
    position: relative;
    background-color: white;
    margin-top: var(--chess-wrapper-mt, 247px);
}
.game-content{
    margin-right: auto;
    margin-left: var(--chess-game-content-ml, -5px);
   padding: 5px;
    width: 1200px;
}
/*輪播圖
==============*/
.chess-game .chess-gameHeader .chess-slider{
    position: relative;
}
.chess-game .chess-gameHeader .chess-slider .slider-box{
    height: 200px;
    width: 819px;
    float: left;
}
ol.carousel-indicators {
    display: none;
}
.chess-slider .carousel-inner .text-center img {
    width: 819px;
    height: 200px;
}
/*獎池
==============*/
.chess-game .chess-gameHeader .chess-pool{
    width: 200px;
    float: left;
    position: relative;
}
.chess-game .chess-gameHeader .chess-pool .gameGif {
    background: url(../../../images/GameC/Common/gameGif.gif) no-repeat ;
    width: 171px;
    height: 128px;
    position: absolute;
    top: 53px;
    left: 18px;
    z-index: 0;
}
.chess-game .chess-gameHeader .chess-pool .reward-wrap{
    width: 334px;
    float: left;
    height: 200px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 65px 5px 0;
    background: url(../../../images/GameC/Common/jackpot.png) no-repeat ;
    position: relative;
    z-index:1;
}
.chess-game .chess-gameHeader .chess-pool .reward-wrap .reward{
    display: none;
    height: 45px;
    width: 325px;
    padding: 6px;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px dashed #fff;
    background-color: #fdc534;
}
.chess-game .chess-gameHeader .chess-pool .reward-wrap .reward dd{
    width: 18px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #d3570c;
    display: block;
    float: left;
    margin: 0 2px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 3px;
    font-size: 20px;
}
/*選單切換
==============*/
.chess-game .chess-gameHeader .chess-menu{
    width: 100%;
    display: block;
    /*margin-top: 551px;*/
}
.chess-game .chess-gameHeader .chess-menu-panel{
    display: block;
    position: relative;
    background-color: var(--chess-menu-bgcolor, #3d3d3d);
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li {
    width: 11.1%;
    height: 60px;
    text-align: center;
    float: left;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li:nth-child(9n) {
    border-right: 0px;
}
/*我的最愛*/
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li .favouritestar{
    width: 90px;
    height: 20px;
    background: url(../../images/chessgame/common/favorites_icon.png) 0 0 no-repeat;
    background-size: contain;
    margin: 0 auto;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li a{
    display: inline-block;
    width: 100%;
    color: var(--chess-list-color, #fff);
    height: 59px;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li a.active {
    background-color: var(--chess-list-active-bgcolor, #f7f7f7);
    color: var(--chess-list-active-color, #224c74) !important;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li a.fav{
    padding: 17px 1px;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li a.fav2{
    padding: 20px 1px;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li h1{
    font-size: 20px;
    font-weight: inherit;
    /* line-height: 60px; */
    display: block;
    margin-top: var(--chess-menu-panel-mt, 18px);
    margin-bottom: var(--chess-menu-panel-mb, 0px);
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li h2{
    font-size: 16px;
    line-height: 20px;
    float: right;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li h1.mw-title{
    font-size: 20px;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li span{
    display: block;
    float: left;
    height: 30px;
    display: none;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li span p{
    display: block;
    float: left;
}
.chess-game .chess-gameHeader .chess-menu-panel .panel-ul li span b{
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    display: block;
    font-weight: inherit;
    text-align: left;
}
.chess-game .chess-gameHeader .chess-menu-panel .chess-hvr{
    display: inline-block;
    /*vertical-align: middle;*/
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.chess-game .chess-gameHeader .chess-menu-panel .chess-hvr:hover:before{
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.chess-game .chess-gameHeader .chess-menu-panel .chess-hvr:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.5);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
/*搜尋遊戲
==============*/
.chess-game .chess-gameHeader .chess-search{
    display: block;
    position: relative;
    padding: 5px 20px 35px;
    overflow: auto;
    background-color: #f7f7f7;
    border-top: 1px solid #456684;
    border: 0;
}
.chess-game .chess-gameHeader .chess-search-bar{
    width: 100%;
    height: 46px;
    float: right;
    padding: 15px 0;
    /*border-bottom: 1px dashed #fff;*/
}
.chess-game .chess-gameHeader .chess-search-bar .chess-search-lab{
    margin-top: 5px;
    margin-right: 30px;
    float: left;
    color: #4d4d4d;
}
.chess-game .chess-gameHeader .chess-search-bar input{
    width: 282px;
    margin-top: -3px;
    padding: 5px 20px;
    border: 1px solid #dddddd;
    border-radius: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #4d4d4d;
    background-color: #fff;
}
.chess-game .chess-gameHeader .searchbtn:focus{
    outline: none;
}
.chess-game .chess-gameHeader .searchbtn{
    position: relative;
    left: -3%;
    border: none;
    background-color: rgba(0,0,0,0);
    cursor: default;
    color: #4d4d4d;
}
.chess-game .chess-gameHeader .resetbtn{
    cursor:pointer;
}
.chess-game .chess-gameHeader .chess-search-bar .chess-search-btn{
    background: #ff8400;
    color: #fff;
    font-weight: bold;
    padding: 7px 39px;
    border-radius: 7px;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    border: 0;
    transition: .3s all;
}
.chess-game .chess-gameHeader .chess-search-bar .chess-search-btn:hover{
    background-color: #bc0304;
}
.chess-game .chess-gameHeader .chess-search-bar .chess-findicon{
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 33px;
    left: 373px;
    background-image: url(../../images/chessgame/common/search_icon.png);
    cursor: pointer;
}
/*篩選遊戲
==============*/
.chess-game .chess-gameHeader .chess-filter-wrap{
    float: left;
    width: 100%;
    height: 50px;
}
.chess-game .chess-gameHeader .chess-filter-wrap .chess-wrap-div{
    float: right;
    padding-left: 10px;
    /*border-left: 1px dashed #fff;*/
}
.chess-game .chess-gameHeader .chess-filter-wrap .chess-wrap-btn{
    background: url("http://qy862.com/images/ptnew/ptClientDownloadBtn.png");
    width: 121px;
    height: 121px;
    display: inline-block;
    padding: 0px;
    margin-top: 10px;
    border: 0;
}
.chess-game .chess-gameHeader .chess-filter-wrap .chess-div-top{
    margin-top: 15px;
}
.chess-game .chess-gameHeader .chess-filter-wrap dl{
    height: 32px;
}
.chess-game .chess-gameHeader .chess-filter-wrap dt{
    float: left;
    margin-right: 18px;
    width: 71px;
    color: #4D4D4D;
}
.chess-game .chess-gameHeader .chess-filter-wrap dd a{
    display: inline-block;
    cursor: pointer;
    margin: 0 7px;
    padding: 0 7px;
    line-height: 1.3;
    height: 23px;
    color: #4d4d4d;
}
.chess-game .chess-gameHeader .chess-filter-wrap dd .active{
    background: var(--chess-filter-active-bgcolor, #224c74);
    color: var(--chess-filter-active-color, #fff);
    border-radius: 3px;
}
.chess-game .chess-gameHeader .chess-filter-wrap li{
    font-size: 14px;
    color: #333;
    float: left;
    margin-top: 4px;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #ddd;
    cursor: pointer;
    margin-left: 3px;
}
.chess-game .chess-gameHeader .chess-filter-wrap li:hover{
    color: #c83434;
    border: solid 1px #c83443;
}
.chess-game .chess-gameHeader .chess-filter-wrap li.active{
    color: #fff;
    background: #c83434;
    float: left;
    margin-top: 4px;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #ddd;
    cursor: pointer;
    font-size: 14px;
}



/* region 遊戲清單排版 */

/* 棋盤遊戲tab */
.gametab .game-grid{
    margin-bottom: 30px;
}
#myTabContent .tab-pane{
}
.gametab .game-grid ul li{
    float: left;
    margin: 15px 7px;
    width: 220px;
    height: 200px;
    border-radius: 5px;
    position: relative;
}
.gametab .game-grid ul li .game-box{
    border: 3px solid #000;
    background-color: rgba(0, 0, 0, .9);
    text-align: center;
    height: 220px;
    position: relative;
    display: block;
    overflow: hidden;
}
/*滑入遮罩
==============*/
.gametab .game-grid ul li .hvr-out:before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    border-radius: 5px 5px 0px 0px;
}
.gametab .game-grid ul li .hvr-out{
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.gametab .game-grid ul li .game-hover{
    background: rgba(0, 0, 0, 0.8);
    display: none;
    position: absolute;
    z-index: 4;
    height: 170px;
    width: 100%;
    padding: 30px 20px;
    top: 0;
    left: 0;
    -webkit-animation: fadeIn 300ms ease;
    -moz-animation: fadeIn 300ms ease;
    -ms-animation: fadeIn 300ms ease;
}
.gametab .game-grid ul li:hover .game-hover{
    display: block;
}
.chess-game .hvr-out a:first-child {
    background: #0088fe!important;
    color: #fff!important;
}
.gametab .game-grid ul li .game-title {
    position: absolute;
    bottom: 0;
    left: 0px;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    z-index: 5;
    padding: 10px;
    padding-bottom: 10px;
    letter-spacing: 2px;
}
.gametab .game-grid ul li .game-name{
    font-size: 14px;
    color: #fff;
    line-height: 14px;
    text-align: center;
    /*float: left;*/
    margin: 5px 0;
}
.gametab .game-grid ul li .game-name sub {
    color: #a9a9a9;
    font-size: 14px;
}
.gametab .game-grid ul li .game-fraction{
    font-size: 36px;
    line-height: 1.2;
    color: #fb9b08;
    float: right;
    letter-spacing: 0;
    font-weight: normal;
    display: none;
}
.gametab .game-grid ul li .game-favourite{
    background: url(../../images/elegame/common/favourite_new.png) no-repeat 0 0;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.gametab .game-grid ul li .game-favourite-active{
    background: url(../../images/elegame/common/favourite_new.png) no-repeat 0 -40px;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.gametab .game-grid ul li .game-favourite:hover{ background-position:0 -40px;}
/*按鈕
==============*/
.gametab .game-grid .btn-play {
    color: #fff;
    background-color: #304268;
    border: 0;
    padding: 10px 0;
    margin-bottom: 35px;
    transition: all .3s;
    opacity: .8;
    margin-top: 40px;
}
.gametab .game-grid .btn-play:hover {
    -ms-filter: brightness(120%);
    filter: brightness(120%);
    opacity: 1;
}

/* endregion 遊戲清單排版 */