
/* WRAPPERS */
body {
	padding: 0;
	margin:0;
	height:auto;
	background: #1b4686 url(../images/backgrounds/frontpage.mid.png) repeat-y 50%;
	float:none;
	color:#082d47;
}

#page_wrap1_wrap{
	background:			transparent url(../images/backgrounds/frontpage.mid.png) repeat-y scroll center 0;
}


#page_wrap2_wrap{
	background:			transparent url(../images/backgrounds/frontpage.top.png) no-repeat scroll center top;
}

#page_wrap3_wrap{
	background:			transparent url(../images/backgrounds/frontpage.bot.png) no-repeat scroll center bottom;
}


body *{
	padding:0;
	margin: 0;
/*
	outline: 1px solid #666;
	*/
}

.page_tail{
	clear:				both;
	display:block;
	position:relative;
	height:				250px;
}


.container_24 {
/*	background: transparent url(../images/backgrounds/960/24_col.png) repeat-y;*/
	min-height:530px;
}

ul{
	list-style-type: none;
}




/*HEADER*/

.site_logo{
margin-top:45px;
margin-bottom:0px;
float:left;
clear:none;
height:100px;
width:257px;
}

.site_logo img{
position:absolute;

}
/******************/

/* LINKS */

a {
	text-decoration: none;
	color:#082d47;
}

a:hover {
	text-decoration: underline;
}


/*GAME LISTING*/

.game{
	 clear:none;
	 float:left;
	padding: 10px 0;
	text-align: center;
	height:120px;
}
.game img{
	width: 128px;
	height: 72px;
	float:left;
	padding:3px;
	margin-left:10px;
	background: transparent url(../images/backgrounds/frontpage.game_icon_128x72.png);
	padding-left:17px;
	margin-left:-4px;

}
.game div{
	width:155px;
	float:left;
	clear:none;
	padding:0;
}


.game h3{
	text-align:left;
	float:left;
	padding: 0 5px 5px 0;
	margin:0;
	font-size:14px;
	font-weight:bold;
}

.game p{
	float:left;
	text-align:left;
	padding:0 5px 0 0;
	clear:left;
}

.game .play_now_button{
	width:95px;
	height:32px;
	display:block;
	margin:8px;
	overflow:hidden;
	line-height:100;
	float:left;
	clear:both;
	background: transparent url(../images/buttons/play_game.png);
}



.header{
	height: 160px;
}


.game.index_0
,.game.index_5
,.game.index_12
,.game.index_19
,.game.index_24
,.game.index_29{
	width:640px;
	height:200px;
}
.game.index_0 img
,.game.index_5 img
,.game.index_12 img
,.game.index_19 img
,.game.index_24 img
,.game.index_29 img{
	width: 256px;
	height: 144px;
	padding:6px;
	padding-left:20px;
	margin-left:-4px;
	background: transparent url(../images/backgrounds/frontpage.game_icon_256x144.png);
}

.game.index_0 div.text
,.game.index_5 div.text
,.game.index_12 div.text
,.game.index_19 div.text
,.game.index_24 div.text
,.game.index_29 div.text{
	width:340px;
}


.game.index_0 div.image
,.game.index_5 div.image
,.game.index_12 div.image
,.game.index_19 div.image
,.game.index_24 div.image
,.game.index_29 div.image{
	width:300px;
}

.game.index_0 h3
,.game.index_0 p
,.game.index_5 h3
,.game.index_5 p
,.game.index_12 h3
,.game.index_12 p
,.game.index_19 h3
,.game.index_19 p
,.game.index_24 h3
,.game.index_24 p
,.game.index_29 h3
,.game.index_29 p{
	font-size:200%;
}


/*MENU*/

.category-menu{
	margin-left:20px;
	margin-top:60px;
	float:left;
	clear:none;
}

.category-menu li{
	clear:none;
	float:left;
	overflow:hidden;
	line-height:100;
}
.category-menu a
,.category-menu li{
	display: block;
	width:168px;
	height:45px;
}

.add_to_favorites
,.set_as_homepage
,.admin_logon{
height:45px;
display:block;
float :left;
	overflow:hidden;
	line-height:100;
}

.add_to_favorites{
margin-left:260px;
width:170px;
}
.set_as_homepage{
width:240px;
}

.admin_logon{
width:20px;
}
/*Ads*/

.ad{
	display:block;
	overflow: hidden;
	padding:0;
	margin-left:10px;
}
.inhouse_ad{
	display:block;
	color:white;
	font-weight:bold;
	font-size:60px;
	line-height:1.0;
	background: green url(../images/backgrounds/ad_noise_shaded.png) ;
	overflow: hidden;
	padding: 0;
	text-align: center;
}

/*search*/

.sidebar form{
	float:left;
	clear:both;
	display:block;
	margin-left:10px;
	margin-bottom:20px;
}

.sidebar h2{
	color:#fff;
}

 .sidebar .game_search h2
