body {
	height: 100%;
	min-width: 40em;
	margin: 0;
	padding: 0;
	line-height: 1em;
	font-size: 1em;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background: url('/assets/templates/JerseyConnect/images/bgTest2.png') top center repeat-x #d6d8dc;
}

a:visited {
	color: #551a8b;	
}

h1 {
	border: 1px solid #333;
	border-width: 1px 0 0 0;

	font-size: 2em;
	line-height: 1em;

	height: 3em;
	
	text-align: center;

	margin: 0;
	padding: 0;

	margin-top: 0.8em;
	padding-top: 0.2em;

}
	h1 span {
		display: none;
	}
	
	h1 img {
		height: 75px;
		width: 450px;
		background: url('/assets/templates/JerseyConnect/images/jerseyConnect.jpg') center center no-repeat;
		border: 0;
	}

h2 {
	margin: 0;
	padding: 0.2em;
}

#quickInfoPanel {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	
	font-size: 0.8em;
	
	height: 2em;
	background-color: #084863;
	margin: 0;
	padding: 0;
}
	#quickInfoPanel ul {
		margin: 0;
		padding: 0;
		padding-top: 0.4em;
		padding-right: 0.5em;
		list-style-type: none;
		float: right;
	}
		#quickInfoPanel ul li {
			margin: 0;
			padding: 0;
			display: inline;
		}
			#quickInfoPanel ul li a {
				display: inline-block;
				padding: 0.1em 0.5em;
				background-color: #084863;
				border: 1px solid #084863;
				color: #fff;
				text-decoration: none;
			}

			#quickInfoPanel ul li a:hover {
				background-color: #fff;
				color: #000;
				border-color: #000 #999 #999 #000;
			}

	#quickInfoPanel h2 {
		float: left;
		font-size: 0.8em;
		line-height: 0.8em;
		color: #fff;
		margin: 0;
		padding: 0;
		margin-top: 0.4em;
		padding-left: 0.4em;
		padding-right: 0.1em;
	}


	/* hide this heading from styled browsers */
	#quickInfoPanel h2#qlHeading {
		float: right;
		display: none;
	}

	#quickInfoPanel ul#alerts {
		position: absolute;
		width: 19em;
		height: 1.4em;
		left: 3em;
		top: 0.3em;
		top: 0.1em; /* this probably has implications for the scroller */
		overflow: hidden;
	}
	#quickInfoPanel ul#alerts li {
		display: block;
		margin: 0;
		margin-top: -0.1em;
		padding: 0;
		padding-left: 0.3em;
		padding-bottom: 0.3em;
	}
		.urgent {
			background-color: #f00;
		}
		.high {
			background-color: #f60;			
		}
		.medium {
			
		}
		.low {
			
		}
	#quickInfoPanel ul#alerts li a {
		display: inline;
		background-color: transparent;
		border: none;
	}



#accessibleSkipLinks {
	position: absolute;
	margin: 0;
	padding: 0;
	left: -9999em;
}

#mainPanel {
/*	border: 1px solid red;	*/
	position: relative;
	
	margin: 0;
	padding: 0;
	
	margin-top: 1em;
}

#content {
	border: 1px solid #666;
	border-top-width: 2px;
	border-color: #666 #999 #999 #999;
	width: 68%;

	min-height: 20em;
	height: auto !important;
	height: 20em;
	margin-left: 2%;

	padding: 1%;
	padding-top: 1em;
	background-color: #fff;
	background: url('/assets/templates/JerseyConnect/images/panelBg.png') top left repeat-x #fff;

	margin-bottom: -3px;
	
	position: relative;
}

	#content p, #content dl, #content ul, #content ol {
		font-size: 0.8em;
		line-height: 1.4em;
/*		text-align: justify;	*/
	}
		#content ol ul, #content ul ul, #content ul ol {
			font-size: 1em;
		}
	
	p.note {
		margin: 1em;
		padding: 0.8em;
		
		color: #000;
		background-color: #eee;
		
		border: 1px solid #999;
		border-width: 0 1px 1px 0;
	}
	
	#services, .contextMenu {
		margin: 0;
		padding: 0;
		list-style-type: none;
	}
		#content #services {
			font-size: 1em;
		}
		
		#services li {
			border: 1px solid #ccc;
			font-size: 1em;
			margin: 0.5em;
			margin-bottom: 2em;
			padding-left: 0.5em;
			clear: left;
		}
			#services li li {
				border: none;
				margin: auto;
			}

			#services li h3 {
				margin: 0;
				padding: 0.1em;
				
