/*Main*/

body {
    background: #0073dd;
    color: #fff;
}
main {
    margin-top: 10px;
}

/*@media only screen and (min-width : 1200px) {
    .container { max-width: 1500px; }
}*/
/*Navbar*/
.navbar-nav.romgame-navbar .nav-link {
    position: relative;
    padding: 3px 20px;
    font-size: 15px;
    margin: 7px 5px;
    cursor: pointer;
    font-weight: 600;
    color: #035193;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}
.dropdown:hover>ul.dropdown-menu {
    display: block;
    background: #fc0;
}

.nav-link img {
    margin: auto;
    display: block;
}


.web-logo {
    width: auto;
    max-height: 70px;
    padding: 3px 5px;
}

.nav-logo {
    width: auto;
    max-height: 45px;
    padding: 3px 5px;
}

.frm-search {
    padding: 3px 10px;
}

.dropdown-menu {
    min-width: 12rem;
}
.dropdown-item {
    padding: .35rem 1.5rem;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}
.dropdown:hover > .nav-link.dropdown-toggle {

}

.dropdown:hover > .nav-link {
    background: #b5890029;
    color: #fff;
}

/*search page*/

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}
/*Banner Search Button*/


.banner-search .input-group-text {
    border-radius: 4px 0 0 4px;
}

.banner-search .input-group-append  span.input-group-text {
    border-radius: 4px 0 0 4px;
}

.keyword:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.banner-search .search-button {
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    padding: 0 30px;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    border: none;
    background-color: #98e039;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#98e039),to(#70be38));
    background-image: -webkit-linear-gradient(#98e039,#70be38);
    background-image: linear-gradient(#98e039,#70be38);
    font-family: opensans-bold-webfont,Arial,sans-serif;
    font-weight: 600;
}
/*NAV BAR*/
.navbar {
    padding: 0;
}
.navbar-nav.romgame-navbar .nav-link:hover {
    color: #fff;
}
.navbar-nav.romgame-navbar .dropdown-item:focus {
    background: #689BF9;
    color: #fff;
}

#pre-footer {
    margin: 0;
}
#pre-footer .container {
    padding-top:15px;
    padding-left: 0;
}


#pre-footer .container ul li:first-child {
}
.card {
    margin-bottom: 20px;
}


/*new */
.popular-game {
    padding: 0 10px;
}
.popular-game .game-item {
    padding: 2px 5px 5px 5px;
    margin: 0;
}


.popular-game .game-item figure {
    width: 100%;
    display: inline-block;
    background-color: #404451;
    border: 2px solid #fff;
    color: #fff;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-align: center;
    border-radius: 5px;
    box-sizing: border-box;
    max-height: 148px;
}

.popular-game .game-item figure:hover {
    border: 2px solid #fc0;
}

.popular-game .game-item figure a {
}

.popular-game .game-item figure img {
    object-fit: cover;
    object-position: 30% 50%;
    width: 100%;
    height: 150px;
    max-width: 100%;
}

.popular-game .game-item figure:hover img{
    object-fit: cover;
    object-position: 70% 70%;
    -webkit-transition: all 1s 0.1s;
    -moz-transition: all 1s 0.1s;
    transition: all 1s 0.1s;
}

.popular-game .game-item figure:hover figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 2px;
    background: #fc0;
    color: #035193;
    font-size: 14px;
    height: 25px;
}

.popular-game .game-item figure:hover figcaption a {
    margin-right: auto;
    color: #035193;
    font-weight: bold;
}

.popular-game .game-item figure:hover figcaption span {
    display: block;
    position: absolute;
    right: 0;
    bottom: 25px;
    padding: 4px 5px 3px 7px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.popular-game .game-item figcaption {

}

.popular-game .game-item figcaption a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #035193;
    margin-left: auto;
    margin-right: 25px;
    text-decoration: none;
}

.popular-game .game-item figcaption span {


}

.popular-game .game-item figure:hover figcaption {
    opacity: 0.9;
    -webkit-transition: opacity 0.15s 0.1s;
    -moz-transition: opacity 0.15s 0.1s;
    transition: opacity 0.15s 0.1s;
}

/*Game Detail Cat */

.game-list-cat {
}

.game-list-cat .game-item {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    overflow: hidden;
}


