@font-face {
    font-family: 'gameFont';/*
    src: url('../php/vendor/fonts/gameFont.eot');
    src: url('../php/vendor/fonts/gameFont.eot?#iefix') format('embedded-opentype'),
    url('../php/vendor/fonts/gameFont.woff2') format('woff2'),
    url('../php/vendor/fonts/gameFont.woff') format('woff'),
    url('../php/vendor/fonts/gameFont.ttf') format('truetype'),
    url('../php/vendor/fonts/gameFont.svg#gameFont') format('svg');*/
    src: url('../php/vendor/fonts/komikax_-webfont.woff2') format('woff2'),
         url('../php/vendor/fonts/komikax_-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: 'gameFont';
        src: url('../php/vendor/fonts/gameFont.svg#gameFont') format('svg');
    }
}*/

body {
    width: 100%;
    height: 600px;
    position: relative;
}

#main {
    height: 100%;
    position: relative;
}

div#gameDiv {
    height: 100%; 

    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 7;
}

.container{
    width: auto;
    max-width: 100%;
}

.landscape-warning {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 40%;
    bottom: 40%;
}

.landscape-warning .warning-wrapper {
    border-color: black;
    font-weight: bold;
    background: white;
    color: black;
}

.landscape-warning .warning-wrapper input.button-demo {
    background: yellow;
    color: black;
}


@media screen and (min-width: 480px) {
    .landscape-warning {
        display: none;
    }
    .page-content-wrapper {
        display: block;
    }
}

.modal-footer.text-center {
    text-align: center;
}

.no-padding{
    padding: 0px !important;
}

.main-menu {
    position: absolute;
    width: 100%;
    z-index: 999;
}

.game .page-content-wrapper,
.game .container,
.game #container, 
.game .game-wrapper {
    height: 100%;
}

.game section#container {
    width: auto;
    height: 100vh;
}

.modal-content h1, 
.modal-content p {
    color: red;
}

h1 {
    font-family: komika_axisregular;
    margin: .67em 0;
}

.modal-content h1 {
    font-size: 3rem;
    color: #203971;
}

.powerup-container,
.modal-content p {
    font-size: 1.125rem;
    color: #203971;
    line-height: 1.5em;
}

.powerup-button-wrapper{
    margin: 5px;
    border: #203971 solid 1px;
    pointer-events: none;
}

.powerup-container .powerup {
    cursor: pointer;
}

.powerup-container .selected {
    width: 25%;
    margin-left: 0px;
    padding: 0px 15px;
    height: auto;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal {
    background: rgba(0, 33, 87, 0.95);
}

section#container {
    z-index: 5;
}

a:hover, a:focus {
    text-decoration: none;
}

.home-wrapper {
    /*height: 100vh;*/
}

header.header {
    /*height: 0px;*/
}

.registerForm .col-sm-6,
.registerForm .col-sm-12 {
    padding: 0px;
}

.tab-content {
    display: block;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs>li {
    float: none;
}

.nav-tabs>li>a,
.nav-tabs>li>a:hover, 
.nav-tabs>li>a:focus,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover, 
.nav-tabs>li.active>a:focus {
    color: white;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
    border-radius: unset;
    line-height: unset;
}

.leaderboard-wrapper ul.tabs li.current:before,
.leaderboard-wrapper ul.tabs li.current:after,
.leaderboard-wrapper ul.tabs li:before,
.leaderboard-wrapper ul.tabs li:after{
    display: none !important;
}

.leaderboard-wrapper ul.tabs li,
.prize-wrapper ul.tabs li {
    padding: 0px;
}
.leaderboard-wrapper ul.tabs li a,
.prize-wrapper ul.tabs li a {
    padding: 15px 35px !important;
    outline: none;
}

.content-wrapper {
    /*height: 100vh;*/
}

.flag-left {
    left: 5%;
}

.flag-right {
    right: 5%;
}

/* ========== DAILY BONUS MODAL ========== */ 

.modal-header {
    min-height: unset;
    padding: 0px;
    border: none;
    position: relative;
}

.modal-header .close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: -35px;
    top: -35px;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
    font-weight: normal;
}
.modal-header .close:hover {
    opacity: 1;
}

.modal-body p {
    font-size: 18px;
}

.modal-body p .name {
    color: #f4680f;
}

.modal-body .next-reward p {
    font-size: 14px;
}

/*.powerup-popup .modal-dialog {
    width: 60%;
}*/

