html, body{
    height: 100%;
}
body, h1, h2, h3, ul, li{
    margin: 0;
    padding: 0;
}
body{
    background: url("../images/background.jpg") repeat-y;
    background-position: center;
    background-size: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #fad850;
    position: relative;
} 
header{
    width: 100%;
    height: 275px;
    -webkit-box-shadow: 0 5px 6px 8px #111;
    box-shadow: 0 5px 6px 8px #111;
}
header, .subheader, .content-wrapper{
    background:#053380;
    background: -moz-linear-gradient(#053380, #0152a1);
    background: -webkit-linear-gradient(#053380, #0152a1);
    background: -o-linear-gradient(#053380, #0152a1);
    background: -ms-linear-gradient(#053380, #0152a1);
    background: linear-gradient(#053380, #0152a1);
}
header .container{
    width:1200px;
    height: 275px;
    margin: auto;
    background: url("../images/header.png") no-repeat;
    background-position: center top;
    background-size: 100%;
    background-position: center;
}
.wrapper{
    width: 1140px;
    margin: auto;
    margin-top: -20px;
    margin-bottom: -130px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
    z-index: 5;
}
.content-wrapper{
    padding: 20px;
    margin: 10px 25px 0 25px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
}
nav{
    display: block;
    width: 100%;
    min-height: 60px;
    max-height: 60px;
    border-bottom: 1px solid #b50164;
    color: #fad850;
    line-height: 60px;
    vertical-align: middle;
    overflow: hidden;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    transition: max-height 0.5s;
}
nav, .wrapper{
    background:#b50164;
    background: -moz-linear-gradient(#b50164, #ea22cd);
    background: -webkit-linear-gradient(#b50164, #ea22cd);
    background: -o-linear-gradient(#b50164, #ea22cd);
    background: -ms-linear-gradient(#b50164, #ea22cd);
    background: linear-gradient(#b50164, #ea22cd);
}
nav{
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.5);
}
nav a{
    color: #ffd900;
    text-decoration: none;
    display: inline-block;
    padding: 0 10px;
}
nav a:hover, nav a.active, nav a:focus{
    text-decoration: underline;
}
ul{
    list-style: none;
}
li{
    display: inline-block;
}
.nav-check{
    display: none;
}
.nav-handle {
    display: none;
    cursor: pointer;
    position: absolute;
    border: 1px solid #ffd900;
    width: 36px;
    height: 36px;
    border-radius: 3px;
    margin: 12px;
    right: 12px;
}
.nav-handle span{
    display: block;
    width: 80%;
    height: 2px;
    border-radius: 1px;
    background: #ffd900;
    margin: 7px auto;
}
.nav-handle span:first-of-type{
    margin-top: 9px;
}
.subheader{
    width: 100%;
    min-height: 140px;
    padding: 30px 0 0;
    margin-top: 1px;
}
.subheader p{
    padding: 0 15px;
    margin: 10px 15px 0;
}
.subheader h1{
    color: #fad850;
    margin: 0 30px;
    font-weight: bold;
    font-size: 48px
}
.image-wrapper{
    width: 100%;
    background: url("../images/stern_trans.png") no-repeat;
    background-position: center;
}
.main{
    padding-bottom: 25px;  
}
.main img{
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.5);
}
.main-img{
    display:block;
    margin:auto;
    position: relative;
    top: -25px;
}
p{
    padding: 0 30px;
}
p:last-of-type{
    padding-bottom: 40px
}
.image-row{
    padding: 15px 30px;
}
.image-row img{
    display: inline-block;
}
.image-row img:first-of-type{
    margin-right: 50px;
}
footer{
    height: 230px;
    width: 100%;
    background: #000;
    background: -moz-linear-gradient(#222, #000);
    background: -webkit-linear-gradient(#222, #000);
    background: -o-linear-gradient(#222, #000);
    background: -ms-linear-gradient(#222, #000);
    background: linear-gradient(#222, #000);
    position: relative;
    z-index: -1;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.5);
}
footer img{
    display:block;
    margin: auto;
    padding-top: 150px;
}
.button{
    width:320px;
    height: 60px;
    border-radius: 20px;
    border: 1px solid #fff;
    background: #95f580;
    background: -moz-linear-gradient(#95f580,#15ad22,#24de33);
    background: -webkit-linear-gradient(#95f580,#15ad22,#24de33);
    background: -o-linear-gradient(#95f580,#15ad22,#24de33);
    background: -ms-linear-gradient(#95f580,#24de33,#24de33);
    background: linear-gradient(#95f580,#15ad22,#24de33);
    display: block;
    margin: auto;
    line-height: 60px;
    vertical-align: middle;
    text-align: center;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    position: relative;
    top: -140px;
    margin-bottom: -60px;
}
a.button{
    color: #fff;
    text-decoration: none;
}
.stern{
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    background-position-y: -2px;
    background: url("../images/stern.gif") no-repeat;
    background-size: 95%;
    vertical-align: middle;
    margin-left: 3px
}
@media screen and (max-width: 1220px) {
    header .container{
        width:100%;
        background-position: top;
        background-color: #0152a1;
    }
    .wrapper{
        width: 95%;
    }
    .main-img{
        width: 80%;
    }
    .image-row img{
        width: 46.5%
    }
}
@media screen and (max-width: 1024px) {
    header .container{
        height: 225px;
    }
    header{
        height: 225px;
    }
    .image-row img{
        width: 460px;
        padding: 0;
        margin: auto;
        margin-bottom: 40px;
        display:block
    }
    .image-row img:first-of-type{
        margin-right: auto;
    }
    .image-row img:last-of-type{
        margin-bottom: 0;
    }
}
@media screen and (max-width: 768px) {
    header .container{
        width:100%;
        background-size: 120%
    }
    header{
        height: 200px;
    }
    footer img{
        width: 100%;
        height: auto;
    }
    .image-row img{
        width: 98%;
    }
    .nav-handle {
        display: block;
    }
    nav li{
        display: none;
    }
    #nav-check:checked + nav{
        max-height: 350px;
    }
    #nav-check:checked + nav li{
        display: block;
    }
}
@media screen and (max-width: 480px)
{
    header .container{
        height: 130px;
        background-size: 130%;
    }
    header{
        height: 130px;
    }
    p{
        padding: 0 5px;
    }
    .button{
        width:240px;
        height: 50px;
        line-height: 50px;
        top: -70px;
    }
    .stern{
        width: 40px;
        height: 50px;
        line-height: 50px;
        background: url("../images/stern.gif") no-repeat;
        background-size: 100%;
        background-position-y: 5px;
        vertical-align: middle;
    }
    body{
        font-size: 100%
    }
    .subheader h1{
        font-size: 200%
    }
    .image-row{
        padding: 5px 0;
    }
    .image-row img{
        width: 100%;
        margin-bottom: 10px;
    }
    .wrapper{
        width: 96%;
    }
    .content-wrapper{
        padding: 20px 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .main-img{
        width: 90%
    }
}
@media screen and (max-width: 320px)
{
    header .container{
        background-size: 140%;
        height: 110px;
    }
    header{
        height: 110px;
    }   
}
.overlay{
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow:hidden;
}
.ov-content{
    background-color: #fff;
    padding: 20px;
    width: 70%;
    height: 90%;
    display:inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);  
}
#adCloser{
    position: absolute;
    top: 1px;
    right: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsSAAALEgHS3X78AAAA40lEQVR4nK3TIUuDURTG8R84RBg42QcwDcEyZMmkZc1kMQmLRrPRtrBksBtsgtEkmC0LBpNpGkTGQBA2Qa/lhHe6+b5zhlOee57/vfc890opmafmMo8BUMFh1OqPRnZibXfqCXCOhKtv+hqG+MD2b4AV9AKyl9GvQ+vkzgDN2OkJy9gP8x0WCw0RJ2E6wzNG2CicApZwH5CEo5ljxEUG0JwJgFYYe/jEI6qFAKjhFe9o4DRgl7kAlHAbhuPQyngI7SAP0I7GLkoZfSuifcP6tKe8iT5eUJ9wtQ4GuMHC/3+mv9YXSsg740VHLGYAAAAASUVORK5CYII=');
}
.nosc{
    overflow-y: no-display;
    overflow: hidden;
}