marquee div{
    display: inline-block;
}
.hot_game::after,
.new_game::before {
    content: '';
    position: absolute;
    top: 1px;
    right: 14px;
    z-index: 2;
    width: 16px;
    height: 26px;
    background-repeat: no-repeat;
    background-size: 100%;
}

html[lang=en] .hot_game::after,
html[lang=bm] .hot_game::after,
html[lang=ph] .hot_game::after {
    background-image: url('/image/web/flag/hot_game_en.gif?v1');
}

html[lang=en] .new_game::before,
html[lang=bm] .new_game::after,
html[lang=ph] .new_game::before {
    background-image: url('/image/web/flag/new_game_en.gif?v1');
}

html[lang=cn] .hot_game::after {
    background-image: url('/image/web/flag/hot_game.gif?v1');
}

html[lang=cn] .new_game::before {
    background-image: url('/image/web/flag/new_game.gif?v1');
}

.hot_game.new_game::before {
    z-index: 3;
    right: -1px;
    top: 2px;
    width: 17px;
}

.hot_game.new_game::after {
    width: 16px;
}

.hot_game,
.new_game {
    position: relative;
    display: inline-block;
}

[class*="new_game_"],
[class*="hot_game_"] {
    position: relative;
}

[class*="new_game_"]::before,
[class*="hot_game_"]::after {
    content: '';
    position: absolute;
    top: 0;
    width: 42px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

/* tag sport */
.new_game_sport::before {
    background-image: url('/image/web/flag/new_game_02.png?v2');
}

.hot_game_sport::after {
    background-image: url('/image/web/flag/hot_game_02.png?v');
}

.new_game_sport::before,
.hot_game_sport::after {
    width: 20px;
    right: 42px;
    top: -10px;
}

.new_game_sport.hot_game_sport::before {
    width: 20px;
    right: 20px;
    top: -10px;
}

/* tag egame */
.new_game_egame::before {
    background-image: url('/image/web/flag/new_game.gif?v');
}

.hot_game_egame::after {
    background-image: url('/image/web/flag/hot_game.gif?v');
}

.new_game_egame::before,
.hot_game_egame::after {
    right: 33px;
    width: 20px;
}

.new_game_egame.hot_game_egame::after {
    right: 35px;
    top: 10px;
}

.new_game_egame.new_game_egame::before {
    top: 34px;
    right: 40px;
    width: 20px;
}

/* tag casino */
.new_game_casino::before {
    background-image: url('/image/web/flag/new_game_02.png?v');
}

.hot_game_casino::after {
    background-image: url('/image/web/flag/hot_game_02.png?v');
}

.new_game_casino::before,
.hot_game_casino::after {
    height: 39px;
    right: 27px;
    top: 0;
}

.new_game_casino.hot_game_casino::after {
    right: 59px;
}

/* tag lottery */
.new_game_lottery::before {
    background-image: url('/image/web/flag/new_game_02.png?v2');
}

.hot_game_lottery::after {
    background-image: url('/image/web/flag/hot_game_02.png?v');
}

.new_game_lottery::before,
.hot_game_lottery::after {
    height: 32px;
    right: -9px;
    top: 0;
}

.new_game_lottery.hot_game_lottery::after {
    right: 15px;
    top: 0;
}

/* tag poker */
.new_game_poker::before {
    background-image: url('/image/web/flag/new_game_02.png?v2');
}

.hot_game_poker::after {
    background-image: url('/image/web/flag/hot_game_02.png?v');
}

.new_game_poker::before,
.hot_game_poker::after {
    width: 24px;
    top: 0;
    left: calc(54% + 50px);
}

.new_game_poker.hot_game_poker::after {
    left: calc(55% + 74px);
}

/* tag esport */
.new_game_esport::before {
    background-image: url('/image/web/flag/new_game_02.png?v');
}

.hot_game_esport::after {
    background-image: url('/image/web/flag/hot_game_02.png?v');
}

.new_game_esport::before,
.hot_game_esport::after {
    height: 32px;
    left: 7px;
    top: 0;
}

.new_game_esport.hot_game_esport::after {
    left: 33px;
    top: 0;
}

#overlay {
    display: none;
}

.loading_wrap {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999999999;
    overflow: hidden;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%,
    100% {
        top: 24px;
        height: 32px;
    }
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.backtoTop{
    display: none;
    position: fixed;
    right: 0.5%;
    top: 90%;
    z-index: 2;
}

.backtoTop a{
    width: 35px;
    height: 35px;
    text-align: center;
    border: 1px solid black;
    background: #fff;
    border-radius: 5px;
    padding: 5px;
    display: block;
    position: relative;
    margin: auto;
    box-sizing: border-box;
    font-size: 15px;
}

#signin{
    height: 120px;
    width: 126px;
    position: fixed;
    top: 9%;
    left: 1%;
    background: url(/image/web/unite/sign-in-promo.png);
    background-size: cover;
    cursor: pointer;
    -webkit-animation: shake-rotate 15s 100 ease-in-out;
    -moz-animation: shake-rotate 15s 100 ease-in-out;
    animation: shake-rotate 15s 100 ease-in-out;
    z-index: 99;
}

#signin .close{
    font-size: 18px;
    color: #fff;
    line-height: 45px;
    padding-right: 10px;
    opacity: 1;
    font-weight: normal;
    text-shadow: none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    float: right;
}

#signin a{
    display: block;
    height: 100%;
    width: 100%;
}

#signin span.title{
    position: absolute;
    top: 73px;
    left: 10px;
    color: #ff0000;
    font-size: 18px;
    text-shadow: 0 0 16px #ff0;
    opacity: .9;
    font-weight: bold;
}

#signin .checkShowHide {
    text-align: left;
    color: #000;
}
#signin .checkShowHide span.todayHide{
    vertical-align: middle;
}
#signin  .checkShowHide input[name="signInHideToday"] {
    vertical-align: middle;
}
#redpacket{
    height: 110px;
    width: 125px;
    position: fixed;
    top: 10%;
    right: 1%;
    background: url(/image/web/redpacket/angpau_entrance.png);
    background-size: 100% 100%;
    cursor: pointer;
    -webkit-animation: shake-rotate 15s 100 ease-in-out;
    -moz-animation: shake-rotate 15s 100 ease-in-out;
    animation: shake-rotate 15s 100 ease-in-out;
    z-index: 99;
}
#redpacket a{
    display: block;
    height: 100%;
    width: 100%;
}
#redpacket .close{
    font-size: 18px;
    color: #fff;
    opacity: 1;
    font-weight: normal;
    text-shadow: none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    float: right;
}
.cs_list{
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: center;
}
.cs_list .btn{
    border: 0;
    border-radius: .25em;
    background-color: #3085d6;
    color: #fff;
    font-size: 1em;
    margin: .3125em;
    padding: 0.525em 1em;
    box-shadow: none;
    font-weight: 500;
}

@keyframes shake-rotate {
  0% { transform: translate(0) rotate(4.5deg); }
  10% { transform: translate(0) rotate(1.5deg); }
  20% { transform: translate(0) rotate(-6.5deg); }
  30% { transform: translate(0) rotate(-4.5deg); }
  40% { transform: translate(0) rotate(-2.5deg); }
  50% { transform: translate(0) rotate(0deg); }
  60% { transform: translate(0) rotate(5.5deg); }
  70% { transform: translate(0) rotate(-2.5deg); }
  80% { transform: translate(0) rotate(2.5deg); }
  90% { transform: translate(0) rotate(-4.5deg); }
  100% { transform: translate(0) rotate(-6.5deg); }
}