/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* PALETTE 
#F6F4F4
#F3B353
#86B7D0
#BB605C
#475974
*/

/* Ruffle */
:root {
	--splash-screen-background: #000;
	--logo-display: none;
}

/* Global Reset */
* {
	margin: 0;
	padding: 0;
}

html, body { height: 100%; }

html {
	-webkit-font-smoothing: antialiased;
}

body {
	background-color: #EBEBEB;
	font: 13.34px Arial, sans-serif;
	font-size: small;
	text-align: center;
}

h1, h2, h3, h4, h5, h6 {
	color: #37404A;
	font-size: 100%; }

h1 { margin-bottom: 1em; }
p { margin: 1em 0; }

a         { color: #009df5; text-decoration: none; }
a:hover   { color: #33ccff; text-decoration: underline; }
/*a:visited { color: #4a6b82; }*/ /* нафиг выпендреж на игровом портале */

.clear-both {
	clear: both;
}

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
ul.posts {
	list-style-type: none;
	margin-bottom: 1.5em;
}

ul.posts li {
	line-height: 1.75em;
}

ul.posts span {
	color: #aaa;
	font-family: Monaco, Consolas, "Courier New", monospace;
	font-size: 80%;
}

ul.posts b.hot {
	background-color: #CC0000;
	color: #fff;
	font-size: 80%;
	padding: 0 0.4em;
}

ul.games {
	list-style-type: none;
	margin-bottom: 1.5em;
	overflow: auto;
	width: 100%;
	padding-bottom: 1px; // firefox fix
}

ul.games li {
	float: left;
	margin: 4px;
	line-height: 0;
}

img.icon-size {
	border: 0;
	width: 107px;
	height: 80px;
}

ul.games li.game-as-rectad-left {
	width: 336px;
	height: 280px;
	float: left;
	margin: 4px 5px 4px 4px;
}
ul.games li.game-as-rectad-right {
	width: 336px;
	height: 280px;
	float: right;
	margin: 4px 5px 4px 4px;
}

.hg-tooltip {
	background: #CC0000;
	border: 1px solid #fff;
	color: #fff;
	/*margin-left: 7px;*/
}
/* Use this next selector to style things like font-size and line-height: */
.hg-tooltip .tooltipster-content {
	font: 13.34px Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
	padding: 3px 6px;
}

div.tags {
	margin: 0 0 2em 0;
	text-align: left;
}
div.tags a {
	background-color: #FFFFFF;
	display: inline-block;
	font-size: 11px;
	margin: 2px 0;
	padding: 0.1em 0.6em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
}
div.tags a:hover {
	text-decoration: underline;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}

h1.tag-title, h1.search-title, h2.home-title, h1.notfound-title, div.tags h2 {
	margin-bottom: 1em;
	text-transform: uppercase;
}

h1.notfound-title {
	line-height: 1.3em;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
	font-size: 115%;
	text-align: justify;
	width: 860px;
	margin: 1em auto 1em;
	line-height: 1.2em;
}

.site .meta {
	color: #aaa;
}

.site .footer {
	font-size: 80%;
	color: #666;
	/*border-top: 2px solid #ccc;*/
	margin-top: 2em;
	overflow: hidden;
	/*width: 100%;*/
}

/*.site .footer .contact {
	float: left;
	margin-right: 3em;
}

.site .footer .contact a {
	color: #999;
}

.site .footer .rss {
	margin-top: 1.1em;
	margin-right: -.2em;
	float: right;
}

.site .footer .rss img {
	border: 0;
}*/

/* HEADER */

.header-wrap {
}

.header {
	width: 730px;
	height: 30px;
	margin: 0 auto;
	text-align: left;
	overflow: hidden;
	padding: 35px 0 15px 130px;
	position: relative;
}

.header a {
	/*color: #F8F8F8;*/
	font-weight: bold;
	text-decoration: none;
}

.img-logo {
	position: absolute;
	top: 10px;
	left: 0;
	border: 0;
	width: 130px;
}

.header span.title, .header h1.title {
	font-size: 28px;
	display: inline-block;
	margin: 0;
	/*text-transform: lowercase;*/
	/*letter-spacing: -2px;*/
}

.header span.title a, .header h1.title a {
}

.header span.title a:hover, .header h1.title a:hover {
	/*color: #33ccff;*/
}

.header a.extra {
	/*color: #fff;*/
	margin-left: 2em;
	text-transform: uppercase;
}

.header a.extra:hover {
	/*color: #33ccff; */
	text-decoration: underline;
}

.header span.extra {
	/*color: #eee;*/
	margin-left: 2em;
	text-transform: uppercase;
}

.search {
	float: right;
	margin-top: -5px;
}

.search input[type="text"] {
	width: 140px;
	font-size: 90%;
	padding: 4px;
}
.search input[type="submit"] {
	margin: 0;
	border: 0;
	background: #475974;
	width: 60px;
	height: 30px;
	font-size: 80%;
	color: #FFF;
	text-transform: uppercase;
	font-weight: bold;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
	cursor: pointer;
}
.search input[type="submit"]:hover {
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}

.no-results {
	font-weight: bold;
	margin-bottom: 1em;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post pre {
	border: 1px solid #ddd;
	background-color: #eef;
	padding: 0 .4em;
}

.post ul, .post ol {
	margin-left: 1.35em;
}

.post code {
	border: 1px solid #ddd;
	background-color: #eef;
	padding: 0 .2em;
}

.post pre code {
	border: none;
}

/* terminal */
.post pre.terminal {
	border: 1px solid #000;
	background-color: #333;
	color: #FFF;
}

.post pre.terminal code {
	background-color: #333;
}

/*****************************************************************************/
/*
/* Games
/*
/*****************************************************************************/

div.game-title {
	position: relative;
}
div.game-title h1 {
	text-transform: uppercase;
}
div.game-title div.social {
	position: absolute;
	right: 0;
}

div.game-container {
	/*background-color: #f2f2f2;*/
	/*border-top: 2px solid #ccc;*/
	/*border-bottom: 2px solid #ccc;*/
	line-height: 0;
	padding: 0 0 0;
	min-height: 600px;
}

/* unity fix */
#ThisBrowserDoesNotSupportUnityPlayer {
    line-height: 1.2em;
}

div.game-preswf {
	position: relative;
	margin: 0 auto;
	min-width: 510px;
}
div.game-swf-center {
	margin: 0 auto;
}
#game-swf {
	background: #eee;
	cursor: default;
	text-align: center;
}
div.unity-broken,
div.unity-missing {
	margin: auto;
	position: relative;
	top: 50%;
	width: 193px;
}
div.unity-broken a,
div.unity-missing a {
	height: 63px;
	position: relative;
	top: -31px;
}
div.unity-broken img,
div.unity-missing img {
	border-width: 0px;
}
div.unity-broken {
	display: none;
}
#game-swf a {
	line-height: 17px;
}
div.game-prev {
	font-size: 11px;
	font-weight: bold;
	line-height: 16px;
	width: 107px;
	position: absolute;
	left: -118px;
	text-align: center;
	text-transform: uppercase;
}
div.game-prev span.type {
	display: block;
}
div.game-next {
	font-size: 11px;
	font-weight: bold;
	line-height: 16px;
	width: 107px;
	position: absolute;
	right: -118px;
	text-align: center;
	text-transform: uppercase;
}
div.game-next span.type {
	display: block;
}
div.game-next a img, div.game-prev a img {
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
}
div.game-next a:hover img, div.game-prev a:hover img {
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}

