* {
	margin: 0;
	padding: 0;
}

body, html {
    background: #383838;
    color: #fff;
    font: 10pt/1.3em Verdana, sans-serif;
    /*	min-width: 800px;*/
    position: relative;
}


p.info {
    border-color: #9f9f9f;
    border-style: solid;
    border-width: 1px 0;
    font-style: italic;
    font-size: small;
    padding: 3px 0;
    margin-bottom: 10px;
}

ul#nav {
    list-style: none;
    margin: 0;
    position: absolute;
    right: 140px;
    top: 20px;
    width: auto;
}

ul#nav li {
    float: left;
    height: 56px;
    margin-left: 8px;
}

ul#nav li a {
    background-position: 50% 50%;
    /*	background-repeat: repeat;*/
    background-repeat: no-repeat;
    display: block;
    height: 100%;
    outline: none;
    text-decoration: none;
    text-indent: -10000px;
    width: 100%;
}

body#frontpage h1,
body#frontpage p#footer {
    background-color: #000;
}

body#frontpage h1 a {
    background-image: url(http://230grain.com/frontpage/blklogo-tech.jpg);
}

body#frontpage h1 a,
body#frontpage p#footer a {
    background-color: #000;
}

body#frontpage li#nav-articles a {
    background-image: url(http://230grain.com/frontpage/articles.jpg);
}

body#frontpage li#nav-forums a {
    background-image: url(http://230grain.com/frontpage/forums.jpg);
}

body#frontpage li#nav-repository a {
    background-image: url(http://230grain.com/frontpage/repository.jpg);
}

body#frontpage li#nav-gallery a {
    background-image: url(http://230grain.com/frontpage/gallery.jpg);
}

body#frontpage li#nav-information a {
    background-image: url(http://230grain.com/frontpage/information.jpg);
}

li#nav-articles {
    background-color: #c00;
    width: 80px;
}

li#nav-forums {
    background-color: #c00;
    width: 80px;
}

li#nav-repository {
    background-color: #c00;
    width: 80px;
}

li#nav-gallery {
    background-color: #c00;
    width: 80px;
}

li#nav-information {
    background-color: #c00;
    width: 80px;
}

body#frontpage h2,
body#frontpage h3,
body#frontpage h4,
body#frontpage h5,
body#frontpage h6,
body#frontpage div#content a {
    color: #989898; /* This controls the heading text color. */
}

body#frontpage div#content {
    background: #383838; /* Slate-gray background. */
}

div#content {
    color: #fff;
    /*	margin: 0 125px 0 50px;*/
    margin: 0 125px 0 10px;
    min-height: 725px;
    /*	min-width: 900px; This keeps the border consistent but prevents resizing*/
    	padding: 0 0 50px 20px;
}

div#article,
div#editorial,
div#announcement {
    background: #000;
    color: #fff;
    /*	margin: 0 125px 0 50px;*/
    margin: 0 0 0 0;
/*    padding: 25px 60px 75px 25px;*/
    padding: 25px 60px 75px 25px;
    outline: #c00 solid 2px;
    position: relative;
}


div#content ol, div#content ul {
    padding-left: 1.5em;
}


div#sponsors {
    float: right;
    position: relative;
    right: -110px;
    top: -15px;
    margin: 0 5px 25px 20px;
    color: #fff;
    font-size: smaller;
    font-style: italic;
    text-align: center;
}

div#sponsors ul {
    list-style: none;
}

div#image {
    margin: 25px 0 25px 0;
    text-align: center;
    font-size: smaller;
    font-style: italic;
    color: #cc0;
    vertical-align: middle;
}


/* Sidebars. */
div#sidebar {
    float: right;
    overflow: auto;
    width: 260px;
    margin: 0 5px 25px 20px;
    position: relative;
    outline: #c00 solid 1px;
    padding: 0 5px 0 5px;
    background-color: #777;
}

div#sidebar h2,
div#sidebar h3,
div#sidebar h4,
div#sidebar h5,
div#sidebar h6,
div#sidebar a {
    color: #000; /* This controls the heading text color. */
}

h1, h2, h3, h4, h5, h6 {
    clear: left;
    font-family: Georgia, serif;
    font-weight: bold;
}

h1, #footer {
    width: 100%;
}

h1 {
    left: 0;
    position: absolute;
    top: 30px;
}

h1 a, #footer a {
    color: #fff;
    display: block;
    margin-left: 50px;
    margin-right: 125px;
    outline: none;
    text-decoration: none;
}

h1 a {
    background-position: 25px 50%;
    background-repeat: no-repeat;
    height: 160px; /* Set to primary logo height or larger. */
    /*	height: 70px;*/
    line-height: 70px;
    padding: 20px 50px 20px 25px;
    text-indent: -10000px;
}


/* Adjust the padding-top to offset the content body. 
 * Making it too little will hide the content behind the header.
 */
h2 {
    font-size: 24pt;
    line-height: 1.4em;
    /*	padding-top: 160px;*/
    padding-top: 250px;
}

/* Spacing around major headers. */
h3 {
    margin: 1em 0;
}

h4, h5, h6 {
    margin-top: 1em;
}

h3 {
    font-size: 18pt;
}

h4 {
    font-size: 14pt;
}

h5 {
    font-style: italic;
}

ol ol, ol ul,
ul ol, ul ul {
    margin: .2em 0;
}

ol, p, ul {
    margin: .8em 0;
/*    width: 728px; Allows text wrapping on resize. */
}

p#footer {
	font-size: small;
	line-height: 15px;
/*	margin-top: -50px;*/
	width: auto;
	height: 15px;
	padding: 10px 50px 10px 25px;
	text-align: center;
}

ul {
    list-style: none;
}

ul li a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #444;
}

th, td {
    padding: 2px 6px 2px 6px;
}

th {
    background-color: #929292;
}

td {
    text-align: center;
}

td.label {
    text-align: left;
}


