/* --------------------------------------------------------------------------------------------------------
								Community Bible Church, Pierre SD

web:			http://www.cbcpierre.org/
stylesheet:		sidenav.css -- imported into global.css
date:			December 1, 2008
author:			Ron Duvall

-----------------------------------------------------------------------------------------------------------*/

#sidenav {
	width: 174px;
	float: left;
	margin-top: 35px;
	margin-left: 15px;
	background-image: url(../layoutimages/cbcsidenavfooter.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 130px;
	margin-bottom: 25px;
}

.sidenavheader {
	background-image: url(../layoutimages/cbcsidenavheader.gif);
	background-repeat: no-repeat;
	background-position: center top;
	color: #FFFFFF;
	text-align: center;
	line-height: 1.5em;
	background-color: #330000;
}

.sidenavtext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	padding-left: 6px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #A7A37E;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #330000;
	border-left-color: #330000;
}

/* Use of this class id also serves as a "parent" for styling link "a" tag (descendant selector) that does not affect all other "a" tags on the page */
.sidenavlinks {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	list-style-type: none;
}

.sidenavlinks a:link {
	color: #000000;
}

.sidenavlinks a:visited {
	color: #999999;
}

/* The -2 margin-top is to compensate for adding a 1 px border to the top and bottom of each link.  If the margin is not reduced the same amount the links shift downward as you hover over a link.  Adding a -1 px to top and bottom resulted in bottom border not appearing in IE 6.0 so the fix was to subtract the total 1px + 1px = 2px from the top margin */
.sidenavlinks a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	background-color: #A7A37E;
}

#wrapper #subwrapper #sidenav .sidenavlinks a {
	display: block;
 	padding-left: 6px;
	line-height: 1.6em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #A7A37E;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #330000;
	border-left-color: #330000;	
}

.sidenavtopic {
	background-color: #808000;
	color: #FFFFFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #A7A37E;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #330000;
	border-left-color: #330000;
	line-height: 1.4em;
	text-align: left;
	font-size: 0.9em;
	font-weight: bold;
	padding-left: 3px;
}
