/* -----------------------------------------------------------------
HCC Styles 1.0 July 21st, 2008
-------------------------------------------------------------------- */

/* -------------------------------------------------------------- 
reset.css
-------------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {line-height: 1.5;}
a img { border: none; }


.float-left { float: left; margin: 0 10px 1em 0; display: block; }
.float-right { float: right; margin: 0 0 1em 15px; display: block; }
/*---------------------------------------------------------
Main Page Layout
---------------------------------------------------------*/
body {background: #FFF url(../img/body_bg.jpg) repeat-x 0 0; font-family: 'Trebuchet MS', Verdana, sans-serif;font-size: 62.5%;}
body#home {background: url(../img/body_bg_home.jpg) repeat-x 0 0;}

#wrap 				{ width: 960px; margin: 0 auto;}
#mainSection		{ margin-bottom: 2em; }
#header 			{ width: 960px; margin: 0 auto;height: 162px; position: relative;}
#article 			{ float: left; padding-top: 30px; width: 660px; }

#sidebar 			{ float: left; padding-top: 40px; width: 300px; overflow: hidden; /* Prevent float drop */ }
#sidebar #highlight { background: #e7e7e7; padding: 15px 43px; margin-bottom: 20px;}
#sidebar #callout	{ padding: 0 43px; }

#footer {
	border-top: dotted 1px #333; 
	width: 960px; 
	clear: left; 
	margin: 0 auto; 
	text-align: center; 
	font-size: 0.8em;
}

/* Homepage Styles */
.homepageinfo {float: left; width: 300px; margin-top: 20px; padding: 0;}

/* 2009 Welcome Picnic Style */
#eventInfoLeft,
#eventInfoRight { float: left; }

#eventInfoLeft { width: 285px; margin-right: 30px; }
#eventInfoRight { width: 315px; }

.eventInfomation li 			{ margin-bottom: 0.25em; }
.eventInfomation li span 		{ font-weight: bold; }
.eventInfomation li address 	{ padding-left: 60px; }

.events-list h3 { clear: left; font-size: 16px; color:#6D0019; text-transform: uppercase; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #333; } 

/*---------------------------------------------------------
Navigation
---------------------------------------------------------*/
img.navpre {display: none;} /* Preloads navigation a:hover image */

#navigation {font-size: 1.4em; padding-top:0px; clear: left;}

#navigation ul {list-style:none;}
#navigation li {display:inline; float:left; margin: 1px 0 0 0; width: 160px; height: 74px;}
#navigation a:link, #navigation a:visited {color: #FFF; font-size: 0.9em; font-family:"Trebuchet MS" , serif;  text-transform: capitalize; text-decoration:none; padding-top: 2px; display: block; outline:none;}
#navigation a:hover {background: url(../img/nav_bg_on.jpg) repeat-x;}
#navigation a .navtitle {position:relative; left: 5px; top: -31px;}
	
#header ul.subnav {list-style:none; padding-top:62px;}
#header ul.subnav li {display: inline;margin-left: 20px;}
#header ul.subnav li a:link,
#header ul.subnav li a:visited {
	font-family: Verdana, sans-serif;
	font-size: 1.0em;
	text-decoration: none;
	color: #FFF;
	text-transform:capitalize;
	font-weight:100;
	text-align:right;
}
#header ul.subnav li a:hover {text-decoration:underline;}

/*---------------------------------------------------------
Typography
---------------------------------------------------------*/

/*  Links  */

