/* HTML5 Boilerplate  */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #237ABD; text-decoration: none }
a:visited { color: #551a8b; }
a:hover { color: #06e; text-decoration: underline }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

textarea, input[type=text], input[type=password],
input.input, textarea.input {
	border: 1px solid #999;
	font-family: Helvetica, arial, sans-serif;
	font-size: 14px;
	color: #333;
}

textarea:hover, input[type=text]:hover, input[type=password]:hover,
input.input:hover, textarea.input:hover {
	border-color: #AAA
}

input[type=text], input[type=password],
input.input {
	padding: 2px 5px;
}

textarea, textarea.input {
	padding: 5px;
}

input.submit {
	padding: 2px 10px;
}

/* MAIN STYLES */
body {
	background: url(../images/bg/tile-main.png) repeat 0 0 #998e84;
	text-align: center;
	padding: 10px;
	font-family: 'Lucida Sans',MyriadPro-Regular,'Myriad Pro Regular',MyriadPro,'Myriad Pro',Helvetica,Arial,sans-serif;
}

#header a#logo {
	display: block;
	float: left;
	width: 250px;
	height: 170px;
}

#header .right_panel {
	margin-left: 250px;
}

/* Uploaded Games */
#header .right_panel .submitted_games {
	position: relative;
	background: url("../images/bg/tile_yellow2.png") repeat scroll 0 0 transparent;
	border-radius: 10px;
	top: -5px;
	right: -5px;
	padding: 25px 15px 1px;
}

#header .right_panel .submitted_games h2 {
	background: #f6d53f;
	border-radius: 0 10px 0 10px;
	margin: 0;
	padding: 0 20px;
	position: absolute;
	right: 0;
	top: 0;
	color: #FFF;
	text-shadow: -2px 0 #e7b315, 0 2px #e7b315, 2px 0 #e7b315, 0 -2px #e7b315;
	text-transform: uppercase;
	font-size: 16px;
}

/* LOGIN */
#header .login {}

#header .login .wrapper_left, #header .login .wrapper_right, #header .login .wrapper_center {
	background: url(../images/bg/login_block.png) repeat-x 0 -65px #A7C12A;
	height: 33px;
}

#header .login .wrapper_right {
	background-position: right -33px;
	background-repeat: no-repeat;
	padding-right: 16px;
}

#header .login .wrapper_left {
	padding-left: 16px;
	background-position: 0 0;
}

#header .login .wrapper_center {

}


/* SEARCH */
#header .search {
	float: right;
	height: 16px;
	margin: 8px -10px 0 0;
	width: 200px;
	line-height: 16px;
	position: relative;
	background: #FFF;
	border-radius: 10px;
}

#header .search .search_field {
	border: medium none;
	padding: 1px 5px;
	width: 160px;
	height: 12px;
	font-size: 12px;
	color: #748b00;
	position: absolute;
	left: 17px;
	top: 1px;
}

#header .search .submit_field {
	background: url("../images/bg/search_input.png") no-repeat scroll 0 -33px transparent;
	width: 15px;
	position: absolute;
	top: 0;
	right: 5px;
}

/* LOGIN */
#header .login_form {
	float: left;
    margin: 2px 0 0;
}

#header .user_status {
	float: left;
	margin: 5px 0 0 0;
	font-size: 14px;
}

/* MENU */
#body .menu {
	margin: 10px 0;
}

#body .menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

#body .menu ul li {
	display: inline;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	_height: 33px;
}

.lt-ie8 #body .menu ul li {
	float: left
}

#body .menu ul li a {
	text-decoration: none;
	font-size: 12px;
	text-transform: uppercase;
	color: #FFF;
	padding-right: 15px;
}

#body .menu ul li a, #body .menu ul li a span {
	background: url(../images/bg/menu_items.png) no-repeat right -36px;
	height: 33px;
	display: block;
}

#body .menu ul li a span.left {
	background-position: 0 0;
	padding-left: 15px;
}

#body .menu ul li a span.center {
	background-position: 0 -72px;
    background-repeat: repeat-x;
    color: #665400;
    line-height: 33px;
    text-shadow: 1px 1px 1px #FFED91;
}

#body .menu ul li a.active span.center {
	color: #FFF;
	text-shadow: 1px 1px 1px #333;
}

#body .menu ul li a.active, #body .menu ul li a.active span {
	background-position: right -144px;
}

#body .menu ul li a.active span.left {
	background-position: 0 -108px;
}

#body .menu ul li a.active span.center {
	background-position: 0 -180px;
}


