/*------------------------------------------------------------------------
# kh Tileh 1.0 - خرداد 88
# ------------------------------------------------------------------------
# Copyright (C) 2007-2008 khalilan.com.
# @license - Copyrighted Commercial Software - قالب تجاري تيله 
# Author: khalilan.com, Ltd
# Websites:  http://www.khalilan.com 
-------------------------------------------------------------------------*/


/* COMMON STYLE/ سرفصل کلی قالب 
--------------------------------------------------------- */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
}

body {
	background: #FFFFFF;
	color: #000000;
	font-family: Tahoma;
	line-height: 1.5;
}

body#bd {
	background: url(../images/grad1.gif) repeat-x top #292929;
	color: #CCCCCC;
	padding: 0 0 40px;
}

body.contentpane {
	background: #FFFFFF;
	color: #000000;
	font-family: Tahoma;
	font-size: 8pt;
	line-height: 140%;
	margin: 1em 2em;
	width: auto; /* Printable Page */
}

body.fs1 {
	font-size: 9px;
}

body.fs2{
	font-size: 10px;
}

body.fs3{
	font-size: 11px;
}

body.fs4{
	font-size: 12px;
}

body.fs5{
	font-size: 13px;
}

body.fs6{
	font-size: 14px;
}

/* Normal link */
a {
	color: #e2c068;
	text-decoration: none;
}

a:hover, a:active, a:focus {
	color: #e2c068;
	text-decoration: underline;
}

/* Title text */
.contentheading, .componentheading, .blog_more strong, h1, h2, h3, .nftitle {
	color: #CCCCCC;
}

/* Small text */
small, .small, .smalldark, .mosimage_caption, .createdate, .modifydate {
	color: #666666;
	font-size: 100%;
}

/* Heading */
h1 {
	font-size: 100%;
}

h2 {
	font-size: 100%;
}

h3 {
	font-size: 100%;
}

h4 {
	font-size: 100%;
	text-transform: uppercase;
}

p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
	margin: 15px 0;
	padding: 0;
}

ul {
	list-style: none;
}

ul li {
	background: url(../images/bullet-list.gif) no-repeat 100% 8px;
	line-height: 180%;
	padding-right: 10px;
}

ol li {
	line-height: 180%;
	margin-left: 35px;
}

th {
	font-weight: bold;
	padding: 5px;
	text-align: right;
}

fieldset {
	border: none;
	background: url(../images/hdot.gif) repeat-x bottom left;
	padding-bottom: 20px;
}

fieldset a {
	font-weight: bold;
}

hr {
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #CCCCCC;
	height: 1px;
}

a img {
	border: none;
}

td, div {
	font-size: 100%;
}

address {
	font-style: normal;
}

/* FORM
--------------------------------------------------------- */
form {
	margin: 0;
	padding: 0;
	direction: rtl;
}

form label {
	cursor: pointer;
}

input, select, textarea, .inputbox {
	font-family: Tahoma;
	font-size: 100%;
	padding: 1px;
}

select, textarea, .inputbox {
	background: #FFFFFF;
	color: #666666;
}

.button {
	background: url(../images/but-bg.gif) repeat-x center #000000;
	border: 1px solid #000000;
	color: #CCCCCC;
	padding: 2px 8px;
}

* html .button, *+html .button {
	padding: 2px 5px !important;
}

.inputbox {
	background: #FFFFFF;
	border: 1px solid #999999;
	padding: 2px;
}

.inputbox:hover, .inputbox:focus {
	background: #FFFFFF;
	border: 1px solid #e2c068;
}

/* JOOMLA STYLE
--------------------------------------------------------- */
table.blog {
	direction: rtl;
}

.article_separator {
	background: url(../images/hdot.gif) repeat-x center;
	display: block;
	height: 30px;
}

#kh-col1 .article_seperator, #kh-col2 .article_seperator {
	display: none;
}

table.contentpane {
	border: none;
	width: 100%;
}

table.contentpaneopen {
	border: none;

}

