a {
	color: #FFCC00;
	text-decoration: none;
}

/* General page style */
a:link, a:active, a:visited, a.postlink{
	color: #FFCC00;
	text-decoration: none;
}

a:hover{
	color: #767676;
	text-decoration: none;
}

a.admin:hover, a.mod:hover{
	color: #767676;
	text-decoration: none;
}

a.admincolor:hover {
	color: #767676;
	text-decoration: none;
}

a.but, a.but:hover, a.but:visited{
	color: #767676;
	text-decoration: none;
}

a:hover {
	color: #767676;
	text-decoration: none;
}

bblink a {
	color: #FFCC00;
	text-decoration: none;
}

bblink a:hover {
	color: #767676;
	text-decoration: none;
}

body{
	color: #E7E7E7;
	font: 10px Verdana,Arial,Helvetica,sans-serif;
	margin: 8px;
	padding: 0;
	scrollbar-3dlight-color: #6A6A6A;
	scrollbar-arrow-color: #EEEEEE;
	scrollbar-darkshadow-color: #000000;
	scrollbar-face-color: #1F1F1F;
	scrollbar-highlight-color: #1F1F1F;
	scrollbar-shadow-color: #000000;
	scrollbar-track-color: #4D4D4D;
	background: #4D4D4D;
}

/* General font families for common tags */
font, th, td, p{
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	text-decoration: none;
}