/* columns */
#body .page .right_column {
	float: right;
	width: 160px;
	text-align: center
}

#body .page .left_column {
	float: left;
	width: 160px;
	text-align: center
}

#body .page .center_column {
	margin: 0 173px 20px;
}

#body .page .center_column.game {
	margin: 0;
}


#body .page .center_column .games {
	border-radius: 20px;
	box-shadow: 0 1px 3px #999;
	position: relative;
}

#body .page .center_column .games h2 {
	background: url("../images/bg/block_header_thing.png") no-repeat scroll 0 -1px transparent;
	color: #FFFFFF;
	font-family: HeliosBlack, tahoma,sans-serif;
	font-size: 24px;
	letter-spacing: 0.1em;
	margin: 0;
	padding: 7px 27px 8px;
	border-radius: 20px 20px 0 0;
}

#body .page .center_column .games h2 a {
	color: #FFF;
	text-decoration: none;
}

#body .page .center_column .games a.more {
	height: 31px;
	width: 77px;
	background: url(../images/more_button.png) no-repeat 0 0;
	display: block;
	text-indent: -99999em;
	position: absolute;
	right: 10px;
	top: 10px;
}

#body .page .center_column .games .rating-sort-container {
	position: absolute;
	left: 150px;
	top: 15px;
	font-family: HeliosBlack,tahoma,sans-serif;
	text-transform: uppercase;
}

#body .page .center_column .games .rating-sort {
	text-shadow: -2px 0 #FE9D01, 0 2px #FE9D01, 2px 0 #FE9D01, 0 -2px #FE9D01;
	color: #FFF;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
}

#body .page .center_column .games .rating-sort.active {
	text-shadow: -2px 0 #FF0D01, 0 2px #FF0D01, 2px 0 #FF0D01, 0 -2px #FF0D01
}

#body .page .center_column .games .rating-sort:hover {
	text-shadow: -2px 0 #fbc978, 0 2px #fbc978, 2px 0 #fbc978, 0 -2px #fbc978;
}

#body .page .center_column .games .rating-sort.month,
#body .page .center_column .games .rating-sort.all {
	margin-left: 40px;
}


#body .page .center_column .games h2 { text-shadow: -2px 0 #fe9d01, 0 2px #fe9d01, 2px 0 #fe9d01, 0 -2px #fe9d01; }
#body .page .center_column .games.featured_games h2 { text-shadow: -2px 0 #b69246, 0 2px #b69246, 2px 0 #b69246, 0 -2px #b69246; }
#body .page .center_column .games.new_games h2 { text-shadow: -2px 0 #8c7755, 0 2px #8c7755, 2px 0 #8c7755, 0 -2px #8c7755; }

#body .page .center_column .games.games0 { z-index: 20 }
#body .page .center_column .games.games1 { z-index: 19 }
#body .page .center_column .games.games2 { z-index: 18 }
#body .page .center_column .games.games3 { z-index: 17 }
#body .page .center_column .games.games4 { z-index: 16 }
#body .page .center_column .games.games5 { z-index: 15 }
#body .page .center_column .games.games6 { z-index: 14 }
#body .page .center_column .games.games7 { z-index: 13 }
#body .page .center_column .games.games8 { z-index: 12 }
#body .page .center_column .games.games9 { z-index: 11 }
#body .page .center_column .games.games10 { z-index: 10 }


#body .page .center_column .game, #header .right_panel .submitted_games .game {
	margin: 0;
	width: 119px;
	text-align: left;
	min-height: 150px;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	_height: 150px;
}

#header .right_panel .submitted_games .game {
	width: 110px;
}

#body .page .center_column .game.first {
	margin-left: 13px;
}

#body .page .center_column .game a img, #header .right_panel .submitted_games .game a img {
	border: 1px solid #c8c1af;
	padding: 3px;
	background: #FFF;
	box-shadow: 0 0 2px #AAA;
	height: 100px;
	width: 100px;
}

#body .page .center_column .game a:hover img, #header .right_panel .submitted_games .game a:hover img {
	box-shadow: 0 0 2px #666;
}

#body .page .center_column .game h3,
#body .page .center_column .game h3 a,
#header .right_panel .submitted_games .game h3,
#header .right_panel .submitted_games .game h3 a,
#body .page .center_column .games.our_games .game_right h3,
#body .page .center_column .games.our_games .game_right h3 a,
#body .page .center_column .games.our_games .game_left h3,
#body .page .center_column .games.our_games .game_left h3 a {
	line-height: 12px;
	font-weight: normal;
}

