/* custom stuff */

html {
  height: 100%;
  margin-bottom: 1px;
}


body {
	margin: 0;
	padding: 0;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

span.pathway {
	display: block;
	vertical-align: middle;
	margin-top: 5px;
	font-weight: normal;
}

span.pathway img {
  padding: 5px 5px;
  vertical-align: top;
}

div.path-padding {
	padding: 10px 10px 10px 25px;
	background: url(../images/arrow.png) 10px 20px no-repeat;
}

span.pathway a {
  line-height: 150%;
}

div#pathway {
	margin-bottom: 10px;
	padding-left: 8px;
}

span.article_seperator {

}

a.readon {
  line-height: 300%;
}

/*** fonts ***/
body {
		line-height: 125%;
		font-family: Tahoma, Helvetica, sans-serif;
		color: #ccc;
}

/* size attributes */

body.f-smaller {
	font-size: 10px;
}

body.f-default {
	font-size: 11px;
}

body.f-larger {
	font-size: 13px;
}

.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 95%;
}

#nav a,
#inset a {
	font-size: 100%;
}

div.moduletable h3,
div.moduletable-blue h3,
div.moduletable-green h3,
div.moduletable-red h3,
div.moduletable-orange h3,
div.moduletable-gold h3,
div.moduletable-purple h3,
td.side h3,
.componentheading {
	font-size: 100%;
	line-height: 100%;
}

.contentheading {
	font-size:  120%;
	padding-bottom:  10px;
	padding-top:  10px;
}

div.componentheading {
  color: #ccc;
	font-weight: bold;
	margin-bottom: 10px;
}

p {
	margin-bottom: 15px;
}


/* font family */
h1,
h2,
h3,
h4,
h5,
.contentheading,
.componentheading,
.sectiontableheader {
	font-family: Tahoma, Helvetica, sans-serif;
	font-weight: bold;
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


/* module settings */

div.moduletable,
div.moduletable-blue,
div.moduletable-green,
div.moduletable-red,
div.moduletable-orange,
div.moduletable-gold,
div.moduletable-purple {
	margin-bottom: 5px;
	padding: 6px 5px;
}

div.moduletable h3,
div.moduletable-blue h3,
div.moduletable-green h3,
div.moduletable-red h3,
div.moduletable-orange h3,
div.moduletable-gold h3,
div.moduletable-purple h3 {
	margin: -6px -5px 5px -5px; 
	text-transform: uppercase;
	font-weight: bold;
	height: 40px;
	line-height: 28px;
	text-indent: 45px;
}

div.moduletable-blue h3 {
	background:  url(../images/blue/module_head.png) no-repeat;	
	color: #cccccc;
}

div.moduletable-green h3 {
	background:  url(../images/green/module_head.png) no-repeat;	
	color: #4dbf00
}

div.moduletable-red h3 {
	background:  url(../images/red/module_head.png) no-repeat;	
	color: #c00;
}

div.moduletable-orange h3 {
	background:  url(../images/orange/module_head.png) no-repeat;	
	color: #fc4f07;
}

div.moduletable-gold h3 {
	background:  url(../images/gold/module_head.png) no-repeat;	
	color: #f4b800;
}

div.moduletable-purple h3 {
	background:  url(../images/purple/module_head.png) no-repeat;	
	color: #cd35ff;
}

/* default menu link styles */
a.sublevel {

}

a.mainlevel:hover {
	text-decoration: none;
}

td a.sublevel:hover {
	text-decoration: underline;
}

/** regular joomla menu **/

a.mainlevel {
	display: block;
	padding: 3px 0px;
	text-indent: 4px;
	width: 100%;
}

/* headings */

h1 {
	line-height: 100%;
	font-size: 200%;
}

h2 {
   line-height: 100%;
   font-size: 150%;
}

h3 { 
   line-height: 100%;
   font-size: 120%;
}

h4 {
	 line-height: 100%;
	 font-size: 110%;
}

.small,
.modifydate,
.createdate {
	font-weight: normal;
	color: #999;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
}

.createdate {
	height: 20px;
	vertical-align: top;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
 	vertical-align: middle;
}

td.buttonheading img {
	margin-right: 5px;
}

td.sectiontableheader {
  font-weight: bold;
  padding: 0 4px;
  line-height: 20px;
	background: #222;
	border-top: 1px solid #333;
	border-bottom: 1px solid #111;
}

tr.sectiontableentry1 td, 
tr.sectiontableentry2 td,
td.sectiontableentry1, 
td.sectiontableentry2 {
  padding: 4px;
}

table.contentpaneopen, table.contentpane {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

table.contentpaneopen td p {
  padding-right: 10px;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}

.clr {
	clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}


/** template layout stuff **/

body {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
	background-attachment: fixed;
}

div.wrapper {
	margin: auto;
	position: relative;
	width: 915px;
	background: #000;
}

div#inner-wrapper {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

div#header {
	height: 60px;
	background: url(../images/head_bg.png) repeat-x;
	position: relative;
}

div#emblem {
	height:  54px;
}

