@font-face {
	font-family: 'Gentium';
	src: url('../resources/GenR102.eot');
	src: url('../resources/GenR102.eot?#iefix') format('embedded-opentype'),
         url('../resources/GenR102.woff') format('woff'),
         url('../resources/GenR102.ttf') format('truetype'),
         url('../resources/GenR102.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

html {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #555;
    font-family: 'Gentium', sans-serif;
    font-size: 18px;
    text-decoration: none;
}

#view_id {
    padding: 0px;
    background: #f8f8f8;
    min-width: 1024px;
}



a {
    color: #555;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    color: #5F85B0;
    text-decoration: none;
}



img {
    border: 0px;
}



h1 {
    text-decoration: none;
    margin-top: 0px;
}

h2 {
    margin: 20px 0px 5px 0px;
}



table {
    border-spacing: 0px;
    width: 100%;
    table-layout: auto;
    padding: 20px;
    font-size: 14px;
}

table tr {
    text-align: left;
    padding: 5px;
}

table tr th {
    color: #F00;
    font-weight: normal;
    border-bottom: 1px solid #CCC;
}

table tr td {
    vertical-align: top;
}

.table_subheader_row {
    color: #FFF;
    background-color: #DDD;
    text-align: center;
    font-size: 16px;
}

table tr td img {
    vertical-align: middle;
}

.table_data_left_aligned {
    text-align: left;
}

.table_data_center_aligned {
    text-align: center;
}

.table_data_right_aligned {
    text-align: right;
}

#combined_header_id {
    background: url( ../resources/Background.png );
    padding: 0px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 7px 0 #f3f3f3;
}

/*Header*/
#header_id {
    
}

#header_inner_id {
    margin: 0px auto;
    padding: 40px 10px;
    width: 800px;
    text-align: center;
}

#header_emblem_left_id {
    display: inline-block;
    width: 128px;
    height: 128px;
    text-align: center;
    vertical-align: middle;
}

#header_emblem_left_id img {
    max-height: 128px;
    max-width: 128px;
    vertical-align: middle;
    display: inline-block;
}

#header_text_id {
    vertical-align: middle;
    text-align: center;
    padding: 0px 10px;
}

#header_text_id h1 {
    font-size: 42px;
    padding: 0px;
    margin: 0px;
    white-space: normal;
}



/*Menu*/
#menu_id {
    text-align: center;
    margin: 0px auto;
    padding: 20px 10px;
    width: 800px;
}

#menu_row_id {
    display: inline-block;
    list-style: none;
    color: #CCC;
    height: auto;
    margin: 0px;
    padding: 0;
    font-size: 0px;
}

.menu_item {
    float: left;
    margin: 0px;
    padding-top: 5px;
    font-size: 20px;
    background: #DDD;
    border-top: 1px solid #BBB;
}

.menu_item:hover {
    background: #5F85B0;
}

.menu_item a {
    font-size: 24px;
    color: #555;
    padding: 10px 10px;
    display: block;
    text-decoration: none;
    background: #FFF;
    border-top: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
}

.menu_item a:hover {
    color: #5F85B0;
}



/*Content*/
#content_id {
    margin: 0px auto;
    padding: 40px 10px;
    width: 800px;
    clear: both;
}



.home_page .main_heading {
    display: none;
}



/*Page subsections*/
.page_subsection {
    margin-top: 10px;
    padding: 0px;
    font-size: 14px;
    overflow: auto;
}

.page_subsection h1 {
    margin-top: 0px;
}

.page_subsection h2 {
    margin: 5px;
    padding: 5px 5px 5px 5px;
    border-bottom: 1px solid #CCC;
}

.subsectionHiddenForPrivacy {
    margin: 5px;
}



/*List pages*/
.person_list_page .main_heading {
    display: none;
}

.person_list_page #paging_menu_row_id, .family_list_page #paging_menu_row_id {
    text-align: center;
    margin: 5px;
}

.person_list_page .paging_menu_item, .family_list_page .paging_menu_item {
    list-style: none;
    display: inline-block;
}

.person_list_page .paging_menu_item a, .family_list_page .paging_menu_item a {
}

.family_list_page .main_heading {
    display: none;
}

.source_list_page .main_heading {
    display: none;
}



/*Person page*/
.person_page .main_heading img {
    float: right;
    max-height: 128px;
    max-width: 128px;
}

.person_page .main_heading {
    overflow: auto;
    padding: 10px;
    text-decoration: none;
    margin-top: 0px;
}

