/* ---------------------
basic layout
--------------------- */

* {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	direction:rtl;
}

.waterbody {
	background: url(../images/bg_body.jpg);
	margin:0px;
	color:#ffffff;
}

div,
td,
p {
	font-size:13px;
	line-height:18px;
	text-align: right;
	color:#333333;
}

a,
a:link,
a:active,
a:visited {
	text-decoration:underline;
	color:#fff;
}

a:hover {
	text-decoration:underline;
	color:#fff;
}

ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	list-style-type: square;
}

li {
	line-height: 18px;
	padding-right: 5px;
	padding-top: 10px;
	list-style-position: inside;
}

/** To center the objects **/
.center {
	text-align:center!important;
}

/** clear the banner to make it sit in the bottom **/
.clear {
	clear:both;
}

/* ---------------------
template layout
--------------------- */

/** wrapper to make the page center **/
#container {
	width:804px;
	margin: 55px auto;
	padding:0;
	text-align: right;
}

/**
hold background, it should be float:right
that's way we can not put it in #container
**/

/** div container for right column **/
#rightcol {
	position:relative;
	background:#969a7d;
	text-decoration:none;
}

#rightcol .mainlevel{
	padding-top:10px;
}

/** div footer **/
#footer {
	text-align: center;
	color:#171813;
	padding: 5px 0px;
	height: 30px;
	font-size:12px;
	font-weight:none;
}

/**div serch position **/
#search_top {
	vertical-align: middle;
	height: 26px;
	text-align: left;
	padding-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	clear: both;
}

#Menu_Top {
	height: 26px;
	padding-bottom: 0px;
	vertical-align: middle;
}

/** div wrapper for user2 & user3 **/
#content_top_wrapper {
	position:relative;
	float:right;
	clear:right;
	width:800px;
	display:inline;
	margin: 0 0 4px 6px;
}

/** div container for position:user2 **/
#content_top1 {
	position:relative;
	float:right;
	clear:right;
	width:240px;
}

/** div container for position:user3 **/
#content_top2 {
	position:relative;
	float:left;
	clear:left;
	width:240px;
}

/** div container for mainbody **/
#content_main {
	position:relative;
	float:right;
	width:500px;
	margin:10px 10px 10px 0;
	background-color:transparent;
	overflow:auto;
	word-wrap:break-word;
}


/** div container for banner position:banner **/
#banner {
	clear:center;
	float:center;
	width:700px;
	font-size:9px;
	background-color:transparent;
	text-align:center!important;
}

#advanced_search a{
	float: left;
	font-size: 12px;
	text-decoration: none;
	font-weight: none;
	padding:0px 0px 0px 0px;
	color: #3a6412;
}

#advanced_search a:hover{
	text-decoration: underline;
	color: #eec41e;
}

#top_login {
	color:#ffffff;
	font-weight: none;
	vertical-align: bottom;
	padding-right:13px;
	padding-left:10px;
	font-size: 11px;
	padding-bottom: 0px;
}

#top_login .inputbox {
	font-size: 10px;
	color: 000000;
}


#top_login .button {
	font-size:10px;
	color:#FFFFFF;
	background-color:#656751;
	border-left: 1px solid #333333;
	border-bottom: 1px solid #333333;
	border-right: 1px solid #888888;
	border-top: 1px solid #888888;
	width:400px;
	vertical-align: bottom;
	cursor: hand;
}

#top_login a:link,
#top_login a:active,
#top_login a:visited {
	font-size:14px;
	color:#FFFFFF;
	text-decoration: underline;
	padding-right: 5px;
	vertical-align: bottom;	
}

#top_login a:hover{
	color:#eec41e;
	text-decoration: underline;
}


/* ---------------------
mambo content layout
--------------------- */

/** pathway block **/
span.pathway {
	text-align:right;
	color:#000000;
	font-size:12px;
	font-weight:none;
	height:20px;
	margin-bottom:15px;
}

/** content title **/
.componentheading {
	color:#aa615a;
	font-size: 22px;
	line-height:25px;
	padding: 5px 0 5px 0px;
	display:block;
}

/** page title**/

.contentheading,
.contentpagetitle,
a.contentpagetitle:link,
a.contentpagetitle:active,
a.contentpagetitle:visited {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size:18px;
	color:#3a6412;
	font-weight: none;
	padding-top: 25px;
	background-color:inherit;
	display:block;
}

