body { 
	background-color: #bbbbff;
	color: #000000;
	padding: 0em;
	margin: 0em;
	text-align: left;
	font-family: "Verdana", "Tahoma", "Arial", sans-serif;
	font-size: 85%;
	position: relative;
}

DIV#header {
	position: absolute;
	left: 0em;
	top: 0em;
	margin: 0em;
	padding: 0em;
	width: 100%;
	background-color: #8888ff;
	border-bottom: 2px solid #000000;
	margin: 0em;
	z-index: 1;
	text-align: left;
	font-family:  "Georgia", serif;
	text-shadow: 5px 5px 5px; 
	font-size: 5em;
	font-style: italic;
}
DIV#header A:hover {
	color: #000000;
	background-color: #8888ff;
	border: none;
}
DIV#header A:link {
	color: #000000;
	background-color: #8888ff;
	border: none;
}
DIV#header A:visited {
	color: #000000;
	background-color: #8888ff;
	border: none;
}
DIV#header H1 {
	font-size: 100%;
	font-weight: 100;
	line-height: 100%;
}

DIV#logo {
	position: absolute;
	/*left: 10px;*/
	top: 0.0em;
	right: 0.3em;
	text-align: right;
	letter-spacing: -0.15em;
	text-shadow: 5px 5px 5px; 
	border: none;
	font-size: 5em;
	height: 1em;
	font-family:  "SimSun", "SimHei", "MingLiu & PMingLiu", serif;
	color: #000000;
	z-index: 1;
}


/* The box which holds all the navigation elements */
DIV#navbar {
	position: absolute;
	right: 0.25em;
	top: 6.25em;
	width: 10em;
	height: auto;
	margin: 0em;
	padding: 1em;
	z-index: 2;
	background-color: #ddffdd;
	color: #000000;
	border: 2px solid #8888ff;
	/*border-left: 2px solid #808080;*/
	/*border: 2px dashed #808080;*/
}

DIV#localnavbar {
	position: absolute;
	left: 0.25em;
	top: 6.25em;
	width: 10em;
	height: auto;
	margin: 0em;
	padding: 1em;
	z-index: 2;
	background-color: #ddffdd;
	color: #000000;
	border: 2px solid #8888ff;
	/*border: 2px dashed lime;*/
}

DIV#navbar DIV.textbox, DIV#localnavbar DIV.textbox {
	padding: 0em;
	padding-bottom: 1em;
	margin: 0em;
	margin-bottom: 2em;
	background-color: #eeffee;
	border: 2px solid #88ff88;
}

DIV#navbar DIV.textbox H1, DIV#localnavbar DIV.textbox H1 {
	font-size: 100%;
	font-weight: 600;
	line-height: 120%;
	background-color: #bbffbb;
	margin-top: 0em;
	margin-bottom: 0.25em;
	padding: 0.25em;
	/*border: 2px dashed blue;*/
}
DIV#navbar DIV.textbox H2, DIV#localnavbar DIV.textbox H2 {
	font-size: 100%;
	font-weight: 600;
	line-height: 120%;
	background-color: #bbffbb;
	margin-top: 0em;
	margin-bottom: 0.25em;
	padding: 0.25em;
	/*border: 2px dashed blue;*/
}
DIV#navbar DIV.textbox LI, DIV#localnavbar DIV.textbox LI{
	text-align: left;
	margin: 0em;
	margin-left: -3em;
	margin-bottom: 0.25em;
	list-style-image: none;
	list-style-type: none;
	list-style-position: outside;
	marker-offset: 0em;
}

DIV#navbar DIV.textbox TABLE.textad {
	background-color: #eeeeee; 
	margin-left: 1px;
	font-family: "Tahoma", sans-serif;
	border: 1px solid #000000;
	text-align: center; 
	width: 100%
}
DIV#navbar DIV.textbox TABLE TD.headline { 
	background-color: #ffffdd;
	font-weight: bold;
}
DIV#navbar DIV.textbox TABLE TD.text {
	background-color: #ffffdd;
}
DIV#navbar DIV.textbox TABLE TD.link {
	background-color: #ffffe0;
}