table.contenttoc {
	margin: 0 0 10px 10px;
	padding: 0;
	width: 35%;
}

table.contenttoc a {
}

table.contenttoc td {
	background: url(../images/bullet-list.gif) no-repeat 100% 9px;
	padding: 3px 22px 3px 5px;
}

table.contenttoc th {
	background: #505050;
	border: 1px solid #292929;
	border-bottom-width: 5px;
	font-weight: bold;
	padding: 5px;
	text-transform: uppercase;
	text-indent: 5px;
}

table.poll {
	border-collapse: collapse;
	padding: 0;
	width: 100%;
}

table.pollstableborder {
	border: none;
	padding: 0;
	text-align: right;
	width: 100%;
}

table.pollstableborder .sectiontableheader {
	padding: 8px 5px !important;
}

table.pollstableborder img {
	vertical-align: baseline;
}

table.pollstableborder td {
	border-collapse: collapse;
	border-spacing: 0;
	padding: 2px!important;
}

table.pollstableborder tr.sectiontableentry1 td {
	background: #333333;
	border: none;
}

table.pollstableborder tr.sectiontableentry2 td {
	border: none;
}

table.searchintro {
	padding: 10px 0;
	width: 100%;
}

table.searchintro td {
	padding: 5px !important;
}

table.adminform {
	width: 500px !important; /*Control the Frontend Editor area width*/
}

.adminForm input.inputbox {
	width: 200px !important; 
}

.adminForm textarea.inputbox {
	width: 335px !important; 
}

.blog_more {
	margin: 10px 0 20px;
	background: #333333;
	padding: 10px;
}

.blog_more strong {
	display: block;
	font-size: 100%;
	margin: 0 0 8px;
}

.blog_more ul {
	margin: 0;
	padding: 0;
}

.blog_more ul li {
	background: url(../images/bullet-list.gif) no-repeat 100% 9px;
	margin: 0;
	padding: 0 13px 0 0;
}

td.buttonheading {
	padding: 0 0 0 3px!important;
	text-align: center;
	left: 0;
}

.category {
	font-weight: bold;
}

.clr {
	clear: both;
}

.componentheading {
	background: url(../images/dot.gif) repeat-x bottom;
	color: #CCCCCC;
	font-size: 100%;
	margin-bottom: 10px;
	padding: 0 0 5px 0;
}

.contentdescription {
	padding-bottom: 30px;
}

.contentheading {
	font-size: 100%;
	padding: 5px 0;
	font-weight: bold;
	color: #e2c068;
}

a.contentpagetitle:hover,
a.contentpagetitle:active,
a.contentpagetitle:focus {
	color: #FFFFFF;
	text-decoration: none;
}

a.readon {
	display: block;
	float: right;
	padding: 1px 5px;
	background: #333333;
	border: 2px solid #333333;
}

a.readon:hover, a.readon:active, a.readon:focus {
	background: #e2c068;
	border: 2px solid #333333;
	text-decoration: none;
	color: #FFFFFF;
}

table.contentpaneopen td, table.contentpane td {
}

table.contentpaneopen, table.contentpane, table.blog {
	width: 100%;
}

.createdate {
}

.modifydate {
	height: 15px;
}

.moduletable {
	padding: 0;
}

.mosimage {
	margin: 5px 15px 5px 0;
	padding: 0 0 5px;
}

* html .mosimage {
	margin: 5px 5px 10px 0;
	padding: 0 !important; /*IE 6*/
}

*+html .mosimage {
	margin: 5px 10px 10px 0;
	padding: 0 !important; /*IE 7*/
}

.mosimage img {
	margin: 0 !important;
	padding: 0 !important;
}

.mosimage_caption {
	margin-top: 3px;
	padding: 1px 2px;
}

.pagenav,
.pagenav_prev,
.pagenav_next,
.pagenavbar {
	padding: 0 2px;
}

a.pagenav,
.pagenav_prev a,
.pagenav_next a,
.pagenavbar a {
	border: 1px solid #505050;
	color: #CCCCCC;
	padding: 1px 6px;
	text-decoration: none;
}

