/* START: supporting css */
 .flex-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.table {
    margin-bottom: 0;
}
/* END: supporting css */

/* START: team live */
.team-live {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.14fr;
  background: url(./images/detail-page/90p-match-header.svg) no-repeat bottom / cover;
  margin-bottom: 20px;
  min-height: 120px;
  align-items: center;
  border-radius: 12px;
  padding: 0 6px;
  gap: 6px;
  border: 1px solid #182C37;
}
.team-incident-content {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.team-incident .incident-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #243F50, #1B2E3C);
    outline: 0;
    border: none;
    border-radius: 30px;
    width: 77px;
    height: 23px;
    color: white;
    position: relative;
}

.teambox {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.teambox .grid-match__time {
    left: 0;
    top: -22px;
    transform: none;
    width: 100%;
    text-align: center;
    color: #00FF4B;
    /* font-family: Roboto; */
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}
.grid-match__time {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}
.teambox .grid-match__first {
    width: 100%;
    text-align: center;
    color: #fff;
    /* font-family: Roboto; */
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
    text-transform: uppercase;
    bottom: -25px;
}
.grid-match__first {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
}
.t_first .first-leg {
    color: #00FF4B;
}
.teambox__team-home {
    justify-content: flex-end;
}
.teambox__team-home .teambox__team-name {
    text-align: right;
}
.teambox__team-name {
    color: #FFF;
    /* font-family: Raleway; */
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}
.teambox__team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.team {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.teambox__center {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 2px;
}
.teambox__day {
    background: #0F2027;
    border: 1px solid #035325;
    color: #FFF;
    text-align: center;
    /* font-family: 'Roboto'; */
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    width: inherit;
    height: inherit;
    display: flex;
    padding: 5px 7px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    position: relative;
    gap: 7px;
}
.t_vs_num span.winner {
    background: linear-gradient(0deg, #1F3644 0%, #00411D 76.25%);
    border-radius: 100px;
    text-align: center;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.t_vs_num span.winner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100px;
    padding: 1px;
    background: #01D35C;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
.teambox__day span {
    color: #FFF;
    text-align: center;
    /* font-family: Roboto; */
    font-size: 19px;        
    font-style: normal;
    font-weight: 600;
    line-height: 22.5px;
    flex: 1;
    padding: 0 7px;
}

/* START: team live */


/* team-vote */
.team-vote h5 {
    color: #FFF;
    text-align: center;
    /* font-family: "Roboto Condensed"; */
    font-size: 13px;
    font-style: normal;
    font-weight: bold;
    line-height: 18px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
#carousel-vote .vote-btn.active {
    position: relative;
    z-index: 1;
    background: #1F3645;
    border: 1px solid #405C6E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}

#carousel-vote .vote-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px; 
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    z-index: -1;
}

#carousel-vote #vote-btn-4.active {
    background: transparent
}

#carousel-vote #vote-btn-1.active::before,
#carousel-vote #vote-btn-2.active::before,
#carousel-vote #vote-btn-3.active::before,
#carousel-vote #vote-btn-4.active::before,
#carousel-vote #vote-btn-5.active::before,
#carousel-vote #vote-btn-6.active::before {
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

#carousel-vote #vote-btn-1.active ,
#carousel-vote #vote-btn-2.active ,
#carousel-vote #vote-btn-3.active ,
#carousel-vote #vote-btn-4.active ,
#carousel-vote #vote-btn-5.active,
#carousel-vote #vote-btn-6.active {
    background: #1F3645;
}

#carousel-vote {
    padding-bottom: 10px;
}
#carousel-vote .vote-item {
    display: flex;
    justify-content: center;
    gap: 10px;
}
#carousel-vote .vote-btn {
    position: relative;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    outline: 0;
    height: 28px;
    width: 98px;
}
#carousel-vote #vote-btn-4 {
    /* background: linear-gradient(360deg, rgba(26, 93, 33, 1), rgba(34, 42, 73, .2)); */
    background: #292B2E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(180deg, #1CAA17 0%, #005A19 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
#vote {
    background: #1F3645;
    border: 1px solid #405C6E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-5 {
    background: #292B2E;
    /* border: 1px solid #405C6E; */
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(0deg, #4254f341, #4253F3);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
#carousel-vote #vote-btn-6 {
    background: #292B2E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(180deg, #AA5517 0%, #8B1D05 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.carousel {
    position: relative;
}
#carousel-vote .carousel-indicators {
    margin: 0;
    bottom: -20px;
}
.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}
#carousel-vote .carousel-indicators li {
    background-color: #D9D9D9;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.carousel-indicators li {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    -webkit-transition: opacity 0.6s ease;
    -o-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}