.contentpaneopen {
	width:100%;
}

/** pdf, printer version, and email to friend button **/
.buttonheading {
	width: 16px!important;
	text-align:left;
}


td.sectiontableheader {
	font-weight: none;
}

.category, .categorytitle {
	font-weight: none;
	color:#eec41e;
	background-color:inherit;
}

.sectiontableentry1,
table.pollstableborder tr.sectiontableentry1 {
	background-color: transparent;
	padding: 2px;
	color:#333333;
	
}

table.pollstableborder {
	background-color: #EFEFEF;
	padding: 2px;
	color:#333333;
}

.sectiontableentry2,
tr.sectiontableentry2 {
	background-color: #transparent;
	padding: 2px;
	color:#333333;
}

tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
	word-wrap:break-word;
}

/** blog Styles **/
.blogsection {
	color:#eec41e;
	background-color:inherit;
}

.blog_more {
	font-weight: none;
	line-height: 25px;
	padding-top: 20px;
	color: #333333;
	border-bottom: 1px solid #E5E5E5;
	background-color:inherit;
}

/** small text in content **/
.small {
	color:#637356;
	font-size:11px;
	font-weight: none;
	background-color:inherit;
}

/** date info in content **/
#content_main .createdate {
	color:#8a3412;
	font-size:10px;
	padding: 0px 0 12px 0;
	line-height:8px;
	background-color:inherit;
}

#content_main .modifydate {
	color:#8a3412;
	font-size:10px;
	padding: 0 0 12px 0;
	background-color:inherit;
}



/** toc page navigation  **/
.pagenav_prev,
.pagenav_next {
	font-size:13px;
}

/** content item navigation  **/
.pagenavbar  {
	width:100%;
	background-color:inherit;
	height:26px;
	line-height:0px;
	text-align:center;
	letter-spacing:0px;
	color:#999999!important;
	clear:both;
	font-size: 13px!important;
	margin-top: 0px;
}

.pagenav {
	text-align: center;
	font-size: 14px;
	font-weight: none;
	border: none;
	width: auto;
	
	background: none;
	padding: 0px 15px;
	line-height: 0px;
	color:#999999;
	margin: 1px;
}

.back_button {
	display:block;
	text-align:right;
	font-weight:none;
	font-size:14px;
	width:100%;
	margin-bottom:10px;
	letter-spacing:0px;
}

/** highlight word search result **/
.highlight {
	font-weight:none;
	background-color: #FFFF00;
	padding: 2px 0 2px 0;
	
}

/** table of content layout **/
table.contenttoc {
	border:1px solid #000000;
	padding:1px;
	width:130px;
	margin:  0 10px 10px 0;
}

/** table of content header **/
.contenttoc th {
	color:#FFFFFF;
	background-color:#666666;
	font-size:13px;
	display:block;
	width:124px;
}

/** unordered list for latest news module **/
ul.latestnews li,ul.mostread li {
    line-height: 0px;
	font-size:13px;
	font-weight:none;
	list-style-type: none;
	list-style-position: outside;
}

/** fix opera table width for content list in table category**/
table.contentpane td.contentdescription {
	width:100%!important;
}

/* ---------------------
Links
--------------------- */

/** any right column link **/
a:link,
a:active,
a:visited
 {
	color:#46483a;
	text-align:right;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
	color:#a3a16f;
}

a.pagenav:link ,
a.pagenav_next:link,
a.pagenav_pre:link,
div.back_button a,
div.back_button a:link,
a.latestnews:link,
a.latestnews:active,
a.latestnews:visited,
a.mostread:link,
a.mostread:active,
a.mostread:visited {
	text-decoration:none;
}

/*** read more link ***/
.readon,
a.readon:link,
a.readon:active,
a.readon:visited {
	color:#8a3412;
	font-weight:none;
	text-align:right;
	margin-top:10px;
	letter-spacing: 0px;
	font-size:13px;
	text-decoration:none;
}

/*** blog links ***/
a.blogsection:link,
a.blogsection:active,
a.blogsection:visited {
	color:#8a3412;
	text-decoration:none;
}

