/*  
Template Name:KH.T.D.C.
Description: Template for KH.T.D.C.
Version: 1.0
Author: Ahmad Azimi - Vahid Zehtabi
Author Url: http://skin.pictofx.com
*/
/*********************************************** Global Styles ******************************************/
html#TDW_min_width {
	height:100%;
	min-width:1000px;
}
body {
	direction:rtl;
	line-height: 1.3em;
	font-family:Tahoma;
	font-size:11px;
}
table, tr, td {
	vertical-align:top;
	font-size:11px;
}
input {
	font-family:Tahoma;
}
input.button {
	cursor: pointer;
}
a:link, a:visited {
	color: #3c5d83; text-decoration: none;
}

a:hover {
	color: #755001;	text-decoration: none;
}
a img {
	border:none;
}
html>body a img {
}
.clr {
	line-height:0; font-size:0;
	overflow:hidden; clear:both;
	height:0;
}
/************************************************ TDW Styles *********************************************/
body#TDW_Body {
	height:100%;
	margin:0;
	background:#5d5d5d url(../images/bgLoop.png);
	color:#333;
	cursor:default;
	direction:ltr;
	text-align:center;
}
	#TDW_outer {
		width:968px;
		margin:0 auto;
	}
		#TDW_top {
			height:40px;
			overflow:hidden;
		}
		#TDW_top[id] {
			background:url(../images/white_bgs.png) 0 0 no-repeat;
		}
			#TDW_topMenu {
				float:right;
				padding:0 9px 0 0;
				position:relative; right:9px; top:2px;
			}
			#TDW_language {
				float:left;
				padding:0 0 0 9px;
				position:relative; left:2px; top:0;
			}
			html>body #TDW_language {
				padding:0 0 0 5px;
			}
					div#TDW_language {
						width:139px;
						height:27px;
						overflow:hidden;
						text-align:right;
						margin:0 auto 0 0;
					}
						div#TDW_language ul {
							list-style:none;
							margin:0 0 0 auto;
							line-height:1em;
							padding:5px 6px 0 0;
							direction:rtl;
						}
						html>body div#TDW_language ul {
							padding:5px 0 0 3px;
						}
						div#TDW_language ul li	{
							background-image:none;
							margin:0;
							display:inline;
							font-size:11px;
							padding:0;
						}
						html>body div#TDW_language ul li	{
							padding:0;
							display:table-cell;
						}
						div#TDW_language ul li a {
							display:inline-block !important;
							color:#fff;
							background:url(../images/language-link.png) center 0 no-repeat;
							margin:0 1px !important;
							padding:3px 5px 6px 5px !important;
						}
						html>body div#TDW_language ul li a {
							padding:2px 5px 4px 5px;
							display:inline;
						}
						div#TDW_language ul li a:hover {
							color:#fff;
							background:url(../images/language-link.png) center -40px no-repeat;
						}
						.languageSelected {
							cursor:default;
							background:url(../images/language-link.png) center -40px no-repeat !important;
						}
		#TDW_header {
			height:230px;
			overflow:hidden;
			padding:9px 9px 0 9px;
		}
		#TDW_header[id] {
			background:url(../images/white_bgs.png) 0 -40px no-repeat;
		}
			#TDW_header_left {
				width:706px; height:212px;
				float:left;
				position:relative; left:9px;
				background:url(../images/header_left.jpg) 0 0 no-repeat;
			}
				#TDW_flash_banner {
					width:706px; height:212px;
				}
			#TDW_header_right {
				width:226px; height:212px;
				float:right;
				position:relative; right:9px;
			}
		#TDW_content {
		}
			#TDW_content_top {
				height:9px;
			}
			#TDW_content_top[id] {
				background:url(../images/white_bgs.png) 0 -279px no-repeat;
			}
				#TDW_pathwayHolder {
					width:950px;
					direction:rtl; text-align:right;
					margin:0 auto; 
				}
				#TDW_pathwayHolder_bottom {
					background:#989898;
					line-height:0; font-size:0;
					height:5px; width:950px;
					margin:0 auto;
				}
				#TDW_pathwayHolder a {
					height:15px;
				}
			#TDW_content_mid {
				padding:0 0 10px 0;
			}
			#TDW_content_mid[id] {
				background:url(../images/content_mid.png) repeat-y;
			}
				#TDW_content_table {
					background:#fff;
					width:950px;
					margin:0 auto;
					text-align:right;
				}
					#TDW_content_table_left {
						width:180px;
						direction:rtl;
						padding-top:10px;
					}
					#TDW_content_table_mid {
						direction:rtl;
						padding-top:20px;
					}
						#TDW_specialText {
							height:20px;
							padding:5px 0 15px 0;
						}
					#TDW_content_table_right {
						width:200px;
						direction:rtl;
						
					}
						#searchHolder {
							background:#989898 url(../images/search_rtl.png) no-repeat;
							width:196px; height:29px;
							margin-bottom:10px;
						}
						.TSC_module_swMenu {
							background:url(../images/moduleHead_rtl.png) 5px 0 no-repeat;
							padding:16px 0 20px 0;
						}
						.TSC_module_swMenu .TCS_content {
							padding:0 !important;
						}
					#TDW_content_table_sep_left1, #TDW_content_table_sep_right,	#TDW_content_table_sep_left3 {
						width:10px;
					}
					#TDW_content_table_sep_left2 {
						width:5px;
						background:url(../images/dots.png) right top repeat-y;
					}
					#TDW_content_table_sep_right {
						background:url(../images/dots.png) 5px top repeat-y;
					}
			#TDW_content_bottom {
				height:60px;
				padding-top:4px;
			}
			#TDW_content_bottom[id] {
				background:url(../images/white_bgs.png) 0 -314px no-repeat;
			}

