/*遊戲搜尋
==============*/
.game-search{
    margin: 55px auto 54px;
    background: #222;
    height: calc(100vh - -405px);
    color: #FFF;
}
.search-input{
    float: left;
    border-radius: 3px;
    height: 30px;
    line-height: 30px;
    border: none;
    outline: 0;
    text-indent: 10px;
    width: 100%;
    color: black;
}
.search-wrap{
    position: relative;
    z-index: 2;
    height: 44px;
    background: #2d2d2d;
    text-align: center;
    border-bottom: 2px solid #c6a45f;
    padding: 7px 10px;
}
.search-wrap i {
    color: black;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
}
.game-search h3{
    font-size: 19px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 5px;
    line-height: 44px;
    text-align: center;
    position: relative;
    background-color: #080808;
}
.game-search .search-list {
    display: inline-block;
    margin-top: 13px;
    margin-left: 8px;
}
.game-search img {
    float: left;
    width: 70px;
    margin: 17px 26px 17px 28px;
    border-radius: 15%;
}
.game-search .search-name {
    font-size: 18px;
    color: #FFF;
}
.game-search .search-class {
    font-size: 14px;
    color: #FFF;
}
/*棋牌遊戲
==============*/
.chess-group1 {
    position: relative;
    width: 100%;
    margin-top: 60px;
}
.chess-group1 .gameMenu .menuControll ul li {
    width: 200px;
}
/*遊戲選單*/
.game-app{
    position: relative;
    overflow: auto;
    height: 90vh;
    margin: 0 auto;
    width: 100%;
}
.game-nav {
    position: fixed;
    /*width: 100%;*/
    background-color: #07183e;
    z-index: 1;
    top: 54px;
    /*height: 80px;*/
}
.game-nav li{
    display: inline-block;
    height: 35px;
    margin: 5px 0px;
    border-radius: 4px;
}
.game-nav .nav-link a {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 36px;
    float: left;
    width: 150px;
}
.game-nav .nav-link a.active {
    background-color: rgb(189, 151, 83);
    color: #ffffff;
}
.dropdown-view .nav-link2 a {
    display: block;
    min-height: 30px;
    height: 30px;
    background: #eee;
    border: 1px solid #333;
    line-height: 200%;
    text-align: center;
    color: #666;
    border-radius: 5px;
}
.dropdown-view .nav-link2 a.active {
    background-color: #478ded;
    color: #ffffff;
	border: solid 1px #ff9a43;
}
.dropdown-view li a.active {
    color: #fff;
    background: #c83434;
	border: solid 1px #ff9a43;
}
.game-nav .nav-link a span {
    width: 50%;
    float: left;
}
.game-nav .nav-text-a {
    margin: 0 auto;
    font-size: 15px;
    text-align: left;
    text-overflow: ellipsis;
}
.game-nav .nav-text-b {
    margin: 0 auto;
    font-size: 12px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.game-nav .nav-text-g {
    margin-top: 19px;
    margin-left: 5px;
    width: 40%;
    float: left;
    font-size: 36px;
}
/*遊戲清單*/
.chess-game .game-list li {
    list-style: none;
    width: 31%;
    display: inline-block;
    margin: 1%;
    position: relative;
}
.chess-game .game-list li .game-favourite{
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../../../../tpl/common/images/icon/favourite_new.png);
    top: 0;
    right: 0;
    background-color: rgb(7, 44, 96);
    border-radius: 0px 0px 0px 25px;
}
.chess-game .game-list li .game-favourite-active{
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../../../../tpl/common/images/icon/favourite_new.png) no-repeat 0 -40px;
    top: 0;
    right: 0;
    background-color: rgb(220, 30, 30);
    border: 1px solid #f72c2c;
    border-radius: 0px 0px 0px 25px;
}
.chess-game .game-list li a {
    color: #eee;
    border: 0;
    display: inline-block;
    background: rgba(33, 115, 206, 0.6);
    padding: 5px;
    border-radius: 5px;
    float: left;
    width: 100%;
}
.chess-game .game-list li a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.chess-game .game-list li p {
    padding: 2px 2px;
    margin-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    font-size: 12px;
    min-height: 8px;
}
/*Game Nav*/
#myTab{
    width: 800px;
    overflow-x: scroll;
}
@media only screen and (max-width: 550px) {
    #myTab {
        width: 550px;
        overflow-x: scroll;
    }
    .game-nav .nav-link a {
        width: 122px;
        height: 45px;
    }
    .game-nav .nav-link a span {
        /*margin-top: 15px;*/
        margin-left: 0;
    }
    .game-nav .nav-text-g {
        margin-top: 12px;
        margin-left: 5px;
        font-size: 20px;
    }
    .game-nav .nav-text-b {
        display: none;
    }
    .game-nav {
        height: 44px;
    }
}

