/* @override http://www.funnygames.de/css/global.css */

body
{
    margin: 0;
    padding: 0;
	background-image: url(../images/back.gif);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: white;
	text-align: center;
	font-family: Arial,sans-serif;
	font-size: 12px;
	color: black;
}

img { border: 0; }
a, a:link, a:visited, a:active { color: #179BF2; }

#kontakt
{
	font-family: Arial,sans-serif;
	font-size: 12px;
	color: black;
}

#document
{
	width: 762px;
	margin: 0 auto 0 auto;
	text-align: left;
}


#header {
    position: relative;
    top: 0px;
    width: 100%;
    height: 87px;
    z-index: 1;
}

#header h1
{
    position: relative;
    top: 0px;
	width: 262px;
	height: 137px;
	margin: 0;
	padding: 0;
	background-image: url(../images/logo.gif);
	background-repeat: no-repeat;
	text-indent: -999px;
	z-index: 1;
}

#header .ad
{
    position: absolute;
	width: 468px;
	height: 60px;
	top: 13px;
	right: 13px;
}


#main {
    position: absolute;
    top: 87px;
    width: 762px;
	z-index: 0;
}


#main .top
{
	height: 99px;
	background-image: url(../images/main_top.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#main .top2
{
	height: 99px;
	background-image: url(../images/main_top2.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

body.game #main .top { height: 75px; }

ul.menu
{
	position: relative;
	left: 141px;
	top: 35px;
	width: 458px;
	height: 40px;
	margin: 0;
	padding: 0;
	text-align: left;
	overflow: hidden;
}

.menu li
{
	float: left;
	list-style-type: none;
}

.menu li a
{
	text-indent: -999px;
	text-decoration: none;
	height: 40px;
	display: block;
	background-repeat: no-repeat;
}

.menu li.startseite a
{
	width: 127px;
	background-image: url(../images/btn1.gif);
}
.menu li.fun a
{
	width: 80px;
	background-image: url(../images/btn2.gif);
}
.menu li.games a
{
	width: 109px;
	background-image: url(../images/btn3.gif);
}
.menu li.chat a
{
	width: 70px;
	background-image: url(../images/btn4.gif);
}
.menu li.hilfe a
{
	width: 72px;
	background-image: url(../images/btn5.gif);
}


form.search {
    width: 156px;
    height: 35px;
    float: right;
}

#main .content
{
	width: 762px;
	background-image: url(../images/main.gif);
	background-repeat: repeat-y;
	padding: 10px 18px 0 16px;
}

#main .content2
{
	background-image: url(../images/main2.gif);
	background-repeat: repeat-y;
	padding: 10px 18px 0 18px;
}

/* Übersichtsseite Spiele */

#main .content3
{
    background-image: url(../images/main3.gif);
	background-repeat: repeat;
	background-position: left top;
	padding: 0 18px 0 18px;
}

.genre {
    float: left;
    width: 111px;
}

.genre h2 { 
	width: 111px;
	height: 23px;
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 12px;
    background-image: url(../images/nav_tab.gif);
	background-repeat: no-repeat;
	background-position: left top;	
	background-color: #ffffe8;
}

.genre h2 a {
	display: block;
	margin-left: 10px;
	width: 91px;
	line-height: 23px;
	vertical-align: middle;
	color: black;
	text-decoration: none;
}
.genre h2 a:visited { color: black; }


.genre ul.nav { 
	float: none;
	margin-bottom: 20px;
}


ul.nav {
    float: left;	
    width: 111px;
	margin: 0;
	padding: 0;
}

ul.nav li
{
	list-style-type: none;
	padding: 3px 3px 3px 5px;
}

ul.nav li a { text-decoration: none; }
ul.nav li a:hover { font-weight: bold; }


ul.nav li.alt {
    background-color: #CCCCCC;
    -moz-border-radius: 12px;
}

ul.nav li.alt a { color: #4F4F4F; }


.content-small
{
    width: 600px;
    float: right;
    padding-left: 14px;
	text-align: left;
}

#game
{
	background-image: url(../images/main2.gif);
	background-repeat: repeat-y;
	padding: 0 8px 0 8px;
	text-align: center;
}

#game .flash
{
    width: 744px;
	border-color: #179BF2;
	border-width: 2px;
	border-style: solid;
	background-image: url(../images/flash.gif);
	background-repeat: repeat-x;	
}

#game .error
{
    width: 748px;
    height: 38px;
    margin: 0;
    padding-top: 10px;
	background-image: url(../images/shadow.gif);
	background-repeat: repeat-x;
}

#game .error2
{
    width: 748px;
    height: 38px;
    margin: 0;
    
	background-image: url(../images/shadow2.gif);
	background-repeat: repeat-x;
}

.columns {
	width: 585px;
	text-align: left;
}

.column
{
	float: left;
	margin: 0 10px 10px 0;
}

body.game .column { width: 230px; text-align: left;}
.content-small .column { width: 190px; height: 185px; margin-right: 5px; text-align: center; }
.content-small .column img { width: 180px; height: 135px; margin-top: 5px;}


.column h2, .column h3, .column h4
{
    color: #5D5D5B;
	font-weight: bold;
	margin: 0;
	padding: 0;
	text-align: left;
}


.column .headline
{
	width: 360px;
	height: 25px;
	margin-bottom: 5px;
	background-image: url(../images/headline.gif);
	background-repeat: no-repeat;
	cursor: pointer;
}

.column .headline h2
{
	margin: 0;
	float: left;
	font-size: 12px;
	padding: 6px 0 0 15px;
}
.column .headline p
{
	margin: 0 10px 0 0;
	padding: 7px 0 0 19px;
	float: right;
	font-size: 11px;
}

.column .headline p a
{
	text-decoration: none;
	color: #5D5D5B;
}

.column h3
{
	width: 230px;
	height: 25px;
	font-size: 11px;
	background-image: url(../images/subheadline.gif);
	background-repeat: no-repeat;
	padding: 3px 0 0 14px;
}

.column h4
{
	width: 190px;
	height: 19px;
	font-size: 11px;
	background-image: url(../images/subsubheadline.gif);
	background-repeat: no-repeat;
	padding: 3px 0 0 14px;
}

.box
{
	width: 344px;
	height: 75px;
	margin: 0;
	padding: 6px;
	background-image: url(../images/box_back.gif);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: white;
	border-color: #FFD35B;
	border-width: 1px;
	border-style: solid;
	overflow: hidden;
}


.box img.icon
{
    width: 104px;
    height: 75px;
	border: 0;
    float: left;
}


.box ul
{
	width: 103px;
	height: 75px;
	overflow: hidden;
	float: left;
	margin: 0px;
	padding: 0px 0px 0px 17px;
}

.box li
{
	margin: 0px;
	padding-left: 10px;
	background: transparent url(../images/list.gif) no-repeat left 3px;
	list-style-type: none;
	line-height: 15px;
}


.box a, .box a:link, .box a:visited {
    color: #5D5D5B;
    font-size: 11px;
    text-decoration: none;
}

.box a:hover { color: #179BF2; }


.page-nav {
    width: 570px;
    margin-bottom: 20px;
}

.page-nav a { text-decoration: none; }

.page-nav div.nav {
    width: 210px;
    height: 12px;
    float: left;
    text-align: left;
}

.page-nav div.nav a.nr
{
	width: 10px;
	height: 10px;
	color: #179BF2;
	background-color: white;
	border-color: #179BF2;
	border-width: 1px;
	border-style: solid;
	text-decoration: none;
	font-size: 10px;
	padding: 0 2px 0 2px;
}

.page-nav div.nav a.nr:hover {
	color: white;
	background-color: #FFD35B;
	border-color: #FFD35B;
	border-width: 1px;
	border-style: solid;
}

.page-nav div.nav a.nr2
{
	width: 10px;
	height: 10px;
	color: white;
	background-color: #FFD35B;
	border-color: #FFD35B;
	border-width: 1px;
	border-style: solid;
	text-decoration: none;
	font-size: 10px;
	padding: 0 2px 0 2px;
}

.page-nav div.title {
    width: 170px;
    font-weight: bold;
    float: left;
    text-align: center;
}

.page-nav div.sort {
    width: 190px;
    float: left;
    text-align: right; 
}

.page-nav div.sort select
{
	background-color: white;
	border-color: #179BF2;
	border-width: 1px;
	border-style: solid;
	font-size: 10px;
	color: #179BF2;
	padding: 2px;
}



#main .bottom
{
    width: 762px;
    height: 33px;
    margin-bottom: 20px;
	background-image: url(../images/main_bottom.gif);
	background-repeat: repeat;
	background-position: left top;
	text-align: center;
}
#main .bottom2
{
    width: 762px;
    height: 33px;
    margin-bottom: 20px;
	background-image: url(../images/main_bottom2.gif);
	background-repeat: repeat;
	background-position: left top;
	text-align: center;
}
#main .bottom p
{
    margin: 0;
    padding-top: 10px;
}

#main .bottom2 p
{
    margin: 0;
    padding-top: 10px;
}
#footer {
    width: 100%;
    height: 30px;
    text-align: center;
}

p.menu a, p.menu a:visited {
    text-decoration: none;
    color: black;
    font-size: 11px;
}


#rating img {
    position: absolute;
    left: 100px;
    z-index: 0;
}

#rating span {
    position: absolute;
    left: 148px;
    margin-top: 12px;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    color: #179BF2;
}

#rating p, p.rating { text-align: center; }

.bubble
{
	position: absolute;
	width: 90px;
	font-size: 10px;
	color: #179BF2;
	padding: 3px;
	border-color: #179BF2;
	border-width: 3px;
	border-style: solid;
	background-color: white;
	-moz-border-radius: 12px;
	z-index: 2;
}


.scrollcontent
{
	position: relative;
	float: left;
	width: 240px;
	height: 80px;
}


.scrollcontent div
{
    position: absolute;
    padding-bottom: 10px;
}

.scrollbar
{
    width: 11px;
    height: 80px;
    float: left;
    background-color: #FFFFE8; 
}


.blurb {
	width: 567px;
	background-image: url(../images/blurb_top.gif);
	background-repeat: no-repeat;
	background-position: center top;
	margin-bottom: 20px;
	padding-top: 4px;
}

.blurb p {
	width: 545px;
	margin: 0;
	padding: 10px;
	background-color: white;
	border-left: 1px solid #189bf3;
	border-right: 1px solid #189bf3;		
}






/* Bugfix */
.clear { clear: both; height: 1px; } 
.wrapper:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 
.wrapper { display: inline-block; }
* html .wrapper { height: 1%; }
.wrapper { display: block; }


/* Formulare */
form {
    margin: 0;
    padding: 0;

}
fieldset
{
	border: 0;
	vertical-align: middle;
}
input.search { width: 10em; font-size: .9em; }
input.text { width: 15em; font-size: .9em; }
input.image { border: 0;  height: 18px; margin-bottom: -3px; }

#sky {
	position:relative;
	left:777px;
	top:0px;
	width:160px;
	height:600px;
	z-index:2;
}