#body .page .center_column .games.our_games .game_right h3,
#body .page .center_column .games.our_games .game_left h3,
#body .page .center_column .game h3,
#header .right_panel .submitted_games .game h3 {
	margin: 5px 0
}

#body .page .center_column .games.our_games .game_right h3 a,
#body .page .center_column .games.our_games .game_left h3 a,
#body .page .center_column .game h3 a,
#header .right_panel .submitted_games .game h3 a {
	color: #333;
	font-size: 12px;
	text-decoration: none;
}

#body .page .center_column .games.our_games .game_right h3 a:hover,
#body .page .center_column .games.our_games .game_left h3 a:hover,
#body .page .center_column .game h3 a:hover,
#header .right_panel .submitted_games .game h3 a:hover {
	color: #999;
}



#body .page .center_column .games {
	background: url("../images/bg/tile_yellow.png") repeat scroll 0 0 transparent;
	padding-bottom: 5px;
}

#body .page .center_column .games.even {
	background: url("../images/bg/tile_brown.png") repeat scroll 0 0 transparent;
}

#body .page .center_column .games.odd {
	background: url("../images/bg/tile_brown2.png") repeat scroll 0 0 transparent;
}


#body .page .center_column .games.new_games {
	background: url("../images/bg/tile_brown2.png") repeat scroll 0 0 transparent;
	z-index: 21;
}

#body .page .center_column .games.our_games {
	z-index: 22;
	background: url("../images/bg/tile_pink.png") repeat scroll 0 0 transparent;
}

#body .page .center_column .games.featured_games {
	background: url("../images/bg/tile_brown.png") repeat scroll 0 0 transparent;
}

#body .page .center_column .games.our_games .game_left {
	width: 300px;
	margin: 0 20px 0 10px;
	min-height: 225px;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	_height: 225px;
}

#body .page .center_column .games.our_games .game_right {
	margin: 0 10px 0 0;
	width: 300px;
	min-height: 225px;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	_height: 225px;
}

.tile_pink { background: url("../images/bg/tile_pink.png") repeat scroll 0 0 transparent; }
.tile_green { background: url("../images/bg/tile_green.png") repeat scroll 0 0 transparent; }
.tile_yellow { background: url("../images/bg/tile_yellow.png") repeat scroll 0 0 transparent; }
.tile_brown { background: url("../images/bg/tile_brown.png") repeat scroll 0 0 transparent; }
.tile_brown2 { background: url("../images/bg/tile_brown2.png") repeat scroll 0 0 transparent; }

/* pages */

#body .page .center_column .pages {
	text-align: right;
	margin: 15px;
}

#body .page .center_column .pages a {
	margin: 0 5px 0 0;
	text-decoration: none;
}

#body .page .center_column .pages a.active {
	color: #333;
}


/* side columns */
.top_games_list {
	background: url(../images/bg/side_block_bg.png) repeat 0 0;
	border-radius: 15px;
	border: 1px solid yellow;
	margin-bottom: 10px;
	text-align: left
}


.top_games_list h2, .top_games_list h2 span {
	display: block;
	height: 49px;
	background: url(../images/bg/side_title_orange.png) no-repeat 0 0 transparent;
}

.top_games_list h2 {
	color: #FFF;
	text-shadow: -2px 0 #e76e21, 0 2px #e76e21, 2px 0 #e76e21, 0 -2px #e76e21;
	font-size: 18px;
	line-height: 50px;
	text-align: center;
	padding: 0 0 0 20px;
	margin: 0;
}

.top_games_list h2 span.right {
	padding: 0 20px 0 0;
	background-position: right -100px;
}

.top_games_list h2 span.center {
	padding: 0 5px;
	background-position: 0 -50px;
	background-repeat: repeat-x;
}

.top_games_list ul {
	padding: 10px 0 10px 25px;
	margin: 0;
}

.top_games_list li {
	list-style-image: url(../images/bg/li_bullet_orange.png);
	line-height: 16px;
}

.top_games_list li a {
	color: #237abd;
	font-size: 12px;
	text-decoration: none;
}

.top_games_list li a:hover {
	text-decoration: underline
}

/* container */
#container {
	margin: 0 auto;
	text-align: left;
	width: 985px;
}

#container .container_wrapper {
	background: #FFF;
	border-radius: 10px;
	padding: 5px;
	width: 975px;
}

/* FOOTER */
#footer {
	margin: 0 50px;
	background: #FFF;
	border-radius: 0 0 10px 10px;
	padding: 0 5px 5px 5px;
	width: 865px;
	clear: both;
}

