/* onArcade 2.2 CSS */
/* CSS Modified to onArcade 2.1.0 by LOst COde */
/* CSS Upgraded to onArcade 2.2.0 by Monir Eshmila (www.monir.ws) */
/* All Copyrights Reserved to www.tarfeh.net */

body {
	margin: 0px;
	padding: 0px;
		     background: #FFD393 url('images/back_46.jpg') fixed repeat right bottom;
	color: #333333;
	font-size: 11px;  /* حجم الخط فى الصناديق الجانبية */
	font-family: Tahoma;
	text-align: right;
	direction:rtl;
}
form {
	margin: 0px;
	padding: 0px;
}
input, textarea {
	margin: 2px;
	padding: 2px;
	background: #F7F7F7;
	border: 1px solid #FFC671;
	font-size: 11px;
}
p {
	margin:4px 0px;
}
fieldset {
	margin-top: 7px;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
legend {
	font-weight: bold;
}
a:link {
	color: #8B4513;
	text-decoration: underline;
}
a:visited {
	color: #B8860B;
	text-decoration: underline;
}
a:hover {
	color: #B8860B;
	text-decoration: none;
}





/* the header of the site  */
#header {
	margin-left: auto;
	margin-right: auto;
	margin-top: 6px;
	height:120px;
	width: 800px;
 	background: url('images/banner.jpg') right;
	text-align: right;
	position: center
	
	
	border: 2px solid #FFEBCD;
}
#header h1 {
	margin-right: 10px;
	margin-top: 1px;
	margin-bottom: 0px;
	float: right;
	color: #FFEFD5;
	font-family: Tahoma;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	

	
	
}
/* menu with links to different parts of site */
#main_menu {
	margin-bottom: 2px;
	margin-right: 10px;
	margin-top: 100px;   /* الارتفاع من قمة الصفحة */
	color: #000080;
	font-family: Tahoma;
	font-size: 12px;
	font-weight:bold;

}
#main_menu li {
    list-style-type: none;
    display: inline;
    margin-right: 1px;
}
#main_menu a:link, #main_menu a:visited {
	color: #000080;
	text-decoration: none;
}
#main_menu a:hover {
	color: #C6AE44;
}



/* top categories menu */
#categories {
    margin: 2px;
    padding: 2px;
    top: 2px;
    left: 5px;
    width: 160px;
    font-size: 12px;
    font-weight: bold;



}
#categories li {
    list-style-type: none;
    display: text-indent;
    margin-right: 4px;
}
#categories a:link, #categories a:visited {
	text-decoration: none;
}
#categories a:hover {
	color: #0000FF;  /* لون الهوفر لقائمة التصنيفات الجانبيةtop categories menu */
}







/* main part of the website********************************************** */
#main {
	margin-left: auto;
	margin-right: auto;
	padding: 2px;
	                                 width: 796px;       /* عرض جسم الصفحة الرئيسى */  
	background: #FFFFFF url('images/green-iguana111.jpg');
	border-left: 0px solid #FFEBCD;
	  border-right: 0px solid #FFEBCD;
	position: center
	
}
/* menu */
div#side_menu {
	float: right;
	width: 170px  /* عرض القوائم الجانبية */  
}
/* content of the page */
div#main_contents {
            margin-right: 4px;    /* المسافة من العمود الايمن */  
	float: right;
	                               width: 622px;   /* عرض المحتوى فى جسم الصفحة الرئيسي */  
}
/* monir */
div#monir {
    float: lef;
    width:  600px;
}
/* boxes where ads are in */
.ad_box {
	margin-bottom: 4px;
	padding: 3px;
	border: 1px solid #FFEBCD;
	color: #9A9445;
	text-align: center;
}
.ad_box_2 {
    padding: 3px;
    margin-bottom: 4px;
	border: 1px solid #FFEBCD;
	color: #333333;
	text-align: center;
}




/* #A4AA5E headers of content boxes العناوين*/
h2 {
	margin-bottom: 2px;
	padding-left: 4px;
	background: #808080 url('images/topb2.png');   /* #A4AA5E خلفية العنوان فى الصندوق لارئيسي المحتوى على الالعاب*/
	color: #FFFFFF;
	font-weight: bold;
	font-size: 15px; margin-left:0px; margin-right:0px; margin-top:0px; padding-right:3px; padding-top:3px; padding-bottom:3px
}
h3 {
	margin-bottom: 2px;
	padding-left: 4px;
	background: #E6CC57 url('images/topb.png');    /* #A4AA5E خلفية العنوان فى الصناديق الجانبية*/
	color: #636837;
	font-weight: bold;
	font-size: 12px; margin-left:0px; margin-right:0px; margin-top:0px; padding-right:3px; padding-top:3px; padding-bottom:3px
}
h2 a:link, h2 a:visited {
	color: #FFFFFF;
	text-decoration: underline;
}
h2 a:hover {
	text-decoration: none;
}







