body, span, div
{
	font-family: "Arial Unicode MS", sans-serif !important;
}

/*
 * Ensure that the webpage fills the entire browser
 */
html, body
{
	min-height: 100%;
	margin: 0px;
	padding: 0px;
}

html
{
	overflow: auto;
}

/*
 * Change the background colour
 */
body
{
	background-color: #c2cdd1;
}

#wrap
{
	margin-left: auto;
	margin-right: auto;
	width: 883px;
	background-image: url(../images/content_bg.png);
	background-repeat: repeat-y;
	padding: 0px;
	margin-bottom: 0px;
	margin-top: 0px;
}

/*
 * Setup #container div, placing in the center of the page
 */
#container
{
	width: 883px;
	/*background-image: url(../images/background.png);*/
	/*background-image: url(../images/content_bg.png);
	background-repeat: repeat-y;*/
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	min-height: 100%;
}

/*
 * Login links
 */
#logincontainer
{
	background-image: url(../images/tinted.png);/*
	background-color: black;
	opacity: 0.5;*/
	display: block;
	position: absolute;
	top: 18px;
	padding: 4px;
	margin-left: 620px;
	font-size: 12px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
}

#logincontainer > ul#mainlevel
{
	display: inline;
	clear: none;
	padding: 0px;
	margin: 0px;
	white-space : nowrap;
	list-style: none;
}

#logincontainer > ul#mainlevel > li
{
	display: inline;
	padding-right: 0px;
	background-image: none;
	padding-left: 0px;
}

#logincontainer > ul#mainlevel > li > a
{
	color: #a0a0a0;
	text-decoration: none;
	margin-left: 8px;
	margin-right: 8px;
}

/*
 * Title
 */
#titlecontainer
{
	width: 883px;
	height: 169px;
}

/*
 * Logo
 */
#logocontainer
{
	background-image: url(../images/title_top.png);
	background-repeat: no-repeat;
	width: 883px;
	height: 135px;
}

#logooverlay
{
	width: 100%;
	height: 100%;
	-background-image: url(../images/title_overlay.png);
	background-repeat: no-repeat;
	background-position: 499px 17px;
}

#logooverlay2
{
	width: 100%;
	height: 100%;
	background-image: url(../images/email_overlay.png);
	background-repeat: no-repeat;
	background-position: 675px 100px;
}

#logooverlay3
{
	display: none;
}

.divlabel
{
	display: none;
}

/*
 * Menubar
 */
#menubarcontainer
{
	width: 883px;
}

#menubarcontainer > #menuleft
{
	width: 47px;
	height: 34px;
	background-image: url(../images/menu_left.png);
	background-repeat: no-repeat;
	float: left;
}

#menubarcontainer > #menubar
{
	display: block;
	width: 789px;
	height: 34px;
	background-image: url(../images/menu_bg.png);
	background-repeat: repeat-x;
	float: left;
}

#menubarcontainer > #menuright
{
	width: 47px;
	height: 34px;
	background-image: url(../images/menu_right.png);
	background-repeat: no-repeat;
	float: left;
}

#menubar ul li
{
	width: auto;
	float: left;
	padding-right: 10px;
}

#menubar > #menustart
{
	width: 4px;
	height: 34px;
	background-image: url(../images/menu_divider.png);
	background-repeat: no-repeat;
	float: left;
}

#menubar > ul#mainlevel-nav
{
	display: block;
	clear: none;
	padding: 0px;
	margin: 0px;
	height: 34px;
	white-space : nowrap;
}

#menubar > ul#mainlevel-nav > li
{
	display: block;
	padding-right: 0px;
	padding-left: 0px;
	height: 34px;
	float: left;
	background-image: url(../images/menu_divider.png);
	background-repeat: no-repeat;
	background-position: top right;
}

#menubar > ul#mainlevel-nav > li > a
{
	background-repeat: no-repeat;
	background-position: top right;
}

#menubar > ul#mainlevel-nav > li:first-child > a.mainlevel-nav
{
	background-image: url(../images/menu_01.png);
}

#menubar > ul#mainlevel-nav > li:first-child + li > a.mainlevel-nav
{
	background-image: url(../images/menu_02.png);
}

#menubar > ul#mainlevel-nav > li:first-child + li + li > a.mainlevel-nav
{
	background-image: url(../images/menu_03.png);
}

#menubar > ul#mainlevel-nav > li:first-child + li + li + li > a.mainlevel-nav
{
	background-image: url(../images/menu_04.png);
}

