.preloader-appla{
    position: fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,1);
    display: table;
}
.preloader{

    display: table-cell;
    vertical-align: middle;
    margin: auto;
}

html {
    overflow-x: hidden;
    max-width: 1024px;
    width:100%;
    background: transparent;
    background-color: black;
    height:574px;
    margin:auto;
    text-transform: uppercase;
}
body {

    font-weight: 700;
    color: black;
    text-transform: none;
    height:100%;
    margin: auto;

    overflow-x: hidden;

    text-align: center;

}
.backgrounds{
    width:1024px;
    height: 574px;
    position: absolute;
}
.backgrounds .background {
    width:1024px;
    position: absolute;
    top:0;
    left:0;

    height: 574px;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: center;
    opacity: 0;
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
}

.backgrounds .background.active{
    opacity: 1;

    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
    background-image: url('../img/intro.jpg');
}
.page-containers{
    position: relative;
    margin: 0 auto;


}
.gfx-container{
    pointer-events: none;
    width:100%;
    max-width: 1024px;
    height:574px;
    position: absolute;
    top:0;
    display: none;

}
.gfx{


    height: 574px;
    width:1024px;

    position: relative;
    top: 0;
    left:50%;
    margin-left: -512px;
}
#hero-left,#hero-right{
    display: block;
    margin: auto;
    position: absolute;
    z-index:999;
    pointer-events: none;
}
.abs{
    position: absolute;
    pointer-events: none;
}
.page{
    display: none;
    margin: 0 auto;
    width:600px;
    position: relative;


}
.active{
    display: block;
}

#intro-logo{
    display: block;
    margin: 0 auto;
    position: relative;
    top:256px;

}
.summary{
    z-index: 99;
}
#intro-header{
    color:white;
    font-size: 25px;
    top:252px;
    position: relative;
    text-align: center;
    font-family: 'Fred Fredburger Headline W04Bl';
    text-transform: uppercase;
    margin: 5px auto 15px;
}
#play-button{
    position: relative;
    top: 256px;
}
#summary-bgd,#summary-header,#summary-description{
    display: block;
    position: absolute;
}
#summary-header,#summary-description{
    text-transform: uppercase;
    text-align: left;
    font-family: 'Fred Fredburger Headline W04Bl';
}
#summary-description{
    width:372px;
    font-family: 'Fred Fredburger W04 Bold';
}

#play-again-button{
    position: relative;
}

.button{
    width:415px;
    height:52px;
    text-align: center;
    color:white;
    margin: auto;
    background-image: url('../img/btt_long.png');
}
.no-touch .button:hover,.button.disabled{
    color:black;
    background-image: url('../img/btt_long_on.png');
}
.button.disabled,.image-button.disabled{
    pointer-events: none;
}
.button-inner,.question-inner{
    display: table;
    width:100%;
    height:100%;
}

.image-button{
    display: inline-block;
    width:200px;
    height:121px;
    text-align: center;
    color:white;
    margin: 10px;
    cursor: pointer;
    position: relative;

}
.inner-image-answer{
    width:100%;
    height:100%;
    position: relative;
    background-image: url('../img/image_quiz_assets/image_question_bgd.png');
}
.no-touch .image-button:hover>.inner-image-answer,.image-button.disabled>.inner-image-answer{
    color:black;

    background-image: url('../img/image_quiz_assets/image_question_bgd_on.png');
}
.inner-image-answer p{
    font-family: 'Fred Fredburger W04 Bold';
    cursor: pointer;
    padding-top: 93px;
}
.image-button>img{
    position: absolute;
    left:0;
    top:0;
    display: block;

}

.page.disabled{
    pointer-events: none;
}
.button-inner p{
    text-transform: uppercase;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;

    font-family: 'Fred Fredburger W04 Bold';
}
.answer{
    vertical-align: top;
}
.question{
    box-sizing: border-box;
    margin: 30px auto 10px;
    width:549px;
    height: 151px;

    position: relative;
    background-image: url('../img/quiz-question.png');
}
.question-inner p{
    color: white;
    font-family: 'Fred Fredburger Headline W04Bl';
    display: table-cell;
    vertical-align: middle;
    font-size: 24px;
    text-transform: uppercase;
}

.quiz .button{
    margin: 15px auto;
}
.button.answer{
    position: relative;
}

h2{

    font-size: 40px;
}
h3{
    font-family: 'Fred Fredburger W04 Condensed';
    font-size: 40px;
}
h4{

    font-size: 40px;
}
h5{
    font-family: 'FredFredburgerHeadlineW04Shado';
    font-size: 140px;
}

.counter-container{
    position: absolute;
}
@media screen and (max-width: 900px) {


    #hero-left,#hero-right{
        display: none;
    }

}

@media screen and (max-width: 768px) {

    .backgrounds,.backgrounds .background {
        width:768px;
        max-width: 100%;
    }
    .counter-container{
        position: static;
        margin: 20px auto 0;

    }
    .question{
        margin-top: 5px;
        position: static;
    }

}
@media screen and (max-width: 580px) {

    .backgrounds,.backgrounds .background {
        width:600px;
        max-width: 100%;
    }
    .backgrounds .background {
        width:100%;
    }

    #hero-left,#hero-right{
        display: block;
    }

    .question {
        margin-top: 30px;
    }
    html{
        max-width: 600px;
        width:100%;
        height: 600px;
    }
    body {

    }
    .page{
        width:320px;
    }

    #intro-header{
        top:292px;
        font-size: 5vw;
    }
    #intro-logo{
        top:279px;
        width:320px;

    }
    #play-button{
        top:290px;
    }
    .button {

        background-size: 100%;
        width: 320px;
        height: 40px;
    }
    .question{
        width: 100%;
        height: 150px;
        background-size: 100% 100%;
    }
    .type2 .question{
        margin: 30px auto 0;
    }
    .counter-container{
        position: static;
        margin:     105px auto auto;
        height:55px;
    }
    .gfx-container {

        width:100%;
        height: 600px;
        margin: auto;
    }
    .gfx{

        width: 320px;
        height: 100%;
        left:auto;
        top:0;
        margin: auto;
        position: relative;

    }
    #summary-bgd{
        width:320px;
        height: 287px;
    }
    .image-button{
        vertical-align: top;
        margin: 10px  3px;
        display: inline-block;
        width:150px;
        height: 91px;
    }
    .inner-image-answer{
        background-size: 100% auto;

    }
    .inner-image-answer p{
        padding-top: 68px;
    }
    .image-button img{
        width:150px;
    }
    #hero-left,#hero-right{
        z-index: auto;
    }
    #summary-description {
        width: 284px;
    }

}
