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 {
    text-align: center;
    background: #1494CA;
}

.ads-title {
    font-size: 11px;
    margin: 0;
    padding: 0;
}

.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: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #fff;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #546aff;
    background-image: url(../imgs/uk-body-bg.webp);
    font-family: krub, sans-serif;
    min-height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
}

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

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;
}

.container {
    position: relative;
    max-width: 1854px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.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;
    padding: 10px 0;
}

#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;
}
.loadingImage {
    width: 50px;
    height: 50px;
    background-color: transparent!important;
    animation: loadingAnimation 1s linear infinite;
}
@keyframes loadingAnimation {
    to {
        transform: rotate(360deg);
    }
}

.grid-clayover {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 10px;
    grid-auto-rows: 100px;
    grid-auto-flow: row dense;
    justify-content: center;
}

.grid-item {
    padding: 0;
    transition: all .6s ease;
    transition-property: transform;
    display: inline-block;
    box-sizing: content-box;
    position: relative;
    vertical-align: text-top;
}
.grid-hover img{
    border-radius: 16px;
    box-shadow: 0 6px 12px 0 rgb(0 0 0 / 24%);
}
.span-2x1 {
    grid-column-end: span 2;
}

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

.span-3x3 {
    grid-column-end: span 3;
    grid-row-end: span 3;
}
.span-ads{
    display: flex;
    align-items: center;
    justify-content: center;
}
.clear {
    clear: both;
}
.throw-ads-970x90, .throw-ads-300x600, .throw-ads-160x600, .throw-ads-300x250, .throw-ads-768x90, .throw-ads-468x60{
    display: none;
}
.horizontal-ads{
    padding: 10px 0;
}
.vertical-ads{
    padding: 0 10px;
}
/*menu*/

/*game_item*/
.main{
    min-height: 90vh;
}
.grid-hover, .grid-menu{
    transition: all .6s ease;
    transition-property: transform;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: block;
}
.grid-hover:hover{
    transform: translate3d(0,-4px,0);
    box-shadow: 0 12px 12px 0 rgb(0 0 0 / 20%), #f00 0 0 3px, #f00 0 0 25px;
}
.grid-menu:hover{
    transform: translate3d(0,-4px,0);
}
.ab-grid-title{
    position: absolute;
    padding: 4px 12px;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    border-radius: 8px;
    width: auto;
    font-size: 13px;
    text-transform: capitalize;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    margin-top: 5px;
    text-align: center;
    opacity: 0;
    display: none;
}
.grid-item:hover .ab-grid-title{
    opacity: 1;
    display: block;
}
.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}
.nowrap-title{
    white-space: nowrap;
    color: inherit;
}
.crop-image{
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}
.home-icatient{
    background-image: url("../imgs/uk-home.webp");
}
.search-showing{
    margin-top: 2px;
    background-image: url("..//imgs/uk-search.webp");
}
.box-brand{
    padding: 5px;
}
.flex-form{
    position: absolute;
    z-index: 10;
    background-color: #3E8E0C;
    border-radius: 13px;
    width: 250px;
    height: 63px;
    box-sizing: border-box;
    padding: 16px;
    top: 30px;
    display: none;

}

