/*
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2008 Jason M. Simanek
# Copyright 2009 Stephane Charette
# Copyright (c) 2008-2010 Rob G. Healey <robhealey1@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

**************************************************************************************************
GRAMPS Cascading Style Sheet
Style Name: Basic-Ash Stylesheet
Style Author: Jason M. Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet
**************************************************************************************************

Color Palette
--------------------------------------------------------------------------------------------------

black                   #000
gray dark               #333
gray                    #999
gray light              #CCC
gray very light         #EEE
white                   #FFF
--------------------------------------------------------------------------------------------------

# $Id $

 NarrativeWeb Styles
------------------------------------------------------------------------------------------------ */

/*  General Elements
----------------------------------------------------- */
body {
    font-family:sans-serif;
    color:#000;
    margin:0;
    background-color:#FFF;
}
div {
    margin:0;
    padding:0;
}
img {
    border:none;
    margin:0;
}
.thumbnail a:hover {
    background:none;
}
.content {
    padding-top: 1cm;
    background-color:#FFF;
}
.content div.snapshot {
    float:right;
    margin:20px;
    padding:0;
    background:none;
}
.content div.snapshot div.thumbnail {
    margin:0;
    padding:0;
    background:none;
}
.fullclear {
    width:100%;
    height:1px;
    margin:0;
    padding:0;
    clear:both;
}

/* General Text
----------------------------------------------------- */
h1 {
    font-size:1.4em;
    font-weight:bold;
    margin:0;
}
h2 {
    display:none;
}
h3 {
    font-size:1.2em;
    font-weight:bold;
    margin-left:12px;
    text-align:left;
    margin:0;
    padding:.5em 20px .2em 20px;
}
h4 {
    font-size:.8em;
    color:#333;
    margin:0;
    padding:.2em 0 .2em 20px;
    background-color:#EEE;
    border-bottom:solid 1px #999;
}
h5, h6 {
    font-style:italic;
    margin:1.3em 0 .5em 1em;
}
p {
    font-size:14px;
    line-height:17px;
    margin:0;
}
p#description {
    padding:0 15px 1em 15px;
}
p a:link {
    text-decoration:underline;
}
sup {
    line-height:0;
}
ol {
}
ol li a {
    text-decoration:none;
}
a:link {
    color:#000;
    text-decoration:underline;
}
a:hover, a:active {
    background-color:#EEE;
    color:#000;
    text-decoration:underline;
}
a:visited {
    color:#000;
    text-decoration:underline;
}
.grampsid {
    font:normal .8em/1.2em monospace;
    color:#999;
}

/* Header
----------------------------------------------------- */
div#header {
    padding:15px 15px 2px 15px;
    margin:0;
    background-color:#EEE;
}
#SiteTitle {
    color:#333;
    margin:0 0 3px 0;
}
div#header p {
    font-size:1em;
    font-weight:bold;
    color:#999;
    margin:0;
}

/* Footer
----------------------------------------------------- */
div#footer {
    clear:both;
    overflow:hidden;
    width:100%;
    font-size:12px;
    line-height:130%;
    color:#333;
    margin:0;
    padding:15px 0 0 0;
    background-color:#CCC;
    border-top:solid 1px #333;
}
div#footer a, div#footer a:visited {
    text-decoration:none;
    color:#333;
}
div#footer a:hover {
    text-decoration:underline;
}
div#footer img {
    border:0;
    margin:0 auto;
    vertical-align:middle;
}
div#footer p#createdate {
    float:left;
    width:40%;
    text-align:left;
    margin-left:10px;
}
div#footer p#copyright {
    float:right;
    width:40%;
    text-align:right;
    margin-right:10px;
}
div#footer p#copyright img {
    margin-right:10px;
}
#user_footer {
    width:70%;
    float:left;
    margin:1em;
}
#user_footer p {
    font:normal 1em/1.2em serif;
    margin:0;
    padding:0;
}