,.sidebar .add_games h2
,.sidebar .most_popular h2
 {
	display:block;
	line-height:100;
	overflow: hidden;
	width:294px;
	height:45px;
	margin:10px;
	float:left;
	clear:both;
}

.game_search h2{
	background: transparent url(../images/backgrounds/game_search.png) no-repeat center center;
}

.most_popular h2{
	background: transparent url(../images/backgrounds/most_popular.png) no-repeat center center;
}

.add_games h2{
	margin-top:40px;
	background: transparent url(../images/backgrounds/add_games.png) no-repeat center center;
}

.add_games p{
margin-left:10px;
margin-right:5px;
display:block;
float:left;
clear:both;
}

.search_highlight{
	background:#f2e74d;
	color:#3f5519;
	font-style:normal;
	font-weight:bold;
	text-transform:none;
	padding-top:2px;
	padding-bottom:2px;
}

.suggestions{
	margin:5px;
}

.suggestions img{
	padding:3px !important;
	vertical-align:middle;
	background: transparent url(../images/backgrounds/game_icon_32x18.png);
	background-repeat: no-repeat;
}


.suggestions p{
	padding-left:5px;
	padding-top:5px;
	display:inline;
}


/*//////////////////////// category_ActionAndShooting*/

body.category_ActionAndShooting  {
	background: #ffde00 url(../images/backgrounds/action.mid.png) repeat-y 50%;
	color:#000;
}

body.category_ActionAndShooting #page_wrap1_wrap{
	background:			transparent url(../images/backgrounds/action.mid.png) repeat-y scroll center 0;
}


body.category_ActionAndShooting #page_wrap2_wrap{
	background:			transparent url(../images/backgrounds/action.top.png) no-repeat scroll center top;
}

body.category_ActionAndShooting #page_wrap3_wrap{
	background:			transparent url(../images/backgrounds/action.bot.png) no-repeat scroll center bottom;
}


body.category_ActionAndShooting .game .play_now_button{
	background: transparent url(../images/buttons/action.play_now.png);
}

body.category_ActionAndShooting  .game p
,body.category_ActionAndShooting  a{
	color:#000;
}

body.category_ActionAndShooting .sidebar .game p
,body.category_ActionAndShooting .sidebar a{
	color:#fff;
}

.game .game_category_ActionAndShooting img{
	background: transparent url(../images/backgrounds/action.game_icon_128x72.png);
}

body.category_ActionAndShooting .suggestions img{
background: transparent url(../images/backgrounds/action.game_icon_32x18.png);
}




/*//////////////////////// category_MotorsAndSports*/

body.category_MotorsAndSports  {
	background: #ac0000 url(../images/backgrounds/motor.mid.png) repeat-y 50%;
	color:#000;
}

body.category_MotorsAndSports #page_wrap1_wrap{
	background:			transparent url(../images/backgrounds/motor.mid.png) repeat-y scroll center 0;
}


body.category_MotorsAndSports #page_wrap2_wrap{
	background:			transparent url(../images/backgrounds/motor.top.png) no-repeat scroll center top;
}

body.category_MotorsAndSports #page_wrap3_wrap{
	background:			transparent url(../images/backgrounds/motor.bot.png) no-repeat scroll center bottom;
}


body.category_MotorsAndSports .game .play_now_button{
	background: transparent url(../images/buttons/motor.play_now.png);
}

body.category_MotorsAndSports  .game p{
	color:#ac0000;
}

body.category_MotorsAndSports .sidebar .game p
,body.category_MotorsAndSports  a{
	color:#000;
}

.game .game_category_MotorsAndSports img{
	background: transparent url(../images/backgrounds/motor.game_icon_128x72.png);
}

body.category_MotorsAndSports .suggestions img{
background: transparent url(../images/backgrounds/motor.game_icon_32x18.png);
}






/*//////////////////////// category_StrategyAndPuzzle*/

body.category_StrategyAndPuzzle  {
	background: #252525 url(../images/backgrounds/strategy.mid.png) repeat-y 50%;
	color:#000;
}

body.category_StrategyAndPuzzle #page_wrap1_wrap{
	background:			transparent url(../images/backgrounds/strategy.mid.png) repeat-y scroll center 0;
}


body.category_StrategyAndPuzzle #page_wrap2_wrap{
	background:			transparent url(../images/backgrounds/strategy.top.png) no-repeat scroll center top;
}

body.category_StrategyAndPuzzle #page_wrap3_wrap{
	background:			transparent url(../images/backgrounds/strategy.bot.png) no-repeat scroll center bottom;
}


body.category_StrategyAndPuzzle .game .play_now_button{
	background: transparent url(../images/buttons/strategy.play_now.png);
}

body.category_StrategyAndPuzzle .sidebar .game .play_now_button{
	background: transparent url(../images/buttons/strategy.sidebar.play_now.png);
}

body.category_StrategyAndPuzzle  .game p
,body.category_StrategyAndPuzzle  a{
	color:#32002c;
}

body.category_StrategyAndPuzzle .sidebar .game *{
	color:#000;
}