.powerup-popup .daily-bonus-wrapper {
    max-width: 870px;
    margin: 0px auto;
    padding: 20px 0px;
}

.powerup-popup .modal-content .col-xs-2 {
    padding: 10px 5px;
}

.powerup-popup .modal-content .image-wrapper {
    width: 144px;
    height: 165px;
    display: inline-block;
    background-image: url(../images/bonus.png);
    cursor: pointer;
}
.powerup-popup .modal-content .bonus-1 .image-wrapper {
    background-position: 0 166px;
}
.powerup-popup .modal-content .bonus-1.obtained .image-wrapper {
    background-position: 0 0;
}
.powerup-popup .modal-content .bonus-2 .image-wrapper {
    background-position: -149px 166px;
}
.powerup-popup .modal-content .bonus-2.obtained .image-wrapper {
    background-position: -149px 0;
}
.powerup-popup .modal-content .bonus-3 .image-wrapper {
    background-position: -297px 166px;
}
.powerup-popup .modal-content .bonus-3.obtained .image-wrapper {
    background-position: -297px 0;
}
.powerup-popup .modal-content .bonus-4 .image-wrapper {
    background-position: -446px 166px;
}
.powerup-popup .modal-content .bonus-4.obtained .image-wrapper {
    background-position: -446px 0;
}
.powerup-popup .modal-content .bonus-5 .image-wrapper {
    background-position: -596px 166px;
}
.powerup-popup .modal-content .bonus-5.obtained .image-wrapper {
    background-position: -596px 0;
}

.powerup-popup .next-reward span {
    box-shadow: inset 0 5px 10px rgba(24,55,124,.5);
    padding: 0 25px;
    line-height: 30px;
    background-color: #2049a5;
    border-radius: 15px;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}
.powerup-popup .next-reward span:before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px #3f73d4 solid;
    background-color: #1e4499;
    position: absolute;
    top: 50%;
    left: -5px;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2;
}
.powerup-popup .next-reward span:after {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px #3f73d4 solid;
    background-color: #1e4499;
    position: absolute;
    top: 50%;
    right: -5px;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2;
}

.modal-footer .btn {
    color: #fff;
    background-color: #ed262e;
    text-align: center;
    border-radius: 20px;
    outline: 0;
    border: none;
    display: inline-block;
    padding: 15px 35px;
    font-weight: 700;
    margin: 0 auto;
    position: relative;
    width: auto;
}
.modal-footer .btn:after {
    content: '';
    position: absolute;
    border-radius: 20px;
    width: 100%;
    background-color: #c91a21;
    left: 0;
    height: 45px;
    display: block;
    bottom: -5px;
    z-index: -1;
}

.btn {
    outline: none;
}

.modal-footer {
    padding: 10px 15px 30px;
    border: none;
    position: relative;
    z-index: 1;
}

/* =========== SELECT POWERUP POPUP =========== */

.game .powerup-container .col-xs-3 {
    padding: 0px 10px;
}

.game .powerup-popup .modal-content .image-wrapper {
    background-image: url(../images/mode.png);
    width: 150px;
    height: 137px;
    position: relative;
}
.game .powerup-popup .modal-content .selected{
    background: transparent;
}
.game .powerup-popup .modal-content .image-wrapper.points-multiplier{
    background-position: 0px 137px;
}
.game .powerup-popup .modal-content .selected .image-wrapper.points-multiplier{
    background-position: 0px 0px;
}
.game .powerup-popup .modal-content .image-wrapper.shield-mode{
    background-position: -150px 137px;
}
.game .powerup-popup .modal-content .selected .image-wrapper.shield-mode{
    background-position: -150px 0px;
}
.game .powerup-popup .modal-content .image-wrapper.fever-mode{
    background-position: -300px 137px;
}
.game .powerup-popup .modal-content .selected .image-wrapper.fever-mode{
    background-position: -300px 0px;
}
.game .powerup-popup .modal-content .image-wrapper.revive-mode{
    background-position: -450px 137px;
}
.game .powerup-popup .modal-content .selected .image-wrapper.revive-mode{
    background-position: -450px 0px;
}
.game .powerup-popup .modal-content .locked .image-wrapper.revive-mode{
    background-position: -600px 0px;
}

.game .powerup-popup .modal-content .locked,
.boost-wrapper .boost.locked {
    opacity: 0.5;
    pointer-events: none;
}
/*.boost-wrapper .boost.locked .boost-img.revive-mode{
    background-position: -444px 0;
}*/
.boost-wrapper .boost.locked .boost-img .point {
    display: none;
}
.boost-wrapper .boost .boost-img.revive-mode .point {
    text-indent: -9999px;
}
.boost-wrapper .boost .boost-img.revive-mode .point span {
    background-image: url(../images/infinitive.png);
    background-position: center center;
    background-repeat: no-repeat;
}