.game-ad2 {
	margin: 0 auto; 
	width: 970px;
	height: 90px;
	padding: 20px 0 20px;
}

.game-ad-top {
	margin: 10px auto 10px auto;
}

.game-mobile {
	display: none;
	position: relative;
	line-height: 0;
}
.game-mobile img {
	width: 100%;
}
.game-mobile video, .game-mobile .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.game-mobile .bg {
	background-color: rgba(0, 0, 0, 0.5);
}
.game-mobile .text {
	line-height: 1.2em;
	color: #fff;
	font-size: 130%;
	font-weight: bold;
	text-align: center;
	margin-top: 20%;
	padding: 0 10px;
}

.game-adsky-left {
	width: 160px;
	height: 600px;
	position: absolute;
	left: -290px;
}

.game-adsky-right {
	width: 160px;
	height: 600px;
	position: absolute;
	right: -290px;
}

.game-rectad {
	float: right;
	height: 280px;
	/*margin-left: 2em;*/
	margin-top: 1em;
	width: 336px;
}

div.game-precont {
	position: relative;
}

div.game-warning {
	background-color: #f2f2f2;
	padding: 2em 3em 2em;
}

div.game-cheats {
	margin: 1em 0 2em 0;
}
div.game-cheats h2 {
	text-transform: uppercase;
}