/* Form elements */
h1{
	color: #FFFFFF;
	margin: 2px;
	text-decoration: none;
	font: italic 32px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

h2 {
	color: #FFFFFF;
	margin: 0px;
	font: italic 18px Arial, Helvetica, sans-serif;
}

h3 {
	margin: 2px;
	font: normal 12px Verdana, Arial, Helvetica, sans-serif;
}

/* Gets rid of the need for border="0" on hyperlinked images */
img{
	border: 0px solid;
}

input{
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #000000;
	font-size: 11px;
}

input.button, input.liteoption, .fakebut{
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #E7E7E7;
	font-size: 11px;
}

input.catbutton{
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
}

input.mainoption{
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFCC00;
	font-size: 11px;
}

input.post, textarea.post{
	background: #303030;
	border: 1px solid;
	border-color: #000000 #707070 #707070 #000000;
	color: #E7E7E7;
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	padding-bottom: 2px;
	padding-left: 2px;
}

li {
	list-style-position: outside;
	list-style-type: disc;
	margin-bottom: 4px;
	margin-left: 10px;
	margin-top: 4px;
	padding: 0px;
}

p{
	margin-bottom: 3px;
	margin-top: 2px;
}

p {
	margin: 2px 0px;
	font: 100% Arial, Helvetica, sans-serif;
}

table {
	font-size: 12px;
}

table.menu{
	position: absolute;
	text-decoration: none;
	visibility: hidden;
	background: #333333;
}

/* Category gradients*/
td.cat{
	background: url('images/cellpic1.gif') #191919;
	color: #8E8E8E;
	font-weight: bold;
	height: 31px;
	letter-spacing: 1px;
	text-indent: 4px;
}

td.cat {
	background: url(images/cellpic1.gif) #191919;
	color: #8E8E8E;
	font-weight: bold;
	height: 28px;
	letter-spacing: 1px;
	text-indent: 4px;
}

td.cathead,td.catsides,td.catleft,td.catright,td.catbottom{
	background: url(images/cellpic1.gif) #191919;
	color: #8E8E8E;
	font-weight: bold;
	height: 28px;
	letter-spacing: 1px;
	text-indent: 4px;
}

td.genmed, .genmed{
	font-size: 11px;
}

td.genmed,.genmed{
	font-size: 11px;
}

td.menu{
	background: #383838;
	border: 2px solid #666666;
	font-size: 10px;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
}

td.rowpic, td.spacerow, td.spacerow {
	background: url(images/cellpic2.jpg) #343434 repeat-y;
}

th{
	background: url(images/table.gif) #171717;
	color: #8E8E8E;
	font-size: 11px;
	font-weight: bold;
	height: 27px;
	padding-left: 8px;
	padding-right: 8px;
	text-align: center;
	white-space: nowrap;
}

/* Table Header cells */
ul {
	margin-left: 5px;
	padding: 0px;
}

/* Admin & Moderator Colours MODification */
.admin, .mod{
	font-size: 11px;
	font-weight: bold;
}

.admin, a.admin, a.admin:visited{
	color: #FFCC00;
}

.admin_menu {
	color: #FFCC00;
	margin-bottom: 0px;
	margin-top: 0px;
	text-align: center;
	border: 2px solid;
	border-color: #707070 #000000 #000000 #707070;
	font: 85% Arial, Helvetica, sans-serif;
	background: url(images/cellpic4.jpg) bottom;
}

.admin_menu a {
	color: #FFCC00;
	display: block;
	position: relative;
	text-decoration: none;
	padding: 1px 2px;
}

.admin_menu a:hover {
	text-decoration: none;
	color: #767676;
}

.admin_menu_thumb {
	border: 1px solid #FFCC00;
	color: #FFFFFF;
	margin-bottom: 0px;
	margin-top: 0px;
	width: 85px;
	font: bold 85% Arial, Helvetica, sans-serif;
	background: bottom;
}

.admin_menu_thumb a {
	color: #FFFFFF;
	display: block;
	position: relative;
	text-decoration: none;
	padding: 1px 10px;
}

.admin_menu_thumb a:hover {
	color: #767676;
	text-decoration: none;
}

.admincolor, a.admincolor, a.admincolor:link, a.admincolor:active, a.admincolor:visited {
	color: #FFCC00;
	font-weight: bold;
	text-decoration: none;
}

.alblink a {
	color: #FFCC00;
	text-decoration: none;
}

.alblink a:hover {
	color: #767676;
	text-decoration: none;
}

.album_stat {
	font-size: 85%;
	margin: 5px 0px;
}

.bodyline{
	background: #2E2E2E;
}

.button {
	border: 1px solid #FFCC00;
	color: #000000;
	font: 100% Arial, Helvetica, sans-serif;
	background: url(images/button_bg.gif) bottom;
}

.catlink {
	display: block;
	margin-bottom: 2px;
	color: #FFCC00;
}

.catlink a {
	color: #FFCC00;
	text-decoration: none;
}

.catlink a:hover {
	color: #767676;
	text-decoration: none;
}

.checkbox {
	vertical-align: middle;
	font: 100% Verdana, Arial, Helvetica, sans-serif;
}

.clickable_option {
	border-bottom: 1px dotted #FFE36E;
	cursor: pointer;
}

/* Code blocks */
.comment_button {
	border: 1px solid #FFCC00;
	padding-left: 3px;
	padding-right: 3px;
	color: #000000;
	font: 100% Arial, Helvetica, sans-serif;
	background: url(images/button_bg.gif) bottom;
}

.comment_date{
	color: #5F5F5F;
	font-size: 90%;
	vertical-align: middle;
}

.copyright		{
	color: #FFFFFF;
	font-size: 9px;
	letter-spacing: -1px;
}

.debug_text {
	border: #BDBEBD;
	margin: 0px;
	width: 100%;
	color: #000000;
	background: #EFEFEF;
}

/* This is for the error messages that pop up */
.errorline{
	background: #FFCC00;
	border: 1px solid #000000;
}

.explaintitle{
	color: #727272;
	font-size: 11px;
	font-weight: bold;
}

.footer {
	color: #FFCC00;
	font-size: 9px;
}

.footer a {
	color: #FFCC00;
	text-decoration: none;
}

.footer a:hover {
	color: #767676;
	text-decoration: none;
}

/* This is the outline round the main forum tables */
.forumline{
	background: #707070;
}

/* This is the outline round the main forum tables */
.forumline{
	background: #010101;
}

/* General text */
.gensmall{
	font-size: 10px;
}

.headtitle{
	color: #404040;
	font: bold 18px/180% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
}

/* This is the line in the posting page which shows the rollover help line. */
.helpline{
	background: #D7D7D7;
	border: 0px solid;
	font-size: 10px;
	color: #000000;
}

.image {
	color: #FFFFFF;
}

.imageborder {
	margin-bottom: 30px;
	margin-top: 30px;
	color: #FFCC00;
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
}

.img_caption_table {
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFCC00;
	font-size: 11px;
}

.img_caption_table td {
	background: #4B4B4B;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFCC00;
	font-size: 11px;
	padding: 4px 10px;
}

.img_caption_table th {
	background: #303030;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFCC00;
	font-size: 11px;
	padding: 4px 10px;
}

.imgfade{
	filter: alpha(opacity=50);
	margin-left: 3px;
	-moz-opacity: 0.5;
}

.imgfolder{
	margin: 1px;
	margin-left: 4px;
	margin-right: 4px;
}

.imgfull{
	filter: alpha(opacity=100);
	margin-left: 3px;
	-moz-opacity: 1;
}

.imgspace{
	margin-left: 1px;
	margin-right: 2px;
}

.listbox {
	border: 1px solid #A3AAB4;
	vertical-align: middle;
	color: #000000;
	font: 100% Verdana, Arial, Arial, Helvetica, sans-serif;
	background: #DEDEDE;
}

.listbox_lang {
	border: 1px solid #D1D7DC;
	color: #000000;
	vertical-align: middle;
	font: 10px Arial, Helvetica, sans-serif;
	background: #D1D7DC;
}

.listbox_lang {
	border: 1px solid #D1D7DC;
	color: #000000;
	vertical-align: middle;
	font: 10px Arial, Helvetica, sans-serif;
	background: #D1D7DC;
}

.maintable {
	margin-bottom: 1px;
	margin-top: 1px;
	background: #2E2E2E;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
}

/* The largest text used in the index page title and toptic title etc. */
.maintitle, h1{
	color: #767676;
	font: bold 20px/120% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
	text-decoration: none;
}

/* Used for the navigation text,(Page 1,2,3 etc) and the navigation bar when in a forum */
.nav{
	background: url(images/cellpic1.gif) #66707C;
	font: bold 100% Verdana, Arial, Helvetica, sans-serif;
}

.navmenu {
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font: bold 100% Verdana, Arial, Helvetica, sans-serif;
	background: url(images/cellpic1.gif) #66707C;
	background: #303030;
}

.navmenu a {
	color: #FFCC00;
	display: block;
	position: relative;
	text-decoration: none;
	padding: 2px 5px;
}

.navmenu a:hover {
	background: url(images/cellpic1.gif) #767676;
	color: #FFCC00;
	text-decoration: none;
}

.navmenu img {
	margin: 1px 5px;
}

.radio {
	vertical-align: middle;
	font: 100% Verdana, Arial, Helvetica, sans-serif;
}

.sortorder_cell {
	background: #414141;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
}

.sortorder_options {
	background: #414141;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	white-space: nowrap;
	font: normal 80% Verdana, Arial, Helvetica, sans-serif;
}

.statlink {
	color: #FFFFFF;
}

.statlink a {
	color: #FFCC00;
	text-decoration: none;
}

.statlink a:hover {
	color: #767676;
	text-decoration: none;
}

.subtitle, h2{
	font: bold 18px/180% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
	text-decoration: none;
}

.tableb {
	background: #343434;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
	padding: 3px 10px;
}

.tableb_compact {
	background: #343434;
	padding: 2px 5px;
}

.tablef {
	background: #343434;
	padding: 10px;
}

.tableh1 {
	background: #414141;
	color: #FFFFFF;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
	padding: 3px 10px;
}

.tableh1_compact {
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFFFFF;
	font: bold 100% Verdana, Arial, Helvetica, sans-serif;
	background: url(images/cellpic1.gif) #66707C;
	background: #303030;
}

.tableh2 {
	background: #272727;
	color: #FFCC00;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
	padding: 3px 10px;
}

.tableh2_compact {
	background: #272727;
	color: White;
	border: 1px solid;
	border: 1px solid;
	font-size: 11px;
	border-color: #707070 #000000 #000000 #707070;
	border-color: #707070 #000000 #000000 #707070;
	padding: 2px 5px;
}

.tblbot{
	background: url(images/tnav_b.gif) #2E2E2E repeat-x;
}

.tblleft{
	background: url(images/tnav_l.gif) #2E2E2E repeat-y;
}

.tblright{
	background: url(images/tnav_r.gif) #2E2E2E repeat-y;
}

.tbltop{
	background: url(images/tnav_t.gif) #2E2E2E repeat-x;
}

/* Background images for tables */
.textinput {
	border: 1px solid #A3AAB4;
	padding-left: 3px;
	padding-right: 3px;
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #DEDEDE;
}

.thumb_caption {
	display: block;
	font-size: 80%;
	padding: 1px;
}

.thumb_caption a {
	color: #FFCC00;
	text-decoration: none;
}

.thumb_num_comments {
	display: block;
	font-size: 80%;
	font-style: italic;
	font-weight: normal;
	padding: 2px;
}

.thumb_title {
	display: block;
	font-size: 80%;
	font-weight: bold;
	padding: 2px;
}

.thumb_title a {
	color: #FFCC00;
	text-decoration: none;
}

.thumbnails {
	background: #343434;
	padding: 5px;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	font-size: 11px;
	color: #FFFFFF;
}

/* This is the gradient background at the top of the page */
.topbkg{
	background: url(images/header.gif) #1A1A1A no-repeat;
	color: #000000;
	font-size: 13px;
	font-weight: bold;
	height: 85px;
	line-height: 140%;
	width: 100%;
}

/* titles for the topics:could specify viewed link colour too */
.topictitle{
	font-size: 11px;
	font-weight: bold;
}

.topmenu {
	font-size: 100%;
}

.topmenu a {
	color: #FFCC00;
	text-decoration: none;
}

.topmenu a:hover {
	color: #767676;
	text-decoration: none;
}

.topmenu td {
	font-weight: bold;
	white-space: nowrap;
}

.topnav{
	background: #1D1C19;
	border: 1px solid;
	border-color: #707070 #000000 #000000 #707070;
	color: #FFCC00;
	font-size: 9px;
	height: 20px;
	white-space: nowrap;
}

.user_thumb_infobox {
	margin-bottom: 1px;
	margin-top: 1px;
}

.user_thumb_infobox a {
	color: #FFCC00;
	text-decoration: none;
}

.user_thumb_infobox a:hover {
	color: #767676;
	text-decoration: none;
}

.user_thumb_infobox td {
	font-size: 85%;
	margin-bottom: 1px;
	margin-top: 1px;
	text-align: center;
}

.user_thumb_infobox th {
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 1px;
	margin-top: 1px;
	text-align: center;
}

#v_css {
	float: right;
	background: url(../../images/valid-css.gif);
}

