/*
Theme Name: Jonathan Edwards Center
Theme URI: http://jecteds.org/
Description: The default WordPress theme used by the Jonathan Edwards Center at Trinity Evangelical Divinity School.
Version: 1.0
Author: Rainsong Media
Author URI: http://rainsongmedia.com/
*/


/* Begin Typography & Colors */
head {display:block;height:5px;width:100%;background:transparent url('images/bg_top_fade.png') repeat-y center top;}

body {
	font: 10px/15px Georgia,Times,Times New Roman,serif normal normal normal;
	background: #E6E3DD url('images/bg.gif');
	color: /* #5d5c5a; */ #000;
	text-align: center;
	}

ul, ol, dl { position:relative; zoom: 1; }

hr { margin:10px; background:#D1CFCA; color:#D1CFCA; border:0 none; height:1px; }

a { color:#2f6991; }

strong { font-weight:bold; }
em     { font-style:italic; }

.page, .post {
	text-align: left;
	}

.page h3 { margin-top:10px; }

#header {
	display:block;
	}

#header h1 a {
	display:block;
	background: transparent url('images/logo.gif') no-repeat 50% 50%;
	height:93px;
	width:581px;
	margin:0 auto;
	}

#header h1 a {overflow:hidden;text-indent:-9999em;}
#header .description {display:none;}

#navigation { width:100%; height:62px; margin:0; padding:9px 0; background:url('images/bg_nav.gif') repeat-x center top; text-align:center; }

#navigation>ul { width:615px; height:62px; margin:0 auto; padding:0 60px; background:url('images/bg_nav_ul.gif') no-repeat center top; }

#navigation>ul li { display:inline; }

#navigation>ul>li>a { display:block; float:left; margin:0; padding:0; height:62px; background:url('images/bg_nav_ul_li-sprites.gif') no-repeat; overflow:hidden; text-indent:-9999em; }

#navigation ul li a#navhome { width:130px; background-position:0 0; }
#navigation ul li a#navblog { width:157px; background-position:-130px 0; }
#navigation ul li a#navresc { width:175px; background-position:-287px 0; }
#navigation ul li a#navabt  { width:153px; background-position:-463px 0; }

#navigation ul li a#navhome.uah { background-position:0 -61px; }
#navigation ul li a#navblog.uah { background-position:-130px -61px; }
#navigation ul li a#navresc.uah { background-position:-287px -61px; }
#navigation ul li a#navabt.uah  { background-position:-463px -61px; }

#utilities { height:0; padding-top:0; text-align:right; overflow:visible; }
#utilities ul    { text-align:right; top:7px; margin:0 2px; }
#utilities li    { display:inline; font-family:arial; font-size:11px; }
#utilities li+li:before { content:"|"; }
#utilities li a  { color:#000; text-decoration:underline; padding:0 8px; }

#content {
	font-size: 1.2em;
	padding-bottom:52px;
	}

.thread-alt {
	background-color: #D6D3CD;
}
.thread-even {
}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

h2, h3, h4 {
	font-weight: bold;
	margin:0 10px;
	}

h2 {
	font-size: 1.2em;
	}

h2.pagetitle { font-size:1.6em; line-height:30px; }
h2.archivetitle { font-size:1.6em; font-style:italic; font-weight:normal; margin:20px auto; }

.post h2, .page h2 { font-size:2em; line-height:25px; }

#subpagelist h3 { font-size:1.4em; line-height:20px; }

#sidebar h2 {
	font-size: 1.2em;
	font-weight:italic;
	line-height:1.2em;
	margin:22px 0 7px;
	border-bottom: 1px solid #d1cfca;
	color:#000;
	}

h3.byline {
	font-size: 1.05em;
	font-weight:normal;
	color: #79838a;
	margin:0 10px 15px;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #2e2e2c;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar { text-align:left; margin-right:0; }

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

#sidebar li {
font-size:12px;
line-height:20px;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */


/* [web]Seitler customizations: */
#custom-theme-development-by-travis-seitler { display:block; }

/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

.post {
	margin: 0;
	text-align: justify;
	}

.post img { border:1px solid #cfcec8; padding:3px; background:#fff; }
.attachment-single-post-thumbnail {display:block;float:right;margin-left:10px;padding:4px;}

p { margin:15px 10px; font-size:1.05em; }

.post + .post {
background: transparent url('images/bg_hr.gif') repeat-x center top;
margin-top: 29px;
padding-top: 29px;
	}

.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear:both;
	color:#2F6991;
	font-weight:bold;
	line-height:18px;
}

.postmetadata a {
	text-decoration:underline;
}

.clear {
	clear: both;
}

#footer { clear:both; margin:0 10px; padding:8px 0 0; text-align:left;
	  background: transparent url('images/bg_hr.gif') repeat-x center top; }
