html, body {
	background: #000 url(bg.gif) repeat;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 12px;
	color: #153642;
	text-align: center;
	min-width: 600px;
}

/* reset basic elements */
blockquote, div, h1, h2, h3, h4, img, li, ol, ul, dl, dt, dd, p, pre, form, object {
	margin: 0;
	padding: 0;
	border: 0;
}

/* links */
a {
	color: #8FB2BF;
	text-decoration: none;
}
a:hover, a:active {
	color: #A8C5CF;
	text-decoration: underline;
}

/* general stuff */
p.center {
	text-align: center;
}

q {
	font-style: italic;
}

acronym, abbr, .help {
	border-bottom: 1px dotted;
	cursor: help;
}

/* headings */
h3 {
	border-bottom: 1px dotted #153642;
	padding: 0 0 0.1em 0;
}
h1 { font-size: 188%;}
h2 { font-size: 150%;}
h3 { font-size: 132%;}
h4 { font-size: 116%;}
h3, h4 { margin: .7em 0 .2em 0 }
h3 a{ color: #153642; text-decoration: none; }
h3 a:hover, h3 a:active{ color: #205868; text-decoration: underline; }
h3.first { margin-top: 0; }

/* images */
img	{ border: 0; }
img.left { float: left; margin: 0 4px 2px 0; }
img.right { float: right; margin: 0 0 2px 4px; }

/* spacer & seperators */
.spacer {
	border-bottom: 1px dashed #153642;
	margin: .3em 0;
	height: 1px;
	clear: both;
}
.sep { clear: both; margin: 0; padding: 0; }
.sep hr { display: none; }

/* site layout */
#container {
	width: 90%;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	/* background: #307894 url(grad2.gif) repeat-x top left; */
	background-color: #307894;
}

#wrap {
	margin-right: -18em;
	width: 100%;
	float: left;
}

#contents {
	margin-left: -14em;
	width: 100%;
	float: right;
}

/* site header & footer */
#header {
	height: 80px;
	margin: 0 1em;
	border: #153642 solid;
	border-width: 0 1px 0 1px;
	/* position: relative; */
	overflow: hidden;
	text-align: center;
	background: url(header_bg.jpg) repeat-x bottom left;
}
#header h1 { display: block; height: 100%; }
#header h1 a { display: block; height: 100%; background: url(header.gif) no-repeat center center; }
#header h1 a span { display: none; /* font: bold 2em monospace; */ }
#header p { display: none; }

#footer {
	clear: both;
	position: relative;
	height: 1%;
	padding: 1em 0;
	margin: 0 1em;
	color: #3484A6;
	font-size: 90%;
	text-align: center;
	background: #153642 url(gr_top.gif) repeat-x top left;
}
#footer span.tl, #footer span.tr { background-image: url(corners.gif); }

/* message box */
#msg {
	color: #3484A6;
	border: 1px solid #3484A6;
	background-color: #153642;
	padding: 6px 8px;
	margin: 10em auto;
	width: 25em;
	text-align: center;
}

/* round corners */
span.tl {
	position: absolute;
    top: 0px;
    left: 0px;
    width: 4px;
    height: 4px;
    overflow: hidden;
    background: no-repeat 0 0;
}
span.tr {
	position: absolute;
    top: 0px;
    right: 0px;
    width: 4px;
    height: 4px;
    overflow: hidden;
    background: no-repeat -2px 0;
}
span.bl {
	position: absolute;
    bottom: 0px;
    left: 0px;
    width: 4px;
    height: 4px;
    overflow: hidden;
    background: no-repeat 0 -2px;
}
span.br {
	position: absolute;
    bottom: 0px;
    right: 0px;
    width: 4px;
    height: 4px;
    overflow: hidden;
    background: no-repeat -2px -2px;
}

/* meta bar */
#meta {
	position: relative;
	padding: .5em;
	margin: 0 1em 1em 1em;
	overflow: hidden;
	color: #3484A6;
	background: #153642 url(gr_bottom.gif) repeat-x bottom left;
	height: 1%;
}
#meta span.bl, #meta span.br { background-image: url(corners.gif); }
#breadcrumbs { float: left; margin: .3em 2px 0 0; }
#searchbox   { float: right; margin-left: 2px; }
#metabottom  { clear: both; }

