.lock-screen,
.popup-overlay {
    position: fixed;
    display: -ms-flexbox;
    display: flex;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
    z-index: 1002
}

.wrapper-popup {
    font-family: Helvetica, Tahoma, Arial, Verdana, Microsoft YaHei New, Microsoft Yahei, 微软雅黑, 宋体, SimSun, STXihei, 华文细黑, FangSong, 仿宋, STFangSong, 华文仿宋, 冬青黑体, Hiragino Sans GB, STHeiti Light, 华文细黑, KhmerOS, sans-serif;
    background-color: rgba(0, 0, 0, .85);
    border-radius: 20px;
    height: auto;
    color: #fff;
    text-align: center
}

.popup-title {
    color: #ffae00;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0
}

.popup-description {
    line-height: 33px;
    max-width: 500px;
    text-align: center;
    color: #fff;
    margin: 30px 0 0;
    padding: 0 30px
}

.popup-description a {
    color: inherit
}

.windows.currency-vnd .popup-description,
.windows.lang-vi .popup-description {
    font-family: Tahoma, Arial, Verdana, Microsoft YaHei New, Microsoft Yahei, 微软雅黑, 宋体, SimSun, STXihei, 华文细黑, FangSong, 仿宋, STFangSong, 华文仿宋, 冬青黑体, Hiragino Sans GB, STHeiti Light, 华文细黑, KhmerOS, sans-serif
}

.lang-th .popup-description,
.lang-th .popup-title {
    line-height: 1.7 !important
}

.lang-vi .popup-description,
.lang-vi .popup-title {
    line-height: 1.5 !important
}

.generic-button {
    color: #303030;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 1px rgba(255, 255, 255, .5);
    border-radius: 42px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    position: relative;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .9);
    background: linear-gradient(to right, #8b8b8b 0, #fafafa 20%, #8b8b8b 50%, #fafafa 80%, #8b8b8b 100%);
    box-sizing: border-box
}

.generic-button:not(.disabled):active {
    background-color: #464646
}

.generic-button:not(.disabled):active::before {
    background: #d0d0d0;
    background-image: linear-gradient(to bottom, #9c9c9c 0, #fff 100%)
}

.generic-button:not(.disabled):active::after {
    -webkit-transform: scale(.95);
    transform: scale(.95)
}

.generic-button::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 42px;
    background: #d0d0d0;
    background-image: linear-gradient(to top, #9c9c9c 0, #fff 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 2px #fff
}

.generic-button::after {
    content: attr(data-text);
    display: block;
    position: relative;
    white-space: nowrap
}

.generic-button.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: default
}

.generic-button-holder {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
}

.generic-button-text {
    position: relative
}

.wrapper-popup {
    min-width: 300px;
    padding: 40px;
    cursor: default
}

.popup-title {
    font-size: 38px
}

.popup-description {
    font-size: 22px
}

.generic-button {
    cursor: pointer;
    font-size: 22px;
    padding: 14px;
    line-height: 25px;
    margin: 30px 15px 0;
    min-width: 176px
}

.generic-button-holder {
    margin: 0 -15px;
    max-width: 600px
}

.popup-overlay.popup-overlay-window {
    background: 0 0
}

.popup-overlay.fullscreen {
    z-index: 1004
}

.window-container {
    background-color: rgba(0, 0, 0, .85);
    border-radius: 13px;
    bottom: 50px;
    color: #fff;
    font-family: Helvetica, Tahoma, Arial, Verdana, Microsoft YaHei New, Microsoft Yahei, 微软雅黑, 宋体, SimSun, STXihei, 华文细黑, FangSong, 仿宋, STFangSong, 华文仿宋, 冬青黑体, Hiragino Sans GB, STHeiti Light, 华文细黑, KhmerOS, sans-serif;
    font-size: 1.1em;
    left: 70px;
    line-height: 1.35;
    overflow: hidden;
    position: absolute;
    padding: 50px 5% 5%;
    right: 70px;
    top: 60px;
    -webkit-overflow-scrolling: touch
}

.fullscreen .window-container {
    bottom: 0;
    border-radius: 0;
    left: 0;
    right: 0;
    top: 0
}

.window-container.game-history {
    padding: 50px 20px 25px
}

.ios .window-container {
    -webkit-text-size-adjust: 100%
}

.window-container .mobile {
    font-size: 1em
}

.window-container h1,
.window-container h2 {
    font-weight: 700;
    color: #ffae00;
    margin: 0 0 2.5%;
    text-transform: uppercase;
    font-size: 190%
}

.window-container h2 {
    font-size: 150%
}

.window-container h3 {
    color: #f2ce66;
    font-size: 105%;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0
}

.window-container p+h2,
.window-container ul+h2 {
    margin-top: 4.5%
}

