:root {
    --border: 1px solid #e5ecee;
}
.toLinktisper {
    /* display: none; */
    margin:0 5px;
}
.scoreboard {
    width: 100%;
}

.scoreboard .menu_tab .menu_tab_row {
    display: flex;
    align-items: center;
    position: relative;
}

.scoreboard .menu_tab .menu_tab_row::after {
    content: "";
    position: absolute;
    background: #DBDBDB;
    height: 1px;
    width: 100%;
    bottom: 0;
    z-index: 1;
}

.scoreboard .menu_tab .menu_tab_row .menu_col {
    width: auto;
    padding: 1rem 1.5rem;
    position: relative;
}

.scoreboard .tab_content .content_wrap {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.scoreboard .tab_content {
    width: 100%;
    border: 1px solid #e5ecee;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.scoreboard .tab_content:hover {
    background: #f4efff;
}

.scoreboard .content_wrap p {
    font-size: 14px;
    color: #707070;
    text-transform: uppercase;
    font-weight: bold;
}

.scoreboard .tab_content.active {
    border-color: var(--primaryColor);
    background: #fff;
}

.scoreboard .tab_content.active:first-child:after {
    content: "";
    position: absolute;
    background: #fff;
    height: 1px;
    width: 100%;
    left: 0;
    bottom: -1px;
    z-index: 99;
}

.scoreboard .tab_content.active::after {
    content: "";
    position: absolute;
    background: #fff;
    height: 1px;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 99;
}

.scoreboard .tab_content.active p {
    color:  var(--primaryColor);
}

.score_table_wrap {
    border: var(--border);
    border-top: none;
}

.score_table_wrap .score_wrap {
    display: none;
}

.score_table_wrap .score_wrap.show {
    display: block;
}

.menu_tab_row .content_wrap .icon_color,
.menu_tab_row .content_wrap .icon_style {
    max-width: 24px;
    margin-right: 0.5rem;
}

.scoreboard .header_top {
    display: flex;
    flex-direction: column;
    background: #FAFAFA;
}

.scoreboard .header_middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem;
    border-top: var(--border);
    border-bottom: var(--border);
}

.scoreboard .header_top_left,
.scoreboard .header_top_right,
.scoreboard .header_middle_left,
.scoreboard .header_middle_right {
    display: flex;
    align-items: center;
}

.scoreboard .header_top_right {
    justify-content: flex-end;
    border-bottom: var(--border);
    padding: 1.25rem;
}

.scoreboard .header_top_left {
    position: relative;
    justify-content: flex-end;
    padding: 1.25rem;
    order: 2;
    z-index: 10;
}

/* sort */
.header_top_left .button_wrap {
    margin-left: 1.5rem;
}

.header_top_left .button_wrap .btn.yellow {
    display: flex;
    align-items: center;
    border: 1px solid var(--primaryColor);
    background: #faf5ff;
    color: var(--primaryColor);
    border-radius: 12px;
    padding: 0.55rem 1.5rem;
}

/* slider */
.switch_slider {
    display: flex;
    align-items: center;
}

.score_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primaryColor);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.score_slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    right: 3px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.score_slider {
    background-color: #ccc;
}

input:checked+.score_slider:before {
    -webkit-transform: translateX(-14px);
    -ms-transform: translateX(-14px);
    transform: translateX(-14px);
}

.score_slider.round {
    border-radius: 34px;
}

.score_slider.round:before {
    border-radius: 50%;
}

.switch_slider p {
    margin-left: 0.5rem;
}

.refresh_btn .btn.refresh {
    background: transparent;
    padding: 0.65rem;
    margin-left: 1rem;
}

.refresh_btn .btn.refresh .fa-rotate-right {
    font-size: 20px;
    color: #acacac;
}

/* date picker */
.date_wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.date_picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.date_picker .fa-angle-left,
.date_picker .fa-angle-right {
    color: #a9a9a9;
    font-size: 14px;
}

.date_info {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin: 0 1.5rem;
}

.date_info:hover {
    background: #f4efff;
}

