/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	color: #202020;
	background: #393939 url(images/bg.gif) repeat-x;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin: 0 auto;
	padding: 0;
}

body {background:#FFF;}

#body-simple {
	background: #FFFFFF;
	padding: 0px 5px 0px 5px;
}

#wrapper {
	padding: 0px;
}

/* Misc stuff */
img {
	border: none;
}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.titles {
	font-size: 22px;
	font-family: Times New Roman, Tahoma, Verdana;
	font-weight: normal;
	text-decoration: none;
}

.error, table td .error {
	color: #D51515;
}

.spacer {
	background: #FFFFFF url(images/spacerbg.gif) top left repeat-x;
}

hr	{ height: 0px; border: solid #FFFFFF 0px; border-top-width: 1px;}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a {
	color: #202020;
	text-decoration: none;
}

a:active {
	color: #202020;
	text-decoration: none;
}

a:hover {
	color: #D51515;
	text-decoration: underline;
}

a.forumlink {
	font-family: Arial, Tahoma, Verdana;
	font-weight: bold;
	font-size: 12px;
}

a.topictitle {
	margin: 1px 0px;
	font-family: Arial, Tahoma, Verdana;
	font-weight: bold;
	font-size: 12px;
}

a.topictitle, .postbody a {
	color: #202020;
}
a.topictitle:visited, .postbody a:visited {
	color: #202020;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #202020;
}
a.topictitle:hover, .postbody a:hover {
	color: #D51515;
}

/* Header and logo */
#maintable {
	margin: 0 auto;
	padding: 0px;
	background-color: #FFFFFF;
}
#logorow {
	background: #1C1C1C url(images/bg_logo.gif);
	text-align: left;
	padding: 0;
	height: 100px;
}

.pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #3C5F84;
	border-right: solid 1px #2E5B82;
	border-top: solid 1px #3C5F84;
	border-bottom: solid 1px #2E5B82;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}
.pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; }
.pm-notify-header {
	margin-bottom: 10px;
	color: #666;
}
.pm-notify-new, .pm-notify-unread:hover {
	border-left: solid 1px #F15F5F;
	border-right: solid 1px #D51515;
	border-top: solid 1px #F15F5F;
	border-bottom: solid 1px #D51515;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navtd {
	padding: 0px 0px 0px 0px;
}
.navrow-right { float: right; }
.navrow {
	background: #2B2B2B url(images/bg_nav.gif); 
	font-family: Arial, Tahoma, Verdana;
	padding: 11px 0px 11px 15px;
	color: #909090;
	text-align: left;
	font-size: 10px;
}
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
    background: #2B2B2B;
	color: #FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
    margin: 0px 17px 0px 0px;
	padding: 11px 10px 11px 10px;
}
.navrow a:hover { 
	background: #666666;
	color: #FFFFFF;
	text-decoration: none; 
    margin: 0px 17px 0px 0px;
	padding: 11px 10px 11px 10px;
}

#featuredsect {
	color: #fff;
	margin:0;
	padding:20px 300px 20px 20px;
	background: #000 url(images/headertop.gif) no-repeat bottom right;
	font-family: Arial, Tahoma, Verdana;
	font-size: 15px;
	height:195px;
	overflow: hidden;
}	

#featuredsect p {
	font-family: Arial, Tahoma, Verdana;
	font-size: 15px;
	padding: 0 0 0 0;
	margin: 0 0 1em 0;
}	

#featuredsect h1 {
	color: #ffffff;
	font-size: 30px;
	font-family: Times New Roman, Tahoma, Verdana;
	font-weight: normal;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	}
	
#featuredsect h1 a, #featuredsect h1 a:visited  {
	color: #ffffff;
	text-decoration: none;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	}

#featuredsect h1 a:hover {
	color: blue;
	text-decoration: none;
	}

#featuredsect a{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

#featuredsect a img{
	text-decoration:none;
	margin:0;
	padding:0;
	border:none;
}

#featuredsect  ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	height: 25px;
	}
	
#featuredsect  li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}
	
#featuredsect  ul li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	line-height: 25px;
	float: left;
	margin-right: 20px;
	}
	