.window-container p+h3,
.window-container ul+h3 {
    margin-top: 3%
}

.window-container h2 img,
.window-container h3 img {
    display: block;
    margin-top: 2.5%
}

.window-container p {
    margin-top: .8em;
    text-align: left
}

.window-container em {
    font-style: italic
}

.window-container b,
.window-container strong {
    font-weight: 700
}

.window-container mark {
    color: red;
    background: inherit
}

.window-container img {
    vertical-align: middle;
    max-width: 100%
}

.window-container table {
    margin: 2.5% 0
}

.window-container td>h3 {
    color: #fff;
    font-size: 18px
}

.window-container ol,
.window-container ul {
    padding-left: 1.2em;
    margin: .8em 0
}

.window-container li {
    padding: 3px
}

.window-container li>img {
    max-width: 8%
}

.window-container ul {
    list-style-type: disc
}

.close-btn,
.close-hit-area {
    position: absolute;
    z-index: 11;
    border-radius: 50%;
    border: 1px solid transparent
}

.close-hit-area {
    top: 4px;
    right: 4px;
    width: 50px;
    height: 50px;
    display: none
}

.mobile .close-hit-area {
    display: block
}

.close-btn {
    top: 14px;
    right: 14px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 0;
    opacity: .8;
    -webkit-tap-highlight-color: transparent
}

.game-history .close-btn {
    top: 10px
}

.close-btn:hover {
    opacity: 1
}

.close-btn:active::after,
.close-btn:active::before {
    -webkit-transform: scale(.9, .9);
    transform: scale(.9, .9)
}

.close-btn::after,
.close-btn::before {
    content: "";
    position: absolute;
    border-radius: 5px;
    background-color: #fff
}

.close-btn::before {
    height: 6px;
    width: 100%;
    top: 12px
}

.close-btn::after {
    height: 100%;
    width: 6px;
    left: 12px;
    top: 0
}

.window-content {
    cursor: default;
    height: 100%;
    overflow: auto;
    padding-right: 15px;
    width: 100%
}

.safariios .window-content * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
}

