@font-face {
    font-family: 'AlbaFont';
    src: url('../fonts/alba.eot');
    src: url('../fonts/alba.eot?#iefix') format('embedded-opentype'),
    url('../fonts/alba.ttf') format('truetype'),
    url('../fonts/alba.svg#AlbaFont') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueFont';
    src: url('../fonts/helveticaneue.eot');
    src: url('../fonts/helveticaneue.eot?#iefix') format('embedded-opentype'),
    url('../fonts/helveticaneue.ttf') format('truetype'),
    url('../fonts/helveticaneue.svg#HelveticaNeueFont') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GothamFont';
    src: url('../fonts/gotham.eot');
    src: url('../fonts/gotham.eot?#iefix') format('embedded-opentype'),
    url('../fonts/gotham.ttf') format('truetype'),
    url('../fonts/gotham.svg#GothamFont') format('svg');
    font-weight: normal;
    font-style: normal;
}
html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust:auto;
    -moz-text-size-adjust:auto;
    text-size-adjust: auto;
}
html{
    transition: opacity 1s linear;
    -webkit-transition: opacity 1s linear;
}
html, body{
    width:100%;
    height:100%;
    top: 0px;
    left: 0px;
    overflow: hidden;
    position: fixed;
}
body {
    text-align: center;
    margin: 0;
    padding: 0;
}
.bgImages{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position:fixed;
    background: url('../images/bg.jpg');
    background-size: cover;
}
.bgImages > .bgGameLogo{
    background: url('../images/bg_gameLogo.png');
    position:absolute;
    top: 30%;
    left: 50%;
    width: 1153px;
    height: 561px;
    margin: -280px 0px 0px -576px;
}
.bgImages > .bgPlanet{
    background: url('../images/bg_planet.png') no-repeat;
    position:absolute;
    bottom: 0px;
    right: 0px;
    width: 816px;
    height: 844px;
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
}
.bgImages > .bgPlanet1{
    background: url('../images/bg_planet1.png') no-repeat;
    position:absolute;
    bottom: 0px;
    left: 0px;
    width: 427px;
    height: 319px;
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
}
.bgImages > .bgMen{
    background: url('../images/bg_men.png') no-repeat;
    position:absolute;
    bottom: 0px;
    left: 0px;
    width: 780px;
    height: 527px;
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    transition: opacity 0.5s linear;
}
/*____  PRELOAD IMAGES  ____*/
body:after{
    content:url('../images/bg.jpg')  url('../images/intro.jpg') url('../images/endBackround.jpg') url('../images/cosmonaut.png') url('../images/planet.png') url('../images/timesupText.png') url('../images/ui/sidePanel.png') url('../images/ui/popupBG.jpg') url('../images/ui/timeBar_Y.png') url('../images/ui/timeBar_R.png') url('../images/ui/menu_help.png') url('../images/ui/menu_quit.png') url('../images/ui/menu_sound.png') url('../images/ui/menu_sound_off.png') url('../images/ui/combo_bar_BG.png') url('../images/ui/combo_bar_icon.png') url('../images/ui/combo_bar_loader.png') url('../images/ui/combo_bar_xNum.png') url('../images/ui/title_exit.png') url('../images/ui/title_help.png') url('../images/ui/button_next.png') url('../images/ui/button_no.png') url('../images/ui/button_play.png') url('../images/ui/button_previous.png') url('../images/ui/button_yes.png') url('../images/ui/continueBut.png') url('../images/ui/okBut.png') url('../images/ui/playBut.png') url('../images/ui/playBut.png'); display:none;
}
#gameContainer {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    position: absolute;
    margin: -210px 0px 0px -320px;
    top: 50%;
    left: 50%;
    width: 640px;
    height: 420px;
    z-index: 1;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    overflow: visible;
    font-family: Arial;
}
#logo {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 25;
}
#canvasContainer{
    display: none;
    width: 398px;
    height: 398px;
    overflow: hidden;
    position: absolute;
    top: 9px;
    right: 9px;
    border: 2px solid #fff;
    border-radius: 25px;
    background-color: rgba(0,0,0,0.5);
}
#canvas {
    position: absolute;
    top: -2px;
    left: -2px;
    cursor: default;
    overflow: hidden;
    -webkit-transition: opacity 0.9s;
    transition: opacity 0.9s;
}
#ARK_gameLoader{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    background-color: #fff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
#ARK_gameLoader > div {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -37px 0px 0px -155px;
    width: 309px;
    height: 74px;
}
#ARK_gameLoader > div > div {
    position: absolute;
    top:0px;
    left:0px;
    background: url('../images/ui/logo-red-black.svg') 0px 0px;
    background-size: cover;
    height: 74px;
}
#ARK_gameLoader > div > span {
    position: absolute;
    top:0px;
    left:0px;
    background: url('../images/ui/logo-red-black.svg') 0px 0px;
    background-size: cover;
    height: 74px;
    width: 100%;
    opacity: 0.3;
}
#swiffycontainer{
    background: #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 26;
    opacity: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
