html {
	width: 100%;
	height: 100%;
}
body {
	margin: 0;
	text-align: left;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding: 0;
}
a:link, a:visited {
	color: #999999;
	text-decoration: none;
	font-weight: bold;
} /* general links style*/
a:hover {
	color: #666666;
	text-decoration: none;
	font-weight: bold;
}
a:focus {
	outline-style: none;
}
#page {
	width: 100% !important;
	text-align: center;
	background: #B2AEB5 url(../images/body.gif) repeat-x top left;
	float: left;
}
#wrapper {
	width: 980px !important;
	background: transparent url(../images/wrapper.gif) repeat-x top left;
	margin: 0px auto 0px auto !important;
}
#header {
	height: 92px;
	width: 100%;
	float: left;
	background: transparent url(../images/header.gif) repeat-x top left;
}
#header2 {
	background: transparent url(../images/header2.gif) no-repeat top left;
	float: left;
	width: 100%;
}
#header3 {
	height: 92px;
	width: 100%;
	float: left;
	background: transparent url(../images/header-right.gif) no-repeat top right;
}
#header4 {
	width: 946px;
	margin: 0px 17px 0px 17px;
	height: 60px;
	clear: both;
}
#header5 {
	width: 946px;
	margin: 0px 17px 0px 17px;
	height: 32px;
	clear: both;
}
#logo {
	height: 60px;
	background: transparent url(../images/logo.gif) no-repeat top left;
	width: 250px;
	float: left;
}
#font-sizer {
	float: right;
	width: 150px;
	margin-top: 35px;
	padding-right: 0px;
	height: 25px;
}
#font-sizer a:link, #font-sizer a:visited, #font-sizer a:hover, #font-sizer a:focus {
	margin: 0;
	outline-style: none;
	color: #FF0000;
	text-decoration: none;
}
#topmenu {
	width: 100%;
	text-align: left;
	float: left;
}

#main {
	width: 100%;
	background: transparent url(../images/main-left.gif) repeat-y top left;
	float: left;
}
#main2 {
	width: 100%;
	background: transparent url(../images/main-right.gif) repeat-y top right;
	float: left;
}
#main3 {
	width: 100%;
	background: transparent url(../images/main-bottom-left.gif) no-repeat bottom left;
	float: left;
}
#main4 {
	width: 100%;
	background: transparent url(../images/main-bottom-right.gif) no-repeat bottom right;
	float: right;
}
#main5 {
	width: 100%;
	float: left;
}

#path1 {
	width: 100%;
	
	background: transparent url(../images/pathbar-left.gif) no-repeat top left;
	height: 38px;
}
#path2 {
	width: 100%;
	float: left;
	background: transparent url(../images/pathbar-right.gif) no-repeat top right;
	height: 38px;
}
#pathbar {
	width: auto;
	float: left;
	text-align: left;
	margin: 9px 20px auto 22px;
	overflow: hidden;
}
#searchbar {
	width: 170px;
	background: transparent url(../images/searchbar.gif) no-repeat left;
	float: right;
	margin: 6px 25px 0 0;
}
.pathway {
	font-size: 12px;
	color: #666666;
}
a.pathway:link, a.pathway:visited {
	font-weight: bold;
	color: #666666;
	text-decoration: none;
}
a.pathway:hover {
	font-weight: bold;
	color: #333333;
	text-decoration: none;
}

#maincontent {
	width: 944px;
	float: left;
	text-align: left;
}
.spacer-left {
	height: 200px;
	width: 17px;
	float: left;
}
.spacer-right {
	height: 200px;
	width: 17px;
	float: right;
}
/* topmodules, lates news and popular */
#topmodules {
	float: none;
	margin: 0px auto 10px auto;
	width: 590px;
}
#modlatest {
	float: left;
	text-align: left;
}
#modpopular {
	float: right;
	text-align: left;
}
.ads {
	width: 564px;
	text-align: center;
	/*margin: 0 10px 0 10px;  Note: see index.php for setting up margin */
	margin: 0px auto 10px auto;
	padding: 0 !important;
}
#midcontent {
	float: left;
	overflow: hidden;
}
#mainbody {
	/*width: 550px; Note: see index.php for setting up width */
	float: left;
	text-align: left;
	/*margin: 0 10px 0 10px;  Note: see index.php for setting up margin */
	padding: 0 !important;
	width: 100%;
}
#footer {
	float: right;
	width: 500px;
	text-align: right;
	margin: 30px 10px 10px 20px;
	line-height: 12px;
	height: 47px;
	overflow: hidden;
} 
html>body #footer {
	margin: 30px 20px 10px 20px;
}
.footer-text {
	font-size: 10px;
	color: #AFAFAF;
}
.footer-text a:link, .footer-text a:visited {
	font-size: 10px;
	color: #AFAFAF;
}
.footer-text a:hover {
	font-size: 10px;
	color: #AFAFAF;
	text-decoration: underline;
}
/* module styling */
#rightsection, #leftsection {
	padding: 0;
	white-space: normal;
	text-align: center;
}

