.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;
    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;
}
#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;
    height:100%;
    width:580px;
    position: relative;


}
.active{
    display: block;
}

#intro-logo{
    display: block;
    margin: 0 auto;
    position: relative;
    top:250px;

}
.summary{
    z-index: 99;
}
#intro-header{
    color:#ffda3e;
    font-size: 36px;
    top:262px;
    position: relative;
    text-align: center;
    font-family: 'Fred Fredburger Headline W04Bl';
    text-transform: uppercase;
    margin: 5px auto 15px;
}
#play-button{
    position: relative;
    top: 263px;
}
#summary-bgd,#summary-header,#summary-description{
    display: block;
    position: absolute;
}
#summary-header,#summary-description{
    text-transform: uppercase;
    text-align: right;
    font-family: 'Fred Fredburger Headline W04Bl';
}
#summary-header{
    line-height: 1;
}
#summary-description{
    text-transform: none;
    width:360px;
    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.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: '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{
    padding: 0 10px;
    color: white;
    font-family: 'Fred Fredburger Headline W04Bl';
    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: absolute;
    left:620px;
    top:30px;

}
.rank{
    font-size: 50px;
    color: #FAB811;
}
#logo{
    padding-top: 30px;
}
@media screen and (max-width: 950px) {
    .counter-container{

        left:590px;


    }

}

@media screen and (max-width: 900px) {


    #hero-left,#hero-right{
        display: none;
    }
    .counter-container{

        left:590px;


    }

}
@media screen and (max-width: 890px) {
    .counter-container{
        top:45px;
        left:574px;
        height:50px;

    }

}
@media screen and (max-width: 768px) {

    .backgrounds,.backgrounds .background {
        width:768px;
        max-width: 100%;
    }
    .counter-container{
        position: static;
        height: 67px;
        margin: 20px auto 0;

    }
    #logo{
        padding-top: 5px;
    }
    .question{
        margin-top: 5px;
        position: static;
    }

}
@media screen and (max-width: 580px) {

    #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: 600px;
        width:100%;
        height: 600px;
    }
    body {

    }
    .page{
        width:320px;
    }

    #intro-header{
        top:250px;
        font-size: 7vw;
        line-height: 1;
        margin: 0 auto 12px;
    }
    #intro-logo{
        top:232px;


    }

    #play-button{
        top:270px;
    }
    .button {

        background-size: 100%;
        width: 320px;
        height: 41px;
    }
    .question{
        width: 100%;
        height: 150px;
        background-size: 100% 100%;
    }
    .type2 .question{
        margin: 40px auto 0;
    }
    .counter-container{
        position: static;
        margin: 64px auto auto;
        height: 48px;

    }
    .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{

    }
    .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;
    }

}