span#logo {
	display: block;
	height: 54px;
	width: 276px;
}

div#searchbox {
	background: url(../images/search.png) 0 0 no-repeat;
	float: right;
	width: 174px;
	height: 54px;
	overflow: hidden;
}

div#searchbox input {
	background: #000;
	margin-top: 19px;
	margin-left: 29px;
	height: 12px;
	width:  120px;
	border: 0;
	color: #ccc;
	font-size: 10px;
}

div#access {
	float:  right;
	width: 100px;
	height: 54px;
}

div#menubar {
	background: url(../images/menu_bg.png) 0 0 repeat-x;
}

div#menubar .bolts_l {
	background: url(../images/menu_bolts.png) 0 0 no-repeat;
}

div#menubar .bolts_r {
	background: url(../images/menu_bolts.png) 100% 0 no-repeat;
	height:  35px;
}

table.nopad {
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

td.leftcol,
td.rightcol,
td.leftdiv,
td.rightdiv,
td.usercol,
td.userdiv,
td.contentcol,
td.maincol {
	padding: 0;
}

td.leftcol,
td.rightcol {
	background: #1F1F1F;
	width: 150px;
}

td.leftcol div.moduletable,
td.rightcol div.moduletable {
	width: 140px;
}

td.leftcol

td.leftdiv,
td.rightdiv {
	width: 16px;
}

td.leftdiv {
	background: url(../images/shadow_l.png) repeat-y;
}

td.rightdiv {
	background: url(../images/shadow_r.png) repeat-y;
}

div#banner {
	padding: 0;
}

div#banner img {
	padding: 0;
	margin: 0;
}

div#footer {
	background: url(../images/footer_bg.png) repeat-x;
	height: 85px;
	border-top: 1px solid #000;
	margin: 0;
	padding: 0;
}

div.divtop {
	clear: both;
	background: #000;
	height: 1px;
	overflow: hidden;
}

div.usermodules {
	background: #08090b url(../images/mod_bg.png) repeat;
}

div.mod1 {
	background: url(../images/mod_bolt_t.png) 100% 0 no-repeat;
}

div.mod2 {
	background: url(../images/mod_bolt_t.png) 0 0 no-repeat;
}

div.mod3 {
	background: url(../images/mod_bolt_b.png) 100% 100% no-repeat;
}

div.mod4 {
	background:  url(../images/mod_bolt_b.png) 0 100% no-repeat;
}

div.moddiv1 {
	background: url(../images/mod_div_bg.png) 50% 0 repeat-y;
}

div.moddiv2 {
	background: url(../images/mod_bolts_b.png) 50% 100% no-repeat;
}

div.moddiv3 {
	background: url(../images/mod_bolts_t.png) 50% 0 no-repeat;
}

div.usermodules div.moduletable h3 {
	background: url(../images/mod_h3_bg.png) 5px 0 no-repeat;
	color: #ccc;
	padding-top: 7px;
	line-height:  100%;
	text-indent:  0;
	padding-left: 35px;
	height:  auto;
	padding-bottom: 10px;
}

div.usermodules td.usercol {
	padding: 5px;
}

div.moddivider {
	background: url(../images/mod_div2.png) 0 0 repeat-x;
	height: 12px;
	overflow: hidden;
}

td.contentcol {
	background: #191919;
}

td.usercol {
	width: 50%;
}

div.padding {
	padding:  10px;
}

div#bot-rss {
	float: left;
	margin-left: 70px;
	margin-top: 22px;
}

div#bot-w3c {
	float: right;
	margin-right: 28px;
	margin-top: 30px;
}

div#bot-rocket {
	margin: 22px auto;
	display: block;
	position: relative;
	width: 140px;
	height: 41px;
}

/* accessibility stuff */

#access {

}

#access span {
	background-repeat: no-repeat;
}

#access a {
	text-decoration: none;
}

#access .spacer {
	display:  block;
	float:  right;
	width: 10px;
	overflow:  hidden;
}

#access #buttons {
	float: right;
	padding-right: 11px;
}

#access .button {
	display: block;
	float: right;
	width: 18px;
	height: 15px;
	margin-left: 1px;
	margin-top: 18px;	
	background-repeat: no-repeat;
}

a.large .button {
	background: url(../images/font_l.png);
}

a.small .button {
	background: url(../images/font_s.png);
}

a.default .button {
	background: url(../images/font_m.png);
}

/* menu stuff */
a.mainlevel:link,
a.mainlevel:visited {
	color: #ccc;
	text-indent: 10px;
	background: url(../images/submenu_bullet.png) 0 50% no-repeat;
}

a.mainlevel:hover {
	color: #fff;
}