div.game-post {
	margin: 1em 0 2em 0;
}
div.game-post ul { 
	list-style-type: disc; 
	list-style-position: inside; 
}
div.game-post ol { 
	list-style-type: decimal; 
	list-style-position: inside; 
}
div.game-post ul ul, div.game-post ol ul { 
	list-style-type: circle; 
	list-style-position: inside; 
	margin-left: 15px; 
}
div.game-post ol ol, div.game-post ul ol { 
	list-style-type: lower-latin; 
	list-style-position: inside; 
	margin-left: 15px; 
}

div.game-tags {
	margin: 1em 0 2em 0;
	text-align: left;
}
div.game-tags h2 {
	text-transform: uppercase;
}
div.game-tags h2 {
	margin-bottom: 1em;
}
div.game-tags a {
	background-color: #fff;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
	display: inline-block;
	font-size: 11px;
	margin: 2px 0;
	padding: 0.1em 0.6em;
	text-decoration: none;
	text-transform: uppercase;
}
div.game-tags a:hover {
	text-decoration: underline;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}

div.game-comments {
	margin: 1em 0 1em 0;
}

div.games-random, div.games-new {
	margin: 1em 0 2em 0;
	text-align: left;
}
div.games-random h2, div.games-new h2 {
	margin-bottom: 1em;
	text-transform: uppercase;
}
div.games-random a, div.games-new a {
	/*margin: 0 8px 0 0;*/
}

div.games-more {
	margin: 1em 0 2em 0;
	text-align: left;
}
div.games-more h2 {
	margin-bottom: 1em;
	text-transform: uppercase;
}
div.games-more a {
	/*margin: 0 8px 0 0;*/
}

span.cheat-button {
	color: #fff;
	background: #009df5;
	border-top: 2px solid #009df5;
	border-left: 2px solid #009df5;
	border-right: 2px solid #009df5;
	border-bottom: 2px solid #009df5;
	cursor: pointer;
	display: inline-block;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 15px;
	padding: 0px 4px 0;
}

span.cheat-button-card {
	color: #555;
	background: #ddd;
	border: 1px solid #fff;
	border-top: 0px;
	display: inline-block;
	font-family: Tahoma, Arial, sans-serif;
	font-weight: bold;
	font-size: 80%;
	padding: 0 5px;
}

/* NEW DESIGN */

.next-page-marker {
	float: left;
}
.next-page-loading {
	animation: blinker 1s linear infinite;
	display: block;
	font-weight: bold;
	margin: 20px 0;
	text-align: center;
	text-transform: uppercase;
}

@keyframes blinker {  
	50% { opacity: 0; }
}

.categoryCards {
	overflow: hidden; /* instead of clear both */
}

.categoryCard {
	float: left;
	display: block;
	width: 200px;
	height: 245px;
	background-color: #FFF;
	padding: 0px;
	color: #4198FF;
	text-decoration: none;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
	margin-bottom: 20px;
	margin-right: 20px;
	position: relative;
	overflow: hidden;
	text-align: left;
}
.categoryCard img {
	border: 0;
}
.categoryCard:hover {
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
	text-decoration: none;
}
.categoryCard video {
	height: 150px;
	left: 0;
	object-fit: fill;
	position: absolute;
	top: 0;
	width: 200px;
}
.categoryCard4 {
	/*margin-right: 0;*/
}