.safariios.portrait .window-content {
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.window-content .iframe-container {
    height: 100%;
    overflow: hidden;
    width: 100%
}

.ios .window-content .iframe-container {
    overflow: auto;
    overflow-x: hidden
}

.window-content iframe {
    border: 0;
    height: 100%;
    width: 100%
}

@media screen and (min-width:1160px) {
    .popup-overlay:not(.fullscreen) .window-container {
        width: 900px;
        display: -ms-flexbox;
        display: flex;
        margin: auto
    }
}

@media screen and (max-width:900px) {
    .window-container {
        font-size: 85%;
        top: 20px;
        left: 15px;
        bottom: 20px;
        right: 15px
    }
}

.help-additional {
    border-top: 1px solid gray;
    margin-top: 20px;
    padding-top: 20px
}

.switch {
    position: relative;
    display: inline-block;
    margin-right: 8px;
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.switch-holder {
    background: url(../img/switcher-bg.png) no-repeat 0 0
}

.switch-pin {
    background: url(../img/switcher.png);
    position: absolute;
    transition: left .2s ease-in-out
}

.switch-input {
    opacity: 0;
    position: absolute;
    left: -9999px
}

.control-block {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    text-align: left;
    z-index: 1
}

.control-block.active {
    z-index: 2
}

.control-block.active .dropdown,
.control-block.active .dropdown-options-holder {
    background: #5d5d5d;
    box-shadow: 0 0 10px #000 inset
}

.control-block.active .dropdown-options-holder {
    display: block
}

.control-block-text {
    color: #7e7e7e;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.dropdown,
.numset-label {
    border: 2px solid #5d5d5d;
    box-sizing: border-box;
    color: #5d5d5d;
    float: right;
    text-align: left;
    white-space: nowrap
}

.dropdown {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    width: 100%
}

.dropdown::after {
    border-color: #5d5d5d transparent transparent;
    border-style: solid;
    height: 0;
    position: absolute;
    right: 10px;
    width: 0
}

.on .dropdown::after {
    border-top-color: #fff
}

.dropdown-value {
    margin-left: 10px
}

.dropdown-options-holder {
    border: 2px solid #fff;
    color: #fff;
    display: none;
    left: -2px;
    overflow: auto;
    position: absolute;
    top: 100%;
    width: 100%
}

.dropdown-option {
    cursor: pointer;
    padding: 0 10px;
    position: relative
}

.dropdown-option:hover {
    background: #000
}

.dropdown-option.selected {
    color: #ffc000
}

.dropdown-option.selected::after {
    content: "●";
    display: block;
    position: absolute;
    right: 10px;
    top: 0
}

.numset {
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .3;
    position: relative;
    pointer-events: none
}

.numset.active {
    -webkit-transform: scale(.95, .95);
    transform: scale(.95, .95)
}

.dropdown::after,
.numset::after,
.numset::before {
    content: "";
    display: block
}

.numset-label,
.numset-value {
    -ms-flex-positive: 1;
    flex-grow: 1
}

.numset-label {
    display: -ms-flexbox;
    display: flex;
    overflow: hidden
}

.numset-value {
    color: #5d5d5d;
    background: 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    outline: 0 !important;
    padding: 1px;
    pointer-events: none;
    text-align: center;
    vertical-align: middle
}

.numset-value[disabled] {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.autoplay-popup {
    color: #fff;
    width: 100%;
    max-height: 94%;
    max-height: calc(100% - 20px);
    background-color: rgba(0, 0, 0, .85);
    box-sizing: border-box;
    z-index: 1100
}

.autoplay-popup-title {
    color: #ffc000;
    margin-bottom: 15px
}

.autoplay-popup-dash {
    position: relative
}

.control-block-core {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    margin: 0
}

.auto-popup-info .autoplay-popup-title {
    margin-top: 35px;
    margin-bottom: 30px
}

.wbr {
    display: inline-block
}

.on .control-block-text,
.on .dropdown,
.on .numset-label,
.on .numset-value,
.on-minus .numset-minus,
.on-plus .numset-plus {
    border-color: #fff;
    color: #fff;
    opacity: 1;
    pointer-events: all
}

.numbers-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.numbers-list__label {
    margin-right: auto;
    text-align: left
}

.numbers-list__item {
    font-family: Arial, Verdana, sans-serif;
    border: 2px solid #fff;
    text-align: center
}

.numbers-list__item.active {
    background-color: #fff;
    color: #000
}

.regulation-error {
    background: rgba(255, 192, 0, .16);
    box-sizing: border-box;
    color: #ffc000;
    text-align: center
}

.regulation-error.invisible {
    font-size: 0;
    padding: 0
}

.switch,
.switch-holder {
    border-radius: 20px;
    width: 80px
}

.switch-holder {
    background-size: 76px;
    width: 76px;
    height: 40px
}

.switch-pin {
    background-size: 46px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    top: -2px;
    left: 0
}

.switch-jackpot .switch {
    width: auto;
    -ms-flex-positive: 0;
    flex-grow: 0
}

.control-block-text {
    cursor: default;
    font-size: 22px;
    margin-right: 10px
}

.control-block-text:first-child {
    margin-left: 10px
}

.control-block-core {
    min-width: 217px
}

.currency-chars--2 .control-block-core {
    min-width: 230px
}

.currency-chars--3 .control-block-core,
.lang-es .control-block-core {
    min-width: 250px
}

.switch-input:checked+.switch-holder {
    background-position: 0 -40px
}

.switch-input:checked+.switch-holder .switch-pin {
    left: 35px
}

.numset-label {
    line-height: 38px;
    padding: 0 15px
}

.dropdown,
.numset-label {
    border-radius: 21px;
    height: 42px
}

.numset-currency,
.numset-value {
    font-size: 20px
}

.numset-value {
    width: 58px
}

.dropdown::after {
    border-width: 8px 5px 0
}

.dropdown-options-holder {
    border-radius: 21px;
    padding: 10px 0
}

.autoplay-popup {
    font-size: 22px;
    overflow: hidden;
    max-width: 625px;
    min-width: 610px
}

.autoplay-popup:not(.auto-popup-info) {
    padding: 30px 0 35px
}

.autoplay-popup .generic-button-holder {
    max-width: none
}

.autoplay-popup-dash {
    top: -2px
}

.autoplay-popup-title {
    cursor: default;
    font-size: 32px
}

.numset {
    cursor: default;
    height: 38px;
    width: 38px
}

.numset-plus::before,
.numset::after {
    background: #fff;
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 20px
}

.numset-minus {
    margin-right: 10px
}

.numset-plus {
    margin-left: 10px
}

.numset-plus::before {
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg)
}

.on-minus .numset-minus,
.on-plus .numset-plus {
    cursor: pointer
}

.switch-jackpot .control-block-core {
    display: none
}

.numbers-list {
    font-size: 22px
}

.numbers-list__label {
    margin-left: 10px
}

.numbers-list__item {
    margin-left: 16px;
    border-radius: 22px;
    padding: 5px 0;
    width: 80px
}

.numbers-list__item:not(.active) {
    cursor: pointer
}

.control-block,
.numbers-list {
    margin: 25px 0 3px;
    min-height: 50px;
    padding: 0 30px
}

.regulation-error+.control-block,
.regulation-error+.numbers-list {
    margin-top: 3px
}

.regulation-error {
    padding: 5px 80px 7px
}

.regulation-error.invisible {
    min-height: 22px
}