fieldset {padding:5px;}
fieldset.js_loginflat {border:0px;}
fieldset.js_loginflat legend {display:none;}

body {
	background-color: #999999;
	font-family: "Trebuchet MS", "Geneva CY", Verdana;
	font-size: 12px;
	color: #454545;
}
*, html, body {margin:0;padding:0;}
p, div, td {line-height:135%;}
/*Basic Links*/
a:link, a:visited {color:#0081BF;text-decoration:none;}
a:hover {color: #666666;text-decoration:none;}
a.img{border:0;}

a:focus {outline:0;}
ul {padding-left:20px;}

/*Begin Header and Logo*/
#headerblock {
	margin: 0px;
	padding: 0px;
}

/*CSS for logo. This is an image replaced link as an H1 tag*/

/*Controls logo hotspot width*/
#logo {height:60px;float:left; margin-left:15px;}
#logo h1 a{ width:208px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:17px;}
#logo h1 {background:url(../img/logo0000.png) top left no-repeat;}/*Set the line-height and width equal to your logo image here*/
#logo h1{margin:0;padding:0;}

h1 {
	margin: 1em 0;
	color:#0081BA;
	font-family: "Trebuchet MS", "Geneva CY", Verdana;
	font-size: 2em;
	line-height: 2em;
	font-weight: bold;
	text-transform: none;
}
h2 {
	margin: 1em 0;
	color:#333333;
	font-family: "Trebuchet MS", "Geneva CY", Verdana;
	font-size: 1.6em;
	line-height: 1.6em;
	font-weight: bold;
	text-transform: none;
}

h3 {
	margin: 1em 0;
	color:#666666;
	font-family: "Trebuchet MS", "Geneva CY", Verdana;
	font-size: 1.4em;
	line-height: 1.4em;
	font-weight: bold;
	text-transform: none;
}




/*The Styleswitcher Buttons*/
#accessbuttons {
	float:right;
	position:relative;
	top:0px;
	right:-16px;
	width:159px;
	height:46px;
	background: url(../img/navicons.png) no-repeat center top;
	margin:0;
	padding-top: 12px;
	padding-right: 0px;
	padding-bottom: 6px;
	padding-left: 32px;
}
.access {margin:0px 0px 0px 8px; padding:0;}
a.access {font-size:8px;text-decoration: none;white-space: nowrap;}
.access img {border:none;margin:0px 3px 0px 0px;padding:0;width:20px;height:20px;font-size:5px;}
#theme {position: absolute;top: 12px;right: 59px;margin: 0;padding: 0;list-style: none;}
#theme li {margin: 0;padding: 0;display:inline;}
#theme li#theme-fixed {display:none;}
a#rss {position:relative; margin:0px 0px 0px 20px;}

/*End Header and Logo*/

#twrap {
	width: 960px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 0px;
}
#pagebg {
	background-image: url(../img/bodybg00.png);
	background-repeat: repeat-x;
	background-position: top;
	margin:0;
	padding:0;
}
#wrapper {
	width: 960px;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;

}
td#main { margin:0; padding:0;}

table#maintable {
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
}
td#teaserbox {
	background-image: url(../img/teaserba.png);
	background-repeat: repeat-x;
	background-position: bottom;
	margin:0px;
	padding-bottom:19px;
}
#teasers div {
	margin: 0;
	padding:0;
	}
td#maincol {
	margin: 0px;
	padding: 15px;
	
}
td#maincol .inside {
padding: 0;
}
#leftcol .inside, #rightcol .inside {
	width:200px;
	padding:5px;
	margin:0;
	position: relative;
}
td#rightcol {
	width:200px;
	margin: 0px;
	padding: 0px;
	background-image: url(../img/modulefa.png);
	background-repeat: no-repeat;
	background-position: left top;
}
td#leftcol {
	width:200px;
	padding: 0px;
	background-image: url(../img/modulefa.png);
	background-repeat: no-repeat;
	background-position: right top;

}
td#leftshadow {
	background-image: url(../img/wrapleft.png);
	background-repeat: repeat-y;
	background-position: left bottom;
	margin: 0px;
	padding: 0px;
	width: 5px;
	vertical-align: top;
}
td#rightshadow {
	background-image: url(../img/wraprigh.png);
	background-repeat: repeat-y;
	background-position: right bottom;
	margin: 0px;
	padding: 0px;
	width: 5px;
	vertical-align: top;
}
#footerbar {
	clear:both;
	width:100%;
	height:18px;
	background-image: url(../img/bottomba.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 0px;
	padding: 0px;
}
#footerbar .rightcorner {
	float:right;
	width:18px;
	height:18px;
	padding: 0;
	margin: 0;
	background-image: url(../img/rightcor.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}
