* { margin:0; padding:0; }

html {
	height:100%;
	margin-bottom:1px;
}

body {
	width:100%;
	margin:auto;
	background:#1f1f1f;
	font-family:verdana;
	color:#ffffff;
	font-size:70%;
}

a:link, a:visited {
	color:#a00000;
}

a:hover {
	color:#0049a0;
}

h1 {
	display:block;
	background:url('h1.png') repeat-x;
	height:75px;
	padding:25px 0 10px;
	text-align:center;
	color:#ffffff;
	font-size:300%;
}

h1 a, h1 a:visited {
	color:#ffffff;
	text-decoration:none;
}

h2 {
	font-size:115%;
}

hr {
	display:none;
}

#main {
	margin:auto;
	width:950px;
	height:100%;
	background:#131313 url('html.png') repeat-y;
}

/* Article */

#articles {
	float:left;
	width:750px;
	padding:0 0 10px;
}

.article {
	width:730px;
	padding:0 10px 10px 10px;
}

.article li {
	list-style-position:inside;
}

.page {
	color:#404040;
	width:709px;
	padding:0 10px 10px 10px;
	background:#ffffff url('top-corners.png') top no-repeat;
}

 .page .corner {
	position:relative;
	right:10px;
	top:10px;
	width:739px;
	height:5px;
	background:url('bottom-corners.png') no-repeat;
 }
 
.article .corner {
	margin-left:1px;
	width:739px;
	height:5px;
	background:url('bottom-corners.png') no-repeat;
}

.article h2 {
	margin-bottom:10px;
}

.article p , .article li{
	margin-bottom:10px;
	line-height:1.3em;
}

/* Article Tabs */

.article .tab {
	width:136px;
	height:20px;
	color:#404040;
	font-size:11px;
	font-weight:bold;
	float:left;
	margin-left:1px;
	background:url('tab.png') no-repeat;
}

.article .tab a, .article .tab a:hover, .article .tab a:visited {
	display:block;
	height:23px;
	color:#404040;
	text-decoration:none;
	padding-top:4px;
	text-indent:2px;
	z-index:2;
	position:relative;
	left:0;
}

.article .active {
	background:url('active-tab.png') no-repeat;
}

.article .tab:hover {
	background:url('active-tab.png') no-repeat;
}

.article .tab img {
	float:left;
	margin-top:2px;
	margin-left:4px;
	z-index:1;
}

/* Article Text */

.article .text {
	width:719px;
	min-height:50px;
	clear:both;
	color:#404040;
	margin-left:1px;
	background:#ffffff url('top-right.png') top right no-repeat;
	padding:5px;
}

.article .author {
	display:block;
	float:right;
	width:400px;
	height:15px;
	position:relative;
	left:5px;
	bottom:5px;
	padding:5px;
	background:#d2d2d2 url('author.png') left bottom no-repeat;
}

.article .author .digg-this-compact {
	float:right;
	position:relative;
	bottom:2px;
	height:18px;
	padding-top:2px;
	padding-left:3px;
	width:123px;
	background:url('digg.png') no-repeat;
}

.article .author p {
	float:left;
}

.article .author img {
	float:right;
	margin:5px;
	border:1px solid #5f5f5f;
}

/* Comments */

.comment {
	margin:5px auto;
	border:1px solid #000000;
	padding:5px;
	width:95%;
	background:#dfdfdf;
}

.comments alt {
	background:#efefef;	
}

.comment-meta {
	position:relative;
	top:-11px;
	background:url(comment.gif) top left no-repeat;
	margin:0 0 10px 20px;
	padding:1px 0 0 15px;
	font-size:90%;
}

.success-top {
	width:729px;
	height:5px;
	margin:0 0 0 11px;
	background:#ffcccc url(pink-top.png) no-repeat;
}

.success {
	width:719px;
	background:#ffcccc url(pink-bottom.png) bottom no-repeat;
	margin:0 0 10px 11px;
	padding:0 5px 5px 5px;
	color:#000000;
}

/* Menu */

#menu {
	float:left;
	margin:20px 0 10px;
	width:173px;
	background:#f4f4f4 url('menu-top.png') no-repeat;
	color:#202020;
	padding:0 0 5px 15px;
	list-style-position:inside;
}

#menu li {
	position:relative;
	right:10px;
}

#menu li ul li {
	list-style:none;
	margin-left:30px;
}

#menu h2 {
	font-size:13px;
	margin-top:5px;
}

#menu h3 {
	font-size:11px;
}

#menu img {
	vertical-align:text-top;
	border:0;
}

#menu p {
	margin:10px 0 10px;
}

a:link.more_status , a:visited.more_status {
	text-decoration:none;
}

#menu fieldset {
	padding:0;
	border:none;
	width:125px;
}

#menu .no-list {
	position:relative;
	left:10px;
	list-style:none;
}

#menu .end {
	width:188px;
	height:5px;
	position:relative;
	right:15px;
	top:5px;
	background:#f4f4f4 url('menu-bottom.png') no-repeat;
}

/* Footer */

#footer {
	clear:both;
	height:48px;
	background:url('footer.png') repeat-x;
}

#footer p {
	padding-top:16px;
	text-align:center;
}

#footer a {
	color:#0049a0;
	text-decoration:none;
	font-weight:bold;
}

#footer a:hover {
	text-decoration:underline;
}

/* Footer Lists */

#bottom-lists {
	clear:both;
	margin-bottom:5px;
}

#bottom-lists ul {
	list-style-position:inside;
	padding:10px;
	margin:5px;
	float:left;
}
#bottom-lists ul:hover {
	background-color:#505050;
}

#bottom-lists ul li {
	padding:3px;
}

#bottom-lists ul li:hover {
	background-color:#979797;
	border-right:1px solid #dbdbdb;
	border-bottom:1px solid #dbdbdb;
	padding-bottom:2px;
}

#bottom-lists .header {
	list-style:none;
}

#bottom-lists .header:hover {
	background-color:#505050;
	border:none;
	padding:3px;
}

#bottom-lists ul li h2 {
	font-size:100%;
}

/* Misc */

.pages a {
	margin-left:12px;
	padding:5px;
	background:#ffffff;
}

.loading {
	text-align:center;
	font-weight:bold;
}

#overlay {
	z-index:100;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:200%;
	margin-bottom:1px;
	background:url('overlay.png') repeat;
	overflow:hidden;
}

#overlay #overlay_content {
	margin:15% auto;
	width:400px;
	background:#a40000 url('overlay_content.png') repeat-x;
	padding:10px;
	border:1px solid #919191;
}

#overlay .center {
	text-align:center;
}

#overlay a:link, #overlay a:visited {
	color:#0049a0;
}

#overlay a:hover {
	color:#000;
}

/* Form Elements */

input.text {
	margin:1px 0 1px;
	padding:1px;
	border:1px solid #2e2e2e;
	background:#ffffff;
}

input.submit {
	border:1px solid #252525;
	background:#686868;
	color:#ffffff;
	text-decoration:underline;
}

input.submit:hover {
	background:#393939;
}
	
input.submit:active {
	background:#545454;
}

legend {
	font-weight:bold;
}

fieldset {
	padding:5px;
	width:95%;
}

form p {
	padding:5px;
}

.no-padding {
	padding:0;
}