

/**
    Basis Layout

    <body id="top" class="[CSS-Klasse]">

        <header id="header">
            <div class="header-inside">
                [Kopfzeile]
            </div>
        </header>

        <div id="main" class="clear">
            <div class="main-inside">
                <div id="content">
                    [Hauptspalte]
                </div>

                <div id="left">
                    [Hauptnavigation]
                </div>

            </div>
        </div>

        <footer id="footer">
            <div class="footer-inside">
                [Fusszeile]
            </div>
        </footer>

        <script></script>
    </body>
*/


/**
    Abstand von oben bis Inhalt beginnt. Die Kopfzeile wird per absoluter
    Positionierung nach oben gesetzt.
----------------------------------------------------------------------------- */
html{ height: 100.1% }
body{}

/**
    Äußere Container volle Breite
----------------------------------------------------------------------------- */
#header,
#breadcrumb,
#main,
#footer{
    width    : 100%;
    position : relative;
/*
    outline : 1px solid red;
*/
}

/**
    Inneren Container auf Breite setzen und relative positionieren, damit
    die Inhalte darin wiederum absolut positioniert werden können.
----------------------------------------------------------------------------- */
.header-inside,
.mod_breadcrumb,
.main-inside,
.footer-inside{
    position : relative;
    width    : 940px;
    margin   : auto;
/*
    outline: 1px solid yellow;
*/
}


#breadcrumb{
    position   : absolute;
    top        : 0;
    height     : 25px;
    overflow   : hidden;
    background : url(/files/theme/img/hg-breadcrumb.png);
}
/* .mod_breadcrumb{} */

/**
    Kopfzeile
----------------------------------------------------------------------------- */
#header{
    height           : 105px;
    background-color : #fff;
}

/**
    Elemente in Kopfzeile
----------------------------------------------------------------------------- */
/**  h1#comitas a.comitas  **/
#comitas{
    position : absolute;
    right    : 0;
    top      : 15px;
    margin-bottom:0;
}
.comitas{
    display     : block;
    width       : 177px;
    height      : 0;
    padding-top : 85px;
    overflow    : hidden;
    background  : url(/files/theme/img/comitas.png);
}

/**
 * Einleitungstext
 */
.einleitung{
    width       : 640px;
    height      : 70px;
    overflow    : hidden;
    float       : left;
    padding-top : 15px;
}
.einleitung figure{
    float        : left;
    margin-right : 12px
}


/**
    Inhaltsspalten
----------------------------------------------------------------------------- */
#main{
    background-color : #F3F1E8;
    background-repeat   : no-repeat;
    background-position : center top;
    padding-bottom   : 50px;
    margin-bottom    : 50px;
}

/** Anpassung Mobile Geräte **/
.isDesktop #main {
    /** Abstand nach unten muß Fusszeile + Navigatioinsleiste + optischer Abstand **/
    margin-bottom: 450px;
}

.main-inside{
    padding-top: 65px;
}
/**
 * Auf der Startseite wird der Teaser mit den Subnavigationen
 * absolut positioniert. Deshalb platz von oben für Bild und
 * teaserzeile. Das Bild selbst wird in <style> Block eingelesen.
 *
 * @see templates/pageimages_hintergrundbild
 */
.startseite .main-inside{
    padding-top: 870px;
}

#content{
    width: 620px;
    float: right;
}
.startseite #content{
    width: 100%;
    float: none;
}

#left{
    width : 300px;
    float : left
}


/**
    Navigationsleiste
----------------------------------------------------------------------------- */
#navbar{
    width      : 100%;
    background : #fff;
    box-shadow : 0 0 5px 0 #888;
}
#navbar.fixed{
    position      : fixed;
    z-index       : 10;
    bottom        : 0;
    margin-bottom : 0;
}
.navbar-inner{
    height      : 60px;
    width       : 940px;
    margin      : auto;
}


/**
    Teaser mit Navigation auf der Startseite
----------------------------------------------------------------------------- */
.startseite .teaser{
    padding  : 0;
    position : absolute;
    width    : 100%;
    top      : 505px;
}

.teaser-inhalt{
    width : 410px;
    overflow:hidden;
 }
.teaser-inhalt.left{
    float:left;
}
.teaser-inhalt.right{
    float:right;
}

.teaser-inhalt .btn-container{
    margin:0;
}
.teaser-inhalt .btn-toggle{
    display     : block;
    width       : 42px;
    height      : 0;
    padding-top : 41px;
    overflow    : hidden;
    cursor      : pointer;

    margin: auto;

    background-image  : url(/files/theme/img/btn40x40-hg.png);
    background-repeat : no-repeat;
}
.teaser-inhalt .btn-toggle.active{
    background-position : 0 -41px;
}

/**  Navigation wird erst auf Klick eingefahren  **/
.teaser-inhalt nav{
    height   : 0;
    margin   : 0;
    overflow : hidden;
    margin-left: -25px;
    margin-right: -25px;
}
.teaser-inhalt nav li:first-child {
    margin-top: 15px;
}
.teaser-inhalt nav li:last-child {
    margin-bottom: 20px;
}

/**
    Fusszeile

    Hintergrund und Mindesthöhe
----------------------------------------------------------------------------- */
#footer{
    /*
    */
    background: #fff;
    padding-bottom: 100px;
}
.isDesktop #footer{
    z-index: -1;
    bottom   : 0;
    position : fixed;
    padding-bottom: 0;
}
.footer-inside{}
/**
    Spalten innherhalb Hauptcontainer

    <div class="col col-left">
        ....
    </div>
    <div class="col">
        ....
    </div>
    <div class="col col-right">
        ....
    </div>

    floating muß mit hr.trenner wieder unterbrochen werden

----------------------------------------------------------------------------- */

.cols{
    padding: 38px 0;
}
.cols.linie{
    border     : 0;
    background : url(/files/theme/img/hg-linie.png) bottom left repeat-x;
}

.col{
    width: 220px;
    margin : 0 10px;
    float  : left;
/*
    outline: 1px solid red;
*/
}
.col-2{
    width: 460px;
    margin : 0 10px;
    float  : left;
/*
    outline: 1px solid red;
*/
}
.col-right{
    margin-right : 0;
    float        : right;
}
.col-left{
    margin-left : 0;
}


#cc-container {position:fixed;bottom:0;left:0;z-index:200;width:100%;box-sizing: border-box;padding: 1em;background: black;margin:0;transition: padding 200ms;color: #999;}
#cc-container span {font-weight: normal;float: left;width: 90%; font-size:.9rem}
#cc-link { color: inherit; text-decoration: underline;}
#cc-container span,#cc-button{ padding: .75em 1em; display:inline-block;}
#cc-button{text-decoration: none;float:right;background-color: #FFCC00;color: #333;border-radius: 4px;}
#cc-container.cc-hide {overflow:hidden;height: 0;padding-top:0;padding-bottom:0;}

#customsize img {width: 100%;height: auto;}