DIV.calendar {
	background-color: #ddffdd;
	padding: 0em;
	margin: 0em;
	font-size: 75%;
	padding-bottom: 0em;
	margin-bottom: 2em;
}

	

DIV.calendar TABLE {
	margin-left:auto; 
	margin-right:auto; 
	text-align: center;
	}
	
	DIV.calendar TABLE CAPTION {
		text-align: center;
		background-color: #bbffbb;
		margin-top: 0em;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0.25em;
		border: 1px solid #e0e0e0;
	}
	DIV.calendar TD.day {
		border: 1px solid #e0e0e0;
		background-color: #ffffff;
		color: #000000;
		margin-bottom: 0.5em;
		}
	DIV.calendar TD.blank {
		border: none;
		background-color: #ddffdd;
		color: #000000;
		}
	DIV.calendar TD.nolink {
		border: 1px solid #e0e0e0;
		background-color: #ffffff;
		color: #b0b0b0;
		}
	DIV.calendar TD.link {
		border: 1px solid #e0e0e0;
		background-color: #ffffff;
		color: #000000;
		}
	DIV.calendar TD.link A, DIV.calendar TD.link A:visited, DIV.calendar TD.link A:hover {
		background-color: #ffffff;
		border: none;
		color: #000000;
		}
		

	DIV.calendar TH {
	font-size: 100%;
	font-weight: 400;
	line-height: 120%;
	background-color: #bbffbb;
	margin-top: 0em;
	margin-bottom: 0.25em;
	padding: 0.25em;
	border: 1px solid #e0e0e0;
	}


/* This is the <div> for the container which holds the main
 * content of the page.  */
DIV#content {
	position: absolute;
	left: 13em;
	top: 6.25em;
	right: 13em;
	margin: 0em;
	padding: 0em;
	text-align: justify;
	/*border: 1px dashed #808080;*/
	/*border-right: 1px solid #808080;*/
	/*border-color: #f0f0f0 #909090 #909090 #f0f0f0;*/
	line-height: 150%;
	padding-left: 1em;
	padding-right: 1em;
	z-index: 3;
	background-color: #ddffdd;
	color: #000000;
	border: 2px solid #8888ff;
	/* background: url(/images/hk-normal.jpg) no-repeat fixed #eeeeff;*/
}


/*
 * Some HTML Elements 
 */
EM 	{ 
	font-weight: 600; 
	}

LI {
	/*list-style-type: none;*/
	/*line-height: 150%*/;
	/*margin-left: 2.50em; */
	/*margin-right: 1.0em;*/
	margin-left: 1.0em;
	padding: 0.25em;
	/*background-color: #eeeeff;*/
	}

A:link  {

	color: #0000c0;
	text-decoration: none;
	}
A SPAN {
	display: none;
	}
	
A:hover {
	color: #0000ff;
	background-color: #f0f0ff;
	text-decoration: none;
	}
A:hover SPAN {
	text-decoration: none;
	display: block;	
	position: absolute;
	padding: 5px;
	margin: 10px;
	width: 25em;
	text-align: left;
	background-color: #e0ffe0;
	color: #000000;
	border: 1px solid black;
	}
	
A:visited {
	color: #0000c0;
	text-decoration: none;
	}


TT, PRE { 
	font-family: "Courier", fixed;
	font-size: 8pt;
	text-align: left;
	line-height: 100%;
	background-color: #ffffff;
	}

TABLE {
	border-collapse: collapse;
	}

TH	{
	background-color: #88ff88;
	}
TD	{
	font-size: 8pt;
	}

/*
 * The navbar - normally to the right of the body and separate from it.
 * 
 * This section describes those element contained within the <div class="navbar">
 * element.  These is usually just the navbar section head (.navsect) and the navbar text (.navtext)
 *
 */
 
/* 
 * The main content text 
 *
	 * This style starts with the box which holds all the content and then the 
 * various styles for text within that.  Note that some of these styles are 
 * 'once-off's, like the Irish flag colours, while some are constantly used, 
 * like the .callouts, etc.
 *
 */

