/******************************************************************************
 * BONUGLI.com family tree style sheet copyright (c) Paul K. Bonugli 2008     *
 *                                                                            *
 * Stylesheet for the family tree pages of Bonugli.com                        *
 * This should be used in conjunction with familytreeIE6.css and              *
 * familytreeIE5.css to work in IE6 and IE < 5.x, respectively                *
 ******************************************************************************/


/******************************************************************************
 *                               GENERAL STYLES                               *
 ******************************************************************************/

html, body
{
	margin: 0;
	padding: 0;
	border: 0;
	color: #000;
	background-color: #fff;
	height: 100%;
}

/* 'unstyle' forms */
form
{
	margin: 0;
	padding: 0;
	display: inline;
}

/* default font */
body, table, select
{
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: small;
}

#headerBar
{
	width: 100%;
	height: 2em;
	background: #000 url(/common/images/topbar.png) top repeat-x;
	color: #fff;
	padding: 2px;
	font-size: 90%;
	font-weight: bold;
}

#headerBar a, #headerBar a:active, #headerBar a:link, #headerBar a:visited, #headerBar a:hover
{
	color : #fff;
	text-decoration : none;
	border: 0;
}
#headerBar a:hover
{
	text-decoration : underline;
}

#headerBar #title
{
	float: left;
	width: 40%;
}

#headerBar #headerRight
{
	float: right;
	width: 50%;
	text-align: right;
	padding-right: 1em;
	vertical-align: middle;
}

#headerBar select, #headerBar input
{
	font-size: 90%;
}

html>body #headerBar
{
	position: fixed;
	z-index: 10;
}

html>body #content-wrap
{
	height: 100%;
}

html>body #content
{
	padding: 0.5em;
	padding-top: 2.5em; /* 2em header bar + 0.5em breathing space at top*/
}


/******************************************************************************
 *                                   INDEX PAGE                               *
 ******************************************************************************/
div.treeSection
{
	border-top: 1px solid #444;
	padding: 1em;
	margin: 0 auto;
	width: 60%;
	min-width: 660px; /* to account for largest thumbnail image */
	color: #666;
	padding-bottom: 2em; /* breathing space between sections */
}

/* hover effect */
/* (CSS pseudo class for decent browsers, alternate class for IE...) */
div.treeSection:hover, div.treeSectionHover
{
	background: #eaeff4;
}

div.treeSectionLast
{
	border-bottom: 1px solid #444; /* final 'gatepost' */
}

div.treeSection img
{
	display: block;
	margin: 0 auto; /* centered */
	height: 100px;
	border: 0;
}

div.treeSection a
{
	color : #336699;
	text-decoration : none;
	border: 0;
}
/* underline link when mouse over -section- not just link */
div.treeSection:hover a, div.treeSectionHover a
{
	text-decoration : underline;
}

h1, h2
{
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-weight: bold;
	color: #336699;
}

h1
{
	font-size: 240%;
}

h2
{
	font-size: 110%;
}




/******************************************************************************
 *                                   TREE PAGES                               *
 ******************************************************************************/
 
/* the div containing the actual tree image(s) */
#treeViewer
{
	padding-top: 1em;
}

/* tables for layout are a bit naughty, but I'm using them to "glue" some
   of the tree images together. */
#treeViewer table, tr, td
{
	padding: 0;
	margin: 0;
	border: 0;
}
