body {
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    background-color: #151515;
    font: normal 1em/1.3em 'Montserrat', sans-serif;
    overflow-y: visible;
}

#header {
    width: 100%;
    height: 52px;
    overflow: hidden;
    color: #b1982c;
    position: fixed;
    margin-top: 0;
    top: 0;
    background-image: url(../img/header_bg.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-color: #000;
}

#header #logo, #logo {
    display: block;
    left: 0;
    outline: none;
    width: 130px;
    height: 46px;
    background-image: url(../img/logo_big_small.png);
    top: -7px;
    margin-right: 80px;
}

.wrapper {
    max-width: 970px;
    margin: 0 auto;
    position: relative;
}

.wrapper .cover {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
}

#top-menu {
    float: left;
    margin-top: 12px;
}

#top-menu a.home {
    width: 20px;
    height: 20px;
    overflow: hidden;
    margin-top: 5px;
    color: transparent;
    background-image: url(../img/icon_home.png);
    background-position: 0 0;
}

#top-menu a {
    position: relative;
    display: inline-block;
    float: left;
    line-height: 31px;
    font-size: 14px;
    color: #fff;
    margin: 0 8px;
    text-decoration: none;
    font-weight: bold;
}

.custom-btn {
    background-position: center center;
    background-repeat: repeat-x;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    line-height: 29px;
    text-transform: uppercase;
    text-shadow: 0 0 1px #fdb953;
    padding: 0 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    outline: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    border: 1px solid #000;
    background-image: -moz-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    Box-shadow: 0 0 0 1px #f6f6f6;
}

.btn-grey {
    Box-shadow: 0 0 0 1px #ababab;
    background: linear-gradient(to right, #ffffff 40%, #dcdcdc);
    text-shadow: 0 0 1px #ffffff;
}

#header #btn-login {
    display: inline-block;
    float: right;
    margin-top: 12px;
    position: relative;
    border: 1px solid #000;
    border-radius: 3px;
    background-image: -moz-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(207, 207, 207) 100%);
    Box-shadow: 0 0 0 1px #f6f6f6;
}

.btn-gold {
    /* background-image: url(../images/btn_gold_bg.png); */
    border: 1px solid #000;
    Box-shadow: 0 0 0 1px #fdb953;
    background: linear-gradient(to right, #f0d165, #c39232);
    /* background: -webkit-linear-gradient(left, #f0d165, #c39232); */
    background: -o-linear-gradient(right, #f0d165, #c39232);
    background: -moz-linear-gradient(right, #f0d165, #c39232);
}

#header #btn-join {
    display: inline-block;
    float: right;
    margin-top: 12px;
    margin-right: 15px;
    position: relative;
}

.popup-game {
    position: fixed;
    margin-left: 0;
    margin-top: 0;
    left: 0;
    top: 55px;
    right: 0;
    bottom: 0;
}

.game-cont {
    max-width: 1500px;
    margin: auto;
}

.popup-game, .popup-game-mobile {
    z-index: 2100;
    background-image: url(../img/game_bg.jpg);
    background-position: center top;
    background-size: cover;
}

#popup-game .panel-info {
    float: right;
    width: 298px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 40px);
    justify-content: space-between;
    margin-right: 30px;
}

#popup-game .panel-game {
    position: relative;
    float: left;
    margin-left: 17px;
    margin-top: 43px;
    margin-bottom: 20px;
    border: 1px solid #797979;
    background-color: #000;
    width: calc(100% - 360px);
}

.game-overlay {
    opacity: 0.4 !important;
}

#popup-game .panel-game .game-container {
    /*background-image: url(../img/gif-load.gif);*/
    background-size: 160px 120px;
    background-position: center center;
    position: absolute;
    z-index: 1;
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    height: 100%;
}

.popup-overlay {
    z-index: 2100;
    opacity: 0.8;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    background-image: url(../img/overlay.png);
    background-position: left top;
    background-repeat: repeat;
    width: auto;
    height: auto;
    display: none;
}

.game-iframe, #iframe {
    z-index: 9999 !important;
    display: none;
    width: 100%;
    height: 100%;
}

.game-wrapper-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: -webkit-min-content;
    max-width: -moz-min-content;
    max-width: min-content;
    min-height: -webkit-max-content;
    min-height: -moz-max-content;
    min-height: max-content;
}

.game-wrapper-main-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 1;
}

#popup-game .panel-info .game-name {
    font-size: 24px;
    line-height: 28px;
    color: #d4b52e;
    margin-bottom: 10px;
    display: block;
    margin-top: 6px;
}

#popup-game .game-rules, #popup-game .panel-info .game-description, #popup-game .panel-info .game-description p span {
    font-size: 14px;
    line-height: 20px;
    color: #fff !important;
    margin-bottom: 10px;
    font-weight: normal;
    display: block;
    flex-grow: 1;
    overflow-y: auto !important;
    height: 0;
}

.wrapper-game-info {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0 auto;
    padding-bottom: 10px;
}

#popup-game .panel-info .game-info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
}

#popup-game #game-data .game-volatility {
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 10px;
    text-align: center;
    padding-left: 33px;
    display: none;
    color: white;
    z-index: 50;
    width: auto;
    height: 21px;
    font-size: 11px;
    background: url(../img/volatility.png) no-repeat top left;
}

.popup-game .panel-info .game-info .game-rtp {
    margin-bottom: 1px;
    margin-left: 0;
    text-align: center;
    padding-left: 33px;
    display: none;
    color: white;
    z-index: 50;
    width: auto;
    height: 24px;
    font-size: 11px;
    background: url(../img/rtp.png) no-repeat top left;
}

#popup-game .panel-info .game-provider {
    display: flex;
    justify-content: center;
    z-index: 50;
    background: no-repeat bottom center;
}

#popup-game .registration-banner-game, #popup-overlay .registration-banner-game {
    display: block;
    width: 100%;
    max-width: -webkit-min-content;
    max-width: -moz-min-content;
    max-width: min-content;
    padding: 43px 10px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-width: 287px;
}

#popup-game .panel-info .btn-gold {
    text-align: center;
    width: auto;
    display: block;
}

#popup-game .panel-info .close {
    float: right;
    margin-left: 7px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    /*background-image: url(../images/game_popup_close.png);*/
}

#popup-game .panel-info .zoom {
    float: right;
    margin-left: 7px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    /*background-image: url(../images/game_popup_zoom.png);*/
}

.clear {
    clear: both;
}

@media screen and (max-width: 900px) {
    #popup-game .panel-info {
        display: none;
    }

    #popup-game .panel-game {
        width: 100%;
        margin-left: 0;
    }
}