/* Basic layout */
BODY {
	background-color: #303040;
	color: white;
	font-family: sans-serif;
	text-align: left;
}

#content, #contentfront {
	background-color: black;
	border: medium #a0a0a0 solid;
}

#content {
	margin-left: 2em;
	margin-top: 2em;
	margin-right: 1em;
	padding-top: 2em;
	padding-bottom: 1em;
	padding-right: 1em;
	padding-left: 11em;
}

#contentfront {
	margin-left: 5em;
	margin-top: 2em;
	margin-right: 5em;
	padding-top: 1em;
	padding-bottom: 1em;
	padding-right: 1em;
	padding-left: 1em;
}

/* Header */

#title		{ padding-left: 1em; }
#title H1	{ color: white; }
#header		{ margin-bottom: 1em; }

/* Footer contents */

#validatexhtml {
	background-image: url(http://www.codebunny.org/image/xhtml10.png);
	width: 88px;
	height: 31px;
	border: 0;
	float: right;
	display: block;
}

/* Navigation */
#nav {
	margin-right: 1em;
	margin-left: 1em;
	float: left;
	display: block;
	border: medium #a0a0a0 solid;
	background-color: #202020;
	color: white;
	width: 11em;
}

#navimage IMG {
	display: block;
	border: 0;
	margin-left: auto;
	margin-right: auto;
	width: 150px;
	height: 150px;
}

#pagenavtitle, #sitenavtitle, #othernavtitle, #pagenavitems, #sitenavitems, #othernavitems, .pagenavitem, .sitenavitem, .othernavitem {
	display: block;
}

#navtitle {
	display: none;
}

#sitenavtitle, #pagenavtitle, #othernavtitle {
	border-bottom: thin #d0d0d0 solid;
	text-align: center;
	color: white;
	font-weight: bold;
	background-color: #302030;
	padding: 0.2em;
}

#sitenavtitle, #pagenavtitle, #othernavtitle {
	border-top: thin #d0d0d0 solid;
}

.sitenavdiv, .pagenavdiv, .othernavdiv {
	display: none;
}

.sitenavitem, .pagenavitem, .othernavitem {
	padding: 0.2em;
}

.sitenavitemcurrent {
	display: none;
}

/* Picture menus */

.picmenuitem {
	border: thin white solid;
	background-color: #202040;
}

.picmenuphoto IMG {
	border: thin white solid;
	background-color: #202020;
}

/* tables */
.tabledefault TH, .tabledefault .tdlth, .tabledefault .tdlbh {
	background-color: #202040;
	font-weight: bold;
}

.tabledefault TH {
	text-align: center;
}

.tabledefault .tdlth, .tabledefault .tdlbh {
	text-align: right;
}

.tabledefault TD {
	background-color: #202020;
}


.tabledefault .tdltc {
	background-color: black;
}

.tabledefault .thlt, .tabledefault .thlb, .tabledefault .thrt, .tabledefault .tdlt, .tabledefault .tdrt, .tabledefault .tdlb, .tabledefault .tdrb, .tabledefault .tdlth, .tabledefault .tdlbh {
	border-left: thin #a0a0a0 solid;
	border-top: thin #a0a0a0 solid;
}
.tabledefault .thrt, .tabledefault .tdrt, .tabledefault .tdrb {
	border-right: thin #a0a0a0 solid;
}
.tabledefault .thlb, .tabledefault .tdlb, .tabledefault .tdrb, .tabledefault .tdlbh {
	border-bottom: thin #a0a0a0 solid;
}

/* types of text */
.asciiart		{
	border: thin white solid;
	color: white;
	background-color: #202010;
}
.codeinline		{
	font-weight: bold;
}

.codearg		{ font-style: italic; }
.codealt1		{ color: #ffa0a0; }
.codealt2		{ color: #a0ffa0; }
.codeblock		{
	border: thin #a0a0a0 solid;
	background-color: #202010;
}
.codeuser		{ font-weight: bold; color: #40ff40; }


.credit			{ font-style: italic; }
.date 			{ color: white; }		
.deprecated 		{ color: #ffa0a0; font-weight: bold; }
.question 		{ font-weight: bold; }

/* Basic tag overrides */
EM			{ font-style: italic; font-weight: bold; }

/* Links */
A:link, A:visited, A:active 	{ text-decoration: none; color: #a0a0ff; }
A:link, A:active 		{ font-weight: bold; }
A:visited			{ font-weight: normal; }

/* image entities */

#email { 
	background-image: url(http://www.codebunny.org/contact/image/email.png);
	width: 316px;
	height: 32px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 0;
	margin-bottom: 0.5em;
}

.imageframe {
	background-color: #202040;
	border: thin white solid;
}	

.imageframelight {
	background-color: white;
	border: thin #707070 solid;
}	


/* publications */
.pubabstract	{ font-style: italic; }
