body {
    background: url(/images/bg_7_pattern.png);
}

h1 {
    text-transform: capitalize;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

#header {
    border-bottom: 1px solid #E7D05E;
    height: 67px;
}

.logo a {
    line-height: 70px;
    text-decoration: none;
    width: 167px;
    height: 70px;
    display: block;
    position: relative;
    margin: 0 auto;
    padding-top: 3px;
    z-index: 1000;
}

.logo img {
    margin-top: 0px!important;
}

.ui-autocomplete-loading { 
    background-image: url('/images/spinner.gif');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: right 3px center;
}

#searchParent {
    background-image: url(/images/search-icon.png);
    background-repeat: no-repeat;
    background-position-x: 2px;
    background-color: #fff;
    padding: 0;
    border-radius: 4px;
    margin-left: 5px;
    margin-right: 5px;
}

#searchMobile {
    padding-left: 36px;
    background-color: transparent;
}

#searchSmall span.glyphicon-ban-circle {
    display: none;
    position: absolute;
    right: 0;
    font-size: 28px;
    margin-top: 4px;
    margin-right: 4px;
    color: #000;
}

.language-selector {
    float: right;
    text-align: right;
}

.language-selector button {
    margin: 0;
    margin-top: 12px;
    margin-bottom: 22px;
    padding: 0px;
    background: transparent;
    text-shadow: none;
    box-shadow: none;
    border: none;
}

.left-sidebar {
    background-color: #fff;
    margin-top: 30px;
    padding: 10px 7px;
    max-width: 212px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category {
    padding: 8px 4px;
    width: auto;
    height: 62px;
    text-align: right;
    min-width: 270px;
    display: block;
    border: 1px solid #E7D05E;
    border-bottom: none;
}

.category-0 {
    background-color: #054D9C;
    height: 52px;
}

.category-1 {
    background-color: #67AF7F;
}

.category-2 {
    background-color: #3EC7CD;
}

.category-3 {
    background-color: #A0CD2C;
}

.category-4 {
    background-color: #45BE95;
}

.category-5 {
    background-color: #DDD16D;
}

.category-6 {
    background-color: #8BCB99;
}

.category-7 {
    background-color: #F7E39C;
}

.category-8 {
    background-color: #3EC7CD;
}

.category-9 {
    background-color: #50BAA6;
}

.category-10 {
    background-color: #22C2F2;
}

.category-11 {
    background-color: #FC5447;
}

.category-12 {
    background-color: #CE308D;
}

.category:last-child {
    border-bottom: 1px solid #E7D05E;
}

.category img {
    width: 44px;
    height: 44px;
}

.category .glyphicon {
    display: block;
    color: #fff;
    line-height: 44px;
    padding-right: 10px;
    float: right;
}

.category a:hover,
.category a:focus {
    text-decoration: none;
}

.category .category-name {
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
}

#LangMap {
    display: none;
    position: absolute;
    width: 300px;
    text-align: left;
    right: 0;
    margin: 0 auto;
    padding: 0px;
    z-index: 10000;
    background: white;
}

#LangMap .lang-container {
    border: 1px solid #E7D05E;
}

#LangMap .lang-column {
    display: inline-block;
    margin: 6px 10px;
}

#LangMap .lang-column:nth-child(2) {
    margin-left: 32px;
}

#LangMap .lang-column a {
    display: block;
    padding: 6px 12px;
    color: #555;
}

#back-button {
    display: none;
    margin: 10px 20px;
    z-index: 100;
    position: relative;
}

#back-button a.btn {
    width: 100%;
    display: block;
    float: left;
    margin-bottom: 10px;
}

#LangMap #regions {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    margin-top: 1px;
}

#LangMap #regions a {
    display: inline-block;
    padding: 4px;
}

#regions #asia,
#regions #america,
#regions #oceania,
#regions #africa,
#regions #europe {
    display: none;
    position: relative;
}