a.pagenav:hover, a.pagenav:active,
.pagenav_prev a:hover, .pagenav_prev a:active,
.pagenav_next a:hover, .pagenav_next a:active,
.pagenavbar a:hover, .pagenavbar a:active {
	background: #e2c068;
	color: #FFFFFF;
	padding: 1px 6px;
	text-decoration: none;
}

.pagenavbar {
	background: url(../images/pages.gif) no-repeat center left;
	padding-right: 10px;
}

.pagenavcounter {
	background: url(../images/pages.gif) no-repeat 100% 11px;
	padding: 8px 14px 0 14px;
}

.sectiontableheader {
	background: #505050;
	border: 1px solid #292929;
	font-weight: bold;
	padding: 5px;
	text-transform: uppercase;
}

tr.sectiontableentry1 td {
	background: url(../images/hdot.gif) repeat-x bottom;
	padding: 7px 5px;
}

tr.sectiontableentry2 td {
	background: url(../images/hdot.gif) repeat-x bottom;
	padding: 7px 5px;
}

.smalldark {
	text-align: right;
}

div.syndicate div {
	text-align: center;
}

.pollstableborder tr.sectiontableentry1 td,
.pollstableborder tr.sectiontableentry2 td {
	background: none;
}

/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
#kh-wrapper {
	clear: both;
	margin: 0 auto;
	width: 950px;
	text-align: right;
	direction: rtl;
}

.narrow #kh-wrapper {
	width: 770px;
}

/* PRIMARY COLUMN
--------------------------------------------------------- */
#kh-content {
	float: left;
	width: 58%;
	text-align: right;
}

#kh-content div.kh-innerpad {
	clear: both;
	display: block;
	margin: 0;
	padding: 0 0 0 3px;
}

/* SECONDARY COLUMNS
--------------------------------------------------------- */
#kh-colwrap {
	float: right;
	overflow: hidden;
	width: 40%;
	text-align: right;
	border: 1px solid #4f4f4f;
}

#kh-col1 {
	float: left;
	overflow: hidden;
	width: 50%;
}

#kh-col1 div.kh-innerpad{
	padding: 15px;
}

#kh-col2 {
	float: right;
	overflow: hidden;
	width: 49.9%;
}

#kh-col2 div.kh-innerpad{
	padding: 15px;
}

#kh-col1 table, #kh-col2 table {
	border-collapse: collapse;
	border-spacing: 0;
}

#kh-col1 ul, #kh-col2 ul {
	margin: 0;
	padding: 0;
}

#kh-col1 ul li, #kh-col2 ul li {
	background: url(../images/bullet-list.gif) no-repeat 100% 8px;
	padding-right: 10px;
}

#kh-masscol .article_seperator {
	display: none;
}

/* COLLAPSIBLE LAYOUT
--------------------------------------------------------- */
#kh-containerwrap, #kh-containerwrap-c, #kh-containerwrap-f {
	padding: 0;
	text-align: right;
}

#kh-container {
	padding: 15px 0;
}

/* full */
#kh-containerwrap-f #kh-content {
	float: none;
	width: 100%;
	text-align: right;
}

/* content + col */
#kh-containerwrap-c #kh-content {
	width: 76%;
	text-align: right;
}

#kh-containerwrap-c #kh-colwrap {
	width: 22%;
	background: none;
}

#kh-containerwrap-c #kh-colwrap-top {
	background: none;
}

#kh-containerwrap-c #kh-colwrap-bot {
	background: none;
}

#kh-containerwrap-c #kh-col1,
#kh-containerwrap-c #kh-col2 {
	width: 100%;
}

/* HEADER
--------------------------------------------------------- */
#kh-headerwrap {
	position: relative;
	z-index: 10;
	text-align: right;
}

#kh-header {
	height: 90px;
	position: relative;
	z-index: 999;
}

h1.logo {
	font-size: 0;
	height: 80px;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 370px;
}

