* {margin:0; padding:0;}
html { direction:rtl; }
body { background:#fff5f7; margin: 0; padding: 0; font: normal 12px tahoma; }
br { clear:both; }
textarea{border:1px #D02A9C solid; background:#F7F7F7;font:normal 12px Tahoma;width:550px;}
input , button, option, select{border:1px #D02A9C solid;background:#F7F7F7;font:normal 12px Tahoma;padding:2px;margin:2px;}
a { font: bold 10px Tahoma; text-decoration: none; color: #f5509a; }
a:hover { text-decoration: underline; }
img  { border: 0; }
h1, h2, h3, h4, h5, h6 {margin:0;}

/* header */
#warp { width: 1000px; margin: 0 auto; }

#main_top { width: 970px; height: 100px; margin: 0 auto; background: #fff5f7; -moz-border-radius: 10px; -webkit-border-radius: 10px; }

#logo{ width: 210px; text-align: center; padding: 5px; float: right; }


#top_ads { 
    padding: 15px 0 10px; text-align: center; }
#ads_block { 
    padding: 15px 0 10px; text-align: center; }
#ads_block_vertical { 
    padding: 15px 0 10px; text-align: center; }

#login_bar { width: 970px; margin: 0 auto; padding: 0; background: #fff; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
#login_bar a { font: bold 11px Tahoma; text-decoration: none; color: #000; }
#login_bar a:hover { text-decoration: underline; }
#login_bar_right { width: 400px; float: right; margin: 5px; padding: 5px; }
#login_bar_left { width: 500px; float: left; text-align: left; margin: 5px; padding: 5px; }

/* content */

#content_block { width: 990px; margin: 0 auto; padding: 0; background: #fff5f7; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
.content { width: 700px; margin: 5px auto; padding: 5px; }

/* breadcamb */
#breadcrumb { width: 960px; background:url(images/d_06.png)  ; margin: 0 auto;
color:#fff;
height:46px;
text-align:right;
line-height:46px; padding-right:20px; }
#breadcrumb a { font: bold 13px Tahoma; text-decoration: none; color: #cd3381; }
#breadcrumb a:hover { text-decoration: underline; }
#breadcrumb h2 { padding: 0; margin: 0; font: bold 11px Tahoma; }