#person_chart_canvas_id {
    margin: 5px auto;
    display: block;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}



/*Media subsection*/
.media_subsection {
    margin: 0px;
    padding: 20px;
    overflow: auto;
}

.media_subsection h3 {
    color: #FFF;
    background-color: #DDD;
    text-align: center;
    font-weight: normal;
    margin: 0px 0px 5px 0px;
    padding: 1px;
    overflow: auto;
    font-size: 16px;
}

.media_subsection > div {
    overflow: auto;
}

.media_div {
    position: relative;
    float: left;
    width: 148px;
    height: 150px;
    padding: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-right: 20px;
    line-height: 148px;
}

.media_div p {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    line-height: 16px;
    margin: 0px;
    
    background-color: rgba(0, 0, 0, 0.5);
    color: #EEE;
    font-weight: lighter;
    font-size: 12px;
    overflow: hidden;
    width: 100%;
    height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.media_div:hover p {
    display: block;
}


.media_div img {
    max-width: 128px;
    max-height: 128px;
    height: auto;
    margin: 2px;
    vertical-align: middle;
}

.media_div a {
    display: block;
    text-align: center;
}

.media_div a:hover {
    background-color: #DDD;
}



/*Homepage*/
#home_page_creation_date_id {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #888;
}

#gedcom_file_id {
    text-align: center;
    margin-bottom: 10px;
    margin: 5px;
    padding: 5px;
}

#gedcom_file_id a {
    display: inline-block;
}

#home_page_comment_id {
    margin-top: 10px;
    padding: 0px;
    font-size: 14px;
}

#home_page_comment_id h2 {
    margin: 5px;
    padding: 5px;
    border-bottom: 1px solid #CCC;
}

#home_page_comment_id div {
    margin: 5px;
    padding: 5px;
}



/*Mediapage*/
#media_view_subsection_id {
    text-align: center;
    margin: 10px;
}

#media_view_subsection_id a {
    display: inline-block;
}

#media_view_subsection_id img {
    display:block;
    margin: 10px auto;
    max-width: 500px;
}

#media_view_subsection_id object {
    outline: none;
}

/*Contactpage*/
.contact_page .page_subsection {
    margin-top: 10px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    min-width: 400px;
    max-width: 500px;
}

.contact_page .page_subsection table tr th {
    border-bottom: 0px;
}

/*Chartpage*/
#chart_view_subsection_id {
    overflow: auto;
    margin: 10px;
}

#chart_view_subsection_id img {
    margin: 0px auto;
    max-width: 500px;
    display: block;
}

/*Statisticspage*/
.statistics_page .page_subsection {
    margin-top: 10px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
}

.statistics_page td {
	width: 50%;
}

.statistics_page td:nth-child(2) {
	text-align: center;
}

.statistics_page .page_subsection table tr th {
    border-bottom: 0px;
}

.statistic_chart {
    margin: 5px;
}

.statistic_chart h3 {
    padding-bottom: 5px;
    border-bottom: 1px solid #CCC;
}

.statistic_chart div {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.statistic_chart img {
    display: block;
    margin: 0px auto;
}


#combined_footer_id {
    background: url( ../resources/Background.png );
    padding: 0px;
    border-top: 1px solid #ddd;
    box-shadow: 0 -7px 0 #f3f3f3;
}


/*Footer*/
#footer_id {
    margin: 0px auto;
    padding: 40px 10px;
    width: 800px;
    height: 60px;
}

#footer_text_id {
    text-align: center;
    height: 60px;
    vertical-align: middle;
    line-height: 60px;
    overflow: hidden;
    font-size: 24px;
}



/*Language selection*/
#language_id {
    float: right;
    width: 60px;
}

#language_id img {
    height: 32px;
    width: 32px;
    vertical-align: middle;
}

/*Not visible when no mouseover*/
#language_id ul ul {
	display: none;
}

/*Set visible when mouseover*/
#language_id ul li:hover > ul {
    display: block;
    
}

/*Current language hover*/
#language_id ul li:hover {
}

#language_id ul {
    padding: 0px;
    margin: 0px;
	list-style: none;
}

#language_id > ul > li {
	float: left;
    position: relative;
    
}

/*Next language hover*/
#language_id ul li a:hover {
}

#language_id ul li a {
    display: block;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

#language_id ul li {
    display: block;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

#language_id ul ul {
    padding: 0;
	position: absolute;
    bottom: 100%;
}

#language_id ul ul li {
    float: none;
}

/*Markers*/
.not_exported {
    color: #999;
}