/* main tabs */
#mainmenu {
	padding: 0;
	white-space: nowrap;
	float: left;
	margin: 5px 18px 0;
}

#mainmenu ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#mainmenu li {
	float: left;
	margin: 0;
	padding: 0 10px;
	border-right:  1px solid #1B0707;
}

#mainmenu a:link, #mainmenu a:visited {
	float: left;
	display: block;
	padding: 2px 10px;
	font-size: 95%;
	text-transform: lowercase;
	font-weight: bold;
	height:  17px;
	line-height:  17px;
	color: #ccc;
}

#mainmenu a:hover {
	color: #fff;
	text-decoration: none;
}

/* color stuff */

#mainmenu li.blue a,
#mainmenu li.blue_active_menu a {
	border-bottom:  3px solid #2543BC;
}

body.blue #submenu li.active_menu a:link, 
body.blue #submenu li.active_menu a:visited,
#mainmenu li.blue_active_menu a:link,
#mainmenu li.blue_active_menu a:visited,
body.blue #mainmenu li.default_active_menu a:link,
body.blue #mainmenu li.default_active_menu a:visited {
	color:  #2543BC;
}

#mainmenu li.red a,
#mainmenu li.red_active_menu a {
	border-bottom:  3px solid #cc0000;
}

body.red #submenu li.active_menu a:link, 
body.red #submenu li.active_menu a:visited,
#mainmenu li.red_active_menu a:link,
#mainmenu li.red_active_menu a:visited,
body.red #mainmenu li.default_active_menu a:link,
body.red #mainmenu li.default_active_menu a:visited {
	color:  #cc0000;
}

#mainmenu li.gold a,
#mainmenu li.gold_active_menu a {
	border-bottom:  3px solid #FFCC00;
}

body.gold #submenu li.active_menu a:link, 
body.gold #submenu li.active_menu a:visited,
#mainmenu li.gold_active_menu a:link,
#mainmenu li.gold_active_menu a:visited,
body.gold #mainmenu li.default_active_menu a:link,
body.gold #mainmenu li.default_active_menu a:visited {
	color:  #FFCC00;
}

#mainmenu li.orange a,
#mainmenu li.orange_active_menu a {
	border-bottom:  3px solid #FF6600;
}

body.orange #submenu li.active_menu a:link, 
body.orange #submenu li.active_menu a:visited,
#mainmenu li.orange_active_menu a:link,
#mainmenu li.orange_active_menu a:visited,
body.orange #mainmenu li.default_active_menu a:link,
body.orange #mainmenu li.default_active_menu a:visited {
	color:  #FF6600;
}

#mainmenu li.purple a,
#mainmenu li.purple_active_menu a {
	border-bottom:  3px solid #B00077;
}

body.purple #submenu li.active_menu a:link, 
body.purple #submenu li.active_menu a:visited,
#mainmenu li.purple_active_menu a:link,
#mainmenu li.purple_active_menu a:visited,
body.purple #mainmenu li.default_active_menu a:link,
body.purple #mainmenu li.default_active_menu a:visited {
	color:  #B00077;
}

#mainmenu li.green a,
#mainmenu li.green_active_menu a {
	border-bottom:  3px solid #3FC100;
}
body.green #submenu li.active_menu a:link, 
body.green #submenu li.active_menu a:visited,
#mainmenu li.green_active_menu a:link,
#mainmenu li.green_active_menu a:visited, 
body.green #mainmenu li.default_active_menu a:link,
body.green #mainmenu li.default_active_menu a:visited{

	color:  #3FC100;
}


/* submenu */
#submenu {
	padding: 0;
	white-space: nowrap;
	height: 24px;
	line-height: 24px;
	background: url(../images/submenu_bg.png) 0 100% repeat-x;
	border-bottom: 1px solid #000;
}

#submenu ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	padding-left:  30px;
}

#submenu li {
	float: left;
	margin: 0;
	padding: 0;
	padding-right: 10px;
	background: url(../images/submenu_bullet.png) 0 50% no-repeat;
}

#submenu li.active_menu a:link, #submenu li.active_menu a:visited {
	color: #ccc;
}

#submenu a:link, #submenu a:visited {
	float: left;
	display: block;
	padding: 0px 10px;
	line-height: 12px;
	margin: 5px 0;
	text-transform: lowercase;
	font-size: 95%;
	font-weight: bold;
	color: #ccc;
}

#submenu a:hover {
	color:  #fff;
	text-decoration: none;
}

/* some page content things */

.hide {
	display: none;
}

td.left ul,
td.right ul {
  margin: 0;
  padding: 5px 0px 5px 12px;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

blockquote {
	margin: 10px 0;
	line-height: 140%;
	padding: 10px;
	background: #333;
	color: #eee;
}

pre {
	padding: 10px;
	background: #000;
	border: 1px solid #333;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}