/**
    Responsive
---------------------------------------------------------------------------- */

/**
    Mindestbreite
---------------------------------------------------------------------------- */
@media (max-width: 940px) {

    /**
        Elemente zurücksetzen
    ------------------------------------------------------------------------ */

    .header-inside,
    .mod_breadcrumb,
    .main-inside,
    .navbar-inner,
    .hauptnavigation-inner,
    #hauptnavigation-inner,
    #search-container fieldset,
    .footer-inside{
        width: 95%;
    }

    /**  Startseite  **/
    #zitat{ position: absolute; top:350px; }
    .startseite .main-inside{
        padding-top: 530px
    }
    .startseite .teaser{
        width: 100%;
        top  : 280px;
        top  : 450px;

        top      : 0;
        position : relative;
    }
    .teaser-inhalt{
        width      : 48%;
        box-sizing : border-box;
    }
    .box-weis {
        padding : 18px 18px 15px;
    }

    /**
        Kopfzeile
        Einleitungstext, etc.
    ------------------------------------------------------------------------ */
    .einleitung{ width : 70%; height: auto; }
    .einleitung figure{ margin-left : -80px }
    .einleitung h2{ font-size: .9em; margin-top:0; }

    /** Inhaltsbereich **/
    #left{ width: 30%; }
    #content{ width: 65%; }

    .col-2{
        width  : 46%;
        float  : left;
        margin : 0 2%;
    }
    .col-2 figure img{ display:block;width: 100%; height:auto; }

    figure.float_above img{
        display:block;width: 100%; height:auto;
    }
    /**
        Fusszeile
    ------------------------------------------------------------------------ */
    #footer .col-right,
    #footer .col-left,
    #footer .col{
        width  : 46%;
        float  : left;
        margin : 0 2%;
        height : 210px;
    }


    /**
        Fusszeile
    ------------------------------------------------------------------------ */
    #footer .col-right,
    #footer .col-left,
    #footer .col{
        width  : 100%;
        float  : none;
        margin : 0 0 20px 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
        height : auto;
    }
    #footer .col-right{
        margin-bottom : 0;
        border-bottom: none;
        padding-bottom: 20px;
    }
    #footer hr{
        display:none;
    }



    /**
        Formulare
    ------------------------------------------------------------------------- */
    label{
        width   : 100%;
        float   : none;
    }
    textarea,
    select,
    input{
        width       : 100%;
        margin-left : 0;
        box-sizing: border-box;
    }
    select,
    input[type="submit"]{
        width       : 100%;
    }
    .explanation,
    .captcha_text,
    .form-error-message{
        width       : 93%;
        margin-left : 0;
    }
}




@media (max-width: 760px) {
    /**
        Startseite

    ------------------------------------------------------------------------ */
    #zitat{ position: absolute; top:350px; }
    .startseite .main-inside{ padding-top: 530px }
    .teaser-inhalt{
        width      : 100%;
        box-sizing : border-box;
        overflow:hidden;
        margin-bottom: 25px;
    }

}
@media (max-width: 650px) {
    /**
        Kopfzeile
    ------------------------------------------------------------------------ */
    #comitas{ top: 20px;}
    .einleitung{ width : 70%; float:left; padding-top:20px; }
    .einleitung h2{ font-size: 1em; font-weight:bold; margin-top: 0; }
    .einleitung figure{ display:none;}
    .comitas{
        width       : 104px;
        padding-top : 50px;
        background  : url(/files/theme/img/comitas_100.png);
    }

    #content{
        width: 100%;
        margin-bottom: 50px;
    }
    #left{
        width: 100%;
    }

    .col-2{
        width  : 100%;
        float  : none;
        margin : 0 0 25px 0;
    }
	
	#ansprechpartner img{
		width:100%;
		height:auto;
		margin-bottom:1.5em;
	}



    /**
        Navigations Leiste im Fuss
    ------------------------------------------------------------------------ */

    /* Wort "Menü" nicht anzeigen  */
    #navbar .navigation{
        padding-top: 2px;
        margin-right: 5px;
    }
    #navbar .navigation-toggler{
        width     : 40px;
        height    : 0;
        padding   : 40px 0 0 0;
        overflow  : hidden;
        background-position: center center;
    }
    #navbar .navigation-toggler .label{ display: none; }
    .navbar-inner{ width: 96% }
    /**
        Icons in navbar
    */
    #navbar .copyright {
        padding-top: 0;
        border-left  : none;
        margin-left  : 0;
        padding-left : 0;
    }

    #navbar .icon-mail,
    #navbar .icon-call {
        display     : block;
        float       : left;
        height      : 0;
        width       : 45px;
        padding     : 45px 0 0 0;
        overflow    : hidden;
        margin      : 0;
        background-position : center center;
        background-repeat   : no-repeat;

    }
    #navbar .icon-mail {
        background-image: url(/files/theme/img/navbar-icon-mail.png);
    }
    #navbar .icon-mail:hover {
        background-image : url(/files/theme/img/navbar-icon-mail_hover.png);
    }
    #navbar .icon-call {
        background-image : url(/files/theme/img/navbar-icon-telefon.png);
    }
    #navbar .icon-call:hover {
        background-image : url(/files/theme/img/navbar-icon-telefon_hover.png);
    }

    #navbar .icon {
        margin-left : 0;
        width       : 45px;
        padding-top : 45px;
    }


    /**
        Fusszeile
    ------------------------------------------------------------------------ */
    #footer .col-right,
    #footer .col-left,
    #footer .col{
        width  : 100%;
        float  : none;
        margin : 0 0 20px 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
        height : auto;
    }
    #footer .col-right{
        margin-bottom : 0;
        border-bottom: none;
        padding-bottom: 20px;
    }
    #footer hr{
        display:none;
    }
}



@media (max-width: 500px) {
    /**
        Kopfzeile
    ------------------------------------------------------------------------ */
    #header{height: 80px;}
    .main-inside{ padding-top: 250px }
    #comitas{ top : 17px;  }
    .einleitung{ width : 150px;}
    .einleitung h2{ font-size: 1.1em; font-weight:700;}
    .einleitung p{display:none; }

    /**
        Startseite
    ------------------------------------------------------------------------ */
    #zitat{ position: absolute; top:180px; }
    .main-inside{ padding-top: 60px }
    .startseite .main-inside{ padding-top: 350px }
    .teaser-inhalt{
        width      : 100%;
        box-sizing : border-box;
        overflow:hidden;
        margin-bottom: 25px;
    }

    /** Inhalte **/
    h1{
        font-size   : 1.8em;
    }
    h2{
        font-size   : 1.4em;
    }
    h3{
        font-size   : 1.2em;
    }
    blockquote p{
        font-size: 1.6em;
    }

    #breadcrumb .has-label{ display:none;}
    #breadcrumb .first{ display:none;}
}
/*
.startseite.isPhone .main-inside{ padding-top:250px; }
.startseite.isPhone .teaser{ position:relative; }
.startseite.isPhone .teaser-inhalt{ width: 100% }
*/