/*				position: relative;
				top: -1px;
				left: -1px;
				width: 10em;	
				border: 1px solid #ccc;
				border-width: 0 1px 1px 0;
*/				
			}
			
		#services table {
			width: 95%;
			margin-left: 1em;
			margin-bottom: 1em;
			font-size: 0.8em;
			border-collapse: collapse;
		}
			#services table tr:hover {
				background-color: #eee;
			}
			
		.contextMenu {
			border: 1px solid #ccc;
			border-top-width: 0;
			background-color: #fff;
			color: #000;
			margin-left: 1em;
			float: left;
		}
			.contextMenu a {
				text-decoration: none;
				padding: 0.1em;
			}
				.contextMenu a:hover {
					color: #fff;
					background-color: #084863;
				}
			.contextMenu li {
				display: inline;
				padding: 0.3em;
			}
	
		#servicePanes {
			margin: 0 auto;
			padding: 0;
			list-style-type: none;
			
			height: 8em;
		}
			#content #servicePanes li {
				clear: none;
				margin: auto;
				float: left;
					width: 23.5%;
			}
				#content #servicePanes li a {
					display: block;
					text-align: center;
					height: 10em;
					border: 1px solid #999;
				}
					#content #servicePanes li a:hover {
						border-color: #084863;
					}

#tabs {
	list-style-type: none;
	margin: 0;
	padding: 0;

	font-size: 1em;
	line-height: 1em;
	
	position: absolute;
	top: -2em;
	
	left: 1em !important;
	left: 0;
	
	right: 1em !important;
	
	width: auto !important;
	width: 97%;
	
	height: 1.5em;
	overflow: hidden;

	text-align: center;
	
	border: 1px solid #888;
	border-top: 1px solid #666;
	
	background: url('/assets/templates/JerseyConnect/images/panelBg.png') top left repeat-x #fff;
	
	z-index: 20;
	
}
	#tabs li {
		display: inline;
		margin: 0;
		padding: 0;
	}
	
		#tabs li a {

			text-decoration: none;
			display: block;
			
			float: left;
			
			padding: 0.5em;
			padding-top: 0.2em;
			
			font-size: 0.8em;
			
			font-weight: bold;
			
			border-right: 1px solid #666;
			
		}
		
		#tabs li a:hover {
			background-color: #084863;
			color: #fff;
		}
	
		#tabs li.libName a, #tabs li.libName span {
			display: block;
			
			float: right;
			
			padding: 0.5em;
			padding-top: 0.2em;
			
			font-size: 0.8em;
			
			font-weight: bold;
		}


#sidebar {
	border: 1px solid #666;
	border-top-width: 2px;
	border-color: #666 #999 #999 #999;
	background-color: #fff;
	
	position: absolute;
	left: 73.5% !important;
	
	left: 71%;
	right: 2%;
	
	width: auto !important;
	width: 25%;
	
	top: 0;
	bottom: 0;
	
	background: url('/assets/templates/JerseyConnect/images/panelBg.png') top left repeat-x #fff;
	
	z-index: 30;
}
	#sidebar ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
		#sidebar ul li a {
			display: block;
			width: auto !important;
			width: 100%;
			padding: 0.5em;
			text-decoration: none;
			text-align: center;
			font-weight: bold;
		}

		#sidebar ul li a:hover {
			background-color: #084863;
			color: #fff;
		}
	#sidebar h2 {
		padding: 0.3em;
	}

#footer {
	clear: both;
	text-align: center;
	padding: 0;
	border: 1px solid #999;
	margin: 1em;
	color: #000;
	background-color: #fff;
}
	#footer p {
		border: 1px solid #ccc;
		border-width: 0 0 1px 0;
		padding: 1em;
		margin: 0;
		font-size: 0.8em;
		line-height: 1.5em;
	}
	
	#topRight {

		display: none;
		position: absolute;
		top: -1px !important;
		top: 0;
		right: -1px !important;
		right: 15%;
	}

.KBSearchResults {
	list-style-type: none;
	margin: 10px 0;
	padding: 0;
}
	.KBSearchResults li a {
		display: block;
		padding: 10px;
		margin-top: 5px;
		
		border: 1px solid #ccc;
	}
		.KBSearchResults li a:hover {
			border: 1px solid #aaa;
			background-color: #eee;
		}
