/*************************************************************************
/*
/* Genealogy Topic Site CSS Definitions
/*
/* There are three main divisions within the body structure: the header, the navigation
/* panel, and the main panel.  Control the overall qualities of that layout here and the
/* common definitions.  Most pages are expected to augment this for the one-off nature
/* of the data the present.
/*
/************************************************************************/

html, body
{
	font-family: Verdana, sans-serif;
	line-height: 1.2;
	color: black;
	background-image: url('/common/background.gif');
	font-size: 10pt;
}

p
{
	padding-top: 1em;
	font-size: 10pt;
}

h1
{
	margin: 0;
	padding: 0;
	font-size: 20pt;
	font-style: normal;
	font-weight: bold;
}

h2
{
	margin: 0;
	padding: 0;
	padding-top: 1em;
	font-size: 12pt;
	font-style: normal;
	font-weight: bold;
	color: #333;
}

h3, h4, h5, h6, h7
{
	margin: 0;
	padding: 0;
	padding-top: 1em;
	font-size: 10pt;
	font-style: italic;
	font-weight: bold;
	color: #333;
}

ul li, ol li, dl dd, dl dt, blockquote
{
	font-size: 10pt;
}

em
{
	font-style: italic;
}

strong
{
	font-weight: bold;
}

strong em, em strong
{
	font-style: italic;
	font-weight: bold;
}

a.notrack
{
	color: #33f;
}

/*------------------------------------------------------------------------
/* HEADER AREA
/*----------------------------------------------------------------------*/

#header
{
	position: absolute;
	top: 0;
	left: 120px;
	width: 650px;
	height: 120px;
	margin: 0;
	padding: 0;
}

/*------------------------------------------------------------------------
/* NAVIGATION AREA
/*----------------------------------------------------------------------*/

#nav
{
	top: 0;
	left: 0;
	width: 120px;
	margin: 0;
	padding: 0;
	padding-bottom: 5px;
}

#nav p
{
	padding-top: 0;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	text-align: center;
}

#nav p.unused
{
	color: gray;
}

#nav p.newtitle
{
	padding-top: .5em;
}

#nav hr
{
	width: 90%;
	margin-top: 0.5em;
	padding-top: 0;
	border: 1px black solid;
}

#nav a
{
	color: black;
}

/*------------------------------------------------------------------------
/* MAIN AREA
/*----------------------------------------------------------------------*/

#main
{
	position: absolute;
	top: 120px;
	left: 120px;
	width: 630px;
	margin: 0;
	padding: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
}

#main p.data-line
{
	margin-left: 2em;
	padding-top: 2px;
}

#main p.data-line span.label
{
	font-weight: bold;
	color: #555;
}

#main p span.surname
{
	font-weight: bold;
}

#main p span.dropcap
{
	float: left;
	display: block;
	position: relative;
	top: -0.2em;
	margin-top: 0;
	padding-top: 0;
	font-size: 3em;
	font-weight: bold;
}

#main blockquote
{
	margin: 0;
	margin-left: 2em;
	padding: 0;
	padding-top: 1em;
	font-style: italic;
}

#main ul, #main ol
{
	margin-top: 1em;
	margin-left: 4em;
	padding-top: 0;
}

#main ul li, #main ol li
{
	margin-top: 1em;
	padding-top: 0;
}

#main ul.tight-list li, #main ol.tight-list li
{
	margin-top: 0;
	padding-top: 0;
}

#main ul li
{
	list-style-type: disc;
}

#main ol li
{
	list-style-type: lower-alpha;
}

#main dl
{
	margin-left: 2em;
}

#main dl dt
{
	padding-top: 1em;
	font-style: italic;
}

#main dl dt.add
{
	padding-top: 0em;
}

#main dl dd
{
	margin-left: 2em;
}

#main dl dd span.applies-to
{
	display: block;
	font-style: italic;
	font-size: 80%;
	color: #555;
}

#main ul li p,
#main ol li p,
#main dl dt p,
#main dl dd p
{
	margin: 0;
	padding: 0;
}

#main .small-cap
{
	font-variant: small-caps;
}

#main form.form-comment
{
	margin-left: 3em;
	margin-top: 1em;
	padding-top: 0;
}

#main table
{
	margin: 0;
	margin-top: 1em;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}

#main table caption
{
	margin-top: 1em;
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
	font-style: italic;
	font-size: 120%;
}

#main table thead tr
{
}

#main table thead tr th
{
	padding: 2px;
	padding-left: 10px;
	padding-right: 10px;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
	font-style: italic;
	font-weight: bold;
	font-size: 120%;
	background-color: #F0F0F0;
}

#main table tbody
{
	border-bottom: 1px solid gray; /* won't show up in IE6, I don't have a good fix */
}

#main table tbody tr
{
	vertical-align: top;
	border-top: 1px solid gray;
}

#main table tbody td
{
	padding: 2px;
	padding-left: 10px;
	padding-right: 10px;
	border-top: 1px solid gray; /* needed by IE6 to show any lines at all */
}

/*************************************************************************
/*
/* Additional Page-Specific CSS Definitions
/*
/************************************************************************/

/*------------------------------------------------------------------------
/* individual.php
/*----------------------------------------------------------------------*/

