/* General stuff */
body
{
	text-align: center;
	direction: rtl;
	font-family: Arial;
	font-size: 11px;
	text-align: right;
	position: relative;
	z-index: 0;
}
#wrapper
{
	margin: 0 auto;
	width: 875px;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.clear
{
	clear: both;
}
br.clear
{
	height: 0;
	font-size: 0;
	line-height: 0;
}

a {color: blue}

/* Sprites */
#catg_left_arrow, #catg_right_arrow, .game_box_top_right, .game_box_top_left, .game_box_tabs_slider, .game_box_bottom_left, .game_box_bottom_right, #add_to_fav, #new_games_control, #search_games, .category_box, #special_games .upsidedown_tab
{
	background-image: url(../images/yoyogames_sprites.jpg);
	background-repeat: no-repeat;
}
.game_box
{
	background-image: url(../images/yoyogames_vsprites.jpg);
	background-repeat: repeat-x;
}

/* Top */
#logo
{
	display: block;
	height: 143px;
	width: 675px;
	background: url(../images/logo.png) top left no-repeat;
	margin: 22px auto 20px;
	text-decoration: none;
}
#top_ad
{
	width: 468px;
	height: 60px;
	float: right;
	margin: 5px 0 0;
}
#controls_left
{
	width: 75px;
	float: right;
	margin-right: 10px;
}
#controls_right
{
	width: 668px;
	float: right;
}
#controls_right a
{
	color: black;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	position: absolute;
	display: block;
	text-align: center;
}
#controls_right div
{
	float: left;
	position: relative;
}
#add_to_fav
{
	width: 51px;
	height: 53px;
	background-position: -122px 0;
	margin: 16px 0 0 60px;
	cursor: pointer;
}
#add_to_fav span
{
	display: block;
	position: absolute;
	width: 100px;
	font-size: 12px;
	font-weight: bold;
	top: -16px;
	right: -24px;
	text-align: center;
}
#new_games_control
{
	width: 60px;
	height: 49px;
	background-position: -60px 0;
	margin: 18px 0 0 55px;
}
#new_games_control a
{
	top: -18px;
	right: -20px;
	width: 100px;
	height: 67px;
}
#recommended_games
{
	width: 69px;
	height: 50px;
	margin: 19px 0 0 50px;
	background: url(../images/4.png) 0 0 no-repeat;
}
#recommended_games a
{
	top: -19px;
	right: -19px;
	width: 88px;
	height: 69px;
}
#pictures_games
{
	width: 47px;
	height: 47px;
	margin: 21px 0 0 60px;
	background: url(../images/1.png) 0 0 no-repeat;
}
#pictures_games a
{
	width: 90px;
	height: 67px;
	top: -21px;
	right: -21px;
}
#leading_games
{
	width: 55px;
	height: 50px;
	margin: 17px 0 0 50px;
	background: url(../images/2.png) 0 0 no-repeat;
}
#leading_games a
{
	width: 83px;
	height: 67px;
	top: -17px;
	right: -14px;
}
#games_for_two
{
	width: 55px;
	height: 52px;
	margin: 15px 0 0 40px;
	background: url(../images/3.png) 0 0 no-repeat;
}
#games_for_two a
{
	width: 83px;
	height: 67px;
	top: -15px;
	right: -14px;
}

#popular_games
{
	float: right;
	position: relative;
	height: 17px;
	width: 20px;
	background: url(../images/5.png) 0 0 no-repeat;
	margin: 5px 0 0;
}
#popular_games a
{
	display: block;
	color: black;
	width: 105px;
	right: 25px;
	position: absolute;
}
#search_games
{
	clear: right;
	float: right;
	width: 20px;
	height: 21px;
	background-position: -42px -49px;
	margin: 16px 0 0 0;
	position: relative;
}
#search_games  a
{
	display: block;
	color: black;
	width: 105px;
	right: 25px;
	position: absolute;
}
/* Categories */
#categories_box
{
	margin: 40px auto 15px;
	width: 730px;
}
#categories_container
{
	position: relative;
	width: 665px;
	height: 74px;
	margin: 0 4px 10px -4px;
	overflow: hidden;
	float: right;
	z-index: 2;
}
#categories
{
	position: relative;
	top: 0px;
	right: 0px;
	height: 56px;
	z-index: 3;
}
#categories li
{
	width: 85px;
	height: 56px;
	float: right;
	margin: 18px 0 0 10px;
	position: relative;
	background-repeat: no-repeat;
	background-position: 0 0;
	z-index: 4;
	text-align: center;
}
#categories li img
{
	width: 57px;
	height: 56px;
	margin: 0 auto;
	z-index: 5;
	position: relative;
}
#categories a.title
{
	display: block;
	cursor: pointer;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: black;
	height: 74px;
	width: 100%;
	text-align: center;
	position: absolute;
	top: -18px;
	z-index: 4;
}
#catg_left_arrow, #catg_right_arrow
{
	float: right;
	width: 29px;
	height: 29px;
	margin-top: 28px;
	background-position: 0 0;
	cursor: pointer;
}
#catg_right_arrow
{
	background-position: -209px 0;
	cursor: auto;
}

/* Game box */
.game_box
{
	position: relative;
	background-position: 0 0;
	width: 830px;
	border-bottom: 2px solid #9bceeb;
	margin: 0 auto;
}
.game_box_top_right, .game_box_top_left
{
	width: 20px;
	height: 41px;
	background-position: 0 -29px;
	top: 0;
	left: -1px;
	_left: 0px;
	position: absolute;
	z-index: 6;
}
.game_box_top_right
{
	background-position: -20px -29px;
	right: -1px;
	_right: 0px;
}
.game_box_bottom_left, .game_box_bottom_right
{
	position: absolute;
	bottom: -3px;
	left: -1px;
	_left: 0;
	width: 17px;
	height: 87px;
	background-position: -244px 0;
	z-index: 5;
}
.game_box_bottom_right
{
	background-position: -261px 0;
	right: -1px;
	_right: 0;
}
.game_box_content
{
	clear: both;
	position: relative;
	left: -1px;
	top: -1px;
	width: 100%;
	_left: 0;
	_width: 830px;
	background: url(../images/games_box_left_border.jpg) 0 0 repeat-y;
}
.game_box_content_inner
{
	right: -2px;
	_right: 0;
	position: relative;
	float: right;
	_float:none;
	width: 100%;
	overflow: hidden;
	_width: 830px;
	background:url(../images/games_box_right_border.jpg) top right repeat-y;
}
.game_box_content_inner ul
{
	width: 720px;
	margin: 10px auto -10px;
}
.game_box_content_inner li, .category_box li
{
	height: 76px;
	width: 83px;
	position: relative;
	margin: 20px 0 25px 37px;
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	border: 1px solid #ff7f7f;
}
.game_box_content_inner a.game_name, .category_box ul a.game_name
{
	display: block;
	position: absolute;
	top: -17px;
	right: -8px;
	width: 100px;
	height: 13px;
	text-align: center;
	text-decoration: none;
	color: #000;
	font-size: 11px;
	overflow: hidden;
}
.game_box_content_inner a.game_image, .category_box ul a.game_image
{
	width:83px;
	height:76px;
	display:block;
	font-size: 0px;
	text-decoration: none;
	margin: 0 auto;
	position: relative;
}
.game_box_content_inner img, .category_box ul img
{
	width: 83px;
	height: 76px;
	border: 0;
	margin: 0 auto;
}
/* Special box */
#special_games
{
	margin-top: 20px;
}
#special_games .upsidedown_tab
{
	position: absolute;
	width: 199px;
	height: 34px;
	background-position: 0 -287px;
	right: 27px;
}
#special_games h3
{
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	width: 100%;
	margin-top: 5px;
}

/* Sliding tabs */
.game_box_tabs_container
{
	margin: 0 25px;
	position: relative;
	height: 41px;
}
.game_box_tabs_slider
{
	width: 244px;
	height: 35px;
	position: absolute;
	z-index: 3;
	float: left;
	background-position: 0 -71px;
	overflow: hidden;
	_margin-left: 243px;
}
.game_box_tabs li
{
	float: right;
	width: 200px;
	height: 21px;
	margin: 7px 20px 13px;
	z-index: 4;
	position: relative;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
	font-size: 14px;
}
.game_box_tab_content, .sliding_tabs_content
{
	display: none;
}
#sliding_tab_0
{
	display: block;
}

/* Category box */
.category_box
{
	width: 397px;
	height: 178px;
	background-position: 0 -108px;
	position: relative;
	margin: 18px 20px 0;
	_margin: 18px 15px 0;
	float: right;
	overflow: hidden;
}
.category_box h2
{
	position: relative;
	right: 90px;
	top: 5px;
	z-index: 5;
	width: 150px;
	overflow: hidden;
}
.category_box h2 a
{
	font-size: 18px;
	font-weight: bold;
	color: black;
	text-decoration: none;
}
.category_box .more_games
{
	color: black;
	text-decoration: underline;
	font-size: 11px;
	display: block;
	/*
	position: absolute;
	right: 15px;
	top: 17px;
	*/
	float: right;
	margin: -5px 16px 0 0;
	_margin: -5px 10px 0 0;
}
.category_box .category_order
{
	/*
	position: absolute;
	left: 18px;
	top: 20px;
	*/
	float: left;
	margin: 0 0 0 22px;
	_margin: 0 0 0 15px;
}
.category_box .category_order
{
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	color: black;
}
.category_box .category_order span
{
	cursor: pointer;
}
.category_box .category_order .active
{
	text-decoration: underline;
}
.category_box ul
{
	width: 380px;
	overflow: hidden;
	list-style-type: none;
	margin: 20px 10px 0 0;
	float: right;
	position: relative;
	top: -1px;
	right: 1px;
}
.category_box ul a
{
	font-size: 11px;
}
.category_box li
{
	margin-left: 7px !important;
}
.category_order_shows_list
{
	display: none;
}
