@font-face {
    font-family: 'AvenirNextRoundedStd_Med';
    src: url('font/AvenirNextRoundedStd_Med/AvenirNextRoundedStd_Med.eot');
    src: url('font/AvenirNextRoundedStd_Med/AvenirNextRoundedStd_Med.eot?#iefix') format('embedded-opentype'), url('font/AvenirNextRoundedStd_Med/AvenirNextRoundedStd_Med.woff') format('woff'), url('font/AvenirNextRoundedStd_Med/AvenirNextRoundedStd_Med.ttf') format('truetype'), url('font/AvenirNextRoundedStd_Med/AvenirNextRoundedStd_Med.svg#AvenirNextRoundedStd_Med') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LubalinGraphITCTurner_Bold';
    src: url('font/LubalinGraphITCTurner_Bold/LubalinGraphITCTurner_Bold.eot');
    src: url('font/LubalinGraphITCTurner_Bold/LubalinGraphITCTurner_Bold.eot?#iefix') format('embedded-opentype'), url('font/LubalinGraphITCTurner_Bold/LubalinGraphITCTurner_Bold.woff') format('woff'), url('font/LubalinGraphITCTurner_Bold/LubalinGraphITCTurner_Bold.ttf') format('truetype'), url('font/LubalinGraphITCTurner_Bold/LubalinGraphITCTurner_Bold.svg#LubalinGraphITCTurner_Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* RESET */
* {
    padding: 0;
    border: 0;
    margin: 0;
    outline: none;
    -webkit-border-radius: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
}
html,
body {
    width: 100%;
    height: 100%; /* !!!! IMPORTANT FONTRESET !!! */
    font-size: 62.5%;
    -webkit-text-size-adjust: none;
    font-family: 'AvenirNextRoundedStd_Med', Arial, sans-serif;
    overflow: hidden;
    background-color: #ffffff;
}
body {
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 16px;
    font-size: 1.6rem;
}
body.safari8{
    padding: 0 32px;
}
address,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
input,
textarea,
select,
label,
img {
    display: block;
}
ul {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    font-weight: normal;
}
h1:empty,
h2:empty,
h3:empty,
h4:empty,
h5:empty,
h6:empty,
p:empty,
li:empty,
blockquote:empty {
    display: none;
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
}
a img {
    border: none;
}

/* END RESET */
.t {
    display: table;
    position: relative;
    width: 100%;
}
.t .ti {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}
.inline {
    display: inline-block;
    vertical-align: top;
}
.wrapper {
    width: 100%;
    max-width: 960px;
    position: relative;
    margin: 0 auto;
}
.screen {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    display: none;
    text-align: center;
}
.screen.active{
    display: block;
}
.padding_main {
    width: 100%;
    height: 0;
    padding-bottom: 64.40677966101695%;
}
.game_area {
    position: relative;
    width: 57%;
    vertical-align: top;
}
.game_area .padding {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}
.game .ui {
     width: 37%;
    margin: 0 3%;
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: 88%;
}
.game .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.game .image .hider{
    position: absolute;
    bottom:0;
    height: 3px;
    background-color: #ffffff;
    width: 100%;
    z-index: 2;
}
.game .image .game_tile {
    width: 25%;
    height: 25%;
    display: inline-block;
    vertical-align: top;
    background: #ffffff;
    background-image: url(../images/cover.jpg);
    background-position: 0 0;
    transition: opacity 1s ease-out;
  /*  background-size: 400% auto !important;*/
}
.game .image .game_tile.fade {
    opacity: 0
}

#info_screen .game_tile,
#pausegame_screen .game_tile{
    background-size: 400%;
}
.js_btn_pause{
    width: 90px;
    width: 9rem;
    height: 90px;
    height: 9rem;
    background-color: #EC028B;
    color:#ffffff;
    line-height: 90px;
    line-height: 9rem;
    font-size: 40px;
    font-style: 4rem;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top:0;
    right:3%;
    z-index: 9;
}
.desktop .js_btn_pause:hover{
    background-color: #FF0095;
}
.title {
    font-size: 60px;
    font-size: 6rem;
    font-weight: bold;
    font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;
    width: 100%;
    text-align: center;
    color: #EC028B;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-bottom: 2rem; 
}
.title.split1{
    font-size: 45px;
    font-size: 4.5rem; 
    line-height: 50px;
    line-height: 5rem;
    margin-bottom: 0; 
}
.title.split2{
    line-height: 50px;
    line-height: 5rem;
    font-size: 85px;
    font-size: 8.5rem;

}
#timer_bg_canvas {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 998;
}
#timer_canvas {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}
.game .ui .option {
    color: #ffffff;
    line-height: 0.8;
    width: 100%;
    margin: auto;
    display: block;
    font-size: 30px;
    font-size: 3rem;
    font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;    
    cursor: pointer;
    position: relative;
    text-align: center;
    background-color: #02ADEF;
    margin-top: 20px;
    margin-top: 2rem;
    padding: 0;
    height: 9.2rem;
    height:0;
    padding-bottom: 24%;
    text-transform: uppercase;
}

