/* RTL Overrides */

div#header_r {
	padding-right: 370px;
	padding-left: 30px;
	text-align: right;
	direction: rtl;
}

div#logo {
	left: auto;
	right: 0;
	float: right;
	margin-right: 30px;
}

div#newsflash {
	margin-right: 350px;
	margin-left: 30px;
}

#pathway {
	padding: 0px 0px 8px 10px;
	margin-right: 30px;
	text-align: right;
direction: rtl;
	float: right;
}

#search {
	direction:rtl;
	float: left;
	margin-left: 30px;
}

#search input {
	float: left;
}

#mod_search_searchword {
	padding-right: 3px;
}

#whitebox div {
	direction:rtl;
	text-align:right;
}

/* horizontal pill menu */
table.pill {
  direction: ltr;
}

#leftcolumn {
	float:right;
}

/***  mostafa1/**/
#maincolumn,
#maincolumn_full {
	margin-right: 20%;
	margin-left: 0%;
	padding-right: 15px;
	padding-left: 0px;
}

/* headers */
div.componentheading {
  padding-right: 0px;
}

h1 {
	text-align: right;
direction: rtl;
}

h2, .contentheading {
	text-align: right;
direction: rtl;
}

h3, .componentheading, table.moduletable th, legend {
	padding-right: 0px;
	text-align: right;
direction: rtl;
}

/* small text */
.small {
	text-align:right;
}

.modifydate {
	text-align: right;
direction: rtl;
}

a.readon {
	background: url(../images/mw_readon_rtl.png) top left no-repeat;
	padding-left: 20px;
	padding-right: 0px;
	direction:rtl;
	float: right;
}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
	padding-right: 5px;
	padding-left: 0px;
}

.column_separator {
	border-left: none;
	padding-left: 0px;
	border-right: 1px dashed #e0e0e0;
	padding-right: 10px;	
}

div.module_menu h3 {
	margin: -23px -5px 5px -4px;
	padding-right: 10px;
	padding-left: 0px;
}

div.module_menu ul {
	margin: 10px 0 0 0;
	padding-right: 20px;
	padding-left: 0px;
}

#leftcolumn div.module {
	padding: 0 0 0 10px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: right;
direction: rtl;
	height: 30px;
}

div.message {
	margin: 3px 0px 10px 0px;
	padding: 3px 0px 0px 20px;
}

.bannerfooter_text {
	text-align: left;
}

/* Polls */
.pollstableborder td {
	text-align: right;
	direction:rtl;
}

form#form-login ul {
	padding-right:20px;
	padding-left: 0px;
}

/* edit button */
.contentpaneopen_edit{
	float: right;
}
