﻿body {
    background-color: white;
    
    margin: 0;
    padding: 0;
}

p {
    margin: 1em 20px;
}

a {
    color: #005eae;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* STRUCTURE */
body {
    width: 100%;

    background-image: url('gui/front/background.jpg');
    background-position: center top;
    background-repeat: no-repeat;
}

#content {
    width: 800px;
    padding: 0 20px;
    margin: 60px auto 0 auto;
}

/* MENU */
#menu {
    text-align: center;
    margin: 40px 0;
}
#menu a {
    margin: 0 5px;
}


/* SLIDING MENU */
#slidemenu {
    width: 800px;
    height: 230px;
    
    display: block;
    overflow: hidden;
    list-style: none;
    
    margin: 140px 0 0 0;
    padding: 0;
}
#slidemenu li {
    float: left;
    
    display: inline;
    overflow: hidden;
    
    margin: 0;
    padding: 0;
    
    background-position: left center;
}
#slidemenu li a {
    display: block;
    position: relative;
    
    width: 100%;
    height: 230px;
    
    color: White;
    text-decoration: none;
}
#slidemenu li a:hover {
    text-decoration: none;
}

.slide-clemens {
    background-image: url('gui/front/slider-clemens.jpg');
}
.slide-serena {
    background-image: url('gui/front/slider-serena.jpg');
}
.slide-lukas {
    background-image: url('gui/front/slider-lukas.jpg');
}
.slide-lorenz {
    background-image: url('gui/front/slider-lorenz.jpg');
}


/* BUTTONS */
#button-bar {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #111;
}
div.button {
    float: left;
    width: 266px;
    height: 120px;
}
div.button a {
    position: relative;
    display: block;
    height: 120px;
    overflow: hidden;
    
    color: White;
    text-decoration: none;
    
    background: #111;
}
div.button a:hover {
    text-decoration: none;
    
    background: #333;
}

.button-about {
    height: 120px;
    background-image: url('gui/front/button_about.png');
    background-position: left center;
    background-repeat: no-repeat;
}
.button-genealogy {
    height: 120px;
    background-image: url('gui/front/button_genealogy.png');
    background-position: left center;
    background-repeat: no-repeat;
}
.button-feeds {
    height: 120px;
    background-image: url('gui/front/button_feed.png');
    background-position: left center;
    background-repeat: no-repeat;
}


/* MENU & BUTTON CONTAINERS */
.container {
    position: absolute;
    bottom: 6px;
    left: 6px;
}
span.name {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap;
}
span.description {
    display: block;
    font-size: 0.8em;
    white-space: nowrap;
    letter-spacing: 0.1em;
}



/* SEARCH */
.query {
	text-align: center;
	margin: 10px 0 30px 0;
	padding: 0 0 10px 0;
	border-bottom: solid 1px #999;
}
.constraint-wrapper {
	float: right;
	padding: 8px;
	background: #DDD;
	border: solid 1px #999;
}
.constraint-box {
	margin: 0 0 6px 0;
}
.results-summary {
	font-weight: bold;
}
.search-result {
	margin: 0 0 8px 0;
	font-size: 0.9em;
	color: #666;
}
.search-result .title {
	font-size: 1.1em;
}
.search-result .author {
	color: black;
}
.search-result .section {
	color: black;
}

.navigation {
	text-align: center;
}
.navigation span {
	margin: 0 0.3em;
}
.navigation .current {
	font-weight: bold;
}


/* CONTENT */
h1 {
    font-size: 2.5em;
    font-weight: 100;
    text-align: center;
    
    margin: 0;
    padding: 20px;
}

h2 {
    font-size: 1.75em;
    font-weight: 100;
    
    margin: 0;
    padding: 20px;
}

table {
    width: 100%;
    padding: 0;
    margin: 0;
}
tr {
    padding: 0;
    margin: 0;
}
td {
    padding: 0;
    margin: 0;
}