/* ************************************* */
/* Common styles for the theme           */
/* ************************************* */

}
#sidebar ul, #sidebar ul li {
	margin:0 0 25px 0;
	padding:0;
	font:11px "Trebuchet MS", Verdana, Arial;
	list-style-type: none;
}
#sidebar ul li ul {
	margin:0;
	padding:0;
}
#sidebar ul li ul li {
	margin: 0;
	padding: 3px 0 3px 22px;
	background:url(images/bullet.png) no-repeat;
	background-position:5px 9px;
	border-bottom:1px solid #d2e4ed;
}
#sidebar ul li ul li a {
	color: #187298;
	line-height:18px;
	text-decoration: none;
	border-bottom:none;
}
#sidebar ul li ul li a:hover {
	text-decoration: none;
	color:#ef0e0e;
	background-position:0 6px;
}
#sidebar ul li ul li ul li {
	bac1kground: none;
	margin:0;
	padding: 3px 0 3px 22px;
	border-bottom:none;
}
#sidebar ul li ul li ul li a {
	color: #187298;
	margin: 0;
	text-decoration: none;
}
#sidebar ul li ul li ul {
	border: none;
	padding: 0;
	margin: 0;
}
#sidebar ul li ul li ul li a:hover {
	color:#ef0e0e;
	background-position:0 8px;
}
#sidebar .subscribetextbg {
	height:28px;
	padding:3px 0;
	width:280px;
	padding:5px 0 5px 0;
	background:url(images/subfield.png) no-repeat;
}
#sidebar .subscribe_textield {
	width:260px;
	border:none;
	background:none;
	font:12px tahoma;
	color:#666;
	margin:6px 0 0 5px;
	float:right;
	padding-right:10px;
	padding-top:2px;
}
#sidebar .rssfeed {
	float:right;
	margin-top:3px;
	padding:0 8px 0 -1px;
}
#sidebar .subscribe {
	float:right;
	margin:-13px 5px 0 0;
}

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

.tab_container {
	margin: 0px;
	padding: 0px;
	
	border: 5px solid #eeeeee;
}










.sidebar{
	float:right;
	width:250px;
	padding-top:10px;
	padding-right:0px;
   font-size: 9pt;
	font-family: tahoma
	}

.sidebar h2 {
	height:35px;
	line-height:35px;
   font-size: 9pt;
	color:#fff;
	margin:5px 0 0 0 ;
	padding:10px 0 0 5px;
	background:#143748 url(images/h2.png);
	background-repeat:repeat-x;
	}
.sidebar ul {
	list-style-type: none;
	margin: 0 ;
	padding: 0;

	}

.sidebar ul ul  {
	list-style-type: none;
	margin: 0;
	padding: 0px 5px 10px 5px;
	background:#709649;


	}

.sidebar ul ul ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border:0;

	}



.sidebar ul ul ul ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border:0;

	}
	
.sidebar ul li {
	height:100%;
		line-height:18px;
	}

.sidebar ul li a:link, .sidebar ul li a:visited {
	color: #444;
	text-decoration: none;
	padding: 5px 0px 5px 5px;
	display:block;
	font: tahoma;
	background:#ffffff;
	background-repeat:no-repeat;
	border-bottom:1px solid #e0ffb6;
	}

.sidebar ul li a:hover {
	background:#e0ffb6;
	background-repeat:no-repeat;
	color:#111;
	}



.sidebar p {
	padding: 7px 10px;
	margin:0;

	}

.sidebar table {
	width:100%;
	text-align:center;
	background-color:transparent;
	}	/* --- FOOTER --- */
	



	
	
	
input, button {
   font-size: 19 pt;
}

	
	
	
	
/* The Sidebar1 */
.sidebar1{
float:right;
	width:140px;
	padding-top:0px;
	padding-left:0px;
   font-size: 9pt;
	font-family: tahoma
	

	}

.sidebar1 h2 {
   font-size: 9pt;
   width:145px;   
   background:#bbbbae;
	color:#000;
   padding-top:0px;
   text-align:center;
	border-bottom:1px solid#fff;
	border-right:1px solid #fff;
	border-left:1px solid#fff;   
font-weight:normal;
	line-height:22px;
	}
