/*******************************************************************/
/* HTML5-Elemente "deklarieren" für die guten IEs ...              */
/*******************************************************************/

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
    display: block;
}

/********************************************************/
/* Basics */
/********************************************************/

* {
    padding: 0;
    margin: 0;
    border: 0;
    text-decoration: none;
}

body, html {
    height: 100%;
}

html {
    overflow-y: scroll; /* Scrollbar vertikal erzwingen (CSS3!) aber IE zeigt eh einen ... */
}

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 0.85em;
    line-height: 1.4em;
    color: #000;
    text-align: left;
    /* Font-Skalierung iOS deaktivieren ... */
    -webkit-text-size-adjust: none;
    background: #dffdf7;
}

/********************************************************/
/* Typografie allgemein */
/********************************************************/

a:link,
a:visited {
    color: #e2001a;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #666;
    text-decoration: none;
}

h1 {
    font-size: 1.5em;
    line-height: 1.2em;
    margin: 0 0 18px 0;
    color: #e2001a;
}

h2 {
    font-size: 1.2em;
    line-height: 1em;
    margin: 0 0 18px 0;
    color: #e2001a;
}

p {
    margin: 0 0 17px 0;
}

/********************************************************/
/* Layout */
/********************************************************/

#kopf {
    position: relative;
    float: left;
    display: block;
    width: 100%;
    height: 175px;

    background: #fff;
}

#headLogo {
    position: relative;
    float: left;
    display: block;
    margin: 35px 0 0 5%;
}

#mobile_nav_on {
    display: none;
}

#container {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    width: 960px;
    max-width: 95%;
    margin: 0 0 0 5%;
    text-align: left;
}

#startclaim {
    position: relative;
    float: left;
    width: 100%;
    display: none;
    margin: 30px 0 0 0;
}

#startclaim a {
    text-decoration: none;
}

#navigation {
    position: relative;
    float: left;
    display: block;
    width: 240px;
    max-width: 25%;
    margin: 30px 0 0 0;
}

#content {
    position: relative;
    float: right;
    display: block;
    width: 660px;
    max-width: 68%;
    margin: 30px 0 0 2%;
}

#rechteSpalte {
    display: none;
}

/********************************************************/
/* Standard-Wrapklasse um Beiträge */
/********************************************************/

#content article.csc-default {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    clear: both;
    margin: 0 0 20px 0;
}

/********************************************************/
/* Fuss und Stopper bei 100% Höhe */
/********************************************************/

#stopper {
    width: 100%;
    height: 1px;
    padding-bottom: 40px;
    clear: both;
}

#fuss {
    height: 40px;
    width: 100%;
    margin: -40px 0 0 0;
    clear: both;
    display: block;
    text-align: left;
    overflow: hidden;

    background: #fff;
}

#fuss p {
    position: relative;
    float: left;
    display: block;
    margin: 12px 0 0 60px;
    margin: 12px 0 0 5%;

}

/********************************************************/
/* Bulletlisten im Inhalt */
/********************************************************/

#content ul, #content ol { /* bullet-listen einrücken */
    margin: 0px 0 17px 20px;
}

#content ul { /* bullet-listen einrücken */
    list-style-type: disc;
}

/* Fürs Bild-Rendering wieder übersteuern: */

article.csc-textpic-imagewrap ul {
    margin: 0 !important;
    list-style-type: none;
}

/********************************************************/
/* Ordered List für Grundsatzerklärungen */
/********************************************************/

#content ol li {
    padding: 0px 0 10px 10px;
}

#content ol li ol {
    margin: 0 0 -10px 15px;
}

#content ol li ol li p {
    margin: 0;
}

/********************************************************/
/* Tabellen-Zellen im Inhalt */
/********************************************************/

#content td {
    vertical-align: top;
}

table.ce-table {
    width: 100%;
}

table.ce-table td,
table.ce-table th {
    padding: 3px 0 5px 0;
    border-top: none;
}

tr.odd {
    background: #c3eee5;
    background: #cefaf1;
}

table th p,
table td p {
	margin-bottom: 0;
}


/********************************************************/
/*  Bildlegende  */
/********************************************************/

#content dd.csc-textpic-caption {
    margin-top: 15px;
}

/********************************************************/
/*  hrs  */
/********************************************************/

hr {
    background-color: #9e9e9e; /* Farbe für Opera und Firefox */
    color: #9e9e9e; /* Farbe für Internet Explorer (IE) */
    border: 0;
    height: 1px;
    overflow: hidden;
}

div.divider {
    height: 1px;
    position: relative;
    display: block;
    overflow: hidden;
    clear: both;
}

/********************************************************************/
/* MOBILE ANPASSUNGEN */
/********************************************************************/

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

    #kopf {
        height: auto;
    }

    #headLogo {
        width: 50%;
        margin: 2%;
    }

    #headLogo img {
        max-width: 100%;
        height: auto;
    }

    #container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #content {
        width: 96%;
        max-width: 96%;
        margin: 20px 2% 0 2%;
    }

    #fuss span.noMobile {
        display: none;
    }

    /**********************************/
    /* Falls Viewport < Container: */
    /* Bildrendering für Galerien: Margins bei letzten Bildern erzwingen */
    /**********************************/
    .bildgal div.csc-textpic .csc-textpic-imagewrap .csc-textpic-imagerow-last .csc-textpic-image {
        margin-bottom: 10px;
    }

    .bildgal div.csc-textpic-imagecolumn.csc-textpic-lastcol, td.csc-textpic-imagecolumn.csc-textpic-lastcol .csc-textpic-image {
        margin-right: 10px;
    }

}

/**********************************/
/* Ab kleine Tablets */
/**********************************/

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

    #navigation {
        display: none;
    }

    #mobile_nav_on {
        position: relative;
        float: right;
        display: block;
        width: 50px;
        height: 50px;
        margin: 45px 5% 0 0;
        display: block;
    }

    #fuss {
        display: none;
    }

    #stopper {
        height: 1px;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    /**********************************/
    /* Bildergaleriern => 3 Bilder nebeneinander */
    /**********************************/
    .bildgal div.csc-textpic-imagecolumn,
    .bildgal div.csc-textpic-firstcol,
    .bildgal div.csc-textpic-lastcol {
        width: 30%;
    }

}

/**********************************/
/* Smartphones quer */
/**********************************/

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

    #mobile_nav_on {
        margin: 35px 5% 0 0;
    }
}

/**********************************/
/* Smartphones hoch */
/**********************************/

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

    #mobile_nav_on {
        margin: 25px 5% 0 0;
    }

    /**********************************/
    /* Bildergaleriern => 2 Bilder nebeneinander */
    /**********************************/
    .bildgal div.csc-textpic-imagecolumn,
    .bildgal div.csc-textpic-firstcol,
    .bildgal div.csc-textpic-lastcol {
        width: 45%;
    }

}

/** justify **/
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-justify {
	text-align: justify;
}
