/*------------------------------------------------------------------------
 * گروه طراحی خلیلان رسانه - دی 88
# ------------------------------------------------------------------------
# گروه طراحی خلیلان رسانه - www.khalilan.com
-------------------------------------------------------------------------*/


/* COMMON STYLE  سرفصل عمومی قالب
--------------------------------------------------------- */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
}

body {
	background: #f0eeee;
	color: #000000;
	font-family: tahoma;
	line-height: 1.6;
}

body#bd {
	color: #505050;
	background: url(../images/body-bg.jpg) no-repeat center top #04152f;
	margin: 0 0 5px;
}

body.contentpane {
	color: #000000;
	font-size: 11px;
	line-height: 1.3em;
	margin: 0;
	margin: 1em 2em;
	width: auto; /* Printable Page صفحه چاپ */ 
}

body.fs1 {font-size: 10px;}
body.fs2 {font-size: 11px;}
body.fs3 {font-size: 11px;}
body.fs4 {font-size: 11px;}
body.fs5 {font-size: 11px;}
body.fs6 {font-size: 11px;}

/* Normal link */
a {
	color: #0FA9CC;
	text-decoration: none;
}

a:hover, a:active, a:focus {
	color: #0FA9CC;
	text-decoration: underline;
}

a img {
	border: none;
}

/* Title text عنوان نوشته ها*/
.contentheading, .componentheading, .blog_more strong, h1, h2, h3, h4, .nftitle {
	line-height: normal;
	font-weight: bold;
	direction: rtl;
}	

/* Small text نوشته های کوچک*/
small, .small, .smalldark, .createby, .createdate, .modifydate, .img_caption,
p.site-slogan, a.readon, #kh-pathway {
	font-size: 100%;
	direction: rtl;
}

small, .small, .img_caption {
	color: #999999;
}

img {
	margin: 0;
	padding: 0;
}

img.caption {
	margin-top: 15px;
}

/* 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: 10px 0;
	padding: 0;
}

ul {
	list-style: none;
}

ul li {
	background: url(../images/bullet.png) no-repeat 100% 7px;
	line-height: 160%;
	padding-right: 10px;
}

ol li {
	line-height: 180%;
	margin-left: 35px;
}

th {
	font-weight: bold;
	padding: 5px;
	text-align: right;
}

fieldset {
	border: none;
	padding: 10px 5px;
}

fieldset a {
	font-weight: bold;
}

fieldset.input {
	padding: 0;
}

hr {
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #CCCCCC;
	height: 1px;
}

td, div {
	font-size: 100%;
}

/* FORM شکل اصلی قالب
--------------------------------------------------------- */
form {
	margin: 0;
	padding: 0;
	direction: rtl;
	text-align: right;
}

form label {
	cursor: pointer;
}

input, select, textarea, .inputbox, .button {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 100%;
}

.inputbox {
	border: 1px solid #CCCCCC;
	padding: 2px;
	background: #FFFFFF;
	color: #505050;
}

.button {
	padding: 1px 8px;
	border: 1px solid #CCCCCC;
	background: url(../images/but-bg.gif) repeat-x center #DDDDDD;
	font-weight: bold;
	color: #505050;
}

* html .button { /*IE 6*/
	padding: 0 5px !important;
}

*+html .button { /*IE 7*/
	padding: 0 5px !important;
}

/* JOOMLA STYLE شیوه قالب در جوملا
--------------------------------------------------------- */
.article_separator {
	clear: both;
	display: block;
	height: 30px;
	background: url(../images/hdot.gif) repeat-x center;
	direction: rtl;
	text-align: right;
}

.column_separator {
	padding: 0 25px;
}

/* content tables */
.sectiontableheader {
	background: url(../images/grad1.gif);
	border-right: 1px solid #E6E6E6;
	padding: 4px;
	color: #333333;
	font-weight: bold;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
	padding: 4px;
	background: url(../images/hdot.gif) repeat-x bottom;
}

table.contentpane {
	border: none;
	width: 100%;
}

table.contentpaneopen {
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
}

table.contenttoc {
	margin: 0 0 10px 10px;
	padding: 0;
	width: 35%;
	font-size: 100%;
}

table.contenttoc a {
	text-decoration: none;
}

table.contenttoc td {
	background: url(../images/bullet.png) no-repeat 100% 7px;
	padding: 1px 10px 1px 5px;
}