#menubar > ul#mainlevel-nav > li:first-child + li + li + li + li > a.mainlevel-nav
{
	background-image: url(../images/menu_05.png);
}

#menubar > ul#mainlevel-nav > li:first-child + li + li + li + li + li > a.mainlevel-nav
{
	background-image: url(../images/menu_06.png);
}

#menubar > ul#mainlevel-nav > li > a.mainlevel-nav
{
	font-weight: bold;
	color: black;
	text-decoration: none;
	margin-left: 0px;
	margin-right: 0px;
	vertical-align: bottom;
	display: block;
	height: 34px;
	line-height: 30px;
	font-size: 14px;
	
	padding: 0px 14px 0px 10px;
}

#menubar > ul#mainlevel-nav > li > a.mainlevel-nav_sel
{
	font-weight: bold;
	color: white;
	text-decoration: none;
	margin-left: 0px;
	margin-right: 0px;
	vertical-align: bottom;
	display: block;
	height: 34px;
	line-height: 30px;
	font-size: 14px;
	
	padding: 0px 14px 0px 10px;
	background-image: url(../images/menu_sel.png);
	background-position: top right;
	background-repeat: no-repeat;
}

#content
{
	padding: 0px;
	margin: 0px;
	width: 883px;
	background-repeat: repeat-y;
	height: auto;
}

#content > #contenttop
{
	padding: 0px;
	margin: 0px;
	width: 883px;
	height: 20px;
	background-image: url(../images/content_t.png);
	background-repeat: no-repeat;
}

#content > #contentmiddle
{
	margin-left: 20px;
	margin-right: 20px;
	min-height: 300px;
	height: auto;
	padding: 0px;
}

#contentbottom
{
	padding: 0px;
	margin: 0px;
	width: 883px;
	height: 20px;
	background-image: url(../images/content_b.png);
	background-repeat: no-repeat;
}

/*
 * Footer
 */
#footercontent
{
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: 0px;
	clear: both;
	height: 0px;
	width: 883px;
}

#footer
{
	background-color: #222122;
	background-image: url(../images/footer.png);
	background-repeat: repeat-x;
	height: 63px;
}

#footercontent {
    /*
     * We use the MSIE's dynamic properties mechanism for setting IE specific CSS
     * options
     */
    position:expression('absolute');
    top:expression(wrap.offsetHeight);
    left:expression(wrap.offsetLeft);
}

#footer > #copyright
{
	padding: 10px;
	font-size: 10px;
	color: #a0a0a0;
	text-align: center;
	margin: 0px;
}

#footer > #legalscontainer
{
	padding: 0px;
	margin: 0px;
	padding-left: auto;
	padding-right: auto;
	text-align: center;
}

#footer > #legalscontainer a
{
	margin: 0px;
	padding: 0px 5px 0px 5px;
	font-size: 10px;
	color: #a0a0a0;
	text-align: center;
}

#footer > #legalscontainer > ul.menu
{
	display: inline;
	margin: 0px;
	padding: 0px;
	text-align: center;
	white-space : nowrap;
	list-style: none;
}

#footer > #legalscontainer > ul.menu > li
{
	display: inline;
	margin: 0px;
	padding-right: 0px;
	background-image: none;
	padding-left: 0px;
}

#footer > #legalscontainer > ul.menu > li > a
{
	color: #a0a0a0;
	text-decoration: none;
}

#footer > #legalscontainer > ul.menu > li > a:hover > span
{
	color: #ffffff;
}

#footer > #legalscontainer > ul.menu > li > a > span
{
	color: #a0a0a0;
}



#breadcrumbs
{
	display: none;
}

/*
 * Menu on the left
 */
#content_left
{
	display: relative;
	float: left;
	width: 192px;
	margin: 16px 0px 0px 0px;
	padding-left: 10px;
	padding-right: 0px;
	
	height: 100%;
	margin-bottom: 83px;
}

#content_main_1col,
#content_main_2col,
#content_main_3col,
#content_main_2col_smaller
{
	float: left;
	margin: 16px 18px 83px 0px;
	padding: 0px 0px 0px 18px;
	text-align: left;
	height: 100%;
	
	background-image: url(../images/divider_vert.png);
	background-repeat: repeat-y;
	background-position: top left;
}

#content_main_1col
{
	width: 820px;
	background-image: none;
	padding-left: 10px;
}

#content_main_2col
{
	width: 600px;
}

#content_main_3col
{
	width: 440px;
}

