html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    color: #FFF;
    font: 90% 'Titillium Web', sans-serif;
    overflow-x: hidden;
}

html {
    background: #000;
}

#wrapper {
    width: 940px;
    margin: 0px auto;
    height: 100%;
}

#header {
    position: relative;
    height: 157px;
}

#logo {
    display: block;
    height: 157px;
    width: 940px;
    background: url(../layouts/neck/header.png) no-repeat;
}

#content {
    /*padding: 20px 34px;*/
}

#menu {
    position: absolute;
    bottom: 10px;
    right: 0;
    height: 33px;
}

#menu ul {
    list-style: none;
    float: right;
    margin: 0px 17px;
    padding: 0px;
    height: 100%;
}

#menu li {
    height: 100%;
    float: left;
}

#menu a {
    display: block;
    height: 100%;
    padding: 0px 20px;
    font-size: 1.6em;
    color: #006189;
    text-decoration: none;
}

#menu a:hover, #menu li.selected a {
    color: #FFFFFF;
}

#submenu {}
#submenu ul {
    margin: 0;
    padding: 10px 30px;
    height: 40px;
    list-style: none outside none;
}
#submenu li {
    float: left;
    margin: 10px 50px 10px 0;
}
#submenu a {
    color: #07A1E1;
    font-size: 1.3em;
    text-decoration: none;
}
#submenu a:hover, #submenu li.selected a {
    color: #FFF;
}

#footer {
    background-color: #07A1E1;
    color: #FFF;
    padding: 0px 30px;
}

#footer p {
    margin: 0px;
    padding: 0px;
    line-height: 35px;
}

#lang {
    position: absolute;
    top: 80px;
    right: 0;
}

#lang ul {
    list-style: none;
    float: right;
    margin: 0px 34px;
    padding: 0px;
    height: 100%;
}

#lang li {
    height: 100%;
    float: left;
    margin-left: 10px;
}

#lang a {
    display: block;
    color: #006189;
    font-size: 1em;
    overflow: hidden;
    text-decoration: none;
}
#lang a:hover, #lang a.selected {
    color: #FFF;
}

/*
#lang a.EN {
    background: url(../layouts/neck/flags/gb.png) no-repeat;
}

#lang a.DE {
    background: url(../layouts/neck/flags/de.png) no-repeat;
}

#lang a.FR {
    background: url(../layouts/neck/flags/fr.png) no-repeat;
}
*/
#slideshow {
    position: relative;
}
#left, #right {
    position: absolute;
    top: 0;
    width: 368px;
    height: 470px;
}
#left {
    top: -157px;
    right: 50%;
    margin-right: 470px;
    background: url(../layouts/neck/left.png) no-repeat 0 0;
}
#right {
    top: -157px;
    left: 50%;
    margin-left: 470px;
    background: url(../layouts/neck/right.png) no-repeat 0 0;
}

/*
Sticky Footer by Ryan Fait
http://ryanfait.com/
*/

#sticky-footer-wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -35px; /* the bottom margin is the negative value of the footer's height */
}
#sticky-footer-push, #footer {
    height: 35px; /* .push must be the same height as .footer */
}

#contentImage {
    margin: -20px 0px 0px -34px;
    width: 1000px;
}

/* Fade Content */
/*
.fadeContent {
    margin: -20px 0px 0px -34px;
    width: 940px;
    height: 527px;
    overflow: hidden;
}

.fadeContent ul {
    display: none;
}
*/
/* fadecontent */
.fadeContent {
    width: 940px;
    height: 313px;
}
.fadeContent > div {
    height: 313px;
    position: relative;
}
.fadeContent > div > div,
.fadeContent > div > div > div {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.fadeContent .image {
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}
.fadeContent .agenda.image {
    cursor: pointer;
}
.fadeContent .text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    color: #FFF;
    /*background-image: url(../layouts/controllers/album/trans-black-40.png);*/
    padding: 0 8px;
    -moz-box-sizing:border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 110px;
}
.fadeContent > ul {
    position: relative;
    display: block;
    text-align: center;
    margin: -30px 0 0 0;
    padding: 0px;
    list-style: none inside none;
    /*margin-top: 10px;*/
    
}
.fadeContent > ul li {
    display: inline-blocK;
    width: 10px;
    /*padding-right: 20px;*/
    height: 10px;
    overflow: hidden;
    background: 0 0 transparent url(../layouts/controllers/album/bullets.png) no-repeat;
    vertical-align: middle;
    margin: 0 2px;
}
.fadeContent > ul li.active {
    background-position: -10px 0;
}
.fadeContent > ul li h1 {
    display: none;
    background: transparent;
}

/* Album */

.gallery .thumbs {
    position: relative;
    width: 580px;
    float: left;
}

.gallery .original {
    text-align: center;
    padding-top: 17px;
}
.gallery > .thumbs > .thumbnail {
    margin: 0 15px 15px 0;
    padding: 1px;
}
.gallery > .thumbs > .thumbnail:hover, .gallery > .thumbs > .thumbnail.selected {
    padding: 0;
    border: 1px solid #07A1E1;
}
.original {
    float: right;
    width: 350px;
}
.original > img {
    max-width: 100%;
}

/* Form */

.form {
    margin: 70px auto 40px auto;
    width: 700px;
}

.form legend {
    display: none;
}

.form .formline {
    margin-bottom: 20px;
}

.form .formline label {
    width: 150px;
    height: 46px;
    line-height: 46px;
    display: block;
    float: left;
    font-weight: bold;
    font-size: 16px;
    color: #07A1E1;
}

.form .formline input, .form .formline textarea {
    border: 1px solid #B2B2B2;
    border-radius: 3px;
    color: #7C7C7C;
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 2px 4px;
    width: 510px;
    height: 40px;
    background: none;
    box-shadow: 1px 1px 3px rgba(85,85,85,60);
}

.form .formline input[type="file"] {
    position: relative;
    padding-left: 2px;
    height: 22px;
    font-size: 14px;
}

.form .formline input[type="submit"] {
    width: 100px;
    height: 30px;
    font-weight: normal;
    border: 1px solid #B2B2B2;
    background: #D8D8D8;
    cursor: pointer;
}
.form .formline input[type="submit"]:hover {
    color: #3C3C3C;
}

.form .formline textarea {
    /*width: 500px;*/
    height: 120px;
}

.form .message {
    margin: 10px 30px 10px 150px;
    padding: 8px;
    border: 1px solid #DDD;
    background-color: #F3F3F3;
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
}

.form .message.error {
    border: 1px solid #900;
    background-color: #F99;
    color: #900;
}

.form .message.success {
    border: 1px solid #090;
    background-color: #9F9;
    color: #090;
}
