/*
Theme Name:  BGames
Author:  B Games
Author URI: https://coolmathgame.co
Description:  BGames is an online game's theme.
Requires at least: 5.3
Tested up to: 6.2
Requires PHP: 5.6
Version: 2.0.0
Tags: left-sidebar, right-sidebar, rtl-language-support, theme-options, custom-colors, custom-logo, featured-images
Text Domain: bgames
Domain Path: /languages
*/
/* ============================================== */
/* === 1. LATIN SCRIPTS (English, Spanish, etc.) === */
/* ============================================== */

/* LATIN EXTENDED - Ensures Spanish, German, etc., accents load their own file first */
@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-ext-900.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}

/* BASIC LATIN - Core English A-Z, 0-9. Essential fallback and smallest file. */
@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-latin-900.woff2') format('woff2');
  unicode-range: U+0000-00FF;
  font-display: swap;
}

/* ============================================== */
/* === 2. CYRILLIC (Russia, Eastern Europe) === */
/* Range includes Basic + Extended for full coverage. */
/* ============================================== */

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0400-052F, U+1C80-1C88, U+2DE0-2DFF, U+A640-A69F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0400-052F, U+1C80-1C88, U+2DE0-2DFF, U+A640-A69F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0400-052F, U+1C80-1C88, U+2DE0-2DFF, U+A640-A69F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cyrillic-900.woff2') format('woff2');
  unicode-range: U+0400-052F, U+1C80-1C88, U+2DE0-2DFF, U+A640-A69F;
  font-display: swap;
}

/* ============================================== */
/* === 3. GREEK (Basic + Extended) === */
/* ============================================== */

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-greek-400.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-greek-500.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-greek-700.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-greek-900.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-display: swap;
}

/* ============================================== */
/* === 4. DEVANAGARI (India) === */
/* ============================================== */

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-devanagari-400.woff2') format('woff2');
  unicode-range: U+0900-097F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-devanagari-500.woff2') format('woff2');
  unicode-range: U+0900-097F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-devanagari-700.woff2') format('woff2');
  unicode-range: U+0900-097F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-devanagari-900.woff2') format('woff2');
  unicode-range: U+0900-097F;
  font-display: swap;
}

/* ============================================== */
/* === 5. THAI (Thailand) === */
/* ============================================== */

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-thai-400.woff2') format('woff2');
  unicode-range: U+0E00-0E7F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-thai-500.woff2') format('woff2');
  unicode-range: U+0E00-0E7F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-thai-700.woff2') format('woff2');
  unicode-range: U+0E00-0E7F;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-thai-900.woff2') format('woff2');
  unicode-range: U+0E00-0E7F;
  font-display: swap;
}

/* ============================================== */
/* === 6. CJK (Chinese, Japanese, Korean) === */
/* WARNING: These files are very large. */
/* ============================================== */

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cjk-400.woff2') format('woff2');
  unicode-range: U+4E00-9FFF, U+3000-303F, U+3040-30FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cjk-500.woff2') format('woff2');
  unicode-range: U+4E00-9FFF, U+3000-303F, U+3040-30FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cjk-700.woff2') format('woff2');
  unicode-range: U+4E00-9FFF, U+3000-303F, U+3040-30FF;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 900;
  font-style: normal;
  src: url('../bgames/fonts/noto-sans-cjk-900.woff2') format('woff2');
  unicode-range: U+4E00-9FFF, U+3000-303F, U+3040-30FF;
  font-display: swap;
}


body {
    font-family: "Noto Sans", sans-serif;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow: scroll;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Noto Sans", sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.25rem;
    font-weight: 400;
}

ol,ul,*,::before,::after {
    box-sizing: border-box;
}

a {
    color: #ffffff;
    text-decoration: none;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: 60px;
    z-index: 1030;
}

#top-header {
    height: 60px;
}

.navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    float: left;
    width: 256px;
    height: auto;
    margin-left: 4rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

.container {
    width: 100%;
    min-height: 552px;
    position: relative;
    overflow: hidden;
}

h2.header-title {
    font-size: 32px;
}

