@font-face {
    font-family: 'Gilda Display';
    src: url('../css/GildaDisplay-Regular.ttf') format('truetype');
}/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    margin: auto;
}
body {
    max-width: 1000px;
    min-width: 600px;
    width: 100%;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
    font-family: 'Gilda Display', serif;
    color: #3f4e42;
    background-color: #f8f7ee;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}
#btn-close-modal {
    width: 100%;
    text-align: right;
    cursor: pointer;
    color: #fff;
}
.clear {
    clear: both;
}
.rechts {
    float: right;
    margin-top: -60px;
    margin-right: 120px;
}
.links {
    float: left;
    width: 40%;
    margin-top: -230px;
    margin-left: 265px;
}
.left {
    float: left;
    margin: 2%;
}
.bildRechts {
    margin: 0 0 0 23%;
    float: left;
}
.bildLinks {
    margin: 2% 2% 0 -16%;
    float: left;
}
.annika {
    position: absolute;
    top: 80%;
    left: 4%;
    background: none;
    width: 25%;
    max-width: 300px;
    z-index: 999;
}
.modal-content {
    width: 50%;
    background-color: #f8f7ee;
    padding: 1%;
    margin: auto;
    overflow: scroll;
    border-radius: 3px;
}
.logo {
    top: 0px;
    width: 65%;
    margin: auto;
}
.main {
    width: 80%;
    margin: 2% auto;
    background-color: white;
    padding: 2%;
}
.mitte {
    width: 80%;
    margin: 2% auto;
}
.navi {
    width: 100%;
    background-color: #f8f7ee;
    margin: 2% auto;
    position: sticky;
    height: 40px;
    top: 0;
    z-index: 999;
}
.slider {
    width: 100%;
    margin: 1% auto;
}
a {
    color: #3f4e42;
    text-decoration: none;
}
a:hover {
    color: #67ad21;
    text-decoration: none;
}
a:active {
    color: #67ad21;
    text-decoration: none;
}
.right {
    text-align: center;
}
.absolut {
    position: absolute;
}
.text {
    padding: 2%;
}
h1, h2, h3, h4 {
    font-family: 'Gilda Display', serif;
    text-align: center;
    color: #818070;
    margin: 0;
    padding: 0;
    top: 10px;
}
.head {
    color: #818070;
    font-size: 54px;
    line-height: 72px;
    text-decoration: none;
}
h1 {
    font-size: 54px;
    line-height: 72px;
    text-decoration: none;
}
h1 a {
    font-size: 54px;
    line-height: 72px;
    text-decoration: none;
}
h2 {
    font-size: 22px;
    line-height: 22px;
    white-space: nowrap;
}
h3 {
    font-size: 20px;
    line-height: 20px;
    padding: 2% 0;
    opacity: 0.8;
}
h4 {
    font-size: 18px;
    padding: 1%;
    opacity: 1;
}
.google {
    width: 100%;
    height: 346px;
}
h5 {
    font-size: 1rem;
    color: #8a0a17;
}
h6 {
    font-size: 1rem;
    color: #336600;
}
.column100 {
    width: 100%;
}
.column50 {
    width: 50%;
    float: left;
}
.impressum {
    font-size: 0.8em;
}
.cd-tabs-navigation {
    /* tabbed on top on big devices */
    width: 90%;
    margin: auto;
    background-color: #f8f7ee;
}
.cd-tabs-navigation li {
    float: left;
    list-style: none;
}
.cd-tabs-navigation a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.2em;
    height: 40px;
    line-height: 40px;
    padding: 0 0.4em;
    background-color: #f8f7ee;
}
.cd-tabs-navigation a.selected {
    color: #67ad21;
}
.cd-tabs-navigation a:hover {
    color: #67ad21;
}
.cd-tabs nav {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.cd-tabs {
    position: relative;
    width: 100%;
    margin: 2em auto 0;
}
.cd-tabs-content {
    min-height: 480px;
}
.cd-tabs-content li {
    padding: 2em;
}
.cd-tabs-content {
    min-height: 480px;
}
.cd-tabs-content li {
    padding: 2em;
}
/* -------------------------------- 

Main components 

-------------------------------- */
@media only screen and (min-width: 320px) 
and (max-width: 879px) {

    h1 {
        font-size: 2rem;
    }
    .main {
        width: 90%;
        margin: 0 auto;
        padding: 5px;
    }
    .logo {
        width: 70%;
    }
    .annika {
        display: none;
    }
    ul.cd-tabs-navigation {
        left: -5%;
    }
    .cd-tabs-navigation {
        /* tabbed on top on big devices */
        font-size: 0.75em;
        text-align: right;
        width: 150px;
        min-width: 130px;
        background-color: #f8f7ee;
        list-style: none none;
        left: 0;
        top: 0;
        position: fixed;
        text-align: right;
        z-index: 1000;
        -moz-box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.5);
    }
    .cd-tabs-navigation a {
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 300;
        font-style: italic;
        font-size: 1.2em;
        line-height: 40px;
        padding: 0.2em 0.7em;
        list-style: outside none;
    }
    .links {
        float: left;
        width: 40%;
        margin-top: -150px;
        margin-left: 150px;
    }
}

@media only screen and (min-width: 880px) 
and (max-width: 1024px) {

    header {
        margin: 0 auto;
    }
    h1 {
        font-size: 2rem;
    }
    .main {
        width: 80%;
    }
    .annika {
        left: 2%;
    }
    .links {
        float: left;
        width: 40%;
        margin-top: -190px;
        margin-left: 200px;
    }
    .cd-tabs-navigation a {
        font-size: 1em;
    }
}

@-webkit-keyframes cd-fade-in {

    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes cd-fade-in {

    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes cd-fade-in {

    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
