/*
Theme Name:  BGames
Author:  B Games
Author URI: https://www.y8games.net
Description:  BGames is an online game's theme.
Requires at least: 5.3
Tested up to: 6.0
Requires PHP: 5.6
Version: 2.0.0
Tags: left-sidebar, right-sidebar, rtl-language-support, theme-options, custom-colors, custom-logo, featured-images
*/
@font-face {
    font-family: source sans pro;
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-regular.eot);
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-regular.eot#iefix) format('embedded-opentype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-regular.woff2) format('woff2'), url(/wp-content/themes/bgames/fonts/source-sans-pro-regular.ttf) format('truetype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-regular.svg#SourceSansPro) format('svg');
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: source sans pro;
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-600.eot);
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-600.eot#iefix) format('embedded-opentype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-600.woff2) format('woff2'), url(/wp-content/themes/bgames/fonts/source-sans-pro-600.ttf) format('truetype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-600.svg#SourceSansPro) format('svg');
    font-style: normal;
    font-weight: 600;
    font-display: swap
}

@font-face {
    font-family: source sans pro;
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-700.eot);
    src: url(/wp-content/themes/bgames/fonts/source-sans-pro-700.eot#iefix) format('embedded-opentype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-700.woff2) format('woff2'), url(/wp-content/themes/bgames/fonts/source-sans-pro-700.ttf) format('truetype'), url(/wp-content/themes/bgames/fonts/source-sans-pro-700.svg#SourceSansPro) format('svg');
    font-style: normal;
    font-weight: 700;
    font-display: swap
}

body {
    font-family: source sans pro, sans-serif;
    color: #fff;
    font-size: 1em;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow-x: hidden
}

img {
    width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    font-family: source sans pro, sans-serif;
    margin: 0;
    padding: 0
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
a:hover {
    text-decoration: underline
}
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 66px;
    z-index: 1030
}
#top-header {
    height: 66px;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.grid {
    display: grid;
    grid-gap: 0.625rem;
    grid-auto-rows: auto;
    grid-auto-flow: dense;
}
.hd {
    grid-template-columns: repeat(2,1fr);
}
.g-col {
    width: auto;
    height: auto;
}
.pt-5 {
    padding-bottom: 20px;
}
.container {
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.game-tile:hover {
    transform: scale(1.01869) translate(0, -4px);
    transition-duration: .3s
}

.game-tile {
    display: flex;
    align-items: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 24%) 0 6px 12px 0;
}

.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(0, 8px);
}

.game-tile:hover .game-title {
    overflow: hidden;
    height: auto;
    opacity: 1;
    transform: translate(0, 0);
    line-height: 2;
    text-shadow: 1px 1px 1px #000;
    background-image: linear-gradient(to bottom, rgb(0 0 0 / 0), rgb(49 62 86 / 80%) 80%);
    text-overflow: ellipsis;
    white-space: nowrap
}
#mobileUserMenu {
    display: flex;
    position: fixed;
    background: #d8d8d800;
    top: 0;
    right: 0;
    float: right;
    width: 54px;
    height: 58px;
    margin: 0;
    padding: 0;
    margin-top: 0;
    z-index: 999
}

.ratings {
    float: right;
    right: 50px;
    padding: 0 10px;
    margin: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    position: absolute
}
.game_buttons {
    float: right
}
.bi.bi-arrows-fullscreen {
    width: 30px;
    height: 30px;
}
.bordeswf {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #90caf9) 0 0/300% 300%;
    animation: pluto-gradient 60s ease 0s infinite normal none running
}
.wp-img {
    width: 150px;
    height: 150px;
    margin-top: -99px;
    border-radius: 4px;
    box-shadow: 0 1px 2px transparent;
}
.wp-button {
    margin: 10px 0;
    padding: 5px 0;
    border-radius: 6px;
    border: 0;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 2px transparent;
    width: 150px;
    background-color: hsla(0, 0%, 100%, .9)
}

.wp-button a {
    color: #000;
    font-size: 24px;
    font-weight: 700
}

.header {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.8px;
    padding-bottom: 10px;
    overflow: hidden;
}

.seo_content_box a {
    color: #fff
}

#header_title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding-top: 10px;
    grid-column: span 6;
}

.footer {
    width: auto;
    height: auto;
}

.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: #204289;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 19px;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}
.game-play-left {
    float: left;
    padding: 0;
    margin-right: 10px;
    text-align: center;
    width: 300px;
    height: 600px;
    position: relative;
}

.game-left {
    float: left;
    padding: 0;
    margin: 10px 10px 0 0;
    width: 300px;
    height: auto;
}

