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

root {
    display:block;
}

body {
    background-color:#F5F5F5;
    font-family: HelveticaNeue-Light, Helvetica-Light, Helvetica Neue, Arial, sans-serif;
    /* verhindert, dass iOS texte vergrössert, wenn genügend platz ist */
    -webkit-text-size-adjust:none;
    margin:0;
    color:#000;
    font-size:.9em;
}

p {
    font-size:.9rem;
}

#wrapper {
    min-width:1020px;
    /*max-width:1420px;*/
    /* wenn kein banner rechts angezeigt wird, dann reicht max-width: 1202px   */
    max-width: 1202px;
    width:99%;
    /*    z-index: 99;*/
    margin:10px auto;
    padding:0;
    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;  
    /* max-width: 1202px; braucht es nur, wenn keine Werbung vorhanden ist*/
    /*    max-width: 1202px;*/

}


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

}

#leftNonResponsive {
    float: left;
}

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

}

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

#content {
    /*    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+ */

    max-width: 900px;

}

#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{
    display: none;
}

#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%;

    /*float: left*/
}

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

#contentBanner {
    display: table-cell;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1; 
}


#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;
}

.werbeBannerTopMaxiboard728AllWidth, .werbeBannerTopMaxiboard728AndMore{
    width: 100%;
    max-width: 728px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;

}

.werbeBannerTopMaxiboard994, .werbeBannerTopMaxiboard994AllWidth{
    max-width: 994px; 
    max-height: 250px; 
    width: 100%; 
    /*    margin-bottom: 30px; 
        margin-top: -10px; 
        margin-left: auto;
        margin-right: auto;*/
    margin: -10px auto 30px auto;
}

.werbeBannerTopMaxiboard994fix{
    max-width: 994px; 
    max-height: 250px; 
    width: 100%; 
    margin-bottom: 30px; 
    margin-top: -10px; 
    margin-left: 0px
}

.werbeBannerTopMaxiboard1000{
    width: 1000px; 
    margin-bottom: 15px; 
    margin-top: -10px; 
    margin-left: auto;
    margin-right: auto;
}
.werbeBannerTopMaxiboard994Sunrise{
    width: 1000px; 
    margin-bottom: 15px; 
    margin-top: -10px; 
    margin-left: auto;
    margin-right: auto;
}


.werbeBannerTopMaxiboard468, .werbeBannerTopMaxiboard728Less{
    display: none;
}

.werbeBannerTopMaxiboardMin993{
    display: none;
    margin: 0;
    width: 0;
}

.werbeBannerRightHalfpage300{
    width: 100%;
    margin-left: 20px;

}
.sticky{
    position: fixed;
    z-index: 9999;
    width: 300px;
    right: 1px
}
.werbeBannerRightHalfpage300Bis1000{
    width: 100%;
    /*    margin-left: 20px;*/
}
.werbeBannerRightHalfpage300fixBis994, .werbeBannerRightHalfpage300fixBis1280{
    width: 300px;
    margin-left: 20px;
}

.werbeBannerRightHalfpage160{
    display: none;
}

.werbeBannerMobileOnly{
    display: none;
}

.werbeBannerRightHalfpage160-300{
    display: block;
    width: 160px;
    margin-left: 20px;

}
.werbeBannerTopMaxiboard728, .werbeBannerTopMaxiboard728middle, .werbeBannerTopMaxiboard728fix, .werbeBannerTopMaxiboard728picture, .werbeBannerTopMaxiboard728-468fix{
    display: none;
}
.werbebannerTop994andMore{
    width: 100%;
    max-width: 994px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;

}
.werbebannerTop994below{
    width: 0;
    display: none; 
    margin-bottom: 0px;
}

.wbRight300bis1000{
    width: 300px;
    display: block;

    -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+ */


}
.wbBis1280{
    display: block;
    width: 100%;
}

.wbBis970{
    display: none;
    width: 0px;
}
.wbUnter970{
    display: none;
    width: 0px;
}