.game-list-cat .game-item .game-content-wrapper a {
    text-transform: capitalize;
}

.game-list-cat .game-item .game-content-wrapper a:hover {
    text-decoration: none;
}
/* List category Widget*/

.category-widget {
    background: #00acee;
    padding: 0 3px 4px 5px;
    margin: 0 0 30px;
}

.card-header {
    background: #00acee;

}

.list-category .list-group-item {

}


.category-widget .ctitle {
    font-size: 18px;
    color: #fff;
    padding: 10px 10px 3px
}
.list-category .list-group-item {
    text-shadow: 2px 2px 3px #1a1b1d;
}
.list-category .list-group-item:nth-child(odd) {
    background-color: #0736424d;

}

.list-category .list-group-item:nth-child(even) {
    background-color: #b5890038;
}

.list-category .list-group-item:hover {
    font-weight: bold;
    background-color: #5c610080 !important;
}

.list-category .list-group-item:hover a {
    color: #d1fff8;
}

.list-category .list-group-item:first-child {
    padding: 0;
    border: none;
}

.list-category .list-group-item a {
    text-decoration: none;
    color: #fff;
}
.list-category .list-group-item a:hover {
    color: #d1fff8;
}



.game-list-cat .game-item .game-link-wrapper img {
    border: 1px solid #32bdff17;
    padding: 1px !important;
    width: 100%;
    object-fit: cover;
    height: 175px;
    vertical-align: middle;
}

.game-list-cat .game-item .game-content-wrapper .game-title {
    font-size: 1em;
    margin: 3px 0 5px;
}

.game-list-cat .game-item .game-item-description {

}

/*the box*/
.box {
    margin-bottom: 25px;
}

.box .ptags {
    line-height: 50px;
}

.box .ptags a {
    padding: 0;
    margin: 0 10px 20px 0;
    text-decoration: none;
    color: #e3e3e3;
    box-shadow: rgba(0,0,0,0.2) 0px -4px 0px 0px inset, rgba(0,0,0,0.25) 0px 2px 4px 0px, rgba(0,0,0,0.4) 0px 2px 4px 0px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0px -4px 0px 0px inset,rgba(0,0,0,0.25) 0px 2px 4px 0px,rgba(0,0,0,0.4) 0px 2px 4px 0px;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px -4px 0px 0px inset, rgba(0,0,0,0.25) 0px 2px 4px 0px, rgba(0,0,0,0.4) 0px 2px 4px 0px;
    background: #00acee;
    border: 2px solid #21242c;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    transition: .5s;
    cursor: pointer;
}
.box .ptags a {
    display: inline;
    padding: 10px;
    color: #f9f9f9;
    font-size: 16px;
}


/*Game Detail List*/

.game-list-detail {
    margin-right: -15px;
    margin-left: -15px;
}
.game-list-detail .game-item {
    padding: 0px 5px 5px 7px;
    margin: 0;
}
.game-list-detail .game-item a {
}
.game-list-detail .game-item img {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 152px;
    max-width: 100%;
}

.game-list-detail .game-item figure {
    margin: 0;
    position: relative;
}
.game-list-detail .game-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 2px;
    font-size: 0.6em;
    background: #fe6c00;
    color: #fff;
    opacity: 0;
    overflow: hidden;
    height: 17px;
}
.game-list-detail .game-item figure:hover figcaption {
    opacity: 0.9;
    -webkit-transition: opacity 0.15s 0.1s;
    -moz-transition: opacity 0.15s 0.1s;
    transition: opacity 0.15s 0.1s;
}

/*NAVBAR SEARCH*/

/*Game ITEM*/


.home-category .game-item {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    overflow: hidden;
}

.home-category .game-item .game-link-wrapper img {
    background-color: #006c8a;
    border: 1px solid #32bdff;
    padding: 5px !important;
}

.home-category .game-item .game-link-wrapper .field-image img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.home-category .game-item .game-link-wrapper img {
    float: left;
    margin-right: 10px;
    vertical-align: middle;
}

.home-category .game-item .game-link-wrapper .game-title {
    font-size: 1.133em;
    font-weight: bold;
}

.home-category .game-item .game-link-wrapper .game-title {
    color: #29bffd;
}

.home-category .game-item .game-link-wrapper .game-title {
    display: inline;
    margin-bottom: 5px;
}