a {color: #6D0019; font-family: Verdana,sans-serif; font-size: 1.1em; text-decoration: underline;}

.moreEvents {float:right; margin-right: 25px;}

.upcomingEvents li a {margin:0; clear:right;}
a.photosets {margin: 0 0 15px 15px;}


ol { margin: 0 0 1em 15px; }

ol li { font-size: 1.2em; margin-bottom: 1em; }

/* Paragraphs */

p {font-size: 1.1em; font-family: Verdana, sans-serif; color: #27221F; margin-bottom: 10px;}

#topimage p {color: #FFF; font-size: 2.2em; line-height: 27px; letter-spacing: -1px; width: 520px; float:left; padding-top: 70px;} /* Paragraph styles for white text over map on homepage */

p.main-content {padding: 0 80px 0 0;}
p.address { color: #FFFFFF; position: absolute; left: 93px; top: 56px; z-index: 20; }
#sidebar p {margin: 5px 0 10px 0;font-size:1.0em;color: #27221F;}

#footer p {text-align: center;}

.pageintro {font-size: 1.4em;line-height: 1.3em;letter-spacing: -1px;margin-top: 10px;margin-bottom: 20px;margin-right: 40px;color: #999;} /* First paragraph of text on homepage */
.pageintro_int {font-size: 1.4em; line-height: 1.3em; letter-spacing: -1px; margin-top: 10px; margin-bottom: 20px; width: 393px; text-align: left; color: #999;}

.last {margin-bottom: 24px;}

.recommendBooks p, .personel p, .boardMembers p {text-align: left;}
.recommendBooks p em, .personel p em {font-style: italic;}

.boardMembers p {width: 216px; float:left; margin-right: -5px; margin-bottom: 15px;}

.furniture p {clear:left;}
.furniture p.last {padding-bottom: 80px;}

.special-notice {font-style: italic;}
/* Paragraph BG Images */

.busRoutes p {background:url(../img/pdficon_small.gif) no-repeat 0 0; padding-left: 20px; padding-bottom: 5px;}
.audioResources p {background:url(../img/icon-cd.png) no-repeat 0 0; padding-left: 20px; padding-bottom: 5px;}

/* Headers */

h1 {font-size: 2.0em; text-transform: capitalize; color: #27221F; margin-bottom: 10px; margin-top: -10px; letter-spacing: -1px; font-weight: bold; clear:both;}
h2 {font-size: 1.5em; color: #333; margin: -5px 0 15px 0; text-transform: capitalize;}
h2.audioResources {clear:left; margin-top: 15px;}
h2.photosets {margin-bottom: 5px;}
h3 {margin: 0 0 10px 0; font-size: 1.3em; color: #333;}
h3 img {position: relative; top: 7px;}
.upcoming-events h2, .current-classes h2 , .upcoming-events img , .current-classes img {position: relative; left: -40px;}
h4 { font-size: 1.2em; font-weight: bold;}

table { border: 1px solid #333333; margin-bottom: 2em; }

table td,
table th { font-size: 12px; padding: 5px; }

table th { background: #efefef; }

/*---------------------------------------------------------
Images
---------------------------------------------------------*/
	
/* Logo */
#header img#logo {float:left;margin-right: 155px; position: relative; z-index: 10;}
		
/* Large Map Image */
#topimage {background:url(../img/map.png) no-repeat 0 0;height: 280px;padding: 0px 31px 0 30px;margin:0;}

/* Photographs for each page */
.event {background: url(../img/photograph-events.jpg) no-repeat right 20px;}
.classes {background: url(../img/photograph-classes.jpg) no-repeat right 20px;}
.resources {background: url(../img/photograph-resources.jpg) no-repeat right 20px;}
.get-involved {background: url(../img/photograph-involved.jpg) no-repeat right 20px;}
.christianity {background: url(../img/photograph-xtianity.jpg) no-repeat right 20px;}
.abouthcc {background: url(../img/photograph-abouthcc.jpg) no-repeat right 20px;}
.contacthcc {background: url(../img/photograph-contact.jpg) no-repeat right 20px;}
.classes-chinese {float:left;}
.staffImage {margin-left: -20px;}

/* Positioning for Sidebar button */
.sidebar-bottom a img {margin-left:10px;}

/* Event Photos */
.eventPhotos {width:200px; color: #FFF; padding-right: 0px; margin-top:15px;}
.eventPhotos .flickr_badge_image img {float:left; display: inline; margin:0 0px 6px 0px; background:#999; height: 58px; width: 58px; padding:1px; color: #FFF;}
.eventPhotos img {display: hidden;}
img.pix {margin-top: 10px;}

.recommendBooks img {float:left; margin-bottom: 2px; margin-right: 6px; border: 1px solid #333; width: 85px; height:130px;}
.personel img {float:left; margin-bottom: 2px; margin-right: 6px; border: 1px solid #333; width: 85px; height:130px;}
.boardMembers img, .furniture img  {float: left; margin-right: 6px; border: 1px solid #333;}
.furniture img {margin-bottom: 15px;}
img.welcomePicnic { margin: 0 0 1em 0; padding-top: 1em; }

/* Paypal buttons */
form.support { clear: right; margin-bottom: 0;}
form.support input,
form.subscribe input { border: 0; outline: 0; padding: 0; }

form.subscribe { width: 145; margin-right: 10px; float: left; }


/*---------------------------------------------------------
Lists
---------------------------------------------------------*/

/* Standard List */
ul {margin: 0; padding: 0;}
ul li {color: #333; font-family: Verdana,sans-serif; font-size: 1.2em; margin-bottom: 15px; list-style: none;}
ul li small {text-transform: uppercase; font-size: .8em; color: #999; display: block;}
ul li p {font-size: .9em; color: #666; line-height: 16px; text-align: justify; margin-top:5px;}
ul li a {font-size: 1.0em;}

/* Padding for most site lists */
.homepageinfo ul, {padding-left: 9px; width: 260px;}
.eventlist ul {padding-left: 9px; padding-right: 80px;}
.donationOptions ul {padding-left: 0; padding-right: 40px; margin-left: 0;}
	.donationOptions ul li {padding-left: 0; }
.volunteerOptions, .localChurches {padding-left: 25px; padding-right: 25px;}
.classlist ul, .resourcelist ul, .getInvolved ul, .ourBeliefs ul, .organizations  {padding-left: 9px; padding-right: 25px;}

.organizations li a { display: block; }

.homepageinfo li, .eventlist li, .classlist li, .resourcelist li, .getInvolved li, .volunteerOptions li, .ourBeliefs li, .donationOptions li, .localChurches li {padding-left: 16px;}

/* Specific list styles */	
.language-selector {float: right; margin-right: 10px;}
.language-selector ul li {display: inline; border-right: 1px solid #6D0019; padding: 0 4px 0 4px; cursor: pointer;}
.language-selector ul li.last {border-right:none;}

.getInvolved ol { margin-bottom: 1.25em; }
.getInvolved li { padding: 0; }

#highlight ul {margin: 0 0 0 20px;}
#highlight ul li.small {margin: 0 0 0 20px; width: 150px;}
#highlight ul li {color: #27221F; margin-bottom: 5px;}
#highlight li small {color: #333; margin-left: -23px; top: -4px;}
#highlight li p {font-size: .85em;color: #27221F; margin-left: -20px;}

.volunteer { background: #e7e7e7; padding: 15px 25px; margin-bottom: 20px;}
.volunteer ul { margin: 0 15px; }
.volunteer ul li { font-size: 1em; margin-bottom: 1em; list-style: disc; }

.busRoutes li a {text-decoration: none;color:#333;}
.busRoutes li a:hover {text-decoration: underline;}	

#footer ul {list-style-image: none; margin: 10px 0 2px 0;}
#footer ul li {display: inline; margin-right: 5px; background: none;}	 

.welcomePicnic li { margin-bottom: 0.25em; }

/* List Images */
.homepageinfo li, .eventlist li, .classlist li, .resourcelist li, .volunteerOptions li, .ourBeliefs li, .specialEvent, .localChurches li {background:url(../img/arrow.png) no-repeat 0 3px; }

/*---------------------------------------------------------
Forms
---------------------------------------------------------*/

form {margin-bottom: 10px; font-size: 1.3em; color:#333;}
fieldset {border: 1px solid #e7e7e7; padding: 0 0.6em 0.6em 0.6em;}
input, textarea {border: 1px solid #333; padding: 0.5em;}
input, textarea {font-style: italic;}
input#submit {width: 100px; padding: 0.5em; background:url(../img/grey_bg.jpg) repeat-x 0 0; border: none;  cursor: pointer; font-style: normal;}

form.contact {width: 500px; margin-top: 40px;}
form.contact input, textarea {width: 300px;}
form.contact input.radio {width: auto;}
form.contact p {font-size: .75em; margin: 0.6em 0.6em 0 0;}
form.contact div {clear:left; padding-top:0.6em;}
form.contact div label {float:left; width: 30%;}
form.contact div textarea {width: 300px;}

.paypal-donate input {border: none;}
label.error {
	margin-top: 0.5em;
	margin-left: 30%;
	padding: 0.25em; 
	clear: left; 
	background: #FBE3E4; 
	border: 1px solid #FBC2C4; 
	width: 14em; 
	text-align: center;
}

.requiredField {color: #FF0000; font-size: 1.2em;}
/*---------------------------------------------------------
Special Elements
---------------------------------------------------------*/

/* Chinese Character Styles */
.hidden {display:none;}

#topimage p.chinese {font-size: 2.6em;}
.pageintro_int .chinese, .pageintro .chinese {font-size: 1.4em; }
p.chinese {font-size:1.4em;}
#sidebar p.chinese {font-size: 1.2em;}

h1.chinese {font-size: 2.8em;}
h2.chinese, h3.chinese {font-weight: bold;}

.classlist li.chinese, .eventlist li.chinese {font-size: 1.4em; ! important}

#welcome-picnic-photos li { float: left; margin-right: 20px; }


/* Homepage Slideshow */
#slideshow {float: right; width: 343px; margin-top: 39px;}

/* UI Tabs on Classes and Resource Page */
#tabs {margin-top: 75px;}

.ui-tabs-nav {margin: 0; padding: 0; list-style: none; font-family: Verdana, Arial, sans-serif; position: relative; z-index: 1; bottom: -1px;}

.ui-tabs-nav-item {margin-bottom: 0px;padding: 0;border:0;outline: 0;float: left;}
.ui-tabs-nav-item a {float: left;font-size: 1.1em;outline: none;text-decoration: none;padding: 10px 10px;color: #333;}
.ui-tabs-nav-item a:hover {background: url(../img/classes_bg.jpg) repeat-x;color: #FFF;}
	
.ui-tabs-selected {border-bottom-color: #ffffff;}
.ui-tabs-selected a, .ui-tabs-selected a:hover {background: url(../img/classes_bg.jpg) repeat-x;color: #FFF;}
	
.ui-tabs-panel {clear:left;background: #F8F7F7 url(../img/tabs_bg.jpg) no-repeat top center;color: #222222;padding: 20px 10px 20px 10px;width: 563px;}

.ui-tabs-hide {display: none;/* for accessible hiding: position: absolute; left: -99999999px*/;}

/* Lightbox */

#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}




/* ----------------
	CLEAR FLOATS WITHOUT EXTRA HTML MARKUP
	add this class to the element that needs to be cleared - This works in modern browser that support the after pseudo element
    ------------- */
.group:after { 
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
}