h1.logo a {
	background: url(../images/logo.gif) no-repeat;
	display: block;
	float: left;
	height: 80px;
	outline: none;
	text-indent: -5000px;
	text-transform: uppercase;
	width: 370px;
}

/* MAIN NAVIGATION
--------------------------------------------------------- */
#kh-mainnav {
	height: 35px;
	z-index: 10;
	background: url(../images/mainnav-bg.gif);
	width: 100%;
	position: relative;
}

#kh-mainnav a,
#kh-mainnav a:hover,
#kh-mainnav a:active,
#kh-mainnav a:focus {
	outline: none;
}

#kh-mainnav span.separator {
	display: block;
}

/* Default Joomla! Menu */
a.mainlevel {
	color: #CCCCCC;
	display: block;
	padding: 6px 0 2px;
	text-decoration: none;
	text-indent: 5px;
	width: 99%;
	background: url(../images/hdot.gif) repeat-x bottom left;
	text-align: right;
}

a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus {
	color: #e2c068 !important;
	text-decoration: none;
	background: url(../images/hdot.gif) repeat-x bottom left #333333;
}

a.mainlevel#active_menu {
	color: #FFFFFF;
	font-weight: bold;
	background: url(../images/mainlevel-active.gif) no-repeat bottom right;
}

a.sublevel {
	background: url(../images/bullet-list.gif) no-repeat 100% 12px;
	color: #CCCCCC;
	display: block;
	padding: 5px 15px 5px 4px;
	text-decoration: none;
}

a.sublevel:hover,
a.sublevel:active,
a.sublevel:focus {
	color: #e2c068;
	text-decoration: underline;
}

#active_menu {
	color: #e2c068;
	font-weight: bold;
}

/* khAjaxSearch */
#khAjaxSearch {
	position: absolute;
	top: 10px;
	right: 20px;
	text-align: right;
	background: url(../images/icon-search.gif) no-repeat 5px 5px;
}

/* Pathway*/
#kh-pathway {
	color: #999999;
}

#kh-pathway strong {
	margin-left: 5px;
}

#kh-pathway img {
	margin: 1px 5px;
}

/* MODULE
--------------------------------------------------------- */
div.moduletable h3 {
	color: #e2c068;
	font-size: 100%;
	line-height: normal;
	margin: 0 0 10px;
	padding: 0 0 5px;
	text-transform: uppercase;
	border-bottom: 1px solid #4f4f4f;
	text-align: right;
}

div.moduletable {
	padding: 10px 10px 15px;
	margin: 10px 0 10px 10px;
}

#kh-topsl-col1 div.moduletable h3 {
	margin: 0 -10px 8px;
	padding: 5px 10px;
	border: 1px solid #141414;
	background: #252525;
}

#kh-topsl-col1 div.moduletable {
	margin-top: 0;
	margin-bottom: 0;
}

#kh-containerwrap-c div.moduletable,
#kh-topsl-col2 div.moduletable {
	border: 1px solid #141414;
	background: #252525;
}

#kh-topsl-col2 div.moduletable {
	padding-bottom: 20px;
}

#kh-col1 div.moduletable {
	margin: 5px 0 10px 15px;
}

#kh-col2 div.moduletable {
	margin: 5px 5px 10px 0;
}

div.module h3 {
	font-size: 100%;
	margin: -16px 0px 2px;
	padding: 0;
	height: 33px;
	line-height: 33px;
	white-space: nowrap;
	text-transform: uppercase;
	text-align: right;
}

div.module {
	margin: 0 5px 15px;
	overflow: hidden;
	padding: 0;
}

div.module div {
	padding: 0;
}

div.module div div {
	padding: 15px 20px;
}

div.module div div div {
	padding: 0;
	border: none;
}

div.module div div div div {
	overflow: hidden;
}

/* SPOTLIGHT
--------------------------------------------------------- */
/* Spotlight Box Style */
.kh-box-left, .kh-box-center, .kh-box-right {
	float: left;
	overflow: hidden;
	text-align: right;
}

