html {
    /*  
    background: url(https://uni.de/adventskalender/background_adventskalender2014.jpg) no-repeat center center fixed;
    */
    
    background: url(https://uni.de/adventskalender/img/bg_2000_sepia.jpg) no-repeat center center fixed;
    -indexwebkit-background-size: cover;
    -indexwebkit-background-size: cover;
    background-size: cover;

    font-family: Roboto;
    color: #000;
    font-weight: normal;
    text-decoration: none;
}

img{
    max-width: 100%;
}

#logoContainer{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex; 
    -ms-flex-wrap: nowrap; 
        flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

#logoContainer a{
    -webkit-box-ordinal-group: 2 !important;
        -ms-flex-order: 1 !important;
            order: 1 !important;
}

#logoContainer img{
    min-width: 200px;
    max-width: 200px;
    margin-bottom: 20px;
}

h2#gewinnspielTitel{
    -webkit-box-ordinal-group: 1 !important;
        -ms-flex-order: 0 !important;
            order: 0 !important;
    
    font-family: Parisienne, serif; 
    font-size: 42px; 
    color: #a78d50; 
    font-weight: 100; 

    max-width: 50%; 
    text-align:left; 
   
    background-color: rgba(255,255,255,0.8);

}


div#sponsorenTitel{
      
    background-image: url(https://uni.de/adventskalender/img/goldener-ovaler-rahmen-hochkant2-170.png);
    background-size: 100% 100%;
        
    width: 170px;
    min-height: 228px;
   
    position:absolute;
    top: -150px;
    left: 140px;
}

div#sponsorenTitel p{

    font-family: parisienne; 
    font-weight: 100; 
    color: #a78d50;  
    font-size: 36px;

    position: absolute;
    top: 120px;
    left: 80px;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    font-family: Roboto;
    color: #000;
    font-weight: normal;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.xmasbox {
    width: 80px;
    height: 80px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin: 10px;
}

.wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;

    font-weight: bold;
    text-align: center;

    max-width: 1000px;
    margin: auto;
    padding: 0 10px 0px 10px;
}

.wrapper>* {
    padding: 10px 0px 10px 0px;
    -webkit-box-flex: 1;
        -ms-flex: 1 100%;
            flex: 1 100%;
}

.aside {
    margin: 10px 0px 10px 0px;
}

.header {
    text-align: right;
    margin-top: 10px;
}

.footer {
    padding: 10px 20px 10px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    font-family: Roboto;
    font-size: 12px;
    text-align: left;
}

.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;

    margin: -10px;
  

}

.boxtitle{
    color: #b22d00;
    font-size: 35px;
    padding: 30px; 
    opacity: 1.0;
}

.aside{
   max-width: 380px; 
    background: gold;
    border: 1px solid #A78D50;
    background-color: rgba(255,255,255,1);
     color: #666;
  
}

.aside{
    position: relative;
    margin-top: 70px;
}

.gewinner{
    font-family: Verdana;
    font-size: 12px;
    color: #666;
    margin: 10px 0px 10px 0px;
    font-weight: normal;
    padding: 5px;
    background-color: rgba(255,255,255,0.5);
}


@media all and (max-width: 500px){
    h2{
        font-size: 30px !important;
    }
}


@media all and (max-width: 768px){
    .aside{
        max-width: 90%;
        margin-top: 165px;
        
    }

    h2#gewinnspielTitel{
    -webkit-box-ordinal-group: 1 !important;
        -ms-flex-order: 0 !important;
            order: 0 !important;
    
    font-family: Parisienne, serif; 
    font-size: 42px; 
    color: #a78d50; 
    font-weight: 100; 

     max-width: 100%;
    text-align:left; 
   
    background-color: rgba(255,255,255,0.8);

    }

    #logoContainer{
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    #logoContainer a{
        -webkit-box-ordinal-group: 1 !important;
            -ms-flex-order: 0 !important;
                order: 0 !important;
    }

    #logoContainer h2{
        -webkit-box-ordinal-group: 2 !important;
            -ms-flex-order: 1 !important;
                order: 1 !important;
        margin-top: 30px;
    }

    .main{
         
    }

    div#sponsorenTitel{
         background-image: url(https://uni.de/adventskalender/img/goldener-ovaler-rahmen-unsere-schief2-mit-haken-270.png);
        right: 0px;
        left: 30%;
        width: 200px;
        min-height: 168px;
        
    }
}

@media all and (min-width: 600px) {
   .aside{
        max-width: 90%;
        margin-top: 165px;
        
    }

    div#sponsorenTitel{
         background-image: url(https://uni.de/adventskalender/img/goldener-ovaler-rahmen-unsere-schief2-mit-haken-270.png);
        right: 0px;
        left: 30%;
        width: 200px;
        min-height: 168px;
        
    }
  
}

@media all and (min-width: 980px) {

    .aside{
        -webkit-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
        max-width: 380px;
        margin-left: 20px;
        position: relative;
        margin-top: 10px;
        padding-top: 80px;
       
    }


    p#sponsorenTitel{
        background-color: transparent;
        margin: 10px 0px 20px 0px;
    }

    div#sponsorenTitel{
      
    background-image: url(https://uni.de/adventskalender/img/goldener-ovaler-rahmen-hochkant2-170.png);
    background-size: 100% 100%;
        
    width: 170px;
    min-height: 228px;
   
    position:absolute;
    top: -150px;
    left: 140px;
    }

    .main {
        -webkit-box-flex: 3;
            -ms-flex: 3 0px;
                flex: 3 0px;
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }
       
    .footer {
        -webkit-box-ordinal-group: 5;
            -ms-flex-order: 4;
                order: 4;
    }

    .xmasbox {
        width: 100px;
        height: 100px;
    }

    body {
        padding: 2em;
    }

     h2{
        font-size: 42px;
    }
}



 @media all and (-ms-high-contrast:none){
     .main {
        -webkit-box-flex: auto;
            -ms-flex: auto;
                flex: auto;
        -webkit-box-ordinal-group:0;
            -ms-flex-order: 0;
                order: 0;
    }

     .aside{
        -webkit-box-ordinal-group: 0;
            -ms-flex-order:0;
                order: 0;
        max-width: 100%;
        margin-left: 0px;
        position: relative;
        margin-top: 80px;
        padding-top: 80px;
       
    }

    div#sponsorenTitel{
         background-image: url(https://uni.de/adventskalender/img/goldener-ovaler-rahmen-unsere-schief2-mit-haken-270.png);
        right: 0px;
        left: 30%;
        top: -80px;
        width: 200px;
        min-height: 168px;
        
    }
}

