/*
Theme Name: KBSite (PHP Recreation)
Based on: KrazyBig WordPress Theme by Michael Oder
*/

/* Reset */
* {
	margin: 0;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
	height: 100%
}

html {
	height: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	clear: both;
}

ol,
ul {
	list-style: none;
}

blockquote {
	quotes: none;
}

blockquote:before,
blockquote:after {
	content: '';
	content: none;
}

del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img {
	border: none;
}

/* Layout: Two columns */
#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}

#content {
	margin: 0 280px 0 20px;
}

#primary,
#secondary {
	float: right;
	overflow: hidden;
	width: 220px;
}

#secondary {
	clear: right;
}

#footer {
	width: 100%;
}

/* Layout: One column */
.one-column #content {
	margin: 0 auto;
	width: 940px;
}

/* Fonts */
body,
input,
textarea,
.page-title span,
.pingback a.url {
	font-family: Georgia, "Bitstream Charter", serif;
}

h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text,
input[type=submit] {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}

pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}

code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* Structure */
#branding {
	margin: 0 auto;
}

#access .menu-header,
div.menu,
#colophon,
#main,
#wrapper {
	width: 940px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto;
}

#wrapper {
	margin-top: 20px;
	color: #bbddff;
	padding: 0 20px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -50px;
}

/* Global Elements */
body {
	background: url("/assets/images/background.png") no-repeat scroll center top #001428;
	color: #BBDDFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 12px;
	min-width: 993px;
	height: 100%;
}

body,
input,
textarea {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}

hr {
	background-color: #E7E7E7;
	border: 0;
	height: 1px;
	margin-bottom: 18px;
	clear: both;
}

/* Text elements */
p {
	margin-bottom: 18px;
}

ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}

ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}

ol ol {
	list-style: upper-alpha;
}

ol ol ol {
	list-style: lower-roman;
}

ol ol ol ol {
	list-style: lower-alpha;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}

dl {
	margin: 0 0 24px 0;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 18px;
}

strong {
	font-weight: bold;
}

cite,
em,
i {
	font-style: italic;
}

big {
	font-size: 131.25%;
}

ins {
	background: #ffc;
	text-decoration: none;
}

blockquote {
	font-style: italic;
	padding: 0 3em;
}

blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}

pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	position: relative;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

input[type="text"],
textarea {
	padding: 2px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
}

a:link {
	color: #fff;
}

a:visited {
	color: #ddd;
}

a:active,
a:hover {
	color: #FFca00;
}

.screen-reader-text {
	position: absolute;
	left: -9000px;
}

/* Header */
#header {
	padding: 10px 0 0 0;
}

#site-title {
	float: left;
	margin: 0 0 18px 0;
	width: 400px;
	font-size: 30px;
	line-height: 36px;
	z-index: 15;
	position: relative;
}

#site-title a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

#branding img {
	clear: both;
	display: block;
}

/* Menu */
#access {
	background: url("/assets/images/menubar.png") no-repeat scroll center top;
	margin: 0 auto;
	width: 540px;
	display: block;
	float: left;
	position: relative;
	top: -65px;
	padding-left: 400px;
	z-index: 5;
}

#access .menu-header,
div.menu {
	font-size: 18px;
	margin-left: 12px;
	font-weight: bold;
}

#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}

#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
	border-left: 1px solid #004B95;
}

#access a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	padding: 0 10px;
	line-height: 38px;
}

#access ul ul {
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
	width: 180px;
	z-index: 99999;
	font-size: 12px;
	background-color: #002846;
}

#access ul ul li {
	min-width: 180px;
}

#access ul ul ul {
	left: 100%;
	top: 0;
}

#access ul ul a {
	height: auto;
	line-height: 1em;
	padding: 10px;
	width: 160px;
}

#access li:hover>a,
#access ul ul :hover>a {
	color: #fff;
	text-decoration: underline;
	background-color: #004692;
}

#access ul li:hover>ul {
	display: block;
}

#access ul li.current_page_item>a,
#access ul li.current-menu-ancestor>a,
#access ul li.current-menu-item>a,
#access ul li.current-menu-parent>a {
	color: #ffca00;
}

/* Content */
#main {
	overflow: hidden;
	padding: 0px 0 0 0;
}

#content {
	margin-bottom: 36px;
}

#content {
	color: #BBDDFF;
	font-size: 16px;
	line-height: 24px;
}

#content input,
#content textarea {
	color: #333333;
	font-size: 16px;
	line-height: 24px;
}

#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 24px;
}

#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}

#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}

#content code {
	font-size: 13px;
}

#content dt,
#content th {
	color: #ffca00;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #ffca00;
	margin: 0 0 20px 0;
	line-height: 1.5em;
}

