/*  
Template Name: Mashhad Traffic
Description: Template for Rajman Information Structures.
Version:2.0
Author: Ahmad Azimi - Vahid Zehtabi [pictofx@gmail.com]
Author Url: http://skin.pictofx.com
*/
/*********************************************** Global Styles ******************************************/
body {
	direction:ltr;
	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: #cd3131;	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: #fff;
	color:#333;
	cursor:default;
	direction:ltr;
	text-align:center;
}
	#TDW_main {
		background: url(../images/body_top.gif) 0px 0 repeat-x;
		text-align: center;
	}
		#TDW_container {
			width: 966px;
			margin: 0 auto;
		}
			#TDW_top {
				background: #025e6e;
				height: 30px; width: 956px;
				margin: 0 auto;
				overflow: hidden;
			}
				#TDW_top div.a {
				}
				#TDW_top div.b {
				}
				#TDW_top div.c {
					padding: 2px 0px 0 5px;
				}
					#TDW_searchHolder {
						/*display: inline; 
						float: left;*/
						text-align: left;
						width: 131px;
						height: 30px;
					}
					#TDW_language {
						height:30px;
						overflow:hidden;
						text-align:left;
						margin:0 auto 0 0;
						padding-right: 4px;
					}
						#TDW_language ul {
							float: right;
							list-style:none;
							margin:0 0 0 auto;
							line-height:1em;
							padding:5px 6px 0 0;
							direction:ltr;
						}
						html>body #TDW_language ul {
							padding:4px 0 0 0;
						}
						#TDW_language ul li	{
							background-image:none;
							margin:0;
							display:inline;
							font-size:11px;
							padding:0;
						}
						html>body #TDW_language ul li	{
							padding:0;
							display:table-cell;
						}
						#TDW_language ul li a {
							display:inline-block !important;
							color:#fff;
							background:url(../images/language-link.png) center 0 no-repeat;
							background: #c32020;
							-moz-border-radius: 3px;
							margin:0 1px !important;
							padding:3px 5px 6px 5px !important;
						}
						html>body #TDW_language ul li a {
							padding:2px 5px 4px 5px;
							display:inline;
						}
						#TDW_language ul li a:hover {
							color:#fff;
							background: #e38b30;
						}
						.languageSelected {
							cursor:default;
							background: #152633 !important;
						}
					#TDW_topMenuHolder {
						/*display: inline;
						float: right;*/
						text-align: left;
						height: 30px;
					}
					#TDW_rssHolder {
						/*float: right;
						display: inline;*/
						width: 22px;
						height: 30px;
						overflow: hidden;
						text-align: left;
						vertical-align: middle;
						padding-top: 2px;
					}
			#TDW_header {
				height: 230px;
				text-align: right;
				background: url(../images/header.jpg) 0 0 no-repeat;
			}
				#TDW_homeLink {
					display: block;
					width: 270px; height: 110px;
					position: relative;
					top: 64px; left: 14px;
					float: left;
					/*border: 1px #fff solid*/;
				}
			#TDW_breadcrumb {
				direction: ltr; text-align: left;
				background: url(../images/header.jpg) 0 -230px no-repeat;
				height: 23px;
				overflow: hidden;
			}
				#TDW_breadcrumb div.g {
					padding: 3px 0 0 17px;
				}
				

			#TDW_content {
				background:#fff url(../images/header.jpg) 0 -253px no-repeat;
				direction: ltr; text-align: left;
			}
				#TDW_content_top {
					line-height: 0; font-size: 0;
					height: 5px;
					overflow: hidden;
					background: url(../images/vLoops.png) -1386px 0 repeat-y;
					margin-left: 210px;
				}
				.TDW_content_top_11 {
					width: 546px;
				}
				.TDW_content_top_01 {
					width: 506px;
					background-position: -1426px 0 !important;
				}
				.TDW_content_top_10 {
					width: 506px;
					background-position: -50px 0 !important;
				}
				.TDW_content_top_00 {
					background: none !important;
				}
				#TDW_content_in {
					background: url(../images/vLoops.png) 0 0 repeat-y;
				}
					#TDW_content_in_1 {
						background: url(../images/content_top.gif) 0 0 no-repeat
					}
						#TDW_content_in_2 {
							background: url(../images/content_bottom.png) 0 bottom no-repeat;
							min-height: 527px;
							padding: 0 5px;
						}
				#TDW_left {
					float: left;
					display: inline;
					width: 210px;
					overflow: hidden;
					background: url(../images/vLoops.png) -1176px 0 repeat-y;
				}
					#TDW_left .TDW_sidebar {
						background: url(../images/sidebar_bottom.png) 0 bottom no-repeat;
					}
					#TDW_left .TDW_sideConetnt {
						padding-left: 8px;
					}
				#TDW_mid {
					float: left;
					display: inline;
					width: 536px;
					overflow: hidden;
				}
				.TDW_mid_00 {
					width: auto !important;
					float: none !important;
					clear: both;
				}
				.TDW_mid_10, .TDW_mid_01 {
					width: 746px !important;
				}
				.TDW_mid_11 {
					
				}
					#TDW_posts {
						padding:6px;
						line-height: 1.5em;
					}
				#TDW_right {
					float: right;
					display: inline;
					width: 210px;
					overflow: hidden;
					background: url(../images/vLoops.png) -966px 0 repeat-y;
				}
					#TDW_right .TDW_sidebar {
						background: url(../images/sidebar_bottom.png) -210px bottom no-repeat;
					}
					#TDW_right .TDW_sideConetnt {
						padding-left: 8px;
					}
		#TDW_footer {
			color: #888;
			width: 956px;
			padding: 20px 0 10px 0; margin: 0 auto;
			direction: ltr; text-align: left; line-height: 1.7em;
		}
			#TDW_footer_right {
				text-align: right;
				padding:0px 10px 0 0;
				line-height: 1.7em;
				width: 315px;
				display: inline;
				float: right;
				overflow: hidden;
			}
			#TDW_footer_left {
				text-align: left;
				padding:0px 0 0 10px;
				line-height: 1.7em;
				width: 450px;
				display: inline;
				float: left;
				overflow: hidden;
			}
