/* css edited for table  */
.ps-real-traffic-table {
    max-width: 100%;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.ps-real-traffic-table .table-info, .table-info {
    background: transparent !important;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-content: end;
    align-items: end;
    border-bottom: 0.5px solid #D6D8DA;
}

.country-select {
    box-sizing: border-box;
    filter: none;
    flex: 0 0 60%;
    text-align: left;
}

.country-select select {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
    /* Standard */
    background-color: transparent;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMgNUw2IDhMOSA1IiBzdHJva2U9IiMxODFBMUMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
    background-position: 95% 50%;
    background-repeat: no-repeat;
    background-size: 12px;
    border: none;
    border-bottom: 2px solid #181a1c;
    color: #181a1c;
    cursor: pointer;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 23px;
    outline: none;
    padding: 7.5px 28px 7.5px 12px;
    text-align: start;
    outline: 0;
}

.country-select select:focus {
    outline: 0;
}

.last-updated {
    font-size: 15px;
    color: #181a1c;
    line-height: 23px;
    font-weight: 500;
    flex: 0 0 40%;
    text-align: end;
    padding: 8.5px 0 8.5px;
}

.tableResponsive {
    scrollbar-width: thin;
}

.ps-real-traffic-table table, table.rankTable {
    padding: 0px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 2px 4px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    width: 100%;
}

.ps-real-traffic-table table thead tr th,
table.rankTable thead tr th,
.ps-real-traffic-table table tbody tr td,
table.rankTable tbody tr td {
    border: 0;
    padding: 10px 16px;
}

.ps-real-traffic-table table tbody tr:not(:last-child), table.rankTable tbody tr:not(:last-child) {
    border-bottom: 1px solid #D6D8DA;
}

.ps-real-traffic-table table thead tr th, table.rankTable thead tr th {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: #5A6068;
    white-space: nowrap;
    padding: 15px 24px;
}

.ps-real-traffic-table table tbody tr #online .cBlue, table.rankTable tbody tr #online .cBlue {
    border: 0px;
    border-radius: 4px;
    padding: 12px 16px;
    width: 100%;
    display: block;
    background: #F8F8F8;
    font-style: normal;
    font-weight: 600;
    font-size: 21px;
    line-height: 33px;
    text-align: center;
    text-transform: capitalize;
    color: #181A1C;
}

.brand-title-rank {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-title-img {
    position: relative;
}

span.rank-num {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    position: absolute;
    width: 18px;
    height: 18px;
    left: -6px;
    top: 0px;
    border-radius: 18px;
    z-index: 1;
    font-size: 10px;
    color: #E63B2E;
    text-align: center;
    line-height: 13px;
    border: 1px solid #E63B2E;
    outline: 3px solid #fff;
}

.brand-title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #181A1C;
    text-align: start;
}

.brand-title-img img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
}

.th-brand span {
    display: block;
    text-align: start;
}

td#plyNow .btn {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    width: 170px;
    height: 48px;
    background: #E63B2E;
    border: 2px solid #E63B2E;
    border-radius: 80px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

td#plyNow .btn:hover, td#plyNow .btn:focus {
    background: #D1362A;
    color: #ffffff;
    border-color: #D1362A;
    box-shadow: none;
}

.ps-real-traffic-table table tbody tr td#cash, table.rankTable tbody tr td#cash {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 21px;
    line-height: 33px;
    text-align: center;
    text-transform: capitalize;
    color: #181A1C;
}

.peak-day-text {
    position: relative;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 21px;
    line-height: 33px;
    display: inline-block;
    text-align: center;
    text-transform: capitalize;
    color: #0FB77A;
    padding-left: 10px;
}


.peak-day-text.positive {
    color: #0FB77A;
}

.peak-day-text.negative {
    color: #DD1A49;
}

/* triangle css for positive and negative */
.peak-day-text.positive::before {
    border-bottom: 4px solid #0FB77A;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    left: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
}

.peak-day-text.negative::before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #DD1A49;
    content: "";
    height: 0;
    position: absolute;
    left: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
}

.see-full-list.link-button {
    display: none;
}

/* Custom top traffic item */
.cus_top_traffic_coin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cus_top_traffic_coin {
    background: url(../img/Grey.png) center top no-repeat;
    border: 0;
    background-size: cover;
    background-color: #fce6e5;
}

.cus_top_traffic_coin img {
    width: 88px;
    height: 88px;
}

.ps-real-traffic-table table tbody .cus_top_traffic_coin td:first-child {
    padding: 16px 16px;
}

.ps-real-traffic-table table tbody .cus_top_traffic_coin td {
    padding: 16px 5px;
}

.ps-real-traffic-table table tbody .cus_top_traffic_coin td:last-child {
    padding-left: 16px;
    padding-right: 16px;
}

