html,
body,
#game,
#game html,
#game body {
    margin: 0;
    padding: 0;
    border: none;
}

#body-platform-gmr {
    padding-top: 33px;
    background-color: #000;
}

#body-platform-souz {
    padding-top: 0;
}

#body-platform-mg, #body-platform-mg\.pc {
    padding-top: 0;
    background-color: #000;
}

#game-container {
    line-height: 0;
}
.hide-game-container {
    margin-left: 10000px !important;
}
.ads-placeholder {
    line-height: 0;
    display: block;
}

#game-container.no-game-frame {
    background: white;
    line-height: normal;
}

#game-container iframe {
    display: block;
    margin: auto;
}

.ads-placeholder iframe[height='0'] {
    display: none;
}

.show-popup-close {
    display: block;
}

.popup-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    position: absolute;
}

.popup-container {
    z-index: 10010;
}

.popup-content {
    z-index: 10020;
    height: 100%;
}

.display-none {
    display: none;
}

.hidden {
    visibility: hidden;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

[data-go], [data-nav] {
    cursor: pointer;
}

/* begin: game menu */
.game-menu {
    padding: 2px 0 3px 0;
    background-color: #000000;
    overflow: hidden;
    min-height: 28px !important;
    height: auto !important;
}

.game-closed .game-menu {
    display: none;
}

.game-menu.has-langs {
    padding-right: 50px;
}

.game-menu__content {
    height: 100%;
    text-align: center;
}

.game-menu__server-info {
    display: none;
}

.game-menu__button {
    width: 124px;
    height: 23px;
    background-color: #ffffff;
    margin: 0 1px;
    border: none;
    font-weight: bold;
    font-size: 12px;
    line-height: 23px;
    text-align: center;
    font-family: Tahoma, serif;
    cursor: pointer;
}

.game-menu__button-frame {
    position: relative;
    float: none;
    display: inline-block;
}

.js-mobile-version-button,
.is-mobile .js-mobile-version-button {
    display: none;
}

[class^='octo-platform-sa'] .js-mobile-version-button,
[class*=' octo-platform-sa'] .js-mobile-version-button {
    display: inline-block;
}

.game-menu__button-frame.js-flash-button {
    width: 191px;
    height: 28px;
    background-color: #da3434;
    border: 1px solid #370e0c;
    cursor: pointer;
    box-sizing: border-box;
    color: #fff;

    font-family: Arial;
    font-weight: bold;
    font-size: 15px;
    line-height: 26px;
    text-align: center;
}

.game-menu__logo {
    float: left;
    background-image: url('../images/game-menu/logo.png');
    background-repeat: no-repeat;
    background-position: 9px 0;
    width: 34px;
    height: 26px;
    padding: 0 5px;
}

.game-menu__logo:hover {
    background-position: 9px -26px;
}

.game-menu__auth-bar {
    display: none;
    float: right;
}

.game-menu__exit-button {
    height: 22px;
    line-height: 22px;
    color: white;
    font-family: Arial, serif;
    font-size: 11px;
    float: left;
    padding: 0 10px;
}

.game-menu__exit-button:hover {
    color: #ffae00;
    cursor: pointer;
    text-decoration: underline;
}

.game-menu .social-auth-widget {
    overflow: hidden;
    float: left;
}

.game-menu .auth-btn {
    width: 22px;
    height: 22px;
    float: left;
    background-image: url("../images/social-auth-buttons.png");
    background-color: transparent;
    background-repeat: no-repeat;
    cursor: pointer;
}

.game-menu .auth-btn.active {
    cursor: inherit;
}

.game-menu .auth-btn.ok {
    background-position: 0 0;
}

.game-menu .auth-btn.ok.active {
    background-position: 0 -22px;
}

.game-menu .auth-btn.fb {
    background-position: -123px 0;
}

.game-menu .auth-btn.fb.active {
    background-position: -123px -22px;
}

.game-menu .auth-btn.mm {
    background-position: -23px 0;
}

.game-menu .auth-btn.mm.active {
    background-position: -23px -22px;
}

.game-menu .auth-btn.vk {
    background-position: -46px 0;
}

.game-menu .auth-btn.vk.active {
    background-position: -46px -22px;
}

.game-menu .auth-btn.sa {
    width: 53px;
    background-position: -69px 0;
}

.game-menu .auth-btn.sa.active {
    background-position: -69px -22px;
}

.game-menu .auth-btn.tw,
.game-menu .auth-btn.gplus {
    display: none;
}

.lite.game-menu {
    background-color: #ffffff;
}

.lite .game-menu__button {
    background-color: #000000;
    color: #ffffff;
}

.lite .game-menu__exit-button {
    color: #000000;
}
/* end: game menu */

.payment-dialog {
    margin: 3px auto 0;
}

.pay-system-switch {
    text-align: left;
    margin: 0 auto;
}

.pay-system-switch__caption {
    color: rgba(255,255,255, .7);
    font-size: .8em;
    font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0 0 5px 5px;
}

.pay-system-switch__button {
    color: rgba(255,255,255, .7);
    text-decoration: none;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255, .7);
    margin-right: 5px;
    padding-left: 2px;
    padding-right: 2px;
}