.game .powerup-popup .modal-content .image-wrapper .items-count {
    position: absolute;
    top: 0;
    right: 0;
}
.game .powerup-popup .modal-content .image-wrapper .items-count span {
    width: 31px;
    height: 31px;
    vertical-align: middle;
    line-height: 1.15em;
    background-color: #ff0100;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    display: table-cell;
    border-radius: 50%;
    color: white;
}

.game .powerup-popup .modal-dialog {
    width: unset;
    max-width: 900px;
    margin: 30px 20px;
}

#videoPopup .video-wrapper {
    width: auto;
    margin: 0px;
}

video#tutorialVideo {
    max-width: 100% !important;
}

.game .powerup-popup .powerup-container {
    padding: 20px 40px;
}

.game .powerup-popup .modal-content .extra-container{
    padding: 0px 5px;
}

.game .powerup-popup .modal-content .extra-container .powerup-name-wrapper {
    box-shadow: inset 0 5px 10px rgba(24,55,124,.5);
    padding: 0 15px;
    height: 37px;
    vertical-align: middle;
    line-height: 1.15em;
    background-color: #3789db;
    border-radius: 15px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: table;
    width: 100%;
    position: relative;
    color: white;
}
.game .powerup-popup .modal-content .powerup-name-wrapper span {
    display: table-cell;
    height: 37px;
    vertical-align: middle;
}
.game .powerup-popup .modal-content .powerup-name-wrapper span:before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px #027abc solid;
    background-color: #00a4ff;
    position: absolute;
    top: 50%;
    left: -5px;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2;
}
.game .powerup-popup .modal-content .powerup-name-wrapper span:after {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px #027abc solid;
    background-color: #00a4ff;
    position: absolute;
    top: 50%;
    right: -5px;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2;
}

.chestbox_close{
    width: 645px;
    height: 535px;
    margin: 0 auto;

    background: url(../images/chestbox_close.png);
    
    -webkit-animation: chestbox_close_ani 1s steps(15) infinite;
    -moz-animation: chestbox_close_ani 1s steps(15) infinite;
    -o-animation: chestbox_close_ani 1s steps(15) infinite;
    animation: chestbox_close_ani 1s steps(15) infinite;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}​
@-webkit-keyframes chestbox_close_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@-moz-keyframes chestbox_close_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@-o-keyframes chestbox_close_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@keyframes chestbox_close_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}

.chestbox_open{
    width: 645px;
    height: 535px;
    margin: 0 auto;
    background-repeat: no-repeat;

    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -9999px;
    transform: translate(-50%, -50%);
}

.chestbox_close.open {/*
    animation-fill-mode: backwards;
    animation-name: chestbox_close_ani_reset;*/
    opacity: 0;
}