/* Navigation
----------------------------------------------------- */
div#navigation, div#subnavigation {
    margin:0;
    padding:4px 0 0 0;
    background-color:#EEE;
}
div#navigation ul, div#subnavigation ul {
    list-style:none;
    min-width:770px;
    height:22px;
    margin:0;
    padding:0 0 0 12px;
    border-bottom:1px solid #999;
}
div#navigation ul li, div#subnavigation ul li {
    margin:0;
    padding:0;
    float:left;
}
div#navigation ul li a, div#subnavigation ul li a {
    display:block;
    font-size:12px;
    line-height:100%;
    font-weight:bold;
    text-decoration:none;
    margin:0;
    padding:5px 5px;
    background-color:#EEE;
}
div#navigation ul li a:hover, div#subnavigation ul li a:hover {
    background-color:#CCC;
    border-bottom:solid 1px #000;
}
div#navigation ul li.CurrentSection a, div#subnavigation ul li.CurrentSection a {
    padding-bottom:4px;
    border-top:solid 1px #999;
    border-right:solid 1px #999;
    border-left:solid 1px #999;
    border-bottom:solid 1px #FFF;
    background-color:#FFF;
}
div#navigation ul li.CurrentSection a:hover {
    background-color:#FFF;
}
div#subnavigation ul li.CurrentSection a {
    border-width:0 0 1px 0;
}

/* Alphabet Navigation Bar
----------------------------------------------------- */
div#alphabet {
    width: 100%;
    margin: 0;
    background-color: #EEE;
}
div#alphabet ul {
    list-style:none;
    min-width:770px;
    height:24px;
    margin:0;
    padding: 0px 0px 0px 16px;
    border-width: 2px 0px 4px 0px;
    border-style: solid;
    border-color: #000;
}
div#alphabet ul li:after {
    content:"  |";
}
div#alphabet ul li {
    margin:0;
    float:left;
}
div#alphabet ul li a {
    display:block;
    padding: 4px 8px 4px 8px;
    float:left;
    font:bold 16px/100% sans;
    margin:0;
    text-decoration:none;
    color: #000;
}
div#alphabet ul li a:hover {
    background-color: #000;
    color: #FFF;
}

/* Main Table
----------------------------------------------------- */
table {
    font-size:14px;
    margin:0;
    padding:0;
    border:none;
    border-collapse:collapse;
}
table tr th {
    font-weight: bold;
    text-align: left;
    margin:0;
    padding:.1em 10px;
    background-color:#CCC;
    border-top:solid 1px #999;
    border-bottom:solid 1px #999;
}
table.infolist tr th:first-child {
    border-left:solid 1px #999;
}
table.infolist tr th:last-child {
    border-right:solid 1px #999;
}
table.infolist tr th a {
    text-decoration:none;
}
table tr td {
    vertical-align:middle;
    padding:.1em 10px;
}
table.infolist tr td a {
    display:block;
    text-decoration:none;
}
table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td {
    border-top:solid 1px #CCC;
}
table.infolist tr th.ColumnQuantity {
    width:30%;
}
table.infolist tr td.ColumnLetter {
    font-weight:bold;
}
table.infolist tbody tr td.ColumnBirth {
    font-size:.9em;
    width:10%;
}
table.infolist tbody tr td.ColumnDeath {
    font-size:.9em;
    width:10%;
}
table.infolist tbody tr td.ColumnRowLabel {
    font-weight:bold;
    width:2%;
}
table.infolist tbody tr td.ColumnType {
    width:6%;
    padding-left:20px;
}
table.infolist tbody tr td.ColumnPartner {
    font-size:.9em;
}
table.infolist tbody tr td.ColumnParents {
    font-size:.9em;
}
table.infolist tbody tr td.ColumnParents span.father, table.infolist tbody tr td.ColumnParents span.mother {
    display:block;
}
table.infolist tbody tr td.ColumnParents span.mother:before {
    content:"+ ";
}
table.infolist tbody p.EventNote {
    border-top:dashed 1px #CCC;
    padding-top:1em;
    padding-bottom:1em;
}

