/*Adopted from the tutorial so all remained in place while developing the style. As instructed,
keeping as close to Norwich 12 as possible*/

#header{
	width: 100%;
	background-image:url('../images/shadow-right.jpg');
	background-repeat:repeat-y;
	background-position:top right;	
}

#logo-area {
	height: 110px;
	background-color: #fff;	
	width: 890px;
	text-align: left;
	overflow: hidden;
}

#logo-area img{
	padding: 5px 5px;	
}

span.middleColumn{
		float:left;
}

/*Search as requested*/
#search-area {
	width: 250px;
	height:20px;
	float: right;
	margin-right: 20px;
	margin-top: 20px;
	text-align: right;
	display: inline;
	/*background-image:url('../images/shadow-right.jpg');
	background-repeat:repeat-y;
	background-position:top right;*/
}

#SearchForm_SearchForm fieldset{
	border:none;	
}

#banner-image{
	overflow:hidden;
	height:150px;
	width:890px;
	background-image:url('../images/banner_img_2.jpg');	
}

#banner-images{
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}

/*Top level menu for site*/
#top-level-links{
	/*background-color: #339999;*/
	height: 90px;
	/*background-image:url('../images/top_level_nav_temp.jpg');*/
	/*background-repeat: no-repeat;*/
	/*background-position:0px -999px;	*/
	margin-left: 5px;
	text-align: center;
	white-space:nowrap;
	
}

/*top level link that is not hovered or current page or current section (no highlight)*/
#top-level-links li {
				float:left;				
				margin-left:2px;
				/*IE6 hack to get min-height*/
				/*width: expression( this.scrollHeight < 81 ? "80px" : "" );*/
				min-width: 55px;	
				/*background:url(../images/top_level_menu_item_right.gif) no-repeat right bottom;*/
}

/*top level link that is current page showing (highlight with image)*/			
#top-level-links li.current{
					margin-left:2px;
					background:url(../images/top_level_menu_item_right.gif) no-repeat right bottom;					
}

/*top level link that is current section user is in (highlight with image)*/
#top-level-links li.section {
					margin-left:2px;
					background:url(../images/top_level_menu_item_right.gif) no-repeat right bottom;
}

/*top level link that is being hovered, (highlight with image)*/
#top-level-links li:hover {
					margin-left:2px;					
					background:url(../images/top_level_menu_item_right.gif) no-repeat right bottom;	
}

/*top level link a tag which is neither hovered, current page or current section (no highlight)*/
#top-level-links li a {
					display:block;
					color:#fff;
					font-weight:bold;
					font-size:1.1em;
					text-decoration:none;
					padding:5px 5px;					
					/*background:url(../images/top_level_menu_item_left.gif) no-repeat left bottom;	*/
			}

/*top level link a tag which is being hovered (highlight with image)*/
#top-level-links li a:hover {
					color:#d2ebff;
					background:url(../images/top_level_menu_item_left.gif) no-repeat left bottom;	
}

/*top level link a tag which is current page being viewed (highlight with image)*/
#top-level-links li.current a{
						background:url(../images/top_level_menu_item_left.gif) no-repeat left bottom;
						color:#d2ebff;
						align:center;
}

/*top level link a tag which is current section the user is viewing (highlight with image)*/
#top-level-links li.section a {
						background:url(../images/top_level_menu_item_left.gif) no-repeat left bottom;
						color:#d2ebff;
						align:center;
}

#top-level-links div a{
	background:none;	
}

div.top-links{
	align:center;	
	background-image:url('../images/top_level_nav.jpg');
	background-repeat: no-repeat;
	height:90px;
	overflow: hidden;	
}

div.link-image{
	min-height:50px;
	max-height:50px;
	/*IE6 hack to get min-height*/
	height: expression( this.scrollHeight < 51 ? "50px" : "" );	
	/*height:50px;*/
	align:center;
	background:none;
	margin: auto;	
}

img.menuIcon{
	align:center;
	margin: 0px 5px;
}

/*End top level site menu */

/*Page content*/

#PageContent {
	margin-top: 10px;	
	width: 100%;
	text-align: left;
	background-color: #FFF;
	background-image:url('../images/shadow-right.jpg');
	background-repeat:repeat-y;
	background-position:top right;
	/*line-height: 1.4;*/
	font-size: 1em;
}

