/*  
Template Name:KHR-GTO
Description: Template for http://khr-gto.com
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: #d42c2c;	text-decoration: none;
}
a img {
	border:none;
}
html>body a img {
}
.clr {
	 clear:both; overflow:hidden; height:0;
}
/************************************************ TDW Styles *********************************************/
body#TDW_Body {
	height:100%;
	margin:0;
	background:#fff;
	cursor:default;
	direction:ltr; text-align:center; color:#333; line-height:1.5em;
}
	#TDW_container {
		max-width:1100px;
		width:100%;
		margin:0 auto;
	}
		#TDW_leftTD {
			background:url(../images/body_shadow.png) 0 0 no-repeat;
			width:7px;
		}
		#TDW_middleTD {
			text-align:left;
			background:#f4f5f1 url(../images/banner_flag.jpg) right 0 no-repeat;
		}
			#TDW_header {
				background:url(../images/banner.jpg) 0 0 no-repeat;
				height:242px;
				zoom: 1;
				position: relative;
			}
				#TDW_flashContainer {
					width:281px; height:242px;
					float:left;
					zoom: 1;
				}
				#TDW_topMenu {
					height:30px;
					text-align:right;
					zoom: 1;
				}
					#TDW_topMenu table {
						margin: 0 0 0 auto;
					}
				#TDW_logo {
					zoom: 1;
					/*background:url(../images/logo.jpg) 15px 8px no-repeat;*/
					display:block;
					float:right;
					width:200px; height:212px;
				}
				#TDW_topMenuHolder {
					text-align: right;
					height: 29px;
				}
				#TDW_rssHolder {
					width: 27px;
					text-align: center;
					height: 29px;
					overflow: hidden;
					vertical-align: middle;
					padding-top: 3px;
					color: #eee;
				}
				#TDW_rssHolder span {
					display: none;
				}
			#TDW_pathway {
				background:#eaeaea url(../images/hLoops.gif) 0 0 repeat-x;
			}
				#TDW_pathway_in {
					background:url(../images/banner.jpg) 0 -242px no-repeat;
					height:25px;
				}
					#TDW_pathway_inner {
						direction:rtl; text-align:right; color:#78716b;
						padding:2px 7px 0 5px;
					}
					#TDW_pathway_inner span img {
						vertical-align:bottom;
					}
			#TDW_content {
				background:url(../images/banner.jpg) 0 -267px no-repeat;
				height:300px;
			}
				#TDW_leftSide {
					background:url(../images/vLoops.gif) right 0 repeat-y;
					width:204px;
					text-align:center;
					padding:35px 0 10px 0
				}
				#TDW_middleSide {
					direction:rtl; text-align:justify;
					padding:20px 10px;
				}
				#TDW_rightSide {
					background:url(../images/vLoops.gif) left 0 repeat-y;
					width:204px;
					text-align:center;
					padding:7px 0 10px 0
				}
					#searchHolder {
						background:#e6e6e6 url(../images/search.png) center center no-repeat;
						width:190px;
						margin:0 auto;
						text-align:left;
					}
					#searchHolder div.search {
						padding:10px 0 4px 5px;
					}
					html>body #searchHolder div.search {
						padding:11px 0 5px 5px;
					}
					#searchSep {
						height:5px;
						line-height:1px;
					}
					html>body #searchSep {
						height:10px;
					}
			#TDW_footer {
				background:#e6e6e6;
				border:1px solid #ddd;
				direction:rtl; text-align:center; color:#888;
				padding:15px 0 10px 0;
			}
			#TDW_footer a {
				color:#777;
			}
			#TDW_footer a:hover {
				color:#d42c2c;
			}
		#TDW_rightTD {
			background:url(../images/body_shadow.png) -7px 0 no-repeat;
			width:7px;
		}
/*****************************************/
/*** Joomla! to be changed content elements ***/
/*****************************************/
.TSC_holder {
	width:190px;
	margin:0 auto 20px auto;
	direction:rtl;
}
.TCS_content {
	padding:10px 4px;
	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% 10px no-repeat;
	padding:2px 12px 2px 0;
}

#TDW_rightSide .TSC_holder {
	background:#e6e6e6 url(../images/sideBG.gif) -190px 0 repeat-y;
}
#TDW_rightSide .TSC_holder h3 {
	background:url(../images/side.png) -190px 0 no-repeat;
	font-size:11px; color:#82847f; font-family:Tahoma; text-align:right;
	padding:7px 7px 8px 5px; margin:0;
}
#TDW_rightSide .TSC_holder .TSC_footer {
	background:#e6e6e6 url(../images/side.png) -190px -32px no-repeat;
	line-height:0; height:3px; overflow:hidden;
}