.sidebar1 h3 {
   font-size: 9pt;
   width:146px;   
   background:#bbbbae;
	color:#000;
   padding-top:0px;
   text-align:center;
	border-right:1px solid #fff;
	border-left:1px solid#fff;   

	line-height:22px;
	}
.sidebar1 ul {
	list-style-type: none;
	margin: 0 ;
	padding: 0;
	}

.sidebar1 ul ul  {
	list-style-type: none;
	margin: 0;
	padding: 0px 0px 0px 0px;
	background-repeat:no-repeat;
	}

.sidebar1 ul ul ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border:0;
	}

.sidebar1 ul ul ul ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border:0;
	}
	
.sidebar1 ul li {
	height:100%;
	line-height:18px;
	}

.sidebar1 ul li a:link, .sidebar1 ul li a:visited {
	color: #000;
	text-decoration: none;
	padding: 2px 0px 2px 5px;
	display:block;
	background:##bbbbae;
   font-size: 9pt;
	width:135px;
	background-repeat:no-repeat;
	border-bottom:1px solid#fff;
	border-right:1px solid #fff;
	border-left:1px solid#fff;
   padding-right:5px;		
	}

.sidebar1 ul li a:hover {
	background:#fff;
	color: #a53802;
	background-repeat:no-repeat;
	text-align:center;
	background: #fff url(images/right_char.png) no-repeat;

	}
.current a:hover {
	background:#fff;
		color: #fff;

	}
.sidebar1 p {
	padding: 7px 10px;
	margin:0;

	}

.sidebar1 table {
	width:100%;
	text-align:center;
	background-color:#1f1f1f;
		color: #fff;
	}	
	
	
	
	
	
	
	
	
	
	
	
	
	
.postinfo {
	height:31px;
	padding: 0px 5px 2px 2px;

			}
.spostinfo {
	height:23px;
	padding: 7px 5px 2px 2px;

			}
.spostinfo a:link{
	color:#e64912;
	font-weight:normal;
	text-decoration:none;
	}			
.postinfo a:link{
	color:#e64912;
	font-weight:normal;
	text-decoration:none;
	}









.com{
	background:url(images/com.png) no-repeat;
	padding:0 0 0 20px;
}

.com a:link,
.com a:visited {

	color:#a4a4a4;

}
.com a:hover{

	color:#eee;
}








	
	
	
	
	
	
	

.moduletable, {	
		width:100%;	
		float:left;	
		clear:left; 
}

#leftcol .moduletable { 
		color:#000000;
}
#rightcol .moduletable { 
		color:#030303;
}



.moduletable h2,.moduletable-right h2 {	
		border: 1px solid #000000;		
		color:#FFFFFF;	
		font-family: Trebuchet MS, "Times New Roman", Times, serif;	
		font-size:13px;	
		text-transform:uppercase; 
		line-height:20px;	
		background-color:#000000;	
		height:20px;	
		text-align:left;	
		padding-left:15px;	
}

#leftcol .moduletable p {	
		color:#DADADA;	
		font-size:11px; 
		margin:15px 10px 5px 15px; 
		text-align:left;
}

#leftcol .moduletable p.more-bg{
		display:block;
		width:41px;
		height:11px;
   font-size: 9pt;
		margin:0 0 0 15px;
}
#leftcol .moduletable p.more-bg a{
		display:block;
		background:url(images/btn_more.gif) 0 0 no-repeat;
		width:42px;
		height:11px;
}
#leftcol .moduletable p.more-bg a:hover{
		background:url(images/btn_more_hover.gif) 0 0 no-repeat;
}

#rightcol .moduletable { 
		color:#030303;
}
#rightcol form {
		text-align:center;
}
	
	
	
	
	
.social_icon {

	height:30px;
	float: left;

}
.links {
	width: 150px;
	height: 31px;
	padding-top:5px;
	background: url(images/more.png) no-repeat ;
	text-align: center;
   font-size: 9pt;
}
a:link {
   color: #000;
      line-height: 190%;
   text-decoration: none;
}