/* content & sidebar boxes */
.cbox, .sbox {
	text-align: left;
	overflow: hidden;
	position: relative;
	height: 1%;
}
.cbox {
	margin: 0 16.5em 1em 11.5em;
}
.sbox {
	margin: 0 0 1em 0;
}
.cbox span.tl, .cbox span.tr, .sbox span.tl, .sbox span.tr {
	background-image: url(corners.gif);
}
.cbox-header, .sbox-header {
	color: #3484A6;
	text-align: center;
	margin: 0;
	letter-spacing: 0.03em;
	background: #153642 url(gr_top.gif) repeat-x top left;
}
.cbox-header h2, .sbox-header h2 {
	margin: 0;
	padding: 2px 0;
	display: block;
	font-variant: small-caps;
	background: url(gr_bottom.gif) repeat-x bottom left;
}

/* box bodies */
.cbox-body, .sbox-body {
	color: #153642;
	background-color: #3484A6;
	margin-top: 2px;
	padding: 2px 4px;
	overflow: hidden;
	height: 1%;
}
.cbox-body { background: #3484A6 url(grad.gif) repeat-x top left; }

.cbox-body-outer, .sbox-body-outer {
	border: dotted #153642;
	border-width: 0 1px 1px 1px;
	padding: 0 2px 2px 2px;
}

/* misc box body elements */
.cbox-body p, .cbox-body pre, .sbox-body p {
	padding: 0.3em 0;
}
.cbox-body blockquote {
	padding: 0.3em 2em;
}
.cbox-body li, .cbox-body dd {
	margin: 0.1em 0 0.1em 2em;
}
.cbox-body dt {
	margin-top: .3em;
}
.sbox-body ul {
	display: block;
	list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
}
.sbox-body li a {
	display: block;
	height: 1%; /* IE fix */
	padding: 2px 4px;
	text-decoration: none;
}
.sbox-body li a:hover {
	background-color: #2C738F;
	text-decoration: none;
}

/* sidebar box arrangement */
#navi, #misc {
	float: left;
	clear: left;
	width: 9.5em;
	margin-left: 1em;
	display: inline; /* IE fix */
}
#info, #ads, #affiliates {
	float: right;
	clear: right;
	width: 14.5em;
	margin-right: 1em;
	display: inline; /* IE fix */
}

/* special settings for certain boxes */
#navi li, #affiliates li { margin-top: 2px; background-color: #3484A6; }
#navi li a { padding: 4px 6px; font-weight: bold; font-size: 116%; }
#navi li.sel a { color: #153642; }
#info li { margin: 0 0 0 1em; }
#affiliates li a { padding: 2px; text-align: center; }
#affiliates li a img { vertical-align: middle; }
#ads { text-align: center; vertical-align: middle; }

#news .cbox-body, #downloads .cbox-body, #dlcats .cbox-body { background: none; padding: 0; margin: 0; }
#navi .sbox-body, #affiliates .sbox-body { background: none; padding: 0; margin: 0; }

/* content list boxes and stuff */
.newsbox, .dlbox, .catbox { margin-top: 2px; background: #3484A6 url(grad.gif) repeat-x top left; padding: 4px; }
.dlbox, .catbox { height: 1%; } /* IE fix */
.newsbox h3, .dlbox h3, .catbox h3 { margin-top: 0; }
.listmeta-top { float: right; margin: 4px; }
.listmeta-bottom { text-align: center; font-size:110%; background-color: #3484A6; margin-top: 2px; padding: 4px; height: 1%;}

/* download preview thumbnails */
.dlthumb { float: right; background-repeat: no-repeat; margin-left: 4px; }
.dlthumb a { display: block; height: 100%; width: 100%; }

/* download quicklink & file table */
p.quicklink, div.filetable {
	position: relative;
	background-color: #2C738F;
	text-align: center;
	padding: 2px 4px;
	margin: 1em auto;
	width: 80%;
	overflow: hidden;
}
p.quicklink a {
	font-weight: bold;
	display: block;
	margin: .5em .5em -1em .5em;
}

div.filetable table { width: 100%; padding: 0; text-align: left; }
div.filetable table td { margin: 0; padding: 2px; }
div.filetable table td.c { text-align: center; vertical-align: middle; }

p.quicklink span.tl, p.quicklink span.tr, p.quicklink span.bl, p.quicklink span.br,
div.filetable span.tl, div.filetable span.tr, div.filetable span.bl, div.filetable span.br {
    background-image: url(corners2.gif);
}

/* tags and clouds */
.tags { display: block; margin-top: .7em; text-align: center;}
.tagcloud { text-align: justify; }

/* misc */
a.feeds { background: url(feed.png) no-repeat center left; padding-left: 15px; }