#v_css:hover{
	background: url(../../images/h_valid-css.gif);
}

#v_mysql {
	float: left;
	background: url(../../images/powered-mysql.gif);
}

#v_mysql:hover {
	background: url(../../images/h_powered-mysql.gif);
}

#v_php {
	float: left;
	background: url(../../images/powered-php.gif);
}

#v_php:hover {
	background: url(../../images/h_powered-php.gif);
}

#v_xhtml {
	float: right;
	background: url(../../images/valid-xhtml10.gif);
}

#v_xhtml:hover {
	background: url(../../images/h_valid-xhtml10.gif);
}

#vanity a {
	display: block;
	width: 57px;
	height: 20px;
	margin: 3px 20px;
}

#vanity img {
	border: 0;
}


















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

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, "Trebuchet MS", "Lucida Grande", Helvetica, Arial, sans-serif;
	color: #CCCCCC;
	text-align: center;
	background-color: #000000;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0px 10px 0px 10px;
}

/* Main structure */
.wrapper {
	margin: 0 auto;
	background: #000000;
	width: 800px; 
}

/* Banner */
#banner{
	height: 117px;
}

/* Menu */
.menu a, .menu a:visited, .menu a:link {
	text-align: center;
	background: #000 url(http://thenebula.com/images/menu_buttons.gif) repeat-x;
	border-right: 1px solid #111111;
	font-size: 1.2em;
	color: #FFCC33;
	float: left;
	padding-top: 3px;
	width: 159px; height: 21px;
}
.menu a span {
	padding-left: 0px;
}
.menu a:hover {
	background-position: left bottom;
	color: #DD2222;
	text-decoration: none;
}
.menu a#last {
	width: 160px;
	border-right: none;
}