#swiffycontainer.visible{
    opacity: 1;
}
/* ------------------------------------------------------------------------------------------scores-highlights ------ */
.scores_highlights {
    position: absolute;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    line-height: 36px;
    text-align: center;
}
/* ------------------------------------------------------------------------------------------interface_controls------ */
.interface_controls{
    position: absolute;
    left: 53px;
    top: 40px;
    background-repeat: no-repeat;
    z-index: 1;
    display: none;
}
.interface_controls > div{
    position: relative;
}
.interface_controls_sidePanel {
    position: relative;
    top: 15px;
    width: 167px;
    height: 184px;
    background: url('../images/ui/sidePanel.png') top left no-repeat;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.interface_timer{
    position: relative;
    top: 53px;
    left: 20px;
    color: white;
    font-family: 'Nunito';
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
}
.interface_timer_bar_cont{
    position: absolute;
    top: 44px;
    left: 11px;
    width: 138px;
    height: 46px;
    background-color: #083948;
    border:3px solid #083948;
    border-radius: 13px;
}
.interface_timer_bar{
    background: url('../images/ui/timeBar.png');
    height: 100%;
}
.interface_timer_bar_red{
    background-position: 0% -100%;
}
.interface_timer_min{
    position: absolute;
    width: 25px;
    text-align: right;
    left: 29px;
}
.interface_timer_dividor{
    position: absolute;
    left: 57px;
    width: 10px;
    text-align: center;
}
.interface_timer_sec{
    position: absolute;
    left: 68px;
    width: 50px;
    text-align: left;
}
.interface_scores{
    position: absolute;
    top: 0px;
    left: 10px;
    width: 147px;
    color: white;
    font-family: AlbaFont;
    font-size: 31px;
    font-weight: bold;
    text-align: center;
}
.interface_chainBonusText {
    position: absolute;
    top: 115px;
    left: 20px;
    width: 127px;
    height: 27px;
    text-align: center;
    font-family: AlbaFont;
    line-height: 18px;
    font-size: 20px;
    color:#fff;
    opacity:0.7;
}
.interface_xBar{
    background: url('../images/ui/combo_bar_BG.png');
    position: absolute;
    top: 154px;
    left: 7px;
    width: 140px;
    height: 21px;
    -webkit-transform: translateZ(0);
}
.interface_xBar > div{
    position: absolute;
    top: 3px;
    left: 29px;
    width: 107px;
    height: 16px;
}
.interface_xBar > span{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 26px;
    font-family: AlbaFont;
    z-index: 2;
}
.interface_xBar > span.interface_xBar_light{
    color:#ffffff;
}
.interface_xBar > span.interface_xBar_dark{
    color:#083948;
}
.interface_xBar > div > div{
    background: url('../images/ui/combo_bar_BG.png') 0px -22px;
    width:100%;
    height: 100%;
}
#interface_xNum{
    background: url('../images/ui/combo_bar_xNum.png');
    position: absolute;
    top: 65px;
    left: 42px;
    width: 49px;
    height: 35px;
    opacity: 1;
}
#interface_xNum.x1{
    background-position: 0px 0px;
}
#interface_xNum.x2{
    background-position: 0px -35px;
}
#interface_xNum.x3{
    background-position: 0px -70px;
}
#interface_xNum.x4{
    background-position: 0px -105px;
}
#interface_xNum.x5{
    background-position: 0px -140px;
}
#interface_xNum.x6{
    background-position: 0px -175px;
}
#interface_xNum.x7{
    background-position: 0px -210px;
}
#interface_xNum.x8{
    background-position: 0px -245px;
}
#interface_xNum.x9{
    background-position: 0px -280px;
}
#interface_xNum.x10{
    background-position: 0px -315px;
}
.interface_controls_buttons{
    width: 134px;
    text-align: center;
    font-size: 0;
}
.interface_controls_buttons > div{
    display: inline-block;
    width: 33px;
    height: 35px;
    margin: 0px 5px;
    cursor: pointer;
}
.interface_controls_buttons .interface_controls_help{
    background-image: url('../images/ui/menu_help.png');
    margin-left: 0px;
}
.interface_controls_buttons .interface_controls_sound{
    background-image: url('../images/ui/menu_sound.png');
}
.interface_controls_buttons .interface_controls_sound.off{
    background-image: url('../images/ui/menu_sound_off.png');
}
.interface_controls_buttons .interface_controls_quit{
    background-image: url('../images/ui/menu_quit.png');
}
.interface_controls_buttons div:hover {
    background-position: 0px -35px;
}
.mouseDownState {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

/*--------------------------------------------------------- Start Screen ---------------------------------------------*/

.startScreen {
    position: absolute;
    z-index: 3;
    display: none;
    -webkit-transition: all 1s linear;
    transition:all 1s linear;
}
.startScreen, .startScreen .startScreen_background {
    width: 640px;
    height: 420px;
}
.startScreen .startScreen_background {
    position: absolute;
    top: 0px;
    left: 0px;
}
.startScreen .startScreen_playButton {
    position: absolute;
    top: 290px;
    left: 262px;
    background: url('../images/ui/playBut.png') top left no-repeat;
    width: 117px;
    height: 46px;
}
.startScreen .startScreen_playButton:hover {
    background-position: 0px -46px;
}
.startScreen .startScreen_playButton:active {
    top: 292px;
}

/*--------------------------------------------------------- End Screen -----------------------------------------------*/

.endScreen {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: none;
    top:0;
    left:0;
}
.endAnimation {
    -webkit-transition-duration: 500ms;
    -moz-transition-duration: 500ms;
    -ms-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    -webkit-transition-delay: 500ms;
    -moz-transition-delay: 500ms;
    -ms-transition-delay: 500ms;
    -o-transition-delay: 500ms;
    transition-delay: 500ms;
}
.endScreen .endScreen_cosmonaut {
    position: absolute;
    top: -15px;
    left: 50px;
    background: url('../images/cosmonaut.png') top left no-repeat;
    width: 637px;
    height: 348px;
    transform-origin: 100% 15%;
    -webkit-transform-origin: 100% 15%;
    z-index: 5;
}
.endScreen .endScreen_planet {
    position: absolute;
    top: 300px;
    left: 150px;
    background: url('../images/planet.png') top left no-repeat;
    width: 342px;
    height: 210px;
    z-index: 3;
}
.endScreen .endScreen_continueButton_block {
    position: absolute;
    bottom: -100px;
    left: 0px;
    width: 100%;
    height: 75px;
    z-index: 100;
}
.endScreen .endScreen_timesUp {
    position: absolute;
    top: -25px;
    left: 0px;
    width: 100%;
    height: 10px;
    z-index: 6;
}
.endScreen .endScreen_timesUp > img {
    margin: auto;
}
.endScreen #endScreen_continueButton {
    z-index: 100;
}
.endScreen .endScreen_scoresText,
.endScreen .endScreen_scores {
    position: absolute;
    width: 130px;
    height: 33px;
    color: #f5f5ff;
    font-family: AlbaFont;
    font-size: 25px;
    font-weight: bold;
    line-height: 36px;
    text-align: center;
    transform: rotate(-23deg);
    -ms-transform:rotate(-23deg);
    -moz-transform:rotate(-23deg);
    -webkit-transform:rotate(-23deg);
    -o-transform:rotate(-23deg);
}
.endScreen .endScreen_scoresText {
    top: 202px;
    left: 60px;
}
.endScreen .endScreen_scores {
    top: 237px;
    left: 74px;
}
/*--------------------------------------------------------- Popup ----------------------------------------------------*/
.overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}
.dim {
    background-color: rgba(0, 0, 0, 0.5);
}
.popup{
    background: url('../images/ui/popupBG.jpg') center no-repeat;
    width: 450px;
    height: 377px;
    margin: -186px 0px 0px -225px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 7px rgba(0,0,0,0.5), 0px 0px 0px 7px #d5dfde inset;
}
.popup_overlay{
    position: absolute;
    top:-1000px;
    left:-1000px;
    width: 400%;
    height: 400%;
    z-index: 9;
    background-color: rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
    -webkit-transition: visibility 0s 0.5s, opacity 0.5s linear;
}
.popup.help {
    visibility: hidden;
    opacity: 0;
}
.popup > .title{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}
.popup > .title > img{
    margin: -30px auto 0px auto;
}
.popup > span{
    background: url('../images/ui/popup_close.png') no-repeat;
    width: 27px;
    height: 24px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index:10;
}
.popup > span:hover{
    background-position: 0px -26px;
}
.popup > .content{
    width: 90%;
    height: 175px;
    position: absolute;
    top: 100px;
    right: 5%;
    left: 5%;
    text-align: left;
    font-family: HelveticaNeueFont;
    color: #fff;
}
.popup > .content > h2{
    margin: 0;
    text-align: center;
    font-weight: normal;
    font-size: 26px;
    /*font-weight: bold;*/
    color: #81fffe;
    text-transform: uppercase;
}
.popup > .content > p{
    font-weight: normal;
    font-size: 22px;
    /*font-weight: bold;*/
}
#help_01 > h2 {
    margin-top: 10px;
}
#help_01 > p {
    padding:0;
    margin:0;
    font-size: 22px;
    margin-top: 10px;
}
#help_02 > p {
    padding:0;
    margin:0;
    font-size: 21px;
}
.popup > .content > img{
    float: left;
    clear: both;
    margin-right: 5px;
}
.popup > .content > .rocketImg{
    margin-bottom: 15px;
    margin-top: 12px;
}
.popup > .content > .starImg{
    margin-bottom: 16px;
}
.popup > .content > .ufoImg{
    margin-bottom: 30px;
}
.popup.exit > .content > h2 {
    margin-top: 10px;
}
.popup.exit > .content > p {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
}
.popup > .showhelp{
    width: 194px;
    height: 15px;
    position: absolute;
    bottom: 58px;
    left: 50%;
    margin-left: -97px;
    font-size: 12px;
    text-transform: uppercase;
}
.popup > .showhelp > span{
    float: left;
    background: #171717 no-repeat 1px 3px ;
    border-radius: 3px;
    width: 13px;
    height: 13px;
    margin-top: 1px;
    margin-right: 3px;
    cursor: pointer;
}
.popup > .showhelp > span.active{
    background-image: url('../images/ui/showHelpOnStart.png');
}
.popup > .buttons{
    height: 60px;
    position: absolute;
    bottom: 15px;
    right: 0px;
    left: 0px;
    cursor: pointer;
    text-align: center;
}
.popup > .buttons > span{
    height: 37px;
    cursor: pointer;
    display: inline-block;
    margin: 0px 5px;
}
.popup > .buttons > span.previous{
    width: 134px;
    background: url('../images/ui/button_previous.png');
}
.popup > .buttons > span.next,
.popup > .buttons > span.play,
.popup > .buttons > span.yes,
.popup > .buttons > span.no{
    width: 99px;
}
.popup > .buttons > span.next{
    background: url('../images/ui/button_next.png');
}
.popup > .buttons > span.play{
    background: url('../images/ui/button_play.png');
}
.popup > .buttons > span.yes{
    background: url('../images/ui/button_yes.png');
}
.popup > .buttons > span.no{
    background: url('../images/ui/button_no.png');
}
.popup > .buttons > span:hover{
    background-position: 0px -39px;
}
.popup.exit {
    visibility: hidden;
    opacity: 0;
}
.popup.exit > .content h2{
    padding-top: 30px;
}
.popup.exit > .content p{
    text-align: center;
}