/* pagination */
.pagination {
	overflow:hidden;
	padding: 5px; margin: 0 auto; width: 700px; text-align: center; background:#fff2f5; border: 4px #fff2f5 solid; }
.pagination a { padding: 2px 6px; color: #000; margin: 2px; border: 1px solid #F5509A; text-decoration: none; display: inline-block; }
.pagination a:hover { color: #fff; background: #F5509A; }
.pagination b { padding: 2px 6px; margin: 2px auto; color: #fff; font-weight: bold; text-align: center; background:#F5509A; border: 1px #F5509A solid; display: inline-block; }

/* index */
#new_games { text-align: center; color: #f5509a; }
#new_games p {font: bold 0px Tahoma; margin: 0 auto; color: }
#new_games img { padding: 5px; margin: 5px 30px; background: #fff; }


#games_blockhome { width: 960px; margin: 0 auto;text-align:center; }
.games_blockhome { width: 110px; background: url('images/icons.jpg') no-repeat center center; display:inline-block; text-align: center; padding: 2px; margin: 5px; }
.games_blockhome p {  padding: 15px;  margin: 0 auto; }
.games_blockhome p a { color: #fff; text-decoration: none; font: bold 12px Tahoma; padding: 2px; margin: 2px; }
.games_blockhome p a:hover { text-decoration: underline; }
.games_blockhome img { width: 79px; height: 78px;  }
.games_blockhome img h3 { padding: 0; margin: 0; }
.gameTitle {text-align: center; padding: 7px 2px; }




.categoryGame {
	width: 960px;
	height: auto;
	overflow: hidden;
	margin: 0px auto;
	display: block;
	padding: 0;
}
/* category */
.categoryGame ul li {
	float: right;
	display: block;
	width: 125px;
	margin: 5px;
}
.categoryGame ul li .gameThumbnail {
	background: url(images/icons.jpg) no-repeat;
	width: 79px;
	height: 78px;
	overflow: hidden;
	padding: 5px 4px 0 0 !important;
	margin: 0px auto;
}
.categoryGame ul li .gameThumbnail img {
	width: 75px !important;
	height: 75px !important;
	overflow: hidden;
	display: block !important;
}
.categoryGame ul li .gameTitle {
	text-align: center;
	padding: 7px 2px;
}
.categoryGame ul li .gameTitle, .categoryGame ul li .gameTitle a { color: #F5509A; }
.categoryGame ul li .gameTitle:hover, .categoryGame ul li .gameTitle a:hover { color: #f5509a; }
/* categoryGame */

/* browse */
#subcategories { width: 930px; margin: 0 auto; }
#subcategories ul { width: 930px; margin: 0 auto; padding: 5px; }
#subcategories li {
	background:url(images/breadBG.gif) no-repeat left;
	display:inline;
	float:right;
	height:46px;
	line-height:46px;
	list-style:none;
	margin:5px;
	text-align:center;
	width:170px;
}
#subcategories a { 
	background:url(images/breadBG.gif) no-repeat right;
	color:#580028;
	display:block;
	font-family:Tahoma;
	font-size:11px;
	font-style:normal;
	font-variant:normal;
	font-weight:bold;
	height:46px;
	line-height:46px;
	text-decoration:none;
	width:160px;
}
#subcategories a:hover { text-decoration: underline; }

.games_browse { height: 140px; float: right; text-align: center; }
.games_browse img { padding: 5px; margin: 5px 31px; background: #fff; }
.games_browse a { color: #F5509A; font: bold 10px Tahoma; text-decoration: none; }

/* files */
#games_view { width: 655px; padding: 0px; margin: 10px auto;  text-align: center; }
#games_w { width: 720px; margin: 0 auto; }
#games_info {
	text-align:right;
	width: 350px;
	float: right;
	direction:rtl;
}
#games_ads { width: 350px; float: left; text-align: left; }
#comments { width: 800px; margin: 0 auto; }

.comment_tbl { width: 770px; padding: 5px; margin: 5px; }

#relatedfiles {
	padding-top:15px;
	clear:both;
	text-align: center; margin: 0 auto; }
#relatedfiles p {
	font-size:0px;
}
#relatedfiles img { padding: 5px; margin: 5px 30px; background: #fff; }

/* pages */
#boxestext { width: 600px; margin: 0 auto; padding: 10px; }

/* footer */
#bottom { width: 970px; margin: 0 auto; padding: 0;  -moz-border-radius: 10px; -webkit-border-radius: 10px; }
.bottom_block { width: 280px; padding: 5px 10px; margin: 5px 10px; float: right; }
.bottom_block li{ border-bottom:1px dashed #ddd; margin-bottom:5px; padding-bottom:10px; list-style: none; }


#header {
	margin-left: auto;
	margin-right: auto;
        margin-top:0px;
        padding-top:0px;
	
        
}
#Header {
    background: url("images/d_02.png") repeat-x scroll 0% 0% transparent;
    height: 70px;
}
#HeaderImg {
    background: url("images/h.png") no-repeat scroll center center transparent;
    height: 70px;
      width: 994px;
    margin: auto;
}
#Nav {
    background: url("images/d_06.png") repeat-x scroll 0% 0% transparent;
    height: 60px;
}
#NavBar {
    background: url("images/t.png") repeat-x scroll 0% 0% transparent;
    height: 58px;
    position: relative;

    width: 994px;
    margin: auto;

}
#NavBar input{
   border:none;
   background:none;

}
#HomeBu {
    
    
    height: 58px;
}
a.homebu1 {
    position: absolute;
    width: 30px;
    height: 49px;
    display: block;
    right: 59px;
    top: 9px;
   
    
}
.ddas1{
    margin-right:250px;
 background:#F5A0C4;
 height:47px;
     width:500px;
     color:#C40076;
     padding-right:10px;
     
     
     
    
}
.ddas1 a{
 color:#C40076;
     
    
}
.ddas2{
    padding-top:10px;
    float:right;
 
    
}
.ddas3{
   padding-top:10px;
   float:right;
   MARGIN-RIGHT:60PX;
    
 
    
}
.nameinput {
    position: absolute;
    left: 573px;
    width: 97px;
    height: 36px;
    top: 3px;
    outline: 0px none;
    background-color: transparent;
    border: 0px none;
    text-align: right;
}
.passinput {
    position: absolute;
    left: 435px;
    width: 97px;
    height: 36px;
    top: 3px;
    outline: 0px none;
    background-color: transparent;
    border: 0px none;
    text-align: right;
}
.buttonlog {
    position: absolute;
    width: 57px;
    height: 37px;
    left: 369px;
    top: 3px;
}
a.regLink {
    position: absolute;
    width: 56px;
    height: 17px;
    display: block;
    left: 290px;
    top: 7px;
}
a.forgetLink {
    position: absolute;
    width: 111px;
    height: 17px;
    display: block;
    left: 237px;
    top: 29px;
}
#Searchinput {

    
    height: 58px;
    text-align: right;
    direction: rtl;
}


#Searchinput {
    text-align: right;
    direction: rtl;
}
.searchinput {
    position: absolute;
    width: 115px;
    height: 32px;
    left: 75px;
    top: 5px;
    outline: 0px none;
    background-color: transparent;
    border: 0px none;
    text-align: right;
    direction: rtl;
}
.logingfont {
    font-family: Tahoma,Geneva,sans-serif;
    color: #C4002F;
    font-size: 12px;
}
.buttonsearch {
    position: absolute;
    width: 57px;
    height: 35px;
    left: 16px;
    top: 9px;
}
#Navlogin {
   
    
    height: 58px;
}

#footer {
    
	margin-left: auto;
	margin-right: auto;
	padding-top: 12px;
	//width: 790px;
	height: 30px;
	   background: url("images/d_06.png") repeat-x scroll top left transparent;
   
           
	//border-left: 1px solid #336699;
	//border-right: 1px solid #336699;
	//border-bottom: 1px solid #336699;
	color: #FFFFFF;
	text-align: center;
}
#footer a:link, #footer a:visited {
	color: #FFFFFF;
	text-decoration: underline;
	font-weight: bold;
}
#footer a:hover {
	text-decoration: none;
}