/* Surnames
----------------------------------------------------- */
#Surnames {  }
#SurnameDetail p#description { padding-top:0; }
table.surnamelist tbody tr td.ColumnSurname {
    width:50%;
}
table.surnamelist thead tr th.ColumnSurname {
    padding:0;
}
table.surnamelist thead tr th.ColumnQuantity {
    width:40%;
    padding:0;
}
table.infolist thead tr th.ColumnSurname a, table.infolist thead tr th.ColumnQuantity a {
    display:block;
    padding:.1em 10px;
}
table#SortByName thead tr th.ColumnSurname a, table#SortByCount thead tr th.ColumnQuantity a {
    background-color:#EEE;
}
table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after {
    content:" ↓";
}
table.infolist tbody tr td.ColumnSurname {
    padding:0;
    background-color:#EEE;
}
table.infolist tbody tr td.ColumnSurname a {
    padding:.1em 10px;
}
table.infolist tbody tr td.ColumnSurname a:hover {
    padding:.1em 10px;
    background-color:#CCC;
}
table.surname {
    border-bottom:solid 1px #EEE;
}
table.surname tbody tr td {
    border-bottom:dashed 1px #CCC;
}
table.surname tbody tr td.ColumnName {
    width:20%;
    padding:0;
    background-color:#EEE;
}
table.surname tbody tr td.ColumnName a {
    display:block;
    padding:.6em 10px .6em 20px;
}
table.surname tbody tr td.ColumnName a:hover {
    background-color:#CCC;
}
table.surname tbody tr td.ColumnName a span.grampsid {
    display:none;
}
table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents {
    width:25%;
}

/* Individuals
----------------------------------------------------- */
#Individuals {  }
#Individuals table.individuallist {
    border-bottom:solid 1px #EEE;
}
#Individuals table.individuallist tbody tr td {
    border-bottom:dashed 1px #CCC;
}
#Individuals table.individuallist tbody tr td a:hover {
    text-decoration:none;
}
table.individuallist tbody tr td.ColumnSurname {
    background:none;
}
table.individuallist tbody tr td.ColumnSurname a:hover, table.individuallist tbody tr td.ColumnSurname a:active {
    cursor:default;
    color:black;
    background:none;
}
table.individuallist tbody tr td.ColumnName {
    padding:0;
    background-color:#EEE;
}
table.individuallist tbody tr td.ColumnName a {
    display:block;
    padding:.6em 10px;
    vertical-align:middle;
}
table.individuallist tbody tr td.ColumnName a:hover {
    background-color:#CCC;
}
#IndividualDetail div table.infolist tr td, #Individuals div table.infolist tr td p {
    vertical-align:top;
}
#IndividualDetail div table.infolist tr td a, #Individuals div table.infolist tr td p a {
    display:inline;
}
#IndividualDetail table.infolist tr td a:hover {
    text-decoration:underline;
}
#IndividualDetail table.infolist tbody tr td.ColumnAttribute {
    width:10%;
    color:#999;
    padding-left:5px;
}

/* Sources
----------------------------------------------------- */
#Sources table.infolist tbody tr td.ColumnRowLabel {
    padding-bottom:0;
}
#Sources table.infolist tbody tr td.ColumnName {
    padding:0;
}
#Sources table.infolist tbody tr td.ColumnName a {
    padding:.1em 10px .3em 10px;
}
#SourceDetail div#references ol li {
    padding-bottom:.5em;
}

/* Places
----------------------------------------------------- */
#Places table.infolist tbody tr td.ColumnName {
    padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
    padding:.1em 10px .3em 10px;
}

/* EventList and EventDetail
----------------------------------------------------- */

div#EventList, div#EventDetail { }

div#events table.eventlist {
    margin-top: .3cm;
}
table.eventlist tbody tr td {
    border-bottom: dashed 1px #000;
}
table.eventlist tbody tr td.ColumnEvent {
    width: 10%;
}
table.eventlist tbody tr td.ColumnDate {
    width: 10%;
}
table.eventlist tbody tr td.ColumnPlace {
    width: 20%;
}
table.eventlist tbody tr td.ColumnDescription {
    width: 20%;
}
table.eventlist tbody tr td.ColumnNotes {
    width: 35%;
}
table.eventlist tbody tr td.ColumnSources {
    width: 5%;
}
table.eventlist tbody tr td.ColumnPerson {
    width: 30%;
}
table.eventlist tbody tr td.ColumnPartner {
    width: 35%;
}
div#EventList table.eventlist tbody tr.BeginName {
    border-top: solid 1px #000;
}
div#EventList table.eventlist tbody tr td.ColumnEvent a,
div#EventList table.eventlist tbody tr td.ColumnPerson a,
div#EventList table.eventlist tbody tr td.ColumnPartner a {
    display: block;
    padding: .9em 10px;
}
div#EventList table.alphaevent {
    padding: .3em 0 .3em 0;
    margin: 0;
}
div#EventList table.alphaevent tbody tr.BeginEvent {
    border-top: solid 1px #000;
}
div#EventList table.alphaevent tbody tr td {
    border-bottom: dashed 1px #000;
}
div#EventList table.alphaevent tbody tr td.ColumnType {
    width: 15%;
}
div#EventList table.alphaevent tbody tr td.ColumnType a:hover {
    background: none;
}
div#EventList table.alphaevent tbody tr td.ColumnGRAMPSID {
    width: 12%;
}
div#EventList table.alphaevent tbody tr td.ColumnDate {
    width: 20%;
}
div#EventList table.alphaevent tbody tr td.ColumnPerson {
    width: 60%;
}
div#EventList table.alphaevent tbody tr td.ColumnPerson span.father, 
div#EventList table.alphaevent tbody tr td.ColumnPerson span.mother {
    display:block;
}
div#EventList table.alphaevent tbody tr td.ColumnPerson span.mother:before {
    content:"+ ";
}
div#EventDetail h3 {
    font-size: 1.4em;
}
div#EventDetail table.eventlist {
    margin: .5cm 0 .3cm 1.5cm;
    width: 800px;
}
div#EventDetail table.eventlist tbody tr td.ColumnAttribute {
    border-top: solid 1px #000;
    font-weight: bold;
    text-transform: uppercase;
    width: 20%;
}
div#EventDetail table.eventlist tbody tr td.ColumnEvent {
    border-top: solid 1px #000;
}

