/* .multigame-popup-wrapper {
    height: 85%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    width: 0;
    z-index: 999999;

} */

#multigame-popup-wrapper{
    z-index: 1234;
    overflow-y: scroll;
    opacity: 1;
    visibility: visible;  
}


.multigame-popup-wrapper a{
    text-decoration: none !important;
}

.multigame-popup-wrapper.active {
    width: 43%;
    padding: 5px;
}

.multigame-popup-wrapper .multigame-popup-nav nav {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}

.multigame-popup-wrapper .multigame-popup-nav label {
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    color: white;
    font-size: 17px;
    border-radius: 5px;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.multigame-popup-inner {
    position: relative;
    padding-top: 55px;
}

html body .multigame-popup-wrapper a.close-multigame-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    color: white !important;
    align-items: center;
    justify-content: center;
    font-size: 25px !important;
}

.multigame-popup-wrapper .multigame-popup-nav label a {
    float: none !important;
    line-height: 1.2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multigame-popup-wrapper .multigame-popup-nav label.active,
.multigame-popup-wrapper .multigame-popup-nav label:hover {
    border-radius: 5px;
    background: rgb(252, 181, 3);
    background: linear-gradient(180deg, rgb(252, 181, 3) 0%, rgba(229, 136, 27, 1) 50%);
    transition: all 0.3s ease;
    color: white;
}

.baccarat-tables-wrapper,
.roulette-tables-wrapper,
.andar-tables-wrapper {
    display: flex;
    flex-flow: row wrap;
    margin-top: 15px;
}

.single-rulett-result-table,
.single-andar-result-table {
    width: 50%;
    padding: 8px;
}

.single-rulett-result-table>a,
.single-andar-result-table>a {
    border: 1px solid #E5881B;
    display: block;
}

.single-rulett-result-table img,
.single-andar-result-table img {
    max-width: 100%;
}

.single-roulette-info,
.single-andar-info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 5px 10px;
}

.single-roulette-info .limits h2,
.single-andar-info .limits h2 {
    -webkit-text-fill-color: white;
    color: white;
}

html body .multigame-popup-wrapper a,
.multigame-popup-wrapper .multigame-popup-nav label.active a {
    color: white !important;
}

/* tables css */

.patterns_wrapper>a {
    float: none !important;
    display: block;
    /* min-height: 140px; */
    padding: 6px;
    margin: 2px;
    border: 2px solid #ccc;
    border-radius: 10px;
    text-decoration: none !important;
}

.patterns_wrapper>a>div:nth-child(2) {

    /* height: 90px; */
}

.outerImage{
    display: flex;
    align-items: center;
    column-gap: 6px;
}

.multi-popup-game-info {
    display: flex;
    padding: 0px;
    justify-content: space-between;
    align-items: center;
}

.multi-popup-game-info .table-name , .multi-popup-game-info .table-limit{
    width: 20%;
}
.multi-popup-game-info .table-result{
    width: 60%;
}
.multi-popup-game-info .table-name h2{
    text-align: left !important;
}
.multi-popup-game-info .table-limit h2{
    text-align: right !important;
}
.table-result-content{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    column-gap: 12px;
    font-size: 15px;
}
.patterns_wrapper {
    width: 100%;
}

.bigroad-table,
.bigeyeboy-table,
.small-road-table,
.cockroach-table {
    display: table;
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
}

.bigroad-table .tbl-cell,
.bigeyeboy-table .tbl-cell,
.small-road-table .tbl-cell,
.cockroach-table .tbl-cell {
    display: table-row;
}

.bigroad-table .tbl-cell>div,
.small-road-table .tbl-cell>div,
.cockroach-table .tbl-cell>div {
    width: 2.5%;
    height: 16.66%;
    display: table-cell;

    position: relative;
}

.bigroad-table .tbl-cell>div {
    border: 1px solid #dadada;
}

.bigeyeboy-table .tbl-cell>div {
    width: 1.25%;
    height: 16.66%;
    display: table-cell;
    position: relative;
}

.bigeyeboy-table .tbl-cell>div:nth-child(odd),
.small-road-table .tbl-cell>div:nth-child(odd),
.cockroach-table .tbl-cell>div:nth-child(odd) {
    border-left: 1px solid #dadada;
}

.bigeyeboy-table .tbl-cell:nth-child(even),
.small-road-table .tbl-cell:nth-child(even),
.cockroach-table .tbl-cell:nth-child(even) {
    border-bottom: 1px solid #dadada;
}

.bigroad-table {
    height: 50%;
}

.bigeyeboy-table {
    height: 25%;
}

.half-tables {
    display: flex;
    height: 25%;
}

.small-road-table,
.cockroach-table {
    height: 100%;
    width: 50%;
}

.results-loading {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

.results-loading img {
    width: 60px;
}

.multi-popup-main-title h2 {
    font-size: 40px;
    font-family: 'Anton';
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #FCB503;
    background: -webkit-linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    background: -moz-linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    background: linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.multi-popup-game-info .table-name h2 {
    font-size: 17px;
    font-weight: 600;
    font-family: 'Anton';
    text-align: center;
    background: #FCB503;
    background: -webkit-linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    background: -moz-linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    background: linear-gradient(to bottom, #FCB503 0%, #E5881B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.multi-popup-game-info .table-limit h2 {
    font-size: 17px;
    font-weight: 600;
    font-family: 'Anton';
    text-align: center;
    color: white;
    line-height: 1.3;
    -webkit-text-fill-color: white !important;
}

/* baccarat progressbar */
.multiTbl-baccarat-progress-wrapper {
    /* padding-top: 3px; */
    width: 100%;
    margin-top: -5px;
}

.multiTbl-baccarat-progress-wrapper .baccarat-progress {
    height: 15px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.multiTbl-baccarat-progress-wrapper .baccarat-progress-bar {
    background: linear-gradient(to bottom, #258400 0%, #3fb500 50%, #258400 100%);
    position: absolute;
    height: 100%;
    width: 0%;
    transition: all .3s ease;
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
}

.multiTbl-baccarat-progress-wrapper .baccarat-progress-bar.red {
    background: linear-gradient(to bottom, #b20303 0%, #ff0000 50%, #b20303 100%);
}

@media(max-width : 1440px) {
    .patterns_wrapper {
        width: 100%;
    }

    .patterns_wrapper>a>div:nth-child(2) {
        /* height: 165px; */
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgb(252, 181, 3) 0%, rgba(229, 136, 27, 1) 50%);
    height: 90px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (min-width : 768px) and (max-width : 1023px) {
    .multigame-popup-wrapper.active {
        width: 75%;
        padding: 5px;
    }
    .result-content-img{
        /* width: 50%; */
    }
}

@media(max-width : 767px) {
    .multigame-popup-wrapper.active {
        width: 80%;
        padding: 5px;
    }
    /* .result-content-img{
        width: 50%;
    } */
    .result-content-img img{
        max-width: 25px;
    }
    .outerImage{
        column-gap: 0;
    }
}

.game-board-result-link-wrapper{
    position: relative !important;
}

.game-board-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 123;
    cursor: pointer;
}