#footer p { margin:0; padding:0; font-size:1.2em; line-height:18px; color:#2F6991; }
#footer p a { text-decoration:underline; padding:0 3px 0 0; }
#footer p a+a { padding:0 3px; }
#footer p.copy { font-weight:bold; }


/* End Structure */



/* Begin Headers */
	h2 {	}
	h2.pagetitle {}
	#sidebar h2 {	}
	h3 {	}
	h3.comments {	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}
.post img.alignright { margin: 0 -10px 2px 7px; }

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
.post img.alignleft { margin: 0 7px 2px -10px; }

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists */

.post ul li,.post ol { margin:0 60px 0 0;padding:0 0 0 60px; }
.post ol { list-style-type:decimal; }
.post ul li {
	background:transparent url('images/bg_post_ul.gif') no-repeat 0px 3px; }
.post ul li,
.post ol li { margin-bottom:5px; text-align:left; }

/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 19px 0;
	text-align: center;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 0;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar { padding-bottom:52px; }

#sidebar a { color:#000; text-decoration:underline; }

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 60px 15px 0;
	padding-left: 60px;
	background:transparent url('images/bg_post_quote.gif') no-repeat top left;
	color:#2f5b79;
	font-style:italic;
	}

blockquote cite {
	margin: 1em 0;
	display: block;
	}

blockquote p {
	margin: 1em 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin: 15px 0 52px;
	background: transparent url('images/bg_hr.gif') repeat-x center top;
	padding-top:12px; }

.nav_older, .nav_newer, .nav_older a, .nav_newer a {
 background:transparent url('images/bg_nav_older_newer.gif') no-repeat 0 0;
 display:block;
 height:30px;
 color:#73726F;
 line-height:28px;
 text-decoration:underline;
 }

.nav_newer { background-position:100% 0; width:200px; float:right; text-align:right; }
.nav_newer a { background-position:100% -30px; width:180px; text-align:right; padding-right:20px; }
.nav_older { background-position:0% -60px; width:200px; float:left; text-align:left; }
.nav_older a { background-position:0% -90px; width:180px; text-align:left; padding-left:20px; }

.comments-area {text-align:left;}

/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

#navigation ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

#navigation ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}



.container_12 { padding-top:30px; }

.home .container_12 { background:transparent url('images/welcome.gif') no-repeat 50% 8px;
		padding-top:198px;
		 }

.frontbox { background:#00375e; margin:0 0 20px; padding:10px;
		-moz-border-radius:4px; -webkit-border-radius: 4px; }

