/* WRAPPER */

.wrapper {
	overflow: hidden;
/*	overflow: auto;*/
}

html>/**/body .wrapper {
	width: 100%;
}

*:first-child+html .wrapper {
	height: 1%;
}


/* PAGE STRUCTURE */

body {
	background-color: #83b8c0;
	
	background-image: url(../images/bg_top.jpg);
	background-position: top left;
	background-repeat: repeat-x;
	
	font-family: Verdana, Arial, Helvetica;
	font-size: 80%;
	color: black;
	
	padding: 10px 20px;
}

div#pageouter {
	background-color: #dbeaef;

	padding: 10px;
}

div#page {
	background-color: white;
	
	padding: 5px;
}

div#topline {
	margin: 5px 0 10px 10px;
}

a.fglogo, a.fglogo:visited, a.fglogo:hover {
	display: block;
	cursor: pointer;

	width: 249px;
	height: 63px;
	
	background: url(../images/logo_top.png) no-repeat;
	
	color: #cde4e7;
	font-size: 0.1px;
}

div#copy {
	margin-top: 5px;
	font-size: 90%;
	
	text-align: center;
}

div#genrelist {
	margin: 0px 20px 10px 20px;
	color: #91aab2;
	text-align: center;

	font-family: Arial, Helvetica;
}

div#genrelist a {
	font-weight: bold;
}

/* GAME BOX */

div#gamebox, div#gamebox div.inner1, div#gamebox div.inner2, div#gamebox div.inner3 {
	background-image: url(../images/playbox_box.png);
	background-position: -8px -23px;
	background-repeat: no-repeat;
	
}

div#gamebox {
	background-color: #f1f5f8;
	margin: 10px auto 0 auto;
}

div#gamebox div.mainpart {
	padding: 12px 8px 23px 16px;
}

div#gamebox div.content {
	background: white;
}

div#gamebox div.content div.alt {
	text-align: center;
	
	padding-top: 100px;
	
	font-size: 150%;
	color: #808080;
}

div#gamebox div.drawer {
	width: 197px;
	float: right;
	
	background-image: url(../images/playbox_right.png);
	background-repeat: repeat-y;
}

div#gamebox div.drawer div.dinner1, div#gamebox div.drawer div.dinner2 {
	background-image: url(../images/playbox_right.png);
	background-repeat: no-repeat;
}

div#gamebox div.drawer div.dinner1 {
	background-position: -394px bottom;
}

div#gamebox div.drawer div.dinner2 {
	background-position: -197px 0px;
	
	padding-left: 6px;
	
	padding-top: 20px;
}

/* GAME LISTS */

div.gamelistbox {
	background-color: #f1f5f8;
	margin: 10px;
	padding: 5px;
}

div.horzonecol {
	width: 295px;
}

ul.gamelist {
	list-style: none;
	margin: 0;
	padding: 3px 0 0 0;
}

ul.grid li {
	margin: 5px 5px;
	float: left;
}

ul.gamelist li {
	background-position: left top;
	background-repeat: no-repeat;
	
	position: relative;
}

ul.gamelist li div.badge {
	position: absolute;
	left: -5px;
	top: -3px;
	
	width: 38px;
	height: 20px;
	
}

ul.gamelist li div.pick {
	background: url(../images/badge_pick.png) no-repeat;
}

ul.gamelist li div.top {
	background: url(../images/badge_top.png) no-repeat;
}

ul.gamelist li div.new {
	background: url(../images/badge_new.png) no-repeat;
}

/* horz */

ul.gamelisthorz {
	padding: 5px; 
}

ul.gamelisthorz li {
	width: 285px;
	height: 116px;
	
	background-image: url(../images/gamebox_horz.png);
	
	cursor: pointer;
	
	margin-bottom: 5px;
}

ul.gamelisthorz li img, ul.gamelistvert li img {
	position: absolute;
	left: 8px;
	top: 8px;
	
	width: 100px;
	height: 100px;	
}

ul.gamelisthorz li a {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	
	position: absolute;
	left: 116px;
	top: 6px;
	
	width: 161px;
	
	font-weight: bold;
	font-family: Arial, Helvetica;
}

ul.gamelisthorz li div.desc {
	overflow: hidden;
	
	position: absolute;
	left: 116px;
	top: 27px;
	
	width: 161px;
	height: 80px;
	
	font-size: 90%;
}

ul.gamelisthorz li div.genre, ul.gamelistvert li div.genre {
	position: absolute;
	left: 48px;
	top: 95px;
	
	width: 60px;
	height: 13px;	
	overflow: hidden;
	
	background: url(../images/genre_bg.png) no-repeat;	
	color: white;
	
	text-align: center;
	font-size: 10px;
}


/* vert */

ul.gamelistvert {
	padding: 5px; 
}

ul.gamelistvert li {
	width: 116px;
	height: 160px;
	
	background-image: url(../images/gamebox_vert.png);
	
	cursor: pointer;
	
	margin-bottom: 5px;
}

ul.gamelistvert li a {
	display: block;
	overflow: hidden;
	
	position: absolute;
	left: 2px;
	top: 116px;
	
	width: 112px;
	height: 40px;
	
	font-weight: bold;
	font-family: Arial, Helvetica;
	
	text-align: center;
}

ul.gamelistvert li div.desc {
	display: none;
	visibility: hidden;
}

/* tiny */

div.drawer div.titrelatedgames {
	margin-bottom: 5px;
	margin-left: 13px;
}

ul.gamelisttiny li {
	width: 180px;
	height: 66px;
	
	background-image: url(../images/gamebox_tiny.png);
	
	cursor: pointer;
	
	margin-bottom: 5px;
}

ul.gamelisttiny li img {
	position: absolute;
	left: 8px;
	top: 8px;
	
	width: 50px;
	height: 50px;	
}

ul.gamelisttiny li a {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	
	position: absolute;
	left: 64px;
	top: 6px;
	
	width: 110px;
	
	font-weight: bold;
	font-family: Arial, Helvetica;
	font-size: 90%;
}

ul.gamelisttiny li div.desc {
	overflow: hidden;
	
	position: absolute;
	left: 64px;
	top: 24px;
	
	width: 110px;
	height: 38px;
	
	font-size: 80%;
}

ul.gamelisttiny li div.genre {
	display: none;
	visibility: hidden;
}