.date_info p {
    font-size: 15px;
    color: #707070;
    font-weight: bold;
}

.date_dropdown {
    position: absolute;
    top: 43px;
    left: 50%;
    transform: translateX(-48%);
    width: 200px;
    z-index: 10;
    display: none;
}

.date_dropdown.show {
    display: block;
}

.dropdown_wrap {
    text-align: center;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .25);
    border-radius: 6px;
    padding: 0.85rem 0.65rem;
    background: #fff;
}

.dropdown_wrap .drop_item {
    padding: 0.55rem;
}

.dropdown_wrap .drop_item.active {
    background: var(--primaryColor);
}

.dropdown_wrap .drop_item.active p {
    color: #fff;
    font-weight: bold;
}

.dropdown_wrap .drop_item p {
    text-transform: uppercase;
}

/* header middle */
.scoreboard .header_middle {
    border-bottom: none;
}

.header_middle_left .btn {
    margin-right: 0.65rem;
    cursor: pointer;
    padding: 0.55rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #DBDBDB;
}

.header_middle_left .btn.active {
    background: var(--primaryColor);
}

.header_middle_left .btn span {
    font-size: 12px;
    font-weight: bold;
    color: #666666;
    padding: 4px;
    margin-left: 0.65rem;
    background: #F2EEFF;
    border-radius: 5px;
}

.header_middle_left .btn.active p {
    color: #fff;
}

.header_middle_left .btn.active span {
    color: #fff;
    background: #FF8D3A;
}

.header_middle .header_middle_right .comment_select {
    padding: 0.55rem 0.65rem;
    border-color: #ccc;
    border-radius: 5px;
    color: #858585;
}

/* table */
.scoreboard_table {
    width: 100%;
    border-top: var(--border);
    border-collapse: collapse;
}

.score_table_wrap .d_flex {
    display: flex;
    align-items: center;
}

.score_table_wrap .team_name {
    text-align: end;
}

.score_table_wrap .team_name.two .team_name {
    text-align: start;
}

