/******************************************************************************
 * Heart of America 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 { 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(hoa_branding.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: 174px;
	height: 160px;
	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: 69px;
}

li#photos 
{
	left: 69px;
	background-position: -69px 0px;
	width: 80px;
}

li#events 
{
	left: 149px;
	background-position: -149px 0px;
	width: 77px;
}

li#forum 
{
	left: 226px;
	background-position: -226px 0px;
	width: 97px;
}

li#board 
{
	left: 323px;
	background-position: -323px 0px;
	width: 179px;
}

li#ror 
{
	left: 502px;
	background-position: -502px 0px;
	width: 104px;
}

/* Over States */
li#home:hover, li#home.hover { background-position: 0px -42px; }
li#photos:hover, li#photos.hover { background-position: -69px -42px; }
li#events:hover, li#events.hover { background-position: -149px -42px; }
li#forum:hover, li#forum.hover { background-position: -226px -42px; }
li#board:hover, li#board.hover { background-position: -323px -42px; }
li#ror:hover, li#ror.hover { background-position: -502px -42px; }

/* Pressed States */
li#home:active { background-position: 0px -84px; }
li#photos:active { background-position: -69px -84px; }
li#events:active { background-position: -149px -84px; }
li#forum:active { background-position: -226px -84px; }
li#board:active { background-position: -323px -84px; }
li#ror:active { background-position: -502px -84px; }

/* You-are-here States */
#home_page li#home { background-position: 0px -126px; }
#photos_page li#photos { background-position: -69px -126px; }
#events_page li#events { background-position: -149px -126px; }
#forum_page li#forum { background-position: -226px -126px; }
#board_page li#board { background-position: -323px -126px; }
#ror_page li#ror { background-position: -502px -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: 0 1em;
	text-decoration: none;
	line-height: 42px;
}
#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; }



/* _slideshow
------------------------------------------------------------------------------*/
#slideshow
{
	width: 950px;
	height: 623px;
	background-image: url(Slideshow-HOA.gif);
	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;
	
}



/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 640px;
	float: left;
	display: inline;
	margin-left: 18px;
	min-height: 600px;
}

#home_page #primary, .left
{
	width: 448px;
	float: left;
	display: inline;
	margin-left: 18px;
	margin-right: 0;
}

#primary ul.bullet
{
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 1.5em;
	margin-bottom: 1em;
}

/* 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;
}

#gallery
{
	width: 944px;
	border: 3px solid white;
	background-color: #E5E4E4;
	background-image: url(broken_bkgn.gif);
	background-repeat: no-repeat;
	background-position: center top;
	margin-bottom: 1em;
	padding-bottom: 18px;
}

/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	width: 252px;
	float: left;
	display: inline;
	margin-left: 18px;
}

#home_page #secondary, .right
{
	width: 448px;
	float: right;
	display: inline;
	margin-right: 18px;
	margin-left: 0;
}



/* _ternary
------------------------------------------------------------------------------*/
#ternary
{
	width: 0;
	float: left;
	display: none;
}

#home_page #ternary
{
	display: none;
}


/* _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;
}