/*Main Page*/
.about-us-block{background:#eeeeee url(../img/mp-des-img.gif) no-repeat 100% 0;padding:0 240px 0 15px;overflow:hidden;margin:0 0 15px 0;}
	.about-us-block h2{margin:10px 0 -10px 0;}
	.about-us-block p{margin:15px 0;}

.rel-links{background-color:#a2cae3;padding:5px 5px 5px 7px;margin:10px 0 0 0;}
	.rel-links li p{border-left:1px dashed #666666;margin:0 0 15px -15px;padding:0 0 0 15px;}
	.rel-links p{overflow:hidden;}
	.rel-links img{margin:10px 10px 15px 0;}

#rightcol-main{width:240px;margin:0;padding:0;vertical-align:top;}
	#rightcol-main .inside{margin:0;padding:5px;position:relative;width:230px;}
	
.feat-site{border:1px solid #000000;margin:8px 0;}
	.feat-site h3{background:url(../img/menubg20.gif) repeat-x 0 0;display:block;width:218px;height:26px;margin:0;color:#FFFFFF;padding:0 0 0 10px;}
	.fc-inner{padding:7px 10px;text-align:justify;}

.staff-main-block{border:1px solid #006db0;}
	.staff-main-block h3{background-color:#006db0;display:block;width:218px;height:26px;margin:0;color:#FFFFFF;padding:0 0 0 10px;}
	.staff-main-block .stuff{padding:5px 10px;}
		.staff-main-block .stuff li{border-left:none;margin:4px 0 26px 0;}
			.staff-main-block .stuff li span{float:right;margin:15px 0 0 0;font-weight:bold;}
/*All Modules*/

.moduletable h3{
	text-indent:18px;
	margin:0;
	padding:5px 0px;
	color:#000;
	background-image: url(../img/moduleh3.png);
	background-repeat: no-repeat;
	background-position: left center;
	position:relative;
	font-family: "Lucida Grande", "Trebuchet MS", Tahoma;
	font-size: 1.16em;
	line-height: 2em;
	font-weight: bold;
}
.moduletable p
{font-size:1em;line-height:1.15em; color:#fff;}
.moduletable {
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	margin-bottom: 20px;
}

/*USER 4-5-6 Modules (top teasers)*/

a.linkS1 {text-decoration:none; width:274px; height:135px; text-indent:-50000em; background:url(../img/linkS100.png) no-repeat center; display:block; text-align:center; margin: 0px auto 0px auto;}
a.linkS2 {text-decoration:none; width:274px; height:135px; text-indent:-50000em; background:url(../img/linkS200.png) no-repeat center; display:block; text-align:center; margin: 0px auto 0px auto;}
a.linkS3 {text-decoration:none; width:274px; height:135px; text-indent:-50000em; background:url(../img/linkS300.png) no-repeat center; display:block; text-align:center; margin: 0px auto 0px auto;}
a.linkS4 {text-decoration:none; width:842px; height:162px; text-indent:-50000em; background:url(../img/headergr.png) no-repeat center; display:block; text-align:center; margin: 0px auto 0px auto;}


.moduletableS1 {background:#000000; padding:5px;}
.moduletableS2 {background:#333333; padding:5px;}
.moduletableS3 {background:#0081BF; padding:5px;}
.moduletableS4 {background:#FFFFFF; padding:0px; margin:0px;}


.moduletableS1 p, .moduletableS1 div, .moduletableS1 td, .moduletableS1 a, li.mostreadS1 a, li.mostreadS1 a:visited, li.latestnewsS1 a, li.latestnewsS1 a:visited {color:#FFF;}
.moduletableS2 p, .moduletableS2 div, .moduletableS2 td, .moduletableS2 a, li.mostreadS2 a, li.mostreadS2 a:visited, li.latestnewsS2 a, li.latestnewsS2 a:visited {color:#FFF;}
.moduletableS3 p, .moduletableS3 div, .moduletableS3 td, .moduletableS3 a, li.mostreadS3 a, li.mostreadS3 a:visited, li.latestnewsS3 a, li.latestnewsS3 a:visited {color:#FFF;}

.moduletableS1 h3 {color:#FFF; padding:10px 0px 10px 25px; background:url(../img/contenth.png) no-repeat 8px 50%;}
.moduletableS2 h3 {color:#FFF; padding:10px 0px 10px 25px; background:url(../img/contenth.png) no-repeat 8px 50%;}
.moduletableS3 h3 {color:#FFF; padding:10px 0px 10px 25px; background:url(../img/contenth.png) no-repeat 8px 50%;}

#teasers .moduletable {
}

.back_button, .pagenav_prev, .pagenav_next {text-align:center;}

/*USER 5-6-7 Modules (bottom teasers)*/

td#teaserbottom .moduletable h3
{
	text-indent:20px;
	margin:0;
	padding:0;
	color:#FFF;
	background-image: url(../img/tbottomh.png);
	background-repeat: no-repeat;
	background-position: left center;
	position:relative;
	font-family: "Lucida Grande", "Trebuchet MS", Tahoma;
	font-size: 1em;
	line-height: 2em;
	font-weight: bold;
}

td#teaserbottom {
	background-color: #181818;
	border-top-width: 10px;
	border-top-style: solid;
	border-top-color: #0081BF;
	padding: 5px;
	background-image: url(../img/teaserbo.png);
	background-repeat: repeat-x;
	background-position: bottom;
	margin: 0px;
}
#teaserbottom p, #teaserbottom div, #teaserbottom td {
	color: #FFFFFF;
	font-size: 12px;
}

/*Joomla Specific Display*/
.small,.modifydate,.createdate {color: #999;text-align: left;font: 9px/11px Tahoma, Verdana, Helvetica;text-transform: uppercase;}
.createdate {top:-3px;}
.inputbox {color:#ccc;background:#fff;border: 1px solid #999;color:#333;}
.button {background:#666;border: 1px solid #000;color:#ccc;line-height: 100%;font-size: 0.75em;padding: 3px;}
.article_seperator {width:100%;height:16px;}
#contact_text {width:300px;}
table.contentpaneopen, table.contentpane, table.blog {border-collapse: collapse;padding: 0;margin: 0;width: 100%;}
ul.latestnews, ul.latestnewsS1, ul.latestnewsS2, ul.latestnewsS3, ul.mostread, ul.mostreadS1, ul.mostreadS2, ul.mostreadS3
{list-style:none;padding-left:8px;margin:0px;}

.mostread li, .mostreadS1 li, .mostreadS2 li, .mostreadS3 li,
.latestnews li, .latestnewsS1 li, .latestnewsS2 li, .latestnewsS3 li
{padding-bottom:2px;}
div div .syndicate div {margin:5px; padding:0;}


/*Joomla Tables*/
td.sectiontableheader {color: #FFF;font-weight: bold; background:#222;height: 25px;padding: 4px;}
tr.sectiontableentry1 td {padding: 4px;background-color: #f8f8f8;}
tr.sectiontableentry2 td {padding: 4px;background-color: #F2F2F2;}
td.sectiontableentry1 {padding: 4px;background-color: #f8f8f8;}
td.sectiontableentry2{padding: 4px;background-color: #F2F2F2;}
.sectiontableentry2 a, .sectiontableentry1 a  {padding-left:5px;}

/*Read More Link Styles*/
a.readon, a.readon:hover{margin-top: 10px;display: block;float: right;line-height: 12px;background: url(../img/readon00.gif) no-repeat left center;text-indent: 16px;}

/*Polls*/
table.pollstableborder td {padding:0; text-align:left; background:none;}
.pollstableborder td {text-align:left; font: 0.9em Arial, Helvetica, sans-serif; padding: 3px 0px 3px 5px; vertical-align:middle;}

/*Print and Email View*/
body.contentpane {background:#fff}

/*Keeps the blog tables from crowding*/
table.contenttoc {margin: 5px;padding: 0px;float:right;}

/*Article Index*/
table.contenttoc {margin:5px;padding:5px;}
table.contenttoc td {padding: 0 7px;}
table.contenttoc th {padding: 0px 10px;font-size: 1em;color: #ccc;background: #333;}

.contentheading {width:100%; white-space:nowrap;}

/*Content Links*/

td.contentheading, .contentheading {
	color:#000;
	text-align: left;
	text-decoration:none;
	font: normal 1.5em/1.5em "Trebuchet MS", Geneva, sans-serif;
	background-image: url(../img/contenth.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 18px;
}
a.contentpagetitle:link,a.contentpagetitle:visited {
	color:#000;
	text-align: left;
	text-decoration:none;
	font: normal 1.0em/1.0em "Trebuchet MS", Geneva, sans-serif;
}

a.contentpagetitle:hover {color:#0081BF;text-decoration:none;}
.componentheading {color:#0081BF;font:bold 1.07em/1.5em Arial, Helvetica, sans-serif;}




/*Some bonus custom styles*/
ol {margin-left:25px;}
blockquote {padding:5px; border: 1px dashed #cecece; background: #ececec; color:#323232; margin:3px; font-size:.90em;}
ul#checklist {padding-left:5px; list-style:none;}
#checklist li {background:url(../img/checklis.png) no-repeat left center; padding-left:16px; margin: .25em 0 .25em 0;}
.right{display:none;}

#headercontainer {
	height: 68px;
	width: 100%;/*inner element*/
	margin: 0px;
	padding: 0px;
	margin:0px;
	background-image: url(../img/headerbg.png);
	background-repeat: repeat-x;
}
#header {
	height:68px;
	width: 100%;/*inner element*/
	margin: 0px;
	padding: 0px;
	margin:0 auto;
	overflow:hidden;
}
#header  a{background:url(../img/main-header.png) no-repeat 0 0;height:30px;display:block;padding:68px 0 0 0;}
#header .moduletable{position:absolute;right:10px;top:10px;}
	#header .moduletable h3{color:#000000;font-size:14px;font-weight:normal;background-image:none;padding:0;text-indent:0;}

/*Sidenav Menus when used as a vertical (TABLED) style*/
#leftcol .menu a {
text-decoration:none;
text-indent:10px;
padding:3px 0;
border-bottom: 1px solid #cacaca;
display:block;
font:bold 12px/16px Arial, Tahoma, Verdana, sans-serif;
margin:0;
width:100%;

}

#leftcol .menu a:link, #leftcol .menu a:visited {
background: url(../img/sidenavu.png) no-repeat 0px 7px;
color:#666666;
}
#leftcol .menu a:hover {
background:url(../img/sidenavo.png) no-repeat 0px 7px;
color:#0081BF;
}

#leftcol .menu a.active:link, #leftcol .menu a.active:visited {
background:url(../img/sidenavo.png) no-repeat 0px 7px;
color:#0081BF;
}

#leftcol .menu a.active:hover {
background:url(../img/sidenavo.png) no-repeat 0px 7px;
color:#666666;
}

#leftcol .menu ul { margin:0 0 0 10px; padding:0; list-style:none;}
#leftcol .menu li { margin:0; padding:0;}

#leftcol .menu li a {
font:normal 12px/16px Arial, Tahoma, Verdana, sans-serif;
}

#navcontainer {
	background: url(../img/menubg20.png) repeat-x;
	height: 60px;
	padding: 0px 0px 0px 15px;
	overflow: hidden;
	position:relative;
}

#navbar {
	margin: 0;
	padding: 0;
	position: relative;
	height: 60px;
	background: url(../img/menubar0.png) 0 0 no-repeat;
	padding-left: 2px;
	font: normal 12px Arial, Helvetica, sans-serif;
}

#navbar ul {
	margin: 0;
	padding: 0;
	float: left;
}

#navbar ul ul ul {
display:none;
}

#navbar li {
	padding: 0;
	margin: 0;
	float: left;
	display: block;
	background: url(../img/menubar0.png) 100% 0 no-repeat;
}

#navbar li li {
	background:none;
}

#navbar li.mainlevel_current {


}
#navbar ul ul li a {font-weight:bold;}

#navbar li ul {
	width: 100%!important;
	width:2500px;
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top:33px;
	height: 20px;
	left: 0;
	
}

#navbar a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	font-weight:bold;
}

#navbar a:hover {
color: #ccc;

}
#navbar li a:hover {
background:#000 url(../img/navbar_o.png) right center no-repeat;
color:#fff;
}

#navbar li li a:hover {
background:none;
color:#0081BF;
}


#navbar li:hover ul, #navbar li.sfhover ul {
	display: block;
	z-index: 6000;
}

#navbar li a {
	display: block;
	float: left;
	padding: 0 15px;
	height: 33px;
	line-height: 33px;
}

/* sub level links */

#navbar ul li {
	border-right: 0;

}
#navbar li ul a, #navbar li.current ul a {
	display: block;
	float: left;
	color: #fff;
	font-weight: normal;
	padding: 0 10px;
	background: none;
	height: 25px;
	line-height: 25px;
}
.designer, .designer a, .designer a:visited {text-align:center; text-decoration:none; margin-bottom:10px; font:11px normal Arial, Helvetica, sans-serif; color:#666;}

