/* 
    Document   : groundStyle
    Created on : 12.10.2015, 16:54:05
    Author     : oliverzadori
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

body {
/*    background-color: whitesmoke;*/
    font-family: 'Lora', sans-serif !important;
    /* verhindert, dass iOS texte vergrössert, wenn genügend platz ist */
    -webkit-text-size-adjust: none;
    margin: 0px;
    color: #000000;  
    font-size: 0.9em;
}

p {
    font-size: 0.9rem;
}

#wrapper {
    /*min-width: 1020px;*/
    width: 99%;
    max-width: 860px;
    
    margin: 0px auto;
    padding: 0px;
    display: table;
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

header {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#container {
    width:100%;

    display: table-row;

    display: -webkit-box;     
    display: -moz-box;         
    display: -ms-flexbox;      
    display: -webkit-flex;     
    display: flex;  
}


#left, #leftNonResponsive {
    width: 280px;
    display: table-cell;
    display: -webkit
}

#leftNonResponsive {
    float: left;
}

#leftRetail {
    float:left;
    width: 140px;

}

.margin-right20{
    height: 100%;
    width: 20px;
}

#content {
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */

    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
    margin: 0px;
}

#content2{
    width: 98%;
    padding: 1%;
    max-width: 1180px;
    background-color: white
}

#contentStart {
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
    max-width: 1202px;
}

#contentNonResponsive {
    width: auto;
    float: left;
}

#contentNonResponsiveNonFloat {
    width: auto;    
}


.margin-left20{
    height: 100%;
    width: 20px;
    display: table-cell;
}

#right, #rightBanner {
    width: 300px;
    min-width: 300px;
}

#right {
    float: left;
    margin-left: 20px;
}





#containerBanner {
    width:100%;
    max-width: 1200px;
}

#leftBanner {
    width: 280px;
    display: table-cell;
    height: 100%;
}

.margin-right20Banner{
    height: 100%;
    width: 20px;
    display: table-cell;
}

#contentBanner {
    display: table-cell;
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

#rightBanner{
    height: 100%;
    display: table-cell;
}

.margin-bottom20{
    height: 20px;
    width: 100%;
    display: table-row;
}

footer {
    clear: both;
    width: 100%;
    height: auto;
    background-color: white;
}

#content, #contentBanner, #left, #leftBanner, #right {
    vertical-align: top;
}


#leftBanner, #contentBanner {
    background-color: white;
}



.startseiteBoxLeft{
    float: left;
    /*width: 50%;*/
    min-width: 400px;
    margin-right: 10px;
}

.startseiteBoxRight{
    float: right;
    width: 40%;
    min-width: 280px;
    padding: 15px;
    border-color: #cccccc;
    border-width: 8px;
    border-style: solid
}


/* wegen Werbung */
@media only screen and (max-width: 1280px){
/*    #wrapper {
        min-width: 1020px;
        max-width: 1280px;
    }*/
    #right, #rightBanner {
        min-width: 0px;
        max-width: 300px;
        width: 25%;
    }
}
@media only screen and (max-width: 1119px){
/*    #wrapper {
        min-width: 1020px;
        max-width: 1100px;
        width: 99%;
    }*/
    #right, #rightBanner {
        max-width: 300px;
        display: table-cell;
    }
}

/* all Screens smaller than 1020 */
@media only screen and (max-width: 1019px){
/*    #wrapper {
        min-width: 310px;
        margin: 0px;
    }*/
    #left, #leftBanner, #bannerLeft{
        display: none;
        width: 0px;
    }
    .margin-right20, .margin-right20Banner{
        display: none;
        width: 0px;
    }
}


.showU900{
    display: none;
}
@media only screen and (max-width:900px){
    .startseiteBoxLeft{
        width: 100%;
        min-width: 200px;    
    }

    .startseiteBoxRight{
        width: 85%;
        float: left;
        margin-top: 30px;
        min-width: 200px;
    }
    .showU900{
        display: inline;
    }
}




/* iPhone 6 Plus Portrait, 6 Landspace */
/*@media only screen and (max-width: 729px) and (min-width: 500px){*/
@media only screen and (max-width: 729px){
    #right, #rightBanner{
        display: none;
        width: 0px;
    }
    .margin-left20, .margin-left20Banner{
        display: none;
        width: 0px;
    }
    .werbeBannerRightHalfpage160{
        display: none;
        width: 0px;
        margin-left: 0px;
    }


}

@media only screen and (max-width: 650px){
    #content{
        margin: 0px;
    }
/*    #content2{
        border: hidden;
        border: 0px;
        width: 99%;
        padding: 0.5%;
    }*/
}

/* iPhone  6 Landscape,  */
@media only screen and (max-width: 499px) and (min-width: 480px){
    #right, #rightBanner{
        display: none;
        width: 0px;
    }
}


@media only screen and (max-width: 479px){
    #right, #rightBanner{
        display: none;
        width: 0px;
    }

    /* nur als Test: */
    #wrapper, body{
        margin: 0px;
        padding: 0px;
    }
}




a img {
    border: 0px;

}