.frontbox ul { background:#004a7d; margin:0; padding:7px 8px 8px; border:1px solid #0d5181; border-top-color: #266591; }

.frontbox li { border-bottom:1px solid #0d5384; color:#fff; text-align:left; margin:0; padding:0 1px 9px;
		line-height:18px; font-style:italic; }
.frontbox li+li, .frontbox ul>a { border-top:1px solid #004270; padding-top:9px; }
.frontbox .vsthumb,
.frontbox .placeholder { display:block; float:left; border:1px solid #003b64; margin:0 8px 0 1px; background:#45464a; width:30px; height:30px; font-size:0.1em; color:#45464a; }
.frontbox h3   { display:inline; color:#fff; margin:0; padding:0; font-size:14px; font-style:normal; }
.frontbox#meet-the-staff h3   { display:block; }
.frontbox p { margin:0 0 0 41px; padding:0; }
.frontbox#about p,
.frontbox#media p {font-style:normal; margin:0; display:inline;}
.frontbox#media a { display:inline; color:#fff!important; text-decoration:underline; }
.frontbox#media a#more { display:block; color:#fff!important; text-decoration:underline; }
.frontbox#light-and-heat p {font-style:normal; margin:0; display:inline;}
.frontbox#meet-the-staff p {margin:0 0 0 40px;}
.frontbox a { display:block; color:#fff!important; text-decoration:none; }
.frontbox ul>a { padding:12px 0 7px; text-align:left; text-decoration:underline; }
.frontbox h3 a { display:inline; }

.frontbox h2 { background:transparent; color:#fff; font-size:1.4em!important; font-style:italic; font-weight:normal; top:10px; margin:0; padding:10px 0 0 10px; height:23px; line-height:30px; overflow:hidden; text-indent:-9999em; border:0 none; }

#upcoming-events h2 { background:transparent url('images/h_upcoming_events.gif') no-repeat 0% 50%; }
#media h2 { background:transparent url('images/h_media.gif') no-repeat 0% 50%; }
#meet-the-staff h2  { background:transparent url('images/h_meet_the_staff.gif') no-repeat 0% 50%; }
#about h2           { background:transparent url('images/h_about.gif') no-repeat 0% 50%; }
#light-and-heat h2  { background:transparent url('images/h_light-and-heat.gif') no-repeat 0% 50%; }

#sidebar .excerpt     { margin:0 10px; padding:0; border-bottom:1px solid #c5c2bd; }
#sidebar .excerpt+.excerpt    { padding-top:18px; border-top:1px solid #f5f4f2; }
#sidebar .excerpt h2  { padding:0; margin:0; font-size:14px; width:inherit; border:0; }
#sidebar .excerpt h3.byline      { margin:0; font-size:13px; color:#6f8ea3; }
#sidebar .excerpt p   { margin:0 0 10px; padding:0; font-size:12px; }
#sidebar .excerpt p+p { margin:15px 0 10px; padding:0; font-size:12px; }
#sidebar .excerpt a   { text-decoration:none; }
#sidebar .excerpt a.read_more   { display:block; height:10px; margin:0 0 20px; padding:0;
 background:transparent url('images/excerpt_read_more.gif') no-repeat 0 0;
 overflow:hidden; text-indent:-9999em; }

.titlecard { background:#00375e;border-bottom:1px solid #fff;height:43px;margin-bottom:10px;
	-moz-border-radius:4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; }

.titlecard h1 {color:#fff;font-style:italic;font-weight:normal;padding-left:10px;font-size:16px;line-height:52px;}

.titlecard h1.fromblog {background:url('images/h_from_the_blog.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}

.titlecard h1#title-29 {background:url('images/h_resources.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-305 {background:url('images/h_light-and-heat.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1.events {background:url('images/h_events.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-219 {background:url('images/h_media.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-52 {background:url('images/h_lectures.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}

.titlecard h1#title-2 {background:url('images/h_about.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-57 {background:url('images/h_directors_welcome.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-61 {background:url('images/h_board_fellows.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-63 {background:url('images/h_history.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1.staff {background:url('images/h_staff.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-228 {background:url('images/h_directions.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}

.titlecard h1#title-142 {background:url('images/h_contact.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-149 {background:url('images/h_donate.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}
.titlecard h1#title-151 {background:url('images/h_get_involved.gif') no-repeat left 19px;height:43px;overflow:hidden;text-indent:-9999em;}

.event h3 { font-size:1.2em; line-height:20px; text-align:left; margin-top:0; padding-top:0; }
.event h4 { color:#79838A; font-weight:normal; }
.event.post + .event.post {
margin-top:19px;
padding-top:19px;
}


#sidebar .subscribe { background-color:#004a7d; padding:10px; border-bottom:1px solid #cfcdc7;
-moz-border-radius:4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; }

#sidebar li.subscribe h2 { background:#00375e url('images/h_blog_subscribe.gif') no-repeat 0% 50%; color:#fff; font-size:1.4em!important; font-style:italic; font-weight:normal; top:10px; margin:0; padding:10px 0 0 10px; height:23px; line-height:30px; overflow:hidden; text-indent:-9999em; border:0 none; }

#sidebar li.subscribe a { background:#004a7d;color:#fff; border: 1px solid #0d5384; display:block; text-decoration:none;
			  font-size:1.2em; font-weight:bold; padding-left:35px; height:30px; line-height:30px; margin:0; }
#sidebar li.subscribe a.sub_rss    {background:transparent url('images/blog_subscribe_rss.png') no-repeat 10px 9px;border-top-color:#266591;border-bottom-color:#074f80;}
#sidebar li.subscribe a.sub_email  {background:transparent url('images/blog_subscribe_email.png') no-repeat 10px 12px;height:38px;line-height:36px;border-top-color:#004270;}

#searchform #s { background:url('images/bg_sidebar_search.gif') no-repeat left top; width:219px!important; height:21px!important; padding:5px 13px!important; margin:0 9px 0 0!important; border:0 none!important; font-size:1.2em!important; font:12px/16px Georgia,serif!important; font-style:italic!important; letter-spacing:0.04em; display:block; float:left; }

#searchsubmit { background:url('images/sidebar_search_go.gif') no-repeat left top; width:46px; height:31px; border:0 none; }

a[rel=tag] {font-weight:normal;}

#blogbits>a { display:block; margin:0 10px; padding:6px 1px 0; border-top:1px solid #F5F4F2; font-size:12px; color:#747370; }

ul.newsletter { background:#96692c url('images/bg_signup_grad.gif') repeat-x 0 30px; padding:10px; margin-top:20px;
	-moz-border-radius:4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; }

#sidebar ul.newsletter h2 {
background:url("images/h-signup-news.png") no-repeat scroll 0 0 transparent;
height:35px;
margin:0;
overflow:hidden;
padding:0;
text-indent:-9999em;
border:0;
}

ul.newsletter #newsletter {
background:url("images/bg_signup_add.gif") no-repeat scroll left top transparent;
border:0 none !important;
font:italic 12px/16px Georgia,serif !important;
height:21px !important;
letter-spacing:0.04em;
margin:0 9px 0 0 !important;
padding:5px 13px !important;
width:168px !important;
display:block; float:left; }

ul.newsletter form { padding:20px 0 10px; }

#newslettersubmit {
background:url("images/bg_signup_but.gif") no-repeat 50% 50% transparent;
border:0 none !important;
height:31px !important;
width:77px !important;
margin:0 !important;
padding:0 !important;
}

ul.newsletter.lite {
background:transparent none;
padding:0;
margin-top:37px;
}

#sidebar ul.newsletter.lite h2 { background:url("images/h_signup_news_lite.png") no-repeat scroll 0 6px transparent; border-bottom:1px solid #cfcdc7; height:34px; }
ul.newsletter.lite #newsletter { background:url("images/bg_signup_add_lite.gif") no-repeat 0 0 transparent; width:188px!important; }
ul.newsletter.lite #newslettersubmit { background:url("images/bg_signup_but_lite.gif") no-repeat 50% 50% transparent; color:transparent; }
ul.newsletter.lite p { margin:7px 1px 9px; padding:0; font-size:12px; line-height:16px; }
ul.newsletter.lite form { padding:0; }

/* Donate Style 2 */
.donatetitle { 
    background:#96692c url('images/bg_signup_grad.gif') repeat-x 0 30px; 
    border-bottom:1px solid #fff;
    height:43px;
    margin-bottom:10px;
    -moz-border-radius:4px 4px 4px 4px; 
    -webkit-border-top-left-radius: 4px; 
    -webkit-border-top-right-radius: 4px; 
    -webkit-border-bottom-left-radius: 4px; 
    -webkit-border-bottom-right-radius: 4px; 
}

.donatetitle h1 {
    color:#fff;font-style:italic;
    font-weight:normal;
    padding-left:10px;
    font-size:16px;
    line-height:52px;
}

.donatetitle h1.donatetext {
    background:url('images/h-donate.png') no-repeat 9px 9px;
    height:43px;
    overflow:hidden;
    text-indent:-9999em;
}



form .form-input       { color:#aaa!important; }
form .form-input:focus { color:#000!important; }

.contact-form       { margin:0 10px; text-align:left; }
.contact-form span  { display:block; padding-top:5px; }
.contact-form span span { display:inline; padding-top:0; }
.contact-form label { display:block; float:left; clear:left; width:12em; line-height:1.5em; padding-right:5px; text-align:right; }
.contact-form .sbut { margin-left:13em; }

/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */

#navigation ul {margin-left:auto; margin-right:auto;}
#navigation ul li {
	border: 0;
	display: block;
	float: left;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
}

#navigation ul li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal; /* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

#navigation ul li li {
	float: none; /* items of the nested menus are kept on separate lines */
	background: url('images/nav_rollover_top.gif') repeat-x 50% 0%;
	height:30px;
	display:block;
	text-indent:0;
}

#navigation ul li li a {
font-family:Times New Roman,Times,sans-serif; font-size:1.3em; color:#fff; font-weight:bold;
 height:30px; line-height:36px; text-shadow:0px -1px 0px #69491f;
}

#navigation ul li li+li {
	background: url('images/nav_rollover_middle.gif') repeat-x 50% 0%;
}

#navigation ul ul {
	visibility: hidden;	/* initially hide all submenus. */
	z-index: 10;
	border:0;
	height:auto;
}

#navigation ul li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 52px;	/* 1st level go below their parent item */
}
#navigation ul li:hover>ul#child_resources { left:21px; }
#navigation ul li:hover>ul#child_about     { left:24px; }

#navigation ul li li:hover>ul {	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
#navigation ul:after, #navigation ul ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
#navigation ul, #navigation ul ul {	/* IE7 float clear: */
	min-height: 30px;
}
/* -- float.clear.END --  */

/* -- sticky.submenu --
	it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the "#navigation ul UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */

#navigation ul ul {
	background:#96692c url('images/nav_rollover_bottom.gif') repeat-x 50% 100%;
	padding: 0 0 8px;
	margin: 0;
	width:130px;
	/*background: #f00;*/	/* uncomment this if you want to see the "safe" area.
				   you can also use to adjust the safe area to your requirement */
}
#navigation ul ul ul {
	padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */
