/* START: team live */
.team-live {
  display: grid;
  grid-template-columns: 260px 1.6fr 1.14fr;
  background: transparent;
  margin-bottom: 20px;
  min-height: 120px;
  align-items: center;
  border-radius: 12px;
  padding: 0 6px;
  gap: 24px;
  background-color: #222328;
}

.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 Condensed'; */
    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 Condensed'; */
    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;
    width: 150px;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.teambox__team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    z-index: 1;
}

.teambox__team .team-logo-group img {
	width: 49px;
	height: 49px;
	object-fit: contain;
}

.teambox__team .team-logo-group-2 img {
	width: 44px;
	height: 44px;
}

.teambox__team .team-logo-group-2 .team-logo-1 {
	margin-left: -16px;
}

.teambox_agg {
	color: #FFF;
	font-family: "Roboto Condensed";
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
	position: absolute;
	bottom: -22px;
	left: 0;
	width: 100%;
	text-align: center;
}

.teambox_agg span {
	color: #00EB1F;
	font-weight: 500;
}
.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 {
    color: #FFF;
    text-align: center;
    /* font-family: 'Roboto'; */
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    min-width: 100px;
    height: inherit;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    max-width: 120px;
    height: 42px;
    border-radius: 6px;
    position: relative;
    gap: 0px;
}

.teambox__day span {
    color: #FFF;
    text-align: center;
    /* font-family: 'Roboto Condensed'; */
    font-size: 26px;        
    font-style: normal;
    font-weight: 600;
    line-height: 31px;
    flex: 1;
}
/* START: team live */
/* Start: t-incident Football */
.team-live .t-incident-column {
	z-index: 1;
}
.t-incident .t-incident-content {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.t-incident .incident-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: url(/wp-content/themes/bongda/dist/images/detail-page/bg-value.svg) no-repeat center;
    outline: 0;
    border: none;
    border-radius: 20px;
    width: 77px;
    height: 27px;
    color: white;
    border-radius: 6px;
    position: relative;
}
/* End: t-incident Football */

.highlight__goal-scoring {
    display: inline-flex;
    padding: 5px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 24px;
    border: 1px solid #1F2E26;
    background: #061628;
    font-size: 13px;
    font-style: normal;
    text-transform: uppercase;
    color: #FFF;
}
.highlight__goal-scoring .halfCourt{
    color: #FFB400;
}
.single-highlight .team-vote {
    justify-content: center;
    align-items: center;
    display: flex;
}
button.incident-btn {
    margin-bottom: 0;
}
/* Mobile respon */
@media (max-width: 1199px) {
    .teambox__team-home .teambox__team-name {
        text-align: center !important;
    }
    .team-live {
        grid-template-columns: 1fr;
        height: auto;
        padding: 0;
        background: none !important;
        gap: 20px;
        display: block;
    }
    .team-live > div {
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .team-live {
        gap: 10px;
    }
}
@media (max-width: 1199px) {
    .team-live .t-incident-column, .team-live .teambox, .team-live .team-vote {
        padding: 12px 5px;
        position: relative;
        border-radius: 7px;
        border: 1px solid #1F2721;
        background: #111913;
        box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.32) inset;
        backdrop-filter: blur(10px);
    }
    .teambox .grid-match__time {
        top: 10px;
    }
}
@media (max-width: 768px) {
    @media (max-width: 1199px) {
        .team-live .teambox {
            /* background-image: url(/wp-content/themes/bongda/public/images/detail-page/gmd-match-header-mb.svg) !important; */
        }
    }
}
@media (max-width: 768px) {
    .team-live .teambox {
        gap: 12px;
    }
}

@media (max-width: 1199px) {
    .team-live .teambox {
        min-height: 125px;
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .teambox__team.teambox__team-home.team.team--home {
        flex-direction: column-reverse;
    }
}
@media (max-width: 480px) {
    .teambox__team {
        flex-direction: column;
        text-align: center;
        width: 80px;
    }
}
@media (max-width: 480px) {
    .teambox__team-name {
        font-size: 12px;
        width: 80px;
        overflow: hidden;
        text-wrap: nowrap;
        text-overflow: ellipsis;
        text-align: center;
    }
}
/* Custom for site */
.team-live {
    position: relative;
    margin-bottom: 20px;
    align-items: center;
    border-radius: 10px;
    background: url(/wp-content/themes/bongda/dist/images/detail-page/gmd-match-header.svg) no-repeat bottom / cover;
}
@media (max-width: 1199px) {
    .team-live .teambox {
        background-image: url(/wp-content/themes/bongda/dist/images/detail-page/bg-match-detail-mb-v2.svg) !important;
        background-size: cover !important;
    }
    .team-live .t-incident-column, .team-live .teambox, .team-live .team-vote {
        background: #202538;
    }
}
.is-win {
    border-radius: 5.333px;
    min-width: auto;
    position: relative;
    border: none;
    background: linear-gradient(0deg, #2532D5 0%, #070E59 76.25%);
}
.is-win::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1px;
    background: linear-gradient(360deg, rgba(0, 200, 244, .75), rgba(66, 83, 243, .75)  );
    -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;
}
@media (max-width: 767px) {
    .single-highlight .teambox_agg {
      bottom: 4px !important;
    }
}