.search {
    grid-template-columns: repeat(auto-fill,minmax(164px,1fr));
}

.game-tile {
    display: block;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0,0,0,.24) 0 6px 12px 0;
}

img.attachment-medium-thumbnail {
    display: block;
    border-radius: 10px;
}

.game-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 16px;
    font-weight: 700;
    padding: 6px;
    color: #fff;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.25,.1,.25,1) .1s,opacity .3s cubic-bezier(.25,.1,.25,1) .1s;
    transform: translate(0px,8px);
}

.game-tile:hover .game-title {
    overflow: hidden;
    height: auto;
    opacity: 1;
    transform: translate(0px,0px);
    text-shadow: #000 1px 1px 1px;
    background-image: linear-gradient(rgba(0,0,0,0),rgba(49,62,86,0.8) 80%);
}

#xsUserMenu {
    display: flex;
    position: fixed;
    background: 0 0;
    top: 0;
    right: 0;
    float: right;
    width: 54px;
    height: 58px;
    margin: 0;
    padding: 0;
    z-index: 999;
}

.gametop,.gamebottom {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0px;
    margin-bottom: 10px;
}

.ratings {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    position: absolute;
}
.cat-img {
    display: flex;
    align-items: center;
}

.game-img {
    margin-right: 10px;
}
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container, .rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__hover-text{
    margin: 0;
}
.rmp-rating-widget.js-rmp-rating-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons {
    margin: 0;
}
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__results {
    margin: 0 0 0 10px;
}

span.rmp-rating-widget__results__rating.js-rmp-avg-rating {
    display: inline-block;
    color: #fff;
    padding: 2px 6px 2px 6px;
    margin-right: 5px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 19px;
    vertical-align: middle;
    background-color: #6495ed;
}
.game_buttons {
    position: relative;
    right: 10px;
}

.bordeswf {
    width: 100%;
    height: 100%;
    max-height: 560px;
    aspect-ratio: 16 / 9; /* Modern responsive aspect ratio */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    display: flex;
    background: linear-gradient(-45deg,rgb(238,119,82),rgb(231,60,126),rgb(35,166,213),rgb(144,202,249)) 0px 0px/300% 300%;
    animation: 60s ease 0s infinite normal none running pluto-gradient;
}

.wp-img {
    width: 150px;
    height: 150px;
    margin-top: -99px;
    border-radius: 4px;
    box-shadow: transparent 0 1px 2px;
}

.wp-button {
    margin: 10px 0;
    padding: 5px 0;
    border-radius: 6px;
    border: 0;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: transparent 0 1px 2px;
    width: 150px;
    background-color: rgba(255,255,255,.9);
}

.wp-button a {
    color: #000;
    font-size: 24px;
    font-weight: 700;
}

.header, .cat-title {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    padding: 10px 20px 20px 20px;
    border-radius: 5px;
}
.header p {
    margin: 0;
}
.seo_content_box a {
    color: #fff;
}

#header_title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 10px 0;
}

.footer {
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 10%;
    overflow: hidden;
}

.footer-copyright-area {
    display: flex;
    width: auto;
    color: #fff;
    background: #0e4d8b;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    font-size: 19px;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}

.game-grid {
    display: grid;
    gap: 10px;
    margin-block-start: 0;
    padding-inline-start: 0;
    height: max-content;
    grid-template-columns: repeat(2, 1fr);
}

.game-play-left {
    margin: 0;
    grid-column: span 1/auto;
    height: max-content;
}

.game-right-small {
    margin: 0;
    grid-column: span 1/auto;
    height: max-content;
}

.seo-content {
    margin-top: 10px;
    width: auto;
    height: 100%;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

#breadcrumb {
    font-weight: 600;
}

picture.game-img {
    display: contents;
    position: relative;
    overflow: hidden;
}

#content {
    color: #fff;
    font-size: 24px;
    width: auto;
    min-height: calc(100vh - 143px);
    padding: 0;
    overflow: hidden;
}