/* Gallery
----------------------------------------------------- */
#Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate {
    padding-bottom:0;
}
#Gallery table.infolist tbody tr td.ColumnName {
    padding:0;
}
#Gallery table.infolist tbody tr td.ColumnName a {
    padding:.1em 10px .3em 10px;
}
#Gallery table.infolist tbody tr td.ColumnName a:hover {
    background-color:#EEE;
}
#GalleryNav {
    font-size:.8em;
    margin:1em 0 0 0;
    padding:1.2em 0 0 0;
    text-align:center;
}
#GalleryNav a {
    font-weight:bold;
    text-decoration:none;
    background-color:#EEE;
    border:solid 1px #999;
}
#GalleryNav a:hover {
    background-color:#CCC;
}
#GalleryNav a#Previous {
    padding:.4em .7em .3em .7em;
}
#GalleryNav a#Next {
    padding:.4em 1.9em .3em 1.9em;
}
#GalleryPages {
    margin:0 1em;
}
#GalleryCurrent {
    font-size:1.2em;
    font-weight:bold;
}
#GalleryTotal {
    font-weight:normal;
}
#GalleryDisplay {
    margin:0 auto;
    padding:0;
    position:relative;
    overflow:hidden;
    text-align:center;
    border:solid 1px #999;
}
#GalleryDisplay img {
    margin:0 auto;
}
#GalleryDetail div#summaryarea{
    margin:0;
    padding:1.4em 0 0 0;
}
#GalleryDetail div#summaryarea h3 {
    text-align:center;
}
#GalleryDetail div h4 {
    margin-top:0;
}
#GalleryDetail div#summaryarea table.gallery {
    width:100%;
    margin-top:1.5em;
    margin-bottom:0;
    padding-bottom:0;
    background-color:#EEE;
    border-style:solid;
    border-width:8px 0 0 0;
    border-color:#CCC;
}

/* Download 
----------------------------------------------------- */

#Download {
    margin: 0;
    padding: .5em 0 .5em 0;
}
table.download {
    padding: 0;
    margin: .5em 0 .5em 0;
    border: solid 1px #000;
    width: 100%;
    background-color: #CCC;
}
table.download img {
    /* float:center; */
}
table.download tbody tr#Row02 {
    border-bottom:solid 1px #000;
}
table.download tbody tr td { 
    border-style:solid;
    border-color: #000;
    border-width: 0px 2px 2px 2px;
    text-align:left;
}
table.download td.ColumnFilename {
    width:30%;
    background-color: #FFF;
}
table.download td.ColumnFilename a {
    display:block;
    padding:10px;
    font-weight:bold;
    font-style: italic;
    text-decoration:none;
}
table.download td.ColumnDescription {
    width:45%;
}
table.download td.ColumnLicense {
    width:6%;
}
table.download td.ColumnModified {
    width:17%;
}

