@font-face {
    font-family: 'bitoperator';
    src: url("/css/fonts/game/8bitoperator-webfont.eot");
    src: url("/css/fonts/game/8bitoperator-webfont.eot?#iefix") format("embedded-opentype"), url("/css/fonts/game/8bitoperator-webfont.woff") format("woff"), url("/css/fonts/game/8bitoperator-webfont.ttf") format("truetype"), url("/css/fonts/game/8bitoperator-webfont.svg#bitoperator") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'minecraftia';
    src: url("/css/fonts/game/minecraftia-webfont.eot");
    src: url("/css/fonts/game/minecraftia-webfont.eot?#iefix") format("embedded-opentype"), url("/css/fonts/game/minecraftia-webfont.woff") format("woff"), url("/css/fonts/game/minecraftia-webfont.ttf") format("truetype"), url("/css/fonts/game/minecraftia-webfont.svg#minecraftia") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fipps';
    src: url("/css/fonts/game/fipps-regular-webfont.eot");
    src: url("/css/fonts/game/fipps-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/css/fonts/game/minecraftia-webfont.woff") format("woff"), url("/css/fonts/game/fipps-regular-webfont.ttf") format("truetype"), url("/css/fonts/game/fipps-regular-webfont.svg#fipps") format("svg");
    font-weight: normal;
    font-style: normal;
}

.button, input, textarea, select, #partialSearch ul {
    font-size: 1.05em;
    font-family: minecraftia, serif;
}

* {
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

body {
    overflow: hidden;
    background: rgb(40, 41, 41)
}

input {
    -webkit-user-select: text;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
}

body {
    position: fixed;
}

body:after {
    font-family: bitoperator, serif;
    font-size: 3em;
}

body header form#search_form.opened input.reduced {
    clear: both;
}

body header .logo {
    background-image: url(../img/game/logo.png);
}

body #howToPlay {
    height: auto;
    left: 0;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    width: 100%;
}

body #howToPlay .gif {
    position: relative;
    text-align: center;
    width: 100%;
}

body #howToPlay .gif img {
    max-width: 100%;
}

body #howToPlay .play {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-color: #01B4F7;
    cursor: pointer;
    font-size: 2em;
    height: 60px;
    left: 50%;
    line-height: 50px;
    margin-bottom: 0.5em;
    margin-left: -85px;
    margin-top: 30px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    width: 160px;
    z-index: 10;
    border: 5px solid #ff665a;
    color: #01B4F7;
    font-family: bitoperator, serif;
    text-shadow: -1px 0px #ff665a, 0px 1px #ff665a, 1px 0px #ff665a, 0px -1px #ff665a, -2px 1px #ff665a, 1px 2px #ff665a, 1px -2px #ff665a, 0px 3px #ff665a, 0px 4px #ff665a, 3px 0px #ff665a, 4px 0px #ff665a;
    box-shadow: 0px 0px 0px 5px #01b4f7, 1px 0px 1px 5px #0e7ca7, 0px 1px 1px 5px #0e7ca7, 2px 1px 1px 5px #0e7ca7, 1px 2px 1px 5px #0e7ca7, 3px 2px 1px 5px #0e7ca7, 2px 3px 1px 5px #0e7ca7, 4px 3px 1px 5px #0e7ca7, 3px 4px 1px 5px #0e7ca7, 5px 4px 1px 5px #0e7ca7, 4px 5px 1px 5px #0e7ca7, 6px 5px 1px 5px #0e7ca7, 5px 6px 1px 5px #0e7ca7, 7px 6px 1px 5px #0e7ca7;
}

body #howToPlay .play:hover {
    background-color: #0E7CA7;
    color: #0E7CA7;
    box-shadow: 0px 0px 0px 7px #0e7ca7;
    margin-left: -94px;
    margin-top: 35px;
    margin-left: -79px;
    text-shadow: -1px 0px white, 0px 1px white, 1px 0px white, 0px -1px white, -2px 1px white, 1px 2px white, 1px -2px white, 0px 3px white, 0px 4px white, 3px 0px white, 4px 0px white;
    border: 5px solid white;
}

body #sendCV {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-color: #3DAF76;
    border: 10px solid #ff665a;
    box-shadow: 0 0 0 10px #3daf76;
    color: #000000;
    font-family: minecraftia, serif;
    font-size: 1em;
    margin: auto;
    padding: 10px;
    position: fixed;
    overflow-y: auto;
    text-align: center;
    top: 4.5em;
    width: 99%;
    z-index: 10;
    display: none;
    box-shadow: 0px 0px 0px 10px #3daf76, 1px 0px 1px 10px #2e8159, 0px 1px 1px 10px #30845c, 2px 1px 1px 10px #2e8159, 1px 2px 1px 10px #30845c, 3px 2px 1px 10px #2e8159, 2px 3px 1px 10px #30845c, 4px 3px 1px 10px #2e8159, 3px 4px 1px 10px #30845c, 5px 4px 1px 10px #2e8159, 4px 5px 1px 10px #30845c, 6px 5px 1px 10px #2e8159, 5px 6px 1px 10px #30845c, 7px 6px 1px 10px #2e8159;
}

