@charset "utf-8";
html {
    color:#000;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
}
body{
    font-size:12px;
    color:#666;
    background:#dff3ff;
}
ul,dl{list-style:none;}
img{ vertical-align:top;border:0;}


* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
html,body {
    font-family:arial,sans-serif
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display:block
}
audio,canvas,video {
    display:inline-block;
}
body,button,input,select,textarea {
    font:12px/1.5 "arial",tahoma,arial,sans-serif
}
input,select,textarea {
    font-size:100%
}
img, svg {
    vertical-align: middle;
}
ol,ul {
    list-style:none
}
h1,h2,h3,h4,h5,h6 {
    font-size:100%;
    font-weight:400;
    font-family:arial,sans-serif,arial;
    text-transform:capitalize
}
q:before,q:after {
    content:''
}
a {
    color:#00abf5;
}

ins,a {
    text-decoration:none;
    outline:0
}


#header {
    z-index: 2;
    width: 100vw;
    height: 65px;
    background: #009cff;
    top: 0;
    left: 0;
}

.header-container {
    height: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0 15px;
    text-align:center;
}

.ad{
    max-height:310px;
    height:auto;
}

.ad2{
    max-height:310px;
    height:auto;
}

.mt-15 {
    margin-top: 15px;
}

/***home***/
#list1 {
    height: calc( ((100vw - 6px )/8 + 4px)*1 );
}

#list2 {
    height: calc( ((100vw - 6px )/8 + 4px) * 3 );
}

.game-item {
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-align:center;
    float:left;
}

.game-item {
    width: 12.5%;
    padding: 3px;
}

.game-item img {
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.game-img {
    background-color: #eee;
    display: block;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
}


.game-list {
    margin-top: 5px;
    padding: 0 5px;
    overflow: hidden;
}

@media only screen and (max-width:1023px) {

    .game-item{
        width: 16.66666%
    }


    #list1 {
        height: calc( ((100vw - 6px )/6 + 4px)*1 );
    }

    #list2 {
        height: calc( ((100vw - 6px )/6 + 4px) * 3 );
    }

}

@media only screen and (max-width:600px) {

    .game-item{
        width: 33.3333333%;
    }

    #left-menu{
        left: -100%;
        width: 100%;
    }

    #list1 {
        height: calc( ((100vw - 6px )/3 + 4px)*1 );
    }

    #list2 {
        height: calc( ((100vw - 6px )/3 + 4px) * 3 );
    }
}


/***detail***/

.game_info_block {
    width: 100%;
    clear: both;
    overflow: hidden;
}

.game_info_block {
    max-width: 980px;
    margin: 10px auto 20px;
    height: auto;
    color: #fff;
    overflow:hidden;
}

.game_info_box {
    float: left;
    margin-bottom: 10px;
    border-radius: 3px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,.15);
    background-color: #00acee;
    padding: 32px;
    overflow: hidden;;
}

.rating_stars {
    float:left;
    margin-top:15px;
    text-align: center;
}

/**v4**/
.left_desc {
    height: 400px;
    height: auto;
    width: 100%;
    float: left;
    text-align: left;
}

.adbox {
    height: 320px;
    width: 100%;
    float: left;
    margin: 15px auto;
    text-align: center;
}

.game-name {
    color: #fff;
    font-family: 'Oswald', sans-serif;

    font-weight: bold;
    margin-left: -10px;
    float: none;
    line-height: 33px;
    padding-bottom: 5px;
}
.desc_box {
    width: 100%;
    padding: 10px;
    overflow: hidden;
    clear: both;
}
.game_img {
    float:left;

}

.game_title h1 {
    font-size: 16px;
    line-height: 20px;
}

.game_img img {
    width: 6rem;
    height: 6rem;
    border-radius : .5rem;
}
.game_title {
    float: left;
    width: calc(100% - 7rem);
    padding-left: 10px;
}

.desc_title {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px dotted rgba(240, 197, 197, 0.45);
}
.tags {
    color: #fff;
    font-size: .8rem;
    text-decoration: underline;
    margin-right: 10px;
}

@media(min-width:760px) {
    .left_desc {
        width: calc(100% - 346px);
    }

    .adbox {
        width: 336px;
        margin-left: 10px;
    }
}

.desc-play,.desc-walkbtn {
    width:50%;
    float:left
}

.desc-play a,.desc-more a,.desc-walkbtn a {
    margin:10px;
    background:#ed931b;
    border:0;
    border-radius:5px;
    color:#fff;
    text-align:center;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
    position:relative;
    height:45px;
    line-height:45px;
    display:block
}

.game_text {
    height:80px;
    overflow: auto;
}

.desc-play a {
    background:#6dd829
}

.bgs {
    background:#00acee;
}

.desc-title {
    padding:5px;
    text-indent:10px;
    font-weight:700;
    display:block;
    clear:both;
    font-size:15px;
    border-bottom:solid 1px #43cbff;
    margin-bottom:2px;
    text-transform:uppercase;
    color:#003d71;
    line-height:25px
}

#footer {
    width:100%;
    background:#ccc;
    margin:40px 0 0;
    text-align: center;
}
.foot-inner {
    margin:0 auto;
    padding:10px 2px;
}
#footer a {
    color:#333;
    line-height:33px
}


/***detail***/
***...***/
.rating_stars {

}

.fa-thumbs-down {
    background: url(/assets/images/thumb-down.svg) no-repeat left top !important
}

.fa-star {
    background: url(/assets/images/star.svg) no-repeat left top !important
}

.fa-thumbs-up {
    background: url(/assets/images/thumb-up.svg) no-repeat left top !important
}

.rate-up,.rate-down {
    position: relative
}