@media only screen
and (orientation : portrait) {
    #gameContainer {
        overflow: visible;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -240px 0px 0px -365px;
        -webkit-transform: rotate(90deg) scale(1.55);
    }
    .rotateLock{
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background: url('../images/en-US/rotate-screen.svg') rgba(0,0,0,0.75) no-repeat center;
        background-size: contain;
        z-index: 1000;
    }
}
/*------------------------------------------ Game End Table ----------------------------------------------------------*/
.ARK_gameEnd{
    text-align: center;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-color: #55585e;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#7d8188', EndColorStr='#23242a')";
    background: -ms-linear-gradient(top, #7d8188, #23242a);
    background: -moz-linear-gradient(top, #7d8188, #23242a);
    background: -webkit-linear-gradient(top, #7d8188, #23242a);
    background: linear-gradient(top, #7d8188, #23242a);
    z-index: 10;
}
.ARK_gameEnd > tbody > tr > td{
    text-align: center;
    vertical-align: middle;
}
.ARK_gameEnd > tbody > tr > td > h2{
    font-family: arial;
    font-weight: bold;
    color: #97cef9;
    display: block;
    margin: 0px;
    padding: 0;
    font-size: 60px;
    text-shadow: 0px -1px 0px #3c3e42;
}
.ARK_gameEnd > tbody > tr > td > p{
    font-family: arial;
    font-weight: bold;
    color: #fff;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 25px;
}
.ARK_gameEnd > tbody > tr > td > h3{
    display: inline-block;
    margin: 10px 0px;
    padding: 0px 50px;
    background-color: #262626;
    box-shadow: 0px 2px 10px -2px #000 inset, 0px 0px 2px 0px #70737b;
    border-radius: 3px;
    color: #fff;
    font-family: arial;
    font-size: 35px;
    line-height: 42px;
    height: 40px;
}
.ARK_gameEnd > tbody > tr > td > div{
    display: inline-block;
    margin: 5px;
    padding: 2px 30px;
    box-shadow: 0px 4px 10px -2px #1b1c20;
    background-color: #3178ce;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#48b3fd', EndColorStr='#214eac')";
    background: -ms-linear-gradient(top, #48b3fd, #214eac);
    background: -moz-linear-gradient(top, #48b3fd, #214eac);
    background: -webkit-linear-gradient(top, #48b3fd, #214eac);
    background: linear-gradient(top, #48b3fd, #214eac);
    border-radius: 4px;
    font-family: arial;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}
@media screen and (min-width:550px) {
    .ARK_gameEnd{
        border-radius: 3px;
        background-color: #55585e;
    }
    .ARK_gameEnd > tbody > tr > td > h2{
        margin: 10px 0px;
        font-size: 60px;
        text-shadow: 0px -2px 0px #3c3e42;
    }
    .ARK_gameEnd > tbody > tr > td > p{
        font-size: 30px;
        margin: 10px 0px;
    }
    .ARK_gameEnd > tbody > tr > td > h3{
        margin: 20px 0px;
        padding: 0px 80px;
        box-shadow: 0px 3px 10px -3px #000 inset, 0px 0px 3px 0px #70737b;
        border-radius: 3px;
        font-size: 60px;
        line-height: 68px;
        height: 65px;
    }
    .ARK_gameEnd > tbody > tr > td > div{
        font-size: 23px;
        margin: 30px;
        padding: 5px 40px;
        box-shadow: 0px 5px 10px -3px #1b1c20;
        font-family: arial;
        color: #fff;
    }
}
.UI_button_BG{
    padding: 0px 8px;
    border-radius: 50px;
    border: 4px solid #fff;
    overflow: hidden;
    position: relative;
    height:48px;
    display: inline-block;
    font-family: AlbaFont;
    line-height: 54px;
    font-size: 40px;
    color: #fff;
    background: url('../images/ui/buttonBG.png') #fff;
    box-shadow: 0px 0px 0px -3px #fff; /* fix for bug when user scale screen and see gray line (render bug)*/
}
.UI_button_BG:before,
.UI_button_BG:after{
    position: absolute;
    top:0px;
    height:100%;
    background: url('../images/ui/buttonBG.png');
    content: '';
}
.UI_button_BG span{
    position: relative;
    top:0px;
    left:0px;
    height:48px;
    z-index: 2;
}
.UI_button_BG img{
    position: relative;
    top:0px;
    left:0px;
    height:48px;
    z-index: 2;
}
.UI_button_BG:before{
    background-position: 0px -106px;
    width:32px;
    left:0px;
}
.UI_button_BG:after{
    background-position: 0px -159px;
    width:32px;
    right:0px;
}

/*.UI_button_BG:hover{
    background-position: 0px -53px;
}

.UI_button_BG:hover:before{
    background-position: -42px -106px;
}
.UI_button_BG:hover:after{
    background-position: -42px -159px;
}*/

.UI_button_BG.selected {
    background-position: 0px -53px;
}