#main div#individual h1.aka-name
{
	margin-top: 0;
	padding-top: 5px;
	font-size: 120%;
	font-style: normal;
	font-weight: bold;
}

#main div#individual h1.aka-name span.aka-label
{
	font-size: 80%;
	font-style: normal;
	font-weight: normal;
}

#main div#individual div.notes-text
{
	margin-top: 0;
	margin-left: 2em;
	padding-top: 0;
}

#main div#individual div.notes-text p:first-child
{
	padding-top: 0;
}

#main div#individual div.show-picture
{
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
	padding-bottom: 15px;
}

#main div#individual div.show-picture p.caption
{
	padding-top: 0;
	width: 150px;
	text-align: center;
	font-size: 80%;
	font-style: italic;
}

#main div#individual div.info-section
{
	margin-top: 1em;
	padding-bottom: 10px;
	font-style: normal;
	font-weight: normal;
	border-top: thin solid black;
}

#main div#individual div.chart-links
{
	width: 100%;
	height: 2em;
	margin: 0;
	margin-bottom: 1em;
	padding: 0;
	border: none;
	border-bottom: 1px solid black;
}

#main div#individual div.chart-links p
{
	padding: 0;
	margin: 0;
	font-size: 80%;
	font-style: normal;
	font-weight: bolder;
	text-align: right;
}

/*------------------------------------------------------------------------
/* ancestors.php
/*----------------------------------------------------------------------*/

#main div#ancestors table
{
	width: 100%;
	margin: 0;
	margin-top: 1em;
	padding: 0;
	table-layout: fixed;
	border: none;
}

#main div#ancestors table tr
{
	margin: 0;
	padding: 0;
	border: none;
}

#main div#ancestors table tr td
{
	width: 5%;
	margin: 0;
	padding: 0;
	border: none;
	vertical-align: middle;
}

#main div#ancestors table tbody
{
	border: none; /* why is tbody required to remove lines in FireFox, when it isn't used here? */
}

#main div#ancestors table tr td p
{
	margin: 0;
	margin: 1px;
	padding: 0;
	white-space: nowrap;
}

#main div#ancestors table tr td p.no-height
{
	margin: 0;
	height: 0;
}

#main div#ancestors table tr td p span.dates
{
	font-size: 80%;
}

#main div#ancestors table tr td p span.set-as-root
{
	font-size: 80%;
}

#main div#ancestors table tr td p span.unknown
{
	font-style: italic;
}

/*------------------------------------------------------------------------
/* descendents.php
/*----------------------------------------------------------------------*/

#main div#descendents ul
{
	margin: 0;
	margin-left: 4em;
	padding: 0;
}

#main div#descendents ul.first
{
	margin: 0;
	margin-top: 1em;
	padding: 0;
}

#main div#descendents ul li
{
	margin-top: 2px;
	padding: 0;
	list-style-type: none;
}

#main div#descendents ul li.normal
{
	margin-left: 3em;
}

#main div#descendents ul li.spouse
{
	margin-left: 4.25em;
}

#main div#descendents ul li p
{
	white-space: nowrap;
}

#main div#descendents ul li p span.set-as-root
{
	font-size: 80%;
}

/*------------------------------------------------------------------------
/* tidbits/dates_gregorian.php
/*----------------------------------------------------------------------*/

#main div#dates_gregorian table tbody tr.state
{
	font-weight: bold;
}

#main div#dates_gregorian table tbody tr.region
{
	font-weight: bold;
	border-top: none;
}

#main div#dates_gregorian table tbody tr.region td
{
	border-top: none; /* see border-top comment in "#main table tbody td" above */
}

#main div#dates_gregorian table tbody tr.region td.location
{
	padding-left: 40px;
	font-style: italic;
}

#main div#dates_gregorian table tbody tr.comments
{
	border-top: none;
}

#main div#dates_gregorian table tbody tr.comments td
{
	padding-left: 70px;
	font-style: italic;
	font-weight: normal;
	border-top: none; /* see border-top comment in "#main table tbody td" above */
}

#main div#dates_gregorian table tbody span.minor
{
	font-style: normal;
	font-weight: normal;
}

/*------------------------------------------------------------------------
/* tidbits/relationship_names.php
/*----------------------------------------------------------------------*/

#main div#relationship_names table
{
	width: 100%;
	margin-top: 1em;
	border: 1px solid black;
}

#main div#relationship_names table td
{
	width: 20%;
	margin: 0;
	padding: 2px;
	border: 1px solid black;
	text-align: center;
	vertical-align: middle;
}

#main div#relationship_names table td.corner
{
	width: auto;
	background-color: #999;
}

#main div#relationship_names table td.gennumber
{
	width: auto;
}

#main div#relationship_names table td.common,
#main div#relationship_names ul li span.common
{
	background-color: #A0E0A0;
}

#main div#relationship_names table td.descendant,
#main div#relationship_names ul li span.descendant
{
	background-color: #C0C0E0; 
}

#main div#relationship_names table td.oneoff,
#main div#relationship_names ul li span.oneoff
{
	background-color: #E0C0C0;
}

#main div#relationship_names table td.cousin,
#main div#relationship_names ul li span.cousin
{
	background-color: #F0F000;
}

#main div#relationship_names table td.cousinremoved,
#main div#relationship_names ul li span.cousinremoved
{
	background-color: #F0F0A0;
}