#TDW_leftSide .TSC_holder {
	background:#e6e6e6 url(../images/sideBG.gif) 0px 0 repeat-y;
}
#TDW_leftSide .TSC_holder h3 {
	background:url(../images/side.png) 0px 0 no-repeat;
	font-size:11px; color:#82847f; font-family:Tahoma; text-align:right;
	padding:7px 7px 8px 5px; margin:0;
}
#TDW_leftSide .TSC_holder .TSC_footer {
	background:#e6e6e6 url(../images/side.png) 0px -32px no-repeat;
	line-height:0; height:3px; overflow:hidden;
}

.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 {
}
div.search input {
	width: 145px;
	font-size:11px;
	color:#777;
	direction:rtl; text-align:right;
	border:1px solid #c6c5c8;
	background: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	{
	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 {
	background:#f4f5f1;
	padding:3px 8px 6px 8px; margin:0 1px;
	border-bottom:3px #e3e4e0 solid;
	display:inline-block;
	color:#777;
}
html>body ul#mainlevel-nav li a {
	display:inline;
	padding:3px 8px 5px 8px;
}
ul#mainlevel-nav li a:hover {
	background:#eee;
	color:#c6502a;
	padding:4px 8px 5px 8px;
	border-bottom:3px #c9cbc1 solid;
}

#TDW_content div.moduletable {
}
#TDW_content div.moduletable h3 {
	background:#e6e6e6 url(../images/contentheading.png) right center no-repeat;
	padding:4px 34px 6px 0;
	font-weight:normal; color:#565c6d;
	-moz-border-radius: 0 5px 0 0;
}
#TDW_content div.moduletable table.contentpaneopen td {
	padding: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/moduletable.jpg) right 0 no-repeat;
	padding:5px 10px 10px 0;
	font-family:Tahoma;
	font-size:11px;
	color:#666;
	font-weight:normal;
	padding:24px 85px 7px 0;
}

#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:#e6e6e6 url(../images/contentheading.png) right center no-repeat;
	padding:4px 34px 6px 5px;
	font-family:Tahoma;
	font-size:11px;
	color:#565c6d;
	-moz-border-radius: 0 5px 0 0;
}
table.contentpaneopen td.buttonheading {
	background:#e6e6e6;
	vertical-align:middle;
	padding:0 4px;
	border:1px solid #ddd;
}
html>body table.contentpaneopen td.buttonheading {
}
a.mainlevel:link, a.mainlevel:visited {
	display: block;
	color: #60635b !important;
	background:#fff;
	border-bottom:1px solid #c0c0c0;
	border-top:1px solid #fafafa;
	vertical-align: middle;
	font-size:11px;
	direction:rtl;
	text-align: right;
	width:177px;
	padding:1px 5px 3px 0 !important;
	margin:1px 0 1px 0;
	text-decoration:none;
	line-height:1.8em;
}

a.mainlevel:hover {
	color:#555 !important;
	background:#daded3 url(../images/menu_over.gif) 0 0 repeat-y;
	padding-right:6px !important;
	width:176px;
}

a.mainlevel#active_menu {
	color:#555 !important;
	background:#e2e2e2 url(../images/menu_select.gif) 98% 7px no-repeat;
	cursor:default;
	width:170px;
	padding-right:18px !important;
}

a.mainlevel#active_menu:hover {
}
a.sublevel:link, a.sublevel:visited {
	display: block;
	color: #60635b !important;
	background:#fff;
	border-bottom:1px solid #ccc;
	border-right:3px solid #ccc;
	vertical-align: middle;
	font-size: 11px;
	direction:rtl;
	text-align: right;
	padding:0px 5px 4px 0 !important;
	margin:0 3px 1px 0;
	text-decoration: none;
	line-height:1.8em;
}

a.sublevel:hover {
	color:#27497a !important;
	background:#f2efef;
}

a.sublevel#active_menu {
	color:#555 !important;
	background:#d9d7d7;
	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; color:#666;
}

.button {
	font-family:Tahoma;
	font-size:11px;
	text-align:center !important;
	padding:1px 5px 0px 5px;
	line-height:1em;
	cursor:pointer;
	color:#fff;
	background:#7fa0a8;
	border:3px #7fa0a8 double;
}
html>body .button {
	padding:0 10px 3px 10px;
	color:#fff;
	background:#7fa0a8;
	border:3px #fff double;
}
.button:hover {
	background:#6fa278;
}
/*****************************************/
/*** 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;
  /*margin: 0 20px;*/
  height: 16px;
  line-height: 16px;
  overflow: hidden;
	/*color:#545e5e;*/
}
span.pathway a {
	color:#496c94;
}
span.pathway a:hover {
	color:#d42c2c;
}
/* headers */
div.componentheading {
  padding:10px 5px 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;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
}

/* 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 fieldset span.small {
	float:none !important;
	font-size:11px; font-weight:bold; color:#006666;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	color: #333;
}

.highlight {
	background-color: #FFFF00;
}

/* 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;
}

.blog_more {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 8px;
	margin-bottom: 15px;
	-moz-border-radius: 5px;

}