.wBTop600300{
    width: 600px;
    height: 240px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
div.wBTop600300{
    width: 98%;
    text-align: center;
}

@media only screen and (min-width: 1280px){
    .sticky{
        left: 75%

    }
}
/* wegen Werbung */
@media only screen and (max-width: 1280px){
    #wrapper {
        min-width: 1020px;
        max-width: 1280px;
        /*        width: 98%;*/
    }
    #right, #rightBanner {
        min-width: 0px;
        max-width: 300px;
        width: 25%;
    }
    .werbeBannerRightHalfpage300fixBis1280{
        width: 0;
        margin-left: 0;
        display: none;
    }

    .wbBis970{
        display: block;
        width: 100%;
    }
    .wbBis1280{
        display: none;
        width: 0px;
    }

}
@media only screen and (max-width: 1119px){
    #wrapper {
        min-width: 1020px;
        max-width: 1100px;
    }
    #right, #rightBanner {
        max-width: 300px;
        display: table-cell;
    }


    .werbeBannerRightHalfpage160{
        display: block;
        width: 160px;

    }

    .werbeBannerMobileOnly{
        display: block;
        padding-top: 15px
    }
}

/* all Screens smaller than 1020 */
@media only screen and (max-width: 1019px){
    #wrapper {
        /*        width: 98%;*/
        /*        max-width: 100%;*/
        min-width: 310px;
        margin: 0px;


    }
    #left, #leftBanner, #bannerLeft{
        display: none;
        width: 0px;
    }
    .margin-right20, .margin-right20Banner{
        display: none;
        width: 0px;

    }

    .werbeBannerTopMaxiboard994, .werbeBannerTopMaxiboard994AllWidth{
        margin-left: 0px;
        margin-bottom: 20px;
        margin-top: 0px; 
    }
}

@media only screen and (max-width: 1000px){
    .werbeBannerRightHalfpage300Bis1000{
        display: none;
        width: 0px;
        margin-left: 0px;
    }
    .werbeBannerTopMaxiboard1000{
        display: none;
        width: 0px;
    }
    .wbRight300bis1000{
        display: none;
        width: 0px;
    }
}

@media only screen and (max-width: 994px){
    .werbeBannerTopMaxiboard994Sunrise{
        display: none;
        width: 0px;
    }

    .werbeBannerTopMaxiboardMin993{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        width: 320px;
    }

    .werbeBannerTopMaxiboard994fix{
        display: none;
        width: 0px;
    }
    .werbeBannerTopMaxiboard728fix{
        display: block;
        max-width: 728px; 
        max-height: 90px; 
        width: 100%; 
        margin-bottom: 20px; 
    }

    .werbeBannerRightHalfpage300{
        display: none;
        width: 0px;
        margin-left: 0px;
    }


}
@media only screen and (max-width: 993px){
    .werbeBannerRightHalfpage300fixBis994{
        display: none;
        width: 0px;
        margin-left: 0px;
    }
}



@media only screen and (max-width: 993px)  and (min-width: 729px){
    .werbeBannerTopMaxiboard994Coop{
        margin-left: 0px;
        margin-bottom: 20px;
        margin-top: 0px; 
    }
}

.werbeBannerTopMore970{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    width: 970px;
}
.werbeBannerTopBelow970, .werbeBannerTopBelow970Above730, .werbeBannerTop0-970{
    display: none;
    width: 0px;
}

@media only screen and (max-width: 971px){
    .werbeBannerTopMore970{
        display: none;
        width: 0px;
    }
    .werbeBannerTop0-970{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        width: 100%;
        max-width: 970px;
    }
}
@media only screen and (max-width: 975px){

    /*    .werbeBannerTopMore970{
            display: none;
            width: 0px;
        }*/
    .werbeBannerTopBelow970{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        width: 320px;
    }
    .werbeBannerTopBelow970Above730{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        width: 728px;
    }
}

@media only screen and (min-width: 993px){
    .werbeBannerTopMaxiboard994Coop{
        display: none;
        width: 0px;
        height: 0px;
    }
}