#TopCurve{
	height: 9px;
	width: 900px;
	background-image:url('../images/top_curve.gif');	
	overflow: hidden;
}

#PageContentHeader{
	min-height: 25px;
	width: 890px;	
	background-color: #83A2B6;	
	overflow:auto;
	/*margin:auto;*/
}

#PageHeadingTitle {
	float: left;
	width: 395px;
	margin-top: 0px;
	margin-left: 5px;
	margin-bottom: 5px;
	display: block;
}

#PageHeadingNav{
	float: left;
	width: 490px;
	margin-top: 1px;
	display: block;	
}

#PageHeadingTitle h1 {
	font-size: 2em;
	color: #fff;
	margin: 0px;
	padding: 1px;
	font-weight: normal;
	line-height: 1em;
	display: block;
}

#PageHeadingNav ul {
	float: right;
	list-style-type: disc;
	padding-left: 5px;	
	vertical-align: top;	
}

#PageHeadingNav ul li.link {
	display: inline;
	margin:0px;
	font-size: 1em;	
}

#PageHeadingNav ul li.current {
	display: inline;
	margin:0px;
	font-size: 1em;
	font-weight: bold;	
}

#PageContentHeader li a {
	float: left;
	display: block;
	width: auto;
	color:#fff;
	font-size:1em;
	font-weight:normal;
	text-decoration:none;
	padding: 0px 15px 6px 7px;
	margin: 0px;
	/*
	background-image:url('/images/main-navigation-seperator.gif');
	background-repeat:no-repeat;
	background-position:0px 9px;
	*/
}

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

#PageContentHeader .current {
	color: #fff;
	text-decoration:underline;
}

#BottomCurve {
	height: 20px;
	width: 900px;
	background-image:url('../images/bottom_curve.gif');
	/*clear:both;*/
}

div.zoomContainer{
	margin: 10px 10px;	
}

#ZoomHeader {
	float: left;
	margin: 0px 10px;
	width:850px;
}

#ZoomFooter {
	float: left;
	margin: 0px 10px;
	width:850px;
}

/* SS styling */

/* Global Resetting */
html{	
	width: 100%;
	height: 100%;
	/*background:url(../images/body_bg.gif) repeat;*/
	background:url(../images/page_bg.png) repeat;
	/*background-color:#CC9966;*/
	
}
body {
	width: 100%;
	height: 100%;
	font-size: 62.5%;	 
	/* reset font-sizes to 1em == 10px */
	}
* 	{
	font-size: 1em;
	/* reset font-sizes to 1em == 10px */
	padding: 0;
	margin: 0;
	font-family:Verdana,Helvetica,sans-serif;
	list-style:none;
}
a img{
	border:0;
}
.clear{
	clear:both;
}

/* Layout CSS */
#Main {
	margin:20px auto;
	margin-top:0px;
	width:900px;
}
#Header {
	background:url(../images/blueback.gif) bottom left repeat-x;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
	clear:left;
}
	#Header h1 {
		color:#fff;
		font-size:1.5em;
		line-height:4.5em;
		padding-left:20px;
	}
		#Menu1 {
			padding:10px 50px 0;
		}
			#Menu1 li {
				float:left;
				margin-left:2px;				
				background:url(../images/menu1_right.gif) no-repeat right top;
			}
				#Menu1 li.current,
				#Menu1 li.section {
					background:url(../images/menu1_right_on.gif) no-repeat right top;
				}
				#Menu1 li a {
					display:block;
					color:#fff;
					font-weight:bold;
					font-size:1.1em;
					text-decoration:none;
					padding:5px 15px;
					background:url(../images/menu1_left.gif) no-repeat left top;
				}
					#Menu1 li a:hover {
						color:#d2ebff;
					}
					#Menu1 li.current a,
					#Menu1 li.section a {
						background:url(../images/menu1_left_on.gif) no-repeat left top;
						color:#d2ebff;
					}
					


#ContentContainer {
	/*background:#f5f5f5 url(../images/ss_watermark.gif) bottom left no-repeat;*/
	background-color: #fff;
	padding-top:10px;
	padding-bottom:20px;
	overflow: hidden;
	width: 890px;
	max-width: 890px;
}

#Banner {
	text-align: center;
}