.page-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.pagecontent {
    color: #585858;
    background-color: #fff;
    width: auto;
    min-height: 552px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.pagecontent a {
    color: #585858;
}

.menu,.menu2,.menu3,.follow-us {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

#menu-menu-footer a,#menu-footer2-navigation a,#menu-footer3-navigation a {
    font-size: 19px;
    font-weight: 400;
    text-transform: capitalize;
}

#social {
    text-align: left;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 1em;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.facebook,.instagram,.linkedin,.pinterest,.twitter {
    padding-top: 10px;
    padding-right: 15px;
    display: inline-block;
    color: #fff;
}

.fbook,.insta,.linked,.pint,.twit {
    color: #fff;
    width: 24px;
    height: 24px;
}

svg.fbook:hover {
    color: #1877f2;
    background: #fff;
    border-radius: 50px;
}

svg.twit:hover {
    color: #1d9bf0;
    background: #fff;
    border-radius: 50px;
}

svg.insta:hover {
    color: #da4277;
    background: #fff;
    border-radius: 6px;
}

svg.pint:hover {
    color: #e60023;
    background: #fff;
    border-radius: 50px;
}

svg.linked:hover {
    color: #0a66c2;
    background: #fff;
    border-radius: 2px;
}

#menu-footer2-navigation {
    font-weight: 400;
}

#gamecontainer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px 16px;
    position: relative;
}

#my_game {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 620px;
    border-radius: 10px;
    position: relative;
}

#fullgame {
    width: 100%;
    height: 100%;
    /* max-height: 560px; */
    margin: 0;
    position: relative;
    border-radius: 4px;
    padding: 0;
}

#play_game {
    text-align: center;
    width: 100%;
    height: 100%;
    /* max-height: 560px; */
    padding: 0;
}

#playframe {
    width: 100%;
    height: 100%;
}

.seo_content_box {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    width: auto;
    height: 100%;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.escenario {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 10px;
    position: relative;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.fullscreen {
    color: #fff;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.allcomments,.game_info_content,.game-video {
    float: left;
    overflow: hidden;
    height: auto;
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
    position: relative;
    border-radius: 10px;
}

.game_title, .game_titles {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: capitalize;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.game-detail h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.gameplay-bottom {
    float: left;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.desc {
    float: left;
    width: 100%;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 10px 0;
}

.cat-tags-info {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    padding: 0;
}

.cat-info {
    float: left;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 10px;
}

.tags-info {
    float: left;
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#bc {
    color: #6495ed;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
}

#bc a {
    margin-right: 10px;
    margin-left: 10px;
}

#bc a,#breadcrumb a {
}

.breadcrumb_last {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-left: 10px;
}

.video-container iframe {
    width: 100%;
    height: 600px;
}

.cat {
    min-height: 552px;
}

.cat-desc {
    width: 100%;
    height: auto;
    margin: 0;
}

.content-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    width: 100%;
}

.cat-img img {
    float: left;
    margin: 0;
    max-width: 60px;
    border-radius: 10px;
    position: relative;
    box-shadow: rgba(0,0,0,.25) 0 8px 12px 0;
}

#footer ul {
    list-style: none;
    border: none;
    margin: 0;
    padding: 0;
}

#footer ul li a:hover {
    text-decoration: underline;
}

.required {
    font-weight: 400;
    font-size: 11px;
}

.ads-top, .ads-bottom {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-sidebar {
    float: right;
    top: 63px;
    right: 10px;
    padding: 0;
    text-align: center;
    width: 302px;
    height: 610px;
    border-radius: 0 0 10px 10px;
    background: #2c58af;
    position: absolute;
    overflow: hidden;
}

.cat-ads300x600 {
    float: right;
    top: 0;
    right: 0;
    padding: 0;
    text-align: center;
    width: 300px;
    height: 610px;
    position: absolute;
    overflow: hidden;
}

.AdvertisementLabel {
    width: 100%;
    height: 20px;
    color: #cfcfcf;
    font-size: 10px;
    text-transform: uppercase;
    position: relative;
    text-align: center;
}

.cat-item {
    height: 65px;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0,0,0,.24) 0 6px 12px 0;
}