#content table {
	border: 1px solid #e7e7e7;
	text-align: left;
	margin: 0 -1px 24px 0;
	width: 100%;
}

#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}

#content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 6px 24px;
}

.hentry {
	margin: 0 0 48px 0;
}

.single .hentry {
	margin: 0 0 36px 0;
}

.page-title {
	color: #ffca00;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}

.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}

#content .entry-title {
	color: #ffca00;
	font-size: 64px;
	line-height: 1.3em;
	font-weight: bold;
	margin-bottom: 0;
}

.entry-title a:link,
.entry-title a:visited {
	color: #ffca00;
	text-decoration: none;
}

.entry-title a:active,
.entry-title a:hover {
	color: #FF4B33;
}

.entry-meta {
	color: #888;
	font-size: 12px;
}

.entry-content,
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}

.entry-content fieldset {
	border: 1px solid #E7E7E7;
	margin: 0 0 24px 0;
	padding: 24px;
}

/* Game List */
.gamesection {
	background: url("/assets/images/back_games.png") no-repeat scroll center top;
	width: 938px;
	height: 454px;
}

.gamesectionwrap {
	padding: 20px;
	text-align: left;
	padding-top: 0px;
	margin: 20px 0
}

.gamedescription {
	float: left;
	text-align: left;
	font-size: 14px;
	line-height: 20px;
	padding-right: 19px;
	padding-left: 19px;
	color: #BBDDFF;
	width: 260px;
}

.gamedescription p {
	margin: 0px;
	font-size: 14px;
	line-height: 16px;
}

.gamedescription .title {
	margin: 0px;
	font-size: 24px;
	line-height: 26px;
	color: #bbddff;
}

#content .gamedescription ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#content .gamedescription ul li {
	list-style-type: none !important;
	list-style: none !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='3' fill='%23ffca00'/%3E%3C/svg%3E") no-repeat scroll 0 5px transparent;
	line-height: 22px;
	margin-bottom: 5px;
	padding-left: 17px;
	font-size: 14px;
	line-height: 16px;
}

.gamelist {
	border-top: 1px solid #1a78cf;
	width: 900px;
	display: block;
	clear: both;
	margin-top: 80px;
	padding: 10px;
}

/* Images */
#content img {
	margin: 0;
	max-width: 900px;
}

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}

.gameimage {
	padding: 19px;
}

/* Game Fullscreen Toggle */
.game-fullscreen-btn {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: bold;
	background: transparent;
	color: #ffca00;
	border: 2px solid #ffca00;
	border-radius: 5px;
	cursor: pointer;
	margin-bottom: 8px;
	transition: background 0.2s, color 0.2s;
}

.game-fullscreen-btn:hover {
	background: #ffca00;
	color: #001428;
}

.game-wrapper {
	position: relative;
}

.game-wrapper.game-fs {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000;
	background: #000;
}

.game-wrapper.game-fs #Game {
	width: 100% !important;
	height: 100% !important;
}

.game-wrapper.game-fs .game-fs-exit {
	display: block;
}

.game-fs-exit {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10001;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: bold;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: 1px solid #888;
	border-radius: 4px;
	cursor: pointer;
}

.game-section-header {
	color: #ffca00;
	font-size: 24px;
	font-weight: bold;
	margin: 10px 0 5px 0;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* Navigation */
.navigation {
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
	color: #888;
}

.nav-previous {
	float: left;
	width: 50%;
}

.nav-next {
	float: right;
	width: 50%;
	text-align: right;
}

/* Comments */
#comments {
	clear: both;
}

.nopassword,
.nocomments {
	display: none;
}

/* Widget Areas */
.widget-area ul {
	list-style: none;
	margin-left: 0;
}

.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}

.widget-container {
	margin: 0 0 18px 0;
}

.widget-title {
	color: #ffca00;
	font-weight: bold;
}

.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}

.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}

#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}

#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* Footer */
.push {
	height: 50px;
}

#footer {
	background: url("/assets/images/kbfooter.png") no-repeat scroll center bottom;
	height: 50px;
}

#footer p {
	padding-top: 20px;
	width: 900px;
	text-align: left;
	color: #FFFFFF;
	font-size: 10px;
	margin: 0px auto;
}

#footer a {
	color: #FFFFFF;
	font-size: 10px;
	margin: 0px;
	padding: 0px 10px;
	border-left: 1px solid #04426B;
}

#footer a:hover {
	color: #FFCA00;
}

/* Print */
@media print {
	body {
		background: none !important;
	}

	#wrapper {
		float: none !important;
		clear: both !important;
		display: block !important;
		position: relative !important;
	}

	#access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}

	#container,
	#header,
	#footer {
		width: 100%;
		margin: 0;
	}

	#content,
	.one-column #content {
		width: 100%;
		margin: 24pt 0 0;
	}
}