* {
    box-sizing: border-box;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -khtml-user-select: none;
    -o-user-select: none;
}
input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

/* Loader Start */
.loader-div {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #000000;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 205px;
    height: 205px;
    margin: -102px 0 0 -102px;
    background: url('../Images/loader-logo.gif') no-repeat center / contain;
}

.gfgloader .loader-logo {
    width: 173px;
    height: 162px;
    margin: -86px 0 0 -81px;
    background: url('../Images/gfgloader.png') no-repeat center / cover;
}

.loader-bar {
    width: 156px;
    height: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 90px 0 0 -89px;
    border-radius: 1px;
}

.loader-background {
	position: absolute;
	width: 0;
	top: -1px;
	left: -5px;
	height: 5px;
	overflow: inherit !important;
	background: url('../Images/loader-background.png') no-repeat center / cover;
}

.gfgloader .loader-background {
    display: none;
}

.loader-text {
    display: none;
}

.loader-icon {
	position: absolute;
	width: 24px;
	height: 21px;
	top: -8px;
	right: -12px;
	transition: .2s;
	transform: scale(0);
	will-change: transform;
	background: url('../Images/loader-icon.png');
}
/* Loader End */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
body{
    background-image: url(../Images/TowerX/background.jpg);
    background-position: top center;
    background-size: 100% 100%;
}
.GameParent{
    height: calc(100% - 168px);
    width: 100%;
    /* background-image: url(../Images/TowerX/canvas-border.png);
    background-repeat: round; */
    position: relative;
}
.canvas-border{
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(../Images/TowerX/canvas-border.png);
    background-repeat: round;
}
#game{
    padding: 30px 20px 12px 20px;
    height: 100%;
    position: fixed;
    width: 100%;  
}
#left-history {
    float: left;
    width: 96px;
    height: calc(100% - 175px);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: auto;
    scrollbar-width: none;
    border-radius: 15px;
}
#main-content {
    float: left;
    /* width: calc(100% - 581px); */
    width: calc(100% - 605px);
    height: 100%;
    margin: 0 18px;
    overflow: hidden;
    position: relative;
}
#right-statistics,
.balance-container {
    float: right;
    /* width: 440px; */
    width: 465px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-right: 3px;
    height: calc(100% - 175px);
}
.pink-color{
    color: #f048e0;
}
.green-color{
    color: #1da766;
}
.blue-color{
    color: #199cf1;
}
.left-history-header{
    width: 100%;
    height: 38px;
    background-color: #393f6b;
    background-image: url(../Images/TowerX/left-history-icon.png);
    background-repeat: no-repeat;
    background-position: center;
}
.left-history-items-container{
    height: calc(100% - 38px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: 0;
    scrollbar-width: none;
}
.left-history-items-container::-webkit-scrollbar {
    width: 0;
}
.left-history-items-container span{
    font-size: 14px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    /* font-family: 'CrystalUni-Regular'; */
    font-family: 'Intro-Regular';
    background: #100e26;
    margin-bottom: 2px;
    border-radius: 3px;
}
.chat-parent{
    position: absolute;
    bottom: 0;
    height: 430px;
    width: 100%;
    border-radius: 25px;
    left: 2px;
    background-image: url(../Images/TowerX/chat-bg.png);
    background-repeat: round;
    padding: 30px;
    display: none;
}
.chat-time, .chat-text, .chat-user{
    font-size: 15px;
    /* font-family: 'CrystalUni-Regular'; */
    font-family: 'Intro-Regular';
}
.chat-time{
    width: 63px;
    margin-right: 6px;
}
.chat-user{
    width: 47px;
    margin-right: 13px;
}
.chat-text{
    color: #888fca;
    width: calc(100% - 25%);
    word-break: break-all;
}
.chat-time,
.chat-user {
    color: #747cb966;
}
.chat-content::-webkit-scrollbar{
    width: 0;
}
.chat-content{
    overflow-y: auto;
    height: calc(100% - 143px);
    width: 100%;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.chat-outer {
    width: 100%;
    display: flex;
    margin-bottom: 8px;
}
.chat-header{
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    color: #ffffff;
    font-family:'CrystalUni-Bold';
    letter-spacing: 1px;
    text-transform: uppercase;
}
.chat-input input {
    width: 100%;
    height: 100%;
    padding-left: 20px;
    background: none;
    border: none;
    font-size: 18px;
    /* font-family: 'CrystalUni-Regular'; */
    font-family: 'Intro-Regular';
    color: #babcd8;
    border-radius: 14px;
    background-color: #52589e;
    outline: none;
}
.chat-input input::placeholder{
    color: #babcd8;
}
.chat-input input:-ms-input-placeholder{
    color: #babcd8;
}
.chat-input input::-ms-input-placeholder{
    color: #babcd8;
}
.chat-send-button:hover{
    box-shadow: 0px -5px 20px 2px #6188ff4a, inset 1px -2px 2px 1px #3434ff, inset -1px -2px 2px 1px #3434ff;
    background-color: #8baaff;
}
.chat-input{
    margin-bottom: 8px;
}  

.chat-input,
.chat-send-button{
    width: 100%;
    height: 47px;
    border-radius: 14px;
    margin-top: 5px;
}
.chat-input input:focus::placeholder{
    color: #ffffff;
}
.chat-input input:focus{
    background-color: #000000;
    color: #ffffff;
    width: calc(100% - 4px);
    border: 2px solid #6087ff;
}
.chat-send-button{
    background-color: #5f61fe;
    border-radius: 14px;
    font-size: 20px;
    font-family: 'CrystalUni-Bold';
    text-align: center;
    line-height: 47px;
    color: #1b31ae;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px -5px 20px 2px #6188ff4a, 
                inset 0 0px 0px 2px #030306, 
                inset -2px -4px 0px 1px #3434ff, 
                inset -2px -3px 3px 3px #8a8dff, 
                inset 1px 2px 3px 3px #8a8dff;
}
.close-chat{
    width: 41px;
    height: 39px;
    background-image: url(../Images/TowerX/close-chat.png);
    cursor: pointer;
    box-shadow: 0px -5px 20px 2px #6188ff85;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center; 
}
.close-chat:hover{
    background-image: url(../Images/TowerX/close-chat-hover.png);
}
.towerx-history{
    position: absolute;
    width: 100%;
    height: 100%;
}
.history-tab-parent{
    background-color: #1d1a37;
    width: 100%;
    height: 51px;
    border: 2px solid #2f3259;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    display: flex;
    justify-content: space-between;
}
.history-tab{
    flex: 1;
    height: 100%;
    text-align: center;
    font-size: 20px;
    /* font-family: 'Intro-Bold-Caps'; */
    color: #ffffff6e;
    cursor: pointer;
    color: #747cb9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Intro-bold';
    font-size: 16px;
    text-transform: uppercase;
}
.history-tab:nth-child(1){
    border-top-left-radius: 25px;
    border-right: 2px solid #2f3259;
}
.history-tab:nth-child(2){
    border-right: 2px solid #2f3259;
}
.history-tab:nth-child(3){
    border-top-right-radius: 25px;
}
.history-tab:hover{
    color: #ffffff;
}
.history-tab.active{
    color: #ffffff;
    /* border: none; */
    background-color: #6087ff;
    box-shadow: inset 0.5px 0.866px 4px 2px #cec8ff;
}
.history-content{
    width: calc(100% - 4px);
    height: calc(100% - 51px);
    background-color: #100e26;
    position: relative;
    margin-left: 2px;
    top: -1px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.current-bets-tab-parent,
.top-wins-tab-parent,
.my-bets-tab-parent,
.history-content[data-active-tab="my-bets"] .top-wins-tabs-bg,
.history-content[data-active-tab="current-bets"] .top-wins-tabs-bg{
    display: none;
}
.history-content[data-active-tab="current-bets"] .current-bets-tab-parent,
.history-content[data-active-tab="my-bets"] .my-bets-tab-parent,
.history-content[data-active-tab="top-wins"] .top-wins-tab-parent{
    display: block;
}
.history-content[data-active-tab="top-wins"] .top-wins-tab-parent{
    padding-top: 51px;
}
.history-content[data-active-tab="top-wins"] .history-list-content{
    height: calc(96% - 53px);
}
.top-wins-tabs-bg{
    border-radius: 26px;
    width: calc(100% - 18px);
    height: 40px;
    display: block;
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    left: 9px;
    border: 1px solid #2c2f55;
}
.history-list-header{
    font-size: 15px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    color: #5d8dfe;
    /* font-family: 'Intro-Bold-Caps'; */
    font-family: 'Intro-Bold';
    height: 31px;
    align-items: center;
    text-transform: uppercase;
}
.history-list-content{
    overflow-y: scroll;
    height: 785px;
    scrollbar-width: none;
    position: absolute;
    width: 100%;
    height: 96%;
}
.history-list-content::-webkit-scrollbar {
    display: none;
}
.history-list-header span{
    width: 25%;
    text-align: center;
}
.row{
    color: #395299;
    height: 26px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
    font-family: 'Intro-Regular';
    font-size: 13px;
    border-top: 1px solid #2a667380;
}
.row span{
    text-align: center;
    width: 25%;
}
.row.active{
    background-color: #0f3548;
    color: #0dcfd1;
}
.top-wins-tab{
    border-radius: 20px;
    width: 170px;
    height: calc(100% - 10px);
    color: #747cb9;
    font-size: 15px;
    background-color: #35315b;
    width: 30%;
    text-align: center;
    /* font-family: 'Intro-Bold-Caps'; */
    font-family: 'Intro-Bold';
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-wins-tab:hover{
    background-color: #494475;
}
.top-wins-tab.active{
    background-color: #5d8dfe;
    color: #ffffff;
}
.inside-content{
    display: none;
}
.inside-content.active{
    display: block;
}
.main-buttons{
    display: flex;
    width: 100%;
    height: 155px;
    border-radius: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    -webkit-transform-origin: center left;
    -ms-transform-origin: center left;
    transform-origin: center left;
}
.balance-container{
    position: absolute;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 42.5px;
    right: 0px;
}
.chat-icon,
.sound-icon{
    width: 14%;
    height: 73%;
    background: url(../Images/TowerX/sound-chat-icon-bg.png) center no-repeat;
    cursor: pointer;
    background-size: contain;
    border-radius: 50%;
}
.chat-icon::after{
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(../Images/TowerX/chat-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: 50%;
}
.chat-icon:hover::after{
    background-image: url(../Images/TowerX/chat-icon.png);
}
.balance{
    width: 382px;
    background: url(../Images/TowerX/balance-bg.png) center no-repeat;
    width: calc(100% - 28%);
    height: 100%;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sound-icon::after{
    content: '';
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: 50%;
}
.sound-icon.active::after{
    background-size: 33%;
}
.sound-icon::after{
    background-image: url(../Images/TowerX/sound-off.png);
}
.sound-icon:hover:after{
    background-image: url(../Images/TowerX/sound-off-hover.png);
}
.sound-icon.active::after{
    background-image: url(../Images/TowerX/sound-on.png);
}
.sound-icon.active:hover:after{
    background-image: url(../Images/TowerX/sound-on-hover.png);
}
.balance-text,
.available-amount{
    font-size: 24px;
    text-align: center;
    display: block;
}
.balance-text {
    font-family: "Intro-Regular";
    color: #16babb;
    width: 100%;
    text-transform: uppercase;
    margin-top: 3px;
    text-shadow: 0 0 9px #16babb;
}
.available-amount{
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    color: #ffffff;
    width: 100%;
    margin-top: -6px;
}  
@supports (-webkit-touch-callout: none) {
    .available-amount{
        margin-top: -16px;
    }
}
.available-amount::after{
    content: attr(data-currency);
    display: inline-block;
    font-size: 17px;
    margin-left: 3px;
    text-align: center;
}
.autoplay-bet-btn-container{
    width: 378px;
    height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-right: 18px;
}
.autoplay-button,
.bet-change-button{
    background-image: url(../Images/TowerX/autoplay-bet-btn-bg.png) , url(../Images/TowerX/autoplay-bet-btn-bg-hover.png);
    width: 100%;
    height: 62px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    box-shadow: 0 -2px 7px 0px #343164, 0 2px 7px 0px #343164, inset 0 -1px 0px 1px #030306;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}
.bet-change-button.autoplay-popup{
    width: 366px;
    height: 116px;
    background-image: url(../Images/TowerX/autoplay-popup-bet-bg.png);
    box-shadow: none;
    justify-content: center;
}
.autoplay-popup .bet-amount-currency-parent{
    top: 51px;
}
.bet-input.autoplay-popup-bet-amount{
    width: 193px;
    font-size: 24px;
    font-family: 'CrystalUni';
    color: #ffffff;
    background-color: transparent;
    border: none;
    text-align: center;
    pointer-events: none;
    padding-right: 30px;
}
.minus.autoplay-popup,
.plus.autoplay-popup{
    width: 55px;
    height: 55px;
}
.bet-change-button.freebet .plus.autoplay-popup,
.bet-change-button.freebet .minus.autoplay-popup {
    visibility: visible;
    pointer-events: none;
}
.autoplay-button[data-active-bet='true']{
    /* pointer-events: none;
    opacity: 0.5; */
}
.bet-change-button:not(.autoplay-popup)[data-active-bet='true']{
    pointer-events: none;
    opacity: 0.5;
}
.autoplay-button.is-active-autoplay{
    pointer-events: auto !important;
    opacity: 1;
}
.bet-change-button.is-active-autoplay,
.place-bet-btn.is-active-autoplay{
    pointer-events: none !important;
    opacity: 0.5 !important;
}
.place-bet-btn.is-active-autoplay span{
    pointer-events: none !important;
}
.place-bet-btn{
    width: 378px;
    height: 133px;
    background-position: center;
    cursor: pointer;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.place-bet-btn[data-active-bet="false"]{
    background-image: url(../Images/TowerX/place-bet-button.png),url(../Images/TowerX/place-bet-button-hover.png);
    box-shadow: 0 -2px 20px 10px #343164, 0 2px 7px 0px #343164, inset 0 0px 0px 1px #030306;
    background-size: 99% 96%;
}
.place-bet-btn[data-active-bet="false"]:hover{
    background-image: url(../Images/TowerX/place-bet-button-hover.png);
}
.place-bet-btn.freebet[data-active-bet="false"]{
    background-image: url(../Images/TowerX/place-bet-button-freebet.png),url(../Images/TowerX/place-bet-button-freebet-hover.png);
    box-shadow: 0 -2px 20px 10px #343164, 0 2px 7px 0px #343164, inset 0 0px 0px 1px #030306;
    background-size: 99% 96%;
}
.place-bet-btn.freebet[data-active-bet="false"]:hover{
    background-image: url(../Images/TowerX/place-bet-button-freebet-hover.png);
}
.place-bet-btn.freebet[data-active-bet="false"] .total-bet-txt,
.place-bet-btn.freebet[data-active-bet="false"] .next-round-txt{
    display: none;
}
.place-bet-btn.freebet[data-active-bet="false"] .freebet-txt{
    display: block;
    color: #4008c3;
    font-size: 24px;
    font-family: 'CrystalUni-Bold';
}
.place-bet-btn span {
    /* display: block; */
    font-family:'CrystalUni-Bold';
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}
.place-bet-btn .total-bet{
    color: #ffffff;   
    font-size: 30px;
}
.place-bet-btn .total-bet::after{
    content: attr(data-currency);
    font-size: 21px;
    margin-left: 6px;
}
.place-bet-btn.bonus-accepted span.bet-accept-text{
    color: #211f41 !important;
}
.place-bet-btn.bonus-accepted .total-bet{
    display: block;
    color: #9a9ddb;
}
.freebet-txt{
    display: none;
}
.total-bet-txt{
    color: #211f41;
    font-size: 33px;
}
.next-round-txt{
    display: none;
    color: #ffffff;   
    font-size: 16px;
    font-family: 'Intro-Regular';
    letter-spacing: 1px;
}
.place-bet-btn[data-active-bet="true"] span{
    display: none;
}
.place-bet-btn[data-active-bet="true"]{
    background-image: url(../Images/TowerX/active-bet-button.png),url(../Images/TowerX/active-bet-button-hover.png);
    pointer-events: none;
    box-shadow: 0 -2px 20px 10px #343164, 0 2px 7px 0px #343164, inset 0 0px 0px 1px #030306;
}
.place-bet-btn[data-active-bet="true"].started.is-active-autoplay{
    opacity: 1 !important;
}
.place-bet-btn[data-active-bet="true"].started{
    background-image: url(../Images/TowerX/active-bet-win.png);
    box-shadow: 0 -2px 20px 0px #489fac61, 0 2px 20px 0px #489fac70, inset 0 0px 0px 2px #0e0e0e;
}
.place-bet-btn[data-active-bet="true"].started .bet-accept-text,
.place-bet-btn[data-active-bet="true"].started .total-bet{
    display: none !important;
}
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"]{
    background-image: url(../Images/TowerX/cancel-bet.png),url(../Images/TowerX/Mobile/cancel-bet-hover.png);
}
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"]:hover{
    background-image: url(../Images/TowerX/cancel-bet-hover.png);
}
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"] .total-bet,
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"] .bet-accept-win,
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"] .bet-accept-text{
    display: none !important;
}
.bet-cancel-text{
    display: none;
}
.place-bet-btn[data-active-bet="true"][data-bet-cancel="true"] span.bet-cancel-text{
    display: block;
    font-size: 26px;
    font-family: 'CrystalUni-Bold';
    color: #922139;
    pointer-events: auto;
    height: 122px;
    line-height: 122px;
}
.place-bet-btn[data-bet-cancel="false"][data-active-bet="true"] span.bet-accept-text{
    display: block;
    font-size: 30px;
    font-family: 'CrystalUni-Bold';
    color: #47519d;
}
.place-bet-btn[data-active-bet="false"] span.bet-accept-text,
.place-bet-btn[data-active-bet="false"] .bet-accept-win{
    display: none !important;
}
.bet-accept-win{
    font-size: 33px;
    font-family: 'CrystalUni-Bold';
    color: #0dcfd1;
    width: 100%;
    text-align: center;
    display: none;
}
.bet-accept-win div{
    color: #93c0c7;
    font-family: 'CrystalUni-Bold';
    text-transform: uppercase;
}
.bet-accept-win p{
    padding: 0;
    margin: 0;
}
.autoplay-bet-btn-container .autoplay-button[data-autoplay='false']:hover,
.autoplay-bet-btn-container .bet-change-button[data-active-bet='false']:hover{
    background-image: url(../Images/TowerX/autoplay-bet-btn-bg-hover.png);
}
.autoplay-button[data-autoplay='false']::before{
    content: '';
    width: 72px;
    height: 72px;
    display: inline-block;
    background-image: url(../Images/TowerX/autoplay-icon.png);
}
.autoplay-button[data-autoplay='false']::after{
    content: '';
    width: 9px;
    height: 14px;
    display: inline-block;
    background-image: url(../Images/TowerX/autoplay-arrow.png);
    margin-left: auto;
    margin-right: 22px;
}
.autoplay-button{
    font-family: 'Intro-Regular';
    font-size: 14px;
    color: #ffffff;
}
.autoplay-button[data-autoplay='true']{
    position: relative;
}
.autoplay-button[data-autoplay='true'] .autoplay-text{
    display: none;
}
.autoplay-button[data-autoplay='true']::before{
    content: '';
    width: 40px;
    height: 40px;
    display: inline-block;
    background-image: url(../Images/TowerX/autoplay-active-icon.png);
    margin-left: 6px;
}
.autoplay-button[data-autoplay='true']::after{
    content: attr(data-spins);
    font-size: 14px;
    color: #5caeff;
    font-family: 'CrystalUni-Bold';
}
.autoplay-button[data-autoplay='false'] .stop-autoplay-btn{
    display: none;
}
.stop-autoplay-btn{
    text-transform: uppercase;
    color: #8e001e;
    font-family: 'CrystalUni-Bold';
    font-size: 16px;
    width: 138px;
    height: 72px;
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../Images/TowerX/autoplay-stop.png) center no-repeat;
    cursor: pointer;
}
.stop-autoplay-btn:hover{
    background: url(../Images/TowerX/autoplay-stop-hover.png) center no-repeat;
}
.bet-change-button.freebet .plus,
.bet-change-button.freebet .minus{
    visibility: hidden;
}
.minus,
.plus{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0px 0px 14px 7px #6188ff4a, inset 0px -2px 2px 1px #6361b900;
    background-repeat: round;
}
.minus{
    background-image: url(../Images/TowerX/minus.png);
}
.bet-change-button[data-active-bet='false'] .minus:hover{
    background-image: url(../Images/TowerX/minus-hover.png);
}
.plus{
    background-image: url(../Images/TowerX/plus.png);
}
.bet-change-button[data-active-bet='false'] .plus:hover{
    background-image: url(../Images/TowerX/plus-hover.png);
}
.bet-change-button{
    justify-content: space-around;
}
.bet-change-button.freebet[data-active-bet='false']{
    pointer-events: none;
}
.bet-amount{
    font-size: 24px;
    font-family: 'CrystalUni';
    color: #ffffff;
    width: 230px;
    background-color: transparent;
    border: none;
    text-align: center;
    pointer-events: none;
    padding-right: 35px;
}
.bet-amount::after{
    content: attr(data-currency);
    font-size: 17px;
    margin-left: 3px;
}
.bet-amount-currency-main{
    font-size: 15px;
    font-family: 'CrystalUni';
    color: #ffffff;
}
.bet-amount-currency-parent{
    position: absolute;
    top: 24px;
}
input[type=number] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
}
.menu-icon{
    position: absolute;
    bottom: 48px;
    left: 10px;
    background-image: url(../Images/TowerX/menu-icon.png),url(../Images/TowerX/menu-icon-hover.png);
    width: 70px;
    height: 70px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}
.menu-icon:hover{
    background-image: url(../Images/TowerX/menu-icon-hover.png);
}
.towerx-logo{
    background-image: url(../Images/TowerX/logo.png);
    width: 342px;
    height: 86px;
    position: absolute;
    top: 0px;
    left: 18px;
    background-position: left 15px;
    background-repeat: no-repeat;
}
.coefficient-logo-container{
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    z-index: 1;
    position: absolute;
}

.disable-button{
    pointer-events: none;
    opacity: 0.5;
}
.autoplay-parent {
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 43px);
    display: none;
    background-color: #09081bcc;
    z-index: 4;
    left: -20px;
    top: -31px;
}
.scale-content-parent{
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 42px);
    display: none;
    background-color: #09081bcc;
    z-index: 2;
    left: -20px;
    top: -30px;
}
.autoplay-content{
    position: relative;
    left: 50%;
    top: 50%;
    width: 700px;
    height: 850px;
    background-image: url(../Images/TowerX/autoplay-bg.png);
    background-repeat: round;
    padding: 64px 52px 52px 52px;
    margin: -425px 0px 0 -350px;
}
.autoplay-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.spin-count-button {
    font-size: 24px;
    color: #ffffff;
    background-color: #393f6b;
    border-radius: 25px;
    text-align: center;
    line-height: 83px;
    cursor: pointer;
    width: 105px;
    height: 83px;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
}
.spin-count-button.active {
    background-color: #6087ff;
}
.slider-input-parent {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    align-items: center;
    position: relative;
}
.stop-autoplay-txt {
    position: absolute;
    top: -44px;
    color: #ffffff;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    font-size: 18px;
    letter-spacing: 1px;
}
.slider-input {
    -webkit-appearance: none;
    border-radius: 5px;
    background: #393f6b;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
    width: 468px;
    height: 13px;
    border-radius: 20px;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(to top, #8ba3ff, #758eff, #6179ff, #4f62ff, #4149fd);
}
.Rectangle_1181_copy_42 {
    border-radius: 10px;
    background-color: rgb(42, 102, 115);
    box-shadow: 0px 2px 0px 0px rgba(92, 105, 198, 0.004),0px 0px 8px 0px rgba(183, 192, 247, 0.5),inset 0px 0px 3.5px 1.5px rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 1140px;
    top: 574px;
    width: 105px;
    height: 43px;
    z-index: 1190;
  }
  
.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 35px;
    height: 35px;
    border: 0;
    background: url(../Images/TowerX/input-thumb.png);
    cursor: pointer;
    border-radius: 50%;
    background-repeat: no-repeat;
}

.slider-input::-moz-range-thumb {
    width: 35px;
    height: 35px;
    border: 0;
    background: url(../Images/TowerX/input-thumb.png);
    border-radius: 50%;
    cursor: pointer;
    background-repeat: no-repeat;
}
.range-number {
    width: 100px;
    height: 45px;
    border: navajowhite;
    text-align: center;
    color: #ffffff;
    font-family: 'Intro-Regular';
    padding-bottom: 12px;
    font-size: 18px;
    background-color: #221e43;
    box-shadow: 0px 2px 0px 0px rgb(92 105 198), 0px 0px 8px 0px rgb(183 192 247), inset 0px 0px 3.5px 1.5px rgb(0 0 0);
    border-radius: 10px;
}
.slider-input-parent span {
    position: absolute;
    top: 41px;
    font-family: 'Intro-Regular';
    color: #747cb9;
    font-size: 18px;
    left: 4px;
}
.autoplay-cancel-btn, .autoplay-ok-btn {
    width: 222px;
    height: 41px;
    display: inline-block;
    line-height: 41px;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}
.autoplay-ok-btn {
    background-image: -moz-linear-gradient( 90deg, rgb(115,66,255) 0%, rgb(0,116,183) 0%, rgb(7,174,173) 42%, rgb(14,231,162) 100%);
    border-radius: 30px;
}
.autoplay-header {
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #6087ff;
    display: block;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    margin-top: -39px;
    margin-bottom: 9px;
}
.towerx-main-content{
    margin: 0 auto;
    max-width: 1920px;
    height: 100%;
    position: relative;
}
.bet-container-autoplay{
    width: 100%;
    height: 227px;
    margin-top: 38px;
    margin-bottom: 59px;
    flex-direction: column;
    align-items: center;
    display: flex;
    justify-content: center;
}
.autoplay-cancel-btn, .autoplay-ok-btn {
    width: 275px;
    height: 87px;
    border-radius: 20px;
    display: inline-block;
    line-height: 87px;
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    text-transform: uppercase;
}
.autoplay-main-buttons{
    display: flex;
    justify-content: space-between;
}
.autoplay-cancel-btn:hover{
    background-color: #fa7087;
}
.autoplay-cancel-btn{
    background-color: #f34969;
    box-shadow: 0px -5px 20px 2px #6188ff4a, 
                inset 0px -2px 2px 1px #6361b9, 
                inset -1px -1px 0px 4px #10050e, 
                inset 2px 2px 4px 2px #ffa7c1, 
                inset 4px -3px 0px 2px #8e001e, 
                inset 5px -5px 4px 2px #ffa7c1, 
                inset -5px 3px 4px 2px #ffa7c1;
}
.autoplay-ok-btn:hover{
    background-color: #618cff;
}
.autoplay-ok-btn{
    background-color: #6079fe;
    box-shadow: 0px -5px 20px 2px #6188ff4a, 
                inset 0px -2px 2px 1px #6361b9, 
                inset -1px -1px 0px 4px #10050e, 
                inset 2px 2px 4px 2px #afa6ff, 
                inset 4px -5px 0px 2px #5636fd, 
                inset 5px -5px 4px 2px #afa6ff, 
                inset -5px 3px 4px 2px #afa6ff;
}
.autoplay-currency {
    position: absolute;
    top: 14px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    width: 100px;
    text-align: center;
    right: 0;
    font-family: 'Intro-Regular';
}
.autoplay-currency::after {
    content: attr(data-currency);
}

.scale-content{
    position: relative;
    left: 50%;
    top: 50%;
    /* -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left; */
}
.error-popup{
    width: 452px;
    height: 276px;
    margin: -138px 0 0 -226px;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}
.error-popup-bg{
    width: 100%;
    height: 178px;
    background-image: url(../Images/TowerX/error-popup-bg.png);
    font-size: 24px;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    padding: 15px 30px;
    text-align: center;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #6087ff;
    background-position: center;
    flex-shrink: 0;
    text-transform: uppercase;
    justify-content: center;
}
.error-popup-close{
    cursor: pointer;
    width: 92px;
    height: 93px;
    background-image: url(../Images/TowerX/error-popup-close.png),url(../Images/TowerX/error-popup-close-hover.png);
}
.error-popup-close:hover{
    background-image: url(../Images/TowerX/error-popup-close-hover.png);
}
.time-expired-error-popup{
    height: 360px;
    width: 452px;
    margin: -180px 0 0 -226px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    display: none;
}
.time-expired-bg{
    width: 452px;
    height: 270px;
    background-image: url(../Images/TowerX/time-expired-popup-bg.png);
    flex-shrink: 0;
    background-position: center;
    text-transform: uppercase;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.time-expired-txt{
    color: #6087ff; 
    margin-top: 7px;
}
.new-game-btn,
.play-now-btn{
    width: 288px;
    height: 97px;
    background-image: url(../Images/TowerX/time-expired-btn.png),url(../Images/TowerX/time-expired-btn-hover.png);
    cursor: pointer;
    line-height: 97px;
    text-align: center;
    color: #ffffff;
}
.new-game-btn:hover,
.play-now-btn:hover{
    background-image: url(../Images/TowerX/time-expired-btn-hover.png);
}
.freespin-won-popup{
    width: 456px;
    height: 282px;
    margin: -141px 0 0 -228px;
    background-image: url(../Images/TowerX/freespin-won-amount.png);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-position: center;
    display: none;
}
.freespin-won-popup span:nth-child(1){
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    font-size: 24px;
    color: #6087ff;
}
.freespin-won-popup span:nth-child(2){
    font-family: 'Intro-light';
    font-size: 24px;
    color: #ffffff;
    margin-top: 45px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    padding-left: 4px;
}
.freespin-won-popup span:nth-child(3){
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    font-size: 40px;
    color: #50ffa4;
}
.freespin-receiveid{
    width: 467px;
    height: 577px;
    margin: -331.5px 0 0 -233.5px;
    background-image: url(../Images/TowerX/freespin-receiveid-bg.png);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-position: center;
    text-transform: uppercase;
    display: none;
}
.freespin-receiveid span:nth-child(1){
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    color: #6087ff;
    font-size: 24px;
    margin-top: 45px;
}
.freespin-receiveid span:nth-child(3){
    font-size: 30px;
    font-family: 'Intro-bold';
    color: #ffffff;
    margin-bottom: 30px;
}
.freespin-receiveid-count{
    margin-top: 96px;
    width: 100%;
}
.freespin-receiveid-count-price{
    font-size: 24px;
    font-family: 'Intro-Regular';
    color: #ffffff;
    text-transform: lowercase;
    margin-bottom: 38px;
}
.freespin-receiveid-count-price::after{
    content: attr(data-currency);
    text-transform: uppercase;
    font-size: 17px;
    margin-left: 2px;
}
.lobby-icon{
    background: url(../Images/TowerX/Lobby-TowerX.png);
    height: 65px !important;
    width: 66px !important;
    background-size: cover;
    position: static !important;
    background-color: transparent !important;
    border-radius: 50% !important;
    display: none !important;
}
.lobby-icon:hover{
    background: url(../Images/TowerX/Lobby-ToweX-Hover.png);
    height: 65px !important;
    width: 66px !important;
    background-size: cover;
}
.play-now-btn{
    font-size: 24px;
    /* font-family: 'Intro-Black'; */
    font-family: 'Intro-Bold';
    text-transform: uppercase;
    text-align: center;
}
.freespin-count-number{
    width: 90px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center right;
    margin-left: -20px;
}
.freespin-number-0{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/0.png');
}
.freespin-number-1{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/1.png');
}
.freespin-number-2{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/2.png');
}
.freespin-number-3{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/3.png');
}
.freespin-number-4{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/4.png');
}
.freespin-number-5{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/5.png');
}
.freespin-number-6{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/6.png');
}
.freespin-number-7{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/7.png');
}
.freespin-number-8{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/8.png');
}
.freespin-number-9{
    background-image: url('../Images/TowerX/freespin-receiveid-numbers/9.png');
}
.freespin-numbers-container{
    display: flex;
    min-width: 100%;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}
.coefficient-number-0{
    background-image: url('../Images/TowerX/main-numbers/0.png');
}
.coefficient-number-1{
    background-image: url('../Images/TowerX/main-numbers/1.png');
}
.coefficient-number-2{
    background-image: url('../Images/TowerX/main-numbers/2.png');
}
.coefficient-number-3{
    background-image: url('../Images/TowerX/main-numbers/3.png');
}
.coefficient-number-4{
    background-image: url('../Images/TowerX/main-numbers/4.png');
}
.coefficient-number-5{
    background-image: url('../Images/TowerX/main-numbers/5.png');
}
.coefficient-number-6{
    background-image: url('../Images/TowerX/main-numbers/6.png');
}
.coefficient-number-7{
    background-image: url('../Images/TowerX/main-numbers/7.png');
}
.coefficient-number-8{
    background-image: url('../Images/TowerX/main-numbers/8.png');
}
.coefficient-number-9{
    background-image: url('../Images/TowerX/main-numbers/9.png');
}
.coefficient-number-dot{
    background-image: url('../Images/TowerX/main-numbers/dot.png');
}
.coefficient-numbers-container{
    display: flex;
    min-width: 411px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 17px;
}
.coefficient-count-number{
    width: 74px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center right;
    margin-left: -20px;
}
.coefficient-count-number.coefficient-number-dot{
    width: 50px;
    background-position: center 45px;
}
.coefficient-numbers-container:last-child::after{
    content: '';
    background-image: url('../Images/TowerX/main-numbers/coefficient-x.png');
    width: 85px;
    height: 85px;
    margin-left: -16px;
}
.load-images-container{
    visibility: hidden;
    background-image: url('../Images/TowerX/main-numbers/0.png'),
                      url('../Images/TowerX/main-numbers/1.png'),
                      url('../Images/TowerX/main-numbers/2.png'),
                      url('../Images/TowerX/main-numbers/3.png'),
                      url('../Images/TowerX/main-numbers/4.png'),
                      url('../Images/TowerX/main-numbers/5.png'),
                      url('../Images/TowerX/main-numbers/6.png'),
                      url('../Images/TowerX/main-numbers/7.png'), 
                      url('../Images/TowerX/main-numbers/8.png'),
                      url('../Images/TowerX/main-numbers/9.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/0.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/1.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/2.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/3.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/4.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/5.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/6.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/7.png'), 
                      url('../Images/TowerX/freespin-receiveid-numbers/8.png'),
                      url('../Images/TowerX/freespin-receiveid-numbers/9.png'),
                      url('../Images/TowerX/main-numbers/coefficient-x.png'),
                      url('../Images/TowerX/won-bg.png'),
                      url('../Images/TowerX/active-bet-win.png'),
                      url('../Images/TowerX/cancel-bet-hover.png'),
                      url('../Images/TowerX/cancel-bet.png'),
                      url('../Images/TowerX/active-bet-button.png'),
                      url('../Images/TowerX/active-bet-button-hover.png'),
                      url('../Images/TowerX/place-bet-button.png'),
                      url('../Images/TowerX/place-bet-button-hover.png')
}
.coefficient-numbers{
    display: none;
}

.won-popup-parent{
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
}
.won-pop-outer{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #09081bcc;
    left: 0;
    top: 0;
    z-index: 3;
}
.won-popup{
    position: absolute;
    width: 610px;
    height: 386px;
    background: url(../Images/TowerX/won-bg.png);
    top: 250px;
    transform: translate(-50%, 0);
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.you-won-text{
    width: 356px;
    height: 76px;
    background-image: url(../Images/TowerX/you-won-text.png);
    background-position: center;
}
.you-won-value{
    font-size: 56px;
    font-family: 'CrystalUni-Bold';
    color: #50ffa4;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}
.you-won-value::after{
    content: attr(data-currency);
    font-size: 30px;
    color: #dcdcff;
    width: 100%;
    display: block;
    margin-top: -18px;
}
.win-popup-max{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    top: 3px;
    transform: scale(0.6);
    display: none;
}
.win-popup-max .coefficient-numbers-container{
    left: auto;
    top: auto;
}
.won-popup-part{
    display: none;
}
.game-loader-parent{
    display: flex;
    position: absolute;
    left: 496px;
    bottom: -526px;
    width: 320px;
    flex-direction: column;
    align-items: center;
    display: none;
}
.game-loader-background{
    position: relative;
    width: 320px;
    height: 13px;
    background-color: #202442;
    border-radius: 15px;
    margin: 7px 0;
    border: 2px solid #202442;
    flex-shrink: 1;
}
.loader-text-first{
    font-size: 36px;
    color: #ffffff;
    font-family:'CrystalUni-Bold';
    text-transform: uppercase;
    text-align: center;
}
.loader-text-second{
    font-size: 16px;
    color: #ffffff;
    font-family: 'Intro-bold';
    text-transform: uppercase;
    margin-top: -3px;
}
.loader-text-second::after{
    content: attr(data-game-start);
    font-size: 36px;
    color: #2bcece;
    top: 10px;
    font-family:'CrystalUni-Bold';
    display: block;
    text-align: center;
    margin-top: -3px;
}
.game-loader-progress{
    position: absolute;
    border-radius: 15px;
    background-color: #46f2f2;
    height: 100%;
    display: inline-block;
    width: 28%;
}
.switch-bet-type{
    background-color: #2c335d99;
    position: absolute;
    border-radius: 30px;
    width: 59px;
    height: 413px;
    display: flex;
    flex-direction: column;
    border: 2px solid #f4ebff33;
    left: 20px;
    top: 220px;
    display: none;
}
.bet-type-button {
    color: #abadbe;
    text-transform: uppercase;
    font-size: 20px;
    width: 100%;
    height: 50%;
    display: flex;
    transform: rotate(180deg);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    border: 3px solid transparent;
    /* font-family: 'Intro-Bold-Caps'; */
    font-family: 'Intro-Bold';

}
.bet-type-button[data-active-bet='true']{
    pointer-events: none;
    opacity: 0.5;
}
.bet-type-button span {
    transform: rotate(90deg);
    text-align: center;
    width: 196px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bet-type-freespins::after {
    content: attr(data-freespins);
    border-radius: 50px;
    background-color: #2c3855;
    width: 40px;
    height: 40px;
    font-size: 22px;
    transform: rotate(180deg);
    text-align: center;
    color: #ffffff;
    position: relative;
    top: 36px;
    line-height: 40px;
    border: 2px solid #f4ebff33;
}
.bet-type-cash.active {
    background-image: url(../Images/TowerX/bet-type-cash.png);
    color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
}
.bet-type-freespins.active {
    background-image: url(../Images/TowerX/bet-type-freespins.png);
    color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
}
.bet-type-freespins.active::after{
    background-color: #27278f;
    border: 2px solid #c7b7eb80;
}
.bet-type-button:hover{
    color: #ffffff;
}
.place-bet-btn-autoplay{
    font-size: 38px;
    color: #dcdcff;
    font-family:'CrystalUni-Bold';
}
.place-bet-btn-autoplay::after{
    content: attr(data-currency);
    font-size: 21px;
    margin-left: 10px;
}
.total-bet-txt-autoplay{
    display: block;
    color: #6087ff;
    font-size: 27px;
    font-family:'CrystalUni-Bold';
    text-transform: uppercase;
}
.bet-and-coefficient{
    position: absolute;
    bottom: 20px;
    font-family: 'CrystalUni-Bold';
    font-size: 20px;
    color: #969baf;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bet-and-coefficient span{
    font-size: 24px;
    color: #dcdcff;
    padding: 0 6px;
    margin-top: 2px;
}
.bet-and-coefficient span::after{
    content: attr(data-currency);
    display: inline-block;
    margin-left: 3px;
}
.bet-and-coefficient .coefficient-numbers-container {
    display: flex;
    min-width: auto;
    justify-content: flex-start;
    align-items: center;
    position: inherit;
    height: 0;
    width: auto;
    margin-top: 6px;
    margin-left: -1px;
}
.win-popup-coefficient-parent .coefficient-count-number {
    width: 50px;
    height: 33px;
    background-repeat: no-repeat;
    background-position: center center;
    margin-left: -29px;
    background-size: contain;
}
.win-popup-coefficient-parent .coefficient-numbers-container:last-child::after {
    content: '';
    background-image: url(../Images/TowerX/main-numbers/coefficient-x.png);
    width: 52px;
    height: 52px;
    margin-left: -24px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}
.win-popup-coefficient-parent,
.win-popup-bet-parent{
    width: auto;
}
.win-popup-coefficient-parent{
    display: flex;
    justify-content: flex-start;
    margin-left: 20px;
}
.win-popup-bet-parent{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.game-over{
    position: absolute;
    left: 368px;
    bottom: -283px;
    width: 600px;
    font-size: 41px;
    color: #ffffff;
    font-family: 'CrystalUni-Bold';
    text-transform: uppercase;
    text-align: center;
    display: none;
}
/* FONTS */
/* 
font-family: 'CrystalUni';
font-family: 'CrystalUni-Medium';
font-family: 'CrystalUni-Regular';
font-family: 'Intro-Regular';
font-family: 'Intro-Black';
font-family: 'Intro-bold';
font-family: 'Intro-Bold-Caps'
font-family:'CrystalUni-Bold'
font-family: 'Intro-light'
*/
/* FONTS */

/* How to play start */

.how-to-play {
    /* display: none; */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 11;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
}

.how-to-play-popup {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 1552px;
    height: 596px;
    background: url(../Images/TowerX/HowToPlay/BackgroundNew.png);
    margin-left: -776px;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.how-to-play-content {
    display: flex;
    flex-wrap: wrap;
    word-break: break-all;
    height: 393px;
    justify-content: space-between;
}

.how-to-play-title-div{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.how-to-play-text{
    color: rgb(255, 255, 255);
    font-family: "CrystalUni";
    word-break: break-word;
    text-align: center;
    font-size: 18.6px;
    margin-top: 30px;
}

.how-to-play-title {
    color: rgb(96, 135, 255);
    font-family: "Intro-Bold";
    text-transform: uppercase;
    text-align: center;
    font-size: 28px;
}

.left-side{
    width: 677px;
    margin-left: 12px;
}

.bets-div{
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-top: 40px;
}

.autoplay-block{
    display: block;
}

.autoplay{
    background: url(../Images/TowerX/HowToPlay/On.png);
    width: 323px;
    height: 102px;
}

.autoplay-off{
    font-size: 16px;
    font-family: "CrystalUni";
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    text-align: left;
    display: flex;
    height: 100%;
    align-items: center;
    margin-left: 100px;
    word-break: break-word;
    width: 170px;
}

.bets{
    background: url(../Images/TowerX/HowToPlay/Bets.png);
    width: 321px;
    height: 102px;
}

.bets-value{
    font-size: 24px;
    font-family: "CrystalUni";
    color: rgb(255, 255, 255);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 4px;
}

.bets-value:after{
    content: attr(data-currency);
    font-size: 18px;
    font-family: "CrystalUni";
    margin-top: 4px;
}
  

.betButton{
    background: url(../Images/TowerX/HowToPlay/BetButtonNew.png);
    width: 359px;
    height: 228px;
}


.total-bets-value{
    font-size: 24px;
    font-family: "CrystalUni";
    color: rgb(220, 220, 255);
    font-weight: bold;
    margin-top: 80px;
    position: absolute;
    margin-left: 90px;
}

.total-bet-text{
    font-size: 19px;
    font-family: "CrystalUni";
    color: rgb(27, 49, 174);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 115px;
    margin-left: 90px;
}

.total-bets-value:after{
    content: attr(data-currency);
    font-size: 16px;
    margin-left: 4px;
}

.center-side{
    width: 358px;
}

.building{
    background: url(../Images/TowerX/HowToPlay/buildingNew.png);
    width: 404px;
    height: 378px;
    margin-left: -25px;
    margin-top: -70px;
}

.right-side{
    width: 477px;
}

.win-up{
    font-size: 22.6px;
    font-family: "CrystalUni";
    color: rgb(96, 124, 255);
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    margin-top: 75px;
}

.mln-div{
    display: flex;
    justify-content: center;
}

.mln{
    font-size: 48px;
    font-family: 'zorque';
    color: rgb(96, 124, 255);
}


.mln-currency:after{
    content: attr(data-currency);
    font-size: 22.6px;
    font-family: "CrystalUni";
    color: rgb(96, 124, 255);
    font-weight: bold;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.how-to-play-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.how-to-play-checkbox {
    margin-right: 22px;
}


.how-to-play-close {
    width: 254px;
    height: 74px;
    left: -25px;
    font-size: 24px;
    position: relative;
    cursor: pointer;
    background: url('../Images/TowerX/HowToPlay/OK.png'); 
    font-family: "CrystalUni";
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.how-to-play-close:hover {
    background: url('../Images/TowerX/HowToPlay/OkHover.png'); }

/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 82px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-family: "CrystalUni";
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
  
/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: -12px;
    left: 35px;
    height: 48px;
    width: 46px;
    background: url(../Images/TowerX/HowToPlay/Circle.png) no-repeat center;
}

  
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  
/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
  
/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 6.5px;
    top: 9.5px;
    width: 31px;
    height: 30px;
    background: url(../Images/TowerX/HowToPlay/Selected.png);
}

.close-how-to-play {
    width: 93px;
    height: 93px;
    margin-top: 15px;
    cursor: pointer;
    background: url('../Images/TowerX/HowToPlay/x.png');
}

.close-div{
    display: flex;
    justify-content: center;
}

.close-how-to-play:hover {
    background: url('../Images/TowerX/HowToPlay/xhover.png') no-repeat;
}

.addColor{
    color: #747cb9;
}


/* How to play end */

/* Media Start */
@media only screen and (max-width: 1583px) and (min-width: 1346px) {
    #main-content {
        width: calc(100% - 498px);
        margin: 0 10px;
    }
    .tabs-button{
        width: 174.5px;
    }
    .tabs-button.chat {
        width: 353px;
    }
    .list-header{
        font-size: 19px;
    }
    #left-history{
        width: 82px;
    }
    #right-statistics,
    .balance-container {
        width: 391px;
    }
    .balance-text, .available-amount {
        font-size: 18px;
    }
    .available-amount {
        margin-top: -2px;
    }
    .row{
        font-size: 11px;
    }
}


@media only screen and (max-width: 1345px) {
    #main-content {
        width: calc(100% - 448px);
        margin: 0 10px;
    }
    .tabs-button{
        width: 149.5px;
    }
    .tabs-button.chat {
        width: 303px;
    }
    .list-header{
        font-size: 18px;
    }
    #left-history{
        width: 82px;
    }
    #right-statistics,
    .balance-container {
        width: 341px;
    }
    .history-list-header{
        font-size: 13px;
    }
    .balance-text, .available-amount {
        font-size: 18px;
        text-align: center;
        display: block;
    }
    .balance-text, .available-amount {
        font-size: 15px;
    }
    .available-amount {
        margin-top: -2px;
    }
    .balance-text{
        margin-top: 2px;
    }
}

@media only screen and (max-width: 1006px) {
    #main-content {
        width: calc(100% - 398px);
        margin: 0 10px;
    }
    .tabs-button{
        width: 124.5px;
    }
    .tabs-button.chat {
        width: 253px;
    }
    .list-header{
        font-size: 16px;
    }
    #left-history{
        width: 82px;
    }
    #right-statistics,
    .balance-container {
        width: 291px;
    }
    .row{
        font-size: 13px;
    }
    .my-wins-multiplayer-row::before{
        content: '';
        height: 32px;
        width: 17px;
        background-repeat: no-repeat;
        background-position: center center;
        display: inline-block;
        margin: 0 8px;
    }
}
@media only screen and (max-height: 645px) {
    .chat-parent{
        height: 340px;
    }
}
/* Media End */

.chat-no .chat {
    display: none;
}