.TDW_sidebar {
	padding: 10px 0 70px 0;
}
/*****************************************/
/*** Joomla! to be changed content elements ***/
/*****************************************/

.TDW_sideConetnt ul li {
	background: url(../images/arrow_rtl.png) right 3px no-repeat;
}
.TDW_module_menu .TDW_sideConetnt ul li {
	background: none;
}
.TDW_module_menu .TDW_sideConetnt, .TDW_module_swMenu .TDW_sideConetnt {
	padding-right: 0;
	padding-left: 0;
}



.TDW_sideBox {
	margin: 0;
}
.TDW_sideBox h3 {
	font-family: tahoma;
	font-weight: normal;
	font-size: 11px;
	background: url(../images/sidebar_head.png) 3px 0 no-repeat;
	height: 27px;
	color: #535353;
	margin: 0;
}
.TDW_module_swMenu h3 {
	background: url(../images/sidebar_head_dif.png) 3px 0 no-repeat;
}
.TDW_sideBox h3 div {
	padding:4px 0 0 32px;
}
.TDW_sideConetnt {
	padding: 0px 5px 20px 5px;
	margin-top: 10px;
}
.TDW_sideConetnt form {
	margin: 0;
}
.TDW_sideConetnt ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.TDW_sideConetnt ul li {
	margin: 0 !important;
	padding: 2px 0 3px 10px !important;
	background: url(../images/arrow.png) left 8px no-repeat;
}

.blog_more {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 8px;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
}
.blog_more ul {
	padding: 0;
	margin: 10px 15px 0 0;
	list-style: none;
}
.blog_more ul li {
	margin: 0 !important;
	padding: 2px 0 3px 10px !important;
	background: url(../images/arrow.gif) left 8px no-repeat;
}

ul.menu_mainmenu {
	list-style:none !important;
	list-style-position: outside;
	margin: 0 !important;
	padding: 0 0 0 1px !important;
}
ul.menu_mainmenu ul {
	list-style:none !important;
	margin: 0 !important;
	padding: 0 15px 0 0 !important;
}
ul.menu_mainmenu li {
	padding: 0 !important;
	background: none;
}	
ul.menu_mainmenu a, ul.menu_mainmenu ul a {
	display: block;
	padding: 3px 4px 6px 0 !important;
	border-bottom: 1px dotted #e6e6e6;
	background: none;
	color: #555;
}
ul.menu_mainmenu a:hover, ul.menu_mainmenu ul a:hover {
	background: #accc56;
	color: #fff;
}

