/* 
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, forms, etc.
*/

html, body { height: 100%; }  /* Use the whole page. */

/***** Positioning *****/

/* Banner placement - top of the page, all the way across. */
#banner {
	width: 100%;
	height: 100px;
	border: 1px solid black;
	background-image: url(../images/loki-banner.png);
	background-color: #f5f5f5;
	background-repeat: no-repeat;
}

/* Menubar - right underneath the banner, same width. */
#menubar {
	width: 100%;
	background: #c3c3c3;
	border: 1px solid black;}

/* Page content area - left side of page, with margins. */
#pagecontent {
	margin: 1% 1% 1% 1%;
	width: 63%;
	float: left;
}

/* Sidebar - Right side, with space between it and content area. */
#sidebar {
	border: 1px solid black;
	background: #c3c3c3;
	float: right;
	/*clear: right;*/
	padding: 1%;
	margin: 1%;
	width: 30%;}


/***** Menubar styles *****/

/* Headings in the menubar.  Normally, this is just the "site map" label 
   at the beginning. */
#menubar h1, #menubar h2 {
	font-size: 100%;
	display: inline;
}

#menubar ul {
	display: inline;
	padding-left: 2em;
}

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


/***** Sidebar styles *****/

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

#sidebar h3, 
#sidebar .panelheader {
	font-size: 100%;
	color: white;
	background: black;
	padding-left: 1em;
	margin-bottom: 0;
	border: thin solid black;
	border-bottom: 0;}

#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 {
	background: white;
	margin: 0;
	padding: 0;
	border: thin solid black;
	width: 100%;
}

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

#sidebar ul li {
	list-style-type: none;
	margin-left: 10%;} 

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

/*
#sidebar .imglist a:hover {
	background-color: #f4f4f4;
}
*/

#sidebar img {
	text-align: center;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	border: 0;
}


/***** Banner styles *****/

#banner h1,
#banner h2,
#banner h3 {
	vertical-align: middle;
	padding-left: 10%;
	margin-left: 133px;
	color: white;
}

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

/***** Link styles *****/

/* Base link style: blue text, no underline.
   Visited links: red text, no underline.
	Hovering on links: add underline. 
*/
a:link {
	color: blue;
	text-decoration: none;
}

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

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

/* In links in article and entry bodies, add a dotted underline with a 
   background image.  Let this be replaced with the underline on hover. */ 

.blogentrybody a:link,
.blogentrybody a:visited,
.articlebody a:link,
.articlebody a:visited {
	background-image: url(../images/underline.png);
	background-position: bottom left;
	background-repeat: repeat-x;
}

#pagecontent a:hover {
	background-image: none;
}


a.anchor:link {
	color: white;
}

a.anchor:hover {
	color: gray;
}



/* Basic form styles for sidebar and comment form. */
input[type='checkbox']:focus,
input[type='text']:focus,
input[type='radio']:focus,
textarea:focus {
	background-color: #ffffe1;
}

/***** Font styles *****/

/* Put quotes in italics, as IE does not support :before and :after. */
q { font-style: italic; }

/***** Print media styles *****/

@media print {

	/* Styles for the page content area. */

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

	a:link, a:visited {
		text-decoration: underline;
		background-image: none;
	}

	/* Don't show the banner, sidebar, menubar, or commit submit form
	   when printing the page. */
	#banner, 
	#menubar, 
	#sidebar, 
	#commentsubmit {
		display: none;
	}

}
