@font-face {
	font-family: 'IranSansZ';
	src: url('fonts/iransansz-webfont.eot?#') format('eot'),
	url('fonts/iransansz-webfont.woff') format('woff'),
	url('fonts/iransansz-webfont.ttf') format('truetype');
}

::-moz-selection {
	background-color: #057400;
	color: #fff;
}

::selection {
	background-color: #057400;
	color: #fff;
}

body {
	background: url( 'images/bg-tile.png' ) top center repeat scroll #057;
	font: 15px/2em IranSansZ, Tahoma;
	direction: rtl;
	margin: 0px;
	position: relative;
	color: #333;
}

a {
	text-decoration: none;
}

a img {
	vertical-align: middle;
}

a.out {
	background-image: url( "images/page-link.png" );
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 20px;
}

p {
	margin: 0.5em 0;
}

p.center {
	text-align: center;
}

h2 {
	font-size: 1.2em;
	line-height: 2.4em;
	border-bottom: 2px solid #aaa;
}

h2, h3, h4 {
	color: #9f003a;
	margin: 0.5em 0;
	padding: 0;
}

hr {
	border: 1px solid #aaa;
	margin: 10px 0;
}

img {
	border-width: 0;
}

img.center {
	display: block;
	margin: 0 auto;
}

img.float-right {
	float: right;
	clear: right;
	margin-left: 10px;
}

input, textarea, button {
	font: inherit;
	font-size: 90%;
	border-radius: 2px;
}

input[type=text], input[type=submit], button {
	height: 2em;
}

.ltr {
	direction: ltr;
}

/* ------------------------------------- */

div.info,
div.alert {
	text-align: center;
	padding: 5px;
	margin: 2px 0;
}

div.info {
	color: #030;
	background-color: #cfc;
	border: 1px solid #090;
}

div.alert {
	color: #300;
	background-color: #fcc;
	border: 1px solid #900;
}

/* ------------------------------------- */

div.topline {
	height: 6px;
	background-color: #001e2e;
	min-width: 1000px;
}

@media print {
	div.topline {
		display: none;
	}
}

div.shadow-bg {
	background: url( 'images/bg.png' ) top center no-repeat;
	height: 377px;
	margin: 0 auto -377px;
	min-width: 1000px;
}

h1.header {
	padding: 0;
	background: url( 'images/header.png' ) top right no-repeat;
	height: 93px;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
	width: 1000px;
	margin: 0 auto;
}

@media print {
	h1.header {
		display: none;
	}
}

ul#top-links {
	width: 1000px;
	margin: -80px auto 80px auto;
	padding: 0;
	list-style-type: none;
}

@media print {
	ul#top-links {
		display: none;
	}
}

ul#top-links li {
	float: left;
	margin-left: 3px;
}

ul#top-links a {
	display: block;
	width: 32px;
	height: 32px;
	background: url( "images/social.png" ) top center no-repeat transparent;
	border-radius: 8px;
	text-indent: 0;
	font-size: 0;
}

ul#top-links a#social-email { background-position: 0 0; }
ul#top-links a#social-gplus { background-position: 0 -32px; }
ul#top-links a#social-weblog { background-position: 0 -64px; }

ul#top-links a:hover {
	background-color: #a88;
}

div.main {
	background: url( 'images/footer-bg.png' ) bottom right repeat-x #fff;
	width: 998px;
	border: 1px solid #14303f;
	border-top-width: 0;
	margin: 0 auto 20px;
	position: relative;
	overflow: hidden;
}

@media print {
	div.main {
		border: none;
		width: auto;
		margin: 0;
	}
}

div#menu {
	background: left top url( 'images/menubg.png' ) no-repeat;
	height: 332px;
	width: 227px;
}

@media print {
	div#menu {
		display: none;
	}
}

div#menu.menu_absolute {
	top: 0;
	position: absolute;
	left: 0;
}

div#menu.menu_fixed {
	top: 0;
	position: fixed;
}

div#menu.menu_absolute .hide-if-top {
	display: none;
}

div#menu.menu_fixed .hide-if-top {
	display: block;
}

div#menu ul.icon li {
	margin-left: 96px;
}

div#menu ul.icon li a {
	width: auto;
	border-radius: 2px;
	line-height: 0;
	padding: 2px;
}

div#menu ul {
	overflow: hidden;
	margin: 5px 0 10px 1px;
	padding: 0;
	list-style-type: none;
	float: left;
	clear: both;
}

div#menu li {
	float: left;
	clear: both;
	margin-bottom: 2px;
}

div#menu li a {
	border-radius: 5px 0 0 5px;
    color: #000000;
    display: block;
    line-height: 2;
    text-align: center;
    width: 224px;
	text-shadow: 0 0 5px #fff;
	-moz-transition: color 0.2s ease-out;
	-webkit-transition: color 0.2s ease-out; 
	-o-transition: color 0.2s ease-out; 
	transition: color 0.2s ease-out;
}

div#menu li a:hover {
	color: #600;
	text-shadow: 0 0 5px #f88;
}

div#menu li a.sel {
	background-color: #000;
	color: #fff;
}

div#main-content {
	margin-bottom: 40px;
	padding: 5px 30px 20px 255px;
	text-align: justify;
	min-height: 399px;
	border-top: 2px solid #001E2E;
}

@media print {
	div#main-content {
		border: none;
		padding: 0;
	}
}

div.footer {
	position: absolute;
	bottom: 0;
	width: 998px;
	font-size: 13px;
	color: #202;
	text-align: center;
	z-index: 2;
	padding: 5px;
}

@media print {
	div.footer {
		display: none;
	}
}