a:visited {
   color:#a23602 ;
   text-decoration: none;
}

a:hover {
   text-decoration: none;color:#a23602;

}

/* Tables should show empty cells. */
table {
   empty-cells: show;

}

/* set a fontsize that will look the same in all browsers. */
body {
   line-height: 150%;
   font-family: tahoma, sans-serif;
   background: #9f9f95;
   padding: 0;
   margin: 0;
   font-size: 9pt;
}

/* use dark grey for the text, leaving black for headers etc */
body, td, th , tr {
   color: #565656;
}

/* lets give all forms zero padding/margins */
form {
   padding: 0px;
   margin: 0px;
}

/* Input boxes - just a bit smaller than normal so they align well. */


input, .button {
   font-size: 19 pt;
}

textarea {
   font-size: 9pt;
   color: #000000;   width:99%;
   font-family: tahoma;
   border-top:#000;
   border-top: 1px solid #868685;
      border-left: 1px solid #868685;
   border-bottom: 1px solid #868685;
      border-right: 1px solid #868685;
}

/* All input elements that are checkboxes or radio buttons. */
input.button {
border-top:#1px solid #000;	height:17px;
                                          border-bottom:1px solid #000;  border-left:1px solid #000;  border-right:1px solid #000;  background:#FFF; color:#000;
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select {
   font-size: 9pt;
   font-weight: normal;
   color: #000000;
   font-family: tahoma, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #999;
   background-color: #989898;
}

/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
   color: black;
   font-size: 9pt;
   margin: 0;
   padding: 0;
}

/* No image should have a border when linked. */
a img
{
   border: 0;
}

/* No lines around buttons in Firefox! */
a
{
   outline: none;
}

/* Reset all lists. */
ul, ul li
{
   padding: 0;
   margin: 0;
   list-style: none;
direction:rtl;  text-align: right;
}

/* We can define lists to be lists tho! */
ul.normallist
{
   padding-left:   2em;direction:rtl;  text-align: right;
}

ul.normallist li
{
   list-style: disc;direction:rtl;  text-align: right;
}

/* NOTE: REMOVE THIS??!?!?!! */
/* But do use them in the posts area! */
.post {
}

.post .title {
	height: 38px;
	padding: 12px 0 0 20px;
	letter-spacing: -.5px;
	color: #181818;
}

.post .title a {
	color: #181818;
	border: none;
}

.post .meta {
	margin-top: -10px;
	padding-bottom: 5px;
	padding-left: 20px;
	text-align: right;
	font-family: tahoma;
   font-size: 9pt;
	font-weight: bold;
}

.post .meta a {
}

.post .entry {
	background: url(images/img10.jpg) repeat-y left top;
	text-align: justify;
}

.post .up-left {
	background: url(images/up-left.png) no-repeat left top;
}
.post .up-right {
	background: url(images/up-right.png) no-repeat right top;
}
.post .down-right {
	background: url(images/down-right.png) no-repeat right top;
}
.post .down-left {
	background: url(images/down-left.png) no-repeat left top;
}
.post .bkg {
	background: #efefe6 ; 
	text-align:center;
}
.post .bkg_1 {
	background: url(images/1-img07.jpg) repeat-x left top; 
}
.post .bkg_comm {
	background: url(images/1-img_comm.jpg) repeat-x left top; 
}
.titlebg .dot {
	background: url(images/img07.jpg) repeat-x left top; 
	text-align:right;
}
/* ************************************* */
/* Some handy custom classes             */
/* ************************************* */

