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

body {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 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: 0 0;
    font-size: 11px;
    margin: 0;
    padding: 0;
    color: #b3b3b3;
    opacity: .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;
}

html {
    font-family: Roboto, Opensans, sans-serif, Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
}

body {
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    background-color: #40a8df;
    font-family: Roboto, Opensans, sans-serif, Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

a {
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    outline: none;
}

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;
    width: 1125px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.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: 125px;
    transform-origin: center center;
    transition: all 0.2s linear;
    box-sizing: border-box;
}

.span-2x1 {
    grid-column-end: span 2;
}

.span-2x2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
    height: 265px;
}

.span-3x3 {
    grid-column-end: span 3;
    grid-row-end: span 3;
    height: 405px;
}

.span-3x2 {
    grid-column-end: span 3;
    grid-row-end: span 2;
    height: 265px;
}

.clear {
    clear: both;
}

/*menu*/
header {
    width: 100%;
    background: #fff;
    top: 0;
    z-index: 99;
}

.navbar {
    width: 100%;
    position: relative;
    padding: 15px 0;
}


.icon-menubox {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 7px;
    transform: translateY(-50%);
    box-sizing: border-box;
    cursor: pointer;
    display: none;
}

.menu-header-bar ul li a {
    text-transform: uppercase;
    color: #2999D4;
    font-weight: bold;
    white-space: nowrap;
    padding: 15px;
}

.menu-header-bar ul li a:hover {
    color: #313131;
}

.form {
    width: 200px;
    height: 36px;
    margin-left: auto;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.form input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 30px;
    outline: 0;
    border: 0;
    font-size: 1em;
    padding-left: 10px;
    padding-right: 36px;
    color: #000;
    box-sizing: border-box;
    border: 2px solid #2999D4;
    border-radius: 2px;
}

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

.form button:hover svg {
    fill: #00537d;
}

.list-mobile-menu form {
    margin: 0;
}

.item-mobile-menu {
    display: block;
    padding: 10px 0;
}

.item-mobile-menu a {
    display: block;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.mobile-menu-box {
    background-color: #4BB8F1;
    display: none;
    width: 100%;
}

.item-mobile-menu input {
    border: 0;
}

/*game_item*/
.main_game {
    min-height: 90vh;
}

.about-site {
    background-color: #fff;
    padding: 20px 20px 10px;
    color: #000;
}
.about-site img{
    max-width: 100;
    height: auto;
}
.h1site {
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 600;
}

hr.style-one {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.style-one {
    margin-bottom: -25px;
}

.list_game {
    padding-top: 15px;
    padding-bottom: 15px;
}

.item-game {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.item-game img {
    display: block;
}

.game-title {
    font-size: 14px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.75));
    color: #fff;
    font-weight: bold;
    transition: all 0.2s linear;
    padding: 10px 5px;
    box-sizing: border-box;
    text-align: center;
    text-transform: capitalize;
}

.grid-item:hover {
    transform: scale(1.05);
}

.game-title span {
    -webkit-line-clamp: 2;
}

.loading-box {
    text-align: center;
    margin: 10px 0;
}

.loadingImage {
    animation: loadingAnimation 1s linear infinite;
}

@keyframes loadingAnimation {
    to {
        transform: rotate(360deg);
    }
}

/*game_play*/
.frame-box {
    background-color: #707070;
}

.frame-info {
    box-sizing: border-box;
}

.info-game {
    background-color: #fff;
    padding: 8px 15px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: space-between;
}

.top-info p {
    margin: 0;
}

.main-game-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: capitalize;
}

.expand {
    width: 35px;
    height: 35px;
    margin-left: 15px;
}

.box-game-play {
    margin-top: 40px;
}

.left-box {
    width: 825px;
}

.right-box {
    width: 280px;
    display: none;
}

.game-category-box {
    padding-left: 15px;
}

.image-category-game {
    width: 80px;
    height: 80px;
}

.game-category-suggest {
    box-sizing: border-box;
    padding: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    color: #313131;
    transition: transform 0.2s linear;
}

.game-category-suggest:hover {
    transform: scale(1.05);
}

.content-category-game {
    padding-left: 10px;
    max-width: calc(100% - 90px);
}

.g-category-title {
    font-weight: 600;
    text-transform: capitalize;
}

.g-category-excerpt {
    -webkit-line-clamp: 2;
    font-size: 14px;
}

.w-50 {
    width: 50%;
}

#rating {
    font-family: inherit;
    color: inherit;
    padding: 12px;
}

#rating .text-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
}

#rating .rating-element {
    display: inline-block;
    color: inherit;
    margin: 0;
    line-height: 20px;
}

#default-demo {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    margin-right: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#default-demo img {
    width: 20px;
}