.game-play-right {
    float: right;
    right: 0;
    padding: 0;
    margin-left: 10px;
    text-align: center;
    width: 300px;
    height: 600px;
    position: absolute
}
.seo-content {
    margin: 10px 10px 0;
    width: auto;
    height: 100%;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

#breadcrumb {
    width: auto;
    height: 100%;
    color: #585858;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.8px;
    margin: 0;
    padding-bottom: 10px;
    text-transform: capitalize;
}
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
}

#menu, #menu2, #menu3 {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 700
}

#menu-footer-menu a, #menu-footer2-navigation a, #menu-footer3-navigation a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
}

#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: table-cell;
    color: #ffffff;
}

.fbook, .insta, .linked, .pint, .twit {
    color: #ffffff;
	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 {
    display: grid;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px;
    position: relative;
}

#my_game {
    float: left;
    overflow: hidden;
    height: 100%;
    width: 100%;
    bottom: 0;
    border-radius: 10px;
    position: relative;
}

#fullgame {
    width: 100%;
    height: 445px;
    margin: 0;
    display: block;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0
}

#play_game {
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0
}

#playframe {
    width: 100%;
    height: 100%
}

.seo_content_box {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    width: auto;
    height: 100%;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.escenario {
    float: left;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px;
    position: relative;
    border-radius: 0 0 10px 10px;
    overflow: hidden
}

.fullscreen {
    float: right;
    right: 10px;
    color: #fff;
    width: auto;
    height: auto;
    margin-top: 15px;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.allcomments,.game_info_content,.wp-block-video {
    float: left;
    overflow: hidden;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 15px;
    position: relative;
    border-radius: 10px
}

.game_title {
    float: left;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.8px;
    text-transform: capitalize;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
    margin: 12px
}

.game-detail h1 {
    color: #585858;
    font-size: 32px;
    font-weight: 700
}

.gameplay-bottom {
    float: left;
    width: calc(100% - 310px);
    height: auto;
    margin: 10px 0;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.desc {
    float: left;
    width: 100%;
    color: #585858;
    font-size: 22px;
    font-weight: 600;
    padding: 10px 0
}

.cat-tags-info {
    float: left;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    padding: 0;
}

.cat-info {
    float: left;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 10px
}

.tags-info {
    float: left;
    display: block;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#bc {
    width: 100%;
    height: auto;
    color: #585858;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: 10px 0
}

#bc a {
    color: #585858
}

#bc a,#breadcrumb a {
    color: #585858;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px
}

.breadcrumb_last {
    color: #585858;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px
}

.video-container iframe {
    width: 100%;
    height: 600px
}

.cat-desc {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px
}

.content-title {
    color: #585858;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.8px;
    text-transform: capitalize;
    width: 100%
}

.cat-desc p {
    color: #585858;
    font-weight: 400;
    font-size: 22px;
    padding: 5px 0
}

.cat-desc a {
    color: #585858
}

.cat-img {
    float: left
}

.cat-img img {
    float: left;
    margin: 0;
    max-width: 85px;
    border-radius: 10px;
    box-shadow: 0 8px 12px 0 rgb(0 0 0/25%);
}

.cat-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.8px;
    text-transform: capitalize;
    padding-bottom: 10px;
    position: relative;
    overflow: hidden;
    width: 100%
}

#footer ul {
    list-style: none;
    border: none;
    margin: 0;
    padding: 0
}

#footer ul li {
    margin-top: 5px;
    padding-top: 0;
    padding-bottom: 0;
    text-transform: uppercase;
    font-size: 12px
}

#footer ul li a {
    font-size: 12px;
    text-decoration: none;
    margin-top: 5px;
    text-transform: uppercase;
    padding: 8px 8px 8px 10px
}

#footer ul li a:hover {
    text-decoration: underline
}

.required {
    font-weight: 400;
    font-size: 11px
}

#homepage-ads, #category-ads {
    grid-column: span 2;
    grid-row: span 2;
    width: auto;
    height: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.AdvertisementLabel {
    width: 100%;
    height: auto;
    bottom: 0;
    color: #e3e3e3;
    font-size: 14px;
    text-transform: uppercase;
    position: absolute;
    text-align: center;
}
.cat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: max-content;
    color: #0c0c0b;
    background: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 24%) 0px 6px 12px 0px;
}
.cat-item:hover {
    transform: scale(1.06) translate(0, 0);
    transition-duration: 0.3s;
}
.catmenu li {
    display: block;
    vertical-align: top;
    text-align: center;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.catmenu li:hover {
    color: #fff;
    background-image: none;
    position: relative;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    height: auto;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    visibility: visible;
}

.catmenu {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    vertical-align: top;
    align-items: center;
    list-style: none;
    position: absolute;
    top: 0;
    left: 399px;
    right: 282px;
    clear: both;
    height: 66px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 999;
}

.catmenu a {
    display: inline-block;
    position: relative;
    vertical-align: top;
    top: 0;
    padding: 16px;
    margin: 0;
    height: auto;
    text-align: center;
    text-decoration: none;
    font-size: 19px
}

.search-img {
    width: 22px;
    height: 22px;
}
    .searchimg {
        color: #1f3d7a;
    width: 22px;
    height: 22px;
        position: relative;
    }


#searchArea {
    position: fixed;
    background: #d8d8d800;
    top: 20px;
    right: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    z-index: 999;
    cursor: pointer;
}
.search-form-wrapper input {
    color: #585858;
    width: 100%;
    height: 38px;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
    border-radius: 4px;
    border: none;
    outline: none;
    text-align: center;
    position: relative;
}

