﻿*
{
    padding: 0px;
    margin: 0px;
}
BODY
{
    background: #000;
    font-family: "Lucida Grande", Arial, sans-serif;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}
P, UL, OL
{
    margin-bottom: 18px;
}
IMG
{
    border: none;
}

.clearfloats
{
    clear: both;
}

/* lists */
UL
{
    list-style-type: square;
}

/* headings */
H1
{
    font-size: 36px;
    line-height: 36px;
}
H2
{
    font-size: 24px;
    line-height: 36px;
}
H3
{
    font-size: 18px;
    line-height: 18px;
}
H4
{
    font-size: 12px;
    line-height: 18px;
}

/* links */
A
{
    color: #cc8000;
    text-decoration: none;
    outline: none;
}
A:hover
{
    text-decoration: underline;
}

/* header */
#header
{
    background: #333;
    position: relative;
    border-bottom: 3px solid #aaa;
    padding: 18px 18px 15px 90px;
}
#header H1 A
{
    color: #fff;
}
#header H1 A:hover
{
    text-decoration: none;
}
#header H3
{
    font-family: "Courier New" , Courier, monospace;
    color: #aaa;
}

/* welcome */
#welcome
{
    position: absolute;
    top: 18px;
    right: 18px;
}

/* sidebar */
#sidebar
{
    margin: 18px 18px 0 0;
    text-align: left;
    width: 150px;
    float: right;
}
#sidebar UL
{
    list-style-type: none;
    margin-left: 9px;
}
#sidebar .feeds LI
{
    background: url("feed.png") no-repeat;
}
#sidebar .feeds A
{
    margin-left: 20px;
}

/* tag cloud */
.tagcloud LI
{
    white-space: nowrap;
    display: inline;
    margin: 0;
    padding: 0;
}
.tag1
{
    font-size: 12px;
}
.tag2
{
    font-size: 18px;
}
.tag3
{
    font-size: 24px;
    line-height: 36px;
}
.tag4
{
    font-size: 30px;
    line-height: 36px;
}
.tag5
{
    font-size: 36px;
    line-height: 36px;
}

/* main content */
#maincontent
{
    margin: 18px 200px 18px 90px;
}

/* index */
#index
{
    overflow: hidden; /* create block-formatting context for new floats */
    background: url("underline-light.gif") repeat-x bottom;
}
#index .container
{
    float: left;
    margin: 0 18px 18px 0;
}
#index UL
{
    list-style-type: none;
    margin: 0 0 0 9px;
}

/* post */
.post
{
    background: url("underline-light.gif") repeat-x bottom;
    margin-bottom: 18px;
    padding-bottom: 18px;
}
.post .header
{
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 11px;
    position: relative;
    color: #ddd;
}
.post .header H2, .galleries H2, .gallery H2, .galleryimage H2
{
    text-transform: none;
    font-weight: normal;
    font-size: 30px;
}
.post .header H2 A
{
    color: #fff;
}
.post .header .label, .post .footer .label
{
    float: left;
    clear: left;
    margin-right: 6px;
}
.post .maincontent
{
}
.post .maincontent H3
{
    margin: 27px 0 9px 0; /* sum is multiple of 18px */
}
.post .maincontent UL, .post .maincontent OL
{
    margin-left: 18px;
}
.post .csharp, .post .maths
{
    font-family: "Lucida Console", Monaco, monospace;
    color: #999;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 18px 0 18px 0;
}
.post .maths .equation /* equation numbering */
{
    float: right;
}
.post .caption, .post .footnote
{
    font-size: 11px;
    color: #ddd;
}
.post .footer
{
    text-transform: uppercase;
    font-size: 11px;
}

/* date */
.date
{
    position: absolute;
    left: -72px;
    top: 0;
}
.date .year
{   
    position: absolute;
    left: 36px;
    top: 16px;
}
.date .month
{   
    position: absolute;
    left: 36px;
    top: 2px;
}
.date .day
{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    line-height: 36px;
    color: #fff;
}
.date .time
{
    display: none;
}