.carousel-indicators .active {
    opacity: 1;
}
#carousel-vote .carousel-indicators li.active {
    background-color: #026C4F;
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
#carousel-vote .carousel-control-prev, #carousel-vote .carousel-control-next {
    background: transparent;
    height: 28px;
    width: 28px;
    outline: 0;
    border: none;
}
#carousel-vote .left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
#carousel-vote .arrow {
    border: solid #ffffff3b;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}
#carousel-vote .carousel-control-next .arrow {
    border-color: #02AE4A;
}
#carousel-vote .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.carousel-control-next {
    right: 0;
}
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 30px;
    bottom: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    -webkit-transition: opacity 0.15s ease;
    -o-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}
.team-live.tl_incident,
.team-live.tl_vote {
    display: none;
}
@media (max-width: 1199px) {
    .team-live.tl_incident {
        display: block;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 15px;

        .team-incident-content {
            gap: 30px;
        }
    }
    .tl_incident-none,
    .tl_live-none {
        display: none;
    }
    .team-live {
        grid-template-columns: 1fr;
    }
    .team-live.tl_vote {
        display: block;
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 20px;
    }
}
@media (max-width:480px)  { 
    .teambox__team {
        flex-direction: column;
        text-align: center; 
        justify-content: center;
    }
    .teambox {
        gap: 5px;
        grid-template-columns: 1fr 80px 1fr;
    }
    .teambox__team.teambox__team-home.team.team--home {
        flex-direction: column-reverse;
    }
    .teambox .grid-match__time {
        top: -5px !important;
    }
    .teambox .grid-match__first {
        bottom: -5px;
    }
    #carousel-vote .vote-btn {
        font-size: 11px;
        width: 75px;
    }
    .teambox__team-home .teambox__team-name {
        text-align: center;
    }
    .teambox__team-name {
        font-size: 12px;
        width: 80px;
        overflow: hidden;
        text-wrap: nowrap;
        text-overflow: ellipsis;
        text-align: center;
    }
}
@media (max-width:396px)  { 
    .teambox .grid-match__time {
        top: -5px;
    }
    .teambox .grid-match__first {
        bottom: -5px;
    }
     .teambox__team-name {
        font-size: 11px;
        width: 60px;
    }
}
/* END: team live */


/* START: team-odds */
.teambox__odds-container {
    z-index: 1;
}
.teambox__odds-container {
    position: relative;
    z-index: 10;
}
.teambox__odds-container {
    overflow: visible;
}
.teambox__header {
    background: rgba(9, 24, 62, 0.6);
    /* border: none; */
    position: relative;
    /* border-radius: 7px; */
    /* overflow: hidden; */
}
.teambox__odds {
    background: #13262D;
    /* border-radius: 6px; */
    position: relative;
}
.teambox__header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    /* width: 1px; */
    background: linear-gradient(to bottom, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0;
}
.teambox__header.teambox__odds .table {
    border-right: none;
}
.teambox__odds .company-odds {
    flex-direction: column;
    padding: 10px 20px;
    flex: none;
    width: 225px;
}
.teambox__header.teambox__odds .box {
    justify-content: flex-start;
    padding-inline: 25px;
    font-family: 'Poppins', Geneva, Verdana, sans-serif;
    font-weight: normal;
}
.teambox__odds .box:last-child {
    border-bottom: 0px;
}
.teambox__odds .box {
    min-height: 42px;
    color: #FFF;
    text-align: center;
    /* font-family: 'Raleway'; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    justify-content: center;
    display: flex;
    border-bottom: 1px solid #3D434D;
    margin: 0px;
    position: relative;
    border-bottom: 0;
}
.oddType {
    max-width: 115px;
}
.oddContent {
    cursor: pointer;
    position: relative;
}
.oddContent>span {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.oddContent .oddList {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
}
.oddContent .oddList li {
    width: 115px;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px 10px;
}
.oddList li {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    list-style: none;
}
.teambox__header.teambox__odds .table {
    border-right: none;
}
.teambox__header .header {
    padding: 12px 10px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Poppins';
}
.teambox__header .header span {
    background-color: #0F2027;
    border-radius: 30px;
    padding: 5px 15px;
    letter-spacing: 1px;
    border: 1px solid #00461D;
}
.teambox__header .bottom-gradient {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    /* background: linear-gradient(to right, rgba(4, 40, 57, 0.75) 0%, rgba(7, 136, 196, 0.75) 47%, rgba(4, 40, 57, 0.75) 100%); */
    background: #060A22;
    z-index: 1;
}
.table.flex-1.eu, .teambox__odds .company {
    position: relative;
}
.teambox__odds .company {
    flex-direction: column;
    padding: 10px 20px;
    flex: none;
    width: 160px;
}
/* .teambox__odds .company::before */
.table.flex-1.eu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #060A22;
    z-index: 1;
    border-radius: 0;
}
.teambox__odds .state {
    width: 80px;
    flex: none;
}
.table.flex-1.state .box:nth-child(1) {
    border-left: 1px solid #060A22;
    border-bottom: 1px solid #060A22;
}
.table.flex-1.state .box:nth-child(2) {
    border-left: 1px solid #060A22;
    border-bottom: 1px solid #060A22;
}
.table.flex-1.state .box:nth-child(3) {
    border-left: 1px solid #060A22;
}
.teambox__odds .box {
    position: relative;
    border-bottom: 0;
}
.teambox__odds .state span {
    color: #FFF;
    text-align: center;
    /* font-family: 'Raleway'; */
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    text-transform: uppercase;
}
.teambox__odds .box .col {
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: center;
    display: flex;
    /* font-family: 'Oswald'; */
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.875rem;
}
.row.m-0.flex-1.showOdds {
    position: relative;
}
.row.m-0.flex-1.showOdds::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 41px;
    height: 1px;
    background: #060A22;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}