/*筛选器*/
.flex-head {
    color: #fff;
    width: 100vw;
}

.dropdown-left {
    background: #ffec9d;
    color: #031f51;
    box-shadow: inset 1px 1px 0px #fff6d0, inset -1px -1px 0px #ba8044;
    border: solid 1px #ffec9d;
    box-sizing: border-box;
    display: inline-block;
    width: 30%;
    text-align: center;
    margin-left: 1%;
    padding: 10px 0;
    border-radius: 3px;
    font-size: 14px;
}
.flex-right {
    background-color: #fff;
    border: 0;
    display: inline-block;
    width: 65%;
    padding: 10px 0;
    position: relative;
    margin-top: 65px;
    border-radius: 3px;
}
.flex-right.margin-top-5{
    margin-top: 5px;
}
.flex-right input.gamesearch {
    background: transparent;
    border: 0;
    color: #111;
    padding: 0 0 0 15px;
    margin-left: 15px;
    width: 80%;
}
.flex-right i {
    float: right;
    display: inline-block;
    padding-top: 2px;
    padding-right: 10px;
    color: #000;
}
.dropdown-view {
    background: rgba(0, 0, 0, 0.8);
    border: 0;
    width: 100vw;
    display: block;
    float: left;
    position: absolute;
    z-index: 100;
    overflow: auto;
}
#gameSearch .modal-body {
    background: #eee;
    border-radius: 5px;
}
#gameSearch h3 {
    color: #333;
    border-bottom: 1px solid #d4d4d4;
    box-shadow: 0 1px 0 #fff;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 1rem;
}
#gameSearch li {
    display: inline-block;
    margin: 0 0 5px 0;
    padding: 0 7px;
    width: 33.33%;
    box-sizing: border-box;
}
#gameSearch li a {
    display: block;
    min-height:30px;
    height: 30px;
    background: #eee;
    border: 1px solid #eee;
    line-height: 200%;
    text-align: center;
    color: #666;
    border-radius: 5px;
}
#gameSearch li a.active {
    color: #fff;
    background: #c83434;
}
#platform li:active a,#platform li:focus a,
#payline li:active a,#payline li:focus a,
#game-type li:active a,#game-type li:focus a {
    color: #fff;
    background: #c83434;
}
#platform li.active3,#payline li.active1,#game-type li.active2 {
    background: rgb(239, 197, 108);
    border: 1px solid #d8b975;
    color: #fff;
}
.space_border_wrap {
    display: inline-block;
    height: 1px;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 5px;
}
.btn-wrap {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
}
.btn-wrap .btn02 {
    width: 100%;
    height: 44px;
    line-height: 44px;
    background: #98171b;
    color: #fff;
    box-shadow: inset 0px 1px 0px #c97b7b, inset 0px -1px 0px #5f0706;
    border: solid 1px #ff0000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
}
.black-board {
    background-color: transparent;
    display: none;
    width:100%;
    height:100%;
    position: fixed;
    top:0;
    z-index: 99;
}
/*Game View*/
@media only screen and (min-width: 1024px) {
    .chess-game .game-list li {
        width:18%;
        display: inline-block;
    }
    .game-app {
        padding-top: 65px;
        height: 100vh;
        overflow: scroll;
    }
}
@media only screen and (min-width:768px) and (max-width: 1023px) {
    .chess-game .game-list li {
        width:23%;
        display: inline-block;
    }
    .game-app {
        padding-top: 65px;
        height: 100vh;
        overflow: scroll;
    }
}
@media only screen and (min-width: 551px) and (max-width:767px) {
    .chess-game ul {
        margin-bottom: 22px;
    }
    .chess-game .game-list li {
        width:30%;
        display: inline-block;
        /*float: left;*/
    }
    .game-app {
        overflow: scroll;
    }
}
@media only screen and (max-width:550px) {
    .game-app {
        padding-top:70px;
    }
}