/* comments */
#comments
{
    background: url("underline-light.gif") repeat-x bottom;
}
#comments H3
{
}
#existingcomments
{
    margin-bottom: 18px;
    padding-bottom: 18px;
    background: url("underline-light.gif") repeat-x bottom;
}
.comment .header
{
    margin: 18px 0 0 72px;
    text-transform: uppercase;
    font-size: 11px;
    position: relative;
    color: #ddd;
}
.comment .header .label
{
    float: left;
    clear: left;
    margin-right: 6px;
}
.comment .maincontent
{
    margin: 18px 0 0 72px;
}
.comment.self
{
    background: #222;
}
#addcomment
{
    text-transform: uppercase;
    font-size: 11px;
    padding-bottom: 18px;
}
#addcomment H3
{
    text-transform: none;
    margin-bottom: 18px;
}
#addcomment #captcha
{
}
#addcomment #captcha IMG
{
    margin: 10px 0 8px 0;
}

/* forms */
FORM
{
}
FORM LABEL
{
	text-transform: uppercase;
	color: #ddd;
	display: block;
}
FORM INPUT
{
    padding: 2px;
    margin-right: 6px;
}
FORM .checkbox
{
    margin-right: 6px;
    float: left;
}
FORM TEXTAREA
{
    vertical-align: top;
    margin: 0 6px 9px 0;
    overflow: auto;
    padding: 2px;
}
FORM UL
{
	 list-style-type: none
}
FORM #submit
{
    margin-top: 18px;
    padding: 3px;
}

/* paging */
#pager
{
    text-transform: uppercase;
}
#pager .label
{
    float: left;
    margin-right: 6px;
}
#pager UL
{
    margin: 0;
}
#pager LI
{
    display: inline;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 2px solid #999;
}
#pager LI:last-child
{
    border: none;
}

/* validation */
.validation-summary-errors
{
    color: #d00;
    text-transform: uppercase;
}
.field-validation-error
{
    color: #d00;
    text-transform: uppercase;
}
.input-validation-error
{
    background-color: #fdd;
}

/* galleries */
.galleries, .gallery
{
    overflow: hidden; /* create block-formatting context for new floats */
    background: url("underline-light.gif") repeat-x bottom;
    padding-bottom: 18px;
}
.galleries .container
{
    float: left;
    width: 256px;
    margin: 9px 18px 9px 0;
}
.galleries IMG
{
    width: 256px;
    height: 128px;
    border: 2px solid #ddd;
}
.galleries .caption
{
    height: 18px;
}
.galleries .description
{
    height: 36px;
}
.gallery .container
{
    float: left;
    width: 128px;
    margin: 9px 18px 9px 0;
}
.gallery IMG
{
    width: 128px;
    height: 128px;
    border: 2px solid #ddd;
}
.gallery .caption
{
    height: 36px;
}
.galleryimage
{
    background: url("underline-light.gif") repeat-x bottom;
    padding-bottom: 18px;
    margin-right: 8px;
}
.galleryimage IMG
{
    width: 100%;
    border: 4px solid #ddd;
}
.galleryimage .description
{
    margin: 9px 0 9px 0;
}
.galleryimage .container
{
	margin: 9px 0 0 0;
	position: relative;
}
.galleryimage .nav
{
	margin: 0px 4px;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	position: absolute;
}
.galleryimage .prev-container
{
	left: 0px;
	top: 0px;
	width: 64px;
	height: 100%;
}
.galleryimage .next-container
{
	right: 0px;
	top: 0px;
	width: 64px;
	height: 100%;
}
.galleryimage .prev
{
	position: absolute;
	background-repeat: no-repeat;
}
.galleryimage .next
{
	position: absolute;
	background-repeat: no-repeat;
}
.galleryimage .prev-container A
{
	top: 0px;
	left: 1px;
	width: 64px;
	height: 100%;
	background-image: url("prev.png");
	background-position: center;
}
.galleryimage .next-container A
{
	top: 0px;
	right: 1px;
	width: 64px;
	height: 100%;
	background-image: url("next.png");
	background-position: center;
}

/* page links */
.pagelinks UL
{
    margin: 0;
}
.pagelinks LI
{
    text-transform: uppercase;
    font-size: 11px;
    display: inline;
    margin: 0 6px 0 0;
    padding: 0 8px 0 0;
    border-right: 2px solid #999;
}
.pagelinks LI:last-child
{
    border: none;
}

/* tables */
TABLE
{
    text-align: left;
}
TABLE TH
{
    font-weight: normal;
    text-transform: uppercase;
    text-align: left;
}
TD
{
    padding: 2px;
    vertical-align: top;
    color: #ddd;
}

/* footer */
#footer
{
    color: #666;
    font-size: 11px;
    margin: 0 200px 18px 90px;
}
#poweredby
{
    color: #ddd;
}