#leftsection ul, #rightsection ul {
	margin: 0;
	padding: 0 0 0 30px;
	text-align: left;
}
#leftsection li, #rightsection li {
	list-style: square;
}
#leftsection {
	width: 171px;
	float: left;
	text-align: center;
}
#rightsection {
	width: 171px;
	float: right;
	text-align: center;
}
/* topmenu style */
ul#mainlevel-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
}

ul#mainlevel-nav li {
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 25px;
	height: 26px;
	white-space: nowrap;
	border-right: 1px solid #666666;
	display: block;
}

ul#mainlevel-nav li a {
	display: block;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	color: #CCCCCC;
	background: transparent;
}
#buttons>ul#mainlevel-nav li a { 
	width: auto;
}

ul#mainlevel-nav li a:hover {
	color: #FFFFFF;
	background: #333333;
}
div.back_button {
	display: block;
	overflow: hidden;
	background: transparent url(../images/buttons.gif) repeat-x;
	line-height: 20px;
	height: 22px;
	margin-top: 10px;
	border: solid 1px #666666;
	padding-left: 10px;
	color: #CCCCCC;
}
div.back_button a:link, div.back_button a:visited {
	color: #CCCCCC;
}
div.back_button a:hover {
	color: #FF9900;
}

/* Joomla! Core style */
.sectiontableentry1 {
	background-color : transparent;
	line-height: 18px;
	text-align: left;
	padding-bottom: 2px;
}

.sectiontableentry2 {
	background-color : #f9f9f9;
	text-align: left;
	line-height: 18px;
	padding-bottom: 2px;
}
.sectiontableheader {
	border-bottom: solid 1px #999999;
	height: 15px;
	font-size: 14px;
	font-weight: bold;
	color: #CC0000;
	padding-top: 20px;
}
.small {
	font-size: 10px;
	color: #CC0000;
	font-style: italic;
}
.createdate, .modifydate {
	font-size: 11px;
	color: #666666;
}
.createdate {
	padding-bottom: 10px;
}
.modifydate {
	padding-top: 10px;
}
table.contenttoc {
	border: 1px solid #cccccc;
	padding: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
}
div.message {
	padding: 10px;
	border: dashed 1px #009933;
	background: #E2FCEC;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	color: #059039;
	margin-bottom: 10px;
}
th.pagenav_next, th.pagenav_prev {
	padding: 3px 10px 3px 10px;
	background: transparent url(../images/componentheading.gif) repeat-x left;
	border-left: solid 2px #EBEAEA;
	border-right: solid 2px #BFBEBE;
	border-bottom: solid 2px #BFBEBE;
	border-top: solid 2px #EBEAEA;
	font-size: 11px;
	font-weight: bold;
	display: block;
}

table.contenttoc td {
	padding: 2px;
}
table.contenttoc th {
	background: transparent url(../images/componentheading.gif) repeat-x left;
	color: #666666;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}
form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
}

div.mosimage {
	border: 1px solid #ccc;
}

.mosimage {
	border: 1px solid #cccccc;
	margin: 5px
}

.mosimage_caption {
	margin-top: 2px;
	background: #efefef;
	padding: 1px 2px;
	color: #666;
	font-size: 10px;
	border-top: 1px solid #cccccc;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}
.contentheading {
	padding: 3px 3px 3px 30px;
	background: transparent url(../images/contentheading.gif) no-repeat left;
	height: 26px;
	font-size: 14px;
	font-weight: bold;
	font-family: tahoma, sans-serif;
	color: #333333;
}
.buttonheading {
	padding: 0px;
	height: 30px;
	font-size: 14px;
	color: #333333;

}
.componentheading {
	padding: 3px 3px 3px 3px;
	height: 20px;
	font-size: 14px;
	font-weight: bold;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #333333;
	background: transparent url(../images/componentheading.gif) repeat-x left;
	line-height: 22px;
	border: solid 1px #DADADA;
	margin-bottom: 20px;
}	
.readon {
	display: block;
	overflow: hidden;
	background: transparent url(../images/componentheading.gif) repeat-x left;
	line-height: 20px;
	height: 22px;
	margin-top: 10px;
	border: solid 1px #DADADA;
	padding-left: 10px;
	color: #666666;
}
a.readon:link, a.readon:visited {
	color: #ADADAD;
}
a.readon:hover {
	color: #CAC8C8;
}
table.contentpaneopen {
	width: 100%;
	clear: both;
}
table.contentpaneopen img {
	vertical-align: top;
}
hr {
	width: 1px;
	color: #D6D5D5;
} /* horizontal line in your template*/
hr.separator {
	width: 1px;
	color: #D6D5D5;
}
 
/* FORMS SETTINGS */ 
.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}
.code {
	background-color: #ddd;
	border: 1px solid #bbb;
}
