body {
	background: url(http://www.sanjosescottishrite.org/images/interface/sjsr/ui/bg_header.jpg) top left repeat-x;
	text-align: center;
}

#container {
	clear: both;
	text-align: left;
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

	#utility {
		background-color: #453a47;
		color: #cacaca;
		height: 25px;
	}

	#header {
		clear: both;
		height: 140px;
		margin: 0;
		overflow: hidden;
	}
	
		#header form#search {
			background-color: #a38aa9;
			clear: right;
			float: right;
			margin: 24px 0 0 0;
			padding: 5px;
		}
		
			form#search .query {
				border: solid 0 #463a48;
				border-color: #463a48;
			}
		
	
	div#sub_navigation {
		background: url(http://www.sanjosescottishrite.org/images/interface/sjsr/ui/bg_nav.jpg) top left repeat-x;
		clear: right;
		float: right;
		width: 250px;
	}
	
	div#content-primary,
	div#content-secondary {
		clear: left;
		float: left;
		width: 690px;
	}

       div#aside {
		float: right;
		clear: right;
		width: 250px;
       }

/* =Masthead
 ********************************************* */

div#masthead {
	background-color: #392b38;
	clear: both;
	color: white;
	height: 272px;
	width: 960px;
	margin: 0;
	overflow: hidden;
}

	div#masthead div#main_navigation {
		float: right;
	}

	div#masthead img {
		float: left;
		margin: 0;
	}
	
/* =Upcoming Events
 ********************************************* */	
div#upcoming-events {
	float: right;
	clear: right;
	margin: 30px 0 0 0;
	width: 250px;
}	

	div#upcoming-events h3 {
		font-size: 1.4em;
		font-weight: bold;
		margin: 0 0 1em 0;
	}
	
	div#upcoming-events h4 {
		font-size: 1.2em;
		font-weight: bold;
		margin: 0 0 0 25px;
	}

	div#upcoming-events li {
		background: url(http://www.sanjosescottishrite.org/images/interface/sjsr/ui/date.png) 0 .1em no-repeat;
		margin: 0 0 25px 0;
	}

	div#upcoming-events span {
		display: block;
		margin: 0 0 0 25px;
	}
	
	div#upcoming-events a {
		color: blue;
		text-align: right;
	}
	
	div.extended {
		clear: both;
		background-color: #FFFFDF;
		border: 1px solid #FEFFAF;
	}
	
		div.extended p { display: block; margin: 1em; }
	
/* =Latest News
 ********************************************* */	
ul#latest-news {
    float: left;
	background-color: #453a47;
	display: block;
	width: 690px;
	overflow: hidden;
}
	
	ul#latest-news li {
		float: left;
		margin: 20px 0 20px 20px;
		width: 203px;
	}
	
		ul#latest-news h3 a {
			color: #fffeff;
		}
	
		ul#latest-news span.date {
			display: block;
			clear: both;
			color: #afafb0;
		}
		
/* =Footer
 ********************************************* */	
#footer {
	background-color: #231c24;
	clear: both;
	text-align: center;
	width: 100%;
	margin: 30px auto 0 auto;
	overflow: hidden;
}

	#footer-content {
		clear: both;
		text-align: left;
		width: 960px;
		margin: 20px auto 20px auto;
		overflow: hidden;
	}
	
		#footer-content #navigation-footer {
			float: left;
			width: 140px;
			margin-right: 20px;
		}
	
		#footer-content #contact-footer {
			float: left;
			width: 220px;
		}

/* =Contact Form
 ********************************************* */

ul#contact_form {

}

	ul#contact_form li {
		border-bottom: 1px dotted #ccc;
		padding: .5em 0;
		width: 350px;
		overflow: hidden;
	}
	
	ul#contact_form label {
		font-weight: bold;
		float: left;
		text-align: right;
		line-height: 26px;
		width: 120px;
	}
	
	ul#contact_form input {
		clear: right;
		float: right;
		line-height: 26px;
		width: 200px;
	}
		
/* =Lightbox
 ********************************************* */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.sanjosescottishrite.org/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.sanjosescottishrite.org/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
		
		
/* =Officer List
 ********************************************* */
ul#officers {
	clear: both;
	display: block;
	width: 70%;
	margin: 1em auto 2em auto;
	overflow: hidden;
}

	ul#officers li,
	ul#officers span {
		display: block;
	}
	
	ul#officers li {
		border-bottom: 1px dashed #ccc;
		float: left;
		margin: 1em 0 0 0;
	}
	
	ul#officers .title {
		float: left;
	}
	
	ul#officers .name {
		float: right;
		width: 35%;
	}
	
/* =California Temples
 ********************************************* */

ul#california-temples {
	clear: both;
	width: 500px;
	margin: 1em auto 1em auto;
	display: block;
	overflow: hidden;
	list-style-type: none;
}

ul#california-temples li {
	display: block;
	float: left;
	margin: .5em 0 0 0;
	width: 250px;
}

/* =Main Floor & Lower Level
 ********************************************* */

img.thumbnail {
	background-color: #ccc; 
	border: 1px solid #aaa;
	cursor: hand;
	padding: 8px;
}

img.verso {
	float: left; 
	margin: 0 20px 20px 0;
}

img.recto {
	float: right; 
	margin: 0 20px 20px 20px;
}

ul.main-floor {
	margin: 0 0 20px 20px;
}

table#main-floor {
	margin: 1em 0 1em 3em;
}
	
	table#main-floor .dimensions { width: 250px;}
	table#main-floor .room,
	table#main-floor .seating,
	table#main-floor .dining {
		width: 125px;
	}

	table#main-floor th,
	table#lower-level th { 
		font-weight: bold; 
		font-size: 1.1em; 
		height: 1.5em; 
		border-bottom: 2px solid #ddd;
		margin-bottom: 1em;
	}
	table#main-floor td,
	table#lower-level td { line-height: 2em; border-bottom: 1px solid #ddd;}

table#lower-level {
	margin: 1em 0 1em 3em;
	width: 400px;
}

/* =Special Features
 ********************************************* */

ul#special-features {
	list-style-type: disc;
	margin: 1em;
}

	ul#special-features li {
		margin: 1em;
	}
	
/* =Locations
 ********************************************* */	

table#locations {
	margin: 1em;
}

	table#locations td {
		width: 200px;
		margin: 1em 0;
		padding-bottom: 1em;
		vertical-align: top;
	}
	
/* =Joining & Estate Planning
 ********************************************* */

ol#joining,
ol#estate-planning,
ol#degrees{
	list-style-type: disc;
}

	ol#joining li,
	ol#estate-planning li,
	ol#degrees li {
		margin: 1em 0 1em 1em;
	}
	
/* =Locations
 ********************************************* */	

table#valleys {
	margin: 1em auto;
}

	table#valleys td {
		width: 150px;
		margin: 1em 0;
		padding-bottom: 1em;
		vertical-align: top;
	}
	
/* =Scottish Rite Links & Masonic Links
 ********************************************* */	

table.scottish-rite-links,
table.masonic-links {
	margin: 1em 0 0 1em;
}

	table.scottish-rite-links td,
	table.masonic-links td {
		width: 200px;
		margin: 1em 0;
		padding-bottom: 1em;
		vertical-align: top;
	}	
	
	table.scottish-rite-links a,
	table.masonic-links a {
		padding: 0 1em 0 0;
	}