/* COMMON STYLE
--------------------------------------------------------- */

body {
	margin: 0;
	padding: 0;
	color: #333333;
	background: #FFFFFF;
	font: 78% Arial, sans-serif;
}

body#bd {
	text-align: center;
	background: #444444;
	color: #FAFCF4;
}

body.contentpane {
	width: auto;
	margin: 10px;
	line-height: 140%;
}

h1 {
	font-size: 1.7em;
}

h2 {
	margin: 10px 0;
	font-size: 1.45em;
}

h3, h4 {
	margin: 10px 0;
	font-size: 1.2em;
}

/* Small text */
.small, .smalldark, .createdate, .modifydate, .mosimage_caption, a.readon, 
.blog_more, .back_button, .pagenavcounter, .pagenav, .pagenavbar, .contenttoc, 
#ja-spotlight-1, #ja-spotlight-2, #ja-leftcol, #ja-rightcol, #ja-footer, #ja-bottomline {
	font-size: 100%;
}

/* Normal link */
a {
	color: #2770C0;
	text-decoration: none;
}

a:hover, a:active {
	color: #174271;
	text-decoration: underline;
}

p {
	margin: 10px 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

li {
	padding-left: 15px;
	background: url(../images/arrow-off.gif) no-repeat 2px 5px;
	line-height: 140%;
	line-height: 18px;
}

th {
	padding: 4px;
	font-weight: bold;
	text-align: left;
	font-size: 12px;
}

fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

fieldset a {
	font-weight: bold;
}

hr {
	border-top: 1px solid #999999;
	border-right: 0;
	border-left: 0;
	border-bottom: 0;
	height: 1px;
}

img {
	border: 0;
}

/* FORM
--------------------------------------------------------- */

form {
	margin: 0;
	padding: 0;
}

input {
	font: 11px Tahoma, Arial, sans-serif;
}

select {
	font: 11px Tahoma, Arial, sans-serif;
}

textarea {
	border: 1px solid #CCCCCC;
	padding-left: 2px;
	font: 11px/1.3em Tahoma, Arial, sans-serif;
}

.button {
	padding-left: 5px;
	padding-right: 5px;
	background: url(../images/but-bg.gif) no-repeat bottom right;
	border: 1px solid #808080;
}

.inputbox {
	padding-left: 2px;
	border-top: 1px solid #999999;
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	border-left: 1px solid #999999;
	background: #FFFFFF;
}

/* MODULE
--------------------------------------------------------- */

div.modules {
	width: 100%;
}

div.moduletable h3 {
	padding: 0 0 0 4px;
	margin: 0 -3px 0 -3px!important;
	color: #FFFFFF;
	background: url(../images/h3-bg.gif) no-repeat top right #666666;
	font-size: 12px;
	height: 20px;
	line-height: 20px;
	border: 2px solid #EEEEEE;
	border-top: none;
	font-weight: normal;
}

div.moduletable {
	padding: 3px 5px;
	margin-top: 9px!important;
	margin-top: 10px;
}

div.moduletable td {
	padding: 3px 0!important;
}


/* MODULETABLE_GREEN
--------------------------------------------------------- */
div.moduletable_green h3 {
	text-transform: uppercase;
	font-size: 1em;
	margin: 0 0 5px;
}

div.moduletable_green {
	margin-bottom: 5px;
	padding: 0;
	width: 97.5%;
	background: url(../images/box-br-green.gif) no-repeat bottom right;
	color: #FFFFFF;
}

div.moduletable_green a {
	color: #FFFFFF;
}

div.moduletable_green div {
	padding: 0;
	background: url(../images/box-bl-green.gif) no-repeat bottom left;
}

div.moduletable_green div div {
	padding: 0;
	background: url(../images/box-tr-green.gif) no-repeat top right;
}

div.moduletable_green div div div {
	padding: 9px 15px 15px;
	background: url(../images/box-tl-green.gif) no-repeat top left;
}

div.moduletable_green div div div div {
	margin: 0;
	padding: 0;
	background: none;
}

/* MODULETABLE_GREENOUTLINE
--------------------------------------------------------- */
div.moduletable_greenoutline h3 {
	text-transform: uppercase;
	font-size: 1em;
	margin: 0 0 5px;
}

div.moduletable_greenoutline {
	margin-bottom: 5px;
	padding: 0;
	width: 97.5%;
	background: url(../images/box-br-green-outline.gif) no-repeat bottom right;
}

div.moduletable_greenoutline div {
	padding: 0;
	background: url(../images/box-bl-green-outline.gif) no-repeat bottom left;
}

div.moduletable_greenoutline div div {
	padding: 0;
	background: url(../images/box-tr-green-outline.gif) no-repeat top right;
}

div.moduletable_greenoutline div div div {
	padding: 9px 15px 15px;
	background: url(../images/box-tl-green-outline.gif) no-repeat top left;
}

div.moduletable_greenoutline div div div div {
	margin: 0;
	padding: 0;
	background: none;
}


/* JOOMLA STYLE
--------------------------------------------------------- */

table.blog {
	width: auto;
}

table.blog .article_seperator {
	height: 5px;
	display: block;
}

table.contentpane {
	border: none;
	width: 100%;
}

table.contentpaneopen {
	border: none;
}

table.contenttoc {
	margin: 0 0 10px 10px;
	width: 25%;
}

table.contenttoc td {
	padding: 1px 5px 1px 20px;
	background: url(../images/arrow-off.gif) no-repeat 6px;
}

table.contenttoc th {
	padding: 1px 5px;
	border: 2px solid #EEEEEE;
	background: #666666;
	color: #FFFFFF;
}

table.contenttoc td:hover {
	padding: 1px 5px 1px 20px;
	background: url(../images/arrow-on.gif) no-repeat 6px;
}

table.polls {
	padding: 0;
	width: 100%;
}

table.pollstableborder {
	padding: 0;
	width: 100%;
	text-align: left;
	border-color: #FFFFFF;
}

table.pollstableborder img {
	margin: 4px 4px 4px 0;
}

table.pollstableborder td {
	padding: 2px!important;
}

table.searchintro {
	margin: 10px 0;
	width: 100%;
	background: #F9F9F9;
	border: 1px solid #EEEEEE;
}

table.searchintro td {
	padding: 5px!important;
}

ul#mainlevel li, ul#mainlevel-nav li {
	padding: 0;
	display: inline;
	background: none;
	line-height: normal;
}

