/* ---------------------------------------------------------------------------- *
 *                           Styles der Basisversion                            *
 * ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- *
 * Änderung des default-Box-Modells aller Elemente auf "border-box"
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * << apply a natural box layout model to all elements >>
 * ---------------------------------------------------------------------------- */
*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

/* ---------------------------------------------------------------------------- */

body {
    background-image: url("../img/hintergrund01.jpg");
    background-repeat: repeat-x;
}

.page-wrapper {
    margin: 0;
    background-color: #fff;
}

header {
    padding: 0px 0px 0px 10px;
    background-image: url("../img/hintergrund02.jpg");
    background-size: contain;
    background-repeat: repeat-x;
}

aside {
    position: relative;
    padding: 0.6em 10px 7em 10px;
    width: 100%;
    margin-left: 0;
}

footer {
    padding: 1.15em 10px 6em 20px;
}

.copy1 {
    position: relative;
    width: 100%;
    line-height: 1.5em;
    text-align: center
}

.copy2 {
    position: relative;
    width: 100%;    
    line-height: 1.5em;
    text-align: center
}

.copy3 {
    position: relative;
    width: 100%;
    line-height: 1.5em;
    text-align: center
}

section {
    padding: 0;
    margin: 0.0em 0px 0.0em 0px;
    text-align: center;
}

.mainContent {
    width: 100%;
    padding: 0em 5px 0.2em 5px;
    text-align: left;
}

li {
    list-style-type:square;
    color: #930628;
}

li span {
    color: #000;
}

.img2 {
    display: none;
}

figure {
    width: 100%;
    text-align: center;
}

.img3 {
    display: none;
}

.img4 {
    display: inline;
}

.img5 {
    display: inline;
    margin-top: 1em;
    margin-bottom: 0.75em;
}

.urlaub {
    padding: 0.5em 1em 0.5em 1em;
    margin: 1.5em 0em 1.5em 0em;
    text-align: center;
    background-color: #F5F5F5;
    border-style: solid;
    border-color: #930628;
    border-width: 1px;
}
/* ---------------------------------------------------------------------------- *
 *                             Textauszeichnungen                               *
 * ---------------------------------------------------------------------------- */
h2 {
    margin: 0.6em 0px;
}

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}


/* ---------------------------------------------------------------------------- *
 *                                  Navigation                                  *
 * ---------------------------------------------------------------------------- */
nav ul {
    margin: 0;
    margin-top: 0em;
    border-top: 1px solid #FFF;
}

nav ul > li {
    margin-left: 0;
}

nav ul > li > a, nav ul > li > strong {
    padding: 0.6em 10px;
    display: block;
    border-bottom: 1px solid #FFF;
}

nav ul a:link {
    text-decoration: none;
}

.links3 {
    position: absolute;
    left: 20px;
    bottom: 2.0em;
    text-decoration: none;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    cursor: pointer;
    padding: 0.357em;
    color: #fff;
    background: #930628;
    border: 1px solid #930628;
}

.first {
    background-color: #930628;
    color: #fff;
    min-width: 6.7em;    
}

/* ---------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                           *
 *                          860px / 16px/em = 53.75em                           *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {
    body {
        font-size: 0.938em;
    }

    
header {
    padding: 0px 0px 0em 10px;
    background-image: url("../img/hintergrund02.jpg");
    background-size: auto;
    background-repeat: repeat-x;
}
    
.box2.teaser2 img5 {
    display: none;
}    
    
/* clearing für die floatenden gleichlangen Spalten (.mainContent und .aside) */
    .main {
        overflow: hidden;
    }

    .mainContent {
        width: 70%;
        float: left;
        padding: 0em 0px 1em 0px;
        border-top: none;
        text-align: left;
    }
    
    aside {
        width: 30%;
        margin-left: 70%;
        padding-top: 2.6em;
/* Trick für gleichlange Spalten  - dazu gehört ein overflow: hidden für den umgeb. Container */
        margin-bottom: -99999px !important;
        padding-bottom: 99999px !important;
    }   
    
    footer {
        width: 100%;
        padding: 2em 20px 6em 20px;
    }

.copy1 {
    line-height: 1.5em;
    text-align: center
}

.copy2 {
    text-align: center
}

.copy3 {
    text-align: center
}