.cus_top_traffic_best_bonus span {
    border-radius: 4px;
    border: 0.5px solid #DD1A49;
    background: #FDF3F3;
    color: #E63B2E;
    font-size: 10px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: 'Roboto';
    padding: 2.5px 7px;
}

.cus_top_traffic_text {
    display: flex;
    justify-content: center;
    color: #181A1C;
    font-size: 21px;
    font-weight: 600;
    line-height: 33px;
    text-transform: capitalize;
    font-family: 'Roboto';
}

.cus_top_traffic_text .btn {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    width: 170px;
    height: 48px;
    background: #E63B2E;
    border: 2px solid #E63B2E;
    border-radius: 80px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.cus_top_traffic_text .btn:hover, .cus_top_traffic_text .btn:focus {
    background: #D1362A;
    color: #ffffff;
    border-color: #D1362A;
    box-shadow: none;
}

.cus_top_traffic_coin-logo .brand-title-img::before {
    content: "";
    position: absolute;
    left: 2px;
    top: -5px;
    width: 24px;
    height: 24px;
    background: url(../img/top-table-number.svg) center top no-repeat;
}

/*------------- common media query--------------*/
@media screen and (max-width: 991.98px) {
    .ps-real-traffic-table {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }

    .ps-real-traffic-table table thead, table.rankTable thead {
        display: none;
    }

    .ps-real-traffic-table .tableResponsive, .tableResponsive {
        overflow: unset;
    }

    .ps-real-traffic-table table tbody, table.rankTable tbody {
        display: flex;
        flex-flow: column;
        gap: 1rem;
    }

    .ps-real-traffic-table table tbody tr, table.rankTable tbody tr {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 6px;
        padding: 1rem;
    }

    .ps-real-traffic-table table tbody tr td, table.rankTable tbody tr td {
        padding: 0;

    }

    .ps-real-traffic-table table tbody tr td:first-child,
    table.rankTable tbody tr td:first-child,
    .ps-real-traffic-table table tbody tr td:nth-child(2),
    table.rankTable tbody tr td:nth-child(2) {
        grid-column: span 2;
    }

    .ps-real-traffic-table table tbody tr td:last-child,
    table.rankTable tbody tr td:last-child {
        grid-column: span 4;
    }

    td#plyNow .btn {
        width: 100%;
        height: 48px;
    }

    .brand-title-img img {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    span.rank-num {
        font-size: 11px;
        line-height: 17px;
        outline: 2px solid #fff;
    }

    span.inlinesparkline.hidden-spark {
        word-break: break-word;
    }

    .ps-real-traffic-table table tbody tr td#cash, table.rankTable tbody tr td#cash {
        font-size: 17px;
        line-height: 25px;
    }

    .peak-day-text {
        font-size: 17px;
        line-height: 25px;
    }

    .ps-real-traffic-table table [data-label]::before, table.rankTable [data-label]::before {
        content: attr(data-label);
        text-transform: capitalize;
        display: flex;
        font-size: 13px;
        justify-content: center;
        align-items: center;
        line-height: 21px;
        font-weight: 400;
        color: #82878E;
    }

    .ps-real-traffic-table table tbody tr td#online .cBlue, table.rankTable tbody tr td#online .cBlue {
        padding: 8px 12px;
        display: flex;
        justify-content: right;
        align-items: center;
        gap: 4px;
        font-size: 17px;
        line-height: 25px;
    }

    .brand-title-rank {
        gap: 8px;
    }

    .brand-title {
        text-align: start;
        line-height: 25px;
        font-size: 15px;
    }

    .country-select select {
        font-size: 17px;
        line-height: 27px;
    }

    .tableResponsive {
        max-height: inherit;
    }

    .cus_top_traffic_coin td:nth-child(3), .cus_top_traffic_coin td:nth-child(4) {
        grid-column: span 4;
    }

    .cus_top_traffic_text .btn {
        width: 100%;
    }

    .cus_top_traffic_coin td:nth-child(2) {
        text-align: right;
    }

    .cus_top_traffic_text {
        font-size: 17px;
        line-height: 25px;
    }

    .ps-real-traffic-table table tbody .cus_top_traffic_coin td:first-child {
        padding: 0;
    }

    .ps-real-traffic-table table tbody .cus_top_traffic_coin td {
        padding: 0;
    }

    .ps-real-traffic-table table tbody .cus_top_traffic_coin td:last-child {
        padding-left: 0;
        padding-right: 0;
    }

}

@media screen and (max-width: 767.98px) {
    .ps-real-traffic-table .table-info, .table-info {
        align-items: self-start;
        margin-bottom: 16px;
        flex-wrap: wrap;
        flex-flow: column;
        gap: 12px;
    }
}