table.contenttoc th {
	border-bottom: 1px solid #E6E6E6;
	padding: 0 0 3px;
	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 img {
	vertical-align: baseline;
}

table.pollstableborder td {
	border-collapse: collapse;
	border-spacing: 0;
	padding: 4px !important;
	background: none;
}

table.pollstableborder tr.sectiontableentry1 td {
	background: #E6E6E6;
}

table.searchintro {
	padding: 10px 0;
	width: 100%;
}

table.searchintro td {
	padding: 5px!important;
}

.blog_more strong {
	display: block;
	font-size: 100%;
	margin: 0 0 5px;
}

.blog_more ul {
	margin: 0;
	padding: 0;
}

.blog_more ul li {
	background: url(../images/icon-pages.png) no-repeat 100% 5px;
	margin: 0;
	padding: 0 17px 0 0;
}

.category {
	font-weight: bold;
}

h1.componentheading, .componentheading {
	margin: 0 0 10px;
	padding: 0 0 5px;
}

.componentheading {
	font-size: 100%;
	color: #333333;
	background: url(../images/hdot.gif) repeat-x bottom;
}

.contentdescription {
	BANNER: 30px;
}

h2.contentheading, .contentheading {
	margin: 0;
	padding: 0;
	font-size: 100%;
	color: #333333;
}

table.blog .contentheading {
	font-size: 100%;
	color: #0FA9CC;
}

a.contentpagetitle,
a.contentpagetitle:hover,
a.contentpagetitle:active,
a.contentpagetitle:focus {
}

a.readon {
	display: block;
	float: right;
	clear: both;
	text-decoration: none;
	background: #375b94;
	height: 21px;
	line-height: 20px;
	width: 88px;
	text-indent: 8px;
	color: #f2f1e7;
	direction: rtl;
}

a.readon:hover, a.readon:focus, a.readon:active {
    background: #fa9d11;
	color: #707070;
}

table.contentpaneopen td, table.contentpane td {
}

table.contentpaneopen, table.contentpane, table.blog {
	width: 100%;
}

.moduletable {
	padding: 0;
}

ul.pagination {
	margin: 15px auto 0;
	padding: 0;
}

ul.pagination li {
	background: none;
	display: inline;
	margin: 0;
	padding: 0;
}

ul.pagination li span{
	padding: 2px 5px;
}

ul.pagination a {
	padding: 2px 3px;
	text-decoration: none;
}

ul.pagination a:hover, ul.pagination a:active, ul.pagination a:focus {
}

.pagenavbar {
	background: url(../images/icon-pages.png) no-repeat center right;
	font-weight: bold;
	padding-right: 14px;
}

.pagenavcounter {
	background: url(../images/icon-pages.png) no-repeat 100% 11px;
	font-weight: bold;
	padding: 8px 14px 0 14px;
}

.smalldark {
	text-align: right;
}

div.syndicate div {
	text-align: center;
}

.pollstableborder tr.sectiontableentry1 td,
.pollstableborder tr.sectiontableentry2 td {
	background: none;
}

/* META
--------------------------------------------------------- */
.createdate {
	color: #999999;
	text-align: right;
}

.modifydate {
	float: right;
	width: 100%;
	color: #999999;
	margin-bottom: 10px;
	display: block;
	direction: rtl;
}

.buttonheading {
}

.buttonheading img {
	border: 0;
	float: left;
	margin: 7px 5px 0 0;
}

/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
#kh-wrapper {
	width: 950px;
	margin: 0 auto;
	clear: both;
}

.wrap {
	clear: both;
	width: 100%;
	text-align: right;
}

.main {
	margin: 0 auto;
	width: 950px;
}

/* PRIMARY COLUMN
--------------------------------------------------------- */
#kh-content {
	float: left;
	width: 71%;
	direction: rtl;
	
}

.leftlayout #kh-content {
	float: right;
}

.leftlayout #kh-colwrap {
	float: left;
}

#kh-current-content {
	padding: 10px 10px;
	border-right: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-bottom: 3px solid #fffefd;
	background: #FFFFFF;
}

/* COLUMNS
--------------------------------------------------------- */
#kh-colwrap {
	float: right;
	overflow: hidden;
	width: 28%;
	text-align: right;
	border-right: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-bottom: 3px solid #fffefd;
}

.left #kh-colwrap {
	float: left;
}

#kh-col {
	direction: rtl;
	background: url(../images/grad2.gif) repeat-x bottom #FFFFFF;
	padding: 10px;
}


/*common style for column*/
#kh-col table {
	border-collapse: collapse;
	border-spacing: 0;
}

#kh-col .article_separator {
	display: none;
}

#kh-col ul {
	list-style: none;
}

