@font-face {
    font-family: 'AkzidGroProCnd';
    src: url('AkzidGroProCnd.woff') format('woff'), url('AkzidGroProCnd.ttf') format('truetype');
}

html {
    position: relative;
    height: 100%;
    font-size: 62.5%;
}

body {
    position: relative;
    height: 100%;
    font-family: AkzidGroProCnd, arial, sans-serif;
    background: #000 url('inGameBg.jpg') no-repeat 50% 0;
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
    user-select: none;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

#unity-canvas {
    width: 1024px;
    height: 576px;
    display: block;
    margin: 0 auto;
    position: relative;
}

#wsopApp * {
    border: 0;
    margin: 0;
    padding: 0
}

#wsopApp {
    width: 1024px;
    height: 576px;
    display: block;
    margin: 0 auto;
    position: relative;
}

#wsopApp>canvas {
    background-color: #05041E;
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#wsopApp .backgroundIMG {
    background: url('background.png') no-repeat center / contain;
    background-size: cover;
    max-width: 1499px;
    width: 100%;
    height: 100% !important;
    display: inline;
    opacity: 0.5;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#wsopApp #logo {
    position: absolute;
    left: 50%;
    top: 80%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: url('progressLogo.Light.png') no-repeat center / contain;
    width: 154px;
    height: 130px;
}

#wsopApp #loading {
    background: url('loading_circle.png') no-repeat center / contain;
    width: 140px;
    height: 140px;
    position: absolute;
    left: 50% !important;
    top: 80% !important;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: rotation 2s infinite linear;
    animation: rotation 2s infinite linear;
}

#webgl-header {
    height: 60px;
    line-height: 60px;
    width: 760px;
    margin: auto;
    padding-top: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#webgl-header .header-icon {
    background-image: url(../icons/48x48.png);
    width: 50px;
    height: 50px;
    float: left;
    margin-top: 3px;
}

#webgl-header .header-title {
    font-size: 3.5rem;
    font-weight: bold;
    padding-left: 10px;
    float: left;
}

body.standalone #webgl-header .header-fan {
    display: none;
}

#webgl-header .header-fan {
    display: block;
    position: absolute;
    right: 0;
    top: -5px;
    width: 103px;
    height: 71px;
}

#webgl-footer {
    margin: 0 auto;
    clear: both;
    text-align: center;
    display: block;
}

#webgl-footer a,
#webgl-footer a:hover,
#webgl-footer a:visited {
    color: #fff;
    text-decoration: underline;
}

body.facebook #webgl-footer .footer-disclaimer {
    display: none;
}

/* center popups on Facebook */
body.facebook #OneRewardDiv,
body.facebook #plpPopupContainer,
body.facebook #oneconnect-back > div {
    top: 30%;
}

#webgl-footer .footer-disclaimer {
    position: relative;
    bottom: 0;
    font-size: 1.5rem;
    color: #fff;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px 2px black;
    pointer-events: none;
}

#webgl-footer .footer-disclaimer .disclaimer-text {
    line-height: 1.2rem;
}

body.standalone #webgl-footer .apps-links .mobileIcon {
    display: none;
}

#webgl-footer .apps-links .mobileIcon {
    display: block;
    width: 125px;
    height: 38px;
    display: inline-block;
    margin: 10px 5px 0 5px;
}

#player-info span {
    user-select: all;
    padding: 0 5px;
}

#player-info strong {
    padding: 0 2px;
}

.btn {
    font-family: AkzidGroProCnd;
    font-size: 2rem;
    color: #83bdff;
    background: none;
    position: relative;
    top: auto;
    left: auto;
    overflow: visible;
    border: 0;
    cursor: pointer;
    padding: 0 5px 0 5px;
}

.action-btn {
    cursor: pointer;
    color: #044b00;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    border: 2px solid black;
    border-radius: 2px;
    background: #b6ff00;
    background-image: linear-gradient(to bottom, #b6ff00 0%, #b6ff00 10%, #3eb300 35%, #3eb300 65%, #b6ff00 90%, #b6ff00 100%);
    box-shadow: inset 0 0 2px 2px #1e7203;
    text-shadow: 0 1px 0 rgb(255 255 255 / 25%), 0 -1px 0 rgb(0 0 0 / 25%);
    width: auto;
    height: 100%;
    font-family: AkzidGroProXBolCnd;
    padding: 5px 10px;
}

/*#fullscreen-btn {*/
/*    display: none;*/
/*}*/

@-webkit-keyframes rotation {
    from {
        -webkit-transform: translate(-50%, -50%) rotate(359deg);
    }
    to {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes rotation {
    from {
        transform: translate(-50%, -50%) rotate(359deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

#oneconnect-back {
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: transparent;
    position: fixed !important;
}

#oneconnect-back iframe {
    border: none;
}

#oneconnect-back>div {
    position: fixed;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 640px) {
    #oneconnect-back>div {
        width: 600px;
        height: calc(648px);
    }
}

@media screen and (min-width: 960px) {
    #oneconnect-back>div {
        width: 500px;
        height: calc(540px);
    }
}

/* for ultra wide monitors */
@media screen and (min-width: 2380px) {
    body {
        background: #000;
    }
    #webgl-header {
        background: url('inGameBg.jpg') repeat 50% 0;
    }
}