section {
    padding: 0;
    margin: 0 2em 2em 2em;
}

.links3 {
    position: relative;
    left: 0px;
    bottom: -2em;
    text-decoration: none;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    cursor: pointer;
    padding: 0.357em;
    color: #fff;
    background: #930628;
    border: 1px solid #930628;
}

.links3:hover {
    border: 1px solid #4F4F44;
    background-color: #4F4F44;
    color: #FFF;
}

.img1 {
    float: left;
    margin-left: 3%;
}    

.img2 {
    display:inline;
    margin-left: 25%;
}

.img4 {
    display: none;
}
    
.img5 {
    display: inline;
    margin-top: 0em;
    margin-bottom: 0.75em;
}
    
/* ---------------------------------------------------------------------------- *
 *                             Textauszeichnungen                               *
 * ---------------------------------------------------------------------------- */
    h2 {
        font-size: 1.188em;
        line-height: 1.2em;
        margin: 0.3em 0 0;
    }

    p.teasertext {
        margin: 0.8em 0;
    }

    
/* ---------------------------------------------------------------------------- *
 *                                  Navigation                                  *
 * ---------------------------------------------------------------------------- */
    nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        font-size: 1.0em;
        background-color: #C9C9C2;
    }

    nav ul {
        margin: 0 0px;
    }

    nav ul li {
        float: left;
        border-right: 1px solid #fff;
        min-width: 6.7em;
        text-align: center
    }

    nav ul > li > a {
        padding: 1em 10px 1em 10px;
        display: inline-block;
        border-bottom: 0px;
    }
}


/* ---------------------------------------------------------------------------- *
 *                          Styles für kleine  Desktops                         *
 *                           1024px / 16px/em = 64em                            *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 64em) {
    .page-wrapper {
        margin: 0 auto;
        max-width: 66em;
    }  
        
    body {
        font-size: 0.938em;
        background-color: #EFEFED;
    }
}


/* ---------------------------------------------------------------------------- *
 *                          Styles der Desktopversion                           *
 *                           860px / 16px/em = 53.75em                          *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {
    .page-wrapper {
        margin: 0 auto;
        max-width: 66em;
    }  
        
    body {
        font-size: 0.938em;
        background-color: #EFEFED;
    }
}


/* ---------------------------------------------------------------------------- *
 *                 Beispiel Off-Canvas-Navigation im Basis-Layout               *
 *                          (Cloudfour OffCanvasMenu)                           *
 * ---------------------------------------------------------------------------- */
header {
    position: relative;
    }

/* Eigene Anpassungen für den Menü-Trigger-Button */
a.toggle-nav {
    display: block;
    position: absolute;
    right: 5px;
    top: 19em;
    text-decoration: none;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    cursor: pointer;
    padding: 0.357em;
    color: #fff;
    background-color: #930628;
    border: 1px solid #930628;
}

/* Hintergrundfarbe des .off-canvas-menu anpassen */
body.off-canvas-menu #menu {
    background-color: #C9C9C2;
    border-left: 1px solid #FFF;
}

.no-js a.toggle-nav {
    display: none;
}


/* ---------------------------------------------------------------------------- *
 *              Beispiel Off-Canvas-Navigation im Desktop-Layout                *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {
    
    a.toggle-nav {
        display: none;
    }
}

/* ---------------------------------------------------------------------------- *
 *                       Kapitel: Anpassungsfähige Bilder                       *
 *                          860px / 16px/em = 53.75em                           *
 * ---------------------------------------------------------------------------- */
/* Bilder flexibel machen:
 * hier mit max-width: 100%; damit sie nicht größer werden als das Original
 * width: 100%; würde die Bilder immer einpassen, aber u.U. auch aufblähen
 **/
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------------------------------------------------- *
 *                          Styles für Teaserboxen                              *
 * ---------------------------------------------------------------------------- */
/* clearing für floatende Teaserboxen */
section {
    overflow: auto;
}

.box2 {
    margin: 0em 0.0em 0.0em 0em;
    border-bottom: 1px solid rgba(250, 250, 250, 0); /* verhindert das margin-Collapse nach unten */
}

.teaser2 {
    margin: 0;
}