/* Sidebar */
#sidebar{
	width:200px;
	float:right;
	text-align:left;
}

.sideitem p, .sideitem h5{
	margin:10px;
	line-height:16px;
}

.sideitem h5{
	color:#9CF
}

.sideitem{
	background-color:#111111;
	border-top:1px dotted #CCC;
	border-bottom:1px dotted #CCC;
	margin-top:10px;
	padding: 10px 10px 10px 0px;
}

.myform{
	margin: 10px 10px 10px 10px;
}

#stylized input{
	float: left;
	font-size: 12px;
	border: solid 1px #9CF;
	width: 150px;
	padding: 4px 2px;
	margin: 10px 10px 10px 10px;
}

#stylized button{
	clear: both;
	height: 25px;
	width: 75px;
	/* background: #666666 url(img/button.png) no-repeat; */
	text-align: center;
	color: #111111;
	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 0px 90px;
}

/* Main content */
#content{
	text-align:left;
	width:570px;
	float:left;
	margin:auto;
	position:relative;
}

#content p{
	line-height: 13px;
	letter-spacing: 0px;
}

.intro{
	border-top: 1px solid #CCC;
	border-bottom:1px solid #CCC;
	margin: 10px 0 10px 0;	
	padding: 8px;
	background-color:#111111;
}