/* COLLAPSIBLE LAYOUT
--------------------------------------------------------- */
#kh-containerwrap,
#kh-containerwrap-f {
	padding: 0;
	margin: 0 0 10px;
	clear: both;
	text-align: right;
}

/* full */
#kh-containerwrap-f #kh-container  {
	background: none;
}

#kh-containerwrap-f #kh-container-inner {
	background: none;
}

#kh-containerwrap-f #kh-content {
	width: 100%;
}

/* MODULE
--------------------------------------------------------- */
div.moduletable h3,
div.moduletable_menu h3,
div.moduletable_text h3,
div.moduletable_hilite h3 {
	display: block;
	background: url(../images/menu-bg.png) repeat-x left;
	font-weight: bold;
	text-decoration: none;
	color: #f2f1e7;
	padding-right: 5px;
	height: 32px;
	line-height: 32px;
	font-size: 100%;
	margin: 0 -10px;
	text-align: right;
}

div.moduletable_hilite h3 {
	background: url(../images/menu-bg.png) repeat-x left;
	color: #FFFFFF;
}

div.moduletable h3 span,
div.moduletable_menu h3 span,
div.moduletable_text h3 span,
div.moduletable_hilite h3 span {
	padding: 0 10px 0 5px;
	margin: 0;
	height: 32px;
	line-height: 32px;
	display: block;
	background: url(../images/menu-bg.png) repeat-x right;
}

div.moduletable_hilite h3 span {
	background: url(../images/menu-bg.png) repeat-x right;
}

div.moduletable,
div.moduletable_menu,
div.moduletable_text,
div.moduletable_hilite {
	margin: 0 0 20px;
	padding: 0 10px;
}

div.moduletable_video {
	margin: 0 0 10px;
	padding: 0;
}

div.moduletable_video h3 {
	display: none;
}

/* mis */
div.banneritem_text {
	padding: 5px 0 !important;
}

div.advs {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

div.moduletable ul,
div.moduletable_text ul,
div.moduletable_menu ul,
div.moduletable_hilite ul {
	margin: 0;
	padding: 0;
}

div.moduletable li,
div.moduletable_text li,
div.moduletable_menu li,
div.moduletable_hilite li {
	background: url(../images/bullet.png) no-repeat 100% 8px;
	margin: 0;
	padding-right: 10px;
}

/* HEADER
--------------------------------------------------------- */
#kh-headerwrap {
	position: relative;
	z-index: 100;
}

#kh-header {
	height: 161px;
	line-height: normal;
	position: relative;
	text-align: right;
	background: url(../images/header-bg.png) repeat-x bottom;
	border-left: 3px solid #fffefd;
	border-right: 3px solid #fffefd;
}

h1.logo, h1.logo-text {
	margin: 0;
	padding: 0;
	font-size: 100%;
}

h1.logo a {
	width: 283px;
	display: block;
	background: url(../images/logo.png) no-repeat;
	position: absolute;
	height: 85px;
	top: 23px;
	left: 12px;
}

h1.logo a:hover, h1.logo a:active, h1.logo a:focus {
}

h1.logo a span {
	position: absolute;
	top: -1000px;
}

h1.logo-text a {
	text-decoration: none;
	outline: none;
	position: absolute;
	bottom: 35px;
	left: 15px;
	color: #FFFFFF;
}

h1.logo-text a:hover, logo-text a:active, logo-text a:focus {
	color: #f2f1e7;
}

p.site-slogan {
	position: absolute;
	bottom: 10px;
	left: 20px;
	color: #999999;
	letter-spacing: 1px;
}

/* Headtools ---*/
#kh-headtools {
	float: right;
	margin: 65px 10px 1px 0;
	text-align: center;
	width: 30%;
	height:23px;
	color: #f2f1e7;
	direction: rtl;
}

#kh-headtools ul {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

#kh-headtools li {
	background: none;
	display: inline;
	line-height: normal;
	margin: 0;
	padding: 0 0 0 10px;
}

#kh-headtools li a {
	color: #f2f1e7;
	line-height: 20px;
	padding: 0 0 0 10px;
	display: inline-block;
}

#kh-headtools li.last a {
	padding-right: 0;
}

#kh-headtools li a.show {
	color: #DB7812;
}

#kh-register, #kh-login {
	background: #375b94;
	border: 1px solid #DDDDDD;
	display: none;
	height: auto;
	overflow: hidden;
	padding: 5px 15px;
	position: absolute;
	right: 10px;
	text-align: right;
	top: 90px;
	z-index: 999;
}