.rate-info {
    line-height: 24px;
    letter-spacing: -0.5px;
    font-size: 16px;
    font-weight: 600;
}

.boxtobox {
    font-size: inherit;
}

.boxtobox h1, .boxtobox h2, .boxtobox h3, .boxtobox h4, .boxtobox h5, .boxtobox h6 {
    font-weight: 600;
    margin: 10px 0;
    text-transform: capitalize;
}

.boxtobox a {
    font-size: inherit;
    color: blue;
}

.boxtobox ul, .boxtobox ol {
    padding-left: 40px;
}

.boxtobox ul, .boxtobox ol, .boxtobox li {
    list-style: disc;
}

.ctGameBox {
    display: inline-block;
    border-radius: 7px;
    background-color: #fff;
    color: #313131 !important;
    padding: 6px 12px;
    text-transform: capitalize;
    margin-right: 10px;
    transition: 0.4s;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.ctGameBox:hover {
    transform: translateY(-5px);
}

.rate-comment {
    margin-top: 10px;
}

/*pagination*/
.pagination {
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.next_page {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #fff;
    margin: 0 4px;
    text-align: center;
    color: #2999D4;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    line-height: 40px;
}

.next_page:hover {
    background-color: #ffd35d;
}

.active_ {
    background-color: #00537d;
    color: #fff;
}

.active_:hover {
    background-color: #00537d;
    color: #fff;
}

/*footer*/
footer {
    text-align: center;
    background-color: #fff;
    margin-top:15px;
}

.link {
    display: inline-block;
    color: #2999D4;
    padding: 15px;
    margin: 0;
}

.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: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: 0.2s;
}

#back-to-top:hover {
    background-color: #f9f9f9;
}

.grid-ads {
    border: 0;
    overflow: hidden;
}

.grid-ads:hover {
    transform: unset;
}

.throw-big-ads {
    display: none;
}

.comment-box-app {
    max-width: 800px;
    margin: 0 -8px;
}

/*header_game*/
.header-game {
    height: auto;
    color: #fff;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    background-color: #202029;
}

.box-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-header h1 {
    color: var(--color-white);
    font-size: 24px;
    margin: 0;
    line-height: 1;
    font-weight: 600;
    padding-left: 12px;
    text-transform: capitalize;
}

.header-game-extend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.header-game-extend>span {
    padding: 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    cursor: pointer;
    position: relative;
    background-color: var(--color-violet);
    margin-left: 10px;
    border-radius: 50%;
}

.header-game-extend>span>svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.header-game-extend>span:hover {
    /* background: #462f1e; */

}

.header-game-extend>span:hover svg {
    fill: #ecd901
}

.header-game-extend>span::before {
    position: absolute;
    content: attr(data-title);
    text-align: center;
    bottom: 52px;
    border: 1px solid var(--color-silver);
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    line-height: 14px;
    border-radius: 2px;
    background-color: #fff;
    color: #000;
    font-size: 13px;
    z-index: 2;
    white-space: nowrap;
    padding: 5px;
    display: none;
}

.header-game-extend>span:hover::before {
    display: block;
}

.active-btn svg {
    fill: #ecd901 !important;
}

.exit-fullscreen {
    width: 44px;
    height: 44px;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 100000;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.65);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 10px;
}

.clipboard-share {
    position: fixed;
    z-index: 100;
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    min-width: 300px;
    min-height: 45px;
}

.hide-zindex {
    z-index: -20;
    visibility: hidden;
}

.close-sharing-box {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
}

.inline-sharing-box h3 {
    margin-bottom: 10px;
    color: #000;
    text-transform: capitalize;
}

@media (min-width:992px) {
    .mobile-menu-box {
        display: none !important;
    }
}

@media (min-width: 1125px) {
    .right-box {
        display: block;
    }

    #mobile-show-suggest-game {
        display: none;
    }

    .throw-big-ads {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1124px) {
    .container {
        width: 845px;
    }
}

@media (min-width: 751px) and (max-width: 991px) {
    .container {
        width: 705px;
    }
}

@media (min-width: 1440px) {
    #iframehtml5 {
        /* height: 500px; */
    }
}

@media (min-width: 1919px) {
    #iframehtml5 {
        /* height: 600px; */
    }
}

@media (max-width: 991px) {
    .navbar .menu-header-bar, .navbar form {
        display: none;
    }

    #back-to-top {
        display: none !important;
    }

    .icon-menubox {
        display: block;
    }

    .throw-ads-768 {
        display: none;
    }
}

@media (max-width:750px) {
    .container {
        width: 100%;
    }

    .about-site {
        padding: 10px;
    }

    .grid-clayover {
        justify-content: center;
    }
}

@media (max-width:500px){
    .box-header{
        justify-content: center;
    }
}