/* Contact
----------------------------------------------------- */
#Contact #summaryarea {
    width:500px;
    margin:2em auto;
    padding:3em;
    background-color:#EEE;
    border:solid 1px #999;
}
#Contact #summaryarea img {
    float:right;
    margin:0;
    padding:0;
    border:solid 1px #999;
}
#researcher {
    margin-top:.3em;
}
#researcher h3 {
    padding:0;
}
#researcher span {
    display:block;
    float:left;
    margin-right:.4em;
}
#streetaddress {
    width:85%;
}
#city:after {
    content:",";
}
#country {
    clear:left;
}
#email {
    clear:left;
}
#email a {
    text-decoration:none;
}
#email a:hover {
    text-decoration:underline;
}

/* Repositories
------------------------------------------------------ */
div#RepositoryList { }

div#RepositoryList table.repolist tbody tr td {
    background-color: #CCC;
}
div#RepositoryList table.repolist tbody tr td a {
    display: block;
    padding: .3em 10px;
}
div#RepositoryList table.repolist tbody tr td.ColumnRowLabel {
    width: 9%;
}
div#RepositoryList table.repolist tbody tr td.ColumnType {
    width: 15%;
}
div#RepositoryList table.repolist tbody tr td.ColumnName {
    background-color: #FFF;
}

/* Address Book
------------------------------------------------------ */
div#AddressBookList, AddressBookDetail {
    margin: 0;
    padding: 0;
}
div#AddressBookList table.addressbook {
    margin: .3em 0 .3em 0;
}
div#AddressBookList tble.addressbook tbody tr.Totals td {
    text-align: left;
    background-color: #EEE;
}
div#AddressBookList table.addressbook tbody tr td {
    background-color: #CCC;
    text-align: center;
    border: solid 1px #000;
}
div#AddressBookList table.addressbook tbody tr td.ColumnRowLabel {
    width: 4%;
}
div#AddressBookList table.addressbook tbody tr td.ColumnName {
    background-color: #FFF;
    text-align: left;
    width: 70%;
}
div#AddressBookList table.addressbook tbody tr td.ColumnName a {
    display: block;
    padding: 6px 0px 6px 0px;
}
div#AddressBookList table.addressbook tbody tr td.ColumnAddress {
    width: 8%;
}
div#AddressBookList table.adressbook tbody tr td.ColumnResidence {
    width: 8%;
}
div#AddressBookList table.addressbook tbody tr td.ColumnWebLinks {
    width: 8%;
}

/* Subsections
----------------------------------------------------- */
#Home, #Introduction, #Contact {
    padding:1.5em 0 3em 0;
}
#Home p, #Introduction p, #Contact p {
    margin:0 20px 1em 20px;
}
#Home img, #Introduction img, #Contact img {
    float:right;
    margin:0;
    padding:0 20px 3em 20px;
}
div.subsection{
    padding-bottom:.5em;
    background-color:#FFF;
}
div.subsection h4 {
    margin-bottom:.5em;
}
div.subsection table, div.subsection ol, div.subsection p {
    font-size:.9em;
}
div.subsection a {
    text-decoration:none;
}
div.subsection a:hover {
    text-decoration:underline;
    background:none;
}
div.subsection table.infolist {
    width:100%;
    margin:0;
}
#IndividualDetail div.subsection table tr td:first-child {
    padding-left:20px;
}

/* Subsections : Summary Area
----------------------------------------------------- */
div#summaryarea {
    min-height:100px;
    background:none;
}
div#summaryarea table.infolist {
    margin:0;
    padding:0;
    background:#FFF;
    border-bottom:solid .7em #FFF;
}
div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p {
    vertical-align:top;
}
div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a {
    display:inline;
}
div#summaryarea table.infolist tbody tr td.ColumnAttribute {
    width:14%;
    padding-left:20px;
}

/* Subsections : Events
----------------------------------------------------- */
div#events {
    padding-bottom:0;
}
div#events h4 {
    margin-bottom:0;
}
div#events table.infolist {
    border-bottom:solid 1px #FFF;
}
div#events table.infolist tbody tr td {
    padding-top:.2em;
    padding-bottom:.2em;
}
#IndividualDetail div#events table.infolist thead tr th:first-child {
    padding-left:20px;
}
div#events table.infolist tbody tr td.ColumnAttribute {
    border-bottom:dashed 1px #CCC;
}
div#events table.infolist tbody tr td.ColumnValue {
    border-bottom:dashed 1px #CCC;
}
div#events table.infolist tbody tr td.ColumnValue p {
    margin:.1em 2em;
}