.kh-login-links {
	margin-top: 10px;
}

/* MAIN NAVIGATION منو در قالب
--------------------------------------------------------- */
#kh-mainnav {
	height: 27px;
	position: absolute;
	bottom: 8px;
	right: 5px;
}

* html #kh-mainnav {/* IE 6*/
	left: 75px;
}

*+html #kh-mainnav { /*IE 7*/
	left: 75px;
}

#kh-mainnav a, #kh-subnav a {
	outline: none;
}

/* breadcrumbs */
#kh-pathway {
	padding: 0 0 7px;
	background: url(../images/hdot.gif) repeat-x bottom;
	margin-bottom: 5px;
}

#kh-pathway strong {
	margin-right: 5px;
	background: url(../images/symbol.gif) no-repeat 2px center #E6E6E6;
	padding: 5px 5px 5px 31px;
	text-transform: uppercase;
}

#kh-pathway a {
	text-decoration: none;
}

#kh-pathway a:hover {
	text-decoration: underline;
}

#kh-pathway img {
	margin: 1px 5px;
}

/* Default Joomla! Menu */
ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.menu li {
	background: none;
	margin: 0;
	padding: 1px 0;
	background: url(../images/hdot.gif) repeat-x bottom;
}

ul.menu li a {
	display: block;
	padding: 5px 15px 5px 5px;
	background: url(../images/icon-pages.png) no-repeat right;
	color: #505050;
}

ul.menu li a:hover, ul.menu li a:active, ul.menu li a:focus {
	color: #0FA9CC;
	background: url(../images/icon-pages.png) no-repeat right;
}

ul.menu li.active a {
	font-weight: bold;
}

ul.menu li ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.menu li li {
	background: none;
}

ul.menu li li a {
	background: url(../images/bullet.png) no-repeat 95% 11px !important;
	border: none;
	font-weight: normal !important;
	padding-right: 20px !important;
	width: 75%; /*need for ie6*/
}

ul.menu li li a:hover, ul.menu li li a:active, ul.menu li li a:focus {
	background: none;
	color: #0FA9CC;
}

/* SPOTLIGHT قسمت جایگاهی در قالب
--------------------------------------------------------- */
/* Spotlight Box Style */
.kh-box-full, .kh-box-left, .kh-box-center, .kh-box-right {
	float: left;
	overflow: hidden;
	text-align: right;
}

/* Top spotlight */
#kh-topsl {
	color: #FFFFFF;
	position: relative;
	height: 265px;
	border: 3px solid #fffefd;
	direction: rtl;
	width: 668px;
	background: #173c6f;
}

#kh-topsl3 {
	padding: 0;
	background: url(../images/grad3.gif) repeat-x top #FFFFFF;
	border-right: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-bottom: 3px solid #fffefd;
	width: 262px;
	float: left;
}

#kh-topsl3 div.moduletable {
	margin: 0;
	padding: 0;
}

#kh-topsl4 {
	border-right: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-bottom: 3px solid #fffefd;
	padding-left: -10px !important;
}
/* Bot spotlight */
#kh-botsl {
	border-top: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-right: 3px solid #fffefd;
	background: url(../images/botsl.png) repeat-x top #305086;
	color: #f2f1e7;
	padding: 5px 0;
	text-align: right;
}

#kh-botsl h3 {
	color: #f2f1e7;
	font-size: 100%;
	background: none;
	border: none;
	margin-bottom: 10px;
}

#kh-botsl div.moduletable {
	padding: 0 15px;
}

#kh-botsl ul, #kh-botsl ol {
	margin: 0;
	padding: 0;
}

#kh-botsl ol li {
	margin: 0 0 0 20px;
	padding: 0;
}

#kh-botsl ul li {
	margin: 0;
	padding: 0 10px 0 0;
	background: url(../images/bullet.png) no-repeat 100% 7px;
}

#kh-botsl a {
	color: #f2f1e7;
}

#kh-botsl a:hover, 
#kh-botsl a:active, 
#kh-botsl a:focus {
	color: #f3e70d;
}

/* FOOTER قسمت پایین قالب
--------------------------------------------------------- */
#kh-footer {
	padding: 0;
	position: relative;
	background: url(../images/footer.png) repeat-x top #292929;
	height: 30px;
	border-bottom: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	border-right: 3px solid #fffefd;
	text-align: right;
	top:-12px;
}

#kh-footer a:hover, 
#kh-footer a:active, 
#kh-footer a:focus {
	color: #f3e70d;
}

