/*
	This is the CSS stylesheet that is used for "[dtk] Plain" Nucleus skin.
	
	Here's how the pages are built up:

	MAIN PAGE
	---------
	body
	  div#header
	  div#mainbody
	    div#contents
	      h1 (site title)
	        h2 (date header)
	          h3 (item title)
	            div.itembody (item text)
	              div.btnspace (read more button)
	            div.iteminfo-short
		           div.iteminfo-l (author / comment(amt) / trackback(amt) / edit / ping)
		           div.iteminfo-r (category / time)
	    div#menu
	      h1 (navigation, hidden link)
	        h2 (menu titles)
	  div#footer
	
	DETAILED PAGE
	-------------
	body
	  div#header
	  div#mainbody
	    div#contents
	      h1 (site title)
	        h2 (date header)
	          h3 (item title)
	            div.itembody (item text)
	            div.iteminfo (category / time / author / edit)
	            div.btnspace (back button)
	        h2 (comment header)
	          h3 (comment title)
	            div.commentbody
	            div.commentinfo
	        h2 (trackback header)
	          h3 (trackback title)
				   span.commentinfo
				   div.commentbody
	            div.btnspace (pagetop button)
	    div#menu
	      h1 (navigation, hidden link)
	        h2 (menu titles)
	  div#footer

	OTHER PAGES
	-----------	
	other pages are similar, having a #contents and a #menu part
*/
 

/*
	The body definitions define how the page should globally look
*/
html {
	height: 100%; /* for Mozilla */
	margin: 0;  /* for Opera */
	padding: 0; /* for Opera */
}

body {
	width: 740px;
	height: 100%;
	margin: 0px auto; /* align body block to center */
	padding: 0px 30px;
	
	background: transparent;

	font-family: "Trebuchet MS", verdana, arial, sans-serif;
	color: black;
}


/* 
	The definitions below determine how the page looks.
	There are 3 main div-elements.
	
	#header
	#mainbody
	#footer

	#mainbody has 2 div-elements.	
		#contents: contains the main contents of the page.
		#menu: sidebar with menu
*/
div#header {
	margin: 0;
	padding: 0;
}

div#mainbody {
	margin: 0;
	padding: 0;
	background-color:transparent;
}

div#footer {
	clear: both; /* clear floating(#contents and #menu) */
	margin: 0;
	padding: 0;
	padding-bottom: 10px;
	
	font-size: small;
	text-align: right;
}

/* definitions applying to the contents block */
div#contents {
	background-color:transparent;
	float: right;
	width: 520px;
	padding: 0 10px;
	
	line-height: 160%;
	font-size: 86%;
}

/* definitions applying to the menu block */
div#menu {
	background-color:transparent;
	float: left;
	width: 170px;
	padding: 0 10px;

	color: #777;
	font-size: small;
}


/*
	Definitions for elements in the header block.
*/
h1 {
	margin: 20px 0 0 0;
	padding: 0px 0;
	letter-spacing: 0.4em;
}

h1 a, h1 a:hover {
	background-color: transparent;
	
	color: black;
	text-decoration: none;
}

/*
	Definitions for elements in the contents block.
*/
h2 {
	margin: 15px 0;
	padding: 0;

	color: #ccc;
	font-size: 100%;
	letter-spacing: 0.3em;
	line-height: 110%;
}
#contents .btnspace {
	margin: 20px 0px;
	padding: 0;
	
	text-align: center;
}


/*
	Definitions for elements in the menu block.
*/
#menu h2 {
	background: url(img/bg_menuhead.gif);
	margin: 20px 0 10px;
	padding: 5px 3px;
	
	color: gray;
	font-size: small;
	letter-spacing: 0.2em;
	line-height: 100%;
}
#menu h2.nobg {
	background: transparent;
}

#menu p {
	margin: 5px 0;
}
#menu ul {
	margin: 0;
}


/*
	Some rules that apply to lists in the menu block
	- navigation (ul.link)
	- categorylist
*/

ul.link {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.link li {
	padding-left: 14px;
	background: url(img/ico_link.gif) left no-repeat;
}

ul.categorylist {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.categorylist li {
	padding-left: 14px;
	background: url(img/ico_cat.gif) left no-repeat;
}
ul.categorylist li.nocat {
	padding-left: 14px;
	background: url(img/ico_cat2.gif) left no-repeat;
}


/* 
	Definitions for the item listings like they are done on the main page and in archives
	- h3.item is the title of an item (<h3 class="item">)
	- .itembody is the item contents
	- .iteminfo contains the time of posting and the name of the author, and the amount of comments
	
	anchors in the iteminfo (.iteminfo a) are not underlined and bold
*/

/*
h3 {
	margin: 1em 0;
}
*/

/* item title */
/*
h3.item {
	padding-left: 28px;
	background: url(img/ico24_title.gif) left no-repeat;
}
*/

div.itembody {	
	width: 490px; /* for IE (to enable overflow:auto)*/
	overflow: auto;
	margin: 5px 0;	
}

div.iteminfo, div.iteminfo-short {	
	border-top: 2px dotted #ccc;
	margin-top: 10px;
	padding: 2px;

	color: gray;
	font-size: small;
}
div.iteminfo-short {
	padding-bottom: 40px;
}
div.iteminfo a, div.iteminfo-short a {
	font-weight: bold;
	text-decoration: none;
}
div.iteminfo-r {
	float: right;
}
div.iteminfo-l {
	float: left;
}

/*
	Definitions of how comments listings look like on item pages
	- h3.comment contains the name of the comment author
	- .commentbody contains the text from the comment
	- .commentinfo contains the time of commenting
*/

/* comment title */
h3.comment {
	margin-bottom: 10px;
}

div.commentbody {
	/* text-align: justify;*/
}

div.commentinfo {	
	color: gray;
	font-size: small;
}


/*
	Definitions for lists on archive list page
*/
ul.archivelist {
	list-style: none;
	margin: 20px 0;
	padding: 0;
}
ul.archivelist li {
	display: inline;	
	padding-right: 5px;

	color: #ccc;
	font-size: large;
	letter-spacing: 0.2em;
	line-height: 150%;
}
ul.archivelist a { 
	text-decoration: none;
}


/*
	Some rules that apply to contents generated using the markup buttons 
	"add left box" and "add right box"
*/

.leftbox {
	float: left;
	border-right: 0px solid #fff;	
	margin-right: 5px;
	padding-right: 2px;
}
.rightbox {
	float: right;
	border-left: 0px solid #fff;	
	margin-left: 5px;
	padding-left: 2px;
}


/*
	Some general rules:
	- images never have a border (even when they are inside a hyperlink)
	- elements having class="skip" are not shown
	- item lists using <ul class="nobullets"> have no list-item bullets
	- highlighted text (in search results) have a yellow background
	- forms
	- 'new item' mark next to the item title
*/

img {
	border: none;
}

.skip {
	display: none;
}

ul.nobullets {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}

.highlight {
	background-color: yellow;
}

.red {
	color: red;
}

form {
	margin: 5px 0;
}
input.formfield {
	font-family: "Osaka" "Trebuchet MS", verdana, arial, sans-serif; /* for Mac (mojibake) */	
}
div.searchform input.formfield {
	width: 150px;
}

span.newitem {
	color: red;
	font-size: x-small;
}

