/* 
Main style sheet.  This controls the basic page look, including the page header, 
menu bar, and sidebar.  It does not include the blog entries, comments, forums, etc.
*/

html, body {
	background-color: #566eff;
	background-image: url(../images/page-bg.png);
	background-repeat: repeat-x;
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	font: 12pt Verdana, Arial, Helvetica, sans-serif;
}

/* Styles for the page content area. */

#pagecontent {
	margin: 1% 1% 1% 1%;
	padding: 1% 1% 1% 1%;
	border: 1px solid black;
	width: 66%;
	float: right;
	clear: right;
	background: #f4f4f4;
}

a:link {
	text-decoration: none;
	color: blue;
}

a:visited {
	text-decoration: none;
	color: #8B008B;
}

a:hover {
	text-decoration: underline;
	color: red;
}

input:focus, textarea:focus {
	background-color: #ffffe1;
}

q { font-style: italic; }

/* Site banner styles. */

#banner {
	background: url(../images/tux/tatice-g2-tux-small.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
	width: 100%;
	height: 64px;
	margin: 2px 0 2px 0;
	clear: both;
}

#banner h1, #banner h3 {
	float: left;
	margin: 5px;
}

#banner h1 {
	margin-left: 70px;
	width: 15%;
	color: white;
}

#banner h3 {
	margin-left: 2em;
	margin-top: 20px;
	width: 40%;
	color: #f4f4f4;
}

#banner a:link, #banner a:visited {
	color: white;
	text-decoration: none;
}

#banner a:hover {
	text-decoration: underline;
}

#banner.bannerpanel {
	width: 30%;
}

#banner .bannerpanel form,
#banner .bannerpanel fieldset {
	width: 100%;
}

.bannerpanel,
.menupanel {
	float: right;
	clear: right;
}

/* Site-map menu bar styles. */

#menubar {
	width: 100%;
	background: #f4f4f4;
	border-bottom: 1px solid black;
	margin: 0;
	padding: 0;
	float: left;
	clear: both;
}

#menubar img {
	border: 0;
	position: absolute;
	right: 1px;
	top: 1px;
}

#menubar h1, #menubar h2 {
	font-size: 100%;
	float: left;
	clear: left;
	margin: 0;
}

#menubar ul {
	float: left;
	padding-left: 2em;
	margin: 0;
}

#menubar ul li {
	list-style-type: none;
	display: inline;
	margin-left: 1em;
	margin-right: 1em;
}

#menubar > .location > li{
	margin: 0;
}
#menubar > .location > li:before {
	content: "\00BB \0020";
}

/* Sidebar styles. */

#sidebar {
	border: 1px solid black;
	margin-top: 1%;
	margin-left: 1%;
	background-color: #f4f4f4;
	float: left;
	clear: left;
	width: 27%;
}

#sidebar h1, #sidebar h2, #sidebar h4 {
	font-size: 100%;
	margin-right: 1em;
	margin-left: 1em;
}

#sidebar h3, #sidebar .panelheader {
	margin-top: 0;
	margin-bottom: 0;
	width: 95%;
	padding-left: 5%;
	color: white;
	background: url(../images/background.png);
	background-color: rgb(0, 75, 178);
	background-repeat: repeat-y;
	background-position: center right;
}

#sidebar h3 a, #sidebar .panelheader a {
	color: white;
	display: block;
	width: 100%;
}

#sidebar h3 a:visited, #sidebar .panelheader a:visited {
	color: white;
}

#sidebar ul, #sidebar .panel {
	margin: 0;
	padding-left: 0;
	margin-top: 1em;
	margin-bottom: 1em;
}

#sidebar .panel {
	padding-left: 8%;
	padding-right: 8%;
	width: 84%;
}

#sidebar ul li {
	list-style-type: none;
	width: 100%;
	margin: 0;
	padding: 0;
} 

#sidebar ul.imglist li a:hover {
	background-color: #f4f4f4;  /* Same as regular background. */
}

#sidebar ul li a:hover, #sidebar ul li:hover {
	background-color: white;
}

#sidebar ul li {
	padding-left: 8%;
	width: 92%;
}
/*
#sidebar ul li a {
	display: block;
	padding-left: 8%;
	width: 92%;
}
*/
#sidebar img {
	text-align: center;
	/* margin: 1% 0 1% 5%; */
	border: 0;
}

@media print {

	#pagecontent {
		margin: 1% 1% 1% 1%;
		width: 100%;
	}

	a:link, a:visited {
		color: black;
		text-decoration: underline;
	}

	#sidebar {
		display: none;
	}
	
	#menubar {
		display: none;
	}
	
	#banner {
		display: none;
	}
}