body #sendCV .title {
    font-size: 1.4em;
    margin-bottom: 0.2em;
}

body #sendCV .text {
    font-size: .9em;
    text-align: left;
}

body #sendCV .button {
    border-radius: 0;
    font-family: fipps, serif;
    font-size: 0.9em;
    margin: 15px 10px;
    padding: 0 10px;
    text-transform: uppercase;
    width: auto;
    min-height: 35px;
    line-height: 35px;
}

body #sendCV .yellow {
    background-color: #FDB227;
    border: 5px solid #0e7ca6;
    box-shadow: 0px 0px 0px 5px #fdb227, 1px 0px 1px 5px #c38724, 0px 1px 1px 5px #c58622, 2px 1px 1px 5px #c38724, 1px 2px 1px 5px #c58622, 3px 2px 1px 5px #c38724, 2px 3px 1px 5px #c58622, 4px 3px 1px 5px #c38724, 3px 4px 1px 5px #c58622, 5px 4px 1px 5px #c38724, 4px 5px 1px 5px #c58622, 6px 5px 1px 5px #c38724, 5px 6px 1px 5px #c58622, 7px 6px 1px 5px #c38724;
}

body #sendCV .yellow a {
    text-shadow: -1px 0px #0e7ca6, 0px 1px #0e7ca6, 1px 0px #0e7ca6, 0px -1px #0e7ca6, -2px 1px #0e7ca6, 1px 2px #0e7ca6, 1px -2px #0e7ca6, 0px 3px #0e7ca6, 0px 4px #0e7ca6, 3px 0px #0e7ca6, 4px 0px #0e7ca6;
    color: #FDB227;
}

body #sendCV .yellow:hover {
    box-shadow: 0px 0px 0px 5px #fdb227;
    position: relative;
    top: 6px;
    left: 6px;
}

body #sendCV .yellow:hover a {
    /*text-shadow: -1px 0px #000000,
                  0px 1px #000000,
                  1px 0px #000000,
                  0px -1px #000000,
                  -2px 1px #000000,
                  1px 2px #000000,
                  1px -2px #000000,
                  0px 3px #000000,
                  0px 4px #000000,
                  3px 0px #000000,
                  4px 0px #000000; */
}

body #sendCV .blue {
    background-color: #01B4F7;
    border: 5px solid #ff665a;
    box-shadow: 0px 0px 0px 5px #01b4f7, 1px 0px 1px 5px #0e7ca7, 0px 1px 1px 5px #0e7ca7, 2px 1px 1px 5px #0e7ca7, 1px 2px 1px 5px #0e7ca7, 3px 2px 1px 5px #0e7ca7, 2px 3px 1px 5px #0e7ca7, 4px 3px 1px 5px #0e7ca7, 3px 4px 1px 5px #0e7ca7, 5px 4px 1px 5px #0e7ca7, 4px 5px 1px 5px #0e7ca7, 6px 5px 1px 5px #0e7ca7, 5px 6px 1px 5px #0e7ca7, 7px 6px 1px 5px #0e7ca7;
    margin-top: 20px;
}

body #sendCV .blue a {
    color: #01B4F7;
    text-shadow: -1px 0px #ff665a, 0px 1px #ff665a, 1px 0px #ff665a, 0px -1px #ff665a, -2px 1px #ff665a, 1px 2px #ff665a, 1px -2px #ff665a, 0px 3px #ff665a, 0px 4px #ff665a, 3px 0px #ff665a, 4px 0px #ff665a;
}

body #sendCV .blue:hover {
    box-shadow: 0px 0px 0px 5px #01b4f7;
    position: relative;
    top: 6px;
    left: 6px;
}

body #sendCV .blue:hover a {
    /*color: #0e7ca7;
    text-shadow: -1px 0px #FFFFFF,
                  0px 1px #FFFFFF,
                  1px 0px #FFFFFF,
                  0px -1px #FFFFFF,
                  -2px 1px #FFFFFF,
                  1px 2px #FFFFFF,
                  1px -2px #FFFFFF,
                  0px 3px #FFFFFF,
                  0px 4px #FFFFFF,
                  3px 0px #FFFFFF,
                  4px 0px #FFFFFF;*/
}

.bottom-menu {
    font-family: minecraftia, serif;
}

.bottom-menu ul {
    font-size: 10px;
}

.bottom-menu ul.en .li-style:nth-child(1) {
    width: 22%;
}

.bottom-menu ul.en .li-style:nth-child(2) {
    width: 19%;
}

.bottom-menu ul.en .li-style:nth-child(3) {
    width: 27%;
}

.bottom-menu ul.en .li-style:nth-child(4) {
    width: 32%;
}

.bottom-menu ul.de {
    font-size: 10px;
}

.bottom-menu ul .li-style.languages {
    width: 31%;
}

.cover {
    z-index: 1;
}

.desktop_hide {
    display: block;
}

.desktop_only {
    display: none;
}

#volume {
    height: 65px;
    width: 79px;
    background-image: url(../img/game/on.png);
    position: fixed;
    bottom: 2em;
    right: 0;
    cursor: pointer;
    display: none;
}