.floatright
{
   float: right;
}
.floatleft
{
   float: left;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext, .middletext {
   font-size: 9pt;
   font-family: tahoma, sans-serif;
   text-align:center;
   color: #000;
}

.normaltext
{
   font-size: 9pt;
}
.largetext
{
   font-size: 9pt;
}

/* This style will make sure all headers use the same padding throughout. */
.headerpadding
{
   padding: 0.5em; 
}
/* smaller padding used in paragraphs, sections etc */
.smallpadding
{
   padding: 0.2em;
}
/* larger padding used in paragraphs, sections etc */
.largepadding
{
   padding: 0.7em;
}

/* A small space to the next section. */
.marginbottom
{
   margin-bottom: 1em;
}
/* On the top too. */
.margintop
{
   margin-top: 1em;
}
/* remove bold/italic styles */
span.plainstyle
{
   font-weight: normal;
   font-style: normal;
}
/* float a list horisontally */
ul.horizlist
{
   width: 100%;
}
ul.horizlist li
{
   float: right;
   padding: 0.2em 0.4em 0.2em 0.4em;
   vertical-align: top;
}
/* make a inline-list */
ul.nolist li
{
   display: inline;direction:rtl;  text-align: right;
}
/* Helping style to clear floated items. */
:after.clearfix 
{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix 
{
   display: inline-block;
}

/* Hides from IE-mac. \*/
* html .clearfix 
{
   height: 1%;
}
.clearfix 
{
   display: block;
}
/* End hide from IE-mac. */

/* ************************************* */
/* Some specific SMF elements            */
/* ************************************* */

/* A quote, perhaps from another post. */
blockquote { 
   color: #343434;
   background-color: #FBEAE2;
   border: 1px solid #7E7B7A;
   margin: 1px;
   padding: 2px;
   font-size: 9pt;
   line-height: 1.3em;
}

/* A code block - maybe even PHP ;). */
code {
   color: #980201;
   background-color: #efefe6  ;
   display: block;
   font-family: tahoma;
   font-size: 9pt;
   line-height: 1.6em;
   /* Put a nice border around it. */
   border-top: 1px solid #000;
      border-left: 1px solid #000;
   border-bottom: 1px solid #000;
      border-right: 1px solid #000;
   margin: 1px auto 1px auto;
   padding: 2px;
   padding-left:5px;
   direction: ltr;text-align:left;
 line-height: 2em;
   overflow: auto;
   white-space: wrap;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
   font-weight:bold;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #282828;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: 9pt;
   line-height: 1.2em;
}
.entry
{
white-space: nowrap;
   color: #282828;
   text-decoration: none;
   font-style: normal;
   line-height: 1.2em;
}
.alignleft{text-align:center;padding-top:20px;}
/* For links to change the code stuff... */
.codeoperation
{
   font-weight: normal;
}

/* Styling for BBC tags */
.bbc_color a
{
   color: inherit;
}

.bbc_img
{
   border: 0;
}

.bbc_list
{
   margin-top: 0;
   margin-bottom: 0;
}

.bbc_size
{
   line-height: 1.3em;
}

.bbc_table
{
   font: inherit;
   color: inherit;direction:rtll;
}

.bbc_table td
{
   font: inherit;
   color: inherit;direction:rtll;
   vertical-align: top;
}

.bbc_u
{
   text-decoration: none;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
   font-size: 9pt;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* A more discreet highlight colour, for selected membergroups etc. */
.highlight2
{
   background-color: #B3F4B0;
   color: black;
}

/* ************************************* */
/* Real common classes                   */
/* ************************************* */

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body {
   background: #efefe6; 
}

.windowbg2 {
   background: #fff;
}

.windowbg3 {
   background: #e4e4db;
}

/* Color for background of posts requiring approval */
.approvebg
{
   color: #000000;
   background-color: #F6E0D4;
}

/* Color for background of *topics* requiring approval */
.approvetbg {
   color: #000000;
   background-color: #E4A17C;
}

/* the today container in calendar */
.calendar_today {
   background: #f5f5f5;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg1{
   color: #fff;

   background:  url(images/dot.png) repeat-x;

   text-align:center;
   height:30px;
   line-height: 2em;
   vertical-align:middle;   
}

.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td, #credits h3 {
   color: #fff;
   font-weight: bold;
   background: #852c01 url(images/titlebg.png) repeat-x;
   padding-left: 10px;
   padding-right: 10px;
   text-align:center;
   height:30px;
   line-height: 2.5em;
   vertical-align:middle;   
   
}
.titlebg, .titlebg a:link, .titlebg a:visited {
   color: #fff;
   font-style: normal;
   font-size: 9pt;
}

.titlebg a:hover {
   text-decoration: none;   color: #000;
}

.titlebg2 td, td.titlebg tr td {
   color: white;
}

/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited {
   color: #eee;
   font-style: normal;
   text-decoration: none;
}

.titlebg2 a:hover {
   color: #b2b2b2;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers. */
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td {
   color: #282828;
   padding-left: 10px;
   padding-right: 10px;
   background: #8b8b81 url(images/catbg.png) repeat-x;
}

.catbg2 , tr.catbg2 td {
   color: #404040;
   padding-left: 10px;
   padding-right: 10px;
   background: #8b8b81 url(images/catbg.png) repeat-x;
}

.catbg, .catbg2, .catbg3
{
   border-bottom: solid 1px #bbb;
}

.catbg, .catbg2 {
   font-weight: normal;
   font-size: 9pt;
   text-transform: uppercase;
}

.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
   font-size: 9pt;
   color: #454545;
   text-decoration: none;
}

.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited {
   color: #333;
   text-decoration: none;
}

.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
   color: #000;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
   background-color: #d5d2d2;
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder {
   padding: 1px;
   border: 1px solid #d5d2d2; 
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   overflow: auto;
   line-height: 1.3em;
   width: 100%;
}
.postarea .post
{
   clear: right;
   float: right;
}
/* add a visual divider between subject and post */
.post .inner
{
   padding-top: 0.7em;
   border-top: solid 1px #d5d2d2;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   clear: right;
   padding: 1em 0 3px 0;
   border-top: solid 1px #d5d2d2;
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
   color: red;
}

/* Calendar colours for birthdays, events and holidays */
.birthday
{
   color: #920AC4;
}

.event
{
   color: #078907;
}

.holiday
{
   color: #000080;
}

/* Colours for warnings */
.warn_mute
{
   color: red;
}

.warn_moderate
{
   color: orange;
}

.warn_watch
{
   color: green;
}

a.moderation_link, a:visited.moderation_link
{
   color: red;
   font-weight: bold;
}

.openid_login
{
   background: white url(images/openid.gif) no-repeat;
   padding-left: 18px;
}

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 9pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}

#ajax_in_progress a
{
   color: white;
   text-decoration: none;
   font-size: 9pt;
   float: left;
}

/* ************************************* */
/* Buttons and menus                     */
/* ************************************* */

.buttonlist ul, .buttonlist_bottom ul
{
   background: url(images/maintab_first.gif) no-repeat bottom left;
   padding-left: 10px;direction:rtl;  text-align: right;
}
.buttonlist ul li, .buttonlist_bottom ul li
{
   margin: 0;
   padding: 0;direction:rtl;  text-align: right;
   display: inline;
}
.buttonlist ul li a, .buttonlist_bottom ul li a
{
   float: right;
   display: block;
   color: #282828;
   font-size: 9pt;direction:rtl;  text-align: right;
   font-family: tahoma, sans-serif;
   text-transform: uppercase;
}
.buttonlist ul li a:hover, .buttonlist_bottom ul li a:hover
{
   color: #000;
   text-decoration: overline;direction:rtl;  text-align: right;
}
.buttonlist ul li a span, .buttonlist_bottom ul li a span
{
   display: block;
   padding: 0.1em 0.5em 0.5em 0.5em;direction:rtl;  text-align: right;
}
.buttonlist ul li a.active, .buttonlist_bottom ul li a.active
{
   display: none;
}
.buttonlist ul li a.active span em, .buttonlist_bottom ul li a.active span em
{
   padding: 0.1em 0.5em 0.5em 0.5em;
   display: block;
   font-style: normal;direction:rtl;  text-align: right;
}
.buttonlist ul li a.active span, .buttonlist_bottom ul li a.active span
{
   display: none;direction:rtl;  text-align: right;
}
.buttonlist ul li a span.last, .buttonlist_bottom ul li a span.last
{
   padding: 0.1em 1em 0.5em 0.5em;direction:rtl;  text-align: right;
}

/* For links that are basically submit buttons. */
.buttonlist_submit
{
   background: transparent;
   color: white;
   text-transform: uppercase;
   vertical-align: top;
   text-decoration: none;
   font-size: 9pt;
   font-family: tahoma, sans-serif;
   border: 0;
}

:hover.buttonlist_submit
{
   color: #000;
   text-decoration: overline;
}

/* ..for the "bottom" menu */
.buttonlist_bottom ul
{
}
.buttonlist_bottom ul li a span
{
   padding: 0.5em 0.5em 0.1em 0.5em;
}
.buttonlist_bottom ul li a.active
{
}
.buttonlist_bottom ul li a.active span em
{
}
.buttonlist_bottom ul li a.active span
{
}
.buttonlist_bottom ul li a span.last
{
   padding: 0.5em 1.5em 0.1em 0.5em;direction:rtl;  text-align: right;
}
/* the old type of menu, with images */
.oldbuttonlist
{
   text-align: right;
   padding: 0.5em;direction:rtl;  text-align: right;
}

/* ************************************* */
/* The below is deprecated.              */
/* ************************************* */

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
   vertical-align: top;
   text-transform: uppercase;
}

