.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:100%;
    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;
    width:100%;
    height:100%;
    overflow: hidden;

}
.gfx-container{
    pointer-events: none;
    width:100%;
    max-width: 1024px;
    height:574px;
    position: absolute;
    top:0;
    display: none;

}
.gfx{

    overflow: hidden;
    height: 574px;
    width:1024px;

    position: relative;
    top: 0;
    left:50%;
    margin-left: -512px;
}
.inner-image-answer>p {
    color: black;
}
#hero-left,#hero-right{
    display: block;
    margin: auto;
    position: absolute;
    z-index:999;
    pointer-events: none;

    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
}

#hero-left{
    left:18px;
    top:268px;
    width:198px;
    height:288px;
    background-image: url('../img/l0.png');

}
#hero-left.answered{
    left:28px;
    top:195px;
    width:190px;
    height:361px;
    background-image: url('../img/l1.png');
}
#hero-right{
    left:827px;
    top:253px;
    width:151px;
    height:302px;
    background-image: url('../img/r0.png');

}
#hero-right.answered{
    left:808px;
    top:211px;
    width:176px;
    height:346px;
    background-image: url('../img/r1.png');
}
#hero-right.w1{
    left:743px;
    top:184px;
    width:328px;
    height:354px;
    background-image: url('../img/h1.png');
}
#hero-right.w2{
    left:751px;
    top:239px;
    width:246px;
    height:301px;
    background-image: url('../img/h2.png');
}

#hero-right.w3{
    left:743px;
    top:167px;
    width:272px;
    height:368px;
    background-image: url('../img/h3.png');
}
#hero-right.w4{
    left:744px;
    top:235px;
    width:261px;
    height:304px;
    background-image: url('../img/h4.png');
}
#summary-bgd{
    position: relative;
    margin: 78px auto 15px;
    width:442px;
    height:397px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0 0 ;
}
#summary-bgd.w1{
    background-image: url('../img/summary1BgdAnswer.png');
}
#summary-bgd.w2{
    background-image: url('../img/summary2BgdAnswer.png');
}
#summary-bgd.w3{
    background-image: url('../img/summary3BgdAnswer.png');
}
#summary-bgd.w4{
    background-image: url('../img/summary4BgdAnswer.png');
}

.abs{
    position: absolute;
    pointer-events: none;
}
.page{
    display: none;
    margin: 0 auto;
    height:100%;
    width:580px;
    position: relative;


}
.active{
    display: block;
}

#intro-logo{
    display: block;
    margin: 0 auto;
    position: relative;
    top:321px;

}
.summary{
    z-index: 99;
}
#intro-header{
    color:white;
    font-size: 30px;
    top:331px;
    position: relative;
    text-align: center;
    font-family: 'Avenir';
    text-transform: uppercase;
    margin: 5px auto 15px;
}
#play-button{
    position: relative;
    top: 332px;
    font-size:30px;
}
#summary-header,#summary-description{
    display: block;
    ;
    color: white;
}
#summary-header,#summary-description{
    text-transform: uppercase;
    text-align: left;
    font-family: 'Fred Fredburger Headline W04Bl';
}
#summary-header{
    font-size: 36px;
    line-height: 1;
    padding: 143px  0 0 40px;
}
#summary-description{
    padding: 10px 0 0 40px;
    font-size: 20px;
    text-transform: none;
    width:380px;
    font-family: 'Fred Fredburger W04 Bold';
}

#play-again-button{
    position: relative;
    font-size: 30px;
}