/* content is inside these boxes */
/* الصناديق المحتوية على التصنيفات */
.content_box {
         margin-right: 4px;
    margin-bottom: 4px; /* المسافة بين كل صندوق والذى تحته */
    padding: 0px;
	border: 0px solid #FFEBCD;
	     background: #FFA6FF url('images/teeeex1.jpg');   /* خلفية الصندوق */
	     font-size: 12px; margin-left:0px; margin-right:0px; margin-top:0px; padding-right:0px; padding-top:0px; padding-bottom:0px



}

/* الصناديق الجانبية وصناديق الاعلانات */
.content_box_2 {
	margin-bottom: 4px;
	padding: 0px;
	border: 0px solid #6666FF;
	text-align:right;
		 background: #FFFFCC url('images/tex111.jpg');
}

.content_box .left {
	width: 100px;
	float: right;
	margin-top: 2px;
	margin-bottom: 2px;
	font-weight: bold;
}
.content_box .right {
	float: right;
	margin-top: 2px;
	margin-bottom: 2px;
}
.content_box_2 input {
	border: 2px solid #000080;
}
/* top lists القوائم فى الصناديق الجانبية*/
.content_box_2 ol {
	padding: 2px;
	margin: 4px;
	list-style-position: inside;
}
.content_box_2 ol li {
	margin: 2px 0px;
	padding: 0px;
}





/* files on index page */
.index_files_left {
	margin-bottom: 2px;
	float: left;
	width: 75px;
}
.index_files_right {
	margin-bottom: 2px;
	float: left;
	width: 228px;
}


/* boxes around file on categories pages -  فى صفحة كل تصنيف على حده */
.browse_file_box {
	padding: 4px;
	background: #FFFFCC;
	border: 0px solid #000080;
	   font-weight: bold;
	   font-size: 13px; margin-left:0px; margin-right:0px; margin-top:0px; padding-right:3px; padding-top:3px; padding-bottom:3px

}





/* game on scores page */
#score_game {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
	padding: 3px;
	border: 1px solid #CCFF99;
	width: 300px;
}
/* file rating stars */
#file_rating img {
	width: 16px;
	height: 16px;
	border: 0px;
}
/* file action icons */
img.action_image {
	border: 0px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}



/* link to file */
a.file_link:link, a.file_link:visited {
	color: #000080;
	font-weight: bold;
	text-decoration: none;
}
a.file_link:hover {
	color: #9A9445;
	font-weight: bold;
}
.played {
	font-family: Tahoma;
	font-size: 9px;
}



/* bot in user online section */
.bot {
	color: #DD7500;
}
/* BB code images  */
img.bb {
	border: 1px solid #5E5E5E;
	width: 16px;
	height: 16px;
	padding: 1px;
	cursor: pointer;
}
img.bb:hover {
	border: 1px solid #B3B3B3;
	background: #F7F7F7;
}
/* quotes in PMs and forum posts*/
.quote {
	border: 1px dotted #FFEBCD;
	background: #FAFAFA url('images/quote.png') no-repeat right bottom;
	padding: 3px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px; margin-left:2px; margin-right:2px; margin-top:2px; margin-bottom:6px
}
/* icon next to forum post */
.post_icon {
	float: left;
	margin-right: 4px;
	width: 16px;
	height: 16px;
}
/* forum posts */
.forum_post {
	background: #FCFCFC;
	border: 1px solid #E3E3E3;
	margin: 8px 0px;
	position: relative;
}
.forum_post .header {
	border-bottom: 1px solid #E3E3E3;
	width: 80%;
	padding: 2px;
}
/* pagination */
div.pagination {
	margin: 2px;
	text-align: center;
}
div.pagination a:link, div.pagination a:visited {
	padding: 1px;
	border: 1px solid #CCCCCC;
	color: #000000;
	text-decoration: none;
}
div.pagination a:hover {
	border: 1px solid #FFEBCD;
	color: #000000;
}
div.pagination b {
	padding: 1px;
	border: 1px solid #CCCCCC;
}
div.pagination p {
	margin: 0px 0px 5px 0px;
}
/* CSS tables */
.table_header {
	float: right;
	text-align: right;
	font-weight: bold;
}
.table {
	float: right;
	text-align: right;
}
.separator {
	margin-bottom: 1px;
	padding-top: 1px;
	border-bottom: 1px dotted #FFC671;
	font-size:0px;
	height: 0px;
	clear: both;
}
/* JavaScript "popups" */
.popup {
	position: absolute;
	display: none;
	background: #FFFFFF;
	border: 1px solid #000000;
	color: #333333;
	padding: 5px;
	-moz-opacity: 0.9;
	opacity: 0.9;
	filter: alpha(opacity=90);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	z-index: 10;
}
#tell_friend_popup {
	width: 350px;
}
#report_broken_popup {
	width: 300px;
}
/* favourites menu */
div#favourites_menu {
	position: absolute;
	background: #F0F8FF;
	width: 150px;
	border: 1px solid #0099CC;
	padding: 4px;
	-moz-opacity: 0.95;
	opacity: 0.95;
	filter: alpha(opacity=95);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
