/*Abstände für alle Objekte auf 0 setzen und Schriftart festlegen*/
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
/*Höhe für das gesamte Dokument festlegen*/
html, body{
    height: 100%;
}

/*Hintergrundfarbe für den body festlegen (in der Regel nciht sichtbar, außer bei langer Ladezeit der Seite)*/
body{
    background-color: #f7f9f9;
}
.h2{
    font-size: 1.5em;
    font-weight: bold;
}
.red{
    color: #d9534f;
}

div[spacer]{
    display:none;
}
header#nav-menu, div#slider, .contentsection, footer  {
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding: 15px;
    -moz-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.04);
    -webkit-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.04);
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.04);
}
.light{
    color: #c6c6c6;
}
/*Wrapper definieren: Volle Höhe und Breite, overflow wird abgeschnitten*/
#wrapper{
    width:100%;
    /*max-width: 1100px;*/
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin-bottom: -200px;   
    background-color: #f7f9f9;
    overflow-wrap: normal;
    overflow-x: hidden;
    overflow-y: hidden;
}
header {
    display: block;
    -moz-box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
    background-color: #ecf0f1;
    color: #464242;
    width: 100%;
    height: 100px;
    z-index: 1000;
    margin-bottom: 30px;

}
header::before{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.headerwrapper{
    max-width: 100%;
    margin: 0 auto;
}
@keyframes tosmall {
    0%  {opacity: 0}
    50% {opacity: 1}
    100%{opacity: 1}
}
@keyframes tobig {
    0%   {height: 60px}
    50% {height: 100px}
    100% {height: 100px}
}
header#nav-menu.stick  .headerwrapper , header#nav-menu-sticky.normal {
    display: none;
}
header#nav-menu-sticky.stick {
    height: 60px;
    margin-top: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
        animation-name: tosmall;
        animation-duration: 0.5s;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
header.normal {
    /*    animation-name: tobig;
        animation-duration: 0.5s;*/
}

#headerimage{
    float: left;
    padding-left: 10px;
}
#companylogo {
    color: white;
    background-color: #666666;/* orange: #f8991d;*/		
    display: block;
    padding: 0.5em;
    text-decoration: none;
    float: left;
    height: auto;
}
#companylogo {
    background-image: url(/files/img/LOGO_CB_t.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

#steuerung {
    float: right;
    width: 66.6666%;
    font-size: 0.8em;
    height: 100%;
    margin-top: 30px;
}
#steuerung a:hover {
    border-bottom: 1px solid #444;
    color: #444;
}
#steuerung ul{
    float: right;
    padding-right: 50px;
}
#steuerung li {
    list-style: none;
    float: left;
    height: 100%;
    /*border-left: 2px solid #999999;*/
    text-transform: uppercase;
    padding-right: 20px;
}
#steuerung a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #666;
    /*background-color: #666666;*/
}
header.stick #steuerung {
  margin-top: 20px; 
}
#steuerung li:first-child{
    border-left: none;
}
.menu-button {
    display: none;
}		


/* die Magie, um die Steuerung einzublenden (auch auf mobile Devices) */
#nav-menu:target #steuerung {
    display: block;
}
/* ausblenden des Menü-Buttons zum öffnen - somit wird der zum Schließen sichtbar */
#nav-menu:target .menue-button-beschr-open {
    display: none ; 
}
/* Allgemein Anweisungen */
#content {

    width: 100%;
    margin: 0;
    padding: 0;
}

#slider{
    background-color: #fff;
    margin-bottom: 30px;
    padding-bottom: 0px !important;
}
h1, p {
    margin: 0.5em 0 0 0;
}
.contentsection{
    width: 100%;
    margin-bottom: 30px;
    background-color: #fff;
}

.contentsection[headline]{
    background-color: #fff;
    color: #444;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;


}
/*.contentsection[dark]{
    background-color: #444;
    color: #dddddd;
}
.contentsection[verydark]{
    background-color: #1c1c1c;
    color: #dddddd;
}
.contentsection[light]{
    background-color: #c6c6c6;
}
.contentsection[white]{
    background-color: #fff;
}*/
.contentwrap{
    max-width: 1100px;
    margin: 0 auto;
}

.content_image, .content_image[left]{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.content_image[right]{
    float: right;
    margin-right: 20px;
    margin-bottom: 20px;
}
.content_after_image{

}
.contentwrap{
    margin-left: 20px;
}
.contentwrap:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.push {
    height: 200px;
}
footer{
    background-color: #333;
    position: relative;
    width: 100%;
    height: 170px;
    bottom: 0px;
    z-index: 1000;
}

footer a {
    text-decoration: none;
    color:inherit
}
footer a::before{
    content: ""
}
.footerwrapper{
    padding-top: 30px;
    max-width: 1100px;
    margin: 0 auto;
    color: #c6c6c6;
}
.foorder_1of3{
    float: left;
    width: 32%;
}

.client_logo{
    float: left;
    width: 23%;
    position: relative;
    padding-right: 10%;
}
.client_logo img{
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}
@media only screen and (max-width:600px) {
    .menu-button {
        display: block;
    }
    .menu-button {
        background-color: #666666;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        padding: 0.5em;
        color: white;
        cursor: pointer;
        text-decoration: none;
    }
    #companylogo {
        width: 114px;
        background-image: url(/files/img/LOGO_KAFKE_IT_512.png);
        background-size: 100%;
        background-repeat: no-repeat;
    }
    #steuerung {
        float: left;
        width: 100%;
        display: none;
    }
    #steuerung li {
        width: 100%;
        border-bottom: 2px solid silver;
    }
    .menu-button:hover {
        color: black;
        background: orange;
    }
}