.cat-item:hover {
    transform: scale(1.06) translate(0px,0px);
    transition-duration: .3s;
    text-decoration: none;
}

.catmenu li {
    display: inline-flex;
    height: 60px;
    text-align: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}
.catmenu li a {
    height: 100%;
    display: inline-flex;
    align-items: center;
}
.catmenu li:hover {
    cursor: pointer;
}

.cat-item-link {
    display: flex;
    align-items: center;
}
nav.menu-wrapper {
    width: auto;
    height: auto;
    position: static;
    padding: 0;
    overflow: hidden;
}
.catmenu {
    position: relative;
    height: 60px;
    margin: 0;
    padding: 0;
    z-index: 999;
    overflow: hidden;
}
.search-img {
    width: 36px;
    height: 36px;
    position: relative;
}

.searchimg {
    color: #1f3d7a;
    width: 19px;
    height: 19px;
    position: relative;
}

#searchArea {
    position: fixed;
    background: 0 0;
    top: 20px;
    right: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    z-index: 999;
    cursor: pointer;
}

.search-form-wrapper input {
    color: #585858;
    width: 100%;
    height: 36px;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    padding: 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    text-align: left;
    position: relative;
}

.search-form-wrapper button {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: absolute;
    width: 36px;
    height: 36px;
    top: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    border: none;
    background-color: transparent;
}

h1.title {
    text-align: center;
}

.module_title {
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 0 10px 10px;
    margin: 0;
}

.cat-item-title {
    display: block;
    font-size: .8925em;
    font-weight: 700;
    padding: 0 10px;
    text-overflow: ellipsis;
    white-space: normal;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    line-height: 1;
}

.cat-item img {
    width: 87px;
    height: auto;
    border-radius: 10px 0 0 10px;
}

.post-ratings img,.post-ratings-image img,.post-ratings-loading img {
    width: auto;
    height: auto;
}

.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.wp-pagenavi a,.wp-pagenavi span {
    font-size: 22px;
    text-decoration: none;
    float: left;
    height: auto;
    margin: 0;
    padding: 5px 20px 9px;
    font-weight: 400;
}

.wp-pagenavi .current {
    font-size: 22px;
    font-weight: 400;
}

.nextpostslink {
    border-radius: 0 6px 6px 0;
}

.previouspostslink {
    border-radius: 6px 0 0 6px;
}

body.archive.category.category-adventure.category-111.custom-background.wp-embed-responsive.wp-theme-bgames {
    height: 100vh;
}

@media screen and (max-width: 2000px) {
 .game-left,.game-play-left {
    display: none;
    }
}
    
   
@media screen and (max-width: 1800px) {
    
    .game-right-small,.game-play-left {
    display: none;
    }
}

@media screen and (max-width: 1439px) {
    .game-right-small,.game-left,.game-play-left,.game-play-left-ads {
        display:none;
    }
.game-play-left-ads {
    display: none;
}
    #my_game,.game-content {
    }
}

@media screen and (max-width: 1190px) {
    .container {
    }
.gametop, .gamebottom {
    gap: 0px;
}
    .game-left-small,.gameplay-right-ads {
     display: none;
    }

    .game-related {
        float: left;
        width: 100%;
        height: auto;
        padding-bottom: 10px;
        position: relative;
        overflow: hidden;
    }
}