.scoreboard_table .ball_game,
.scoreboard_table .sport_team {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scoreboard_table .sport_team {
    flex-wrap: wrap;
}

.scoreboard_table .contest_time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.scoreboard_table .sport_team .first_team {
    width: 100%;
}

.scoreboard_table > table.index_block_table {
    width: 100%;
    border-spacing: 0;
}

.scoreboard_table .ball_game {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.scoreboard_table tbody tr:last-child {
    border-bottom: none;
}

.scoreboard_table tbody td {
    padding: 1.5rem 0.65rem;
    border-bottom: var(--border);
}

.scoreboard_table tbody tr > td:first-child {
    display: none;
}

.scoreboard_table tbody tr.league > td:first-child {
    display: table-cell;
}

.scoreboard_table tbody td:last-child {
    width: 100%;
}

.ball_game img {
    max-width: 22px;
}

.ball_game p {
    font-size: 12px;
    margin: 0 0.65rem;
    font-weight: bold;
}

.ball_game img.gray {
    filter: grayscale(100%);
    opacity: .8;
}

.sport_team .team_name img {
    margin-left: 0.65rem;
    max-width: 25px;
}

.sport_team .team_name.two img {
    margin-left: 0;
    margin-right: 0.65rem;
    max-width: 25px;
}

.sport_team .score_block {
    width: 50px;
    border: var(--border);
    border-radius: 5px;
    background: #f6f5fa;
    padding: 0.35rem 0.65rem;
    margin-left: 1.5rem;
    text-align: center;
}

.sport_team .score_block.winner {
    color: red;
}

.sport_team .team_name.two .score_block {
    margin-right: 1.5rem;
    margin-left: 0;
}

.sport_team .score_block p {
    font-size: 16px;
    font-weight: bold;
}

.sport_team .play_team,
.sport_team .team_name.two {
    flex: 1;
}

.sport_team .play_team {
    justify-content: flex-end;
}

.sport_team .process {
    flex: 0 0 150px;
    font-size: 14px;
    padding: 0.65rem;
    border-radius: 5px;
    text-align: center;
    margin: 0 0.85rem;
    color: #828282;
    background: #f3f3f3;
}

.sport_team .process.active {
    color: #fff;
    background: var(--primaryColor);
}

.scoreboard_table .contest_time {
    font-size: 12px;
    color: #6f6f6f;
}

.scoreboard_table .contest_time .fa-clock {
    color: #939393;
    margin-right: 0.35rem;
}

.scoreboard_table>tbody>tr:hover {
    cursor: pointer;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(238, 211, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
}


/* flash score league */
.league_container {
    margin-bottom: 1.5rem;
}

.league_container .toggle_div {
    background: var(--primaryColor);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.league_container .toggle_div img {
    max-width: 18px;
    filter: brightness(0) invert(100%);
}

.league_container .toggle_div p {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    margin-left: 0.65rem;
}

.league_container .left_wrap {
    display: flex;
    align-items: center;
}

.league_container .right_wrap .fa-angle-down {
    font-size: 16px;
    color: #fff;
}

.league_container .right_wrap {
    transition: transform .5s ease-in-out;
}

.league_container .right_wrap .fa-angle-down.rotate {
    transform: rotate(180deg);
}

/* score league table */
.scoreboard_wrap {
    overflow-x: auto;
    width: 100%;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
}

.scoreboard_wrap table {
    width: max-content;
    border-collapse: collapse;
    position: relative;
    width: 100%;
}

.score_league_table th,
.score_league_table td {
    border: 1px solid #e9e9e9;
    padding: 10px 15px;
    text-align: center;
}

.score_league_table td.trigger {
    cursor: pointer;
}

.score_league_table th {
    background-color: #f2f2f4;
}

.score_league_table td {
    background-color: #fff;
}

.score_league_table th:first-child,
.score_league_table td:first-child {
    position: sticky;
    left: 0;
    border-left: none;
    cursor: pointer;
}

.score_league_table th:last-child,
.score_league_table td:last-child {
    border-right: none;
}

/* baseball */
.score_league_table .competition_format,
.score_league_table tbody .tbody_td_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score_league_table th:first-child,
.score_league_table td:first-child {
    width: 23vw;
}

.score_league_table .left_wrap .alliance_name {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
}

.score_league_table .left_wrap .alliance_name p {
    font-size: 16px;
    color: var(--primaryColor);
    font-weight: bold;
    margin-left: 0.65rem;
}

.score_league_table .left_wrap .alliance_name img {
    max-width: 55px;
}

.score_league_table .left_wrap .time_block,
.score_league_table .right_wrap .time_block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px solid #b3b3b3;
    padding: 0.45rem 1rem;
    border-radius: 5px;
}

.score_league_table .right_wrap .time_block {
    margin-left: 0.65rem;
}

.score_league_table .left_wrap .fa-clock,
.score_league_table .right_wrap .fa-clock {
    font-size: 14px;
    color: #929292;
    margin-right: 0.65rem;
}

.score_league_table .left_wrap p,
.score_league_table .right_wrap p {
    font-size: 14px;
    color: #828282
}

.score_league_table .right_wrap .btn.yellow {
    background: #fec214;
}

.score_league_table .right_wrap .btn.yellow p {
    color: #fff;
    letter-spacing: 1px;
}

.score_league_table > tbody .tbody_td_flex .left_wrap img {
    max-width: 30px;
    margin-right: 0.65rem;
}

.score_league_table > tbody .tbody_td_flex .left_wrap p {
    color: #676767;
}

.score_league_table > tbody .tbody_td_flex .right_wrap {
    background: #f7f7f9;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    padding: 0.25rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score_league_table > tbody .tbody_td_flex .right_wrap p {
    font-size: 16px;
    font-weight: bold;
    color: #3c3c3c;
    line-height: 24px;
}

.league_container .score_league_table.basketball .right_wrap {
    display: flex;
    align-items: center;
}

.score_league_table.basketball th, .score_league_table.basketball td {
    padding: 10px 15px;
}

.score_league_table.basketball .tbody_td_flex .team_name {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.score_league_table.basketball .victory_wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.score_league_table.basketball .victory_wrap .victory {
    display: flex;
    align-items: center;
}

.score_league_table.basketball .victory_wrap p {
    font-size: 16px;
    color: #828282;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.score_league_table.basketball .victory_wrap .victory .block {
    padding: 0.25rem 0.35rem;
    border: 1px solid #b2b2b2;
    border-radius: 3px;
    margin-right: 0.35rem;
}

.score_league_table.basketball .victory_wrap .victory .block:last-child {
    margin-right: 0;
}

.score_league_table.basketball .victory_wrap .victory .block p {
    font-size: 10px;
    margin-bottom: 0;
    font-weight: 500;
}

.score_league_table.basketball .victory_wrap .victory .block.yellow {
    background: #fbb019;
    border-color: #fbb019;
}

.score_league_table.basketball .victory_wrap .victory .block.red {
    background: #de3435;
    border-color: #de3435;
}

.score_league_table.basketball .victory_wrap .victory .block.yellow p,
.score_league_table.basketball .victory_wrap .victory .block.red p {
    color: #fff;
}

.score_league_table.basketball .left_wrap .icon_wrap {
    width: 30px;
    display: flex;
    justify-content: center;
}

.score_league_table.basketball .left_wrap .icon_wrap img {
    max-width: 13px;
    margin-right: 0;
}

.score_league_table.basketball .left_wrap p.single_text {
    margin-left: 0.65rem;
}

.score_league_table.basketball tr:last-child td {
    border-left: none;
    border-right: none;
}

.soccer_game_wrap {
    border-bottom: 2px solid #9b9b9b;
}

.scoreboard_league .game_format {
    justify-content: center;
    padding: 1rem;
    background: #f2f2f4;
}

.scoreboard_league.soccer .game_format img {
    max-width: 46px;
}

.scoreboard_league.soccer .game_information {
    padding: 1.5rem 1.65rem;
}

.scoreboard_league.soccer .game_information .top_info {
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: var(--border);
}

.scoreboard_league.soccer p {
    margin: 0 1rem;
}

.scoreboard_league.soccer .game_format p {
    font-size: 14px;
    color: var(--primaryColor);
    font-weight: bold;
}

.scoreboard_league.soccer .score {
    flex: 0 0 150px;
    padding: 0.35rem 0.5rem;
    justify-content: space-between;
    margin: 0 1rem;
}

.scoreboard_league.soccer .ratio {
    padding: 0.35rem 0.5rem;
    width: 55px;
    background: #f7f6fb;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    text-align: center;
}

.scoreboard_league.soccer .ratio p {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.scoreboard_league.soccer .ratio p.purple {
    color: var(--primaryColor);
}

.top_info .team {
    flex: 1;
}

.top_info .team p {
    color: #797979;
    font-size: 14px;
    font-weight: bold;
}

.top_info .team_one {
    margin-left: auto;
    justify-content: flex-end;
}

.top_info .team_two {
    margin-right: auto;
}

.game_information .content_info {
    justify-content: center;
    margin-top: 1.65rem;
}

.game_information .content_info .round {
    padding: 0.65rem 1.5rem;
    text-align: start;
    position: relative;
    cursor: pointer;
}

.game_information .content_info .round::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 22px;
    background-color: #ebebeb;
}

.game_information .content_info .round:last-child::after {
    background-color: transparent;
}

.content_info .round_wrap p {
    font-size: 15px;
    color: #8c8c8c;
    margin: 0;
    font-weight: bold;
}

.content_info .round_wrap p.purple {
    color: var(--primaryColor);
}

.content_info .round_wrap p > span {
    color: var(--primaryColor);
}

.content_info .round_wrap p.title {
    font-size: 13px;
    color: #acacac;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.content_info .round_wrap .state {
    padding: 0.45rem 0.5rem;
    border-radius: 5px;
    text-align: center;
}

.content_info .round_wrap .state p {
    font-size: 13px;
    color: #fff;
}

.content_info .round_wrap .state.yellow {
    background: #fec214;
    color: #fff;
}

.content_info .round_wrap .state.purple {
    background: var(--primaryColor);
    color: #fff;
}

.scoreboard_table .sport_team .rwd_time > p,
.scoreboard_table .sport_team .rwd_time > i,
.scoreboard_table .sport_team .rwd_time > svg {
    display: none;
}

.scoreboard_table .sport_team .rwd_time > img {
    cursor: pointer;
}

/* new layout */
.scoreboard_table .league td>.league_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scoreboard_table .league .left_wrap {
    display: flex;
    align-items: center;
}

.league .left_wrap img {
    max-width: 25px;
    margin-right: 1rem;
}

.scoreboard_table tbody tr.league {
    background: #F3E8FF;
}

.scoreboard_table tbody tr.league > td {
    width: 100%;
    padding: 1.25rem;
}

.header_top_left .button_wrap > .btn > p {
    font-weight: bold;
}

.scoreboard_table .index_block_table .league_wrap .left_wrap > p,
.scoreboard_league .leagueTitle .left_wrap > p {
    font-weight: bold;
}

/* no game */
.scoreboard_table tbody tr.no_data_tr > td:first-child {
    display: table-cell;
}

.scoreboard_table > .index_block_table td > .no_game_wrap,
.scoreboard_league > .scoreboard_wrap > .score_league_table .no_game_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 30vh;
}

.scoreboard_table > .index_block_table td > .no_game_wrap > img,
.scoreboard_league > .scoreboard_wrap > .score_league_table .no_game_wrap > img {
    width: 40px;
    margin-bottom: 1rem;
}

.scoreboard_table > .index_block_table td > .no_game_wrap > p,
.scoreboard_league > .scoreboard_wrap > .score_league_table .no_game_wrap > p {
    color: #AFAFAF;
    font-size: 16px;
    font-weight: bold;
}

.scoreboard_table .index_block_table > tbody > tr.no_data_tr:hover {
    cursor: auto;
    background: transparent;
}
.mblinkBlock{
    display: none;
}
.fa-angle-down.rotate {
    transform: rotate(180deg);
}

/* RWD */
@media only screen and (max-width: 991px) {
    .scoreboard_table .sport_team .rwd_time > img {
        cursor: pointer;
        display: none;
    }
    .mblinkBlock{
        display: flex;
        justify-content: end;
        align-items: center;
    }
    .mblinkBlock > p{
        color: #A852FA;
        padding: 0.35rem 0.6rem;
        font-weight: bold;
        background: #F3E8FF;
        border-radius: 5px;
        cursor: pointer;
        font-size: 8px;
    }
    #auto_flash {
        display: none;
    }
    .scoreboard_table .sport_team .rwd_time > i,
    .scoreboard_table .sport_team .rwd_time > p,
    .scoreboard_table .sport_team .rwd_time > svg {
        display: inline-block;
        margin-right: 2px;
    }

    .scoreboard_table .sport_team .rwd_time {
        display: block;
        font-size: 12px;
    }    

    .scoreboard_table {
        border-top: none;
    }

    .scoreboard_table tbody tr {
        margin-bottom: 2rem;
    }

    .scoreboard_table tbody td {
        border: var(--border);
        padding: 0.65rem 0.65rem 1.5rem 0.65rem;
    }

    .scoreboard_table .sport_team .first_team {
        justify-content: flex-start;
        position: relative;
        width: 100%;
        order: 2;
        height: 65px;
    }
    .scoreboard_table .sport_team .first_team.secondPlayer{
        height: 95px;
    }

    .scoreboard_table .sport_team .rwd_time {
        display: flex;
        text-align: center;
        order: 1;
        align-items: center;
        justify-content: center;
    }

    .scoreboard_table .sport_team .rwd_time > p {
        margin-left: 0.55rem;
    }

    .scoreboard_table .sport_team .process {
        width: 125px;
        position: absolute;
        border: var(--border);
        border-radius: 5px;
        background: #f6f5fa;
        margin: 0;
        left: 50%;
        bottom: -3px;
        transform: translateX(-50%);
        font-size: 14px;
        padding: 0.35rem;
    }

    .sport_team .process.active {
        font-weight: bold;
        color: #fff;
        background: #A092D3;
    }

    .sport_team .play_team {
        width: 100%;
        height: 100%;
        justify-content: flex-start;
        padding-right: 0.5rem;
    }

    .scoreboard_table .sport_team .team_name {
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .scoreboard_table .sport_team .team_name.two {
        flex-direction: row;
        padding-left: 0.5rem;
    }

    .scoreboard_table .sport_team .team_name.two .team_name {
        flex-direction: column;
        order: 1;
    }

    .scoreboard_table .sport_team .team_name.two .score_block {
        margin-right: 1.5rem;
        margin-bottom: 2rem;
    }

    .scoreboard_table .play_team > .team_name img {
        margin-bottom: 0.65rem;
        margin-left: 0;
        order: 1;
    }

    .sport_team .team_name.two img {
        margin-bottom: 0.65rem;
        margin-right: 0;
    }

    .scoreboard_table .play_team > .team_name p {
        text-align: left;
        order: 2;
    }

    .sport_team .score_block {
        width: 80px;
        padding: 0.3rem 0.5rem;
        margin-bottom: 2rem;
    }

    .sport_team .score_block p {
        font-size: 14px;
    }

    .header_middle .header_middle_right .comment_select {
        display: none;
    }

    .refresh_btn .btn.refresh {
        display: flex;
        height: auto;
    }

    .scoreboard_table>tbody>tr:hover {
        background: transparent;
    }

    .header_middle_left .btn p,
    .header_top_left .button_wrap .btn.yellow p,
    .header_middle_left .btn span {
        font-size: 13px;
    }

    .header_middle_left .btn {
        height: auto;
        line-height: 28px;
    }
}

@media only screen and (max-width: 768px) {
    .sport_team .team_name img,
    .sport_team .team_name.two img {
        max-width: 40px;
    }

    .rwd_time > p {
        font-size: 11px;
    }

    .menu_tab_row .content_wrap .icon_color {
        max-width: 18px;
    }

    .scoreboard .menu_tab .menu_tab_row {
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 501px) {
    .scoreboard .tab_content.active:first-child:after {
        bottom: 0;
    }

    .sport_team .score_block {
        width: 90px;
    }
}

@media only screen and (max-width: 450px) {
    .scoreboard .header_top {
        flex-direction: column;
    }

    .scoreboard .header_top_left {
        width: 100%;
        justify-content: flex-end;
    }

    .score_table_wrap .header_top .date_wrap {
        width: 50%;
    }

    .date_wrap .date_picker {
        width: 100%;
    }

    .scoreboard .menu_tab .menu_tab_row .menu_col {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }

    .scoreboard .tab_content .content_wrap {
        justify-content: center;
    }
    .date_info {
        width: 85%;
        margin: 0 auto;
        justify-content: center;
    }

    .scoreboard > .scoreboard {
        padding-top: 0;
    }

    .scoreboard > .menu_tab {
        margin-top: 1.5rem;
    }

    .scoreboard .header_middle {
        padding: 1.5rem 1rem;
    }

    .header_middle_left .btn {
        padding: 0.45rem 0.85rem;
    }

    .header_middle_left .btn p {
        font-size: 12px;
    }

    .header_middle_left .btn span {
        font-size: 11px;
    }
}

@media only screen and (max-width: 380px) {
    .score_table_wrap .header_top .date_wrap {
        width: 45%;
    }

    .header_middle_left .btn p,
    .header_top_left .button_wrap .btn.yellow p,
    .header_middle_left .btn span {
        font-size: 12px;
    }

    .date_dropdown {
        transform: translateX(-50%);
    }

    .scoreboard .header_middle {
        padding: 1rem 0.65rem;
    }

    .sport_team .score_block {
        width: 100px;
    }
}

@media only screen and (max-width: 350px) {
    .date_dropdown {
        transform: translateX(-40%);
    }

    .header_middle_left .btn {
        padding: 0.35rem 0.65rem;
    }

    .header_middle_left .btn p {
        font-size: 11px;
    }

    .header_middle_left .btn span {
        font-size: 10px;
    }
}