#volume.mute {
    background-image: url(../img/game/off.png);
}

@media only screen and (min-width: 650px) {
    .bottom-menu ul {
        font-size: .8em;
    }

    .bottom-menu ul.de, .bottom-menu ul.en, .bottom-menu ul.es {
        font-size: .8em;
    }

    .bottom-menu ul.en .li-style:nth-child(1), .bottom-menu ul.en .li-style:nth-child(2), .bottom-menu ul.en .li-style:nth-child(3), .bottom-menu ul.en .li-style:nth-child(4), .bottom-menu ul.en .li-style.languages {
        width: auto;
    }

    .bottom-menu ul .li-style.languages, .bottom-menu ul .li-style.separator {
        width: auto;
    }

    body #sendCV {
        max-width: 60%;
        left: 50%;
        margin-left: -30%;
        top: 50%;
    }

    body #sendCV .title {
        text-align: left;
    }

    body #sendCV .button {
        width: auto;
        float: left;
    }

    body #sendCV .yellow {
        width: 230px;
        margin: 2em auto;
    }

    body #sendCV .blue {
        margin: 1em auto;
    }

    body:after {
        /*font-size: 7em;*/
        font-size: 4em;
    }
}

@media only screen and (min-width: 1025px) {
    .gameWrapp {
        display: none;
    }

    body:after {
        /*font-size: 11em;*/
        font-size: 4em;
    }

    body #sendCV {
        max-width: 70%;
        margin-left: -15%;
        padding: 15px 30px;
        left: 30%;
    }

    body #sendCV .title {
        font-size: 2.5em;
    }

    body #sendCV .text {
        font-size: 1.5em;
    }

    body #sendCV .button {
        font-size: 1.15em;
        padding: 15px 10px;
    }

    body #howToPlay .play {
        font-size: 3em;
        height: 70px;
        line-height: 60px;
        margin-left: -100px;
        width: 200px;
    }

    body #howToPlay .play:hover {
        margin-left: -93px;
    }

    .desktop_hide {
        display: none;
    }

    .desktop_only {
        display: block;
    }
}

@media only screen and (min-width: 1400px) {
    body #sendCV {
        max-width: 50%;
        margin-left: -25%;
        left: 50%;
    }
}

@media only screen and (max-device-width: 1024px) {
    body {
        overflow: hidden;
    }

    .controlsBg {
        bottom: 41px;
        background-color: #282929;
        height: 85px;
        left: 0;
        position: fixed;
        width: 100%;
        z-index: 1;
    }

    .gameWrapp {
        height: 100%;
        margin: auto;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 2;
        left: 0;
        -moz-box-sizing: border-box;
        border: 1.5em solid transparent;
        border-bottom: none;
    }

    .gameWrapp.hidden {
        display: none;
    }

    .gameWrapp .controls {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        border: 10px;
        width: 100%;
        position: absolute;
        bottom: 65px;
    }

    .gameWrapp .controls div {
        cursor: pointer;
    }

    .gameWrapp .controls #leftB, .gameWrapp .controls #rightB {
        background-color: #63b17d;
        box-shadow: 0px 0px 0px 5px #63b17d, 1px 0px 1px 5px #49825c, 0px 1px 1px 5px #49825c, 2px 1px 1px 5px #49825c, 1px 2px 1px 5px #49825c, 3px 2px 1px 5px #49825c, 2px 3px 1px 5px #49825c, 4px 3px 1px 5px #49825c, 3px 4px 1px 5px #49825c, 5px 4px 1px 5px #49825c, 4px 5px 1px 5px #49825c, 6px 5px 1px 5px #49825c, 5px 6px 1px 5px #49825c, 7px 6px 1px 5px #49825c;
        color: white;
        float: left;
        font-family: minecraftia, serif;
        height: 40px;
        width: 100px;
        text-align: center;
        line-height: 40px;
        font-size: 1.5em;
        border-radius: 1px;
    }

    .gameWrapp .controls #rightB {
        float: right;
    }

    .gameWrapp .controls #actionB {
        -moz-box-sizing: border-box;
        margin-left: 150px;
        margin-right: 155px;
        color: #FFFFFF;
        font-family: minecraftia, serif;
        text-align: center;
        height: 40px;
        line-height: 40px;
        background-color: #f2665c;
        box-shadow: 0px 0px 0px 5px #f2665c, 1px 0px 1px 5px #e04027, 0px 1px 1px 5px #e04027, 2px 1px 1px 5px #e04027, 1px 2px 1px 5px #e04027, 3px 2px 1px 5px #e04027, 2px 3px 1px 5px #e04027, 4px 3px 1px 5px #e04027, 3px 4px 1px 5px #e04027, 5px 4px 1px 5px #e04027, 4px 5px 1px 5px #e04027, 6px 5px 1px 5px #e04027, 5px 6px 1px 5px #e04027, 7px 6px 1px 5px #e04027;
        border-radius: 1px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    #canvas {
        top: 0 !important;
    }

    #canvasfg {
        display: none;
    }
}