.button{
    width:375px;
    height:52px;
    text-align: center;
    color:white;
    margin: auto;
    background-image: url('../img/btt.png');
}
.button .answer{

}
.no-touch .button:hover,.button.disabled{
    color:white;
    background-image: url('../img/btt_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:white;

    background-image: url('../img/image_quiz_assets/image_question_bgd_on.png');
}
.inner-image-answer p{
    font-family: 'Avenir';
    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: 'Avenir';
}
.answer{
    vertical-align: top;
}
.question{
    box-sizing: border-box;
    margin: -15px auto 10px;
    width:549px;
    height: 151px;

    position: relative;
    background-image: url('../img/quiz-question.png');
}
.question-inner p{
    padding: 0 10px;
    color: white;
    font-family: 'Avenir';
    display: table-cell;
    vertical-align: middle;
    font-size: 20px;
    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: relative;
    z-index: 20;
    width:175px;
    height:65px;
    background-image: url('../img/quiz_counter.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 0 0 ;
    margin: 15px auto 0;

}
.counter-container p{
    text-align: center;
    font-family: Avenir;
    font-size: 45px;
    line-height: 65px;
    color: white;
}
.rank{
    font-size: 50px;
    color: #FAB811;
}
#logo{
    padding-top: 30px;
}

@media screen and (max-width: 900px) {


    #hero-left,#hero-right{
        display: none;
    }


}
@media screen and (max-width: 890px) {

}
@media screen and (max-width: 768px) {

    .backgrounds,.backgrounds .background {
        width:768px;
        max-width: 100%;
    }

    #logo{
        padding-top: 5px;
    }


}
@media screen and (max-width: 580px) {

    .counter-container p{
        line-height: 50px;
    }
    #logo {
        height: 100px;
        padding-top: 8px;
    }
    .rank{
        font-size: 30px;
        color: #FAB811;
    }

    .backgrounds .background.active{
        background-size: auto 100%;
        background-image: url('../img/intro_m.jpg');
    }


    .backgrounds,.backgrounds .background {
        height:600px;
        width:580px;
        max-width: 100%;
    }
    .backgrounds .background {
        width:100%;
        background-size: auto 100%;
    }

    #hero-left,#hero-right{
        display: block;
    }

    .question {
        margin-top: 30px;
    }
    html{
        max-width: 580px;
        width:100%;
        height: 580px;
    }
    body {

    }
    .page{
        width:320px;
    }

    #intro-header{
        top:310px;
        font-size: 32px;
        line-height: 1;
        margin: 0 auto 12px;
    }
    #intro-logo{
        top:271px;
        width:320px;

    }

    #play-button{
        top:320px;
    }
    .button {

        background-size: 100%;
        width: 320px;
        height: 45px;
    }
    .question{
        z-index: 10;
        width: 100%;
        height: 150px;
        background-size: 100% 100%;
    }
    .type2 .question{
        margin: -12px auto 0;
    }
    .counter-container{

        margin: 145px auto auto;

        width:140px;
        height:50px

    }

    #hero-left{
        left: -13px;
        top: 21px;
        width: 116px;
        height: 288px;
    }
    #hero-left.answered {
        left: 5px;
        top: 0;
        width: 98px;
        background-image: url(../img/l1.png);
    }
    #hero-right {
        left: 226px;
        top: 13px;
        width: 95px;
    }
    #hero-right.answered {
        /* left: 808px; */
        top: 9px;
        left: 226px;
        width: 95px;
        background-image: url(../img/r1.png);
    }

    .counter-container p{
        font-size: 30px;
    }
    .gfx-container {

        width:100%;
        height: 600px;
        margin: auto;
    }
    .gfx{
        overflow:visible;
        width: 320px;
        height: 100%;
        left:auto;
        top:0;
        margin: auto;
        position: relative;

    }
    #summary-bgd {
        position: relative;
        margin: 188px auto 15px;
        width: 320px;
        height: 291px;

    }

    #summary-header {
        font-size: 28px;
        line-height: 1;
        padding: 105px 0 0 28px;
    }
    .image-button{
        vertical-align: top;
        margin: 10px  3px;
        display: inline-block;
        width:150px;
        height: 91px;
    }
    .image-button p{

    }
    .inner-image-answer{

        background-size: 100% auto;

    }
    .inner-image-answer>p{
        color:black;
        padding-top: 68px;
    }
    .image-button img{
        width:150px;
    }
    #hero-left,#hero-right{
        z-index: auto;
    }
    #summary-description {
        padding: 10px 0 0 28px;
        font-size: 16px;
        text-transform: none;
        width: 300px;

    }
    #hero-right.w1 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }

    #hero-right.w2 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
    #hero-right.w3 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
    #hero-right.w4 {
        left: 72PX;
        top: 17PX;
        width: 167px;
        height: 354px;

    }
}