DIV#content DIV.day {
		border: 2px solid #88ff88;
		margin: 1em;
		padding: 0.25em;
	}

DIV#content DIV.day H2.day {
		font-size: 120%;
		font-style: italic;
		display: block;
		top: 0em;
		left: 0em;
		font-size: 100%;
		padding-left: 1em;
		padding-top: 0em;
		padding-bottom: 0em;
		margin: 0em;
		}

DIV#content H2.day {
		font-size: 120%;
		font-style: italic;
		display: block;
		top: 0em;
		left: 0em;
		font-size: 100%;
		padding-left: 1em;
		padding-top: 0em;
		}

DIV#content DIV.month {
		border: 2px solid green;
		margin: 0.5em;
	}

DIV#content DIV.year {
		border: 2px solid green;
		margin: 0.5em;
	}


DIV.commentsform {
	display: block;
	margin: 2em;
	padding-top: 2em;
	font-size: 85%;
	background-color: #f0fff0;
	border-top: 2px solid #b0b0ff;
	text-align: left;
}

DIV.commentsform TABLE {
	width: 99%;
	text-align: center;
}

DIV.commentdivider {
	display: block;
	margin: 1em;
	margin-bottom: 2em;
	padding: 0em;
	font-size: 85%;
	background-color: #f0fff0;
	border: 2px solid #b0ffb0;
}

DIV.commentdivider P {
	padding: 0em;
	text-align: left;
	padding-left: 2em;
}

DIV.commentdivider EM {
	font-weight: 600;
	font-style: italic;
}

DIV#content DIV.path, DIV#content DIV.menu {
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	margin-bottom: 0em; 
	padding: 0.5em;
	margin-left: auto;
	margin-right: auto;
	font-size: 100%;
	background-color:  #bbffbb;
}

DIV#content DIV.prevnextlinks {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
	padding: 0.5em;
	background-color:  #bbffbb;
	border-bottom: 2px solid #bbbbff;
}
	
DIV.textbox, DIV.commentbox { 
	position: relative;
	margin: 1em;
	padding: 2em;
	padding-top: 1em;
	margin-top: 1em;
	margin-bottom: 3em;
	border-top: 2px solid #88ff88;
	font-size: 85%;
	background-color: #f0fff0;
}
DIV.textbox P {
}
DIV.commentbox P{
	padding: 0.5em;
	margin: 0.5em;
}

DIV.textbox BR {
	clear: both;
}

DIV.textbox UL {
	clear: both;
}

DIV.textbox DIV.quotation, DIV.commentbox DIV.quotation {
	border: 2px solid #8888ff;
	background-color: #eeeeff; 
	padding: 0em 2em;
	margin: 0em 2em;
}

DIV.textbox DIV.kungheifatchoi {
	border: 2px solid #ff8888;
	background-color: #ffeeee; 
	padding: 0em 2em;
	width: 10em;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

IMG, IMG.right {
	position: relative;
	padding: 0.25em;
	margin: 0em 1em;
	float: right;
	border: 2px solid #88ff88;
}
IMG.left {
	float: left;
}

DIV.textbox LI.ragged {
	text-align: left;
	}

DIV.textbox P.smallprint{
	right: 1em;
	bottom: 100%;
	text-align: right;
	font-size: 8pt;
	}	

DIV#content DIV.day P.center {
	text-align: center;
	}
	
H1.heading, H3.heading {
	padding: 0em;
	margin: 0em;
	margin-left: -1em;
	font-size: 150%;
	font-weight: 100;
	font-style: italic;
}

H4.date {
	position: absolute;
	top: 1em;
	right: 1em;
	padding: 0em;
	margin: 0em;
	font-size: 85%;
}

H4.posted {
	float: right;
	padding: 0em;
	margin: 0em;
	font-size: 85%;
 	}
H1.commentlink, H4.commentlink {
	float: right;
	padding: 0em;
	margin: 0em;
	font-size: 85%;
	}