#content_main_3col > #content_main > table.contentpaneopen > tbody > tr > td > span
{
	width: 440px;
	float: left;
}

#content_right
{
	float: right;
	width: 140px;
	margin-top: 0px;
	margin-bottom: 83px;
	margin-right: 4px;
	padding: 10px;
	font-size: 12px;
	
	background-color: #fffcc0;
	-moz-border-radius: 8px;
}

#content_right > div.moduletable
{
	margin: 0px;
	padding: 0px;
}

#content_right > div.moduletable > h3:first-child
{
	margin: 0px;
	padding: 0px;
}


/*
 * Heading styles
 */
.componentheading
{
	font-size: 22px !important;
	font-weight: bold;
	color: #791715;
}

.contentheading
{
	font-size: 22px !important;
	font-weight: bold;
	color: #55100f;
}

span
{
	color: #202020;
}


/*
 * Module boxes
 */
div.moduletable
{
	text-align: center;
}

div.moduletable h3
{
	line-height: 22px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	color: #791715;
	padding: 0px;
	margin: 20px 0px 0px 0px;
	display: block;
}

div.moduletable div.syndicate
{
	padding: 0px;
	margin: 0px;
	display: block;
}

div.moduletable div.syndicate *
{
	display: inline;
	padding: 0px;
	margin: 0px;
}

#content_left div.moduletable
{
	padding-bottom: 20px;
}

#content_left div.moduletable table
{
	width: 180px;
}

#content_left div.moduletable table tr td div > img:first-child
{
	display: none;
}

#content_left div.moduletable table tr td div,
#content_left div.moduletable table tr td div > img:first-child + a.sublevel,
#content_left div.moduletable > h3:first-child + table tr td > a.mainlevel:first-child
{
	background-image: url(../images/module_entry.png);
	background-repeat: no-repeat;
	min-height: 24px;

	display: block;
	float: left;
	clear: both;
	position: relative;
	top: 0px;
	width: 180px;
	padding: 0px !important;

	line-height: 22px;
	text-align: center;
}

#content_left div.moduletable table tr td div > img:first-child + a.sublevel_sel,
#content_left div.moduletable > h3:first-child + table tr td > a.mainlevel_sel:first-child
{
	background-image: url(../images/module_entry_sel.png);
	background-repeat: no-repeat;
	min-height: 24px;
	height: 24px;

	display: block;
	float: left;
	clear: both;
	position: relative;
	top: 0px;
	width: 180px;
	padding: 0px !important;

	text-align: center;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	overflow: none;
}

#content_left div.moduletable table tr td > div > img:first-child + a.sublevel
{
	color: #791715;
	font-size: 16px;
}

#content_left div.moduletable table tr td > div > img:first-child + a.sublevel_sel
{
	color: #ffffff;
	font-size: 16px;
}

#content_left div.moduletable table tr td > div > div > img:first-child + a.sublevel
{
	color: #404040;
	font-size: 14px;
	font-style: italic;
}

#content_left div.moduletable table tr td > div > div > img:first-child + a.sublevel_sel
{
	color: #ffffff;
	font-size: 14px;
	font-style: italic;
}

#content_left div.moduletable table tr td > div > div > div > img:first-child + a.sublevel
{
	color: #808080;
	font-style: italic;
	font-size: 14px;
}

#content_left div.moduletable table tr td > div > div > div > img:first-child + a.sublevel_sel
{
	color: #ffffff;
	font-style: italic;
	font-size: 14px;
}

#content_left div.moduletable table tr td span,
#content_left div.moduletable > h3:first-child
{
	display: block;
	background-image: url(../images/module_title.png);
	background-repeat: no-repeat;
	min-height: 30px;
	width: 180px;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
	color: black;
	font-size: 16px;
}

#content_left div.moduletable > table:first-child tr
{
	display: block;
	padding: 0px 0px 20px 0px;
	margin: 0px 0px 13px 0px;
	clear: both;
	background-image: url(../images/module_bottom.png);
	background-repeat: no-repeat;
	background-position: bottom left;
}

#content_left div.moduletable > table:first-child tr
{
	display: block;
	-padding: 0px 0px 10px 0px;
	-margin: 0px 0px 0px 0px;
	clear: both;
	background-image: url(../images/module_bottom.png);
	background-repeat: no-repeat;
	background-position: bottom left;
}

#content_left div.moduletable > table
{
	display: block;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	clear: both;
	-background-image: url(../images/module_bottom.png);
	background-repeat: no-repeat;
	background-position: bottom left;
}