.games {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.breadcrumb {
    display: block;
    float: left;
    margin-top: 30px;
    color: #fff;
    border: 1px solid #E7D05E;
    background-color: transparent;
}

.breadcrumb>li+li:before {
    display: none;
}

.breadcrumb a {
    color: #fff;
    background-color: #E7D05E;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: #fff;
}

.game-outer {
    padding: 0px 5px;
}

.game {
    background: #fff;
    padding: 3px;
    max-width: 246px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.game img {
    max-width: 100%;
    height: auto;
}

.game .game-title {
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: capitalize;
}

.game .game-software {
    display: block;
    color: #777;
    font-size: 15px;
    margin-top: 7px;
    margin-bottom: 8px;
}

.game a:hover, 
.game a:focus {
    text-decoration: none;
}

.game-content {
    margin-top: 10px;
}

.game-logo {
    text-align: center;
}

.gallery {
    margin-bottom: 30px;
    
}

.game-images {
    margin-top: 20px;
    height: 200px;
    width: 100%;
}

.game-images a {
    display: inline-block;
}

.game-images a .thumbnail {
    margin-bottom: 0px;
    width: 250px;
    height: 190px;
}

.game-code {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    max-width: 800px;
    max-height: 600px;
    margin-left: auto;
    margin-right: auto;
    background-position: center top;
    background-size: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.subtitle a {
    color: #fff;
    text-decoration: none;
}

ul.ui-autocomplete {
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    position: absolute;
    list-style: none;
    padding: 4px;
    z-index: 10000;
}

ul.ui-autocomplete li.ui-menu-item a {
    display: block;
    float: left;
    width: 100%;
    padding-top: 2px;
    padding-bottom: 2px;
}

ul.ui-autocomplete li.ui-menu-item a:hover,
ul.ui-autocomplete li.ui-menu-item a:focus {
    text-decoration: none;
}

ul.ui-autocomplete li.ui-state-focus:focus {
    outline: 0;
    margin: 0!important;
}

ul.ui-autocomplete .ui-menu-item span.gameImage {
    width: 60px;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    margin-right: 6px;
}

ul.ui-autocomplete .ui-menu-item span.gameImage.default {
    border: 1px solid #ccc;
}

ul.ui-autocomplete .ui-menu-item span.gameName {
    color: #555;
}

ul.ui-autocomplete a:focus {
    outline: 0;
}

.button-container {
    text-align: center;
    margin-bottom: 20px;
}

.responsive {
    display: block;
}

#categoriesSmall {
    display: none;
}

.navbar-default {
    background-color: transparent;
    border: none;
}

.navbar-default .navbar-toggle-left {
    float: left;
    margin-top: 17px;
    display: block;
    border-color: #E7D05E;
    border: none;
}

.navbar-default .navbar-toggle-left:focus,
.navbar-default .navbar-toggle-left:hover {
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

#toTop {
    display: none;
    background: #E7D05E;
    color: #fff;
    border: 1px solid #E7D05E;
    width: 28px;
    height: 28px;
    text-align: center;
    font-size: 16px;
    padding: 5px 4px 2px 3px;
    position: fixed;
    bottom: 6px;
    right: 6px;
    cursor: pointer;
    z-index: 100;
    line-height: 16px;
    border-radius: 4px;
}



/* General styles for all menus */

.cbp-spmenu {
	position: fixed;
}

.cbp-spmenu h3 {
	color: #afdefa;
	font-size: 1.9em;
	padding: 20px;
	margin: 0;
	font-weight: 300;
	background: #0d77b6;
}

.cbp-spmenu a {
	display: block;
	color: #fff;
	font-size: 1.1em;
	font-weight: 300;
        text-align: left;
}

.cbp-spmenu a:active {
	background: #afdefa;
	color: #47a3da;
}

/* Orientation-dependent styles for the content of the menu */

.cbp-spmenu-vertical {
	width: 240px;
	height: 100%;
	top: 0;
	z-index: 1000;
}

.cbp-spmenu-horizontal {
	width: 100%;
	height: 150px;
	left: 0;
	z-index: 1000;
	overflow: hidden;
}

.cbp-spmenu-horizontal h3 {
	height: 100%;
	width: 20%;
	float: left;
}

.cbp-spmenu-horizontal a {
	float: left;
	width: 20%;
	padding: 0.8em;
	border-left: 1px solid #258ecd;
}

/* Vertical menu that slides from the left or right */

.cbp-spmenu-left {
	left: -240px;
}

.cbp-spmenu-right {
	right: -240px;
}

.cbp-spmenu-left.cbp-spmenu-open {
	left: 0px;
}

.cbp-spmenu-right.cbp-spmenu-open {
	right: 0px;
}

/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top {
	top: -150px;
}

.cbp-spmenu-bottom {
	bottom: -150px;
}

.cbp-spmenu-top.cbp-spmenu-open {
	top: 0px;
}

.cbp-spmenu-bottom.cbp-spmenu-open {
	bottom: 0px;
}

/* Push classes applied to the body */

.cbp-spmenu-push {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.cbp-spmenu-push-toright {
	left: 240px;
}

.cbp-spmenu-push-toleft {
	left: -240px;
}

/* Transitions */

.cbp-spmenu,
.cbp-spmenu-push {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Example media queries */

@media screen and (max-width: 55.1875em){

	.cbp-spmenu-horizontal {
		font-size: 75%;
		height: 110px;
	}

	.cbp-spmenu-top {
		top: -110px;
	}

	.cbp-spmenu-bottom {
		bottom: -110px;
	}

}

@media screen and (max-height: 26.375em){
    .cbp-spmenu-vertical {
            font-size: 90%;
            width: 190px;
    }

    .cbp-spmenu-left,
    .cbp-spmenu-push-toleft {
            left: -190px;
    }

    .cbp-spmenu-right {
            right: -190px;
    }

    .cbp-spmenu-push-toright {
            left: 190px;
    }
}

#header.sticky {
    position: fixed;
    width: 100%;
    height: 67px;
    z-index: 1000;
}
    
.left-sidebar {
    top: 76px;
    overflow: hidden;
    overflow-y: scroll;
    padding: 0px;
    background-color: transparent;
    width: auto;
    max-width: inherit;
    left: -100%;
    margin-top: 0px;
    padding-bottom: 76px;
}

#main-content.pushed {
    margin-top: 67px;
    position: fixed;
    -webkit-transition: opacity .5s,width .1s .5s,height .1s .5s,transform .5s;
    transition: opacity .5s,width .1s .5s,height .1s .5s,transform .5s;
    -webkit-transform: translate3d(235px,0,0);
    transform: translate3d(235px,0,0);
    width: 100%;
}

#main-content .overlay.pushed {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: .5;
    background: url(/images/bg_7_pattern.png);
}

@media (min-width: 1200px) {
    #toTop {
        display: none!important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .left-sidebar {
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media only screen and (max-width: 767px) {
    .logo {
        text-align: center;
    }
    
    .responsive {
        display: none;
    }

    #categoriesSmall {
        display: block;
    }

    #categoriesBig {
        display: none;
    }
    
    #header .logo img {
        max-width: 100%;
        width: auto;
        height: auto;
    }
}
    
