/******************************************************************************
 * Rivers of Recovery main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *	Corp Blue: 				#173789
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clear, .container { height: 1%; }
.clear, .container { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
}

body
{
	font-family: verdana, sans-serif;
	line-height: 1.5;
	/* Unitless for proper inheritance */
	background-color: #557037;
	background-image: url(bodytile.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	color: black;
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
body   { font-size: 14px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: georgia, serif;
	font-weight: bold;
	clear: both; 
	line-height: 1.1;
	color: #173789;
 }

h1 { font-size: 2em; margin-bottom: 1em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
p.small, .small { font-size: .8em; }
p.large { font-size: 1.2em; }
p.center { text-align: center; }
a, a:link, a:visited
{
	text-decoration: underline;
	color: black;
}
a:hover
{
	text-decoration: underline;
	color: #9d7635;
}

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 950px;
	margin: 4px auto 0;
}

#top
{
	position: absolute;
	top: -900em;
	left: -900em;
	width: 1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 170px;
	position: relative;
	background-image: url(branding1.png);
	background-repeat: no-repeat;
	background-position: left top;
	z-index: 10000;
}

#branding h5
{
	position: absolute;
	width: 100%;
	height: 170px;
	top: 0;
	left: 0;
}


#branding h5 a
{
	width: 274px;
	height: 150px;
	display: block;
	position: absolute;
	bottom: 0;
	left: 32px;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
}





/* _navigation
------------------------------------------------------------------------------*/
#nav
{
	width: 606px;
	height: 42px;
	position: absolute;
	right: 18px;
	bottom: 0;
	background-image: url(navigation.gif);
	background-repeat: no-repeat;
	background-position: left top;
	z-index: 10000;
}

#nav li
{
	float: left;
	display: inline;
	background-image: url(navigation.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px; 
	height: 42px;
	z-index: 10000;
}

#nav li a
{
	display: block;
	height:42px;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
}

li#home 
{
	left: 0px;
	background-position: 0px 0px;
	width: 79px;
}

li#who 
{
	left: 79px;
	background-position: -79px 0px;
	width: 115px;
}

li#what 
{
	left: 194px;
	background-position: -194px 0px;
	width: 115px;
}

li#involved 
{
	left: 309px;
	background-position: -309px 0px;
	width: 125px;
}

li#news 
{
	left: 434px;
	background-position: -434px 0px;
	width: 65px;
}

li#contact 
{
	left: 499px;
	background-position: -499px 0px;
	width: 107px;
}

/* _past photo gallery
------------------------------------------------------------------------------*/
.photos{
	list-style:none;
	list-style-type:none !important;
	margin-top:40px;
}

.photos li{
	float:left;
	width:100px;
}


/* Over States */
li#home:hover, li#home.hover { background-position: 0px -42px; }
li#who:hover, li#who.hover { background-position: -79px -42px; }
li#what:hover, li#what.hover { background-position: -194px -42px; }
li#involved:hover, li#involved.hover { background-position: -309px -42px; }
li#news:hover, li#news.hover { background-position: -434px -42px; }
li#contact:hover, li#contact.hover { background-position: -499px -42px; }

/* Pressed States */
li#home:active { background-position: 0px -84px; }
li#who:active { background-position: -79px -84px; }
li#what:active { background-position: -194px -84px; }
li#involved:active { background-position: -309px -84px; }
li#news:active { background-position: -434px -84px; }
li#contact:active { background-position: -499px -84px; }

/* You-are-here States */

/* You-are-here States */
#home_page li#home { background-position: 0px -126px; }

#who_page li#who,
#board_of_directors_page li#who,
#medical_advisors_page li#who,
#advisory_board_page li#who,
#partners_page li#who,
#history_page li#who,
#financials_page li#who
{ background-position: -79px -126px; }

#what_page li#what,
#program_desc_page li#what,
#medical_study_page li#what,
#governance_page li#what,
#core_values_page li#what,
#testimonials_page li#what,
#photo_gallery_page li#what
{ background-position: -194px -126px; }

#involved_page li#involved, 
#volunteer_page li#involved,
#donate_page li#involved,
#sponsorship_page li#involved,
#donorrights_page li#involved
{ background-position: -309px -126px; }

#news_page li#news { background-position: -434px -126px; }
#contact_page li#contact { background-position: -499px -126px; }


#nav li ul
{
	position: absolute;
	/* set width to suit layout */
	width: 15em;
	left: -999em;
	/* If transparent backgrounds, set these ...
	background-image: url(10x10transp90.png); 
	background-color: transparent;
	*/
	/* ... or set a solid background color */
	background-color: #173789;
	z-index: 10001;
	background-image: url(ultile.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#nav li li
{
	float: none;
	display: block;
	background-image: none;
	margin: 0;
	height: 42px;
	z-index: 10001;
	border-bottom: 1px solid #4256ad;
}

#nav li li a
{
	position: static;
	text-indent: 0;
	font-size: .79em;
	overflow: inherit;
	color: white;
	padding-right: 1em;
	padding-left: 19px;
	text-decoration: none;
	line-height: 42px;
	background-image: url(whitecheckmark.gif);
	background-repeat: no-repeat;
	background-position: -99em center;
}
#nav li li a:hover
{
	/* set this colors to suit */
	background-color: #4256ad; 
	color: white;
}


#nav li:hover ul, #nav li.hover ul 
{ left: auto; }

/* You-Are-Here rules */
#who_page #who_overview a, #who_page #who_overview a:hover,
#board_of_directors_page #board_of_directors a, #board_of_directors_page #board_of_directors a:hover,
#board_of_advisors_page #board_of_advisors a, #board_of_advisors_page #board_of_advisors a:hover,
#medical_advisors_page #medical_advisors a, #medical_advisors_page #medical_advisors a:hover,
#partners_page #partners a, #partners_page #partners a:hover,
#history_page #history a, #history_page #history a:hover,
#financials_page #financials a, #financials_page #financials a:hover,
#what_page #what_overview a, #what_page #what_overview a:hover,
#program_desc_page #program_desc a, #program_desc_page #program_desc a:hover,
#medical_study_page #medical_study a, #medical_study_page #medical_study a:hover,
#governance_page #governance a, #governance_page #governance a:hover,
#core_values_page #core_values a, #core_values_page #core_values a:hover,
#testimonials_page #testimonials a, #testimonials_page #testimonials a:hover,
#photo_gallery_page #past_trips a, #photo_gallery_page #past_trips a:hover,
#donorrights_page #donorrights a, #donorrights_page #donorrights a:hover,
#volunteer_page #volunteer a, #volunteer_page #volunteer a:hover,
#donate_page #donate a, #donate_page #donate a:hover,
#sponsorship_page #sponsorship a, #sponsorship_page #sponsorship a:hover,
#news_page #press a, #news_page #press a:hover,
#video_page #video a, #video_page #video a:hover
{
	background-color: #173789;
	color: yellow;
	background-position: 4px center;
	cursor: default;
}
/* _slideshow
------------------------------------------------------------------------------*/
#slideshow
{
	width: 950px;
	height: 351px;
	background-image: url(slideshow.png);
	background-repeat: no-repeat;
	background-position: left top;
	position: relative;
	margin-bottom: 1em;
	
	z-index: 0;
}

#slideshow #pics
{
	width: 867px;
	height: 293px;
	position: absolute;
	left: 42px;
	top: 17px;
	z-index: 1;
}

#slideshow #pager
{
	width: 394px;
	position: absolute;
	left: 495px;
	top: 264px;
	z-index: 999;
}

#slideshow #pager a
{
	background-color: #c2c2c2;
	font-weight: bold;
	color: white;
	font-size: 1.29em;
	border: 1px solid #c2c2c2;
	width: 43px;
	height: 43px;
	line-height: 43px;
	margin-left: 1em;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}

#slideshow #pager a:hover
{
	background-color: #a4a4a4;
	font-weight: bold;
	color: white;
	font-size: 1.29em;
	border: 1px solid #a4a4a4;
	width: 43px;
	height: 43px;
	line-height: 43px;
	margin-left: 1em;
}

#slideshow #pager a.activeSlide
{
	border: 1px solid white;
	background-color: #a4a4a4;
}


/* _content
------------------------------------------------------------------------------*/
#content
{
	background-image: url(paper-tile.jpg);
	background-repeat: repeat;
	background-position: left top;
}

#outer
{
	padding-top: 30px;
	background-image: url(divider.gif);
	background-repeat: no-repeat;
	background-position: left top;
}



/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 640px;
	float: right;
	display: inline;
	margin-right: 18px;
	min-height: 600px;
}

#faq_page #primary
{
	width: 914px;
	margin-left: 10px;
	margin-right: 0;
}

#home_page #primary
{
	width: 450px;
	float: left;
	margin-left: 288px;
}

#primary ul
{
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 1.5em;
	margin-bottom: 1em;
}

#primary ol
{
	list-style-type: decimal;
	list-style-position: outside;
	padding-left: 2em;
	margin-bottom: 1em;
}

#primary ol.roman
{
	list-style-type: upper-roman;
	padding-left: 3em;
}

#primary ol li
{
	margin-bottom: 1em;
}

.member
{
	margin-bottom: 2em;
}

/* until images of board members are available hide styles
.member img
{
	float: left;
	width: 110px;
}

.member h3,
.member h4,
.member p
{
	margin-left: 128px;
	clear: none;
}
*/
.member h4
{
	margin-top: .5em;
	margin-bottom: 1em;
	font-style: italic;
	font-weight: normal;
}

p.quote
{
	font-weight: bold;
	font-style: italic;
	margin-top: -1em;
}

#testimonials_page #primary div
{
	padding-top: 1em;
	background-image: url(../css/horzRule.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#primary ul.pdf li a
{
	padding-left: 40px;
	padding-bottom: 36px;
	display: block;
	background-image: url(PDF-icon.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
#primary ul.pdf li a:hover
{
	background-color: #fff3ca;
}

#primary li ul
{
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 2em;
}

#primary ul.pdf li
{
	background-image: url(horzRule.gif);
	background-repeat: repeat-x;
	background-position: left top;
	padding-top: 4px;
}

/* add icons to links */
#primary a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

#primary a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

#primary a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

#primary a[href $='.doc'], #primary a[href $='.docx']
{
	padding-right: 18px;
	background-image: url(icon_doc.gif);
	background-repeat: no-repeat;
	background-position: right center;
}


/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	width: 252px;
	float: left;
	display: inline;
	margin-left: 18px;
	padding: 5px 0 0;
}

#secondary .colorDiv
{
	background-color: #E5E4E4;
	background-image: url(secondarytile.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#home_page #secondary
{
	margin-left: -738px;
	background-image: none;
}

#faq_page #secondary { display: none; }

#secondary #sideContent {
	background-color: transparent;
	background-image: none;
}

#secondary #sideContent ul
{
	border:none;
	padding-bottom:10px;
}

#secondary #sideContent ul li
{
	list-style-type: disc;
	list-style-position: inside;
	padding-left: 2em;
	border:none;
}

#secondary p { padding: 0 5px; }

#secondary ul
{
	font-size: .9em;
	margin-top: 1em;
	border-top: 1px solid #dadada;
}

#secondary li
{
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #dadada;
}

#secondary li a
{
	padding: 9px 18px;
	display: block;
	text-decoration: none;
	background-image: url(greycheckmark.gif);
	background-repeat: no-repeat;
	background-position: -99em center;
}

#secondary li a:hover
{
	background-color: white;
	color: #173789;
}

/* You-Are-Here rules */
#who_page .who_overview a, #who_page .who_overview a:hover,
#board_of_directors_page .board_of_directors a, #board_of_directors_page .board_of_directors a:hover,
#board_of_advisors_page .board_of_advisors a, #board_of_advisors_page .board_of_advisors a:hover,
#medical_advisors_page .medical_advisors a, #medical_advisors_page .medical_advisors a:hover,
#scientific_advisors_page .scientific_advisors a, #scientific_advisors_page .scientific_advisors a:hover,
#partners_page .partners a, #partners_page .partners a:hover,
#history_page .history a, #history_page .history a:hover,
#financials_page .financials a, #financials_page .financials a:hover,
#what_page .what_overview a, #what_page .what_overview a:hover,
#program_desc_page .program_desc a, #program_desc_page .program_desc a:hover,
#medical_study_page .medical_study a, #medical_study_page .medical_study a:hover,
#governance_page .governance a, #governance_page .governance a:hover,
#core_values_page .core_values a, #core_values_page .core_values a:hover,
#testimonials_page .testimonials a, #testimonials_page .testimonials a:hover,
#photo_gallery_page .past_trips a, #photo_gallery_page .past_trips a:hover,
#donorrights_page .donorrights a, #donorrights_page .donorrights a:hover,
#volunteer_page .volunteer a, #volunteer_page .volunteer a:hover,
#donate_page .donate a, #donate_page .donate a:hover,
#sponsorship_page .sponsorship a, #sponsorship_page .sponsorship a:hover,
#news_page .press a, #news_page .press a:hover,
#video_page .video a, #video_page .video a:hover,
#secondary a.current
{
	background-color: #fbfbfb;
	color: #173789;
	background-color: #dadada;
	background-position: 4px center;
	cursor: default;
}

/* _ternary
------------------------------------------------------------------------------*/
#ternary
{
	width: 0;
	float: left;
	display: none;
}

#home_page #ternary
{
	width: 180px;
	float: left;
	display: inline;
}


/* _footer
------------------------------------------------------------------------------*/
#footer
{
	padding-top: 2em;
	clear: both;
}

#footer p
{
	font-size: .71em;
	text-align: center;
}

#footer p a
{
	color: black;
}

#footer p a:hover
{
	color: #9d7635;
}


.testimonial
	{
		padding: 1em;
		
		font-family: arial, sans-serif;
		font-size: 1em;
		letter-spacing: 1px;
		height:100px;
	}
.testimonialName
	{
		float:right;
		text-align:right;
		font-weight:bold;
		padding-right: 1em;
	}