.cardImageBg {
	height: 150px;
	width: 100%;
	overflow: hidden;
	position: relative;
}
.cardImageBlur {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	filter: blur(5px);
	transform: scale(1.03);
	display: none;
}
.cardImage {
	height: 150px;
	width: 200px;
	position: relative;
}
.cardContainer {
	padding: 6px 10px;
	position: relative;
	background-color: #ffffff;
	/*height: 48px;*/
	overflow: hidden;
}
.categoryCard:hover .cardTitleGame {
	color: #33ccff;
}
.categoryCard .cardTitle {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .75rem;
	color: #666;
	margin-top: 0px;
	margin-bottom: 5px;
	line-height: 1.2em;
	word-break: break-all;
}
.cardTitleGame {
	text-transform: uppercase;
	font-weight: bold;
}
.cardTitleDesc {
	
}
.cardRating {
	display: inline-block;
	padding: 1px 4px;
	background: #ccc;
	color: #000;
	font-size: 90%;
	transition: background-color 0.2s ease-out;
}
.cardRatingBad {
	background: #EDC02F;
	color: #fff;
}
.cardRatingSuper {
	background: #A4DD48;
	color: #fff;
}
.cardRatingGood {
	background: #549f02;
	color: #fff;
}
.categoryCardFooter {
	/*border-top: 1px solid #EAEAEA;*/
	background: #EEE;
	bottom: 0;
	color: #000;
	height: 30px;
	overflow: hidden;
	position: absolute;
	text-decoration: none;
	width: 200px;
	width: 100%;
}
.categoryCardContentType {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666;
	float: left;
	padding-top: 8px;
	padding-left: 7px;
	height: 22px;
	text-transform: uppercase;
	line-height: 1.3em;
}
.categoryCardFooter img {
	float: left;
	height: 14px;
	padding-right: 5px;
	position: relative;
	width: 20px;
}
.categoryCardContentTag {
	background: #86B7D0;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	float: right;
	padding-top: 8px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 30px;
	vertical-align: middle;
	min-width: 90px;
	max-width: 110px;
	/*border-left: 1px solid #EAEAEA;*/
	text-transform: uppercase;
	line-height: 1.3em;
	overflow: hidden;
	white-space: nowrap;
}
.categoryCardContentTagHacked {
	background: #BB605C;
}

.foldedCard {
	height: 59px;
}

.foldedCard .cardTitleGame {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;

	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}
.foldedCard .categoryCardContentType {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}
.foldedCard .cardImage {
	display: none;
/*	position: absolute;
	width: 100px;
	height: 75px;
	top: -75px;
	left: 0px;*/
}
/*.foldedCard:hover .cardImage {
	display: block;
}*/
.foldedCard .categoryCardContentTag {
	visibility: hidden;
}

.foldedCardVisible {
}
.foldedCardVisible .cardTitleGame {
	visibility: visible;
	opacity: 1;
}
.foldedCardVisible .categoryCardContentType {
	visibility: visible;
	opacity: 1;
}
.foldedCardVisible .categoryCardContentTag {
	visibility: visible;
}

.pagination {
	text-align: center;
	margin-bottom: 20px;
}
.pagination a, .pagination span, .pagination em {
	font-style: normal;
	background-color: #FFFFFF;
	display: inline-block;
	font-size: 15px;
	margin: 2px 0;
	min-width: 8px;
	padding: 0.3em 0.6em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
}
.pagination a:hover {
	text-decoration: underline;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}

.categoryCard4 {  
	margin-right: 0;
}

div.games-new .categoryCard:nth-child(5n+5), div.games-new .categoryCard:nth-child(6n+6) {
	display: none;
}
/*div.games-toprated .categoryCard:nth-child(5n+5), div.games-toprated .categoryCard:nth-child(6n+6) {
	display: none;
}*/

@media only screen and (max-width: 600px) {
	div.game-precont {
		display: none;
	}
	.game-mobile {
		display: block;
	}
	.game-ad-top {
		display: none;
	}

	.ratingView .scale {
		width: 250px !important;
	}

	div.game-report, div.game-rating {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	div.header-wrap, #home, #notfound, div.footer, div.tagwrap, div.game-title, div.game-tags, div.games-new, div.game-cheats, div.game-post, div.games-more, div.othercontent {
		padding-left: 20px;
		padding-right: 20px;
	}

	.header {
		width: auto;
	}
	.categoryCards {
		/*padding-right: 20px;*/
	}
	.categoryCard {
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: center;
		width: 100%;
	}
	.categoryCard video {
		display: none;
	}
	.cardImageBlur {
		display: initial;
	}
	.site {
		width: auto;
	}
	.search {
		display: none;
	}

	.header a.extra.all-games span {
		display: initial !important;
	}
}