.desktop .game_option:hover {
    background-color: #00B8FF;
}

.game_option .t {
    width: 90%;
    margin: 0 auto;
    height: 100%;
    top: 0;
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
}
.game_option .t .ti {
    width: 100%;
}


.btn{
    background-color:#02ADEF;
    padding: 15px 0;
    padding: 1.5rem 0;
    cursor: pointer;
    color:#ffffff;
    text-transform: uppercase;
    font-size:37px;
    font-size: 3.7rem;
}

.desktop .btn:hover{
    background-color: #00B8FF;
}

#welcome_screen .top_bar {position: relative;
width: 95%;
margin: 0 auto;
text-align: center; margin-bottom: 12px; margin-bottom: 1.2rem;}
#welcome_screen .top_bar .btn{width: 37%;margin-left: 6%; display: inline-block; vertical-align: middle; font-size: 45px; font-size: 4.5rem;}
#welcome_screen .top_bar .title_box{ width:30%; display: inline-block; vertical-align: middle;}
#welcome_screen .top_bar .logo{ width: 19%;margin-right: 7%; display: inline-block; vertical-align: middle;}


#welcome_screen img,
#info_screen img {
    margin: 0 auto;
    display: block;
    width: 100%;
}

.half{
    display: inline-block;
    vertical-align: top;
    width: 50%;
    position: relative;
}

.half.left{
    width: 57%;
}

.half.left .padding{
    padding-bottom: 100%;
    width: 100%;
    height: 0;
}

.half.right{
    width: 37%;
    margin: 0 3%;
    padding-bottom: 39%;
}
.half.right .btn{
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
}

#info_screen .half.right,
#pausegame_screen .half.right{
    background-image: url(../images/instructions_box.png);
    background-size: 100% 84%;
    background-repeat: no-repeat;
    padding: 3%;
    padding-top: 5%;
    padding-bottom: 17.2%;
}
.instructions_copy{
    font-size: 28px;
    font-size: 2.8rem;
    line-height: 1.2;
    text-align: left;
}
#game_clock {
    vertical-align: middle;
    width: 100%;
    font-size: 150px;
    font-size: 15rem;
    text-align: right;
    color: #000000;
    font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;    
}
#game_clock .pt{
    font-size: 106px;
    font-size: 10.6rem;  
}
#game_clock .answer_text {
    font-size: 66px;
    font-size: 6.6rem;
    line-height: 1;
    text-align: center;
    margin-top: 50px;
    margin-top: 5rem;
}
.clock_container {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    margin-bottom: 2rem;
}
.clock_display {
    position: relative;
    vertical-align: middle;
    width: 40%;
    margin-right: -12%;
    display: none;
}
.clock_display canvas {
    width: 100%;
}
.clock_bar_display {
    position: relative;
    vertical-align: middle;
    width: 100%;
    border: 1px solid #EC028B;
    padding: 4px;
    padding: 0.4rem;

}
.clock_bar_display .clock_bar {
    width: 100%;
    height: 11px;
    height: 1.1rem;
    margin: left;
    background: #EC028B;
}
.clock_bar_display .clock_bar#loading_bar {
    width: 0;
    transition: width 1.5s;
    -webkit-transition: width 1.5s;
}

