/* 
	copyright 2005 CCWF.org, all rights reserved
*/

body {
	padding: 0;
	background-color: #F2F2FA;
	background-image: url('images/bg1.gif');
	background-repeat: repeat-y;
	background-position: center;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
}

a {color: #8888B4;}
a:visited {color: #8888B4;}
a:hover {color: black;}

h1 {
	font-size: 18px;/*maybe should be 1.4em*/
	font-weight: bold;
	margin: 0px;
	margin-bottom: 2px;
}
h2 {
	font-size: 14px;
	font-weight: bold;
	margin: 0px;
}
h3 {
	font-size: 14px;/*maybe should be 1em*/
	font-weight: normal;
	font-style: italic;
	margin: 0px;
	margin-bottom: 4px;
}
/*h4 {
	font-size: 15px;
	font-weight: normal;
	margin: 0px;
	margin-bottom: 20px;
}*/

#container {
	width: 840px;
	text-align: left;
	margin: 0 auto;
}

dl {
	margin-top: 1em;
	margin-left: 40px;
}
dt {font-weight: bold;}

.purplebg {
	color: #ffffff;
	background-color: #8888b4;
	text-align: center;
	font-variant: small-caps;
	padding: 0 10px;
}
.redbg {
	color: #ffffff;
	background-color: #a70d12;
	text-align: center;
	font-variant: small-caps;
}
.red {color:#990000;}
.bluetxt {color: #8888b4;}
#hotlink {color: #990000;}

#donate {
	position: relative;
	overflow: visible;
	text-align: center;
	margin-top: 16px !important;
	margin-top: -8px;
	margin-bottom: 16px !important;
	margin-bottom: -12px;
}

/*.ad {
	margin-right: 20px;
	background-color: #F2F2FA;
	padding: 15px;
	font-size: 95%;
}

.ad a:link, .ad a:visited, .ad a:active, .ad a:hover {
	color: #000000;
}*/

.clear {clear: both;}


#head {
	text-align: left;
	margin: 0 12px 0 27px;
	line-height: 16px;
}

#left_c {
	position: relative;
	float: left;
	overflow:  visible;
	width: 220px;
	padding: 0 10px;
}

#mid_c {
	position: relative;
	float: left;
	overflow: visible;
	width: 399px;
	margin: 0 auto;
	padding: 0 10px;
}

#right_c {
	position: relative;
	float: right;
	overflow: visible;
	width: 160px;
	padding: 0 10px;
}

#lone_c {
	width: 90%;
	margin: 0 30px;
	padding-top: 12px;
}

div#lone_c p {
	margin-top: 3px;
	line-height: 17px;
}
div#lone_c .imgleft {float: left; border: 0; margin-right: 20px; margin-bottom: 6px;}
div#lone_c .imgright {float: right; border: 0; margin-left: 20px; margin-bottom: 6px;}
div#lone_c .datatable {
	vertical-align: top;
	margin-right: 5px;
	padding: 0;
	border: 1px solid #338ba6;
	border-collapse: collapse;
}
div#lone_c .datatable tr {
	vertical-align: top;
}
div#lone_c .datatable td, div#lone_c .datatable th {
	border: 1px solid #73c0d4;
	padding: 4px;
}
div#lone_c .datatable caption {
	font-weight: bold;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 8px;
}

/***********************************************************
************************************************************

					SPRY MENU BAR
					
	The code is adapted from Adobe CS5 Dreamweaver.

************************************************************
***********************************************************/

/*******************************************************************************

 LAYOUT INFORMATION: describes box model, positioning, z-order

 *******************************************************************************/