.kh-box-full {
	float: none;
	overflow: hidden;
	margin: 0;
}

.kh-box-left div.moduletable {
	margin: 0 5px 0 0;
}

.kh-box-right div.moduletable {
	margin: 0 0 0 5px;
}

.kh-box-center div.moduletable {
	margin: 0 5px;
}

/* Top Spotlight */
#kh-topsl {
	margin: 0 0;
	background: url(../images/dot.gif) repeat-x bottom left;
	padding-bottom: 2px;
	padding-left: 190px;
	text-align: right;
}

* html #kh-topsl{/*IE 6*/
	padding-left: 0; 
}

*+html #kh-topsl {/*IE 7*/
	padding-left: 0; 
}

#kh-topsl-main {
	width: 58%;
	float: left;
	margin-top: 0;
}

#kh-topsl-col2 {
	width: 42%;
	float: right;
}

* html #kh-topsl-col2 {/*IE 6*/
	width: 42%;
}

*+html  #kh-topsl-col2 {/*IE 7*/
	width: 34%;
}

#kh-topsl ul {
	margin: 0;
	padding: 0;
}

#kh-topsl li {
	margin: 0;
	padding-left: 22px;
}

#kh-topsl a.readon:hover, #kh-topsl a.readon:active, #kh-topsl a.readon:focus {
	color: #FFFFFF;
}

/* Bottom Spotlight */
#kh-botsl {
	clear: both;
	padding: 0;
	text-align: right;
	background: url(../images/dot.gif) repeat-x top;
}

/* Common Style for Spotlight */
#kh-botsl ul {
	margin: 0 0 0 2px;
	padding: 0;
	text-align: right;
}

#kh-botsl li {
	background: url(../images/bullet-list.gif) no-repeat 100% 8px;
	margin: 0;
	padding-right: 10px;
}

#kh-topsl td, #kh-botsl td {
	padding: 0;
}

#kh-topsl .article_seperator, #kh-botsl .article_seperator {
	display: none;
}

#kh-topsl table, #kh-botsl table {
	border-collapse: collapse;
	border-spacing: 0;
}

#kh-topsl a, #kh-topsl a:hover, #kh-topsl a:active, #kh-topsl a:focus,
#kh-botsl a, #kh-botsl a:hover, #kh-botsl a:active, #kh-botsl a:focus {
	color: #CCCCCC;
}

/* FOOTER
--------------------------------------------------------- */
#kh-footerwrap {
	clear: both;
	margin-top: 10px;
	text-align: right;
}

#kh-footer {
	background: url(../images/dot.gif) repeat-x top;
	clear: both;
	padding: 10px 0 0;
	position: relative;
}

#kh-footer small {
	color: #999999;
	display: block;
	float: right;
	font-style: normal;
	line-height: normal;
	padding: 4px 0 0 10px;
}

#kh-footer a {
	text-decoration: none;
}

#kh-footer a:hover, #kh-footer a:active, #kh-footer a:focus {
	text-decoration: underline;
}

/* MISCELLANOUS
----------------------------------------------------------- */
ul.accessibility {
	position: absolute;
	top: -100%;
	text-align: right;
}

div.kh-innerdiv {
	background: url(../images/hdot.gif) repeat-x bottom left;
	margin: 0 -2px;
	overflow: hidden;
	padding: 8px 3px;
}

div.kh-innerdiv:hover {
	background: url(../images/hdot.gif) repeat-x bottom left #333333;
}

#kh-banner {
	clear: both;
	display: block;
	margin: 10px 0 0;
	text-align: center;
}

div.back_button a,
div.back_button a:hover,
div.back_button a:active {
}

/* kh news */
#kh-news {
	position: relative;
	bottom: -45px;
	right: 0;
	text-align: right;
}

/* Clearfix */
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	text-align: right;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}

/* Firefox Scrollbar Hack - Do not remove */
html {
	height: 100% !important;
	height: auto;
	margin-bottom: 1px;
}