.home-category .game-item .game-item-description {
    color: #fff;
}

.home-category .game-item .game-link-wrapper a {
}

.home-category .game-item .game-link-wrapper a:hover {
    text-decoration: none;
    color: #93aac3;
}

/*image hover zoom*/
.img-hover-zoom {
    height: 300px;
    overflow: hidden;
}
.img-hover-zoom img {
    transition: transform .5s ease;
}
.img-hover-zoom:hover img {
    transform: scale(1.5);
}
.popular-emulator-table {
    font-size: 14px;
}
.popular-emulator-table tr:first-child td {
    border: none;
}
.popular-emulator-table tr td:first-child {
    padding:3px;
}

.popular-emulator-table tr td:last-child {
    padding:3px;
    text-align:right;
}

.popular-emulator-table th {
    border: none;
}

.post-container {
    padding: 15px 0;
}

.console-logo img {
    max-width: 200px;
}

/* Detail */
/* Table spec */
.table-specs {
    background: #fff;
}
.table-specs td {
    padding: 5px;
}
.table-specs tr:first-child td {
    border: none;
}
.table-specs tr:last-child td {
    padding-top: 10px;
    border: none;
}

/*Feature IMG*/
.feature-img {
    padding: 5px 0;
}
.feature-img img{
    max-width: 100%;
}

/*Search */

.search-drop:before {
    content: "";
    position: absolute;
    top: -9px;
    left: 18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px;
    border-color: transparent transparent #fff transparent;
}
.search-drop {
    display: none;
    position: absolute;
    top: 75px;
    left: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 15px;
    background: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 -1px 8px -1px #afafaf;
    box-shadow: 0 -1px 8px -1px #afafaf;
    text-align: left;
    color: #333;
    z-index: 100;
}


/* Category List Homepage*/
.home-category {
    background-color: #00acee;
    padding-top: 20px;
}

.home-category h2.home-title {
    padding: 5px 25px;
    background-color: #00bc8c;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 25px;
    position: relative;
}

.home-category h2.home-title span a {
    color: #ccc;
    float: right;
    font-size: 12px;
    padding: 3px 10px;
}


/* List Table */
.top-100-list {
}
.console-list {
    table-layout:fixed;
    width:100%;
    font-size: 14px;
}
.console-list.table td {
    padding: 3px 10px;
}
.console-list.table tr td:nth-child(4n+1) {
    text-align: left;
}
.console-list.table tr td {
    text-align: center;
}
.btn-download {
    width: 100%;
    color: #fff;
    background-color:#0088fe;
    border-color:#0963d7;
    font-size: 24px;
    padding: 15px;
}
.btn-download:hover,.btn-download:active,.btn-download:focus {
    color: #fff;
    background-color:#0963d7;
    border-color:#0963d7
}

.btn-h{
    width:100%;
    color:#fff;
    background-color:#0088fe;
    border-color:#0963d7
}
.btn-h:hover,.btn-h:active,.btn-h:focus{
    color:#fff!important;
    background-color:#0963d7;
    border-color:#0963d7
}
.pagination .active a{
    color:#fff;
    background-color:#0088fe!important;
    border-color:#0963d7
}

#footer>.container {
    padding: 10px 15px;
}
#footer>.container ul {
    padding: 0;
    margin: 0;
}
code {
    font-size:80%
}

#footer{
    background-color:#22252d
}

.container-play {
    background: #00acee;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 5px 10px;
    margin: 10px 0;
}

.container-play-color {
    background: #00acee;
}
/* Breadcrumd */

.bc {
    border-bottom: 1px solid #ececec;
}

#breadcrumb {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #7391cf;
    margin-bottom: 20px;
    font-size: 0.9em;

}
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.6rem;

}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}


/* Header Game*/
.iframe iframe {
    width: 100%;
    height: 100%;
}



.game-thumbnail {
    position: relative;
    width: 125px;
}

.game-thumbnail>img {
    position: absolute;
    right: 0;
    top: -7px;
    width: 125px;
    height: 125px;
    border-radius: 100%;
    box-sizing: border-box;
    background-color: #34a0c3;
    border: 10px solid #aed2f3;
}

.force_full_screen {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999;
    top: 0px !important;
    border: 0px !important;
    left: 0px !important;
    right: 0px !important;
    max-height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}