/* Subsections : Parents
----------------------------------------------------- */
div#parents table.infolist tbody tr td.ColumnValue ol {
    margin:0;
    padding-top:0;
}
div#parents table.infolist tbody tr td.ColumnValue ol li {
    padding-bottom:.2em;
}

/* Subsections : Families
----------------------------------------------------- */
div#families table.infolist tbody tr td.ColumnValue p {
    margin-top:0;
}
div#families table.infolist tbody tr td.ColumnValue ol {
    margin:0;
    padding-top:0;
}
div#families table.infolist tbody tr td.ColumnValue ol li {
    padding-bottom:.2em;
}

/* Subsections : Addresses
----------------------------------------------------- */
div#addresses {
    padding-bottom:0;
}
div#addresses h4 {
    margin-bottom:0;
}
div#addresses table.infolist {
    border-bottom:solid 1px #FFF;
}
div#addresses table.infolist tbody tr td {
    padding-top:.2em;
    padding-bottom:.2em;
}
div#addresses table.infolist tbody tr td.ColumnAttribute {
    width:30%;
    border-bottom:dashed 1px #CCC;
}
div#addresses table.infolist tbody tr td.ColumnValue {
    border-bottom:dashed 1px #CCC;
}

/* Subsections : Attributes
----------------------------------------------------- */
div#attributes {
    margin: 0;
    padding: 0;
}
table.attrlist {
    width: 100%;
}
table.attrlist thead tr th.ColumnType {
    border: none;
    background: none;
}
table.attrlist thead tr th.ColumnAttribute {
    border: none;
    background: none;
}
table.attrlist tbody tr td {
    background-color: #EEE;
    border-bottom: dashed 1px #000;
}
table.attrlist tbody tr td.ColumnType {
    border: none;
    background: none;
}
table.attrlist tbody tr td.ColumnAttribute {
    border: none;
    background: none;
}
table.attrlist tbody tr td.ColumnAttrType {
    width: 15%;
}
table.attrlist tbody tr td.ColumnAttrValue {
    width: 15%;
}
table.attrlist tbody tr td.ColumnAttrNotes {
    width: 45%;
}
table.attrlist tbody tr td.ColumnAttrSources {
    background-color: #FFF;
    width: 15%;
}

/* Subsections : Gallery
----------------------------------------------------- */
#indivgallery h4 {
    margin-bottom:1em;
}
#indivgallery .thumbnail {
    margin:0;
    float:left;
    width:130px;
    height:150px;
    text-align:center;
}
#indivgallery .thumbnail a {
    display:block;
    margin:0;
    padding:0;
    background:none;
}
#indivgallery .thumbnail a img {
    margin:0;
    padding:0;
    border:solid 1px #999;
}
#indivgallery div.thumbnail p {
    font-size:.6em;
    text-align:center;
    width:80%;
    margin:0 auto;
    padding:0;
}

/* Subsections : Narrative
----------------------------------------------------- */
div#narrative {
    padding-bottom:0;
}
#narrative p {
    margin-top:.5em;
    margin-bottom:0;
    padding:0 20px 1em 20px;
}

/* Subsections : References
----------------------------------------------------- */
#references ol {
    margin-top:0;
    margin-bottom:0;
}

/* Subsections : Source References
----------------------------------------------------- */
div#sourcerefs ol {
    list-style-type:decimal;
}
div#sourcerefs ol li ol {
    list-style-type:lower-alpha;
}

/* Subsections : Weblinks
----------------------------------------------------- */
div#WebLinks {
    margin : 0 auto;
    padding: 0;
}

table.weblinks tr td {
    background-color: #EEE;
    border-bottom: dashed 1px #000;
}
table.weblinks tr td.ColumnRowLabel {
    width: 6%;
}
table.weblinks tr td.ColumnType {
    width: 30%;
}
table.weblinks tr td.ColumnDescription {
    background-color: #FFF;
    width: 30%;
}