div#favourites_menu ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
div#favourites_menu ul li {
	margin: 2px 0px;
}
/* errors */
.error_box {
	margin-bottom: 4px;
	padding: 3px;
	border: 1px solid #FFEBCD;
	background: #FADFDC;
	color: #B8860B;
	text-align: right;
}
/* comments are in these boxes */
.comment_box {
	margin-bottom: 5px;
	padding-bottom: 3px;
	border-bottom: 1px dotted #FFC671;
}
/* news are in boxes like this */
.news_box {
	margin-top: 5px;
	border-bottom: 1px dotted #FFC671;
}
/* champion info */
#champion_box {
    margin-bottom: 4px;
    padding: 2px;
	border: 1px solid #99CC66;
	background: url('images/cup.gif') no-repeat 25% 50%;
	text-align:center; background-repeat:no-repeat
}
/* box around file sponsor */
#sponsor {
	margin-bottom: 4px;
	padding: 4px;
	border: 1px dotted #FFEBCD;
	background: #FFCC33;
	text-align: center;
	font-weight: bold;
}
/* CP icons */
.cp_icon {
	width: 10px;
	height: 10px;
	border: 0px none;
}
/* tab menu stuff */
.tab_menu {
	position: relative;
	padding: 3px 0;
	margin-left: 0;
	margin-top: 1px;
	margin-bottom: 4px;
	list-style-type: none;
	text-align: left;
	border-bottom: 1px solid #C0C0C0;
}
.tab_menu li {
	display: inline;
	margin: 0;
}
.tab_menu li a, .tab_menu li a:visited {
	position: relative;
	text-decoration: none;
	padding: 3px 7px;
	margin-right: 3px;
	border-top: 1px solid #C0C0C0;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
}
.tab_menu li a:hover {
	background: #FAFAFA;
}
.tab_menu li a.selected {
	position: relative;
	top: 1px;
	background: #FFFFFF;
}
/* friends in User CP */
div.friend_cp_box {
	border-bottom: 1px solid #C0C0C0;
	margin: 4px 0px;
	padding: 4px 0px;
}
div.friend_cp_box img.avatar {
	float: left;
	margin-right: 8px;
}
/* username on profile */
.profile_username:link, .profile_username:visited {
	margin-bottom: 4px;
	color: #333333;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
.profile_username:hover {
	color: #666666;
}
/* quote on profile page */
#profile_quote {
	font-style: italic;
}
/* profile content  */
.profile_left {
	float: right;
	font-weight: bold;
	width: 150px;
}
.profile_right {
	float: right;
}
.profile_line {
	clear: both;
	border-bottom: 1px dotted #FFC671;
	padding-top: 4px;
	margin-bottom: 4px;
	height: 0px;
	font-size:0px;
}
/* favourite files slider */
div#favourites {
	width: 100%;
	height: 75px;
	overflow: hidden;
	position: relative;
	float: left;
}
div#favourites div.file {
	float: left;
	width: 120px;
	text-align: center;
	margin-bottom: 20px;border:0px;
}
/* arrow that scrolls content */
img.profile_arrow {
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 10;
	border: 0px none;
	cursor: pointer;
	display: none
}
/* friends are in these boxes */
div.friend {
	float: left;
	width: 200px;
	font-weight: bold;
}
/* info on registration page */
.register_info {
	float: right;
	width: 200px;
	font-weight: bold;
}
/* info about framed game */
.frame {
	font-size: 12px;
	color: #FFFFFF;
}
.frame a:link, .frame a:visited {
	color: #FFFFFF;
	text-decoration: underline;
	font-weight: bold;
}
.frame a:hover {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}
/* box on redirection page */
#redirection_box {
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	width: 400px;
	border: 1px solid #336699;
	background: #FFFFFF; 
	text-align: center;
}
/* links */
.f_link {
	margin-bottom: 3px;
}








/* footer of the site */
#footer {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	padding-top: 30px;
	width: 805px;
	height: 50px;
	background: #000080;
	border-left: 0px solid #FEF8E9;
	border-right: 0px solid #FEF8E9;
	border-bottom: 0px solid #FEF8E9;
	color: #D2B48C;
	text-align: center;
}
#footer a:link, #footer a:visited {
	color: #999966;
	text-decoration: underline;
	font-weight: bold;
}
#footer a:hover {
	text-decoration: none;
}
/* random files box */

#random_files {

    margin-bottom: 4px;

    padding: 2px;

	border: 1px solid #FFEBCD;

	background: #FFFFFF;

	text-align: center;

}

#random_files  .file {

	float: left;

	width: 78px;

	text-align: center;

}

#random_files  .file img {

	margin-left: auto;

	margin-right: auto;

	display: block;

	border: 0px;

}

/* onArcade 2.2 CSS */