.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
   text-decoration: none;
   font-size: 9pt;
   padding: 5px;
}

.maintab_first,.mirrortab_first {
    display: none;
}

.maintab_back,.mirrortab_back {}

.maintab_last,.mirrortab_last {
   display: none;
}

.maintab_active_first, .mirrortab_active_first {
   display: none;
}

.maintab_active_back, .mirrortab_active_back {
   text-decoration: overline;
}

.maintab_active_last, .mirrortab_active_last {
   display: none;
}

/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
   color: #222;
   text-decoration: none;
}

.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
   color: #282828;
   text-decoration: none;
   font-weight: bold;
}

.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
   color: #000;
   text-decoration: overline;
}

/* These are for the auto suggest floating div type thing. */
.auto_suggest_div
{
   border: 1px solid #505050;
   position: absolute;
   font-size: 9pt;
}

/* An auto suggest item */
.auto_suggest_item
{
   background-color: #FAFAFA;
   padding: 2px;
}

/* hovered auto suggest item */
.auto_suggest_item_hover
{
   background: url(images/autosuggest_back.gif) repeat-x;
   background-color: #7897B4;
   padding: 2px;
   cursor: pointer;
   color: white;
}

.wrapper {
   width: 98%;
   margin: 0 auto;
   padding: 0;
}

