body {
    position: relative;
    margin: 0;
    padding: 0;
    min-width: 960px;
    height: 100%;
}
#body {
    background-color: #ffffff;
    background-image: url('../img/kranich.png'), url('../img/header_bg.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: center bottom, center top;
    background-attachment: scroll, fixed;
}
#bottom_buttonbar {
    position: absolute;
    bottom: 0px;
    margin: 0;
    width: 100%
}
#content {
    width: 940px;
    margin: 0px 10px;
    position: relative;
}
#display .next,
#display .previous {
    display: block;
    position: absolute;
    top: 0px;
    width: 60px;
    height: 100%;
    margin: 0px;
    padding: 0;
    text-indent: 9999px;
    overflow: hidden;
    opacity: .5;
}
#display .next:hover,
#display .previous:hover {
    opacity: 1;
    transition: all 0.2s ease-out;
}
#display .next {
    background: transparent url(../img/right-arrow.png) no-repeat center center;
    right: 10px;
    z-index: 3;
}
#display .previous {
    background: transparent url(../img/left-arrow.png) no-repeat center center;
    left: 10px;
    z-index: 2
}
#display img {box-shadow: 1px 1px 5px 1px #444;}
#footer {
    width: 920px;
    min-height: 50px;
    margin: 20px auto 0 auto;
    z-index: 30;

    p {text-align: center;}
}
#google_maps {
    position: relative;
    top: 0px;
    left: 0px;
    height: 280px;
    padding: 10px;
    border-radius: 0px 10px 10px 0px;
}
#jumbotron {
    clear: both;
    position: relative;
    padding: 0;
    width: 940px;
    margin: 0 10px 1em 10px;
    z-index: 5;
    min-height: 300px;
    border: none;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-color: #333;
    background-position: center left;
    > h2, > h1 {
        color: #eff0ef;
        text-shadow: 1px 1px 1px #000;
        position: absolute;
        top: 33%;
        left: 10px;
        max-width: 600px;
        margin: 0;
    }
    #teaser_text {
        display: block;
        position: absolute;
        left: 0px;
        bottom: 0px;
        width: 620px;
        color: #FFF;
        background: rgba(0, 0, 0, 0.5);
        padding: 1em;
        border-radius: 0px 0px 0px 10px;

        a:link, a:active, a:visited {color: #fff; text-decoration:underline;}
    }
}
#maincontent {
    margin: 0 auto;
    height: auto !important;
    width: 960px;
    min-height: 800px;
    padding: 10px 0 2em 0;
    position: relative;
    z-index: 19;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.75);
}
#messages {
    clear: both;
    margin: 0 auto;
    padding: 8px 0 0 30px;
    width: 920px;
    list-style: none;

    li.success {
        color: #253324;
        background: #89bd84;
        border: 1px solid #253324;
        border-radius: 10px;
        margin: 10px;
        padding: 10px;
    }
}
#navigation {
    clear: both;
    background: url(../img/navigation-bg.png) no-repeat left top;
    height: 56px;
    margin: 0 auto;
    padding: 8px 35px 0px 25px;
    position: relative;
    width: 900px;
    z-index: 30;

    a {
        background: url(../img/navigation-separator.png) no-repeat right center;
        color: #FFF;
        display: inline-block;
        line-height:50px;
        font-weight: bold;
        height: 50px;
        padding: 0 15px;
        text-decoration: none;
    }

    a:hover, a.active {
        background: url(../img/navigation-hover.png) repeat-x left top;
        color: #3B3B3B;
    }

    li {display: inline;}
}
#recaptcha_widget_div {margin-top: -20px;}
#redbox {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 280px;
    width: 280px;
    border-radius: 0px 10px 10px 0px;
    z-index: 100;
    
    h3 {margin: 0.5em 0;}
    ul li {line-height: 1em; margin-bottom: 0.5em;}
}
#usernav {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    background: black;
    background: linear-gradient(to bottom, #45484d 0%, #000000 100%);
    border-radius: 0 0 0 10px;
    font-size: 14pt;
    color: #FFF;
    padding: 10px 10px;
    z-index: 50;
    box-shadow: -1px -1px 5px 1px rgba(0, 0, 0, 0.75);

    a {color: #FFF;}
}

.comment_picture {
    display: table-cell;
    padding: 0px 10px;
    width: 60px;
    vertical-align: top;
}
.comment_header {
    display: table-cell;
    padding: 0px 10px;
    width: 140px;
    vertical-align: top;
}
.comment_header h3 {margin: 0}
.comment_text {
    display: table-cell;
    padding: 0px 10px;
    width: auto;
    max-width: 700px;
}
.gallery {
    display: inline;
    float: left;
    height: 200px;
    margin: 10px;
    overflow: hidden;
    text-align: center;
    width: 300px;
}
.gallery .thumbnail {
    display: block;
    float: none;
    margin: 5px auto;
}

.game img {
    float:right;
    margin: 0.5em 0 0.5em 1em;
    width: 300px;
    height: auto;
    box-shadow: 1px 1px 5px 1px #444;
}

.game:nth-child(2n+1) img {
    float:left;
    margin-right:1em;
    margin: 0.5em 2em 0.5em 0;
 }

.officer {
    float:left;
    width: 140px;
    margin:5px;
    box-sizing: border-box;
    text-align: center;

    img {
        border: 0;
        border-radius: 50%;
        box-shadow: 1px 1px 5px 1px #444;
        width:130px;
        height:130px;
    }

    .function {font-size:small;margin-top: 0.25em}
}

img.posting_image, img.partner {
  float: left;
  width: 200px;
  height: 120px;
  padding: 2px;
  margin: 0 1em 1em 0;
  border: 1px solid #babdb6;
}


.thumbnail a.delete_image {
    position: absolute;
    right: 4px;
    bottom: 0px;
}