.chestbox_open.fever{
    animation: unset;
    background-image: url(../images/chestbox_open_fever.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}
.chestbox_open.multiplier{
    animation: unset;
    background-image: url(../images/chestbox_open_multiplier.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}
.chestbox_open.shield{
    animation: unset;
    background-image: url(../images/chestbox_open_shield.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}
.chestbox_open.fever.open,
.chestbox_open.multiplier.open,
.chestbox_open.shield.open{
    z-index: 0;

    -webkit-animation: chestbox_close_ani 1s steps(15) 1;
    -moz-animation: chestbox_close_ani 1s steps(15) 1;
    -o-animation: chestbox_close_ani 1s steps(15) 1;
    animation: chestbox_close_ani 1s steps(15) 1;

    animation-fill-mode: forwards;
}

@-webkit-keyframes chestbox_open_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@-moz-keyframes chestbox_open_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@-o-keyframes chestbox_open_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}
@keyframes chestbox_open_ani {
    from { background-position: 0px 0px; }
    to { background-position: -9675px 0px; }
}

.isMobile .chestbox_open.fever{
    animation: unset !important;
    background-image: url(../images/chestbox_open_fever_mobile.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}
.isMobile .chestbox_open.multiplier{
    animation: unset !important;
    background-image: url(../images/chestbox_open_multiplier_mobile.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}
.isMobile .chestbox_open.shield{
    animation: unset !important;
    background-image: url(../images/chestbox_open_shield_mobile.png);
    /*background-position: 645px 535px;*/
    background-position: 0px 0px;
}

.chest-popup .modal-dialog{
    margin-top: -50px;
}

.chest-popup .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
}

.chest-popup .btn {
    transform: translateY(220px);
}

.game .wrapper {
    overflow: hidden;
}

header {
    height: 0px;
}

.mobile header,
.mobile footer {
    display: none;
}

.landscape-warning {
    display: none;
}

.boost-wrapper .boost {
    vertical-align: top;
}

@media (max-width: 768px){
    header {
        height: inherit;
    }
/*
    .game header,
    .game footer{
        display: none;
    }*/

    .game .wrapper {
        height: 100%;
    }

    div#gameDiv,
    section.game{
        width: 100vw;
        height: 100%;
        /*
        height: 100vh;
        max-height: 100%;*/
    }

    div#gameDiv canvas.main {
        /* transform: scale(0.5, 0.5) translate(-50%, -50%); */
        max-width: 100%;
        max-height: 100%;
    }

    .mobile-control {
        width: 100%;
        max-width: 800px;
        height: 200px;
        position: absolute;
        bottom: 0px;

        pointer-events: none;
        display: none !important;
    }

    .mobile-control .touch-area{
        width: 23%;
        height: 100%;
        display: block;
        margin: 0px 1%;
        background: white;
        /*opacity: 0.5;*/
        opacity: 0.3;
        float: left;
    }

    .mobile-control.fever {
        height: 100px;
        bottom: auto;
        top: 0px;
        top: 15%;
    }

    .mobile-control.fever .touch-area{
        float: right;
    }

    .game .game-background img {
        max-width: unset;
        max-height: 100%;
        position: absolute;
        left: 50%;
        transform: translate(-50%,0);
    }
/*
    .game-over.modal::before {
        display: none;
    }
*/
    .game-over .modal-dialog {
        width: auto;
        max-width: 95%;
        margin: 2.5%;
    }

    .popup-wrapper .btn .cta.blue {
        display: block;
        margin: 15px 0px 0px;
    }
}

@media screen and (max-width: 650px) {
    .leaderboard-wrapper ul.tabs li a {
        padding: 10px 15px !important;
        outline: none;
    }
    .prize-wrapper ul.tabs li a {
        padding: 10px 15px !important;
        outline: none;
    }

    .game .floor-wrapper {
        display: none;
    }
}

@media only screen and (max-width: 540px){
    .boost-wrapper .boost .boost-img.points-multiplier:hover {
        background-position: 0px 85px;
    }
    .boost-wrapper .boost.selected .boost-img.points-multiplier {
        background-position: 0px 0px;
    }

    .boost-wrapper .boost .boost-img.shield-mode:hover {
        background-position: -90px 85px;
    }
    .boost-wrapper .boost.selected .boost-img.shield-mode {
        background-position: -90px 0;
    }

    .boost-wrapper .boost .boost-img.fever-mode:hover {
        background-position: -181px 85px;
    }
    .boost-wrapper .boost.selected .boost-img.fever-mode {
        background-position: -181px 0;
    }

    .boost-wrapper .boost .boost-img.revive-mode:hover {
        background-position: -274px 85px;
    }
    .boost-wrapper .boost.selected .boost-img.revive-mode {
        background-position: -274px 0;
    }
}

.bonus-wrapper .bonus.bonus-4.obtained{
    background-position: -446px 0px;
}
/*
.bonus-wrapper .bonus.bonus-5.obtained {
    background-position: -596px 0px;
}
*/
/* temp hide *//*
.popup-wrapper .reward {
    display: none;
}*/

canvas.game-control {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}

#container .game-wrapper.content-wrapper {
    display: none;
}
.isDesktop #container .game-wrapper.content-wrapper,
#container.portrait .game-wrapper.content-wrapper{
    display: block;
}

.game .wrapper {
    height: 100%;
}

.game #container.landscape {
    background: url(../images/portrait-only.png) center center no-repeat;
    background-color: #002157;
}

.game .bg-wrapper {
    display: none;
}

.landscape .modal.powerup-popup,
.landscape .modal-backdrop {
    display: none !important;
}
.game header,
.game footer{
    display: none;
}
.game.portrait header,
.game.portrait footer {
    display: block;
}

.game.isMobile.landscape {
    overflow: hidden;
}

.tooltip.right {
    padding: 15px 30px;
    margin-left: 0px;
}

.displayNone{
    display: none !important;
}
.display{
    display: block !important;
}