.box2-inner2 {
    padding: 0em 0.0em 0em 0.0em;
    line-height: 1.5em;
    text-align: center;
}

.box2.teaser2 {
    overflow: auto;
    padding: 0 0px 0 0px;
    margin-top: 1em
}

.box3 {
    margin: 0px;
    border-bottom: 1px solid rgba(250, 250, 250, 0); /* verhindert das margin-Collapse nach unten */
    background-color: #FFF;
}

.teaser3 {
    margin: 0px 0px 0px 0px;
    background-color: #FFF;
}

.box3-inner3 {
    padding: 5px 10px 5px 10px;
    line-height: 1.5em;
    background-color: #E4E4E0;
}

.box3.teaser3 {
    overflow: auto;
    padding: 5px 0px 5px 0px;
    margin: 0px;
}

.links5 {
    position: relative;
    text-decoration: none;
    cursor: pointer;
    padding: 0px;
    color: #000;
    background-color: #E4E4E0;
    box-shadow: 4px 4px 10px #4F4F44;
}

/* ---------------------------------------------------------------------------- *
 *                       Teaserboxen mit Bild und Text                          *
 *                Borders und Box-Shadows für größere Auflösungen               *
 *                          410px / 16px/em = 25.625em                          *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 25.625em) and (max-width: 29.9375em){
    
.box2.teaser2 img {
    float: left;
    margin-left: 0px;
}
       
.box2-inner2 {
    padding: 0em 0em 0em 0em;
}

h1  {
    margin-top: 0em;
    line-height: 1.4em;
}
    
.img3 {
    display: none;
}

.img4 {
    display: inline;
    margin-bottom: 1.5em;
}
    
.img5 {
    display: inline;
    margin-top: 1em;
    margin-bottom: 2.5em;
}
    
.box2.teaser2 {
    margin-top: 3em
}

}

/* ---------------------------------------------------------------------------- *
 *                       Teaserboxen mit Bild und Text                          *
 *                Borders und Box-Shadows für größere Auflösungen               *
 *                          480px / 16px/em = 30em                              *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 30em) and (max-width: 39.625em){

    
.box2.teaser2 img {
    float: left;
    max-width: 100%;
    margin-left: 0px;
}
    
    
.box2-inner2 {
    padding: 0em 0em 0em 0em;
}
    
       
h1  {
    margin-top: 1em;
    margin-bottom: 1.5em;
    line-height: 1.5em;
}
    
h2 {
    font-size: 1.188em;
    line-height: 1.5em;
    margin: 0.5em 0 2em 0;
}
    
.img3 {
    display: none;
}

.img4 {
    display: inline;
}
    
.img5 {
    display: inline;
    margin-top: 1em;
    margin-bottom: 2.5em;
}
    
.box2.teaser2 {
    margin-top: 3em
}

}

/* ---------------------------------------------------------------------------- *
 *                  Teaser geht noch über die gesamte Breite,                   *
 *              aber Text rutscht im Teaser rechts neben das Bild               *
 *                          635px / 16px/em = 39.6875em                         *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 39.6875em) and (max-width: 53.75em){


header {
    padding: 0px 0px 0em 10px;
    background-image: url("../img/hintergrund02.jpg");
    background-size: auto;
    background-repeat: repeat-x;
}    
    
figure {
    width: 100%;
    text-align: right;
}
    
.img1 {
    float: left;
    margin-left: 1%;
}
    
.img2 {
    display: inline;
    margin-right: 2%;
}

.img3 {
    display: none;
}
    
.img4 {
    display: none;
}
    
.img5 {
    display: inline;
    margin-top: 0em;
    margin-bottom: 2em;
}
    
.box2.teaser2 img5 {
    display: inline;
}
    
a.toggle-nav {
    top: 24em;
}
    
h1  {
    margin-top: 0em;
}
    
.box2.teaser2 {
    margin-top: 3em
}
    
nav ul {
    margin-top: 0em;
}

}

/* ---------------------------------------------------------------------------- *
 *                       Teaserboxen mit Bild und Text                          *
 *                Borders und Box-Shadows für größere Auflösungen               *
 *                          860px / 16px/em = 53.75em                           *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {

.box2-inner2 {
    padding: 0em 1em 0em 1em;
}
    
.box2.teaser2 {
    margin-top: 3em
}

}