/** generic menu item link **/
#leftcol a.sublevel:link,
#leftcol a.sublevel:active,
#leftcol a.sublevel:visited {
	text-decoration:none;
	font-size:11px;
	text-align:right;
	line-height: 8px;
	color: #977242;
	margin-bottom: 10px;
}

#leftcol a.sublevel:hover {
	text-decoration: underline;
}


/** generic menu item link on mouseover **/
#rightcol a.mainlevel:hover{
	background-color:none;
	color:#FFFFFF!important;
	text-decoration:none!important;
}



/** specific top left column menu item link on mouseover **/
a.mainlevel-left:hover {
	background-color:#CCCCCC;
	text-decoration:none;
}

/** specific top right column menu item link **/
a.mainlevel-right:link,
a.mainlevel-right:active,
a.mainlevel-right:visited,
a.sublevel-left:link,
a.sublevel-left:active,
a.sublevel-left:visited {
	color:#fff;
	text-decoration:none;
	font-size:13px;
}

/** specific top right column menu item link on mouseover **/
a.mainlevel-right:hover {
	background-color:#CCCCCC;
	text-decoration:none;
}


/** pathway link item **/
a.pathway:link,
a.pathway:link,
a.pathway:active,
a.pathway:visited {
	color:#8a3412;
	text-decoration:none;
}

/** table of content list **/
a.toclink:link,
a.toclink:active,
a.toclink:visited {
	color:#eec41e;
	font-size:13px;
	padding:2px 10px 2px 10px;
	display:block;
	text-decoration:none;
}

.pagenavbar a:link,
.pagenavbar a:active,
.pagenavbar a:visited  {
	letter-spacing:0px;
	color:#000000;
	font-size: 13px;
	text-decoration: none;
	
	
}

.pagenavbar a:hover {
	color:#eec41e;
}

/** latestnews and popular **/
.latestnews,
.mostread {
	color:#feff82;
}

a.latestnews:link,
.mostread a:link,
.latestnews a:active,
.mostread a:active,
.latestnews a:hover,
.mostread a:hover,
.latestnews a:visited,
.mostread a:visited {
	color:#000000;
	text-decoration:underline;
}

/** underline on hover **/
a.toclink:hover,
a.latestnews:hover,
a.mostread:hover,
a.pathway:hover,
a.sublevel:hover,
a.sublevel-left:hover,
a.blogsection:hover,
a.readon:hover,
a.pagenav:hover ,
a.pagenav_next:hover,
a.pagenav_pre:hover,
a.latestnews:hover {
	text-decoration:underline;
	color:#a3a16f;
	background-color:inherit;
}

#rightcol a:hover {
	color: #fff;
	text-decoration:none;
}

#active_menu {
	color:#977242;
	font-weight: none;
}

a#active_menu:hover {
	color: #a3a16f;
}


/* ---------------------
mambo module layout
--------------------- */

/** general module table **/
table.moduletable,
#rightcol table {
	width:100%;
	float:right;
	clear:right;
}

/** general module table **/
#rightcol table td {
	font-size:14px !important;
	color:#000;
}

/** general module title **/
/*table.moduletable th,
table.moduletable-bgimg th,
table.moduletable-left th {
	border: 1px solid #000000;	
	color:#FFFFFF;
	font-size:15px;
	line-height:20px;
	background-color:#222222;
	height:35px;
	vertical-align:middle;
	text-align:right;
	padding-right:15px;
	font-weight:normal;
}*/

/** specific module td table for content top 1 and 2. 
position:user2 an user3 **/
#content_top1 table.moduletable td,
#content_top2 table.moduletable td {
	background:transparent url(../images/bg_module_contenttop.jpg) no-repeat center bottom;
	height:100px;
	min-height:100px;
	vertical-align:top;
}

/** generic menu item **/

.mainlevel {
	display:block;
	font: none 14px/25px Tahoma, Arial, Helvetica, sans-serif !important;
	padding-right:0px;
	background:transparent;
	font-weight:none;
	text-decoration:none;
}

/** specific right column form **/
#rightcol form {
	margin-right:0px;
}

/** specific right column form **/
#rightcol .button {
	font-size:12px;
	color:#FFFFFF;
	background-color:#585858;
	border-left: 1px solid #333333;
	border-bottom: 1px solid #333333;
	border-right: 1px solid #888888;
	border-top: 1px solid #888888;
	width:40px;
}


