canvas {
    cursor: default;
    outline: none;
}

body {
    /*background-color: #222222;*/
    background: #0c0c13 url(bg-imagepsd.png) no-repeat center center fixed;
    /*background: url(bg-imagepsd.png) rgba(0, 0, 0, .35) no-repeat center center fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /*background-blend-mode: darken;*/
    user-select: none;
    -webkit-user-select: none;
}

.gdx-preloader {

}

.gdx-preloader .logo {
    max-width: 100%;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
}

.logo {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
}

/*the loading bar container*/
.loadingbar {
    height: 16px;
    width: min(200px, 35vw);
    min-width: 200px;
    position: relative;
    background-image: url(loading-background.png);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-size: 16px;
    margin: 10px 0 40px;
    text-align: left;
    transform: scale(1.5);
    box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.loadingbar > span {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/*the loading animated character building*/
.loadingbar > .knob {
    position: absolute;
    width: 32px;
    top: -30px;
    transform: translate(-21px, 0px);
    box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.3);
}

/*the actual progress bar*/
.loadingbar > span:after, .gdx-animate > span > span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: url(loading-foreground.png);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-size: 16px;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
}

.gdx-animate > span:after {
    display: none;
}

@-webkit-keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.loadingbar.nostripes > span > span, .loadingbar.nostripes > span:after {
    -webkit-animation: none;
    background-image: none;
}

.superdev {
    z-index: 1;
    position: absolute;
    top: 0px;
    right: -37px;
    width: 52px;
    height: 50px;
    background-color: #ff2d2ddb !important;
    color: white !important;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 79px;
    transform: rotate(45deg);
    transform-origin: top right;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
}

.superdev:active {
    top: 2px;
    color: #e3e3e3;
}

.superdev:hover {
    background-color: rgb(100,100,100);
}

.gwt-TextArea {
    display: none;
}

.advertisement {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
}

.advertisement > div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: auto;
}

.advertisement > div > div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    display: block;
}

.advertisement > div > div > iframe {
    position: relative;
    top: 50%;
    margin: auto;
    display: block;
}

.hidden {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    display: block;
    font-size: 1;
    z-index: -1;
    color: transparent;
    background: transparent;
    overflow: hidden;
    border: none;
    padding: 0;
    resize: none;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
    /* Because for user-select:none, Safari won't allow input */
}

@keyframes scaleText {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    0% {opacity: 0;}
    50% {opacity: 0;}
    100% {opacity: 1;}
}

p {
    font-weight: bold;
/*    font-variant: small-caps;*/
    font-family: monospace; font-size: 11px;
    color: #f1c40f;
    padding: 10px 10px;
    margin: 10px;
    letter-spacing: 1px;
    text-align: center;
/*    text-shadow: 2px 2px 0px #2c3e50, 2px 2px 0px #34495e;*/
    text-shadow: rgba(0, 0, 0, 0.59) 1px 1px 1px;

    /*    background-color: #34495e;*/
    /*    border: 3px solid #2c3e50;*/
    /*    border-radius: 5px;*/
    /*    display: inline-block;*/
}

#splash-text {
    width: 150px;
    height: 40px;
    line-height: 20px;
}

td {
    position: relative;
}

.company-logo-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.company-logo {
    opacity: 0.5;
    max-width: 152px;
    display: inline-block;
}

@media screen and (max-height: 300px) {
    .company-logo-container {
        left: auto;
        right: 0;
        transform: translateX(0%);
        margin-right: 30px;
    }
}

.fade-in {
    opacity: 0;
    animation:
        fadeIn 0.3s ease-in-out forwards,
        scaleText 2s infinite ease-in-out
    ;
}

.adContainer {
    pointer-events: none; /* Make the container untouchable */
    display: flex;
    justify-content: center;
    overflow: hidden !important;
}

.adContainer > * {
    pointer-events: auto; /* Allow clicks on the iframe */
}

.adContainer .hidden * {
    visibility: hidden;
}