
/*
 * General
 */

body
{
	color: black;
	background: white;
	margin: 0;
	padding: 0;
}

#main
{
	width: 780px;
	padding: 0 5px;
	margin: 0 auto;
	background: white url(maindivbg2.png) repeat-y;
}

#title
{
	width: 780px;
	margin: 0px;
	height: 200px;
	background: url(titleimages/bg1.jpg) no-repeat;
}

#title img
{
	border: none;
}

#headmenu
{
	width: 100%;
	background: black;
}

#headmenu a
{
	padding: 2px 10px;
	float: left;
	display: block;
	text-decoration: none;
	background: black;
	color: white;
}

#headmenu a:hover
{
	background: white;
	color: black;
}

#headmenu .rightmost
{
	float: right;
}

#entriescolumn
{
	margin: 0px;
	padding-right: 5px;
	float: left;
	width: 595px;
}

#sidecolumn 
{
	margin: 0px;
	float: right;
	width: 180px;
}

p
{
	text-align: justify;
}

hr
{
	height: 1px;
	width: 150px;
	background-color: #CCC;
	border: none;
	margin: 20px;
}

img
{
	border: solid 1px black;
}

div.outermsg
{
	padding: 10px;
}

h2 a, h3 a
{
	text-decoration: none;
}

div.msg
{
	color: #111;
	margin-top: 12px;
	font-family: Georgia, serif;
	font-size: 85%;
	text-align: justify;
}

p.sysmsg
{
	font-style: italic;
}

a
{
	color: #444;
}

a:hover img
{
	border: solid 1px #3476FF;
}

a.lnk
{
	color: #272727;
	font-size: 100%;
	text-decoration: none;
}

a.cntlnk
{
	text-decoration: none;
	color: #444;
	font-family: Arial, sans-serif;
	font-size: 80%;
	border: solid 1px #EEE;
	text-align: center;
}

a.cntlnk:hover
{
	background: #DEF;
	border: solid 1px #3476FF;
}

a:visited
{
	color: black;
}

a.lnk:visited, a.cntlnk:visited
{
	color: #444;
}

a:active, a:hover, a.lnk:hover, a.lnk:active, p.msgdate a:hover
{
	color: #3476FF;
}

h1
{
	color: #333;
	font-family: Arial, sans-serif;
	font-style: italic;
	font-size: 150%;
}

h2
{
	color: #333;
	font-family: Arial, sans-serif;
	font-size: 110%;
}

h2.msgtitle
{
	margin-bottom: 0px;
}

p.msgdate
{
	font-family: Arial, sans-serif;
	font-size: 80%;
	color: #7F7F7F;
	margin-top: 0px;
	margin-bottom: 4px;
}

p.msgdate a
{
	color: inherit;
	text-decoration: none;
}

.error
{
	color: red;
}

/*
 * Commenting
 */
#comments
{
	font-size: 90%;
	padding: 10px;
}

.comments-h2
{
	font-size: 115%;
}

#comments hr
{
	margin: 5px 0;
	text-align: left;
	width: 100px;
}

.comment .body
{
	margin-top: 8px;
	width: 85%;
	overflow: hidden;
}

.comment .body h1
{
	font-size: 95%;	
}

.comment .body h2
{
	font-size: 95%;	
}

.comment .body h3
{
	font-family: Arial, sans-serif;
	font-size: 90%;	
}

.comment .body code
{
	font-size: 90%;
}

.comment .body p
{
	margin-top: 0px;
}

.comments-h3
{
	margin-bottom: 0px;
	color: #333;
	font-family: Arial, sans-serif;
	font-size: 100%;
}

#addcomment
{
}

#addcomment .error
{
	font-style: italic;
}

#addcomment .info
{
	font-style: italic;
	color: #777;
	margin-bottom: 5px;
}

#addcomment .info a
{
	color: #777;
}

/*
 * Page select bar
 */ 
div.pageselect
{
	text-align: center;
}

div.pageselect a
{
	float: left;
	text-decoration: none;
	display: block;
	padding: 2px 0;
}

div.pageselect a:hover, .pageselected
{
	float: left;
	background: black;
	color: white;
	padding: 2px 0;
}

div.pageselect .rightmost, div.pageselect a.rightmost:hover
{
	float: right;
	padding: 2px 10px;
	font-size: 80%;
}

div.pageselect .leftmost, div.pageselect a.leftmost:hover
{
	padding: 2px 10px;
	font-size: 80%;
}

/*
 * Contents
 */
h2.conttitle
{
	margin-top: 14px;
	margin-bottom: 10px;
	margin-left: 1px;
	font-style: italic;
}

.contents
{
	padding-top: 0px;
	margin-bottom: 30px;
}

.contents ul
{
	list-style: none;
	margin: 0px;
	padding: 0px;
	padding-left: 1px;
}

.contents ul li
{
	margin: 0px;
	margin-bottom: 5px;
}

.contents ul li a
{
	text-decoration: none;
	color: #444;
	font-family: Arial, sans-serif;
	font-size: 80%;
	display: block;
	padding: 2px;
	padding-left: 5px;
}

.contents ul li a:hover
{
	background: black;
	color: white;
}

.contents .contentlinkdate
{
	font-size: 85%;
	color: #AAA;
	display: block;
	margin-top: 3px;
	padding-left: 5px;
	font-style: italic;
}

.contents li.pageselect li
{
	float: left;
	width: 50px;
	height: 15px;
}

.contents table.pageselect
{
	margin: 0px;
	padding: 0px;
	width: 100%;
	border-spacing: 0px;
}

.contents table.pageselect td
{
	padding: 0px;
	width: 50%;
}

.contents table.pageselect a
{
	text-align: center;
	color: #444;
	padding: 3px;
}

#ads
{
	border: solid 1px #777;
	padding: 14px;
	margin-left: 8px;
	background: white url(sgrad.png) repeat-y;
	text-align: center;
}

/*
 * Side footer
 */
div.fine
{
	font-size: 60%;
	color: #DDD;
	background: black;
}

div.fine p
{
	text-align: center;
	margin: 0px;
}

div.fine a
{
	color: #FFF;
}

/*
 * For code formatter
 */
.code
{
	font-family: monospace;
	font-size: 90%;
	text-align: left;
}

.code .comment
{
	color: #77F;
}

.code .string
{
	color: #F7F;
}

.code .op
{
	color: #F00;
}

.code .kw
{
	color: #00F;
}