.txt-search{
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #212529;
    line-height: 1.5;
    font-weight: 400;
    box-sizing: border-box;
    padding-left: 8px;
    padding-right: 36px;
    border-radius: 4px;
}
.txt-submit{
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 32px;
    height: 29px;
    background-color: #3e8e0c;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.txt-submit:hover{
    background-color: #941413;
}
.text-area{
    background: rgba(255,255,255,0.6);
    padding: 16px;
    border-radius: 16px;
    color: #000;
    line-height: 1.8;
    font-size: 14px;
}
.text-area ul, .text-area li {
    list-style: disc;
    list-style-position: inside;
}
.inline-grid{
    position: relative;
}
.grid-menu{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("../imgs/uk-menu-btn.svg");
}
.grid-menu-flex{
    box-sizing: border-box;
    padding-right: 31px;
    padding-left: 10px;
}
.grid-menu-flex .text-overflow{
    margin-left: 5px;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    -webkit-line-clamp: 2;
    width: 100%;
}
.top-header h1{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.sticker{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 11px;
    text-transform: uppercase;
}
.sticker:after{
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 16px;
    padding: 2px 8px;
}
.hot:after{
    content: "hot";
    background-color: #ef0e74;
}
.new:after{
    content: "new";
    background-color: #423491;
}
.trending:after{
    content: "trending";
    background-color: #f68e3b;
}

/*game_play*/
.grid-temple-one{
    width: 120px;
    min-width: 120px;
}
.grid-temple-three{
    width: 340px;
    min-width: 340px;
}
.grid-frame-box{
    display: flex;
    margin-top: 10px;
}
.grid-temple-two{
    width: 100%;
}
.us-frame{
    min-height: 615px;
}
.ifame{
    width: 100%;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
    margin-bottom: 10px;
}
.us-game-panel{
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.us-expand{
    display: flex;
    align-items: center;
    justify-content: center;
}
.us-game-title{
    color: #ffc800;
    text-shadow: #4fc2ff 0 0 12px, #b95000 2px 2px 1px;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 700;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.05);
    }
    8% {
        transform: scale(0.95);
    }
    12% {
        transform: scale(1.02);
    }
    18% {
        transform: scale(1);
    }
}
.scale-anim:hover{
    animation: scale 3000ms infinite;
}
@keyframes swing {
    20% {
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
.game-header{
    width: 100%;
}
.us-sticker{
    color: #fff!important;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #0d6efd;
    border-radius: 10px;
    transition: 0.2s;
    display: inline-block;
    font-size: 11px;
}
.us-sticker:hover{
    animation: swing 1s infinite;
}
.game-header{
    max-width: 800px;
}
.new-game-box{
    margin-top: 10px;
}
/*pagination*/
.pagination{
    margin: 20px 0;
}
.s_paging{
    text-align: center;
}
.next_page{
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 5px 15px #000000;
    position: relative;
    margin: 0 8px;
    transition: 0.2s;
    background-color: #3e4185;
}
.next_page:hover{
    background-color: #e5485e;
    animation: swing 1s infinite;
}
.active_{
    cursor: default;
    background-color: #e5485e;
}
.active_:hover{
    animation: unset;
}
.throw-ads-160x600{
    width: 160px;
    min-width: 160px;
    margin: 0 auto;
}
@media (min-width: 576px){
    .throw-ads-468x60{
        display: block;
    }
}
@media (min-width:1281px){
    .throw-ads-300x250{
        display: block;
    }
}
@media (min-width: 1365px){
    .throw-ads-970x90, .throw-ads-768x90{
        display: block;
    }
    .throw-ads-160x600, .throw-ads-468x60{
        display: none;
    }
}
@media (min-width: 1550px){
    .throw-ads-160x600{
        display: block;
    }
    .throw-ads-300x600, .throw-ads-300x250{
        display: none;
    }
}
@media (min-width: 1880px){
    .throw-ads-300x600{
        display: block;
    }
    .throw-ads-160x600{
        display: none;
    }
}
@media (min-width:1081px) and (max-width:1280px){
    .grid-temple-three{
        width: 240px;
        min-width: 240px;
    }
    .throw-ads-160x600{
        display: block;
    }
    .throw-ads-300x250{
        display: none;
    }
}
@media (max-width: 1080px){
    .grid-frame-box{
        flex-wrap: wrap;
    }
    .grid-temple-one, .grid-temple-two, .grid-temple-three{
        width: 100%;
        min-width: 100%;
    }
    .grid-temple-three{
        margin-top: 10px;
    }
    .us-game-panel{
        flex-wrap: wrap;
    }
}
@media (max-width: 767px){
    .flex-form{
        left: -178px;
    }
}
