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

body {
    background-image: -webkit-linear-gradient(#6f6f6f 0%, #2d2d2d 100%);
    background-image: -moz-linear-gradient(#6f6f6f 0%, #2d2d2d 100%);
    background-image: -o-linear-gradient(#6f6f6f 0%, #2d2d2d 100%);
    background-image: linear-gradient(#6f6f6f 0%, #2d2d2d 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    /*color: #336633;*/
	color:#2d2d2d;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: lighter;
    text-decoration: none;
}

#view_id {
    margin: 0 auto;
    padding: 10px;
    max-width: 1004px;
}



a {
    /*color: #336633;*/
	color:#2d2d2d;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    color: #3366FF;
    text-decoration: underline;
}



img {
    border: 0px;
}



h1 {
    text-decoration: none;
    margin-top: 0px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: lighter;
}

h2 {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: lighter;
    margin: 20px 0px 5px 0px;
}



table {
    border-spacing: 0px;
    width: 100%;
    table-layout: auto;
    padding: 20px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: lighter;
    font-size: 14px;
}

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

table tr th {
    /*color: #336633;*/
	color:#2d2d2d;
    font-weight: normal;
    border-bottom: 1px solid #CCC;
}

table tr td {
    vertical-align: top;
}

.table_subheader_row {
    color: #FFFFFF;
    background-color: #669933;
    text-align: center;
    font-weight: bold;
    font-size: 110%;
}

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;
}


/*Header*/
#header_id {
    background: #FFFFFF;
    position: relative;
    padding: 10px;
    border-radius: 30px;
}

#header_inner_id {
    display: table;
    width: 100%;
}

#header_emblem_left_id {
    background: #FFFFFF;
    display: table-cell;
    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 {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 128px;
    padding: 0px 10px;
}

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



/*Menu*/
#menu_id {
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

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

.menu_item {
    float: left;
    margin: 0px;
    font-size: 20px;
}

.menu_item + li {
    border-left: 1px solid #FFFFFF;
}

.menu_item a {
    font-family: 'Helvetica', 'Arial', sans-serif;
	/*font-family:Arial, Helvetica, sans-serif;*/
	font:bold;
    font-size: 16px;
    color: #FFFFFF;
    padding: 0px 10px;
    display: block;
    text-decoration: none;
}

.menu_item a:hover {
    color: #FFF;
}



/*Content*/
#content_id {
    position: relative;
    background: #FFFFFF;
    padding: 20px;
    margin-top: 1px;
    clear: both;
    border-radius: 30px;
}



.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;
    border-radius: 30px;
    
}

.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: #FFFFFF;
    background-color: #669933;
    text-align: center;
    font-weight: normal;
    margin: 0px 0px 5px 0px;
    padding: 1px;
    overflow: auto;
    font-family: 'Helvetica', 'Arial', sans-serif;
    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-family: 'Helvetica', 'Arial', sans-serif;
    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: #669933;
}



/*Homepage*/
#home_page_creation_date_id {
    position: absolute;
    top: 20px;
    right: 20px;
	display:none;
}

#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;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: lighter;
}



/*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;
}




/*Footer*/
#footer_id {
    margin-top: 20px;
    border-radius: 30px;
    background: #FFFFFF;
    height: 60px;
	display:none;
}

#footer_text_id {
    text-align: center;
    height: 60px;
    vertical-align: middle;
    line-height: 60px;
    overflow: hidden;
	display:none;
}



/*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;
    background: #FFFFFF;
    border-radius: 30px;
}

/*Current language hover*/
#language_id ul li:hover {
    background: #FFFFFF;
    border-radius: 30px;
}

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

#language_id > ul > li {
    background: #FFFFFF;
	float: left;
    position: relative;
    border-radius: 30px;
    
}

/*Next language hover*/
#language_id ul li a:hover {
    background: #DDD;
    border-radius: 30px;
}

#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;
}