/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
#ac_ovly,
#altercheck {
    display:none;
}
#ac_ovly.active {
    background:#C69C6D;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:block;
    opacity:0.8;
    z-index: 14;
}
#altercheck.active {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    z-index: 15;
}
#altercheck.active > .container {

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B01110',endColorstr='#D82221' , GradientType=1);
    width:100%;
    padding-top:20px;
    -moz-box-shadow:    0px 5px 14px -2px #000000;
    -webkit-box-shadow: 0px 5px 14px -2px #000000;
    box-shadow:         0px 5px 14px -2px #000000;
    padding-bottom:20px;
    position: relative;
    z-index: 2;
    margin-top: 250px;
    background: #FFFFFF;
}
#altercheck.active > #service_container {

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B01110',endColorstr='#D82221' , GradientType=1);
    margin-top: -20px;
    position: relative;
    z-index: 1;
    background: #FFFFFF;
}
#altercheck.active > #service_container .txt_container {
    padding-left: 20%;
    padding-right: 20%;
    padding-top:50px;
    color:#FFFFFF;
}

#zujung {
    display:none;
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    padding-left:2%;
    padding-right:2%;
    color: #58585A;
    width: 630px;
    padding-top:30px;
}
#frage h2 {
    color: #58585A;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
    font-size: 28px;
    letter-spacing: 0.1em;
    margin: 0px;
    line-height: 110%;
    padding-bottom:30px;
    text-transform: uppercase;
}
#frage .massvoll {
    bottom: -70px;
    left: 50%;
    margin-left: -64px;
    position: absolute;
}
#frage .muster_bot {
    background: url("img/nav_muster_bottom.png") no-repeat scroll 50% 0 rgba(0, 0, 0, 0);
    clear: both;
    height: 17px;
    margin-top: 0px;
    width: 100%;
}

#zujung h2 {
    color: #58585A;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
    font-size: 28px;
    letter-spacing: 0.1em;
    margin: 0px;
    line-height: 110%;
    padding-bottom:30px;
    text-transform: uppercase;
}
#frage {
    color: #58585A;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    width: 630px;
    padding-top:0;
}
#frage .impressum,
#frage .datenschutz,
#frage .nutzung {
    color:#ffffff;
    margin-top:20px;
    display:inline-block;
    font-weight:300;
    font-size:12px;
}
#frage .error {
    display:none;
    background:none 50% 100% no-repeat;
    color: #EDDCB5;
    clear: both;
    display: none;
    font-size: 0.9em;
    height: 29px;
    line-height: 29px;
}
#frage h3 {
    color: #58585A;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
    font-size:16px;
    letter-spacing: 0.1em;
    margin: 0px;
    line-height: 110%;
    padding-bottom:20px;
    text-transform: uppercase;
}
#frage > p {
    padding-left:2%;
    padding-right:2%;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
}
#frage input.datum {
    font-size:40px;
    background-color:transparent;
    border: 1px solid #CCB28D;
    color:#CCB28D;
    padding: 12px 12px;
    width: 65px;
    text-align: center;
    font-weight:300;
}
#frage input.datum#jahr {
    width:75px;
    /*padding-left:24px;
    padding-right:24px;*/
}
#frage input.datum#monat {

}
#frage .weiter {
    border:0 none;
    background:none 50% 100% no-repeat #EDDCB5;
    color: #58585A;
    font-size:16px;
    margin-top:30px;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
    padding-left:20px;
    padding-right:20px;
    -webkit-appearance: none;
    width:290px;
    height:50px;
}
#frage .age_btn {
    /*background:none 50% 100% no-repeat #0f0f0f;*/
    background:none 50% 100% no-repeat transparent;
    color:#58585A;
    border: 1px solid #58585A;
    font-size: 16px;
    margin-top:10px;
    font-family: "FFInfoWebText",Arial,Helvetica sans-serif;
    padding-left:20px;
    padding-right:20px;
    -webkit-appearance: none;
    padding-top: 10px;
    padding-bottom: 10px;
    letter-spacing: 0.125em;
    display:inline-block;
    min-width:60px;
    cursor:pointer;
    margin-bottom:20px;
    text-transform: uppercase;
}

#altercheck .info{
    background: #000;
    color: #fff;
    position: absolute;
    width: 100%;
    height: 50px;
    text-align: center;
    padding-top:20px;
}
#altercheck .info a{
    color:#ffffff;
    font-size:12px;
}
#altercheck .info a.massvoll{
    right:30px;
    position: absolute;
}
#altercheck .logo{

}
#altercheck .logo img {
    height: 110px;
    margin-bottom: 2rem;
}
#frage form{
    padding-bottom:45px;
}
#zujung{
    padding-bottom:45px;
}


#altercheck #service_container {
    padding-top:100px;
    padding-bottom:50px;
    width:100%;
    display:none;
    text-align: center;
}
#altercheck #service_container .center{
    margin: 0 auto;
    max-width: 640px;
    padding-left:24px;
    padding-right:24px;
}
#altercheck #service_container  h1 {
    text-align: center;
    font-size:30px;
    letter-spacing : 3px;
    color : #000000;
    padding-bottom:15px;
    padding-top:15px;
    height:auto;
    line-height:130%;
    text-transform: uppercase;
}
#altercheck #service_container >  .box1 {
    padding:0;
}
#altercheck #service_container  p {
    padding-left:0;
}
#altercheck #service_container p a {
    color:#3d3d3f;
}
#altercheck #service_container  h2 {
    font-size : 20px;
    line-height : 30px;
    color : #58585A;
    padding-bottom:0;
    padding-top:20px;
}
#altercheck #service_container >  {
    margin-left: auto;
    margin-right: auto;
    padding-left:2%;
    padding-right:2%;
    width:96%;
}
#altercheck #service_container.impressum >  {
    max-width: 420px;
}
#altercheck #service_container.nutzung > ,
#altercheck #service_container.datenschutz >  {
    max-width: 1100px;
}

@media only screen and (max-width:960px){
    #altercheck{
        background: #FFF none repeat scroll 0% 0%;
    }
    #altercheck .logo img {
        height: 81px;
        margin-bottom: 1rem;
    }
    #zujung .logo img{
        height:105px;
    }
    #altercheck.active > .container {
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }



    #altercheck.active > .container {
        box-shadow: none;
        margin-top:16px;
    }

    #ac_ovly.active{
        background:#ffffff;
        opacity:1;
    }
    #altercheck .info{
        position:fixed;
        bottom:0px;
    }
    #frage{
        width:auto;
        margin: 0 1.5rem;
        min-height: 670px;
        padding: 0;
    }
    #frage h2 {
        font-size: 20px;
        letter-spacing: .05em;
        padding-bottom: 0;
    }
    #frage p{
        font-size: 1rem;
        line-height: 1.3;
        margin: 1rem 0;
    }
    #zujung{
        width:auto;
        min-height: 670px;
    }
    #altercheck .info{
        height:85px;
    }
    #altercheck .info a.massvoll{
        margin: 30px auto 0px;
        width: 100%;
    }
}
@media only screen and (max-width:960px) and (orientation: landscape) {
    #altercheck.active > .container {
        box-shadow: none;
        margin-top: 16px;
    }

}











@media only screen and (max-width: 600px) {
    #frage h2 {
        font-size: 24px;
    }
}
@media only screen and (max-width: 400px) {
    #altercheck #service_container >  h1 {
        font-size:2em;
    }
    #zujung h2 {
        color: #ffffff;
        font-size: 24px;
    }
}