@charset "utf-8";
@font-face {  
font-family: 'IRANsans(FaNum)';
src:url("fonts/IRANSans(FaNum).ttf") format("truetype"),
    url('fonts/IRANSans(FaNum).woff') format('woff'),
	url('fonts/IRANSans(FaNum).woff2') format('woff2'),
	url('fonts/IRANSans(FaNum).eot') format('eot');     
}
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
	font-family:'IRANsans(FaNum)', tahoma;
	font-size: 13.6px;
	background-image: url(Images/main-bg.jpg);
	background-repeat: repeat;
	direction: rtl;
}
body a {
text-decoration:none;
}
#main {
	max-width:1070px;
	width: 95%;
	margin:auto;
	margin-top:37px;
	margin-bottom:35px;
	background-color:white;
}
#lang {padding: 1px;
padding-right: 6px;
padding-left: 6px;
color: #ffffff;
background-color: rgb(56,85,85);
border-radius: 3px;
margin-left:5px;
}
#lang:hover{
background-color: blue;
}
#logo {
	padding:2.8%;
	padding-right:3%;
	width:90%;
	max-width:520px;
}
#title {
	padding-top:49px;
	padding-right:6.5%;
	padding-bottom:28px;
	font-weight:bold;
	font-size:125%;
}
#slider {
	position:relative;
}
.botton {
position:absolute;bottom:0px;z-index:20;opacity: 0.5;
width:48px;
}
.botton:hover {
opacity: 0.8;cursor:pointer;	
}
#content {
	width: 94%;
	padding-top: 21px;
	padding-bottom:23px;
	margin-right: 2.5%;
	line-height:2.2;
	 text-align: justify;
border-top: 1px solid rgb(190,190,190);
border-bottom: 1px solid rgb(190,190,190);
overflow: auto;
}
h1,h2,h3,h4 {
	font-size:100%;
	font-weight:normal;
	margin:0px;
	display: inline;
}
nav ul ul {
	display: none;
}
 
nav ul li:hover > ul {
	display: block;
}
nav ul { z-index:20;
	padding:0px;background: #383838;
	list-style: none;
	position: relative;
	margin:0px;
}
nav ul:after {
	content: "";
	clear: both;
	display: block;
}
nav ul li {
	float: right;	padding: 11px 1.8%;
	position: relative;
	font-weight: bold;
	border-left: 1px solid black;
}
nav ul li:hover {
	background: #f15a23;
}
nav ul li:hover a {
	color: #fff;
}
nav ul li a {
	display: block;

	color: white;
	text-decoration: none;;
}
nav ul ul {
	padding: 0;
	position: absolute;
	top: 100%;
	right: 0;
	width: 220px;
}
nav ul ul li {
	float: none;
	border-top: 1px solid black;
	position: relative;
	padding: 7px 12px;
}
nav ul ul li a {
font-size: 90%
}	
nav ul ul li a:hover {
	background: #f15a23;
}
#footer {
	margin-top:37px;
	background: #383838;
	color:white;
	padding:9px;
	font-size:85%;
	text-align:center;
}
@media screen and (min-width: 601px) and (max-width: 980px) {
body {
font-size:13px;
}
#main {
	width: 99%;
}
}
@media screen and (max-width: 600px) {
body {
font-size:12px;
}
#main {
	width: 100%;
}
}