#content_left div.moduletable table tr td div a
{
	text-align: center;
	text-decoration: none;
	color: black;
}

#content_left div.moduletable table tr td > a.mainlevel:first-child
{
	background-image: url(../images/module_title.png);
	background-repeat: no-repeat;
	height: 16px;
	
	display: block;
	float: left;
	clear: both;
	position: relative;
	top: 0px;
	width: 180px;
	padding: 0px !important;

	line-height: 22px;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	color: #791715;
}

#content_left div.moduletable table tr td > a.mainlevel_sel:first-child
{
	background-image: url(../images/module_title.png);
	background-repeat: no-repeat;
	height: 16px;

	display: block;
	float: left;
	clear: both;
	position: relative;
	top: 0px;
	width: 180px;
	padding: 0px !important;

	line-height: 22px;
	text-align: center;
	text-decoration: none;
	-font-weight: bold;
	font-size: 14px;
	color: #791715;
}

#content_left div.moduletable table tr.church-news
{
	background-image: none;
}

#content_left div.moduletable table tr.church-news td > a.mainlevel:first-child
{
	height: 50px;
	width: 178px;
	background-image: url(../images/news_button.png);
	background-repeat: no-repeat;
	line-height: 50px;
	color: black;
	font-weight: bold;
	font-size: 14px;
}

#content_left div.moduletable table tr.church-news td > a.mainlevel_sel:first-child
{
	height: 50px;
	width: 178px;
	background-image: url(../images/news_button_sel.png);
	background-repeat: no-repeat;
	line-height: 50px;
	color: white;
	font-weight: bold;
	font-size: 14px;
}

#content_left
{
	background-image: url(../images/content_left_bg.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	padding-bottom: 114px;
}


#newsflash
{
	padding: 0px 0px 10px 0px;
	margin: 0px 0px 10px 0px;
	clear: both;
	display: block;
	overflow: auto;
	background-position: bottom left;
	background-repeat: repeat-x;
	background-image: url(../images/divider_horiz.png);
}

#content_user1, #content_user2
{
	width: 50%;
	margin: 0px;
	float: left;
	display: block;
}

#content_user1 > div.moduletable,
#content_user2 > div.moduletable 
{
	background-image: url(../images/news_bg2.png);
	background-repeat: no-repeat;
	text-align: left;
	padding: 0px;
}

#content_user1 > div.moduletable > h3,
#content_user2 > div.moduletable > h3
{
	display: inline;
	margin-left: 12px;
	padding-right: 12px;
	background-image: url(../images/news_title_right.png);
	background-repeat: no-repeat;
	background-position: top right;
	height: 30px;
	white-space: nowrap;
}

#content_main
{
	clear: both;
	float: left;
	width: 100%;
}

#content ul
{
	margin-left: 20px;
	padding-left: 0px;
	list-style: none;
}

#content ul > li
{
	background-image: url(../images/arrow.gif);
	background-repeat: no-repeat;
	background-position: 0 0.5em;
	padding-left: 15px;
}


a:active,
a:link,
a:visited
{
	color: #a85454;
	text-decoration: none;
}

a:hover
{
	color: #a83c2a;
	text-decoration: underline;
}

span.article_seperator
{
	display: block;
	width: 100%;
	background-image: url(../images/divider_horiz.png);
	background-repeat: repeat-x;
	background-position: bottom left;
}

.langselect
{
	text-align: right;
}


#content_main .oddrow
{
	background-color: #e0e0e0;
}

#content_main .evenrow
{
	background-color: #f0f0f0;
}


.contentpaneopen
{
	 width: 100%;
}

.cantonese_h2
{
	font-size: 16px;
	font-weight: bold;
	color: #791715;
}

.contentpaneopen *
{
	font-family: "Arial Unicode MS", sans-serif;
	font-size: 16px;
}

.createdate,
.modifydate
{
	font-size: 12px !important;
	color: #808080;
	text-align: right;
}



#searchtext
{
	display: inline;
	padding-right: 5px;
	padding-left: 0px;
	float: left;
}

#searchform
{
	float: left;
	display: inline;
}

#searchbar
{
	display: inline;
	float: right; 
	margin-right: 22px; 
	margin-top: 14px; 
	margin-bottom: 10px; 
}

.contentpaneopen table
{
	width: 100% !important;
	margin-right: 20px;
}

.contentpaneopen table + p
{
	clear: left;
}

#content_right
{
	margin-top: expression("24px");
}

.buttonheading > a > img
{
	border: none;
}