#Menu2 {
	margin-left: 10px;
	width: 170px;
	float:left;
	background:#f0f0f0;
	border:1px solid #ddd;
	padding:10px 10px 10px 10px;
}
	
	#Menu2 li {
		padding-left:15px;
		background:url(../images/menu2_arrow.gif) no-repeat left top;
		
	}	

	#Menu2 li.current {
		padding-left:15px;
		background:url(../images/menu2_arrow_current.gif) no-repeat left top;
	}
		
	#Menu2 li.section {
		padding-left:15px;
		background:url(../images/menu2_arrow.gif) no-repeat left top;
		
	}
	
	#Menu2 a {
		color:#333;
		font-weight:bold;
		font-size:1.1em;
		line-height:1.6em;
		text-decoration:none;
	}	
	
	#Menu2 a:hover {
		text-decoration:underline;
	}
	
	#Menu2 li.current a {
		color:#0083C8;
		text-decoration:underline;
	}
			
	#Menu2 li.section ul li.current a {
		color:#0083C8;
		text-decoration:underline;
	}
	
		
	#Menu2 li.section ul li.current ul li.link a {
		color:#333;
		text-decoration:none;
	}
		
	#Menu2 li.section a {
		color:#0083C8;		
	}
	
	#Menu2 li.link a {
		color:#333;
		text-decoration:none;	
	}
	
/*Hover bits*/
	
	#Menu2 li.section a:hover,
	#Menu2 li.link a:hover,
	#Menu2 li.current a:hover {
		text-decoration:underline;
	}
	
	#Menu2 li.section ul li.section a:hover,
	#Menu2 li.link ul li.section a:hover,
	#Menu2 li.current ul li.section a:hover,
	#Menu2 li.section ul li.link a:hover,
	#Menu2 li.link ul li.link a:hover,
	#Menu2 li.current ul li.link a:hover,
	#Menu2 li.section ul li.current a:hover,
	#Menu2 li.link ul li.current a:hover,
	#Menu2 li.current ul li.current a:hover {
		text-decoration:underline;
	}
	
	#Menu2 li.section ul li.section ul li.section a:hover,
	#Menu2 li.link ul li.section ul li.section a:hover,
	#Menu2 li.current ul li.section ul li.section a:hover,
	#Menu2 li.section ul li.link ul li.section a:hover,
	#Menu2 li.link ul li.link ul li.section a:hover,
	#Menu2 li.current ul li.link ul li.section a:hover,
	#Menu2 li.section ul li.current ul li.section a:hover,
	#Menu2 li.link ul li.current ul li.section a:hover,
	#Menu2 li.current ul li.current ul li.section a:hover,
	#Menu2 li.section ul li.section ul li.link a:hover,
	#Menu2 li.link ul li.section ul li.link a:hover,
	#Menu2 li.current ul li.section ul li.link a:hover,
	#Menu2 li.section ul li.link ul li.link a:hover,
	#Menu2 li.link ul li.link ul li.link a:hover,
	#Menu2 li.current ul li.link ul li.link a:hover,
	#Menu2 li.section ul li.current ul li.link a:hover,
	#Menu2 li.link ul li.current ul li.link a:hover,
	#Menu2 li.current ul li.current ul li.link a:hover,
	#Menu2 li.section ul li.section ul li.current a:hover,
	#Menu2 li.link ul li.section ul li.current a:hover,
	#Menu2 li.current ul li.section ul li.current a:hover,
	#Menu2 li.section ul li.link ul li.current a:hover,
	#Menu2 li.link ul li.link ul li.current a:hover,
	#Menu2 li.current ul li.link ul li.current a:hover,
	#Menu2 li.section ul li.current ul li.current a:hover,
	#Menu2 li.link ul li.current ul li.current a:hover,
	#Menu2 li.current ul li.current ul li.current a:hover {
		text-decoration:underline;
	}

#Content {
	float: left;
	margin: 0px 10px;
	width:640px;
	overflow: hidden;
}

#Content_No_Menu {
	float: left;
	margin: 0px 10px;
	width:865px;
	overflow: hidden;
}

#Content ul li{
		margin: 10px 5px;
}

div.breadcrumbs {
	margin: 10px 5px;
	font-size:1em;
	color:#666;
}

div.breadcrumbs a {
	text-decoration:none;
	color:#0083C8;
}

