﻿

#popup-container, #popup-container-mirror {
    position: absolute;
    display: none
}

#timeline-container {
    position: absolute;
    display: none
}

.StepPopupNoBg .modal-content {
    background: none;
    box-shadow: none;
    border: none;
}

.py-7 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.modal.StepPopup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .modal.StepPopup .modal-dialog {
        width: 100%;
    }

.step-popup {
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0% !important;
}

.StepPopup .card-header, .StepPopupSpecial .card-header {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

    .StepPopup .card-header > div, .StepPopupSpecial .card-header > div {
        background: linear-gradient(270deg, #2173bb 0%, #60b1f9 69.08%);
        border-radius: 120px 120px 0 0;
        padding: 9px 9px 0px 9px;
        height: 100%;
    }

        .StepPopup .card-header > div > div, .StepPopupSpecial .card-header > div > div {
            background-color: #fff;
            border-radius: 60px 60px 0 0;
            text-align: center;
            position: relative;
            top: 1px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px
        }


            .StepPopup .card-header > div > div > div, .StepPopupSpecial .card-header > div > div > div {
                background: #5a71a5;
                background: linear-gradient(to top left, #2196f3 0%, #5a71a5 50%, #004567 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-size: 20px;
                font-weight: 900;
                line-height: 40px;
                letter-spacing: 0em;
            }

.StepPopup .card-content, .StepPopupSpecial .card-content {
    position: relative;
    padding: 0;
    margin-top: -9px;
    width: 100%;
    background: none;
    max-width: 700px
}

.StepPopup .content-container, .StepPopupSpecial .content-container {
    background: linear-gradient(270deg, #00529b 0%, #60b1f9 69.08%);
    border-radius: 9px;
    padding: 9px;
    height: 100%;
    width: 100%;
}

    .StepPopup .content-container > div, .StepPopupSpecial .content-container > div {
        height: 100%;
        background: white;
        color: #000;
        border-radius: 9px;
        padding: 6px 0;
        overflow: visible;
    }

        .StepPopup .content-container > div > div, .StepPopupSpecial .content-container > div > div {
            overflow: visible;
            scrollbar-color: rgb(200, 200, 200) rgb(230, 230, 230);
            scrollbar-width: thin;
            height: 100%;
            text-align: left;
            padding: 0 12px;
        }


.StepPopup-StocksExchange .card-header {
    text-align: center;
    align-items: center;
    justify-content: center;
    
    width: 100%;
    z-index: 2;
}

    .StepPopup-StocksExchange .card-header > div {
        background: linear-gradient(270deg, #2173bb 0%, #60b1f9 69.08%);
        border-radius: 120px 120px 0 0;
        padding: 9px 9px 0px 9px;
        height: 100%;
        
    }

        .StepPopup-StocksExchange .card-header > div > div {
            background-color: #fff;
            border-radius: 60px 60px 0 0;
            text-align: center;
            position: relative;
            top: 1px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding:0 20px
        }

    .StepPopup-StocksExchange .card-header img {
        position: absolute;
        top: -35px;
        left: 10px;
        width: 80px;
    }

    .StepPopup-StocksExchange .card-header > div > div > div {
        background: #5a71a5;
        background: linear-gradient(to top left, #2196f3 0%, #5a71a5 50%, #004567 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 20px;
        font-weight: 900;
        line-height: 40px;
        letter-spacing: 0em;
        margin-left: 70px;
    }


.StepPopup-StocksExchange .card-content {
    position: relative;
    padding: 0;
    margin-top: -9px;
    width: 100%;
    background: none;
    max-width:800px
}

.StepPopup-StocksExchange.expandedPopup .card-content {
    position: relative;
    padding: 0;
    margin-top: -9px;
    width: 100%;
    background: none;
    max-width: 800px
}

.StepPopup-StocksExchange .content-container {
    background: linear-gradient(270deg, #00529b 0%, #60b1f9 69.08%);
    border-radius: 9px;
    padding: 9px;
    height: 100%;
    width: 100%;
}

    .StepPopup-StocksExchange .content-container > div {
        height: 100%;
        background: white;
        color: #000;
        border-radius: 9px;
        padding: 6px 0;
        overflow: hidden;
    }

        .StepPopup-StocksExchange .content-container > div > div {
            overflow-y: auto;
            scrollbar-color: rgb(200, 200, 200) rgb(230, 230, 230);
            scrollbar-width: thin;
            height: 100%;
            text-align: left;
            padding: 0 12px;
        }

.content-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    gap: 10px;
    position: relative
}

    .content-body .closeBtnMainPopup {
        position: absolute;
        top: -55px;
        right: -20px;
        font-size: 50px;
        z-index: 10000000;
        color: red;
        opacity: 1;
    }

    .content-body .stock-table {
        color: #000;
        border-radius: 6px;
        overflow: hidden;
    }

        .content-body .stock-table > table {
            border-collapse: separate;
            border-style: hidden;
            border-spacing: 0 2px;
        }

            .content-body .stock-table > table thead {
                background-color: #c8d0ff90;
            }

    .content-body th {
        font-weight: 700;
        text-overflow: ellipsis;
        overflow: hidden;
        padding: 6px;
        border-style: hidden !important;
        border: 0 !important;
        font-size:16px
    }

    .content-body th:not(.stock-code) {
        max-width: 210px;
    }

content-body th:not(.stock-code).risk-level {
    max-width: 150px;
}

.content-body .stock-table .high-risk {
    background-color: #ed7d3170;
}

.content-body .stock-table .medium-risk {
    background-color: #f4b18370
}

.content-body .stock-table .low-risk {
    background-color: #fbe5d670;
}

.content-body td {
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 6px;
    border-style: hidden !important;
    border: 0 !important;
    font-size:18px
}

.content-body td.risk-level {
    color: #ed7d31 !important;
    font-weight:bold
}

    .content-body td.stock-code > div {
        gap: 6px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        display: flex !important;
        font-weight: bold;
    }

    .content-body td.stock-opening-price {
        font-weight: bold;
    }

.content-body th.animate {
    color: #ef4760;
    -webkit-animation: opacity-flash 4s infinite;
    animation: opacity-flash 4s infinite;
}

.content-footer {
    min-height: 40px;
    position: relative !important;
    padding: 4px !important;
    /*
    gap: 6px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    display: flex !important;
        */
}

.market-announcement {
    -webkit-animation: effect 2s infinite;
    animation: effect 2s linear infinite;
    border-radius: 20px;
}

.center-to-bottom {
    -webkit-animation: center-to-bottom-transition 4s linear 0s normal none;
    animation: center-to-bottom-transition 4s linear 0s normal none;
}

#pause-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display:none;
}

    #pause-container i {
        color: #fff;
        font-size: 70px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -35px;
        margin-top: -50px;
        cursor:pointer
    }

    #pause-container.active {
        display: block;
    }

.StepPopup .modal-dialog {
    max-width: 800px
}

.StepPopup.hidefooter .modal-footer{
    display:none
}

.StepPopup-Timeline{
    z-index:2000
}

.containerBusinessCycle {
    position: relative;
    -moz-animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10000;
    overflow: visible;
    width: 330px;
    height: 330px;
    margin-left: -165px;
    margin-top: -165px;
}

.overlayBusinessCycle {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

    .containerBusinessCycle img{
        display:none
    }

.startBusinessCycle {
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -30px;
    z-index: 2;
    cursor:pointer
}

    .startBusinessCycle i{
        font-size:60px;

    }

.containerBusinessCycle img {
    position: relative;
    z-index: 2;
}

.containerBusinessCycle .state-name {
    position: absolute;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    z-index: 3;
}

.always-animated {
    -moz-animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

.containerBusinessCycle.Boom .state-name {
    color: #fdd162;
    width: 100%;
    left: 0;
    bottom: 45px;
}

.containerBusinessCycle.Boom img {
    transform: rotate(0deg);
}

.containerBusinessCycle.Recovery .state-name {
    color: #35b588;
    right: 200px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: right;
}

.containerBusinessCycle.Recovery img {
    transform: rotate(90deg);
}

.containerBusinessCycle.Slump .state-name {
    color: #bdbdbd;
    width: 100%;
    left: 0;
    top: 50px;
}

.containerBusinessCycle.Slump img {
    transform: rotate(180deg);
}

.containerBusinessCycle.Recession .state-name {
    color: #ef4761;
    left: 200px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: left;
}

.containerBusinessCycle.Recession img {
    transform: rotate(270deg);
}

.state-name-businesscycle{
    display:none !important
}

.BusinessCycleTitleSection {
    background: #fff;
    position: absolute;
    z-index: 2;
    bottom: -150px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    display:none;
}
    .BusinessCycleTitleSection span {
        margin-top: 10px;
        display: block;
    }

    .BusinessCycleTitleSection div {
        margin-top:15px;
        margin-bottom:10px
    }

.rotate-center {
    -webkit-animation: rotate-center 0.6s linear infinite both;
    animation: rotate-center 0.6s linear infinite both;
}

.table-border td{
    border: 1px solid #000 !important;
}

.backdrop-breakingnews, .backdrop-Timeline {
    z-index: 1038;
}

.StepPopup-BreakingNews, .StepPopup-Timeline {
    z-index: 1039;
}

.modal.StepPopupSpecial {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .modal.StepPopupSpecial .modal-dialog {
        width: 100%;
    }


.StepPopupSpecial .modal-dialog {
    max-width: 800px;
}

.dice-circle-positive, .dice-circle-negative {
    width: 16%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dice-circle-positive > span, .dice-circle-negative > span {
        font-size: 22px;
        font-weight: 700;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        text-align: center;
        margin: 5px 0;
        justify-content: center;
        align-items: center;
    }

    .dice-circle-positive > span {
        border: 1px solid #35ba8b;
        color: #35ba8b;
        width:50px;
        height:50px;
        border:none
    }

    .dice-circle-positive .dicewrapperTopLeft, .dice-circle-negative .dicewrapperTopLeft {
        width: 50px;
        height: 50px;
    }

        .dice-circle-positive .dicewrapperTopLeft .dice > div {
            background: none;
            border-color: #35ba8b
        }

.dice-circle-positive .dicewrapperTopLeft .dice span {
    background: #35ba8b
}

.dice-circle-negative span {
    border: 1px solid #ef4760;
    color: #ef4760;
}

    .dice-circle-positive i {
        color: #35ba8b;
        font-size: 20px;
    }

    .dice-circle-negative i {
        color: #ef4760;
        font-size: 20px;
    }

    .dice-circle-negative > span {
        border: 1px solid #ef4760;
        color: #ef4760;
        width: 50px;
        height: 50px;
        border: none
    }

    .dice-circle-negative .dicewrapperTopLeft .dice > div {
        background: none;
        border-color: #ef4760
    }

    .dice-circle-negative .dicewrapperTopLeft .dice span {
        background: #ef4760
    }

    .dice-circle-negative.active > span {
        background: #ef4760;
        color: #fff;
        border-radius: 0;
    }


    .dice-circle-positive.active > span {
        background: #35ba8b;
        color: #fff;
        border-radius: 0;
    }

    .dice-circle-positive.active .dicewrapperTopLeft .dice span,
    .dice-circle-negative.active .dicewrapperTopLeft .dice span {
        background: #fff !important;
    }

.dice-circle-gray span {
    border-color: gray;
}


    .dice-circle-gray .dicewrapperTopLeft .dice > div {
        border-color: gray;
    }

.dice-circle-gray .dicewrapperTopLeft .dice span {
    background: gray;
}

    

.modal.PlayerPopup {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .modal.PlayerPopup .modal-dialog {
        width: 100%;
    }

.player-popup {
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    flex-direction: column;
}


.PlayerPopup .card-header {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

    .PlayerPopup .card-header > div {
        background: linear-gradient(270deg, #2173bb 0%, #60b1f9 69.08%);
        border-radius: 120px 120px 0 0;
        padding: 9px 9px 0px 9px;
        height: 100%;
    }

        .PlayerPopup .card-header > div > div{
            background-color: #fff;
            border-radius: 60px 60px 0 0;
            text-align: center;
            position: relative;
            top: 1px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px
        }


            .PlayerPopup .card-header > div > div > div {
                background: #5a71a5;
                background: linear-gradient(to top left, #2196f3 0%, #5a71a5 50%, #004567 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-size: 20px;
                font-weight: 900;
                line-height: 40px;
                letter-spacing: 0em;
            }

.PlayerPopup .card-content {
    position: relative;
    padding: 0;
    margin-top: -9px;
    width: 100%;
    background: none;
}

.PlayerPopup .content-container {
    background: linear-gradient(270deg, #00529b 0%, #60b1f9 69.08%);
    border-radius: 9px;
    padding: 9px;
    height: 100%;
    width: 100%;
}

    .PlayerPopup .content-container > div {
        height: 100%;
        background: white;
        color: #000;
        border-radius: 9px;
        padding: 6px 0;
        overflow: visible;
    }

        .PlayerPopup .content-container > div > div {
            overflow: visible;
            scrollbar-color: rgb(200, 200, 200) rgb(230, 230, 230);
            scrollbar-width: thin;
            height: 100%;
            text-align: left;
            padding: 0 12px;
        }

.modal.PlayerPopup {
    display: inline-block;
    position: relative;
    height: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
}

    .modal.PlayerPopup .card-content-details {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

.modal.OnePlayerPopup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    z-index: 1090;
    
}

    .modal.OnePlayerPopup .dicewrapperTopLeft {
        margin-top: 15px;
        margin-bottom: 30px;
        height: 50px;
        width: 50px;
    }

.modal.OnePlayerPopup.PlayerPopup .card-content {
    max-width: 700px
}

        .modal.OnePlayerPopup.PlayerPopup .card-content .card-content-details img{
            max-width:100%;
        }

.dice-mirror {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 55px;
}

    .dice-mirror .dicewrapperTopLeft {
        width: 50px;
        height: 50px;
    }

    #playerPopupsWraper {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: none;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        outline: 0;
    }

    #playerPopupsWraper.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.modal-backdrop.backdrop-player-2 {
    opacity: .25;
}

.modal-backdrop.backdrop-player-3 {
    opacity: .17;
}

.modal-backdrop.backdrop-player-4 {
    opacity: .125;
}

.modal-backdrop.backdrop-player-5 {
    opacity: .1;
}

.ThreePlayerPopup .modal-dialog, .FourPlayerPopup .modal-dialog, .FivePlayerPopup .modal-dialog {
    margin: 5px auto
}

.modal .SecondAnimate{
    display:none !important
}

.modal .SecondAnimate.active {
    display: flex !important
}

.FirstAnimate{
    justify-content:space-between
}

    .FirstAnimate.active{
        display: none !important
    }

.SecondAnimate {
    justify-content: space-between
}
    /*
    .modal.OnePlayerPopup.PlayerPopup .modal-dialog {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .modal.OnePlayerPopup.PlayerPopup .modal-content {
        max-width: 700px
    }

        .modal.OnePlayerPopup.PlayerPopup .modal-content .modal-header .modal-title {
            color:#fff;
        }
        */
    @keyframes opacity-flash {
        0% {
        opacity: 1;
    }
    15% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    35% {
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes effect {
    0% {
        color: #ef4760;
    }
    50% {
        color: #ff9800;
    }
    100% {
        color: #5a71a5;
    }
}


@-webkit-keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.talent-show-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.talent-show-container img{
    width:70px
}

.impressiveTalent div {
    background: url(../images/impresssive.png) no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.notimpressiveTalent div {
    background: url(../images/notimpressive.png) no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.impressiveTalent, .notimpressiveTalent {
    /* display: flex;
    justify-content: center;
    */
}

.player-table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .player-table-container img {
        width: 70px
    }

.lottery-notbuy {
    /*
    display: flex;
    justify-content: center;*/
}

    .lottery-notbuy div {
        background: url(../images/notimpressive.png) no-repeat;
        background-size: cover;
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

.lottery-buy div{
    font-size:24px
}

.gold-buy div {
    font-size: 24px
}


.gold-notbuy div {
    background: url(../images/notimpressive.png) no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}