/*CSS stylesheet for Northminster Presbyterian Church website */

html { 	margin: 0;
	padding: 0;
	color: #0000ff;
	background: #B5D2AB url(images/chrome/perifab.jpg) ; }

body {	color: #004;
	width: 794px;
	margin: auto;
	padding: 0em;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 82%;
	line-height: 1.3;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
}

div#wrapper { 	width: 794px;
	margin: auto;
	color: #004;
	background: transparent; }

div#liner { 	width: 790px;
	margin: 0 10px 0 0;
	color: #004;
	background: #404DA3 url(images/chrome/shade.png) top right repeat-y;
	float:left; }

div#header { 	position: relative;
	top: 0; 
	left: 0; 
	margin: 0;
	background: transparent;
	color: #fff;
	padding: 0; }


div#menubar {
	width: 100%;
	position: relative;
	z-index: 6000;
}

div#upcoming
{
	position: relative;
	display: block;
	top: -12px;
	right: -12px;
	width: 30%;
	color: #400;
	background-color: #CC6;
	border-left: 3px solid #DD7;
	border-bottom: 3px solid #DD7;
	float: right;
	/*
border-left: 2px dotted #FFF;
	border-bottom: 2px dotted #FFF;
*/
	padding: 0px;
	font: normal 96%/1.5 "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

div #upcoming h4
{
	text-align: center;
	color: #303;
	font-weight: bolder;
	border-bottom: 1px solid #303;
}

span.when
{
	font-size: inherit;
	line-height: inherit;
	font-style: oblique;
	font-weight: bold;
	color: #303;/*border-top: 1px dotted #300;*/
}

#nav, #nav ul { /* all lists */
	list-style: none;
	font-weight: bold;
	padding: 0;
	border: none;
	margin: 0;
}

#nav ul, #nav li {
   margin:0;
   padding:0;
   list-style-position: outside;
   }
   
#nav {
	height: 1em;
}

#nav li a {
	display: block;
	color: #FFC;
	text-decoration: none;
	padding: 0.5em 1.5em 0.25em 1.5em;
	line-height: 1.3em;
	margin:0;
}

#nav li { /* all list items */
	float: left;
	position: relative; /* positioning context for the following rule */
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: #717F63;
	left: -999em; /* using left instead of display to hide menus because display:none isn't read by screen readers */
}

#nav li ul li a {
	width: 10em; /* we want a specific width for the submenu links */
}

#nav li ul li {		
border-bottom: 1px dotted #849569;
   float:none; }

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 9em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover,
#nav li.sfhover {
	background: #6D3C7A;
}

#nav li:hover ul,
#nav li li:hover ul,
#nav li.sfhover ul,
#nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

div#content
{
	position: relative;
	min-height: 650px;
	margin: 15px 10px 0 0;
	background: #FFF url(images/chrome/bg.gif);
	color: #004;
	padding: 12px;
}

img     { 	position: relative; } /*without this, IE might not see some left- or right-floated images*/

p  { 	/*font: normal 90%/1.1 "Trebuchet MS", arial, verdana, helvetica, sans-serif;*/
	color : #4b4a47;
	background : transparent;
	text-decoration : none;
	padding: 0 24px; }


h1, h2, h3, h4 { font-family: georgia, "times new roman", serif; color: #8d6e20; font-weight: normal; }
h1 { text-transform: uppercase; font-size: 22px; letter-spacing: 1px; padding: 5px 0px; margin: 0px 12px 6px 12px; text-align: center; font-weight: normal; }
h2 { text-transform: uppercase; font-size: 20px; letter-spacing: 1px; padding: 5px 0px; margin: 0px 12px 6px 12px; border-bottom: dotted 2px #8B702D; font-weight: normal; }
h3 { font-size: 20px; letter-spacing: -0.5px; word-spacing: 1px; padding: 5px 0px 0px 0px; margin: 0px 12px; font-weight: normal;  }
h4 { font-size: 16px; letter-spacing: -0.5px; padding: 5px 0px 0px 0px; margin: 0px 12px; font-weight: normal;  }

a  { 	color: #403DE3;
	background: transparent;
	text-decoration : none; }

a:visited  { 	color: #403DE3;
	background: transparent;
	text-decoration : none; }

a:active, a:hover  { 	color: #39C;
	background: transparent;
	text-decoration : underline; }

ul {	list-style-type: square;}

li  { 	display: list-item;
	list-style-position: inside;
	font-family : arial, verdana, helvetica, sans-serif;
	font-size: 100%;
	font-weight : normal;
	font-style : normal;
	color : #336;
	background : transparent;
	text-decoration : none;
	padding: .5em 2em 0em 1em; }

.left { 	display: block;
	float: left;
	margin-right: 0.5em;
	margin-bottom: 0.5em; }
.right { 	float: right;
	margin-bottom: 0.5em;
	margin-left: 0.5em; }

.center	{ 	display: block;
	text-align: center;
	float: none;
	margin-right: auto;
	margin-left: auto; }
	
p.copy { 	font: normal 90%/200% verdana, arial, helvetica, sans-serif;
	color: #006;
	background: transparent;
	text-decoration : none;
	margin: 0; }

table
{
	display: inline-table;
	background: #ECECEC;
	position: relative;
	border: none;
	/*margin: 6px 24px;*/
	margin-right: auto;
	margin-left: auto;
}

div.center table 
{
margin: 0 auto; 
text-align: left;
}

td	{ 	font: normal 100%/1.3 arial, verdana, helvetica, sans-serif;
	letter-spacing: normal;
	border: none;	
	}

div#updated	{ 	width: 780px;
	color: #369;
	font: oblique 84%/1.5 verdana, arial, helvetica, sans-serif;
	text-align: left;
	margin: 0;
	padding: 0;
	background-color: #9AB5D0;
	background-image: url(images/chrome/npcbanner.jpg);
	background-repeat: no-repeat; }

div#updated a	{ 	color: #6768A1;
	text-align: right; }

div#updated a:hover {color: #9AB5D0;
	text-decoration: none; }

/* That's all she wrote! */