@media only screen and (min-width: 993px){
    .werbeBannerTopMaxiboard994Coop{
        display: none;
        width: 0px;
        height: 0px;
    }
}
@media only screen and (max-width: 993px){
    .werbebannerTop994andMore{
        width: 0;
        display: none; 
        margin-bottom: 0px;

    }
    .werbebannerTop994below{
        width: 100%;
        display: block;
        margin-bottom: 10px;

    }
}
@media only screen and (max-width: 993px){
    .wbBis970{
        display: none;
        width: 0px;
    }

    .wbUnter970{
        display: block;
        width: 100%;
    }
}

@media only screen and (max-width: 850px){
    .werbeBannerTopMaxiboard{
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 728px){
    .werbeBannerTopMaxiboard994, .werbeBannerTopMaxiboard728fix, .werbeBannerTopBelow970Above730{
        display: none;
        width: 0px;
        height: 0px;
    }

    .werbeBannerTopMaxiboard994Coop, .werbeBannerTopMaxiboard728AndMore{
        display: none;
        width: 0px;
        height: 0px;
    }
    .werbeBannerTopMaxiboard728, .werbeBannerTopMaxiboard728middle, .werbeBannerTopMaxiboard728picture, .werbeBannerTopMaxiboard728Less{
        display: block;
        max-width: 728px; 

        width: 100%; 
        margin-bottom: 20px; 
    }
}

@media only screen and (max-width: 650px){
    .werbeBannerTopMaxiboard728, .werbeBannerTopMaxiboard728middle{
        margin-bottom: 10px;
    }
    .wBTop600300{
        width: 500px;
        height: 200px;
    }
}

/* 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-left: 0px;*/
    }
    .margin-left20, .margin-left20Banner{
        display: none;
        width: 0px;
    }
    .werbeBannerRightHalfpage160, .werbeBannerRightHalfpage160-300{
        display: none;
        width: 0px;
        margin-left: 0px;
    }
    .werbeBannerTopMaxiboard728-468fix{
        display: block;
        max-width: 468px; 
        max-height: 60px; 
        width: 100%; 
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 520px){
.wBTop600300{
        width: 400px;
        height: 160px;
    }
}

/* iPhone  6 Landscape,  */
@media only screen and (max-width: 499px) and (min-width: 480px){
    /*  für Ausgabetabelle  */

    #right, #rightBanner{
        display: none;
        width: 0px;
    }

}


@media only screen and (max-width: 479px){
    /*  für Ausgabetabelle  */

    #right, #rightBanner{
        display: none;
        width: 0px;
    }

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


    .werbeBannerTopMaxiboard728middle{
        display: none;
    }
    .werbeBannerTopMaxiboard468{
        display: block;
        max-width: 468px; 
        max-height: 60px; 
        width: 100%; 
        margin-bottom: 20px; 
    }
    .werbeBannerTopMaxiboard728-468fix{
        display: none;
        width: 0px;
    }

}
@media only screen and (max-width: 420px){
.wBTop600300{
        width: 350px;
        height: 140px;
    }
}
@media only screen and (max-width: 350px){
.wBTop600300{
        width: 300px;
        height: 120px;
    }
}
.wBTopAllWidthFixedHeight{
    width: 994px; 
    height: 250px; 
    border: none;
}
div.wBTopAllWidthFixedHeight{
    margin: -10px auto 30px auto;
}

@media only screen and (max-width: 1024px){
    .wBTopAllWidthFixedHeight{
        width: 900px; 
        height: 226px; 

    }
    div.wBTopAllWidthFixedHeight{
        margin: 0px auto 30px auto;
    }
}
@media only screen and (max-width: 910px){
    .wBTopAllWidthFixedHeight{
        width: 700px; 
        height: 176px; 
    }
}
@media only screen and (max-width: 715px){
    .wBTopAllWidthFixedHeight{
        width: 500px; 
        height: 126px; 
    }
}
@media only screen and (max-width: 515px){
    .wBTopAllWidthFixedHeight{
        width: 400px; 
        height: 101px; 
    }
}
@media only screen and (max-width: 415px){
    .wBTopAllWidthFixedHeight{
        width: 360px; 
        height: 91px; 
    }
}
@media only screen and (max-width: 375px){
    .wBTopAllWidthFixedHeight{
        width: 310px; 
        height: 81px; 
    }
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

a img {
    border: 0px;

}