.dropcap{
	line-height: 40px;
	font-size: 40px;
	width: auto;
	float: left;
	margin: -3px 5px 0 0;
	color: #AAA;
}

.blog{
	width: 570px;
	margin: 10px 0 10px 0;	
}

.blogdate{
	border-bottom: 3px double #CCC;
	text-align: center;
	width: 120px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	background-color: #111111;
}

.daynum{
	font-size: 36px;
	color: #9CF;
}

.month{
	font-size: 12px;
	padding-left: 0px;
	font-variant: small-caps;
	text-align: center;
}

.blog_l{
	border-top: 3px double #CCC;
	float: left;
	width: 120px;
	text-align: right;
	font-variant: small-caps;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.blog_l img{
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	padding:2px 0 2px 0;
	margin-bottom:10px;
}

.blog_r{
	border-top: 3px double #CCC;
	float: right;
	width: 430px;
	padding-top: 10px;
	padding-left: 20px;
	margin-bottom: 10px;
}

.blog_r h2{
	margin-top: -8px;
}

.blog_r h5{
	margin-top: -16px;
	letter-spacing: 2px;
	color: #9CF;
}

/* Footer */
#footer{
	float: right;
 	border-top: 1px solid #CCC;
	padding: 15px;
 	text-align: center;
 	font-size: 11px;
 	width: 100%;
	background-color: #111111;
}

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

a:active,
a:visited {
	color: #FFCC33;
	text-decoration: none;
}

a:hover {
	color: #DD2222;
	text-decoration: none;
}

/* Text */
h1,h2,h3,h4,h5,h6{
	position: relative;
	padding: 3px;
	font-variant:small-caps;
	margin:12px;
	font-weight:normal;
	margin-left:0;
}

h1{font-size:24px}
h2{font-size:22px}
h3{font-size:20px}
h4{font-size:18px}
h5{font-size:16px}
h6{font-size:14px}

p {
	padding: 5px;
	font-size: 1.1em;
}

ul{
	position: relative;
	font-size: 10px;
	padding: 0px 0px 0px 40px;
	/* list-style-type:square; */
}

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