/*
=A Repertorium of Middle English Prose Sermons
=Main Style Sheet
*/

* {
	margin : 0;
	padding : 0;
}

html, body {
	background : #DAD9BA;
	color : #666666;
}

body {
	font : small/1.5em Verdana, sans-serif;
	text-align : center;
}

a {
	padding-bottom : 2px;
	outline : none;
	background : #FFFFFF;
  	color : #666633;
  	text-decoration : none;
  	border-bottom : 1px dotted #666666;
}

a.selected {
	background : #FFFFFF;
  	color : #000000;
  	font-weight : bold;
  	border-bottom : 1px dotted #000000;
}

#container {
	margin : 0 auto;
	width : 800px;
	text-align : left;
	font-size : 95%;
}

#top {
	height : 40px;
	background : #DAD9BA url(../../images/top-bg.jpg) no-repeat;
	color : #666666;
}

#wrapper {
	padding : 0 40px;
	background : #DAD9BA url(../../images/wrapper-bg.jpg) repeat-y;
	color : #666666;
}

#bottom {
	height : 40px;
	background : #DAD9BA url(../../images/bottom-bg.jpg) no-repeat;
	color : #666666;
}

#logo {
	margin-bottom : 20px;
	height : 70px;
	background : url(../../images/middle_english_sermons.gif) no-repeat;
}

#banner {
	height : 140px;
	background : url(../../images/banner.jpg) no-repeat;
}

#topnav {
	margin : 0;
	padding : 0;
	width : 100%;
  	float : left;
  	list-style: none;
    	border-bottom : 1px dotted #9C9C63;
}

#topnav li {
    	display : inline;
}

#topnav a {
  	float : left;
  	width : auto;
  	display : block;
  	padding : 4px 8px 4px 0;
  	border : none;
}

#sample-sermon-botnav {
	margin-bottom : 20px;
	text-align : center;
}

#title {
	clear : both;
	height : 1%;
	margin-bottom : 20px;
	padding : 20px 0;
    border-bottom : 1px dotted #9C9C63;
}

#title h1 {
	background : #FFFFFF;
	color : #000000;
	font-size : 190%;
	font-weight : normal;	
}

#content {
	float : left;
	width : 500px;
	display : inline;
}

#sidebar {
	float : right;
	width : 200px;
	display : inline;
}

#footer {
	clear : both;
	height : 1%;
	padding : 6px 0;
}

/*
=Content
*/

h2, ol, ul, p, hr {
	margin-bottom : 20px;
}

h2, h3 {
	background : #FFFFFF;
	color : #000000;
}

h2 {
	font-weight : normal;
	font-size : 150%;
}

h3 {
	font-size : 100%;
}

#content ol {
	padding-left : 30px;
	text-align : justify;
}

ul.links {
	list-style : none;
}

#content p {
	text-align : justify;
}

/*
=Misc
*/

.centered {
	text-align : center;
}

.indented {
	text-indent : 20px;
}

.hide {
	position : absolute;
	left : -9999px;
}

/*
=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(../../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../../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; }