@media only screen and (max-width: 1099px) {
	/*.header a.extra.all-games {
		display: none;
	}*/
	.header a.extra.all-games span {
		display: none;
	}
}

@media only screen and (min-width: 1100px) and (max-width: 1319px) {
	.header {
		width: 950px;
	}
	/*.header a.extra.all-games span {
		display: none;
	}*/
	.search input[type="text"] {
		width: 220px;
	}
	.categoryCard4 {  
		margin-right: 20px;
	}
	.categoryCards .categoryCard:nth-child(5n+5) {  
		margin-right: 0;
	}
	.site {
		width: 1080px;
	}
	div.games-new .categoryCard:nth-child(5n+5) {
		display: block;
	}
	/*div.games-toprated .categoryCard:nth-child(5n+5) {
		display: block;
	}*/
}
@media only screen and (min-width: 1320px) {
	.header {
		width: 1170px;
	}
	.search input[type="text"] {
		width: 280px;
	}
	.categoryCard4 {  
		margin-right: 20px;
	}
	.categoryCards .categoryCard:nth-child(6n+6) {  
		margin-right: 0;
	}
	.site {
		width: 1300px;
	}
	div.games-new .categoryCard:nth-child(5n+5), div.games-new .categoryCard:nth-child(6n+6) {
		display: block;
	}
	/*div.games-toprated .categoryCard:nth-child(5n+5), div.games-toprated .categoryCard:nth-child(6n+6) {
		display: block;
	}*/
}


.ratingSystem {

}
.ratingSystem .yes, .ratingSystem .no {
	cursor: default;
	display: inline-block;
	padding: 8px;
	padding-left: 35px;
	background-color: #fff;
	color: #999;
	user-select: none;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
	margin-left: 15px;
	background-repeat: no-repeat;
	background-position: 7px center;
}
.ratingSystem .no {
	background-image: url("/images/rate-thumb-down-1.png");
}
.ratingSystem .yes {
	background-image: url("/images/rate-thumb-up-1.png");
}
.ratingSystem .active {
	cursor: pointer;
}
.ratingSystem .active:hover {
	color: #555;
	text-decoration: underline;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}
.ratingSystem .active.no:hover {
	background-image: url("/images/rate-thumb-down-2.png");
}
.ratingSystem .active.yes:hover {
	background-image: url("/images/rate-thumb-up-2.png");
}
.ratingSystem .voted.no {
	background-image: url("/images/rate-thumb-down-3.png") !important;
	text-decoration: none;
	cursor: default;
	box-shadow: 0px 1px 2px 0px rgba(255,64,0,0.3);
	color: #FF6A38;
}
.ratingSystem .voted.yes {
	background-image: url("/images/rate-thumb-up-3.png") !important;
	text-decoration: none;
	cursor: default;
	box-shadow: 0px 1px 2px 0px rgba(0,117,245,0.3);
	color: #3294FF;
}

.ratingView {

}

.ratingView .scale {
	width: 290px;
	height: 8px;
	margin-top: 20px;
	margin-bottom: 20px;
	position: relative;
}
.ratingView .value {
	position: absolute;
	right: -70px;
	top: -0.4em;
	font-weight: bold;
	color: #666;
	min-width: 52px;
}

.ratingView .scale1 {
	width: 50%;
	height: 5px;
	float: left;
	background: #999;
	border-radius: 3px 0 0 3px;
}
.ratingView .scale1.bad {
	background: #EDC02F;
}
.ratingView .scale1.super {
	background: #A4DD48;
}
.ratingView .scale1.good {
	background: #549f02;
}

.ratingView .scale2 {
	width: 49%;
	margin-left: 1%;
	float: left;
	height: 5px;
	background: #999;
	border-radius: 0 3px 3px 0;
}

.reportButton {
	cursor: default;
	display: inline-block;
	padding: 6px 8px;
	background-color: #fff;
	color: #999;
	user-select: none;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	transition: box-shadow 0.2s ease-out;
	margin-left: 15px;
	background-repeat: no-repeat;
	background-position: 7px center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 90%;
}
.reportButton.active {
	cursor: pointer;
}
.reportButton.active:hover {
	color: #555;
	text-decoration: underline;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}
.reportButton.reported {
	color: #333;
}

/* PRIVACY */
pre {
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