#TDW_bottomAds {
	padding:20px;
	direction:rtl;
	text-align:center;
}
/*****************************************/
/*** Joomla! to be changed content elements ***/
/*****************************************/
#TDW_footer {
	direction:rtl;
	text-align:center;
	color:#777;
	padding:10px 2px 0 0;
	line-height:1.5em;
}
#TDW_footer a {
	color:#555;
}
#TDW_footer a:hover {
	color:#950101;
}
#TDW_anchor {
	float:left;
	text-align:left;
	padding:0 10px 0 30px;
}
#TDW_anchor a {
	cursor:pointer;
	cursor:hand;
	display:block;
	width:29px;
	height:23px;
	background:#000 url(../images/top.png) 0 0 no-repeat;
}
#TDW_anchor a:hover {
	background-position:0 -23px;
}

.TDW_topMenuFirst {
	border-left:none !important;
}

.TSC_holder {
	margin:0 auto 20px auto;
}
.TCS_content {
	padding:0px 5px 10px 5px;
	text-align:right;
}
.TSC_module_menu .TCS_content {
	padding:10px 1px 10px 1px;
}
.TCS_content ul {
	list-style:none;
	margin:0; padding:0;
}
.TCS_content ul li {
	background:url(../images/arrow2.png) 98% 9px no-repeat;
	padding:2px 12px 2px 0;
}

.TSC_holder h3 {
	background:#fff url(../images/moduleHead_rtl.png) -195px bottom no-repeat;
	padding:0 6px 20px 0; margin:0;
	font-size:11px; color:#698c85; font-family:Tahoma; text-align:right;
}

.inputbox {
	font-family:Tahoma;
	font-size:11px;
	border:1px solid #777;
	padding:2px 2px 3px 2px;
}
#modlgn_remember {
	border:none;
}

select option {
	padding:2px;
}
div.search {
	direction:rtl;
	text-align:right;
	padding:2px 9px 6px 0;
}
div.search input {
	width: 145px;
	font-size:11px;
	color:#777;
	background:none;
	border:none;
}


ul#mainlevel-nav {
	list-style:none;
	padding:2px 0px 0 0;
	margin:0;
	line-height:1em;
	direction:rtl;
}
html>body ul#mainlevel-nav {
	padding:6px 0px 0 0;
}
ul#mainlevel-nav li	{
	background-image:none;
	margin:0;
	display:inline;
	font-size:11px;
	padding:0;
}
html>body ul#mainlevel-nav li	{
	padding:0;
	display:table-cell;
}
ul#mainlevel-nav li a {
	padding:3px 12px 6px 6px; margin-left:6px !important;
	border-left:1px #d2d2d2 solid;
	display:inline-block;
	color:#878787;
	background:url(../images/topMenu_bg.png) right -4px no-repeat;
}
html>body ul#mainlevel-nav li a {
	border-left:1px #c2c2c2 dotted;
	display:inline;
	padding:3px 12px 5px 6px;
}
ul#mainlevel-nav li a:hover {
	color:#8a9a00;
	background-position:right -33px;
}

