/* Anpassungen */

#main-nav ul li a {
    font-size: 20px;
    color: #333;
}

.numbers, h1, h2, h3, h4, h5, h6 {
    font-family: 'Catamaran', sans-serif;
}

h4 {
    line-height: 1.2em;
}

/* Sticky Header */

/* Outline Homepage */

.grey-bg.outline {
    background: #f5f5f5;
    color: black;
}

.tile-1.outline, .tile-2.outline {
    border-bottom: 1px solid #aaa;
}

.bg-grey.conntected-to-image, .conntected-to-image article {
    background: #333;
    color: white;
}

#home h4, .agprjkt.home-kachel-1 h3 {
    font-family: 'Catamaran', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 5px;
}

@media only screen and (max-width: 730px) {

    .imgcredit-right {
        bottom: 180px !important;
    }

}

/* Slider */

/* Suche */

/* Kacheln */

.tile-2 .with-padding {
    padding: 30px 35px 20px 35px
}

/* Themenseiten */

/* Print */

/* responsive  */

/* Image Credits */

.imgcredit-right {
    position: absolute;
    right: 16px;
    z-index: 100;
}

.imgcredit-left {
    position: absolute;
    bottom: 0;
    left: 16px;
}

.imgcredit-left p, .imgcredit-right p {
    font-size: 9px;
}

@media only screen and (min-width: 993px) {

    .imgcredit-right {
        bottom: 0px;
    }

}

/* totally responsive */

@charset "utf-8";

/*Medium devices (landscape tablets):*/
@media only screen and (max-width: 1100px) {

    .conntected-to-image {
        margin-top: 10px;
    }

    #main-nav ul li ul li {
        background-color: #fff;
        z-index: 100;
    }

}

/*Small devices (portrait tablets):*/
@media only screen and (max-width: 668px) {

    .tile-1, .tile-3, .tile-2, .tile-4, .tile-5:not(.lowcontainer) {
        width: -webkit-calc(100% - 20px);
        width: -moz-calc(100% - 20px);
        width: calc(100% - 20px);
        min-height: 205px;
        position: relative;
    }

    .home-kachel-1 img {
        min-height: 227px;
        object-fit: cover;
    }

    h4 {
        font-size: 14px;
    }

    .tile-2 .with-padding, .with-padding.more, .boxed-wrapper {
        padding: 30px 35px 20px 35px !important;
    }

}

/* Extra small devices (phones): */
@media only screen and (max-width: 480px) {

    footer .alignright {
        float: left !important
    }
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0-rainbow.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/* Browser Resets */

/* FlexSlider Necessary Styles
*********************************/

/* Hide the slides before the JS is loaded. Avoids image jumping */

/* Clearfix for the .slides element */

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */

/* FlexSlider Default Theme
*********************************/

/* Direction Nav */

/* Control Nav */

/* only Home, 01.06.22 */

@media only screen and (max-width: 768px) {
    #content {
        padding-right: 20px;
    }

    #home .grey-bg {
        min-height: 165px;
        background-color: #000000aa !important;
        color: white;
    }

    #home .black-text .grey-bg h1, #home .black-text .grey-bg h2, #home .black-text .grey-bg h3, #home .black-text .grey-bg h4, #home .black-text .grey-bg h5, #home .black-text .grey-bg h6, #home .black-text .grey-bg p {
        color: white;
    }

    #home .grey-bg h2, .bottom.boxed h2 {
        text-transform: uppercase;
        font-family: Catamaran;
        font-size: 12.5px !important;
        line-height: 1.76;
        letter-spacing: 0.5px;
        margin: 0;
    }

    #home .grey-bg h3, .grey-bg h4, .bottom.boxed h3, .bottom.boxed h4 {
        font-size: 22px;
    }

}

#home .element {
    overflow: hidden;
}

#home .tile-1.outline, .tile-2.outline {
    border-bottom: 0px;
}

.home-btn {
    background-color: #f5f5f5;
    margin: 9px auto;
    width: 240px;
    text-align: center;
}

.home-btn h2 {
    font-size: 16px;
    display: inline-block;
    padding: 5px 10px;
}

.home-ues h2 {
    text-transform: uppercase;
    font-family: Catamaran;
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 0.6px;
    margin-bottom: 0;
    margin-top: 40px;
    font-weight: 500;
}

.home-kachel-2 h2 {
    text-transform: uppercase;
    font-family: Catamaran;
    font-size: 12.5px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #fff;
}

.home-kachel-2 p {
    font-size: 16px;
    line-height: 1.38;
    letter-spacing: 0.2px;
}

.home-kachel-2 img,
.home-kachel-3 img {
    width: auto;
}

@media only screen and (min-width: 769px) {
    .home-kachel-1 h2 {
        text-transform: uppercase;
        display: inline-block;
        padding: 6px 12px 5px;
        background-color: #e3e3e3;
        font-family: Catamaran;
        font-size: 12.5px !important;
        line-height: 1.3;
        letter-spacing: 0.5px;
        color: #333;
        margin-top: 5px;
    }
}

.home-kachel-1 h2 {
    font-family: Catamaran;
    font-size: 21px;
}

#home .bottom.boxed {
    margin: 20px;
    width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
    padding: 20px 20px 0 20px;
    background-color: #000000CC;
    padding: 20px 20px 0px 20px;
    min-height: 168px;
}