#featuredsect  ul li a, #featuredsect  ul li a:visited {
	background: #2B2B2B;
	color: #FFFFFF;
	font-size: 11px;
	font-family: Arial, Tahoma, Verdana;
	margin: 0px;
	padding: 5px 10px 5px 10px;
	font-weight: bold;
	border-top: 1px solid #DDDDDD;
	border-right: 1px solid #666666;
	border-left: 1px solid #DDDDDD;
	border-bottom: 1px solid #666666;
	text-decoration: none;
	text-transform: uppercase;
	}
	
#featuredsect  ul li a:hover {
	background: #000000;
	color: #FFFFFF;
	font-size: 11px;
	font-family: Arial, Tahoma, Verdana;
	margin: 0px;
	padding: 5px 10px 5px 10px;
	font-weight: bold;
	border-top: 1px solid #DDDDDD;
	border-right: 1px solid #666666;
	border-left: 1px solid #DDDDDD;
	border-bottom: 1px solid #666666;
	text-decoration: none;
	text-transform: uppercase;
	}
	
/* SubNavigation buttons */
.subnavtd {
	padding: 10px 10px 5px 10px;
}
.subnavrow-right { float: right; }
.subnavrow {
	background: #F1F1F1 url(images/subnav.gif); 
	padding: 7px;
	color: #909090;
	text-align: left;
	font-size: 11px;
}
.subnavrow b, .subnavrow strong { font-weight: normal; }
.subnavrow a, .subnavrow a:visited {
	color: #202020;
	text-decoration: none;
}
.subnavrow a:hover { 
	color: #D51515; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #202020; }
a.link-new:hover, a.link-new:visited:hover { color: #D51515; }

/* Content and tables */
#contentrow {
	padding: 5px 10px;
}

#footerrow {
	padding: 0px;
}

.tablebg {
	border: solid 1px #BBB;
	border-top-color: #C8C8C8;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F8F8F8 url(/images/cell.gif) top left repeat-x;
	padding: 4px;
}
th {
	color: #202020; 
	font-size: 11px; 
	font-weight: bold;
	background: #FFF url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}
th a, th a:visited {
	color: #AAA !important;
	text-decoration: underline;
}
th a:hover {
	color: #202020;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
}
.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
}
.cap-left {
	background: url(images/tcat_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap-right {
	background: url(images/tcat_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 12px;
	line-height: 1.2em;
	font-weight: bold;
	color: #202020;
	font-family: Arial, Tahoma, Verdana;
	}
	
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #202020;
	text-decoration: none;
}
caption a:hover {
	color: #D51515;
	text-decoration: underline;
}

/* Footer */
#wrapfooter {
	background: #FFFFFF;
	height: 20px;
	text-align: center;
	color: #202020;
}

.copyright {
	color: #202020;
	font-weight: normal;
	font-size: 10px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
.copyright a, .copyright a:visited {
	color: #202020;
	text-decoration: none;
}
.copyright a:hover { color: #D51515;text-decoration: underline;; }


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	font-weight: normal;
	white-space: normal;
	font-size: 1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

/* Index/viewforum */
.subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}
.subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}
.legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
}
.legend-viewforum { 
	margin: 0; 
	text-align: left; 
}

.forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left-color: #AAA;
	border-top-color: #AAA;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #D51515;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #202020;
}
td.postbottom { 
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	font-size: 10px;
	color: #444444;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #666666;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #444444;
}
.posterrank		{ font-size: 9px; color: #666; }
.posterprofile	{ font-size: 10px; color: #666; }

.postauthor {
	color: #202020;
	font-size: 12px;
	margin-bottom: 3px;
	font-weight: bold;
}
.postonline { margin-bottom: 2px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: #D51515;
	font-weight: bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
	color: #D51515;
	font-weight: bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 11px;
	color: #888;
	margin-top: 5px;
}
.signature .line { color: #AAA; }

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	color: #FFFFFF;
	background-color: #202020;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #202020;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: #202020;
	font-weight: bold;
}
.folder-current a:hover { color: #D51515; }

td.pm_marked_colour { background: #888; }
td.pm_marked_colour_left { border-left: solid 3px #888; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #888; padding-right: 2px; }

td.pm_replied_colour { background: #202020; }
td.pm_replied_colour_left { border-left: solid 3px #202020; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #202020; padding-right: 2px; }

td.pm_friend_colour { background: #202020 }
td.pm_friend_colour_left { border-left: solid 3px #202020; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #202020; padding-right: 2px; }

td.pm_foe_colour { background: #D51515; }
td.pm_foe_colour_left { border-left: solid 3px #D515151; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #D515151; padding-right: 2px; }


/* Form Elements
 ------------ */
form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #888;
	background-color: #FFF;
}
#helpline { color: #444; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}
select {
	font-size: 1.1em;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

.post {
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	font-size: 1.1em;
	border: 1px solid #849AB1;
}
.btnbbcode:hover {
	border-color: #444;
	color: #202020;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: transparent;
	color: #444;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #888;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #202020;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #202020; 
	color: #202020;
}

label:hover { 
	color: #D51515; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px 0 4px;
	border: solid 1px #D8D8D8;
	border-bottom-width: 0;
	color: #202020;
	background: #FFFFFF url(images/bg_box_code.gif) top right no-repeat;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle { background-image: url(images/bg_box_quote.gif); }
.attachtitle { background-image: url(images/bg_box_attach.gif); }

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	background-color: #FAFAFA;
	color: #444;
}

.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
	color: #444;
}

.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}


.syntaxbg {
	color: #202020;
}

.syntaxcomment {
	color: #666;
}

.syntaxdefault {
	color: #202020;
}

.syntaxhtml {
	color: #202020;
}

.syntaxkeyword {
	color: #D51515;
}

.syntaxstring {
	color: #202020;
}


/* More misc stuff */
h1 {
/*	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; */
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #CCC;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0px;
}

p.topicdetails {
	margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #DDD;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: normal;
}

.sep {
	color: #444;
}


/* bugs */
@media all and (min-width: 0px)
{
	/* reset file input style for Opera - it changes only text color and border, but not bg color */
	.btnfile, .btnfile:hover, .btnfile:focus { 
		border: none; 
		background-color: #FFF;
		color: #202020;
	}

}

#footer2 {
	width: 910px;
	height: 40px;
	margin: 0px auto 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
	}
	
#footer2 p {
	color: #FFFFFF;
	font-size: 11px;
	font-family: Arial, Tahoma, Verdana;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	}
	
#footer2 a, #footer2 a:visited {
	color: #FFFFFF;
	text-decoration: none;
	}
	
#footer2 a:hover {
	text-decoration: underline;
	}

#outer-wrapper{text-align:left;margin:0 auto;min-width:960px;}

/* header */
#header-wrapper{background-color:#111111;color:#fff;font:normal normal 100% Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;font-size:13px;height:70px;overflow:hidden;}
#header{width:940px;margin:0 auto;padding:20px 0;background-color:#111111;}
#headerleft {padding-left:20px;width:380px;float:left;display:inline;}
#headerright {padding-right:20px;width:500px;float:right;display:inline;}
#header h1, #header h2 {font-size:2.5em;line-height:1;margin:0 0 20px 0;padding:0;color:#fff;}
#header a, #header a:visited {text-decoration:none;color:#fff;}
#header a:hover {text-decoration:none;color:#666;}
#header .description {font-size:1em;color:#666;padding:0;margin:0;}
img.fullheader {width:100%;}
#header a img {padding:0;margin:0;}

.navtop {margin-bottom:	1em;}
.navtop a {padding:.75em .75em;text-decoration:none;text-transform:uppercase;color:#FFF;}
.navtop a, .navtop a:visited  {color:#FFF; /* visited pseudo selector so IE6 applies text colour*/}
.navtop li {background:none;}
.navtop li li {background:#3B3B3B;}
.navtop li li a {border-top:1px solid #3B3B3B;border-right:1px solid #3B3B3B;}
.navtop li li li {background:#3B3B3B;}
.navtop li li li a {border-top:1px solid #3B3B3B;border-right:1px solid #3B3B3B;}
.navtop li:hover, .navtop li.sfHover,
.navtop a:focus, .navtop a:hover, .navtop a:active {background:#000000;color:#FFF;outline:0;text-decoration:none;}
/* superfish */
.sf-menu, .sf-menu * {margin:0;	padding:0;list-style:none;}
.sf-menu {line-height:1.0;}
.sf-menu ul {position:absolute;top:-999em;width:15em;z-index: 99; /* left offset of submenus need to match (see below) */}
.sf-menu ul li {width:100%;}
.sf-menu li:hover {visibility:inherit; /* fixes IE7 'sticky bug' */}
.sf-menu li {float:left;position:relative;z-index:99;}
.sf-menu a {display:block;position:relative;}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {left:0;top:2.5em;/* match top ul list item height */}
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {top:-999em;}
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {top:0;left:15em; /* match ul width */}
ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {top:-999em;}
ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {top:0;left:15em; /* match ul width */}
/*search form */
#searchformtop {margin: 0 10px 0 0; padding: 0.4em 0;}
#searchformtop br {display: none;}
#searchformtop #stop {width:195px;height:1.25em;float:left;background:#fff;color:#000;border:1px solid #000;}
/* search form button - to specify button only use input[type="submit"] */
#searchformtop input {width:95px;height:1.5em;float:right;cursor:pointer;background:#000;color:#FFF;border:1px solid #000;}

#headernav{margin:0;padding:0;float:right;font-size:95%;font-weight:bold;}
#headernav li{margin-left:0;}
#headernav li li{margin-left:0;}
#headernav a:hover {text-decoration:none;color:#FFF;}

#headnote-wrapper {display:block;clear:both;margin:0 auto 20px;padding:0;z-index:2;position:relative;background:#666666;color:#DDDDDD;border-top:1px solid #949494;text-transform:uppercase;}
#headnote {width:940px;display:block;clear:both;margin:0 auto;padding:10px 0 7px;}
#headnote h1 {margin:0;padding:0;line-height:1em;font-size:170%;color:#DDDDDD;}
#headseparator {height:11px;}
#breadcrumb {width:940px;display:block;clear:both;margin:0 auto;padding:10px 0 10px;font-weight:bold;}
#breadcrumb a, #breadcrumb a:visited, #breadcrumb a:hover{color:#DDDDDD;text-decoration:none;}

/* navigation */
#navmenu-wrapper {width:100%;display:block;clear:both;margin:0 auto;padding:0;z-index:2;position:relative;background:#111111;}
#navmenu {width:960px;display:block;clear:both;margin:0 auto;padding:0;}
#navleft {width:630px;float:left;position:relative;}
#navright {width:310px;float:right;position:relative;}

#contenttop-wrapper{width:920px;margin:0 auto;}

#footer-wrapper{font:normal normal 100% Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;font-size:12px;background:#111;color:#666;display:block;clear:both;margin:0;padding:0 auto;}
#footer{width:900px;margin:0 auto;padding:20px 30px 20px 30px;}
#footer a, #footer a:visited {color:#666;text-decoration:none;}
#footer a:hover {color:#FFF;text-decoration:underline;}
#footernav {list-style:none;margin:0 0 10px -10px;padding:0;}
#footernav li {list-style:none;display:inline;margin:0;padding:0 10px; border-left:1px solid #666;font-weight:bold;}
#footernav li.footernav_first {border:none;}
 
.alignleft{float:left;} 
.alignright{float:right;} 
.center{text-align:center;} 

.clear{clear:both;}.divclear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0;}.clearfix:after{clear:both;content:'.';display:block;visibility:hidden;height:0;}.clearfix{display:inline-block;}* html .clearfix{height:1%;}.clearfix{display:block;}

.error,.notice,.success {font:normal normal 100% Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;font-size:12px;padding:.8em;margin:0 10px; margin-bottom:1em;border:2px solid #ddd;}
.error{background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice{background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success{background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a{color:#8a1f11;}
.notice a{color:#514721;}
.success a{color:#264409;}