.blog_more {
	margin: 10px 0;
	padding: 0 5px 5px 5px;
}

.blog_more strong {
	display: block;
	margin: 0 -5px 5px -5px;
	padding: 1px 5px;
	background: #666666;
	border-bottom: 2px solid #EEEEEE;
	font-weight: bold;
	color: #FFFFFF;
}

td.buttonheading {
	padding: 0 3px!important;
	background: #F2F2F2;
	text-align: center;
	border: 1px solid #EEEEEE;
}

.category {
	font-weight: bold;
}

.clr {
	clear: both;
}

.code, pre {
	border: 1px solid #F0F0C0;
	width: auto;
	padding: 5px;
	background: #FFFFCC;
}

.componentheading {
	padding: 0 0 5px;
	margin-bottom: 10px;
	color: #666666;
	background: url(../images/hdot.gif) repeat-x bottom left;
	font-weight: bold;
	font-size: 1.7em;
	text-transform: capitalize;
}

.contentdescription {
	padding-bottom: 30px;
	background: url(../images/hdot2.gif) repeat-x bottom left;
}

.contentheading {
        padding-left: 10px;
	font-weight: bold;
	font-size: 1.2em;
}

.contentpagetitle {
}

/* JOOMLA! STYLE
----------------------------------------------------------- */

a.readon {
	color: #AA0000;
}

a.readon:hover {
	color: #AA0000;
}

table.contentpaneopen td, table.contentpane td {
}

table.contentpaneopen, table.contentpane, table.blog {
	width: 100%;
}

.createdate {
	color: #999999;
	line-height: 10px;
	font-weight: bold;
}

.modifydate {
	color: #999999;
	height: 15px;
}

.error {
	color: #CC0000;
}

.highlight {
	font-weight: bold;
	border-bottom: 1px dotted;
}

.message {
	color: #FF9900;
	font-weight: bold;
}

.moduletable {
	padding: 0;
}