#toparea {
   background: url(images/custom/toparea.png) 0 0 repeat-x; 
}

#topbox {
   background: url(images/custom/toparea-m.png) 50% 0 no-repeat;
   height: 45px;
}

#userarea {
   text-align: center;
   padding: 15px 0 0;
   color: #555;
}

#userarea a:link, #userarea a:visited {
   color: #000;
}

#userarea a:hover {
   color: #ccc;
   text-decoration: none;
}

#mainarea {
   background: #bbbbae;
   padding: 0 0 20px 0;
}

#bodybox {
   background: #ffffff url(images/custom/right.png) 100% 0 repeat-y;
}

#bdybox-l {
   background: url(images/custom/left.png) 0 0 repeat-y;
}

#bdybox-b {
   background: url(images/custom/bot.png) 0 100% repeat-x;
}

#bdybox-br {
   background: url(images/custom/bot-r.png) 100% 100% no-repeat;
}

#bdybox-bl {
   background: url(images/custom/bot-l.png) 0 100% no-repeat;
}

#bdybox-t {
   background: url(images/custom/top.png) 0 0 repeat-x;
}

#bdybox-tr {
   background: url(images/custom/top-r.png) 100% 0 no-repeat;
}

#bdybox-tl {
   background: url(images/custom/top-l.png) 0 0 no-repeat;
   padding: 20px;
}

#header {
   position: relative;

   overflow: hidden;
   background: #bbbbae;
}

#logo-left
{
direction:ltr;
}

#searcharea {
   position: absolute;
   bottom: 15px;
   right: 10px;
   height: 32px;
   width: 172px;direction:rtll;  text-align: right;
   background: url('images/custom/searchbox.png') no-repeat;
   overflow: hidden; text-indent:5; 
}





