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

DIV#header {
	position: absolute;
	left: 0em;
	top: 0em;
	width: 100%;
	height: 5em;
	background-color: #ddddff;
	border-bottom: 1px solid #0000bb;
	margin: 0em;
}
DIV#header H1 {
	font-family:  "Georgia", serif;
	text-shadow: 5px 5px 5px; 
	font-size: 4em;
	font-style: italic;
	font-weight: 100;
	text-align: left;
	margin: 0em;
	padding: 0em;

}
DIV#header H2 {
}

DIV#header A:hover, #DIV.header A:link, DIV#header A:visited {
	color: #000000;
	background-color: #ddddff;
	border: none;
}

DIV#header SPAN.description{
}

DIV#leaderboard {
	position: absolute;
	right: 0.25em;
	top: 0.25em;
	width: 468px;
	height: 60px;
}

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


/* The box which holds all the navigation elements */
DIV#navbar {
	position: absolute;
	right: 1em;
	top: 7em;
	width: 15em;
	height: auto;
	margin: 0em;
	padding: 0.5em;
	color: #000000;
}

DIV#adbar {
	position: absolute;
	left: 1em;
	top: 7em;
	width: 10em;
	height: auto;
	margin: 0em;
	padding: 0.5em;
	color: #000000;
}

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

DIV#navbar DIV.textbox H2, DIV#localnavbar DIV.textbox H2 {
	font-size: 100%;
	font-weight: 100;
	line-height: 120%;
	background-color: #bbffbb;
	margin-top: 0em;
	margin-bottom: 0.25em;
	padding: 0.25em;
}
DIV#navbar DIV.textbox LI, DIV#localnavbar DIV.textbox LI{
	text-align: left;
	font-size: 85%;
	font-weight: 100;
	margin: 0em;
	line-height: 120%;
	margin-left: -3em;
	padding-bottom: 0.5em;
	list-style-image: none;
	list-style-type: none;
	list-style-position: outside;
	marker-offset: 0em;
}
DIV#navbar DIV.textbox LI.covert {
	color: #000000;
	font-size: 0%;
}

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 {
	padding: 0em;
	margin: 0em;
	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.blank {
		border: none;
		color: #000000;
		}
	DIV.calendar TD.nolink {
		border: 1px solid #e0e0e0;
		color: #b0b0b0;
		}
	DIV.calendar TD.link {
		border: 1px solid #e0e0e0;
		color: #000000;
		}
	DIV.calendar TD.link A, DIV.calendar TD.link A:visited, DIV.calendar TD.link A:hover {
		border: none;
		color: #000000;
		}
		

	DIV.calendar TH {
	font-size: 100%;
	font-weight: 100;
	background-color: #eeffee;
	margin-top: 0em;
	margin-bottom: 0.5em;
	border: 1px solid #e0e0e0;
	}



/*
 * Some general HTML Elements 
 *  be very careful that these don't override custom settings above.
 */
EM 	{ 
	font-weight: 600; 
	}

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: #eeeeff;
	border-left: 4px solid #ddddff;
	}

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.
 *
 */

/* This is the <div> for the container which holds the main
 * content of the page.  */
DIV#content {
	position: absolute;
	left: 12em;
	top: 7em;
	right: 17em;
	margin: 0em;
	padding: 0em;
	text-align: justify;
	padding-left: 1em;
	padding-right: 1em;
	max-width: 50em;
	color: #000000;
	/* background: url(/images/hk-normal.jpg) no-repeat fixed #eeeeff;*/
}

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

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

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

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

DIV#content 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: 1px solid #bbbbff;
}
	
DIV#content DIV.textbox, DIV#content DIV.commentbox { 
	font-size: 95%;
	position: relative;
	margin-top: 1em;
	margin-bottom: 2em;
	padding-bottom: 1em;
}
DIV#content DIV.textbox P {
	position: relative;
	padding: 0.5;
	padding-left: 2em;
	padding-right: 2em;
}
DIV#content DIV.commentbox P{
	padding: 0.5em;
	margin: 0.5em;
}

DIV#content DIV.textbox BR {
	clear: right;
}

DIV#content DIV.textbox UL LI, DIV#content DIV.textbox OL LI {
	padding: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

DIV.quotation { 
	position: relative;
	border: 1px solid #8888ff;
	background-color: #eeeeff;
	padding: 0em 1em;
	margin: 1em 2em;
}

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

IMG {
	position: relative;
	padding: 0.25em;
	margin: 0em 0.5em;
	float: right;
	border: none;
}
IMG.right {
	float: right;
}
IMG.left {
	float: left;
}

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

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

DIV#content DIV.day P.center {
	text-align: center;
	}
	
DIV#content DIV.textbox H1, DIV#content DIV.textbox H3 {
	padding: 0.25em;
	margin: 0em;
	font-size: 120%;
	border-bottom: 1px solid #bbffbb;
	background-color: #eeffee;
	font-weight: 100;
	font-style: italic;
}

/* DIV#content DIV.textbox H4.date {*/
H4.date {
	position: absolute;
	top: 1em;
	right: 1em;
	padding: 0em;
	margin: 0em;
}

DIV#content DIV.textbox H4.posted {
	font-weight: 100;
	font-size: 100%;
	position: relative;
	/*float: right;*/
	color: #44f;
	margin: 0em;
 	}
DIV#content DIV.textbox H1.commentlink, H4.commentlink {
	font-weight: 100;
	float: right;
	padding: 0em;
	margin: 0em;
	}

DIV#content DIV.textbox H1.karmalink, H4.karmalink, DIV#content DIV.textbox H1.trackback, H4.trackback {
	font-weight: 100;
	padding: 0em;
	margin: 0em;
 	}
DIV#content 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#content DIV.textbox P.footnote {
}

DIV#content 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#content DIV.textbox P.poem {
	padding-left: 5em;
	padding-right: 5em;
	font-style: italic;
	text-align: center;
}

DIV#content 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 #ddddff;
 	border-left: 1px solid #d0ffd0;
 	border-bottom: 2px solid #b0ffb0;
 	border-right: 2px solid #b0ffb0;
	/*border-left: 2em solid #80ee80;*/
	/*-moz-border-radius: 2em;*/
	/*border-radius: 2em;*/
	color: #000000;
	background-color: #eeffee;
	}




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

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

DIV#content 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: 1px solid #c0ffc0;
	border-left: 1em solid #c0ffc0;
	color: #000000;
	background-color: #f0fff0;
 	}

DIV#content P.quote {
	color: #000000;
	background-color: #fff0f0;
	margin: 1em;
	padding: 1em;
}
		
	DIV#content 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: 1px solid #ffc0c0;
	border-left: 1em solid #ffc0c0;
	color: #000000;
	background-color: #fff0f0;
 	}


DIV#content 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#content 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#content 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;
	}