.pay-system-switch__button:hover {
    color: black;
    background-color: rgba(255,255,255, .7);
}

.js-pay-system-close {
    float: right;
}

.pay-system-switch__list {
    display: none;
}

.pay-system-switch__list.show {
    display: inline-block;
}

.payment-frame {
    margin: auto;
    display: block;
}

.payment-frame_platbox-mobile {
    background-color: #fff;
}

.show-switch-hint_problem .payment-frame,
.show-switch-hint_platbox .payment-frame
{
    display: none;
}

.pay-system-switch__hint {
    display: none;
    background: url("../images/pay-system-switch/hint-background.jpg");
    font-family: Arial, serif;
    font-size: 15px;
    text-align: center;
    position: relative;
    padding-top: 10px;
}

.pay-system-switch__hint-holder {
    position: static;
    top: 0;
    left: 0;
}

.show-switch-hint_problem .pay-system-switch__hint_problem,
.show-switch-hint_platbox .pay-system-switch__hint_platbox {
    display: block;
}

.pay-system-switch__hint-arrow {
    background: url("../images/pay-system-switch/arrow_light.png") no-repeat center center;
    width: 251px;
    height: 217px;
    left: -37px;
    position: absolute;
    top: -13px;
}

.pay-system-switch__hint-body {
    background: #fff;
    border-radius: 10px;
    width: 196px;
    left: 0;
    margin-left: 50px;
    display: block;
    bottom: 0;
    position: relative;
    padding: 15px;
}

.pay-system-switch__hint-text {
    height: 113px;
    margin-bottom: 100px;
    padding: 4px 0 0 15px;
    text-align: left;
    line-height: 1.4;
}

.pay-system-switch__hint-arrow-text {
    text-align: left;
    padding-left: 30px;
    font-weight: 100;
    position: absolute;
    top: 165px;
    width: 200px;
    margin-left: 35px;
    margin-top: 5px;
}

.hide-switch-hint {
    font-weight: bold;
    color: #55ad4f;
}

/* hack for games.mail.ru: fix zero-pixel that hovered game top-menu. */
.games-headline > img {
    display: block;
}

.game-banner {
    text-align: center;
}

.game-banner-mm {
    background-color: transparent;
    border-bottom: 3px solid transparent;
}

.game-banner-ok {
    background-color: white;
    padding-bottom: 10px;
}

.game-banner-vk {
    border-bottom: 3px solid black;
}

.game-banner-image {
    border: none;
    cursor: pointer;
    margin: 0 auto;
}

.game-banner-close {
    background-image: url("../images/banner-close-button.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 11px;
    height: 11px;
    position: absolute;
}

.game-banner-close:hover {
    background-position: 0 -11px;
    cursor: pointer;
}

.user-switching-alert {
    background: #cf0404; /* Old browsers */
    background: -moz-linear-gradient(top, #cf0404 7%, #ff3019 45%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cf0404 7%, #ff3019 45%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cf0404 7%, #ff3019 45%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf0404', endColorstr='#ff3019', GradientType=0); /* IE6-9 */
    margin: 0;
    padding: 5px 0;
    color: #3EFF3E;
    text-align: center;
    font-family: monospace;
}

.user-switching-alert.user-switching-alert-html5 {
    margin-top: -8px;
	position: absolute;
    z-index: 3;
}

.debug-session-alert {
    background-color: #001621;
    border: 1px solid;
    text-align: right;
    color: #027702;
    font-family: monospace;
    font-weight: bold;
    font-size: x-small;
    padding: 2px 10px;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.server-opening-timer__banner {
    height: 90px;
    border-top: 1px solid black;
    background-color: #ebedf1;
    background-repeat: no-repeat;
    background-position: center;
}

.server-opening-timer__timer {
    color: #ff5a00;
    text-shadow:
        -2px -2px 0 #540000,
        2px -2px 0 #540000,
        -2px 2px 0 #540000,
        2px 2px 0 #540000;
    font-size: 21px;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    height: 90px;
    line-height: 78px;
    padding-left: 200px;
}

.server-opening-timer__timer span {
    font-family: "PT Sans Bold", serif
}

.mobile-os_ios.mobile-type_phone .js-button-fullscreen {
    display: none;
}

#landing-container iframe {
    min-height: 100vh;
}