H1.karmalink, H4.karmalink {
	position: absolute;
	display: block;
	padding: 0em;
	margin: 0em;
	font-size: 100%;
	bottom: 0em;
	right: 12em;
 	}
H1.trackback, H4.trackback {
	position: absolute;
	display: block;
	padding: 0em;
	margin: 0em;
	font-size: 100%;
	font-size: 85%;
	right: 12em;
 	}
H1.category, H4.category {
	position: absolute;
	font-size: 100%;
	display: block;
	float: right;
	padding: 0em;
	margin: 0em;
	top: 0.1em;
	right: 0em;
	background-color: #eeeeee;
}

DIV.textbox P.footnote {
	font-size: 75%;
}

DIV.textbox P.quote {
	font-style: italic;
	margin: 0.0em;
	margin-left: 3em; 
	margin-right: 3em;
	padding: 0.5em;
	padding-top: 0.125em;
	padding-bottom: 0.125em;
}
DIV.textbox P.poem {
	padding-left: 5em;
	padding-right: 5em;
	font-style: italic;
	text-align: center;
}

DIV.textbox SPAN.callout {
	display: block;
	float: right;
	width: 14em;
	font-style: italic;
	/*font-family: "Times New Roman", serif;*/
	text-align: center;
	margin: 1em;
	margin-right: 0em;
	margin-top: 0em;
 	padding: 0.25em;
	padding-bottom: 1em;
 	border-top: 8px solid #8888cc;
 	border-bottom: 2px solid #ccccff;
 	border-left: 2px solid #ccccff;
 	border-right: 2px solid #ccccff;
	/*border-left: 2em solid #80ee80;*/
	/*-moz-border-radius: 2em;*/
	/*border-radius: 2em;*/
	color: #000000;
	background-color: #ffffe0;
	}




P.cd	{
	font-weight: 600;
	border-bottom: 0em solid black;
	padding-top: 0.7em;
	}

P.review	{
	padding-left: 6em;
	}

P.question { 
	font-style: italic;
 	margin-left: 2.0em;
 	margin-top: 1.0em;
 	margin-right: 12em;
 	margin-bottom: 1.0em;
 	padding-left: 1em;
 	padding-right: 1em;
 	padding-bottom: 1em;
 	padding-top: 1em;
 	border-style: solid;
	border-width: 0em;
 	border: 2px solid #c0ffc0;
	border-left: 1em solid #c0ffc0;
	color: #000000;
	background-color: #f0fff0;
 	}
P.answer { 
 	margin-left: 12.0em;
 	margin-top: 1.0em;
 	margin-right: 2.0em;
 	margin-bottom: 1.0em;
 	padding-left: 1em;
 	padding-right: 1em;
 	padding-bottom: 1em;
 	padding-top: 1em;
 	border-style: solid;
	border-width: 0em;
 	border: 2px solid #ffc0c0;
	border-left: 1em solid #ffc0c0;
	color: #000000;
	background-color: #fff0f0;
 	}


P.aside {
	/*an in-line footnote style comment*/
	font-style: italic;
 	border-style: solid;
	border-width: 0em;
 	border-color: #c0ffc0;
 	font-size: 90%;
	}

	
/*
 * As is well known, all code has to be printed on green and white stripey paper
 */
DIV.textbox DIV.codeextract {
	/* a callout like code example */
	font-family: "Courier", fixed;
	background-color: #ccffcc;
	font-size: 8pt;
	text-indent: -4.5em;
	padding: 0em;
	padding-left: 4.5em;
	margin: 0em;
	text-align: left;
	border: none;
	}
DIV.textbox DIV.codeextract P {
	text-align: left;
	margin: 0em;
	padding: 0em;
	line-height: 100%;
}

/*
 * These are the correct colours of the Irish Flag, by the way.  
 * Thanks to http://www.fotw.org/ for that info.
 */
.green {
	color: #000000;
	background-color: #009966;
	}
.white {
	color: #000000;
	background-color: #ffffff;
	}

.orange {
	color: #000000;
	background-color: #ff6600;
	}

.hidden {
	visibility: hidden;
	}