.mosimage, .mosimage img {
	padding: 0;
	margin-left: 5px;
}

.mosimage_caption {
	margin-top: 2px;
	padding: 1px 2px;
	color: #999999;
}

.pagenav {
	padding: 2px;
}

.pagenav_prev a, .pagenav_next a {
	color: #666666;
	font-size: 0.9em;
}

.pagenav_prev a:hover, .pagenav_prev a:active, .pagenav_next a:hover, .pagenav_next a:active {
	color: #B91919;
	text-decoration: none;
}

.pagenavbar {
	padding-left: 16px;
	background: url(../images/pages.gif) no-repeat center left;
	font-weight: bold;
}

.pagenavcounter {
	padding: 0 16px 10px 16px;
	color: #666666;
	background: url(../images/pages.gif) no-repeat 0 3px;
	font-weight: bold;
}

.sectiontableheader {
	padding: 2px 4px;
	background: url(../images/topnav-bg.gif) repeat-x top left #666666;
	color: #FFFFFF;
	border-right: 1px solid #EFEFEF;
	font-size: 11px;
}

.sectiontableheader a, .sectiontableheader a:hover {
	color: #FFFFFF;
}

tr.sectiontableentry1 td {
	padding: 4px;
	background: #FFFFFF;
	color: #000000;
}

tr.sectiontableentry2 td {
	padding: 4px;
	background: #F0F0F0;
	border-top: 1px solid #EEEEEE;
	color: #000000;
}

tr.sectiontableentry1 td a, tr.sectiontableentry2 td a {
	color: #2770C0;
}

tr.sectiontableentry1 td a:hover, tr.sectiontableentry2 td a:hover {
	color: #2770C0;
	text-decoration: underline;
}
	
.small {
	color: #999999;
}

#banner {
}

/* HEADER
--------------------------------------------------------- */

#ja-header {
	position: relative;
	background: url(../images/header-bg.gif) repeat-x top left #FFFFFF;
}

#ja-header h1 {
	margin: 0;
	padding: 5px;
	line-height: normal;
}

#ja-header h1 img {
	margin: 0;
	padding: 0;
	line-height: normal;
}

#search {
	font-size: 11px;
	position: absolute;
	top: 85px;
	left: 15px;
}

/*
#search {
	font-size: 11px;
	position: absolute;
	top: 35px;
	right: 15px;
}
*/

.search input {
	background: url(../images/search.gif) no-repeat center left #FFFFFF;
}

#ja-user-bar {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 11px;
}

#ja-user-bar a {
	font-size: 12px;
	color: #999999;
}

#ja-user-bar img {
	border: 1px solid #FFFFFF;
	border-right-width: 2px;
	border-bottom-width: 2px;
}

/* MAIN CONTAINER
--------------------------------------------------------- */

#ja-wrapper {
	width: 100%;
	color: #000000;
}

#ja-container {
	width: 770px;
	text-align: left;
	padding: 0;
	margin: 0 auto;
	border-right: 2px solid #3C3C3C;
	border-left: 2px solid #3C3C3C;
}

#ja-container-shadow1 {
	border: 2px solid #383838;
}

#ja-container-shadow2 {
	border: 3px solid #2C2C2C;
	background: #FFFFFF;
	line-height: 18px;
}

/* 3 columns content width */
#ja-content {
	margin: 0 0 0 8px;
	width: 432px;
	float: left;
}

/* 2 column content [on the left] width */
#ja-content-full-left {
	margin: 0;
	width: 585px;
	float: left;
	border-left: 10px solid #FFFFFF;
}

/* 2 column content [on the right] width */
#ja-content-full-right {
	margin: 0;
	width: 585px;
	float: right;
	border-right: 10px solid #FFFFFF;
}

/* 1 column content width */
#ja-content-full {
	margin: 0 15px 0;
	width: 730px;
}


/* PATHWAY
--------------------------------------------------------- */

#pathway {
	color: #666666;
	background: #FFFFFF;
	font-size: 11px!important;
	line-height: normal;
	padding: 5px 0 2px 2px;
}

#pathway a {
	padding: 0 15px 0 0;
	color: #666666;
	background: url(../images/arrow-off.gif) no-repeat center right;
	font-size: 11px!important;
}

