
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}
main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
hr {
    box-sizing: content-box; 
    height: 0; 
    overflow: visible; 
}

pre {
    font-family: monospace, monospace;  
    font-size: 1em; 
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none; 
    text-decoration: underline; 
    text-decoration: underline dotted; 
}
b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;  
    font-size: 1em;  
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; 
    font-size: 100%;  
    line-height: 1.15;  
    margin: 0;  
}

button,
input {  
    overflow: visible;
}

button,
select {  
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box;  
    color: inherit; 
    display: table; 
    max-width: 100%; 
    padding: 0; 
    white-space: normal; 
}
progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; 
    padding: 0; 
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield; 
    outline-offset: -2px; 
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button; 
    font: inherit;
}
details {
    display: block;
}
summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}.container-game {
    width: 1370px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 1399px) {
    .container-game {
        width: 1140px;
    }
}
@media (max-width: 1199px) {
    .container-game {
        width: 960px;
    }
}
@media (max-width: 991px) {
    .container-game {
        width: 100%;
    }
}

/* Thiet lap quang cao*/
.ads{
    width: 100%;
}
.ads-margin{
    width: fit-content;
    margin: auto;
}
.ads-left{
    display:none;
    position: absolute;
    top:155px;
    left: 0;
    text-align: left;
    height: 600px;
}
.ads-right{
    display:none;
    position: absolute;
    top:155px;
    right: 0;
    text-align: right;
}
.ads-content{    
    height: 600px;
}
.ads-box{
    width: fit-content;
}
.ads-title {
	display:block;
    text-align: center;
    background: transparent;
    font-size: 11px;
    margin: 0;
    padding: 0;
    color: #b3b3b3;
    opacity: 0.6;
}
.horizontal-title{
    text-align: left!important;
}
.ads, .ads-left,.ads-right{
    z-index: 100; 
}
@media (min-width: 1340px) { 
    .ads-left{
        display:block;
    }
    .ads-right{
        display:block;
    }
    .ads-content{
        width:160px;
    }
}
@media (min-width: 1880px) { 
    .ads-left{
        display:block;
    }
    .ads-right{
        display:block;
    }
    .ads-content{
        width: 300px;;
    }
}

#expand{
    cursor: pointer !important;
}
.force_full_screen{
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
    top: 0px !important;;
    border: 0px !important;;
    left: 0px !important;;
    right: 0px !important;
    cursor: pointer !important;
}*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}
html{

    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body{
    margin: 0;
    font-family: Poppins,sans-serif;
    font-weight: 400;
    line-height: 1.5;
    /*background-color: #fff;*/
    background-color: #f1ede9;
    min-height: 100vh;
}

a{
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    color: #217772;
}
i{
    cursor: pointer;
    margin: 0!important;
}
ul, li{
    list-style: none;
    padding: 0;
    margin: 0;        
}
h1, h2, h3, h4{    
    font-weight: normal;
    margin: 0;
}
table {
    border-collapse: collapse;
}
table th,
table td {
    font-weight: normal;
    text-align: left;
    vertical-align: top;
}
input,
select,
textarea,
button {
    background-color: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
}
button {
    -webkit-transition: background-color 0.2s ease 0s, color 0.2s ease 0s, border-color 0.2s ease 0s;
    -moz-transition:    background-color 0.2s ease 0s, color 0.2s ease 0s, border-color 0.2s ease 0s;
    -o-transition:      background-color 0.2s ease 0s, color 0.2s ease 0s, border-color 0.2s ease 0s;
    transition:         background-color 0.2s ease 0s, color 0.2s ease 0s, border-color 0.2s ease 0s;
}
input, button{
    border: 0;    
}
p{
    margin-bottom: 10px;
}
.container{
    position: relative;
    max-width: 1256px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 16px;
}
.row{
    width: 100%;
}
.font-bold{
    font-weight: bold;
}
.d-block{
    display: block;
}
.d-inline{
    display: inline-block;
}
.d-flex{
    display: flex;
}
.d-r-flex{
    display: flex;
    flex-wrap: wrap;
}
.d-c-flex{
    display: flex;
    flex-direction: column;
}
.sp{
    justify-content: space-between;
}
.jc{
    justify-content: center;
}
.bz{
    box-sizing: border-box;
}
.p-r{
    position: relative;
}
.bg-fff{
    background-color: #fff;
}
.absolute{
    position: absolute;
    top: 50%;
}
.text-overflow{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}
.text-center{
    text-align: center;
}
.text-uppercase{
    text-transform: uppercase;
}
.text-capitalize{
    text-transform: capitalize;
}
.m-r{
    margin-right: 10px;
}
.m-t{
    margin: 10px 0;
}
.flex-start{
    justify-content: flex-start;
}
.flex-end{
    justify-content: flex-end;
}
.gif{
    width: 100%;
    text-align: center;
}
#loading_img{
    width: 50px;
    height: 50px;
    background-color: transparent!important;
}
.hidden{
    display: none;
}
.w-full{
    width: 100%;
}
.h-full{
    height: 100%;
}
.font-fff{
    color: #fff;
}
.al{
    align-items: center;
}
.grid-clayover{
    display: grid;
    grid-gap: 15px;
    gap: 15px;
    grid-template-columns: repeat(auto-fit,125px);
    grid-template-rows: repeat(auto-fit,125px);
    justify-content: center;
}
.grid-item{
    position: relative;
    border-radius: 10px;
    border: 3px solid #fff;
    overflow: hidden;
    cursor: pointer;
    height: 119px;
    transform-origin: center center;
    transition: all 0.2s linear;
}