#xtoolbar-l {
   background: #004f4f url(images/custom/barl.png) 0 0 no-repeat;
   padding-left: 15px;
}
.xtoolbar-r {
   background: #504f4f url(images/custom/barr.png) 0 0 no-repeat;
   padding-left: 15px;
}
#xtoolbar-rl {
   background: #504f4f url(images/custom/barrl.png) 100% repeat-x;
   padding-left: 50px;
}



#toolbar {
   background: #504f4f url(images/custom/toolbar-bg.png) 0 0 repeat-x;
   height: 50px;
}
#xtoolbar {
   background: #504f4f url(images/custom/barrl.png) 0 0 repeat-x;
   height: 50px;
}

#toolbar-l {
   background: #504f4f url(images/custom/toolbar-l.png) 0 0 no-repeat;
   padding-left: 20px;
}

#xtoolbar-l {
   background: #004f4f url(images/custom/barl.png) 0 0 no-repeat;
   padding-left: 20px;
}
#toolbar-r {
   background: #504f4f url(images/custom/toolbar-r.png) 100% 0 no-repeat;
   padding-right: 15px;
}
#xtoolbar-r {
   background: #504f4f url(images/custom/barr.png) 100% 0 no-repeat;
   padding-right: 15px;
}
#topmenu {
   display: block;
   position: relative;
   height: 32px;
   font-size: 9pt;
   margin: 0;
   text-align: right;direction:  rtl;
   padding: 0;
}
#usermenu {
   display: block;
   position: relative;
   height: 32px;
   font-size: 9pt;
   margin: 0;
   text-align: right;direction:  rtl;
   padding: 0;
}






#mainmenu ul {
   margin: 15px 0 0;
   padding: 0;

   width: auto;
   float: right;     text-decoration: bold;
   color: #000;

}

#mainmenu ul li {
   display: block;
   float: right;
   margin: 0 2px;      text-decoration: bold;
   color: #000;
}

#mainmenu ul li a {
   display: block;
   float: right;
   color: #600;

   padding: 0 0 0 10px;
   height: 21px;   font-size: 9pt;
   color: #000;
   line-height: 21px;   text-decoration: bold;
}





#topmenu ul {
   margin: 13px 0 0;

   list-style-type: none;
   width: auto;
   float: right;
}

#topmenu ul li {
   display: block;
   float: right;
   margin: 0 2px;
}

#topmenu ul li a {
   display: block;
   float: right;
   color: #000;

   text-decoration: none;
   padding: 0 0 0 10px;
   height: 23px;
   line-height: 21px;
}

#topmenu ul li a span { 
   padding: 0 9px 0 0;direction:rtl;  text-align: right;
}

#topmenu ul li a:hover {
   color: #000;direction:rtl;  text-align: right;
}

#topmenu ul li a:hover span {}

#topmenu ul li a.current {
   color: #fff;
      background: #B94C16 url(images/custom/topmenu-on-l.png) 0 0 no-repeat;

}

#topmenu ul li a.current span {
   display: block;
   width: auto;direction:rtl;  text-align: right;
   background: #B94C16 url(images/custom/topmenu-on-r.png) 100% 0 no-repeat;
}

.pathway {
   color: #444;
   font-size: 9pt;
   margin: 0;direction:rtl;  text-align: right;
   padding: 10px 10px 10px 5px;
   text-transform: uppercase;
}

.pathway a:link, .pathway a:visited {
   color: #888;
   font-weight: normal;direction:rtl;  text-align: right;
   text-transform: none;
}

.pathway a:hover {
   color: #333;
   font-weight: normal;direction:rtl;  text-align: right;
}
#bottomarea {
   background: url(images/custom/foot-bg.png) 0 100% repeat-x;
   height: 105px;direction:rtl;  text-align: right;
}

#footer {
   background: url(images/custom/foot-box.png) 50% 100% no-repeat;
   height: 105px;direction:rtl;  text-align: right;
}

#footerarea {
   text-align: center;
   padding: 10px 0 0px;direction:rtl; 
   color: #444;
}

#footerarea a:link, #footerarea a:visited {
   color: #555;
}

#footerarea a:hover {
   color: #222;
   text-decoration: none;
}
td           { text-align: right; direction: rtl }