/* This div encapsulates the entire menu bar to give it a top and bottom margin. Just giving the menu bar itself a margin didn't seem to work. */
div.MenuBarContainer {
	margin: 20px 0 55px 0;
}
/* The outermost list of the Menu Bar, a box with no margin or padding */
ul.MenuBarHorizontal
{
	margin: 0;
	padding: 0;
	list-style-type: none;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
	z-index: 1000;
}
/* Menu item containers, position children relative to this container */
ul.MenuBar li
{
	list-style-type: none;
	text-align: left;
	float: left;
}
ul.MenuBar a
{
	padding: 10px 20px;
}
/* The left-most link gets increased left-padding to center the navbar on the page and so that whole area is painted the background color of the link */
ul.MenuBar a#navbar_left_end
{
	padding-left: 67px;
}
/* The right-most link gets increased right-padding to so that the area from the link to the edge of the page is painted the background color of the link */
ul.MenuBar a#navbar_right_end
{
	padding-right: 67px;
}
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBar ul
{
	margin: 10px 0 0 12px;  /* increasing top and left margins has the effect of translating the submenu down and to the right */
	padding: 0 0 2px 0;
	list-style-type: none;  /* otherwise, bullet points would appear in front of every <li> */
	z-index: 1020;
	width: auto;  /* width conforms to the widest <li> in the submenu */
	position: absolute;
	left: -1000em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBar ul.MenuBarSubmenuVisible
{
	left: auto;
}
/* Menu item containers */
ul.MenuBar ul li
{
	/*float: none;*/
	line-height: 15px;		/* this is the height of a submenu's link */
}
ul.MenuBar ul a {		/* Paddings of submenu links determine what area is painted by the links' bg color. Padding-right varies depending on the length of the link's text: the goal is to align the right ends of the links to make a rectangle-shaped submenu */
	padding: 1px 4px 2px 4px;
}
ul.MenuBar ul a.speaker1 {
	padding-right: 11px;
}
ul.MenuBar ul a.speaker2 {
	/*padding-right: 12px;*/
	padding-right: 14px;
}
ul.MenuBar ul a.speaker3 {
	padding-right: 4px;
}
ul.MenuBar ul a.speaker4 {
	padding-right: 14px;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
/*ul.MenuBar ul ul
{
	position: absolute;
	margin: -5% 0 0 95%;
}*/
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBar ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
	left: auto;
	top: 0;
}

/* TEST */

div#NavBar {
	margin: 10px 0;
	padding: 8px 0;
	text-align: center;
}
div#NavBar a {
	padding: 0 15px;
}
div#NavBar #SubMenu1 {
	/*margin: 10px 0 0 12px;*/  /* increasing top and left margins has the effect of translating the submenu down and to the right */
	padding: 0;
	/*z-index: 1020;*/
	width: auto;  /* width conforms to the widest <a> in the submenu */
	position: absolute;
	left: -1000em;
}


/* END TEST */


/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/* TEST */

div#NavBar {
	background-color: #8888B4;
}
div#NavBar a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	text-shadow: #212134 0px 1px 2px;
}
div#NavBar a:hover, div#NavBar a:focus {
	color: #DFDFF7;
}


/* END TEST */


div.MenuBarContainer {}
ul.MenuBar li {}
ul.MenuBar ul
{
	background-color: #8888B4;  /* This background color is necessary for a Safari browser peculiarity, because it displays submenus with 2 pixels of extra top-padding, leaving a gap if the submenu is colorless*/
}
/* Main links are white and non-underlined, and have a text shadow */
ul.MenuBar a
{
	color: #FFFFFF;
	background-color: #8888B4;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	text-shadow: #212134 0px 1px 2px;
}
/* Sub links are smaller and have no text shadow */
ul.MenuBar ul a
{
	font-size: 11px;
	text-shadow: none;
}
/* Links that have mouse over or focus have light lavender text */
ul.MenuBar a:hover, ul.MenuBar a:focus
{
	color: #DFDFF7;
}
/* Sub links that have mouse over or focus stay white and have darker background */
ul.MenuBar ul a:hover, ul.MenuBar ul a:focus
{
	color: white;
	background-color: #7474A0;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
/*ul.MenuBar a.MenuBarItemHover, ul.MenuBar a.MenuBarItemSubmenuHover, ul.MenuBar a.MenuBarSubmenuVisible
{
	background-color: #33C;
	color: #FFF;
}*/

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBar a.MenuBarItemSubmenu
{
	background-image: url(SpryAssets/SpryMenuBarDown.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBar ul a.MenuBarItemSubmenu
{
	background-image: url(SpryAssets/SpryMenuBarRight.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBar a.MenuBarItemSubmenuHover
{
	background-image: url(SpryAssets/SpryMenuBarDownHover.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBar ul a.MenuBarItemSubmenuHover
{
	background-image: url(SpryAssets/SpryMenuBarRightHover.gif);
	background-repeat: no-repeat;
	background-position: 95% 50%;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBar iframe
{
	position: absolute;
	z-index: 1010;
	filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
	ul.MenuBar li.MenuBarItemIE
	{
		display: inline;
		f\loat: left;
		background: #FFF;
	}
}