.span-2x1{
    grid-column-end: span 2;
}
.span-2x2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
    height: 220px;
}
.span-3x3{
    grid-column-end: span 3;
    grid-row-end: span 3;
    height: 340px;
}
.clear{
    clear: both;
}

/*menu*/
header{
    width: 100%;
    background: #fff;
    top: 0;
    z-index: 99;
    position: fixed;
    background-color: #1f1c1a;
    color: #878481;
}
.navigation{
    width: 100%;
    position: relative;
    padding: 8px 0;
    justify-content: space-between;
    height: 88px;
}
.nav-logo{
    width: 300px;
    height: 64px;
}
.icon-menu{
    position: absolute;
    top: 50%;
    right: 0;
    background-color: #46ccc5;
    color: #1f1c1a;
    padding: 12px 16px;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(-50%);
    border-radius: 16px;
    font-weight: 600;
    overflow: hidden;
    display: none;
    font-size: 14px;
}
.menu-header-bar > ul > li{
    padding: 10px 16px;
}
.menu-header-bar ul li a{
    text-transform: uppercase;
    color: #2999D4;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
}
.menu-header-bar ul li > a:hover{
    opacity: 0.9;
    color: #fff!important;
}
.menu-childs{
    display: none;
    background-color: #1f1c1a;
    padding: 5px 10px;
}
.have-childs:hover .menu-childs{
    display: block;
}
.mobile-box{
    background-color: #fbbd5e;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 99;
    height: 100%;
    display: none;
    max-height: calc(100% - 88px);
}
.box-search{
    background-color: #f0ece7;
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 100px;
}
.inner-search-box{
    background-color: #fff;
    box-sizing: border-box;
    padding: 48px;
    border-radius: 16px;
}
.search-title{
    font-size: 32px;
    color: #000;
    text-transform: capitalize;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
.text-box-search{
    width: 100%;
    font-size: 24px;
    padding: .5em;
    font-family: Poppins,sans-serif;
    margin-bottom: 1em;
    background: #f0ece7;
    border: 2px solid #c0bbb4;
}
.text-box-search:focus{
    outline: 1px solid #41b7ae;
    border-color: #41b7ae;
}
/*mobile*/
.mobile-menu-box form{
    width: 100%;
    max-width: 250px;
    height: 36px;
    margin-left: auto;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}
.mobile-menu-box form input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 30px;
    outline: 0;
    font-size: 1em;
    padding-left: 10px;
    padding-right: 36px;
    background: #f0ece7;
    border: 2px solid #c0bbb4!important;
    box-sizing: border-box;
    border-radius: 2px;
}

.mobile-menu-box form button{
    box-sizing: border-box;
    padding: 10px;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 1.2em;
    transition: all 1s;
    cursor: pointer;
    /*visibility: hidden;*/
}

.list-mobile-menu form{
    margin: 0;
}
.item-mobile-menu{
    display: block;
    padding: 10px 0;
    font-size: 20px;
}
.item-mobile-menu a{
    color: #fff;
}
.item-mobile-menu summary, .item-mobile-menu a{
    text-transform: uppercase;
    font-weight: 600;
}
summary::marker {
    padding-right: 12px;
}
.mobile-menu-box{
    background-color: #1f1c1a;
    /*display: none;*/
    width: 100%;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    z-index: 99;
    display: none;
	max-height: 100%;
    overflow-y: auto;
	padding-bottom: 88px;
}
.item-mobile-menu input{
    border: 0;
}

/*game_item*/
.app{
    margin-top: 88px;
    min-height: 90vh;
    background-color: #f1ede9;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    padding-top: 40px;
}
.list_game_item{
    text-align: left;
    margin-left: -12px;
    margin-right: -12px
}
.item-game{
    width: 184px;
    margin: 8px 12px;
    display: inline-block;
    height: 212px;
    overflow: hidden;
}
.item-image{
    width: 100%;
    height: 112px;
    position: relative;
}
.item-content{
    height: 100px;
    color: #2a2928;
    position: relative;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
}
.item-game-title{
    -webkit-line-clamp: 2;
    text-transform: capitalize;
    font-weight: 600;
    color: #2a2928;
}
.ab-item-play{
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: #46ccc5;
    color: #1f1c1a;
    display: flex;
    align-items: center;
    padding: 0 5px;
    border-radius: 12px;
    font-size: 13px;
    text-transform: uppercase;
}
.ab-item-play svg{
    margin-right: 3px;
}
.ab-item-play:hover{
    background-color: #41b7ae;
}
.ab-item-play:hover svg{
    animation: .3s ease jiggle;
}

@keyframes jiggle {
    0% {
        transform: rotate(0);
    }
    20% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(-10deg);
    }
    to {
        transform: rotate(0);
    }
}
.label-relate-cate{
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 80px;
    padding: 3px;
    box-sizing: border-box;
    text-transform: uppercase;
    font-size: 11px;
    color: #000;
    text-align: center;
    background-color: #c0bbb4;
    font-weight: 600;
}

.header-title h1{
    color: #2a2928;
    font-weight: 600;
    font-size: 24px;
    border-bottom: 1px solid #979797;
    margin-bottom: 20px;
    text-transform: capitalize;
}
.loading-box{
    text-align: center;
    margin: 10px 0;
}
.loadingImage{
    animation: loadingAnimation 1s linear infinite;
}
@keyframes loadingAnimation {
    to {
        transform: rotate(360deg);
    }
}
/*game_play*/
.game_play{
    background-color: #d9d5d0;
}
.game-play-box-inner{
    background-color: #f5f1ec;
    padding: 16px;
    box-sizing: border-box;
    margin-left: -16px;
    margin-right: -16px;
}
.title-slug{
    font-weight: 600;
    font-size: 24px;
}
.about-game{
    margin-top: 40px;
    margin-bottom: 40px;
}
.box-introduct{
    width: 50%;
    box-sizing: border-box;
    max-height: 650px;
    overflow-y: auto;
}
.box-introduct::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}