@media screen and (max-width: 1024px) {
    .gameplay-right-ads, .gameright-bottom, .right-sidebar{
    display: none;
}

    #my_game,.game-content {
        padding: 0;
    }

    .container {
    }

    #footer-copyright-area {
        float: none;
        height: auto;
        color: #fff;
        display: block;
        text-align: center;
        font-size: 20px;
        font-weight: 400;
        overflow: hidden;
    }

    video {
        max-width: 100%;
    }

    .navbar-logo {
        margin: 0;
    }

    .catmenu::after,.navbar::after {
        display: block;
        clear: both;
        content: "";
    }

    .navbar-header {
        margin: 0 auto;
    }

    .nav-menu .catmenu li {
        width: 100%;
        max-width: 300px;
        text-align: center;
        background: 0 0;
    }

    .nav-menu .catmenu.active {
        left: 0;
    }

    .nav-menu .catmenu.active::after {
        content: "";
        display: block;
        position: fixed;
        left: 300px;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgba(0,0,0,.65);
        z-index: -1;
    }

    input[type=text] {
        width: calc(100% - 96px);
        height: 60px;
        font-size: 17px;
        font-weight: 400;
        text-align: center;
        outline: none;
        border: none;
        position: relative;
    }

    .searchimg {
        color: #585858;
    }

    button {
        z-index: 9999;
        outline: none;
        border: none;
        background: #fff;
    }

    #search-form-wrapper.active::after {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 106px;
        height: 100%;
        width: 100%;
        background: rgba(0,0,0,.65);
        z-index: -1;
    }

    .nav-menu .catmenu li a {
        color: #fff;
        margin: 0 auto;
        padding: 20px;
        height: inherit;
        display: block;
        width: inherit;
        float: none;
        border-bottom: 1px solid #fff;
        text-shadow: none!important;
    }

    .nav-menu .catmenu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        margin: 0;
        height: calc(100vh - 0px);
        width: 100%;
        max-width: 300px;
        padding: 40px 0;
        z-index: 9999;
        overflow: auto;
    }

    #xsUserMenu {
        display: none;
        right: 0;
        position: absolute;
    }

    #searchArea {
        position: fixed;
        background: 0 0;
        top: 0;
        right: 0;
        width: 50px;
        height: 60px;
        margin: 0;
        padding: 0;
        z-index: 999;
        cursor: pointer;
    }

    .search-icon svg {
        width: 20px;
        height: 20px;
    }

    svg.searchicon {
        width: 20px;
        height: 20px;
    }

    #game-play-top {
        width: auto;
        height: auto;
        position: relative;
    }

    .Gametop,.gamebottom {
        flex: 0 0 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .search-toggle,.search-cancel {
        display: block;
        cursor: pointer;
    }

    .search-block {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        z-index: 9999;
        overflow: hidden;
        background-color: rgba(0,0,0,.52);
    }

    .search-block.active {
        top: 0;
        right: 0;
    }

    .search-form-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 15px;
        position: relative;
    }

    .search-input {
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 60px;
        text-align: center;
        position: absolute;
        border: none;
        outline: none;
        background-color: #fff;
    }

    .search-icon {
        top: 20px;
        right: 15px;
        position: absolute;
    }

    .searchcancel {
        width: 20px;
        height: 20px;
        color: #585858;
        z-index: 9999;
        position: relative;
    }

    .search-cancel {
        width: 20px;
        height: 20px;
        z-index: 9999;
        position: relative;
    }

    .category-sidebar {
        display: none;
    }

    .footer-container {
        padding: 20px;
    }

    .navbar {
        justify-content: center;
    }

    .mmenu {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-start;
        position: fixed;
        width: 24px;
        height: 24px;
        top: 16px;
        left: 0;
        margin: 0;
        padding: 0;
        cursor: pointer;
        z-index: 999;
    }

    .mmenu.toggle {
        left: 246px;
        z-index: 9999;
    }

    .mmenu div {
        width: 24px;
        height: 3px;
        top: 0;
        left: 10px;
        background: #fff;
        margin: 0;
        position: relative;
        line-height: 0;
        padding: 0;
    }

    .toggle .mmenu-bar-top {
        transform: rotate(45deg) translate(0px,12px);
    }

    .toggle .mmenu-bar-middle {
        opacity: 0;
    }

    .toggle .mmenu-bar-bottom {
        transform: rotate(-45deg) translate(-1px,-12px);
    }
}