.rate-up.active:before,.rate-down.active:before {
    content: "";
    background-image: url(/assets/images/check.svg) !important;
    display: inline-flex;
    width: 15px;
    height: 15px;
    position: absolute;
    background-size: cover !important;
    left: -2px;
    top: -12px;
    z-index: 10;
    background: #20c997;
    border-radius: 100%;
    border: solid 5px #20c997
}

.star_list span.fa-star:not(.checked) {
    opacity: .4;
    filter: saturate(0);
}

.fa-thumbs-down,.fa-youtube-play,.fa-thumbs-up,.fa-star {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background-size: contain !important;
    border-radius: 0 !important
}


button:focus,button:active {
    outline: none
}

button.no-link {
    outline: none;
    border: none;
    padding: 0
}


.btn,a.btn,.btn:not(button) {
    border-radius: 1rem;
    border: none;
    color: #fff;
    background: transparent;
    padding: 5px;
    cursor: pointer;
    font-size: 20px
}
.play-now {
    padding: 5px 20px !important;
}

.btn.btn-primary,a.btn.btn-primary,.btn:not(button).btn-primary {
    background-image: linear-gradient(to bottom, #fb760c, #fc8d34);
    color: #fff !important;
    box-shadow: 0 4px 0 #db6304 !important
}

.btn.btn-primary:hover,.btn.btn-primary:focus,.btn.btn-primary:active,a.btn.btn-primary:hover,a.btn.btn-primary:focus,a.btn.btn-primary:active,.btn:not(button).btn-primary:hover,.btn:not(button).btn-primary:focus,.btn:not(button).btn-primary:active {
    background: linear-gradient(to bottom, #fc8f39, #fdac6b) !important;
    box-shadow: 0 4px 0 #fb7c16 !important
}

.btn.btn-secondary,a.btn.btn-secondary,.btn:not(button).btn-secondary {
    background-image: linear-gradient(to bottom, #16449f, #1b53c3);
    color: #fff !important;
    box-shadow: 0 4px 0 #11357b !important
}


.mt5 {
    margin-top: 10px;
}

.thumb {
    float:left;
}
.star_list {
    float:left;
    vertical-align: middle;
    height:30px;
    padding:5px;
}

/** header **/
#header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#header svg, .header-panel svg {
    width: 50px;
    height: 50px;
}

.header_logo_con {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

/***PopUp***/
.popup-layout {
    z-index: 1001;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #dff3ff;
    position: fixed;
    transform: translateZ(100px);
    text-align: center;
    font-family: 'PrettyFont';
    overflow: auto;
}

.popup-layout .header-panel {
    height: 65px;
    background-color: #009cff;
    display: flex;
    flex-direction: row;
    align-items: center;
}


.cate-list {
    display: flex;
    flex-direction: column;
}

.cate-list a {
    background: #009cff;
    padding: 10px;
    color: white;
    border-top: white solid 1px;
    text-align: left;
    font-size:16px;
    font-weight: 600;
}

.cate-list a svg{
    margin-right:10px;
    width:40px;
    height: 40px;
}

.search-input-con {
    position: relative;
    padding: 10px;
}

.search-input-con .search-input {
    background-color: #009cff;
    border: 1px solid #11a3de;
    width: 93%;
    height: 45px;
    font-size: 16px;
    font-family: 'PrettyFont';
    color: white;
    border-radius: 4px;
    margin-bottom: 5px;
    text-indent: 30px;
}

.fa-search {
    position: absolute;
    top: 22px;
    color: #11a3de;
    margin-left: 10px;
    background: url(/assets/images/search.png) no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.search-input-con .search-input:focus{ outline: 2px solid white;}

.last-played {
    padding: 10px;
}

.last-played-text {
    font-size: 18px;
    font-weight: 600;
}

.footer_desc {
    margin: 20px;
}

/**** detail loading box ***/
.overlay,.loading-box {
    position: relative;
}

.overlay:before,.loading-box:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

.overlay:before,.loading-box:before {
    border: 1rem solid hsla(0,0%,100%,.25);
    border-top-color: #6dd829;
    border-radius: 50%;
    animation: turnAround .6s linear infinite;
    width: 5.25rem;
    height: 5.25rem;
}

@keyframes turnAround {
    0% {
        transform: translate(-50%,-50%) rotate(0)
    }

    to {
        transform: translate(-50%,-50%) rotate(359deg)
    }
}

.desc-play .loading {
    background: #b9bcb9;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    z-index: 10000;
}



.download {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ed931b;
    border: 0;
    border-radius: 5px;
    margin: 10px;
}

.download a{
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    height: 45px;
    line-height: 45px;
}


.game-content {
    width: 100%;
    padding: 10px;
}

.entry h1 {
    margin: 25px 0;
    line-height: 30px
}

.entry h2 {
    margin: 20px 0
}

.entry h3 {
    margin: 18px 0
}

.entry h4 {
    margin: 16px 0
}

.entry h5 {
    margin: 15px 0
}

.entry {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    line-height: 26px
}


.entry p:first-of-type {
    margin-top: 0
}

.entry .aligncenter,.section a.more {
    display: block;
    margin: auto;
    text-align: center
}

.entry blockquote {
    border-left: 4px solid #f2f2f2;
    padding: 0 15px;
    font-style: italic
}

.entry .alignright {
    float: right;
    margin: 0 0 15px 15px
}

.entry ol,.entry ul {
    margin: 0 0 20px 15px
}

.entry li {
    margin: 0 0 5px
}

.entry ol li {
    list-style: decimal
}

.entry ul li {
    list-style: disc
}

.entry iframe {
    max-width: 100%
}
.entry p {
    margin: 0 0 15px;
}

.clear {
    clear: both;
}