#kh-footer small {
	float: left;
	font-size: 100%;
	padding-left: 20px;
	line-height: 30px;
	color: #d4d4d4;
}

#kh-footer ul {
	float: right;
	margin: 0;
	padding-right: 10px;
}

#kh-footer li {
	display: inline;
	margin: 0;
	padding: 0;
	background: url(../images/vline.gif) no-repeat left center;
}

#kh-footer li a {
	display: inline;
	line-height: 30px;
	padding: 0 10px;
}

#kh-footer li.kh-firstitem {
	background: none !important;
}

.kh-footurl {
	float: none;
	clear: both;
}

/* MISCELLANOUS موارد نصب شونده با جایگاه مخصوص
----------------------------------------------------------- */
ul.accessibility {
	position: absolute;
	top: -100%;
	text-align: right;
}

/* news */
#kh-news { 
	bottom: 126px;
	right: 0px;
	font-size: 11px;
	width: 550px;
	height: 35px; 
	position: absolute;
	padding:5px 10px 0 0; 
	direction: rtl;
}

#kh-news a {
	color: #606060;
}

/* Search */
#kh-search {
	bottom: -2.5px;
	left: 10px;
	position: absolute;
	font-size: 11px;
	width: 219px;
	height: 35px;
	background: url(../images/search-bg.png) no-repeat;
}

* html #kh-search {
	right: 75px;
	background: url(../images/ie6/search-bg.png) no-repeat;
}

#kh-search .inputbox {
	padding: 5px 10px 0 0;
	background: none;
	border: none;
	color: #505050;
}

/* Tabs */
#kh-tabs {
	padding: 0;
	background: url(../images/grad3.gif) repeat-x top #FFFFFF;
	border-right: 3px solid #fffefd;
	border-left: 3px solid #fffefd;
	width:400px;
	float: left;
}

#kh-tabs div.moduletable {
	margin: 0;
	padding: 0;
}

/*others*/
.mostread, .latestnews {
	text-decoration: none;
}

#kh-news-2 {
	margin: 0px 0 0;
	text-align: center;
	overflow: hidden;
	width: 668px;
	border-left: 3px solid #fffefd;
	border-right: 3px solid #fffefd;
	border-bottom: 3px solid #fffefd;
	background: url(../images/grad2.gif) repeat-x bottom #FFFFFF;
}

#kh-banner {
	margin: 5px 0 -7px 0;
	text-align: center;
	overflow: hidden;
	width: 100%;
}

div.back_button a,
div.back_button a:hover,
div.back_button a:active {
	background: none!important;
	display: block;
	margin: 10px 0;
	text-decoration: none!important;
}

.clr {
	clear: both;
}

.hasTip img {
	border: none;
	margin: 10px 5px 0 0;
}

div.kh-innerdiv {
	padding: 8px 0;
	background: url(../images/hdot.gif) repeat-x bottom;
}

div.kh-innerdiv img {
	margin-right: 5px;
}

/* User Tools */
#kh-usertools {
	padding: 7px 0 0;
	font-size: 11px;
	position: absolute;
	top: 0;
	left: 15px;
}

* html #kh-usertools {/* IE 6*/
	top: -2px;
}

*+html #kh-usertools {/* IE 7*/
	top: -2px;
}

#kh-usertools ul {
	margin: 0 15px 0 0;
	padding: 0;
	float: left;
}

#kh-usertools ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	display: inline;
}

#kh-usertools img {
	padding: 0 3px 0 0;
}

/* Tooltips */
.tool-tip {
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
	float: left;
	max-width: 200px;
	padding: 5px;
}

.tool-title {
	background: url(../../system/images/selector-arrow.png) no-repeat;
	font-size: 100%;
	font-weight: bold;
	margin: 0;
	margin-top: -15px;
	padding: 0;
	padding-bottom: 5px;
	padding-top: 15px;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

#system-message dd.message ul,
#system-message dd.error ul,
#system-message dd.notice ul {
	margin: 0;
	padding: 0;
}

#system-message dd.message ul li,
#system-message dd.error ul li,
#system-message dd.notice ul li {
	background: none;
	color: #FFFFFF;
	margin: 0;
	padding: 5px;
}

/* System Standard Messages */
#system-message dd.message ul {
	background: #505050;
	border: none;
	direction: rtl;
}

/* System Error Messages */
#system-message dd.error ul {
	background: #505050;
	border: none;
}

/* System Notice Messages */
#system-message dd.notice ul {
	background: #505050;
	border: none;
}

/* Clearfix */
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}