#Footer {
	background:#015581;
	clear:both;
	text-align:right;
	padding-right:20px;
	border:1px solid #ccc;
	border-top:0;
}
	#Footer span {
		color:#ccc;
		font-size:1.1em;
		line-height:2em;
		font-weight:bold;
		padding-left:20px;
		background:url(../images/ss_logo.gif) no-repeat;
	}
	#Footer a {
		color:#fff;
	}
		#Footer a:hover {
			text-decoration:none;
		}


/* The rest of this file is for the second tutorial */
#NewsList,
#StaffList {
	background:#f0f0f0;
	border:1px dotted #ccc;
	padding:10px;
}

#NewsList li,
#StaffList li {
	margin: 0;
	list-style-type: none;
}
	#NewsList li.newsDateTitle span {
		color:#666;
		line-height:2em;
	}
	#NewsList li.newsDateTitle a {
		font-size:1.3em;
		font-weight:bold;
		color:#0083C8;
		text-decoration:none;
		padding-left:20px;
		background:url(../images/treeicons/news-file.gif) no-repeat left center;
	}
		#NewsList li.newsDateTitle a:hover {
			border-bottom:1px dotted #0083C8;
		}
		
	#NewsList li.newsSummary {
		margin-bottom:20px;
	}
		#NewsList li.newsSummary span {
			font-size:1.1em;
			line-height:1.5em;
			color:#333;
		}
		#NewsList li.newsSummary a.readMoreLink {
			color:#0083C8;
			text-decoration:none;
		}
			#NewsList li.newsSummary a.readMoreLink:hover {
				border-bottom:1px dotted #0083C8;
			}

div.newsDetails {
	margin-bottom:10px;
}

div.newsDetails p {
	color:#666;
	margin:0;
	font-size:1em;
}

div.pageComments {
	background:#f0f0f0;
	border:1px dotted #ccc;
	padding:10px;
}

#StaffList .staffname { 
	clear: both;
	padding-left: 60px;
	height: 1.2em;
}

#StaffList .staffphoto {
	float: left;
	margin-left: 3px;
	margin-top: -1.2em;
}     
#StaffList .staffphoto img {
	border:1px solid #AAA;
}

#StaffList .staffdescription {
	margin-left: 60px;
	margin-bottom:30px;
}

#StaffPhoto {
	float: left;
	margin-right: 10px;
}

#StaffPhoto img {
	border:1px solid #AAA;
}

#PageComments {
	list-style:none;
	background:#e9e9e9;
	border:1px solid #ccc;
	border-bottom:0;
	padding:0;
	margin:0;
}
	#PageComments li {
		list-style:none;
		padding:5px;
		margin:0;
		font-size:1em;
		border-bottom:1px dotted #bbb;
	}
		#PageComments li p span {
			font-style:italic;
		}
		#PageComments a.deletelink {
			font-weight:bold;
		}

			
#PageNumbers {
	font-weight:bold;
	color:#333;
	font-size:1.1em;
	text-align:center;
	padding:5px;
	border:1px solid #ddd;
	background:#e9e9e9;
}
#PageNumbers * {
	padding:0 5px;
	line-height:1.5em;
}
#PageNumbers a {
	color:#0083C8;
	text-decoration:none;
}
	#PageNumbers a:hover {
		text-decoration:underline;
	}

#SearchContent {
	float: left;
	margin: 0px 10px;
	width:800px;
}

.searchResults h2 {
	font-size:2.2em;
	font-weight:normal;
	color:#0083C8;
	margin-bottom:15px;
}
.searchResults p.searchQuery {
	color:#333;
	margin-bottom:10px;
}

.searchResults ul#SearchResults li {
	margin-bottom:20px;
}
	ul#SearchResults p {
		font-size:1.1em;
		font-weight:normal;
		line-height:2em;
		color:#333;
	}
	ul#SearchResults a.searchResultHeader {
		font-size:1.3em;
		font-weight:bold;
		color:#0083C8;
		text-decoration:none;
		margin:20px 0 8px 0;
		padding-left:20px;
		background:url(../images/treeicons/search-file.gif) no-repeat left center;
	}
		ul#SearchResults a {
			text-decoration:none;
			color:#0083C8;
		}
		ul#SearchResults a:hover {
		border-bottom:1px dotted #0083C8;
		}

input.text nolabel{
	font-size:0.8em;
}

#SearchForm_SearchForm_Search,
#SearchForm_SearchForm_action_results{
	font-size:1.5em;
}