.box-introduct::-webkit-scrollbar-thumb
{
    background-color: #AAA;
    background-image: -webkit-linear-gradient(90deg,
        rgba(0, 0, 0, .2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(0, 0, 0, .2) 50%,
        rgba(0, 0, 0, .2) 75%,
        transparent 75%,
        transparent)
}

.box-right{
    padding-left: 8px;
}
.inner-box{
    background-color: #d7d3cf;
    padding: 16px;
    height: auto;
    min-height: 100%;
    box-sizing: border-box;
}
.header-about-game{
    border-bottom: 1px solid #000;
    margin-bottom: 8px;
}
.header-about-game h2, .header-about-game h3{
    text-transform: capitalize;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 1px;
    padding-bottom: 8px;
}
.boxtobox{
    font-size: 16px;
}
.boxtobox h2, .boxtobox h3, .boxtobox h4, .boxtobox h5, .boxtobox h6{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}
.boxtobox ul, .boxtobox ol{
    padding-left: 40px;
}
.boxtobox ul, .boxtobox ol, .boxtobox li{
    list-style: disc;
}
.boxtobox textarea{
	width: 100%;
    height: auto;
    min-height: 100px;
    background-color: #e6e6e6;
    box-shadow: inset 0 1px 2px rgb(10 10 10 / 10%);
    color: #4d4d4b;
    padding: 10px;
    box-sizing: border-box;
}
.copy-code{
	cursor: pointer;
}
.copy-code:hover{
	color: #fff;
}
.about-tag-cate{
    margin-top: 16px;
}
.tag-cate{
    display: inline-block;
    padding: 6px 16px;
    border-radius: 12px;
    background-color: #dbd7d2;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 8px 8px 0;
    transition: 0.15s;
    font-weight: 500;
}
.tag-cate:hover{
    transform: translateY(-5px);
}
.comment-box-app{
    margin-top: 16px;
    margin-left: -8px;
    margin-right: -8px;
}
#rating{
    font-size: 13px!important;
}
.expand{
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    padding: 5px;
    cursor: pointer;
    background-color: rgba(0,0,0,0.7);
    border-radius: 4px;
}
.force_full_screen{
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
    top: 0px !important;;
    border: 0px !important;;
    left: 0px !important;;
    right: 0px !important;
    cursor: pointer !important;
}
/*pagination*/
.pagination{
    margin: 40px 0;
    text-align: center;
}
.next_page{
    width: 80px;
    height: 44px;
    border-radius: 4px;
    background-color: #000;
    margin: 2px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    line-height: 44px;
    font-size: 20px;
}
.next_page:hover{
    background-color: #ffd35d!important;
}
.active_{
    cursor: default;
    background-color: #ffd35d!important;
    color: #fff;
}
.active_:hover{
    background-color: #ffd35d!important;
    color: #fff;
}
/*footer*/
footer{
    background-color: #1f1c1a;
    color: hsla(33,23%,92%,.7);
    padding: 40px 0;
    text-align: center;
}

.link{
    display: inline-block;
    margin-right: 15px;
    /*color: hsla(33,23%,92%,.7);*/
    color: #f0ece7;
}
.link:hover{
    text-decoration: underline;
}
#back-to-top{
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    font-size: 20px;
    color: #000;
    background-color: #ffd35d;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: 0.2s;
}
#back-to-top:hover{
    color: #fff;
}
.iframe-box{
    width: 100%;
    max-width: 836px;
}
.throw-ads-970x90, .throw-ads-160x600, .throw-ads-768x90{
    display: none;
}
.throw-ads-160x600{
    margin-left: 40px;
    min-width: 160px;
}
@media (min-width: 1919px){
    #iframehtml5{
        height: 567px;
    }
    .iframe-box{
        width: 100%;
        max-width: 1031px;
    }
}
@media (min-width:1255px){
    .throw-ads-160x600{
        display: block;
    }
    .throw-ads-768x90{
        display: block;
    }
}
@media (min-width: 1081px) and (max-width: 1255px){
    .container{
        width: 1048px;
    }
    .throw-ads-160x600{
        width: 160px;
        overflow: hidden;
        display: block;
    }
}
@media (min-width: 922px) and (max-width: 1080px){
    .container{
        width: 840px;
    }
}
@media (min-width: 751px) and (max-width: 922px){
    .container{
        width: 632px;
    }
}
@media (max-width: 1255px){
	.navigation .menu-header-bar{
        display: none;
    }
	.icon-menu{
        display: block;
    }
}
@media (max-width: 1080px){
    .iframe-box{
        width: 100%!important;
    }
}
@media (max-width: 991px){
    
    #back-to-top{
        display: none!important;
    }
    
    .mobile-box{
        display: none;
    }
    .box-introduct{
        width: 100%;
        max-height: unset;
        padding:0;
    }
}

@media (max-width: 750px){
    .container{
        width: 100%;
    }
    .list_game_item{
        text-align: center;
    }
}
@media (max-width: 540px){
    .nav-logo, .nav-logo img{
        width: 188px;
        height: 40px;
    }
}
@media (min-width:1081px){
    .throw-ads-970x90{
        display: block;
    }
}


