body{
    max-width: 900px;
    margin: auto;
    background-color: #f2f4f6;
}
.img-thumbnail {border: none;}
.nav-link {padding:0.5rem;display: inline-block}
.nav-tabs {border-bottom: none;}
.recommend {margin: 8px auto 0 auto;}
h5 {color: #555;padding: 8px 0;font-size:20px;font-weight: bold;}
input#keyword::-webkit-input-placeholder {color: lightgray}
input#keyword::-moz-placeholder {color: lightgray}
input#keyword::-ms-input-placeholder {color: lightgray}
.top {
    width:100%;
    zoom:1;
    overflow:auto;
    position:relative;
    overflow: hidden;
}
.top:after{zoom: 1;overflow:auto;}
.topImg {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.dark, .dark h5{background: #1a202c;color: #c6c9cf}
.pdn {padding:2px;margin-top: 6px;}
.game-cell,.ft12 {font-size: 14px;}
.game-box {margin: 5px 0 5px 15px}
.nomarginlr {margin: 5px 0;background-color: #fff;border-radius: 8px;}
.downloadArea {width: 100%}
.pd10 {padding-left: 4px;padding-right: 4px;}
.game-detail-p {font-size:0.8rem;}
.pline {margin-bottom: 2px;height: 18px;line-height: 18px; text-overflow:ellipsis;overflow: hidden;white-space: nowrap;}
.pline2 {margin-bottom: 2px;height: 18px;line-height: 18px; }
.left-text {/*position: relative;*/text-align: center;margin:10px auto;}
.gamedetail {cursor:pointer;margin-bottom: 10px;top: 0; transition: top 0.1s ease-out;}
.gamedetail:hover {top:-4px;}
.gamedetail:hover .left-text-title{color: #7d84ff;}
.nav-bar{font-size: 13px;}
.card-body{padding:0.5rem 0.2rem;margin-bottom: 8px;}
.noticebar {padding: 0 2rem;background:lightgray;}
.hot-icon::before,.new-icon::before,.recommend-icon::before,.bottom-icon::before,.game-icon::before {
    content:' '; width:25px;height: 25px;
}

.layui-fixbar li{margin-bottom:2px;}

@media (max-device-width: 500px) {
    .top {}
    .carousel-cell {
        width: 44%;
        margin-right: 10px;
        border-radius: 5px;
    }
    .carousel-hot-cell,.detailArea {
        width: 16%;
        margin-right: 10px;
        border-radius: 5px;
    }
    .layui-fixbar li {zoom: 0.6}
    .left-text{top:20%}
    /*.game-cell {flex:1 0 62%;max-width: 62%;}*/
    .title-memo {position: relative;top:-2px;}
    .search-area {padding: 30px 30px 0 30px;}
}

.input-group>input.search-input {
    background: rgba(0,0,0, 0.5);
    height: 30px;
    width: 100%;
    line-height: 30px;
    color: white;
    font-size: 13px;
    border-radius: 20px;}
.search-bar {position: absolute;right: 30px; height: 30px;line-height: 30px;border-radius: 20px;}
.search-bar span {background:rgba(0,0,0,0);border-radius: 20px;color:white;border: none;z-index: 3;cursor: pointer}
@media (min-device-width: 500px) {
    .carousel-cell {
        width: 30%;
        margin-right: 10px;
        border-radius: 5px;
    }
    .carousel-hot-cell,.detailArea {
        width: 9.5%;
        margin-right: 10px;
        border-radius: 5px;
    }
    .left-text{top:20%}
    /*.gamedetail {flex: 0 0 25%;max-width: 25%}*/
    /*.game-cell {flex:1 0 62%;max-width: 62%;}*/
    .search-area {padding: 30px 30px 10px 30px;}
    /*.gameImg {flex-basis: 30%;}*/
    .bs-popover-bottom {min-width: 11%;}
}
@media (min-device-width: 900px) {
    .bs-popover-bottom {min-width: 113px;}
    .input-group>input.search-input {
        background: rgba(0,0,0, 0.5);
        height: 45px;
        width: 100%;
        line-height: 45px;
        font-size: 16px;
        color: white;
        border-radius: 20px;}
    .search-area {padding: 30px 30px 10px 30px;}
    .search-bar {position: absolute;right: 30px; height: 45px;line-height: 45px;border-radius: 20px;}
    .search-bar span {background:rgba(0,0,0,0);border-radius: 20px;color:white;border: none;z-index: 3;cursor: pointer}
}

.hide {display: none;}
.carousel-hot-cell img {width: 100%}
.carousel-cell:before {
    display: block;
    text-align: center;
    content: counter(gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}
.carousel-notice-cell {
    width: 100%;
    height: 25px;
    line-height: 25px;
    margin-right: 10px;
}
.gameArea {
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    line-height: 25px;
    margin-top: 8px;
    padding: 0 0.2rem;
}
.gameArea p{
    /*width: 100%;*/
    height: 28px;
    display: inline-block;
    min-width: 50px;
    padding:0.1rem 0.3rem;
    /*overflow: hidden;*/
}
.gameArea  a {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
.noticeLine {
    color: #fff!important;
    background: rgba(0,0,0,0.5);
    border-radius: 50px;
    width: 80%;
    margin: 0 auto;
}
.gameTitle {text-align: center;margin-top: 6px;}
.carouselNotice {padding: 0 0.5rem; background: rgba(0,0,0,0.5);}
.noticeVol {position: relative;top: 22px;color: white;}
.noticeCell {display: inline-block;width: 100%}
.navBar{line-height: 25px;}
.top-notice {
    width: 70%;
    margin: 0 auto;
}
.notice-line {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
.notice-line,.notice {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    /*background: rgba(0, 0, 0, 0.5);*/
    color: white;
    white-space:nowrap;
}
.notice-line {width: 100%;}
.notice-line i {margin-left: 5px;}
.slider_menu {
    /*position: relative;*/
    background: rgba(0,0,0,.1);
    border-radius: 21px;
    overflow: hidden;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}
.flickity-enabled.is-draggable .flickity-viewport,.popGame {
    cursor: pointer;
}

/****************************************/
.pills-bg li{background: rgba(0,0,0,.1);height: 28px;line-height:28px;}
.pills-bg li a{color: gray;height: 28px;line-height: 14px;padding-left: 12px;padding-right: 12px;}
.pills-bg a.colorw{color: white;}
.pills-bg li:first-child {border-bottom-left-radius: 15px;border-top-left-radius: 15px;}
.pills-bg li:last-child {border-bottom-right-radius: 15px;border-top-right-radius: 15px;}
.nav-pills .nav-link.active2{border-radius: 15px;background-color: #7d84ff;}
.nav-pills .nav-link.active{border-radius: 15px;background-color: rgba(0,0,0,0);}
li.nav-item-bg{transition: left 0.1s linear;}
.pills-bg li a:hover {
    color: white;
    /*background-color: #7d84ff;*/
    /*transform: translateY(10);*/
    /*transition: background-color 0.8s;*/
    /*border-radius: 15px;*/
}
.pills-bg li:hover ~ li>.active{
    color: gray;
    background-color: transparent;
    /*transform: translateY(10);*/
    transition: background-color 0.8s;
    border-radius: 15px;
}
.recapp {cursor: pointer}
.gameImg img,.gameImg2 img {border-radius: 14px;}
.navImg:hover,.recImg:hover{opacity: 0.9;}
/***********************************************/
.game-img2 {
    width:100%;
    animation-name: scale-img;
    animation-duration: 0.2s;
}
@keyframes scale-img {
    0%   {width: 100%;opacity: 1;}
    50%  {width: 90%;opacity: 0.6;}
    100% {width: 100%;opacity: 1;}
}
.dark .nomarginlr {
    background-color: #2c2e2f;
    color: #c6c9cf;
}
.dark .nav-tabs a {color:#007bff;}
.dark .topImg {opacity: 0.6}
.navBar a {text-decoration: underline;color:#7d84ff;}
.title-memo {margin-left: 0.5rem;}
.navBar a:hover {color: blue;}
.navBar a:active {color: #0000f0;}
.navBar a:visited {color: #7d84f0;}