.row.m-0.flex-1.showOdds::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    height: 1px;
    background: #060A22;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}
.cur_span {
    width: 40px;
    padding: 5px 0;
    background: linear-gradient(#243F50 , #1B2E3C);
    position: relative;
    border-radius: 30px;
}

/* Mobile Container Odds */
.mobile-odds-container {
    background-color: #000000;
    color: #fff;
    padding: 10px;
    display: block;
}
.category-header span.ch_title {
    color: #01B243;
}

.bookmaker-selector select {
    width: 100%;
    padding: 10px;
    background-color: #0a3252;
    color: white;
    border: none;
    margin-bottom: 10px;
}

.odds-category {
    margin-bottom: 10px;
    border: 1px solid #000000;
    /* border-radius: 5px; */
    overflow: hidden;
}

.category-header {
    background-color: #252424;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.toggle-icon {
    transition: transform 0.3s ease;
}
span.toggle-icon {
    position: absolute;
    right: 10px;
}

.sub-header {
    display: flex;
    background-color: #171717;
    /* border: 1px solid rgba(38, 45, 63, 1); */
}

.sub-header-item {
    flex: 1;
    text-align: center;
    padding: 5px;
    font-size: 0.9em;
    color: rgba(169, 169, 169, 1);
    font-size: 11px;
    font-weight: 500;
    line-height: 16.5px;
    /* border: 1px solid rgba(38, 45, 63, 1); */
    border-bottom: 0;
}
.sub-header-item:nth-child(1) {
    border-right: 1px solid #000000;
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.odds-value:nth-child(-n+6) {
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
}
.odds-value:nth-child(4) {
    border-left: 1px solid #000000;
}


.odds-value {
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
    font-weight: 500;
    /* border: 1px solid #000000; */
    background: #393939;
    font-family: 'Poppins';
}

.odds-value:nth-child(3n) {
    border-right: none;
}

.odds-value:nth-last-child(-n+6) {
    border-bottom: none;
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.bookmaker-selector-container {
    display: flex;
    align-items: center;
}
.bookmaker-selector-container {
    display: flex;
    align-items: center;
    background: #171717;
    padding: 7px;
    /* border: 1px solid rgba(11, 31, 86, 0.75); */
    margin-bottom: 5px;
}

.bookmaker-label {
    margin-right: 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-style: 'Roboto';
}

.bookmaker-dropdown {
    position: relative;
}

.selected-bookmaker {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.bookmaker-logo {
    width: 70px; 
    height: auto;
    margin-right: 5px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.bookmaker-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    z-index: 1000;
}

.bookmaker-list.hidden {
    display: none;
}

.bookmaker-list li {
    cursor: pointer;
    padding: 5px;
    list-style: none;

    img {
        width: 70px;
        height: auto;
    }
}
.mobile-odds-container {
    display: none;
}

.bookmaker-list li:hover {
    background-color: #003956;
}

@media (max-width: 1199px) {
    .teambox__odds-container {
        display: none;
    }
    .mobile-odds-container {
        display: block;
    }
}
/* TÀI */
#carousel-vote #vote-btn-1 {
    background: #292B2E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(180deg, #1CAA17 0%, #005A19 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
#carousel-vote #vote-btn-1.active {
    background: transparent
}
/* XỈU */
#carousel-vote #vote-btn-3 {
    background: #292B2E;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
#carousel-vote #vote-btn-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(180deg, #AA5517 0%, #8B1D05 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
#carousel-vote #vote-btn-3.active {
    background: transparent
}
.company-unset.company:before , .company-unset.company:after {
    content: none !important;
}
.company-unset-before.company:before{
    content: none !important;
}
@media only screen and (max-width : 768px) {
	.teambox .grid-match__time {
		top: 5px;
	}
}