/** specific right column form **/
#rightcol .inputbox {
	font-size:12px;
	font-weight: none;
}

/** module styles in #rightcol **/

#leftcol .moduletable {
	background-image: url(../images/moduletable_bg.png);
	background-position: bottom;
	background-repeat: no-repeat;
	margin-bottom: 0px;
	padding: 0px 0px 30px 0px;
	width: 178px;
} 
#leftcol .moduletable th {
	background-image: url(../images/moduletable.png);
	height: 43px;
	width: 178px;
	background-repeat: no-repeat;
	color: #000;
	line-height: 43px;
	margin-bottom: 10px;
	background-position: bottom;
	padding: 0px 10px 0px 0px;
} 

#leftcol table.moduletable tr td {
	padding: 0px 8px 5px 0px;
}


/** search div in top left column. position:user4 **/
div.search {
	padding-right: 0px;
	float: left;
}

/** search field in search div **/
.search .inputbox {
	width:130px;
	border: 1px solid #a2a991;
	margin-left: 4px;
}

/* ---------------------
mambo form layout
--------------------- */

/** right column input form **/
#rightcol .inputbox {
	font-size:15px;
	/*border: 1px solid #000000;*/
	margin-bottom:2px;
}



/** input button html tag **/
.button {
	font-size:11px;
	text-transform:uppercase;
	color:#393c33;
	font-weight:none;
	background-color:#a4ad8e;
	border-top: 1px solid #e9eed9;
	border-left: 1px solid #747a64;
	border-bottom: 1px solid #747a64;
	border-right: 1px solid #e9eed9;
}

.search  {
	margin: 0px;
	padding: 0px;
}



/* 
mambo top menu layout
you need to add menu class suffix: -nav
*/

/** unordered list top menu **/
ul#mainlevel-nav
{
	list-style: none;
	padding-right:10px;
	margin: 0;
	font-size: 0.8em;
	text-align: center;
}

/** unordered list item for top menu **/
ul#mainlevel-nav li
{
	padding-right: 0px;
	padding-left: 0px;
	float: right;
	margin: 0;
	width: auto !important;
	font-size: 12px;
	padding-top: 0px;
}

/** unordered list item link for top menu **/
ul#mainlevel-nav li a
{
	padding-right: 0px;
	padding-left: 10px;
	text-decoration: none;
	font-size: 12px;
	text-align: center;
	color: #4d5145;
	font-weight:none;
	border-left: 1px solid #909781;
}

/** unordered list item for top menu for firefox only **/
ul#mainlevel-nav li a:hover {
	background: none;
	color:#f2f8df;
	text-decoration:underline;
}



/** for polls **/
.poll {
	font-size:13px;
	line-height: 24px;
}

table.pollstableborder .sectiontableentry2 {
	background-color:transparent; 
	text-align:right;
}
table.pollstableborder .sectiontableentry1 {
	background-color:#9da183; 
	text-align:right;
}

.moduletable_bgimg table.pollstableborder td.sectiontableentry2,
.moduletable_bgimg table.pollstableborder td.sectiontableentry1 {
	background-color:transparent!important; 
	text-align:right!important; 
}

/** hack to make any div or table inside content will not stretcg outside area*/
table.contentpane  table table input.inputbox {
	max-width:80px;
	width:50px;
}

table.contentpane {
	width:390px!important;
}

.contentpaneopen {
	width:100%!important;
}

.contentpaneopen tr.sectiontableentry2 td,
.contentpaneopen tr.sectiontableentry1 td{
	display:block;
	width:390px!important;
}

#con_global div, #con_global table,
#hp_view_standard_photo_con1 div div,
#hp_view_agen_con {
	width:390px!important;
	text-align:right;
}

#hp_view_standard_photo_con1 div div,
#hp_view_standard_photo_con2,
#hp_view_standard_photo_con3,
#hp_view_agen_con {
	width:390px!important;
	text-align:right;
}

table.contentpane  table  {
	width:390px!important;
	text-align:right;
}

table.contentpane  td.contentheading  {
	width:200px!important;
}

table.contentpane  td.buttonheading  {
	width:150px!important;
}