.search-form-wrapper button {
    overflow: visible;
    position: absolute;
    top: 7px;
    right: 5px;
    padding: 0;
    cursor: pointer;
    width: 26px;
    height: 26px;
    margin: 0;
    border: none;
    background-color: #fdfdfd00;
}

.cat-item-title {
    color: #585858;
    font-size: 19px;
    font-weight: 700;
    padding: 10px;
    text-decoration: none;
    text-transform: capitalize;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    white-space: normal;
    position: relative;
}
.cat-item a {
    display: contents;
}
li a:hover {
    color: #585858;
}
.cat-item img {
    width: 80px;
    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 {
    float: right;
    margin-top: 20px;
    clear: both
}

.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;
    padding: 8px 20px 6px
}

.nextpostslink {
    border-radius: 0 6px 6px 0
}

.previouspostslink {
    border-radius: 6px 0 0 6px
}

.comment-reply-title {
    display: flex;
    justify-content: space-between
}

.comment-reply-title small a {
    font-size: 19px;
    font-weight: 400;
    letter-spacing: normal
}

.comment-meta .comment-author .fn {
    font-size: 19px;
    font-weight: 400;
    hyphens: auto;
    word-wrap: break-word;
    word-break: break-word
}

.comment-meta .comment-metadata {
    color: #ffffff;
    font-size: 14px;
    padding: 7px 9px;
}

.says {
    display: none
}

.comment-body {
    position: relative;
}

.comment-body>* {
    margin: 16px 0 10px 68px
}

.comment-body .reply {
    margin: 0 0 0 65px
}

.comment-content {
    word-wrap: break-word
}

.comment-respond>:first-child {
    margin-top: 0
}

.comment-respond>:last-child {
    margin-bottom: 0
}

.comment-author {
    float: left;
    margin: -8px 15px 5px 10px
}

.comment-form {
    display: flex;
    flex-wrap: wrap
}

.comment-form>* {
    flex-basis: 100%
}

.comment-form .comment-form-comment {
    width: 100%
}

.comment-form .comment-form-author,.comment-form .comment-form-email {
    flex-basis: 0;
    flex-grow: 1;
    padding-bottom: 10px
}

.comment-form>p {
    margin: 5px 25px
}

.comment-form>p:first-of-type {
    margin-top: 0
}

.comment-form>p:last-of-type {
    margin-bottom: 0
}

.comment-form>p input[type=email],.comment-form>p input[type=text],.comment-form>p input[type=url],.comment-form>p label,.comment-form>p textarea {
    display: block;
    font-size: 22px;
    width: 100%;
    font-weight: 500;
    border: none;
    border-radius: 4px
}

#tabs_header {
    font-size: 22px
}

.comment-meta.commentmetadata a,.comment-reply-link {
    color: #fff;
    font-size: 20px
}

.avatar.avatar-120.photo {
    width: 50px;
    border-radius: 50px
}

.comment-body a {
    color: #e7cbe7
}

.comment-form-url,.comment-form>.comment-form-cookies-consent,.comment-notes {
    display: none
}
@media all and (max-width: 1400px) {
    .game-left,.game-play-left {
        display:none
    }
}
@media all and (max-width: 991px) {

    .game-play-right {
        display: none
    }

    #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%
    }

    .catmenu:after,.navbar:after {
        display: block;
        clear: both;
        content: ''
    }

    .navbar-header {
        margin: 0 auto
    }
.search-img {
    top: 11px;
    right: 16px;
    position: absolute;
}
    .navbar-header .catmenu li {
        width: 100%;
        max-width: 300px;
        text-align: center;
        background: 0 0
    }

    .navbar-header .catmenu.active {
        left: 0
    }

    .navbar-header .catmenu.active::after {
        content: "";
        display: block;
        position: fixed;
        left: 300px;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgb(0 0 0/65%);
        z-index: -1
    }