#pathway a:hover, #pathway a:active {
	background: url(../images/arrow-on.gif) no-repeat center right;
}

#pathway img {
	visibility: hidden;
}

/* LEFT COLUMN
--------------------------------------------------------- */

#ja-leftcol {
	width: 150px;
	float: left;
	border-left: 5px solid #FFFFFF;
}

#ja-leftcol a.mainlevel {
	padding-left: 20px;
	background: url(../images/arrow-off.gif) no-repeat 5px 4px;
	line-height: 100%;
}

#ja-leftcol a.mainlevel:hover, a.mainlevel:active, a.mainlevel#active_menu {
	background: #CCCCCC url(../images/arrow-on.gif) no-repeat 5px 4px;
}

#ja-leftcol a.sublevel:hover, a.sublevel:active, #active_menu  {
	background: #CCCCCC;
}

#ja-leftcol a.sublevel {
	padding-left: 3px;
}

/* RIGHT COLUMN
--------------------------------------------------------- */

#ja-rightcol {
	width: 150px;
	float: right;
	border-right: 5px solid #FFFFFF;
}

#ja-rightcol a.mainlevel {
	padding-left: 20px;
	background: url(../images/arrow-off.gif) no-repeat 5px 4px;
}

#ja-rightcol a.mainlevel:hover, a.mainlevel:active {
	background: url(../images/arrow-on.gif) no-repeat 5px 4px;
}

#ja-rightcol a.sublevel {
	padding-left: 3px;
}

/* TOP NAVIGATION
----------------------------------------------------------- */

#ja-topnav {
	background: url(../images/topnav-bg.gif) repeat-x bottom left;
	line-height: normal;
}

.topnav-border {
	padding: 2px 0 3px;
}

#ja-topnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 27px;
}

#ja-topnav li {
	padding: 0;
	margin: 0;
	display: inline;
	background: none;
}

#ja-topnav a {
	padding: 0 8px;
	margin-top: 4px;
	color: #FFFFFF;
	font-size: 13px;
	text-align: center;
	display: block;
	float: left;
	height: 22px;
	line-height: 22px;
	background: url(../images/topnav-sep.gif) no-repeat top right;
}

#ja-topnav li.active_menu a {
	margin: 0;
	height: 22px;
	line-height: 22px;
	text-decoration: none;
	font-weight: bold;
	border-right: 1px solid #CCCCCC;
}

#ja-topnav a:hover, #ja-topnav a:active {
	color: #FFFFFF;
	background: url(../images/topnav-hover.gif) repeat-x bottom right #5B7191;
	text-decoration: none;
}

/* SUB NAVIGATION
--------------------------------------------------------- */

#ja-subnav {
	padding: 3px 5px;
	margin-top: 9px!important;
	margin-top: 11px;
}

#ja-subnav h3 {
	padding: 0 0 0 4px;
	margin: 0 -3px 0 -3px;
	font-size: 13px;
	height: 20px;
	line-height: 20px;
	border: 2px solid #EEEEEE;
	font-weight: normal;
	color: #FFFFFF;
}

#ja-subnav ul {
	margin: 0;
	padding: 0;
}

#ja-subnav li {
	margin: 5px;
	padding: 0;
	background: none;
	height: 20px;
}

#ja-subnav a {
	color: #333333;
	display: block;
	height: 20px;
	line-height: 20px;
	padding-left: 10px;
	border: 1px solid #FFFFFF;
}

#ja-subnav a:hover, #ja-subnav a:active, #ja-subnav li.active_menu a {
	text-decoration: none;
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	border-left: 5px solid #666666;	
}

/* SPOTLIGHT
--------------------------------------------------------- */

#ja-header-spotlight {
	padding-left: 20px;
	height: 170px;
	color: #F2F2F2;
}

#ja-header-spotlight a {
	color: #FFFFFF;
	text-decoration: underline;
}

#ja-header-spotlight h3 {
	background: none;
	font-size: 1.4em;
	border: none;
	text-align: left;
	font-weight: bold;
	padding-bottom: 3px;
}