.TSC_module_menu div.TCS_content table {
	background:#fff url(../images/menu_normal.gif) top repeat-x;
	padding-top:3px !important;
}

.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 {
	padding:3px 0 0 0;
	text-align:left;
}
div.search input {
	width: 120px;
	font-size:11px;
	color:#777;
	background: #fff;
	border:1px solid #ccc;
	-moz-border-radius: 3px;
	direction: ltr !important;
	text-align: left !important;
}

table.poll td {
	text-align: left;
}

ul#mainlevel-nav {
	list-style:none;
	padding:7px 0px 0 0;
	margin:0;
	line-height:1em;
	direction: ltr;
}

ul#mainlevel-nav li	{
	background-image:none;
	margin:0;
	display:table-cell;
	font-size:11px;
	padding:0;
}

ul#mainlevel-nav li a {
	padding:1px 6px 3px 6px;
	display:inline;
	color:#f7f7f7;
	border-left: 1px solid #7eabb4;
}
ul#mainlevel-nav li a.topMenuFirst {
	border-right: 1px solid #131717;
}

ul#mainlevel-nav li a:hover {
	background: #f7f7f7;
	color: #025e6e;
}

#TDW_content div.moduletable {
}
#TDW_mid div.moduletable h3 {
	background: url(../images/content_head.png) right bottom no-repeat;
	color:#1c6f7d;
	padding:0px 10px 10px 7px;
	font-family:Tahoma;
	font-size:11px;
	font-weight:normal;
	-moz-border-radius-topright: 3px;
}
#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: right;
}
#TDW_content table.contentpaneopen td.createdate {
	text-align: right;
}

div.moduletable {
	padding:0 0 10px 0;
}
div.moduletable h3 {
	background:#67a3a6;
	padding:3px 10px 4px 0;
	font-family:Tahoma;
	font-size:11px;
	color:#fff;
	font-weight:normal;
}

#TDW_sidebarLeft ul, #TDW_sidebarRight ul {
	line-height: 1.7em;
	padding:0 15px 0 0;
	margin:0;
	text-align:right;
	list-style:url(../images/arrow2.png);
}





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/content_head.png) right bottom no-repeat;
	color:#1c6f7d;
	padding:0px 10px 10px 7px;
	font-family:Tahoma;
	font-size:11px;
	font-weight:normal;
	-moz-border-radius-topright: 3px;
}
table.contentpaneopen td.contentheading a {
	color:#fff;
}
table.contentpaneopen td.buttonheading {
	padding:1px 0 0 3px;
}
html>body table.contentpaneopen td.buttonheading {
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	color: #5b6065 !important;
	background:#fff url(../images/menu_normal.gif) bottom repeat-x;
	vertical-align: middle;
	font-size: 11px;
	direction:ltr;
	text-align: left;
	padding:1px 5px 5px 0 !important;
	margin:0 0px 1px 0;
	text-decoration: none;
	line-height:1.8em;
	height:auto !important;
	height:12px;
}

a.mainlevel:hover {
	color:#5b604f !important;
	background:#d1d7c0 url(../images/menu_over.gif) bottom repeat-x;
}

a.mainlevel#active_menu {
	color:#555 !important;
	background:#ccc url(../images/menu_normal.gif) bottom repeat-x;
	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:ltr;
	text-align: left;
	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 {
	text-align: left;
	direction: ltr;
}

.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; line-height:0 !important;
	color:#fff;
	text-align:center !important;
	padding:1px 5px 3px 5px;
	background:#7a8a8d;
	border:3px #fff double;
}
.button:hover {
	color:#fff;
	background:#09847a;
	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;
	margin: 0;
	height: 16px;
	line-height: 16px;
	overflow: hidden;
	color:#ddd;
}
span.pathway a {
	color: #eee;
}
span.pathway a:hover {
	color: #fff;
}

/* 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;
	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:1px solid #aaa;
	padding:1px;
}

.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: left;
}

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:left;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0 auto 0 0;
	padding: 0;
	border-collapse:collapse;
	border-spacing:0;
}

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;
	text-align: left;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align:left;
}

/* 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;
}