/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {
    font-size:.9em;
    list-style:none;
    margin:.5em 0 0 0;
    padding:0 0 .7em 20px;
}
.pedigreegen li ol {
    list-style:none;
    margin-left:.5em;
}
.pedigreegen li ol li {
    padding-bottom:.2em;
}
.pedigreegen li ol li ol {
    list-style:decimal;
    margin-left:1.6em;
}
.pedigreegen li ol li ol li ol.spouselist {
    font-size:1em;
    list-style:none;
    margin-left:0;
}
.spouselist li.spouse ol {
    font-size:1em;
    list-style:decimal;
    margin-left:1.6em;
}
.spouse a {
    font-weight:normal;
}
.spouse:before {
    content: "+ ";
}
.thisperson {
    font-weight:bold;
}

/* Subsections : Ancestors Tree
----------------------------------------------------- */
#tree {
    page-break-before:always;
    margin:0;
    padding:0;
    background:none;
}
#treeContainer {
    position:relative;
    z-index:1;
    margin-bottom:1.4em;
}
#treeContainer div.boxbg {
    position:absolute;
    margin:0;
    padding:0;
    background:none;
}
#treeContainer div.boxbg a,
#treeContainer div.boxbg span.unlinked {
    position:relative;
    z-index:10;
    display:block;
    font:normal .8em/1.4em sans-serif;
    text-align:center;
    text-decoration:none;
    color:#000;
    width:118px;
    padding:5px 20px 7px 20px;
    margin-left:16px;
    background-color:#EEE;
    border:solid 1px #999;
}
#treeContainer div.boxbg a.noThumb, 
#treeContainer div.AncCol3 a, 
#treeContainer div.AncCol4 a,
#treeContainer div.AncCol3 span.unlinked, 
#treeContainer div.AncCol4 span.unlinked {
    margin-top:10px;
}
#treeContainer div.boxbg a:hover {
    position:relative;
    z-index:999;
    font-size:1em;
    text-decoration:none;
    width:190px;
    margin-left:-20px;
    padding:10px 25px 12px 25px;
    border:solid 2px #333;
}
#treeContainer div.boxbg a:hover, #treeContainer div.AncCol3 a:hover, #treeContainer div.AncCol4 a:hover {
    margin-top:-44px;
}
#treeContainer div.boxbg a.noThumb:hover {
    margin-top:0;
}
#treeContainer div.AncCol0 a:hover {
    margin-left:12px;
}
#treeContainer div.AncCol4 a:hover {
    margin-left:-60px;
}
#treeContainer div.boxbg span.thumbnail {
    display:block;
    max-width:80px;
    max-height:65px;
    margin:0 auto;
    padding:4px 0;
}
#treeContainer div.boxbg span.thumbnail img {
	max-width:80px;
    max-height:65px;
    margin:0 auto;
}
#treeContainer div.boxbg a:hover span.thumbnail, #treeContainer div.boxbg a:hover span.thumbnail img {
    height:80px;
}
#treeContainer div.AncCol3 span.thumbnail, #treeContainer div.AncCol4 span.thumbnail {
    display:none;
}
#treeContainer div.boxbg a:hover span.thumbnail {
    display:block;
}
#treeContainer div.male a, 
#treeContainer div.male span.unlinked, 
#treeContainer div.female a ,
#treeContainer div.female span.unlinked {
    background-position:top right;
    background-repeat:no-repeat;
}
#treeContainer div.male a,
#treeContainer div.male span.unlinked {
    background-image:url(../images/Web_Gender_Male.png);
}
#treeContainer div.female a, 
#treeContainer div.female span.unlinked {
    background-image:url(../images/Web_Gender_Female.png);
}
.shadow {
    display:none;
}
#tree div div.bvline {
    position:absolute;
    z-index:2;
    height:3px;
    margin:0 0 0 16px;
    padding:0;
    background-color:#999;
}
#tree div div.bhline {
    position:absolute;
    z-index:2;
    width:2px;
    margin:0 0 0 16px;
    padding:0;
    background-color:#999;
}
#tree div div.gvline {
    position:absolute;
    z-index:1;
    height:3px;
    margin:0 0 0 14px;
    padding:0;
    background-color:#EEE;
}
#tree div div.ghline {
    position:absolute;
    z-index:1;
    width:2px;
    margin:0 0 0 14px;
    padding:0;
    background-color:#EEE;
}