#ja-header-spotlight div.moduletable {
	background: none;
	font-size: 1em;
	width: 720px;
	border: none;
	padding: 80px 0 5px;
	color: #F2F2F2;
	margin: 0!important;
}

#ja-header-spotlight .article_seperator {
	display: none;
}

#ja-spotlight-1 div.moduletable, #ja-spotlight-2 div.moduletable {
	border: none;
	background: none;
	margin: 0;
	padding: 0;
}

#ja-spotlight-1 h3, #ja-spotlight-2 h3 {
	border: 2px solid #EEEEEE;
	margin: 0 0 10px;
}

#ja-spotlight-1 a, #ja-spotlight-2 a {
	color: #333333;
}

/* FOOTER
--------------------------------------------------------- */

#ja-footer {
	background: url(../images/footer-bg.gif) repeat-x top left #666666;
	color: #FFFFFF;
	clear: both;
	line-height: 28px;
	height: 28px;
	position: relative;
	padding: 0 5px;
	border-top: 10px solid #FFFFFF;
}

#ja-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#ja-footer li {
	padding: 0;
	margin: 0;
	display: inline;
	background: none;
	height: 25px;
}

#ja-footer a {
	padding: 0 10px;
	border-right: 1px solid #999999;
	color: #CCCCCC;
	background: none;
	text-transform: Capitalize;
	height: 30px;
	line-height: 30px;
}

#ja-footer a:hover, #ja-footer a:active {
	color: #FFFFFF;
}

#ja-bottomline {
	color: #999999;
	padding: 10px 15px 20px;
	background: url(../images/bottomline-bg.gif) repeat-x bottom right #FFFFFF;
	position: relative;
}

#ja-bottomline a {
}

.mod_usermenu_topmenu {
	font-size: 1em;
}

.moduletable_topmenu {
	margin:0px 0px 0px 500px;
	font-size: 1em;
	font-weight: bold;
}

.mainlevel_topmenu {
	margin: 0;
	color: #000000;
}

td.productbox {
	text-align:center;
	border:0px;
	font:8pt arial;
	width: 100%;
	height: 215px;
}

/* MISCELLANOUS
----------------------------------------------------------- */

div.shadow{
	margin: 0;
	padding: 2px 0;
	background: url(../images/shadow.gif) repeat-x;
	clear: both;
}

div.back_button a {
	float: right;
	display: block;
	width: auto;
	padding: 0 10px;
	height: 18px;
	background: url(../images/but-bg.gif) no-repeat bottom right;
	border: 1px solid #808080;
	color: #666666;
	cursor: default;
}

div.back_button a:hover {
	color: #666666;
	text-decoration: none;
	cursor: default;
}

div.back_button a:active {
	border: 1px solid #CCCCCC;
	background: #EEEEEE;
	color: #666666;
	text-decoration: none;
	cursor: default;
}

#mod_login_password, #mod_login_username, .search input {
	width: 110px;
	padding-left: 20px;
}

#mod_login_password {
	background: url(../images/authen.gif) no-repeat center left #FFFFFF;
}

#mod_login_username {
	background: url(../images/user.gif) no-repeat center left #FFFFFF;
}

#mod_login_remember {
	border: none;
	padding: 0!important;
}

/* Added for DirectoryM formatting */
.dmcontent_container {text-align: center;background-color: #6e6e6e;width: 160px;height: 206px; margin: 5px 0 0 0;}
.dmcontent_title {text-align: center; height: 20px; line-height: 20px; font-family: Arial, Sans-Serif; font-size: 12px; font-weight: bold;width: 160px;color: #FFFFFF;background-color: #6e6e6e;}
.dmcontent_body {overflow-y: auto; text-align: left;font-family: Arial, Sans-Serif; line-height: 9px; font-size: 12px; margin-left: auto; margin-right: auto;width: 158px;height: 149px;color: #336699;background-color: #fafcf4;}
.dmcontent_link {text-decoration: none;color: #336699;}
/* End of Added */


/* Firefox Scrollbar Hack - Do not remove */
html { height: 100%; margin-bottom: 1px;}

/* Clear fix */
.clearfix:after {
	clear: both;
	display: block;
	content: ".";
	height: 0;
	visibility: hidden;
}

.clearfix {display: inline-table;}

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