#TDW_content div.moduletable {
}
#TDW_content div.moduletable h3 {
	background:url(../images/contentheading_rtl.jpg) right bottom no-repeat;
	padding:0px 20px 19px 0;
	font-family:Tahoma;
	font-size:11px;
	color:#686868;
}
#TDW_content div.moduletable table.contentpaneopen td {
	padding:0 25px 0 0;
	text-align:justify;
}
#TDW_content table.contentpaneopen td {
	text-align:justify;
}
#TDW_content div.moduletable table.contentpaneopen td p {
	margin:0;
}
#TDW_content table.contentpaneopen span.small {
	float:left;
}
#TDW_content table.contentpaneopen td.createdate {
	text-align:left;
}

div.moduletable {
	padding:0 0 10px 0;
}
div.moduletable h3 {
	background:url(../images/contentheading_rtl.jpg) right bottom no-repeat;
	padding:0px 20px 19px 0;
	font-family:Tahoma;
	font-size:11px;
	color:#686868;
}

#TDW_extra ul, #TDW_side_mid_pic ul {
	padding:0 15px 0 0;
	margin:0;
	text-align:right;
	list-style:url(../images/arrow2.png);
}

#TDW_extra div.moduletable_menu, #TDW_extra div.moduletable {
	padding:0 0 20px 0;
	margin:0;
}
#TDW_extra div.moduletable_menu h3, #TDW_extra div.moduletable h3 {
	background:#6f4657;
	font-family:Tahoma;
	font-size:11px;
	color:#fff;
	font-weight:normal;
	padding:2px 6px 4px 0;
}
#TDW_extra div.moduletable h3 {
	background:#327979;
}
#TDW_extra div.moduletable 	table.moduletable {
	position:relative;
	left:-17px;
	margin-bottom:20px;
}
html>body #TDW_extra div.moduletable 	table.moduletable {
	width:auto;
	position:relative;
	left:0;
	margin:0;
}
#TDW_extra div.moduletable 	table.moduletable ul li{
	list-style:circle;
}

#TDW_side_mid_pic div.moduletable_menu, #TDW_side_mid_pic div.moduletable {
	padding:0 0 20px 0;
	margin:0;
}
#TDW_side_mid_pic div.moduletable_menu h3, #TDW_side_mid_pic div.moduletable h3 {
	font-family:Tahoma;
	font-size:11px;
	color:#333;
	font-weight:normal;
	text-align:right;
	padding:12px 44px 7px 0;
	background:#c5c4c4 url(../images/contents.png) right -128px no-repeat;
}
#TDW_side_mid_pic div.moduletable_menu h3 {
	background:#c5c4c4 url(../images/contents.png) -30px -54px no-repeat;
	padding:16px 40px 7px 0 !important;
}

div.moduletable_text {
}
div.moduletable_text h3 {
	background:#327979;
	color:#fff;
	font-family:Tahoma;
	font-size:11px;
	font-weight:normal;
	padding:5px 5px 6px 0;
}

table.contentpaneopen td.contentheading {
	background:url(../images/contentheading_rtl.jpg) right bottom no-repeat;
	padding:0px 20px 19px 0;
	font-family:Tahoma;
	font-size:11px;
	color:#686868;
}
table.contentpaneopen td.buttonheading {
	padding:7px 0 0 0;
}
html>body table.contentpaneopen td.buttonheading {
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	color: #5b6065 !important;
	background:#fff url(../images/menu.png) 0 bottom no-repeat;
	vertical-align: middle;
	font-size: 11px;
	direction:rtl;
	text-align: right;
	padding:1px 15px 5px 0 !important;
	margin:0 0px 1px 0;
	text-decoration: none;
	line-height:1.8em;
}

