/* 
 * Microsite iPhone 6 launch
 * Ondrej Kucera
 */

#iphone6-launch {
    max-width: 980px;
    background: #fff;
    font-size: 0;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
}

#iphone6-launch div,
#iphone6-launch p,
#iphone6-launch span,
#iphone6-launch ul {
    font-size: 18px;
    color: #333;
    line-height: 1.5em;
}

#h1c {
    padding: 0;
    min-height: 0;
}

#h1c h1 {
    color: white;
    font-size: 0px;
}

#iphone6-launch h2,
#iphone6-launch h3,
#iphone6-launch h4 {
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    line-height: 1.2em;
    clear: none;
}

#iphone6-launch h2 {
    color: #333;
    color: rgba(51, 51, 51, 0.8);
    font-size: 33px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#iphone6-launch h3 {
    color: #0088cc;
    font-size: 21px;
    padding-top: 15px;
    display: none;
}

#iphone6-launch .banner-top {
    margin: 1px auto;
    border-top: 1px solid rgba(220, 220, 220, 0.5);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
}

#iphone6-launch .banner-top.mobile {
    margin-bottom: 20px;
    display: none;
}

#iphone6-launch .content-main {
    background: #fafafa;
    padding: 20px 20px;
    text-shadow: 1px 1px 0 white;
    font-size: 0;
}

#iphone6-launch .content-contest {
    background: #fff;
    padding: 20px 50px;
    border-top: 1px solid rgba(220, 220, 220, 0.5);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
}

#iphone6-launch .content-contest > img {
    float: right;
}

#iphone6-launch .content-contest > p.contest {
    padding-top: 80px;
    padding-left: 40px;
    font-size: 20px;
}

#iphone6-launch .content-contest .button {
    float: left;
    margin: 20px 0 20px 40px;
}

#iphone6-launch ul {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

#iphone6-launch ul > li {
    color: #414042;
    line-height: 24px;
    font-size: 18px;
    padding: 3px 20px;
    background: url('images/green-bullet.png') no-repeat 5px 10px transparent;
}

#iphone6-launch ul > li > ul {
    list-style: disc;
    padding-left: 20px;
    background: rgb(239, 239, 239);
    padding: 10px 30px;
    border: 1px solid white;    
}

#iphone6-launch ul > li > ul > li {
    color: #414042;
    line-height: 24px;
    font-size: 15px;
    padding: 3px 0;
    background: none;
}

#iphone6-launch ul > li > ul > li > ul {
    list-style: circle;
    border: none;
    padding: 0 0 0 30px;
}

#iphone6-launch a {
    outline: none;
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
    text-shadow: none;
}

#iphone6-launch a:hover {
    text-decoration: none;
    color: #0088cc;
}

#iphone6-launch p {
    margin: 0 !important;
    position: relative;
}

#iphone6-launch img {
    display: block;
    max-width: 100%;
}

#iphone6-launch .centered {
    text-align: center;
}

#iphone6-launch .note {
   display: block; 
   font-size: 13px;
}

#iphone6-launch .photo {
   display: inline-block;
    width: 300px;
    margin: 1px;   
}

#iphone6-launch .over {
    display: block;
    position: absolute;
    top: 60px;
    left: 40px;
    padding: 50px 0;
    width: 50%;
    text-align: center;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    font-size: 22px;
    color: #c00000;
}

#hidden {
   display: none; 
   padding: 0 0 20px;
}

#hidden > ul {
   margin: 0; 
}

#iphone6-launch .clearfix:after {
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}

/**** 
    **********************************
    BUTTONS
    **********************************
*****/

#iphone6-launch .button {
    display: inline-block;
    width: 200px;
    margin: 20px auto;
    padding: 7px 0;
    text-align: center; 
    font-family: Arial, sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none !important;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -ms-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;    
    text-shadow: none;
}

#iphone6-launch .button:hover {
    color: #fff; 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;         
}

#iphone6-launch .button.green {
    background: #99ca38;
    border: 1px solid #85c21b;
}

#iphone6-launch .button.blue {
    background: #15a6e2;
    border: 1px solid #2f8dcd;
}


/**** 
    **********************************
    MOBILE
    **********************************
*****/

#content {
    padding: 0;
}

#content .inner {
    margin: 0;
}

.article {
    padding: 0;
}

#h1c {
    margin: 0;
    max-width: 980px;
}

.inner #h1c > h1:first-child {
    display: none !important;
}

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

    #iphone6-launch .content-contest > img {
        width: 300px;
    }
    
    #iphone6-launch .content-contest > p {
        padding-top: 50px;
        padding-left: 40px;
        font-size: 18px;
    }    

}
  
@media screen and (max-width: 700px) {  
    
    #iphone6-launch .content-main {
        padding: 20px 20px;
    } 
    
    #iphone6-launch .content-contest {
        padding: 20px 20px;
    }
    
}

@media screen and (max-width: 600px) {  
    
    #iphone6-launch .content-contest .button {
        margin: 20px auto;
        display: block;
        clear: both;
        float: none;
    }
    
}

@media screen and (max-width: 580px) {  
    
    #iphone6-launch .content-contest > img {
        max-width: 300px;
        float: none;
        margin: 0 auto;
    }
    
    #iphone6-launch h2 {
        font-size: 28px;
        padding-top: 5px;
    }   
    
    #iphone6-launch .content-contest > p {
        padding-top: 10px;
        padding-left: 0px;
    }    
    
    #iphone6-launch .over {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 110px 0;
    }    
    
}

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

    #iphone6-launch .button {
        width: 150px;
        font-size: 15px;
    }
    
    #iphone6-launch ul > li {
        line-height: 21px;
        font-size: 16px;
    }
    
}

@media screen and (max-width: 380px) {
    
    #iphone6-launch .button {
        margin: 5px auto;
        display: block;
    }
    
    #iphone6-launch h2 {
        font-size: 22px;
    }    
    
}