@charset "UTF-8";
/* CSS Document */

@charset "UTF-8";
/* CSS Document */
*{margin:0px; padding:0px;}
@font-face
{
	font-family:Bfont;
	src:url(fonts/BNazanin.eot),
	url(fonts/BNazanin.woff),
	url(fonts/BNazanin.ttf);	
}
@font-face
{
	font-family:Yfont;
	src:url(fonts/BYekan.eot),
	url(fonts/BYekan.woff),
	url(fonts/BYekan.ttf);	
}

body 
{
	background:linear-gradient(#360,#390,white);
	background: -webkit-linear-gradient(#360,#390,white);
	background: -o-linear-gradient(#360,#390,white);
	background:-moz-linear-gradient(#360,#390,white);
	background:-ms-linear-gradient(#360,#390,white);
	
	background-attachment:fixed;
	-ms-background-attachment:fixed;	
	
	
}
	

 body #main
 {
	width:960px;
	height:900px;	
	background-color:white;
	margin:0 auto;
	position:relative;
	border-radius:20px 20px 0px 0px;

 }
 header
 {
	width:100%;
	height:70px;
	background-color:rgb(234,244,234);
	position:absolute;
	top:0px;
	text-align:center;
	padding-top:40px;
	font-size:30px;
	font-family:Yfont;
	border-radius:20px 20px 0px 0px;
	
	
 }
 
 header #logo
{
	width:80px;
	height:80px;
	margin-right:-700px;
	margin-top:-30px;
	

}
header .language
{
	width:30px;
	height:30px;
	float:left;
	margin-left:10px;
	
	line-height:30px;
	

}
header div
 {
	position:absolute;
	top:40px;
	left:320px;	 
 }
 
 nav
{
	width: 100%;
	height: 50px;
	background-color: rgb(214,234,214);
	font-family: Yfont;
	position: absolute;
	top: 110px;
	z-index: 1;
	
}
nav ul li 
{
	
	width:120px;
	padding:13px 0px;
	list-style-type:none;
	background-color:rgb(164,209,164);
	float:right;
	text-align:center;
	margin-left:20px;
	margin-top:3px;
	border-radius:10px;
	box-shadow:-3px 3px 5px gray;
}

nav #firstli {margin-right:40px;}

 .subMenu:hover
{
	padding-bottom:0px;
	
}



nav ul li ul 
{

	display:none;
	margin-top:20px;
	

}



nav a
{
	
	color:black;
	text-decoration:none;
	
		
}

nav ul li:hover ul
{
	display:block;
	 	
}


#edit
{
position:absolute;
top:160px;
width:100%;
height:auto;

z-index:0;

}

#edit #slider
	{
				width:700px;
				height:438px;
				margin:130px auto;
				overflow:hidden;
				position:relative;
		
	}
	#slider img
	{
		position:absolute;	
		
	}
	#edit #slider2
	{
				width:300px;
				height:424px;
				margin:60px auto;
				overflow:hidden;
				position:relative;
		
	}
	#slider2 img
	{
		position:absolute;	
		
	}

#edit p
{
	margin-right:55px;
	margin-left:100px;
	margin-top:100px;
	text-align:justify;
	font-family:Bfont;
	direction:rtl;	
	direction:rtl;
	line-height:1.5;
	font-size:18px;
	z-index:-1;
	
	
	
}
p a
{
	color:green;
	text-decoration:none;
}



footer
{
	width:100%;
	height:30px;
	line-height:30px;
	background-color:lightgray;
	position:absolute;
	bottom:0px;
	padding:10px 0px;
	text-align:center;
	border-radius:0px 0px 20px 20px;
	font-family:Yfont;
	
	
	
}