a.mainlevel:hover {
	color:#647928 !important;
	background:#fff url(../images/menu.png) -200px bottom no-repeat;
}

a.mainlevel#active_menu {
	color:#555 !important;
	background:#e2e2e2 url(../images/menu.png) -400px bottom no-repeat;
	cursor:default;
}

a.mainlevel#active_menu:hover {
}
a.sublevel:link, a.sublevel:visited {
	display: block;
	color: #4b4f3b !important;
	background:url(../images/menu.png) 0px bottom no-repeat;
	vertical-align: middle;
	font-size: 11px;
	direction:rtl;
	text-align: right;
	padding:0px 30px 6px 0 !important;
	margin:0 2px 0px 0;
	text-decoration: none;
	line-height:1.8em;
	_height:22px;
}

a.sublevel:hover {
	color:#7f6105 !important;
	background:url(../images/menu.png) 0px bottom no-repeat;
}

a.sublevel#active_menu {
	color:#555 !important;
	background:url(../images/menu.png) 0px bottom no-repeat;
	cursor:default;
}
a.sublevel#active_menu:hover {
}

div.bannergroup_text {
	padding:5px;
	text-align:right;
	direction:rtl;
}

.newsfeed_item {
	text-align:justify;
}

#modlgn_username, #modlgn_passwd {
	border:1px solid #999;
	margin:5px 10px 0 0;
	direction:ltr;
}

.button {
	font-family:Tahoma;
	font-size:11px;
	color:#fff;
	text-align:center !important;
	padding:6px 3px 0 3px;
	background:#950101;
	border:3px #950101 double;
	line-height:0;
}
html>body .button {
	padding:0 10px 2px 10px;
	color:#fff;
	background:#d39400;
	border:3px #fff double;
}
.button:hover {
	color:#fff;
	background:#950101;
	border:3px #eee double;
}
/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  overflow: hidden;
	color:#ddd;
	background:#600000;
	padding:3px 5px 5px 5px;
}
span.pathway img {
	vertical-align:bottom;
}
html>body span.pathway img {
	vertical-align:middle;
}
a.pathway {
	color:#b59999 !important;
}
a.pathway:hover {
	color:#fff !important;
}

/* headers */
div.componentheading {
  padding:10px 25px 5px 0;
	color:#365660;
}

h1 {
	padding: 0;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	width: 100%;
}

h2, .contentheading {
	padding: 0;
	font-size: 1.4em;
	font-weight: normal;
	vertical-align: bottom;
	color: #333;
	width: 100%;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	color: #333;
}

h3, .componentheading, table.moduletable th, legend {
  margin: 0;
	font-family:"Times New Roman";
  font-weight: bold;
  font-size: 1.4em;
  padding-left: 0px;
	margin-bottom: 10px;
}

/* small text */
.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon {
	margin-top: 10px;
	display: block;
	float: left;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
	color:#d37700 !important;
}
a.readon:hover {
	color:#950101 !important;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
	background-color: #f6f6f6;
}

.ol-background {
	background-color: #666;
}

.ol-textfont {
	font-size: 10px;
}

.ol-captionfont {
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}
.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {

}

/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
	border:none;
}

.clr {
	clear: both;
}

td.greyline {
  width: 20px;
  background: url(../images/mw_line_grey.png) 50% 0 repeat-y;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* edit button */
.contentpaneopen_edit{
	float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
  float: right;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
	text-align:right;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0 0 0 auto;
	padding: 0;
	width: auto;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
}

div.module_menu h3 {
	font-size: 12px;
	font-weight: bold;
	color: #eee;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	font-weight: bold;
}

#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
	padding:10px 0;
}

.banneritem {
	padding-bottom:10px;
}

.banneritem img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Text advert style */

.banneritem_text {
	padding: 4px;
	font-size: 11px;
}

.bannerfooter_text {
	padding: 4px;
	font-size: 11px;
	background-color: #F7F7F7;
	text-align: left;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align:right;
}

/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */

.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

#syndicate{
	float:left;
	padding-left: 25px;
}

#power_by{
	float:right;
	padding-right: 25px;
}

/* Component Specific Fixes */

#component-contact table td {
	padding: 2px 0;
}
