body {
font-family: 'Raleway', sans-serif;
background: #051520;
/*background: #550000;*/
}

h1, h2, h3 {
font-family: 'Raleway', sans-serif;
font-weight: bold;
font-size: 2em;
color: #072132;
text-transform: uppercase;
margin: 0;
padding: 0;
line-height: 150%;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.3em;
}

.wrap {
padding: 0 20px;
}
header {
background: #072132;
height: 80px;
border-bottom: 1px solid #000;
box-shadow: 1px 0 3px rgba(0,0,0,0.5);
border-top: 2px solid white;
box-sizing: border-box;
}
a#logo {
background: url(../img/logo.png) no-repeat center;
width: 251px;
height: 55px;
position: relative;
top: 13px;
float: left;
text-indent: -9999px;
}

nav{
width: calc(100% - 251px);
float: right;
margin-top: -2px;
}
nav ul{
list-style: none;
margin: 0;
padding: 0;
float: right;
}
nav ul li {
float: left;
text-align: center;
padding: 50px 0 0 0;
margin-left: 28px;
border-top: 2px solid rgba(0,0,0,0);
box-sizing: border-box;
transition: all 0.2s ease-in-out;
}
nav ul li:hover {
border-top: 2px solid #FFB413;
}
nav ul li a {
font-size: 1.2em;
text-transform: uppercase;
color: #d1d1d1;
transition: all 0.3s ease-in-out;
text-decoration: none;
float: right;
}
nav ul li a:hover {
color: #fff;
text-decoration: none;
}
nav ul li.active a {
color: #fff;
font-weight: bold;
text-decoration: none;
}
nav ul li.active {
border-top: 2px solid #FFB413;
}
#content  {
    background: #eee;
}
#content .container {
background: #fff;
position: relative;
height: 100%;
}
#content .container:before {
content: ' ';
display: block;
position: absolute;
left: 0;
right: 0;
top: -20px;
height: 20px;
width: 100%;
background: #fff;
}
#content .container:after {
content: ' ';
display: block;
position: absolute;
left: 0;
right: 0;
bottom: -20px;
height: 20px;
width: 100%;
background: #fff;
}
footer {
height: 80px;
background: #051520;
/*background: #550000;*/
color: #efefef;
padding-top: 40px;
}
footer .copyright {
float: left;
}
footer .eprojekt {
float: right;
position: relative;
}
footer .eprojekt a,
footer .copyright a {
    color: #fff;
    font-weight: bold;
}

#slider{
background: #485795 url(../img/pattern_mini.jpg) center / 20%;
background: url('../img/hbg1.jpg') bottom no-repeat;
background-size: cover;
height: 450px;
}
#slider-mini {
background: #485795 url(../img/hbg1.jpg) left bottom / 20%;
background-size: cover;
height: 100px;    
}
#slider .slidercontent {
text-align: center;
padding-top: 90px;
}
#slider .container, #slider-mini .container {
    position: relative;
}
#slider-mini h1 {
text-shadow: 0 0 2px #000;
-moz-text-shadow: 0 0 2px #000;
-webkit-text-shadow: 0 0 2px #000;
color: #fff;
margin: 20px 0;
}
#slider .slidercontent h1, .slidercontent h2 {
text-shadow: 0 0 2px #000;
-moz-text-shadow: 0 0 2px #000;
-webkit-text-shadow: 0 0 2px #000;
display: inline-block;
padding: 5px;
}
#slider .slidercontent h1 {
text-transform: none;
color: #f4f4f4;
font-size: 2.5em;
font-weight: 900;
}
#slider .slidercontent h2 {
text-transform: uppercase;
color: #f4f4f4;
font-size: 1.5em;
}

#facebook-btn {
position: absolute;
right: 0;
top: 6px;
height: 67px;
overflow: hidden;
width: 146px;
background: rgba(255,255,255,0.6);
}

.form-control {
    margin-bottom: 5px;
}

.img-thumbfigure {
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 2px;
}
figure.img {
    padding: 0;
    margin: 0;
    height: 200px;
    overflow: hidden;
    position: relative;
}
figure.img img {
    width: 100% !important;
    height: auto !important;
    position: absolute;
    bottom: 0;
    left: 0;
}
figure.img img.top {
    top: 0;
}

#map {
    display: block;
    height: 300px;
    background: #ccc;
}

.img-gallery {
    padding: 10px 10px;
    background: #f5f5f5;
    border: 1px solid #eee;
    margin: 15px 0;
}
.img-gallery div > div {
    margin-bottom: 5px;
}
.img-gallery img {
    padding: 5px;
    background: #fff;
    border: 1px solid #ddd;
}

.mehr-link {
    display: block;
    text-indent: -9999px;
    width: 100%;
    height: 23px;
    background: url('../img/mehr-link.png') no-repeat;
    background-position: center;
}

@media (min-width: 768px) {
    footer .eprojekt:after {
        content: ' ';
        display: block;
        width: 80px;
        height: 200px;
        background: url('../img/leuchtturm_tr.png') bottom center no-repeat;
        position: absolute;
        bottom: 40px;
        right: -60px;
    }
}
@media (max-width: 991px) { 
    #compassnavi {
        background: url(../img/nav_compass.png) no-repeat;
        background-size: contain;
        width: 40px;
        height: 40px;
        position: absolute;
        right: 20px;
        top: 25px;
    }
}
@media (max-width: 768px) {
    header {
        height: auto;
        position: relative;
    }
    #logo {
        height: 80px !important;
        top:0px !important;
        background-position: left center !important;
        width: 251px;
    }
    #logo, nav {
        float: none;
        clear: both;
    }
    nav {
        width: 100% !important;
    }
    nav ul {
        width:  100%;
    }
    nav ul li {
        float: none;
        padding: 0;
        clear: both;
        margin-left: 0;
        border-top: 2px solid rgba(255, 180, 19, 0.5);
    }
    
    nav ul li a {
        width: 100%;
        padding: 6px 0;
    }
    
    #slider {
        height: 260px;
    }
    #slider h2 {
        display: none;
    }
    #slider .container {
        padding-top:80px;
    }
}

@media (max-width: 480px) {
    #facebook-btn {
        display: none;
    }
    #slider {
        height: 160px;
    }
    #slider .container {
        padding-top: 0;
    }
    .copyright, .eprojekt {
        width: 100%;
        float: none;
        clear: both;
        text-align: center;
    }
}