/* Calendar Styles
-------------------------------------------------------------------------------------------- */
/* Calendar : General */
body#WebCal {
    padding:0 14px;
    background-color:#333;
}
.calendar {
    empty-cells:show;
    width:100%;
    font-size:1em;
    font-weight:normal;
    margin:0;
    padding:0;
    border:none;
    border-collapse:collapse;
}
.calendar thead tr th {
    width:14%;
    font-weight:bold;
    font-size:14px;
    line-height:14px;
    text-align:center;
    text-transform:uppercase;
    padding:2px 0;
}
.calendar thead tr th.monthName {
    width:100%;
    font-weight:normal;
    font-size:2em;
    line-height:100%;
    text-transform:none;
    color:#333;
    padding:.3em 0 .2em 0;
    background-color:#FFF;
    border-bottom-width:0;
}
body#WebCal #CreatorInfo {
    float:right;
    font-size:12px;
    margin:-24px 10px 0 0;
}
.calendar thead tr th.weekend, 
.calendar thead tr th.weekday {
    color:#333;
    background-color:#EEE;
    border-style:solid;
    border-width:0 0 1px 0;
    border-color:#999;
}
.calendar thead tr th.saturday, 
.calendar thead tr th.sunday { }
.calendar tfoot tr td {
    padding:.7em 5% 1em 5%;
    border-top:solid 4px #999;
}
.calendar tfoot tr td {
    vertical-align:middle;
    color:#333;
    background-color:#EEE;
}

/* Calendar : Date Numeral */
.calendar tbody tr td div.date {
    float:right;
    display:block;
    width:1.8em;
    font-weight:bold;
    font-size:1em;
    line-height:100%;
    text-align:center;
    color:#333;
    margin:0 0 0 .5em;
    padding:.2em 0;
    background-color:#CCC;
}

/* Calendar : Date Container */
.calendar tbody tr td {
    vertical-align:top;
    height:10em;
    padding:0;
    border-width:1px 0 0 1px;
    border-style:solid;
    border-color:#CCC;
}
.calendar tbody tr td.weekday {
    background-color:#FFF;
}
.calendar tbody tr td.weekend {
    background-color:#EEE;
}
.calendar tbody tr td.saturday {

 }
.calendar tbody tr td:first-child {
    border-left:none;
}
.calendar tbody tr:first-child td {
    border-top:none;
}

/* Calendar : Date Detail */
.calendar tbody tr td ul {
    list-style:none;
    font-family:sans-serif;
    font-size:.8em;
    margin:2.3em 0 .3em 0;
    padding:0;
}
.calendar tbody tr td ul li {
    display:block;
    width:92%;
    margin:0 4%;
    padding:.2em 0 .3em 0;
    border-top:dashed 1px #C1B398;
}
.calendar tbody tr td ul li:first-child {
    border:none;
}

/* Calendar : Birthday, Anniversary, Highlight */
.calendar tbody tr td ul li em {
    font-style:normal;
    color:#0A65B5;
}
.calendar tbody tr td ul li span.yearsmarried em {
    color:#453619;
}
.calendar tbody tr td.highlight {
    background-color:#E5F2FE;
}
.calendar tbody tr td.highlight div.date {
    color:#0A65B5;
    background-color:#C2E1FE;
}

/* Calendar : Previous-Next Month */
.calendar tbody tr td.previous, 
.calendar tbody tr td.next, 
.calendar tbody tr td.previous div.date, 
.calendar tbody tr td.next div.date {
    color:#CCC;
    background-color:#EEE;
}

/* Calendar : Full Year */
body#fullyearlinked div.content {
    width:963px;
    margin:0 auto;
    padding:15px 0 2px 2px;
}
body#fullyearlinked table.calendar {
    float:left;
    width:320px;
    height:18em;
    border:solid 1px #7D5925;
}
body#fullyearlinked table.calendar thead tr th {
    height:2em;
}
body#fullyearlinked table.calendar thead tr th.monthName {
    font-size:1.2em;
    padding:2px 0;
}
body#fullyearlinked table.calendar tbody tr td {
    height:3em;
}

/* Calendar: OneDay 
--------------------------------------------------------------------------------- */
body#OneDay h3 {
    color: #000;
    font-weight: bold;
    text-align: center;
}
table.oneday {
    margin: .3em 0 .3em 0;
    padding: 0;
}
table.oneday tbody tr td {
    border-bottom: dashed 1px #000;
}
table.oneday tbody tr td.ColumnRowLabel {
    width: 5%;
}
table.oneday tbody tr td.ColumnText {
    width: 85%;
}
table.oneday tbody tr td.ColumnEvent {
    width: 10%;
}
