:root {
    --bg-color: #F7F7F7;
    --box_shadow: rgba(0,0,0,0.20);
    --main-blue: #3080FD;
    --dark-blue: #205089;
    --white: #ffffff;
    --gray: #e5e5e5;
    --even-gray: #F2F2F3;
    --light-gray: #B3B3B5;
    --pink: #ED5C5C;
    --main-black: #434343;
    --black: #000000;
    --leaderBoard-bottom: #360042;
}

/*-----------------即時比分-----------------*/

.wrap_index{
    background-color: var(--bg-color);
    font-size: 14px;
    color:var(--main-black);
}

.wrap_index .container{
    padding-bottom: 1rem;
}

.wrap_score{
    width: 70%;
}
.wrap_news{
    width: calc(100% - 356px);
    max-width: 70%;
}

.box_liveCountDown{
    min-width: 220px;
}

.wrap_index_left{
    width: calc(30% - 16px);
    min-width: 340px;
}
.wrap_announce{
    background-image: url("/images/icon-announce.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1.5rem;
    padding-left: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.wrap_announce ul{
    padding-left: 0;
}

.wrap_announce li{
    overflow: hidden;
}

.wrap_announce marquee li{
    overflow: visible;
}

.wrap_announce a{
    white-space: nowrap;
}

.wrap_indexCard{
    background-color: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 10px -3px var(--box_shadow);
}

.wrap_indexCard h3{
    color: #434343;
    border-left: 4px solid var(--main-blue);
    padding-left: .5rem;
}

.wrap_indexCard .btn{
    box-shadow: none;
}

.wrap_indexCard .btn:hover{
    box-shadow: none;
    background-color: transparent;
}

.btn_soccer, .btn_basketball{
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1.5rem;
    padding-left: 2rem;
    height: 2rem;
    margin-left: 1rem;
}

.switch_ball .active{
    background-color: transparent;
}

.btn_soccer:hover,.btn_soccer:focus, .btn_basketball:hover, .btn_basketball:focus{
    color: var(--main-blue);
    font-weight: bold;
}

.wrap_indexCard .btn_soccer{
    background-image: url("/images/icon-soccer.svg");
    border-right: 1px solid var(--gray);
}

.wrap_indexCard .wrap_title{
    margin-top: -0.5rem;
}

.wrap_indexCard .btn_basketball{
    background-image: url("/images/icon-basketball.svg");
}

.wrap_score .btn-group .btn{
    background-color: var(--white);
    border: 1px solid var(--main-blue);
    margin-right: -1px;
    color: var(--main-blue);
}

.wrap_score .btn-group .btn:hover,.wrap_score .btn-group .btn:focus, .wrap_score .btn-group .active{
    background: var(--main-blue);
    color: var(--white);
}

.wrap_score hr{
    border: none;
    border-top: 1px solid var(--even-gray);
}

.btn_more{
    color:var(--dark-blue);
    margin-left: 1rem;
}

.list_games{
    padding: .4rem .4rem .4rem 0rem;
    margin: 0rem;
}

.list_games:nth-child(even) {
    background: var(--even-gray);
}

.list_games:hover{
    background: var(--gray);
}

.list_games p{
    padding: .5rem ;
    margin-bottom: 0;
    text-align: left;
}

.team_name{
    padding: 0rem .5rem;
}

.team_score{
    min-width: 45px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.game_info{
    background-image: url(/images/icon-megaphone.svg);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: left center;
    padding-left: 1.2rem;
    margin-right: 1.2rem;
    margin-left: -1.2rem;
    border: none;
    background-color: transparent;
    transition: .5s;
    white-space: nowrap;
}

.game_info:hover{
    color: var(--main-blue);
    margin-top: -5px;
}

.game_live{
    height: .8rem;
    min-width: 25px;
    border: none;
    padding: 0;
    transition: .5s;
    background-color: transparent;
}

.game_live:hover{
    margin-top: -5px;
}

.game_live img{
    height: 100%;
}

.game_more img{
    height: 1rem;
    min-width: 6px;
}

.game_team{
    margin-right: .8rem;
    min-width: 75px;
    white-space: nowrap;
}

.game_date,.game_dueTime{
    min-width: 60px;
    white-space: nowrap;
}

.wrap_team{
    width: calc(50% - 1rem);
}

.game_dueTime{
    color:var(--main-blue);
}

.game_team{
    font-size: 12px;
}

.game_time{
    color: #6C6C6C;
}

.tag_combo {
    background-image: url("/images/tag_bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 29px;
    width: 48px;
    min-height: 29px;
    min-width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6C4B27;
    font-weight: bold;
    font-size: 12px;
}

.name_combo {
    font-weight: normal;
    white-space: nowrap;
    zoom: 0.9;
}

.list_games .game_start{
    color: var(--pink);
    background-image: url("/images/icon-soccerRed.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 12px;
    padding-left: 1rem;
}

.btn_mobileMore{
    display: none;
}

.a_fullLink {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: block;
    top:0;
    left: 0;
}

.a_fullLinkDown {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    top:0;
    left: 0;
}

/*-----------------最新活動-----------------*/


.wrap_indexAd img{
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/*-----------------直播表-----------------*/

.list_gameTime{}
.list_gameTime:nth-child(even){
    background: var(--even-gray);
}

.list_gameTime .td_first{
    width: 100px;
    padding: .8rem .5rem;
    border-right: 1px solid var(--gray);
}

.list_gameTime .td_second{
    width: calc(100% - 100px);
    padding: .8rem .5rem;
}

.a_changTextColor{
    transition: .5s;
}

.a_changTextColor:hover{
    color: var(--main-blue);
}

.wrap_schedule .th_title{
    border-top: 1px solid var(--even-gray);
}

.wrap_schedule .th_title .td_first, .wrap_schedule .th_title .td_second{
    border: none;
    padding: .5rem .5rem;
}

.list_gameTime .game_date, .list_gameTime .game_dueTime{
    min-width: 50%;
}

/*-----------------最新文章-----------------*/

.wrap_newsList{
    border-bottom: 1px solid var(--even-gray);
    width: calc(100% + 2rem);
    margin-left: -1rem;
}

.wrap_newsList .owl-stage{
    display: flex;
    flex-wrap: nowrap;
}

.wrap_newsList ul{
    margin-bottom: 0;
}

.wrap_newsList .owl-item.active{
    border: none;

}
.wrap_newsList .owl-carousel .owl-stage-outer{
    width: calc(100% - 40px);
    margin: 0 auto;
}

.wrap_newsList .owl-carousel.nav-style-2 .owl-nav .owl-next{
    right: -5px;
}

.wrap_newsList .owl-carousel.nav-style-2 .owl-nav .owl-prev{
    left: -5px;
}

.wrap_newsList ul{
    overflow: auto;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    overflow: hidden;
}

.wrap_newsList ul::-webkit-scrollbar {
    width: 0;
    height: 0;  /* Safari and Chrome */
}

.wrap_newsList a{
    padding: 1rem;
    display: flex;
    word-break: keep-all;
    font-size: 1rem;
    height: 54px;
    align-items: center;
}

.wrap_newsList a:hover, .wrap_newsList a:focus, .wrap_newsList .active{
    border-bottom: 4px solid var(--main-blue);
    color: var(--main-blue);
    font-weight: bold;
}

.img_news{
    width: 300px;
    height: 150px;
    background-size: cover;
    background-position: 50%;
}

.img_news img{
    width: 100%;
}

.wrap_newsDetail{
    border-bottom: 1px solid var(--even-gray);
}

.wrap_newsDetail a{
    padding: 0.8rem;
    width: calc(100% + 2rem);
    margin-left: -1rem;
}

.wrap_newsDetail a:hover{
    background-color: var(--gray);
}

.wrap_newsDetail a:hover .title{
    color: var(--main-blue);
}

.news_container{
    width: 100%;
    padding: 1rem;
    margin-left: 0rem;
    padding-left: 0;
}

.news_container .title{
    order: 1;
    font-size: 16px;
    text-align: left;
}

.news_container .describe{
    order: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news_container .date{
    order: 3;
    margin-bottom: 1px;
}

.news_container .others{
    order: 4;
}

.news_container .others p{
    margin-bottom: 0;
}

.news_container .view{
    background-image: url("/images/icon-eye.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
    padding-left: 1.3rem;
    margin-right: 1rem;
}

.news_container .reply{
    background-image: url("/images/icon-reply.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
    padding-left: 1.3rem;
}

.team_logo{
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.invisible {
    visibility: hidden;
}

@media screen and (max-width: 1440px){
    .team_name{
        max-width: 100px;
    }
}

@media screen and (max-width: 1366px){
    .wrap_score{
        width: 100%;
    }

    .team_name{
        max-width: unset;
    }
}

@media screen and (max-width: 991px) {

    .wrap_index{
        font-size: 12px;
        transition: .3s;
    }
    .wrap_score, .wrap_news, .wrap_index_left{
        width: 100%;
        max-width: 100%;
    }
    .wrap_score{
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    .wrap_score h3{
        display: none;
    }

    .wrap_score .wrap_title{
        flex-direction: column;
    }

    .wrap_scoreTitle{
        width: 100%;
    }

    .switch_ball{
        width: 100%;
        background-color: white;
        border-radius: 4px;
        box-shadow: 0px 0px 10px -3px var(--box_shadow);
    }

    .switch_ball .btn{
        width: 50%;
        background-position: calc(50% - 40px) center;
        padding: 1.2rem 0rem;
        align-items: center;
        display: flex;
        justify-content: center;
        border: none;
        border-radius: 0;
        margin: 0;
    }

    .switch_ball .btn:hover, .switch_ball .active{
        border-bottom: 4px solid var(--main-blue);
        background-color: transparent;
        color: var(--main-blue);
    }

    .wrap_score .btn_more{
        display: none;
    }

    .wrap_score .btn-group{
        background-color: white;
        border-radius: 4px;
        box-shadow: 0px 0px 10px -3px var(--box_shadow);
        margin-top: .5rem;
        width: 100%;
        font-size: 1px;
    }


    .wrap_scoreFilter{
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    .wrap_scoreFilter .btn-group .btn{
        width: 25%;
        background: transparent;
        color: black;
        text-align: center;
        padding: .4rem 0rem;
    }

    .wrap_scoreFilter .btn-group .btn:hover,.wrap_scoreFilter .btn-group .btn:focus,.wrap_scoreFilter .btn-group .active{
        background: var(--main-blue);
        color: white;
        border-radius: 4px;
    }

    .wrap_scoreFilter .btn-group{
        padding: .2rem .5rem .2rem .2rem;
        margin-bottom: .5rem;
    }

    .wrap_score .btn-group .btn{
        border: none;
    }

    .wrap_score hr{
        display: none;
    }

    .list_games:hover{
        background: var(--white);
    }

    .wrap_gamesInfo1{
        order: 1;
        width: calc(50% + 30px);
        display: flex;
        justify-content: space-between;
    }

    .list_games, .list_games:nth-child(even){
        background-color: white;
        box-shadow: 0px 0px 10px -3px var(--box_shadow);
        margin-bottom: .5rem;
        padding: .8rem .8rem .8rem 0;
    }

    .list_games .game_date{
        display: none;
    }

    .list_games .game_start{
        color: var(--card-red);
    }

    .list_games p{
        padding: .2rem;
    }
    .list_games .game_dueTime{
        order: 2;
        color: var(--light-gray);
    }
    .list_games .game_team{
        order: 1;
        border-left: 4px solid black;
        margin-left: -15px;
        padding-left: 15px;
    }

    .list_games .game_time{
        color: var(--light-gray);
    }

    .list_games .game_time, .list_games .game_start{
        order: 3;
        text-align: center;
        width: 30px;
        background-image: none;
        padding: 0;
    }

    .list_games .game_more{
        display: none;
    }

    .list_games .game_info{
        background-size: 12px;
        padding-left: 15px;
        margin-right: 0.5rem;
    }

    .list_games .game_live{
        margin-right: 0;
    }
    .list_games .game_live img{
        width: 18px;
    }

    .list_games .team_score{
        font-weight: normal;
    }

    .wrap_gamesInfo2{
        order: 3;
        justify-content: center;
        margin-top: 0.8rem;

    }

    .wrap_gamesInfo3{
        order: 2;
        width: calc(50% - 30px);
    }

    .btn_mobileMore{
        display: block;
        text-align: center;
        width: 100%;
        padding: .5rem;
        color: var(--main-blue);
        background-color: white;
        box-shadow: 0px 0px 10px -3px var(--box_shadow);
        text-decoration: underline;
        font-size: 1.125rem;
    }

    .wrap_indexAd {
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .wrap_indexAd a{
        display: block;
        margin-bottom: -1.2rem;
    }

    .wrap_eShop{
        display: none;
    }

    .news_container{
        margin-left: 0;
        padding-left: 0;
    }

    .news_container .title{
        order: 2;
        padding-left: 0;
    }

    .news_container .describe{
        order: 3;
        padding-left: 0;
    }

    .news_container .date{
        order: 1;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .news_container .others{
        order: 4;
        padding-left: 0;
    }

    .img_news{
        order: 2;
    }

    .news_container{
        order: 1;
    }
    .team_logo{
        display: none;
    }
}

@media screen and (max-width: 576px) {

    .news_container{
        padding: 0;
        margin: 0;
    }

    .news_container .title{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news_container .describe{
        display: none;
    }
    .news_container .others{
        flex-direction: column;
    }

    .news_container .others .artist {
        margin-bottom: 5px;
    }

    .game_team {
        margin-right: .5rem;
        width: 70px;
        min-width: 70px;
    }
}


/*-----------排行榜-------------*/
.btn_leaderBoardLogin {
    border: 0px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.58);
    color: white;
    padding: 5px 20px;
}

.container_leaderBoard {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, var(--black) 60%, var(--leaderBoard-bottom) 80%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.Star_leaderBoard {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, var(--black) 60%, #291602 80%);
}

.bottom_leaderBoard {
    background-image: url("/images/leaderBoard/bg_dot.png");
    opacity: .4;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 80px;
    bottom: 60px;
}

.left_star {
    background-image: url("/images/leaderBoard/star_left.png");
    width: 61px;
    height: 51px;
    bottom: 60px;
    left: 0px;
}

.right_star {
    background-image: url("/images/leaderBoard/star_right.png");
    width: 56px;
    height: 73px;
    bottom: 60px;
    right: 0px;
}

.title_leaderBoard {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: -65px;
}

.info_leaderBoard {
    flex-direction: column;
    z-index: 2;
}

.list_top3, .list_last {
    max-width: 320px;
    width: 90%;
}

.list_last {
    height: 200px;
    overflow-y: auto;
}

.list_last::-webkit-scrollbar {
    width: 4px;
}

.list_last::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

.list_last::-webkit-scrollbar-track-piece {
    background: transparent;
}

.list_last::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: none;
}

.forecast_leader_board .list_last::-webkit-scrollbar-thumb {
    background-color: rebeccapurple;
}

.Star_leaderBoard .list_last::-webkit-scrollbar-thumb {
    background-color: #B97E19;
}

.list_last::-webkit-scrollbar-track {
    box-shadow: transparent;
}

.wrap_leaderInfo {
    background: rgb(186,56,223);
    background: linear-gradient(180deg, #BA38DF 0%, rgba(115,39,182,1) 100%);
    border-radius: 50rem!important;
    padding: .5rem;
}

.Star_leaderBoard .wrap_leaderInfo {
    background: linear-gradient(180deg, #EEB071 0%, #713C1B 100%);
}

.wrap_leaderInfo > .wrap_img {
    width:100%;
    height: 0;
    background-color: white;
    padding-bottom: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wrap_leaderInfo > .wrap_img > .position-absolute {
    width: 60%;
    left: 50%;
    top: -10%;
}

.wrap_leaderInfo > p {
    width: calc(100% + 0.6rem);
    white-space: nowrap;
    margin-left: -0.3rem;
    overflow: hidden;
}

.box_glow1 {
    border: 1px solid #FFC8FC;
    box-shadow: 0px 0px 5px 6px rgba(177,0,177,0.75);
    -webkit-box-shadow: 0px 0px 5px 6px rgba(177,0,177,0.75);
    -moz-box-shadow: 0px 0px 5px 6px rgba(177,0,177,0.75);
}

.Star_leaderBoard .box_glow1 {
    border: 1px solid #DFA267;
    box-shadow: 0px 0px 5px 6px rgba(255,231,0,0.3);
    -webkit-box-shadow: 0px 0px 5px 6px rgba(255,231,0,0.3);
    -moz-box-shadow: 0px 0px 5px 6px rgba(255,231,0,0.3);
}

.text_sliver {
    color: #D7D7D7;
}

.text_gold {
    color: #FFE700;
}

.text_copper {
    color: #F8BF58;
}

.leader_top {
    border: 2px solid #EAA853;
    box-shadow: 0px 0px 0px 1px #FFDD00;
}

.leader_second {
    border: 2px solid #939393;
    box-shadow: 0px 0px 0px 1px #CBCBCB;
}

.leader_third {
    border: 2px solid #61430A;
    box-shadow: 0px 0px 0px 1px #B97E19;
}

.list_top3 > .width_small {
    width: 28%;
}

.list_top3 > .width_big {
    width: 35%;
}

.list_detail {
    height: 40px;
    padding: 4px 8px;
    width: 100%;
    border-radius: 50rem;
    background: rgb(156,75,222);
    background: linear-gradient(90deg, rgba(156,75,222,1) 0%, rgba(115,39,182,0.5) 100%);
}

.Star_leaderBoard .list_detail {
    background: linear-gradient(90deg, rgba(170,92,41,.7) 0%, rgba(213,132,43,.4) 100%);
}

.list_number {
    background-image: url("/images/leaderBoard/number.png");
    background-size: cover;
    background-repeat: no-repeat;
    height: 14px;
    width: 14px;
    display: block;
}
.list_number.list_number1 {
    background-position: 0 0;
}
.list_number.list_number2 {
    background-position: 11% 0;
}
.list_number.list_number3 {
    background-position: 22% 0;
}
.list_number.list_number4 {
    background-position: 33% 0;
}
.list_number.list_number5 {
    background-position: 44% 0;
}
.list_number.list_number6 {
    background-position: 55% 0;
}
.list_number.list_number7 {
    background-position: 66% 0;
}
.list_number.list_number8 {
    background-position: 77% 0;
}
.list_number.list_number9 {
    background-position: 88% 0;
}
.list_number.list_number0 {
    background-position: 99% 0;
}

.list_decimal {
    margin-right: 17px;
}

.list_digits {
    margin-right: 20px;
    margin-left: 12px;
}
.list_notOnList {
    width: 64px;
    height: 20px;
    background-image: url("/images/leaderBoard/notOnList.svg");
}

.avatar_leaderBoard {
    height: 32px;
    width: 32px;
    border-radius: 50rem;
    border: 1px solid #B494AC;
    background-size: cover;
    background-position: center;
}

.Star_leaderBoard .avatar_leaderBoard {
    border: 1px solid #DFA267;
}

.list_members {
    height: 60px;
    width: 100%;
    background-color: #8D30B2;
    padding: 0 calc(1rem + 8px) 0 1rem;
}

.Star_leaderBoard .list_members {
    background-color: #98581C;
}

.list_members .list_number {
    height: 20px;
    width: 20px;
    margin-bottom: 3px;
}

.list_members .avatar_leaderBoard {
    width: 40px;
    height: 40px;
}

.wrap_btnRule {
    right: 10px;
    top: 10px;
}

.btn_leaderBoardRule {
    width: 20px;
    height: 20px;
    background-color: none;
    background-image: url("/images/info-circle.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.btn_leaderBoardRule:hover {
    background-image: url("/images/info-circle-fill.svg");
}

@media screen and (max-width: 991px) {
    .btn_betNow {
        width: 140px;
        border-radius: 50px;
        background: linear-gradient(0deg, rgba(42,104,218,1) 0%, rgba(127,172,254,1) 100%);
        border: 1px solid white;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .3)!important;
        white-space: nowrap;
    }

    .btn_betNow:hover {
        box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .4)!important;
        background: linear-gradient(0deg, rgba(127,172,254,1) 0%, rgba(42,104,218,1) 100%);
    }
}

@media screen and (max-width: 991px) and (min-width: 660px) {
    .list_top3 {
        min-width: 320px;
        margin-right: 1rem;
    }

    .info_leaderBoard {
        flex-direction: row;
        padding: 0px 1rem;
    }
}