/*  Banner */


.general-banner{
    padding-top:80px;
    margin-bottom:50px;
    text-align:center;
    background:url(../../img/game.jpg) bottom center;
    color:#fff;
    height:412px
}
.general-banner h1{
    font-family: 'Press Start 2P', cursive;
    text-transform:uppercase;
    font-size: 36px;
}
.general-banner h2{
    font-family: 'Press Start 2P', cursive;
    text-transform:uppercase;
    font-size: 28px;

}
.general-banner-text{
    margin:27px 0 50px;
    font-weight:400;
    font-family: 'VT323', monospace;
    font-size: 22px;

}

.search.is-mobile{
    -webkit-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap
}
.search.is-mobile .search__action{
    width:100%
}


.input.is-big {
    padding: 0 10px 0 50px;
    height: 54px;
    line-height: 50px;
    border-color: transparent;
    font-size: 16px;
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    font-weight: 400;
}

/* Header Bar */


.bg-darkly {
    background-color:#fc0;
}

/*Banner Search*/

.banner-search .keyword {
    border-left: none;
}
.banner-search .input-group-text {
    border-right: none;
    background: #fff;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb a {
     color: #ffdb4a;
 }

.breadcrumb a:link, .breadcrumb a:hover,.breadcrumb a:active {
    color: #fc0;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

.table thead th {
    color: #fff;
}

/*Heading */

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h1.title {
    text-shadow: 2px 2px 3px #1a1b1d;
    text-transform: uppercase;
    font-size: 24px;
    color: #fff;
}
h2.title {
    text-shadow: 2px 2px 3px #1a1b1d;
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
}

h2.home-title {
    text-shadow: 2px 2px 3px #1a1b1d;
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
}

h2.home-title span {
    color: #ffdb4a;
}

h1.ctitle {
    text-shadow: 2px 2px 3px #1a1b1d;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
}

h1.ctitle span {
    text-shadow: 2px 2px 3px #1a1b1d;
    color: #ffdb4a;
}
h4.title {
    text-shadow: 2px 2px 3px #1a1b1d;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
}

h4.widget-title {
    text-shadow: 2px 2px 3px #1a1b1d;
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
    padding: 10px 0 5px;
}


h4.widget-title span {
    text-shadow: 2px 2px 3px #1a1b1d;
    color: #ffdb4a;
}

.console-content {
    padding-top: 20px;
}

/*Widget*/
.widget ol {
    padding: 0 15px;
    margin: 10px;
}

.widget-fullwidth ol {
    padding: 0 5px;
    margin: 0;
    font-size: 14px;
}


.widget ol li {
    padding: 0;
}

.widget ol li small {
    padding-left: 5px;
    font-size: 11px;
    color: #333;
}

.navbar-dark .navbar-toggler {
    border: none;
}


/* Mobile Game PlaY*/


.mobile-play img {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 410px;
    max-width: 100%;
}
.mobile-play figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 2px;
    font-size: 0.6em;
    background: #fe6c00;
    color: #fff;
    opacity: 0;
    overflow: hidden;
    height: 17px;
}


@media (max-width: 600px) {
    .general-banner {
        padding-top: 50px;
    }
    .general-banner h1{
        font-size: 22px;
    }
    .general-banner h2{
        font-size: 18px;

    }
    .general-banner-text{
        margin:15px 0 25px;
        font-size: 18px;

    }

    .banner-search .search-button {
        padding: 0 15px;
    }
    .iframe {
        height: 350px;
    }
    .mobile-play img {
        height: 230px;
    }
}

.rateit small {
    display: none;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media (min-width: 600px) {
    .general-banner h1{
        font-size: 26px;
    }
    .general-banner h2{
        font-size: 20px;

    }
    .general-banner-text{
        margin:27px 0 50px;
        font-size: 18px;

    }

    .iframe {
        height: 350px;
    }


}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .iframe {
        height: 634px;
    }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .general-banner h1{
        font-size: 32px;
    }
    .general-banner h2{
        font-size: 24px;

    }
    .general-banner-text{
        margin:27px 0 50px;
        font-size: 22px;

    }
    .iframe {
        height: 634px;
    }
    .container {
        max-width: 1200px;
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .iframe {
        height: 634px;
    }

    .container {
        max-width: 1410px;
    }
}


.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}