.clock_display img {
    width: 76%;
    margin: 0 auto;
    margin-top: 12%;
}


#gameend_screen{
    text-align: left;
}
#gameend_screen img {
    margin: 0 auto;
    width: 100%;
}
#gameend_screen .btn.btn_play {
    bottom: 9.3%;
    font-size: 50px;
    font-size: 5rem;
    cursor: pointer;
}

#gameend_screen .key_result,
#gameend_screen .result {
    width: 100%;
    text-align: left;
    left: 0;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-bottom: 1rem;
        font-size: 50px;
    font-size: 5rem;
}


#gameend_screen .score.pink {
    color: #EC028B;
    font-size: 180px;
    font-size: 18rem;
    font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;
}
#gameend_screen .score.blue {
    color: #22b8d6;
    font-size: 140px;
    font-size: 14rem;
    font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;

}

#gameend_screen .btn{
    width: 64%;
    text-align: center;
}

#gameend_screen .half.left{
    width: 51%;
}
#gameend_screen .half.right {
width: 49%;
margin: 0 0%;
padding-bottom: 0;
}

#game_screen{
    padding-top: 50px;
padding-top: 5rem;
}

#game_screen.active{

}
#game_screen .game_area{
vertical-align: bottom; margin-bottom: -2px;}
#game_screen .ui{
vertical-align: bottom;}

#main_wrapper{
    height: 100%;
}
#main_wrapper > .t{
    height: 100%;
    width: 100%;
}

.ie8 .game_option img {
    width: 100%;
}
.ie8 .game_option .t {
    padding-top: 7%;
}
.ie8 .clock_bar_display {
    display: inline-block;
}
.ie8 .clock_display {
    display: none;
}
.ie8 .game .image .game_tile.fade {
    visibility: hidden;
}
.no_iframe {

}
.rotate_popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}
.rotate_popup img {
    margin: 0 auto;
    width: 100%;
}
.rotate_popup .top_bar{
    margin-bottom: 10px;
    margin-bottom: 1rem;
}
.rotate_popup .top_bar .logo{
    width: 40%;
    display: inline-block;
    vertical-align: middle;
}
.rotate_popup .top_bar .title_box{
    width: 55%;
    margin-left: 5%;
    display: inline-block;
    vertical-align: middle;
}
.rotate_popup .title.split1{
    font-size: 80px;
    font-size: 8rem; 
    line-height: 1.1;
    margin-bottom: 0; 
}
.rotate_popup .title.split2{
    line-height: 0.8;
    font-size: 160px;
    font-size: 16rem;

}
.rotate_popup p{
    width: 100%;
    text-align: center;
    font-size: 66px;
    font-size: 6.6rem;
    line-height: 0.9;
    color:#EC028B;
    margin-top: 10px;
    margin-top: 1rem;
}
.rotate_popup .rotate_device{
    color:#02adef;
}
.rotate_popup .t {
    height: 100%;
    width: 100%;
}

#loading_screen{
 z-index: 9999;
background-color: #ffffff;
position: fixed;   
height: 100%;
width: 100%;
text-align: center;
color:#02adef;
font-size: 72px;
font-size: 7.2rem;
font-weight: bold;
font-family: 'LubalinGraphITCTurner_Bold', Arial, sans-serif;
}
#loading_screen img{
    margin:0 auto;
    width: 280px;
    max-width: 300px;
    margin-bottom: 20px;
}
 #loading_screen .t {

height: 100%;
width: 100%;
}

#loading_screen .clock_bar_display{
    width: 280px;
    margin: 0 auto;
    display: block;
        margin-bottom: 12px;

}

@media only screen and (orientation:portrait) {
    /*.no_iframe*/ .rotate_popup {
        display: block;
    }
    /*.no_iframe*/ body {
        overflow-x: hidden;
        overflow-y: scroll;
    }
    /*.no_iframe .game .ui,
    .no_iframe .game_area {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .no_iframe .clock_display {
        margin-right: 0;
    }
    */
}