/* 
    Created on : 18.10.2014, 09:31:59
    Author     : Kevin Anders
*/

/* GRUNDLEGENDES */

body {
    font-family: 'Lato', sans-serif;
    background: #230e0c;
    color: #dddddd;
    max-width: 100%;
    min-width: 200px;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    margin: 15px 0;
}

@media screen and (max-width: 440px) {
    h1 {
        font-size: 1.5rem;
    }
}

h2 {
    font-size: 1.7rem;
    margin: 15px 0;
    font-weight: 500;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    color: #92100c;
    transition: all .1s ease;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
}

a:hover {
    color: #601815;
}

p {
    margin: 10px 0;
}

hr {
    display: block;
    margin: 25px 0;
    
    border: 0;
    height: 1px;
    
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

hr.whiteHr {
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.75), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.75), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.75), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.75), rgba(0,0,0,0));
    background-image: linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.75), rgba(0,0,0,0));
}


/* DER KOPFBEREICH */

header {
    display: block;
    width: 100%;
    height: 250px;
    line-height: 2;
    color: #dddddd;
    padding: 0 10px;
    
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

header .grid-4.logo {
    height: 250px;
}

header .grid-4.logo img {
    display: block;
    margin: 0 auto;
    
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

header .headerResponsiveLogo {
    display: none;
}

@media screen and (max-width: 655px) {
    header .headerResponsiveLogo {
        display: inline-block;
    }
    
    header .headerResponsiveLogo img {
        display: block;
        margin: 0 auto;
        
        max-width: 100%;
        max-width: 100%;
        
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
}

header .locationResponsive, div.openingHoursResponsive {
    display: none;
}

@media screen and (max-width: 655px) {
    header div.location, div.logoWeb, div.openingHours {
        display: none;
    }
    
    header div.locationResponsive, div.openingHoursResponsive {
        display: inline-block;
    }
}

header .grid-4:first-of-type {
    padding-top: 30px;
}

header ul {
    list-style: none;
    padding-left: 10px;
    padding-right: 10px;
}

header li {
    display: table-cell;
    vertical-align: middle;
    line-height: 2;
    
    width: 320px;
    height: 250px;
}

@media screen and (max-width: 420px) {
    header li {
        vertical-align: top;
        height: auto;
    }
    
    header ul {
        margin: 30px auto;
        margin-left: 20px;
        padding: 0;
        text-align: center;
    }
}



table {
    margin: 20px 10px;
    width: 100%;
    
}

tr {
    height: 30px;
}

td {
    margin-right: 15px;
    display: table-cell;
}

td:last-of-type {
    margin-right: 0px;
}

/* DIE NAVIGATION */

nav li.menuElementOpeningHours {
    display: none;
}

nav {
    width: 100%;
    height: 45px;
    background: #801713;
    margin-top: 15px;
}

nav a {
    color: #eeeeee;
}

nav ul {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    line-height: 2.6;
}

nav ul li {
    display: inline-block;
    width: auto;
    height: 100%;
    padding: 0 10px;
    cursor: pointer;
    margin-right: 2%;
    
    transition: all .2s ease;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

nav ul  li.right {
    background: #69922e;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -webkit-text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -moz-text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -o-text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

nav ul li.right:hover {
    background: #415d19;
}

@media screen and (max-width: 490px) {
    nav ul li {
        margin-right: 0.8%;
        padding: 0 5px;
        
        font-size: 1rem;
        
    }
    
    nav ul li:last-of-type {
        border-right: none;
    }
}

nav ul li:last-of-type {
    margin-right: 0;
}

nav ul li:hover {
    background: #591210;
}

nav a:hover {
    color: #eeeeee;
}

@media screen and (max-width: 435px) {
    nav li:first-child {
        display: none;
    }
    
    nav li.menuElementOpeningHours {
        display: inline-block;
    }
}

/* DER HAUPT CONTENT-BEREICH */

.mainContentBackground {
    background: url(../images/pattern.jpg) repeat;
    margin: 0px;
    padding: 20px 10px 10px 10px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.mainContent {
    max-width: 960px;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#impressum {
    min-height: 350px;
}

@media screen and (max-width: 959px) {
    .mainContent {
        margin: 0;
    }
}

#googleMap {
    min-height: 400px;
}

/* DIE GALERIE */

.grid-3 img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
    border: 1px solid white;
    
    transition: all .2s ease;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    
    opacity: 1;
    
}

.grid-3 img:hover {
    opacity: 0.8;
}




/* DAS CSS-GRID */

.wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.grid-12 {
    width: 100%;
}

.grid-8 {
    width: 640px;
}

.grid-6 {
    width: 50%;
}

@media screen and (max-width: 420px) {
    .grid-6 {
        width: 100%;
        text-align: center;
    }
    
    .grid-6 table {
        margin: 0;
    }
}

.grid-5 {
   width: 45%;
}

@media screen and (max-width: 640px) {
    .grid-5 {
        width: 49%;
    }
}

@media screen and (max-width: 530px) {
    .grid-5 {
        width: 100%;
        margin: 10px 0;
    }
    
    .grid-5#googleMap {
        width: 80%;
        margin: 0 auto;
        float: none;
    }
}

.grid-4 {
    width: 33.3%;
}

@media screen and (max-width: 530px) {
    .grid-4, footer .grid-4 {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
}

.grid-3 {
    
    width: 25%;
}

@media screen and (max-width: 940px) {
    .grid-3 {
        width: 33.3%;
    }
}

@media screen and (max-width: 730px) {
    .grid-3 {
        width: 50%;
    }
}

.grid-2 {
    width: 160px;
}

.grid-12, .grid-6, .grid-4, .grid-3, .grid-2 {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    
    height: auto;
}

/* ALLGEMEINE KLASSEN */

.left {
    float: left;
}

.right {
    float: right;
}

.backgroundWhite {
    background: rgba(255,255,255,0.9);
}

.textColorDark {
    color: #353535;
}

.testBorder {
    border: 1px solid white;
}

.textCenter {
    text-align: center;
}

.textRight {
    text-align: right;
}

.clearAll {
    clear: both;
}

/* IDs */

#kontakt {
    min-height: 400px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    
    padding: 20px;
}


/* DER FOOTER-BEREICH */

footer {
    width: 100%;
    display: inline-block;
    
    height: auto;
    background: #210504;
    padding: 15px;
    font-size: 0.9rem;
    color: #e9e9e9;
    
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    
    border-top: 2px solid #801713;

}

footer a {
    color: #efd2d1;
}

footer a:hover {
    color: #ff8e8a;
}

.footerWrapper {
    max-width: 960px;
    height: auto;
    display: block;
    margin: 0 auto;
    clear: both;
    
}

.footerWrapper .grid-12 {
    padding-left: -160px;
}

footer img {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 71px;
    
    margin-top: 20px;
    margin-bottom: 20px;
}

.clearFix:after {
    content: '.';
    clear: both;
    visibility: hidden;
    display: block;
    height: 0px;
}

.partner img {
    max-width: 180px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
}

@media screen and (max-width: 600px){
    .partner img {
        max-width: 120px;
    }
}

.advice {
    color: rgba(255,255,255,0.5);
}