input[type="text"] {
    width: 86%;
    height: 58px;
    font-size: 19px;
    font-weight: 400;
    text-transform: capitalize;
    outline: none;
    border: none;
    position: relative;
}
.searchimg {
    color: #585858;
}
button {
    z-index: 9999;
    outline: none;
    border: none;
    background: #ffffff;
}

    #search-form-wrapper.active::after {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 106px;
        height: 100%;
        width: 100%;
        background: rgb(0 0 0/65%);
        z-index: -1
    }

    .navbar-header .catmenu a {
        color: #fff;
        margin: 0 auto;
        padding: 10px;
        height: inherit;
        display: block;
        width: inherit;
        float: none;
        line-height: 2;
        text-shadow: none!important;
        border-bottom: 1px solid #fff
    }

    .navbar-header .catmenu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        margin: 0;
        height: calc(100vh - 0px);
        width: 100%;
        max-width: 300px;
        padding-top: 40px;
        z-index: 9999;
        overflow: auto
    }
    #mobileUserMenu {
        display: none;
        right: 0;
        position: absolute
    }

#searchArea {
    position: absolute;
    background: #d8d8d800;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    z-index: 999;
    line-height: 4.8;
    cursor: pointer;
}

.search-icon svg {
    width: 24px;
    height: 24px;
}

svg.searchicon {
    width: 24px;
    height: 24px;
}
#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: rgb(0 0 0 / 52%);
      }

      .search-block.active {
         top: 0;
         right: 0;
      }

   .search-form-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 1rem;
      line-height: 2.5;
      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: #ffffff;
   }

.searchcancel {
    width: 22px;
    height: 22px;
    color: #585858;
    z-index: 9999;
    position: relative;
}
.search-cancel {
    width: 22px;
    z-index: 9999;
    margin-top: 12px;
    position: relative;
}

    .footer-container {
        padding: 20px
    }

    .navbar {
    justify-content: center;
}
.mmenu {
    position: fixed;
    width: 36px;
    height: 26px;
    top: 18px;
    left: 10px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 999;
}

.mmenu.toggle {
    left: 246px;
    z-index: 9999
}
.mmenu div {
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 5px;
    transition: all 0.5s ease;
}

.toggle .mmenu-bar-top {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .mmenu-bar-middle {
    opacity: 0;
}

.toggle .mmenu-bar-bottom {
    transform: rotate(45deg) translate(-5px, -6px);
}
.small {
    grid-template-columns: repeat(6, 1fr);
}
}

@media all and (max-width: 768px) {

    .cat-img {
        width: 100%
    }

    .ratings {
        float: left;
        width: 75%;
        left: 0;
        bottom: 0;
        margin: 10px 0 0;
        padding-top: 10px;
        line-height: 1.2;
        position: relative;
        text-align: left;
        border-bottom: 1px solid #2c58af
    }

    .fullscreen {
        float: right;
        right: 0;
        bottom: -10px;
        color: #fff;
        width: auto;
        height: auto;
        font-size: 32px;
        margin: 10px;
        padding: 0;
        cursor: pointer;
        position: relative
    }

    .comment-form .comment-form-author,.comment-form .comment-form-email {
        flex-basis: 100%
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #menu,#menu2,#menu3,#social {
        margin: 0 0 20px;
        padding: 0 20px
    }
}

@media all and (max-width: 500px) {

    .game_title {
        width: calc(75% - 85px)
    }

.fbook, .insta, .linked, .pint, .twit {
    width: 18px;
    height: 18px;
}
}
 @media all and (max-width: 375px) {
	 .cat-item {
    grid-column: span 2;
}
.footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
}
@media(min-width: 1401px) {
    #my_game,.allcomments,.game_info_content,.wp-block-video {
        width: calc(100% - 310px);
    }

    .gameright-bottom-ads {
        display: none
    }
}
@media all and (min-width: 992px) {
    #game-play-top,#header_title {
        display:none
    }

    .game-aria,.game-content {
        margin-right: 310px;
    }

    .gameright-bottom {
    float: right;
    margin: 10px 0 0 10px;
    padding: 0;
    width: 300px;
    height: auto;
    position: relative;
    }

    #mobileUserMenu {
        right: 16px;
        position: absolute
    }

    #mobileUserMenu li a img {
        width: 28px;
        height: 24px;
        margin-left: -2px
    }

    #searchArea {
        display: none
    }
.search-cancel {
    display: none;
}

.search-form-wrapper {
    float: right;
    padding: 0;
    border-radius: 4px;
    width: 210px;
    height: 38px;
    right: 90px;
    top: 14px;
    border: none;
    outline: none;
    background-color: #fff;
    z-index: 9999;
    position: absolute;
}

    #fullgame {
        height: 526px
    }
.hd {
    grid-template-columns: repeat( auto-fit, minmax(164px, 1fr) );
}
.big {
    grid-template-columns: repeat(2, 1fr);
}
}

@media only screen and (min-width: 376px) and (max-width: 991px) {
.hd {
    grid-template-columns: repeat( auto-fit, minmax(144px, 1fr) );
}
}