.game .game_category_StrategyAndPuzzle img{
	background: transparent url(../images/backgrounds/strategy.game_icon_128x72.png);
}

body.category_StrategyAndPuzzle .suggestions img{
background: transparent url(../images/backgrounds/strategy.game_icon_32x18.png);
}





/*//////////////////////// category_AdventureAndRPG*/

body.category_AdventureAndRPG  {
	background: #073621 url(../images/backgrounds/adventure.mid.png) repeat-y 50%;
	color:#000;
}

body.category_AdventureAndRPG #page_wrap1_wrap{
	background:			transparent url(../images/backgrounds/adventure.mid.png) repeat-y scroll center 0;
}


body.category_AdventureAndRPG #page_wrap2_wrap{
	background:			transparent url(../images/backgrounds/adventure.top.png) no-repeat scroll center top;
}

body.category_AdventureAndRPG #page_wrap3_wrap{
	background:			transparent url(../images/backgrounds/adventure.bot.png) no-repeat scroll center bottom;
}


body.category_AdventureAndRPG .game .play_now_button{
	background: transparent url(../images/buttons/adventure.play_now.png);
}

body.category_AdventureAndRPG  .game p
,body.category_AdventureAndRPG  a{
	color:#1d4703;
}

body.category_AdventureAndRPG .sidebar .game *{
	color:#000;
}

.game .game_category_AdventureAndRPG img{
	background: transparent url(../images/backgrounds/adventure.game_icon_128x72.png);
}

body.category_AdventureAndRPG .suggestions img{
background: transparent url(../images/backgrounds/adventure.game_icon_32x18.png);
}

/*//////////////////////// category_admin*/
/* Strip graphics for admin pages*/

body.category_admin #page_wrap2_wrap{
	background:			transparent ;
}

body.category_admin #page_wrap3_wrap{
	background:			transparent;
}

body.category_admin .site_logo{
	top:0;
	margin-top:10px;
}


body.category_admin .header .admin-menu{
	top:0;
	margin-top:0px;
}




body.category_admin .auth_user{
	width:400px;
	margin-left:550px;
	margin-top:45px;	
	height:50px;
}

body.category_admin .header{
	height: 90px;
}


body.category_admin .set_as_homepage
,body.category_admin .add_to_favorites
,body.category_admin .admin_logon{
background:red;
display:none;
width:0;
height:0;
top:0;
left:0;
margin:0;
padding:0;
}

/*************************/



.auth_user{
	margin:0;
	padding:0;
	left:0;
	top:0;
	width:50px;
	margin-left:650px;
	margin-top:45px;	
	color:white;
	text-shadow: #000 0 0 5px;
	text-align:right;
	position:relative;
	display:block;
	
}





.game.index_0 .game_category_ActionAndShooting img
,.game.index_5 .game_category_ActionAndShooting img
,.game.index_12 .game_category_ActionAndShooting img
,.game.index_19 .game_category_ActionAndShooting img
,.game.index_24 .game_category_ActionAndShooting img
,.game.index_29 .game_category_ActionAndShooting img{
	background: transparent url(../images/backgrounds/action.game_icon_256x144.png);
}




.game.index_0 .game_category_MotorsAndSports img
,.game.index_5 .game_category_MotorsAndSports img
,.game.index_12 .game_category_MotorsAndSports img
,.game.index_19 .game_category_MotorsAndSports img
,.game.index_24 .game_category_MotorsAndSports img
,.game.index_29 .game_category_MotorsAndSports img{
	background: transparent url(../images/backgrounds/motor.game_icon_256x144.png);
}




.game.index_0 .game_category_StrategyAndPuzzle img
,.game.index_5 .game_category_StrategyAndPuzzle img
,.game.index_12 .game_category_StrategyAndPuzzle img
,.game.index_19 .game_category_StrategyAndPuzzle img
,.game.index_24 .game_category_StrategyAndPuzzle img
,.game.index_29 .game_category_StrategyAndPuzzle img{
	background: transparent url(../images/backgrounds/strategy.game_icon_256x144.png);
}




.game.index_0 .game_category_AdventureAndRPG img
,.game.index_5 .game_category_AdventureAndRPG img
,.game.index_12 .game_category_AdventureAndRPG img
,.game.index_19 .game_category_AdventureAndRPG img
,.game.index_24 .game_category_AdventureAndRPG img
,.game.index_29 .game_category_AdventureAndRPG img{
	background: transparent url(../images/backgrounds/adventure.game_icon_256x144.png);
}

.related h2{
	font-size:18px;
}

.game_player{
	background:black;
	padding:0px;
	padding-bottom:40px;
	width:960px;
	display:block;
	float:left;
	margin:0;
	margin-bottom:10px;
}
.game_player *{
	padding-top:20px;
}

.game_player h1{
	color: #fff;
}

.referrer_helper{
	background:#dfc;
	border:3px solid #482;
	padding:10px;
	display:block;
	float:left;
	color: #241;
}

.referrer_helper *{
	padding:0;
	margin:0;
}
.referrer_helper .close{
	float:right;
	color: #241;
}