#footer .footer_wrapper {
	background: #a7c12a;
	border-radius: 0 0 10px 10px;
	padding: 5px 10px;
	width: 845px;
	font-family: Tahoma, arial, sans-serif;
	font-size: 12px;
}

#footer .footer_wrapper p {
	margin: 0;
}

#footer .footer_wrapper p.links {
	float: left;
}

#footer .footer_wrapper p.copyright {
	float: right;
	color: #FFF;
}

#footer .footer_wrapper p.links a {
	color: #FFF;
	text-decoration: none;
	margin-right: 35px;
}


/* game page */
.game_page {
	box-shadow: 0 1px 3px #999;
	border-radius: 15px;
	background: url("../images/bg/tile_yellow.png") repeat scroll 0 0 transparent;
	padding: 0 0 10px;
	margin: 0 auto 20px;
	float: left;
}

.game_page div.center {
	margin: 5px 0;
}

.game_page h1 {
	color: #FFF;
	text-shadow: -2px 0 #FE9D01, 0 2px #FE9D01, 2px 0 #FE9D01, 0 -2px #FE9D01;
	margin: 0;
	padding: 5px 15px;
}

.game_page .like { 
	margin: 0 15px 0; 
	position: relative;
	padding-top: 10px;
	right: 5px;
	float: right;
}

.game_page .object { text-align: center; }

.game_page .info {
	color: #333;
	font-family: helvetica,sans-serif;
	font-size: 14px;
	margin: 0 10px 10px;
    padding: 10px 0;
	/*border-bottom: 1px dotted #999;*/
}

.game_page .about {
	border-top: 1px dotted #999;
	color: #333;
	font-family: helvetica,sans-serif;
	font-size: 14px;
	margin: 15px 15px 0;
	padding: 15px 0 0;
}

.game_page .about p {
	margin: 0;
	font-weight: bold;
}

.game_page .game_by {
	color: #666;
	text-shadow: none;
	font-size: 12px;
}


/* contact */
.static_page {
	box-shadow: 0 1px 3px #999;
	border-radius: 15px;
	background: url("../images/bg/tile_yellow.png") repeat scroll 0 0 transparent;
	padding: 0 15px 10px;
}

.static_page h1 {
	color: #FFF;
	text-shadow: -2px 0 #FE9D01, 0 2px #FE9D01, 2px 0 #FE9D01, 0 -2px #FE9D01;
	margin: 0;
	padding: 10px 0;
}

.contact_page .input {
	width: 400px
}

.contact_page textarea.input {
	width: 585px
}

/* comments */
.comment {
	border-top: 1px dotted #999;
	color: #333;
	font-family: helvetica,sans-serif;
	font-size: 14px;
	margin: 15px 15px 0;
	padding: 15px 0;
}

.comment form {
	padding: 0 99px;
	text-align: right
}

.comment form textarea {
	width: 400px;
	height: 50px
}

.comment ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment ul li {
	padding: 5px;
	margin: 0 0 5px;
	background: #ffff99;
}

.comment ul li .head {
	color: #555;
	font-size: 12px;
}

.comment ul li .head .name {}

.comment ul li .head .date {}

.comment ul li .head .rating {
	float: right;
}

.comment ul li .head .rating .value.negative {
	color: red;
}
.comment ul li .head .rating .value.positive {
	color: green;
}

.comment ul li .text {}

/* facebook */
.fb-login, .google-login {
	font-size: 12px;
	margin-left: 10px;
}

.fb-login-ico {
	background: url("../images/bg/facebook.png") repeat scroll 0 -178px transparent;
	display: inline-block;
	height: 18px;
	width: 18px;
	margin-right: 5px;
	position: relative;
	top: 5px;
}

.google-login-ico {
	background: url("../images/bg/google.png") repeat scroll 0 0 transparent;
	display: inline-block;
	height: 18px;
	width: 18px;
	margin-right: 5px;
	position: relative;
	top: 5px;
}


/**/
.banner.center {
	margin: 0 0 10px 173px;
	background: url(../images/bg/tile_yellow2.png) repeat 0 0;
	height: 90px;
	text-align: left;
}
.banner.right {
	text-align: right;
	float: right;
}
.center {
	text-align: center;
}

@media only screen and (min-width: 35em) {

}

.float_right { float: right }
.float_left { float: left }

.ta_right { text-align: right }
.ta_left { text-align: left }
.ta_center { text-align: center }

/* HELPER CLASSES */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