h1, h4 {
    text-align: center;
}

#hp-title {
    text-align: center;
    margin-top: 24px;
    margin-bottom: -6px;
    font-size: 28px;
}

#hp-title a {
    color: #fff;
}

.navbar {
    margin-bottom: 0px;
}

#game {
    max-width: 100%;
    border: none;
}

.game-code .game-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.game-code #game-play {
    position: absolute;
    background: transparent;
    border: none;
    font-size: 82px;
    color: #3fb618;
    line-height: 82px;
    width: 94px;
    height: 96px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.game-code #game-play:focus {
    outline: none;
}

.game-code #game-play .glyphicon:focus {
    outline: none;
}

.region-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

span.ui-helper-hidden-accessible {
    display: none!important;
}

#more-games {
    background-color: #E7D05E;
    border-color: #E7D05E;
}

#more-games .glyphicon {
    color: #fff;
}

#prev-page, #next-page {
    margin-top: 24px;
    padding-left: 24px;
    padding-right: 24px;
    color: #fff;
    background-color: #E7D05E;
}

#prev-page {
    float: left;
}

#next-page {
    float: right;
}

#game-report.row {
    margin-bottom: 30px;
    text-align: center;
}

#report-problem {
    text-align: center;
    margin-top: 14px;
    display: inline-block;
    position: relative;
    color: #fff;
    background-color: #E7D05E;
}

#report-problem>span.glyphicon {
    font-size: 36px;
    color: #fff;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 8px;
}

#report-game {
    line-height: 30px;
    color: #fff;
}

#report-game:hover,
#report-game:focus {
    text-decoration: none;
}

#report-game span.glyphicon {
    color: #fff;
    font-size: 18px;
    vertical-align: text-bottom;
    padding-left: 4px;
}

#report-game span.glyphicon.pressed {
    color: #3fb618;
    font-size: 24px;
}

#recent {
    text-align: center;
    margin-bottom: 30px;
}

#recent-games {
    text-align: center;
    margin-top: 14px;
    display: inline-block;
    position: relative;
    color: #fff;
    background-color: #E7D05E;
}

#recent-games>a>span.glyphicon {
    font-size: 36px;
    color: #fff;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 8px;
    padding: 2px;
}

#recent-games>a {
    display: block;
    line-height: 30px;
    color: #fff;
}

#recent-games>a:hover, #recent-games>a:focus {
    text-decoration: none;
}

.game.home {
    background: none;
}

.game.home .glyphicon {
    margin-top: 58px;
    color: #fff;
    font-size: 128px;
}

.game.cat img {
    margin-top: 30px;
    margin-bottom: 20px;
}

.game.cat .game-title {
    margin-bottom: 6px;
}

.game.soft img {
    padding-top: 75px;
    padding-bottom: 65px;
}

.game.soft .game-title {
    margin-bottom: 6px;
}

.recent-games .game {
    height: 254px;
}

@media(max-width: 530px) {
    .game-outer {
        height: 274px;
    }
    
    .recent-games .game {
        height: initial;
    }
    
    .recent-games .game img {
        margin-top: initial;
        margin-bottom: initial;
    }
    
    .recent-games .soft img {
        padding-top: 55px;
        padding-bottom: 45px;
    }
}