@media screen and (max-width: 768px) {
    .game_titles {
        display: none;
    }
    
    .ratings {
        left: 100px;
    }

    .game_title, .game_titles {
        padding-right: 50px;
    }
    .comment-form .comment-form-author,.comment-form .comment-form-email {
        flex-basis: 100%;
    }
    input#author, input#email {
        width: 100%;
        height: 50px;
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        margin: 10px 0;
        padding: 20px;
        outline: none;
        border-radius: 10px;
        position: relative;
    }
    .footer-container {
        display: grid;
        grid-column-gap: 20px;
        grid-row-gap: 30px;
        align-items: start;
        column-gap: 20px;
        grid-template-columns: repeat(auto-fit,minmax(215px,1fr));
        max-width: 100%;
        row-gap: 35px;
    }

    .menu,.menu2,.menu3,.follow-us {
        margin: 0;
    }
}

@media screen and (max-width: 550px) {
    .fbook,.insta,.linked,.pint,.twit {
        width: 18px;
        height: 18px;
    }
}
@media screen and (max-width: 425px) {
  .ratings {
    padding-top: 10px;
    left: auto;
    position: relative;
}
.game_title {
    display: none;
}
.game_titles {
    display: block;
}
.game_buttons {
    top: 20px;
} 
}
@media screen and (max-width: 600px) {
    .cat-item {
        grid-column:span 2/auto;
    }

    .cat-item:hover {
        transform: scale(1.02) translate(0px,0px);
        transition-duration: .3s;
        text-decoration: none;
    }
}
@media screen and (min-width: 2001px) {
.game-play-left {
    flex: 0 0 208px;
    width: 208px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 620px;
    overflow: hidden;
    align-items: center;
}
}
@media screen and (min-width: 1801px) {
.game-right-small, .game-left {
    flex: 0 0 208px;
    width: 208px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 620px;
    overflow: hidden;
    align-items: center;
}
}

@media screen and (min-width: 1440px) {
    .gameright-bottom-ads {
        display:none;
    }
.game-play-left-ads {
    width: 300px;
    height: 620px;
    flex: 0 0 300px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
    .gameright-bottom {
        /* min-width: 515px; */
    }
}

@media screen and (min-width: 1191px) {
    .game-related {
        display:none;
    }
.gameplay-right-ads {
    width: 300px;
    height: 250px;
    flex: 0 0 300px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.right-sidebar {
    flex: 0 0 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
    .gameright-bottom {
    grid-column: span 3/auto;
    grid-template-columns: repeat(2, 1fr);
}
    #fullgame {
    }
}

@media screen and (min-width: 1025px) {
    #fullgame {
}

    #xsUserMenu {
        right: 16px;
        position: absolute;
    }

    #xsUserMenu li a img {
        width: 28px;
        height: 24px;
        margin-left: -2px;
    }

    #searchArea,.search-cancel,.mmenu.toggle {
        display: none;
    }

    .search-form-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        float: right;
        margin-right: 20px;
        border-radius: 50px;
        width: 226px;
        height: 38px;
        border: none;
        outline: none;
        background-color: #fff;
        z-index: 9999;
        position: relative;
    }

    .search-input {
        width: 78%;
        display: inline-block;
    }
}
@media screen and (min-width: 769px) {
    .ratings {
        right: 60px;
    }
    .game_title {
        display: none;
    }

    input#email {
        margin-left: 10px;
    }
    .frmspr.cols-n4 {
        margin: 10px 0;
        width: 49%;
        float: left;
    }
}
/* Base / Mobile (Default) */
@media screen and (min-width: 481px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* XXS Breakpoint */
@media screen and (min-width: 721px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* XS Breakpoint */
@media screen and (min-width: 961px) {
  .game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* SM Breakpoint */
@media print, screen and (min-width: 1025px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* MD Breakpoint */
@media screen and (min-width: 1201px) {
  .game-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* LG Breakpoint */
@media screen and (min-width: 1367px) {
  .game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* XL Breakpoint */
@media screen and (min-width: 1576px) {
  .game-grid {
    grid-template-columns: repeat(9, 1fr);
  }
}

/* XXL Breakpoint */
@media screen and (min-width: 1876px) {
  .game-grid {
    grid-template-columns: repeat(10, 1fr);
  }
}

/* XXXL Breakpoint */
@media screen and (min-width: 2081px) {
  .game-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}