/* Matches Page */
.matches-page .global-values{ margin-bottom: 20px; }

/* Match Detail Page */
.match-detail-page .row-group { line-height: 1.4; }
.match-detail-page .data-list li .title{ margin-bottom: 5px; }

/* Result */
.match-detail-page .row-group .match-result{ width: 100%; margin-bottom: 10px; }
.match-detail-page .row-group .match-result li{ display: flex; align-items: center; }
.match-detail-page .row-group .match-result li .line-separator{ position: relative; top: 2px; }
.match-detail-page .row-group .match-result li .line-separator span{ position: absolute; top: 50%; margin-left: -2px; transform: translateY(-50%); }
.match-detail-page .row-group .match-result li .goals{ font-weight: bold; padding: 3px 8px; color: var(--yellow); font-size: 20px !important; }
.match-detail-page .row-group .match-result li .penarol{ display: inline-block; margin-right: 5px; font-weight: bold; font-size: 18px !important; }
.match-detail-page .row-group .match-result li .vs{ display: inline-block; margin-left: 5px; font-size: 18px !important; }
.match-detail-page .row-group .match-result li .anulado{ display: inline-block; margin-left: 10px; }
.match-detail-page .row-group .match-result li .walkover{ display: inline-block; margin-left: 10px; }

/* Match Basic Info */
.match-detail-page .row-group .match-basic-info .data-list{ padding: 0; }
.match-detail-page .row-group .match-basic-info .data-list li{ width: auto; padding: 15px; }
.match-detail-page .row-group .match-basic-info .data-list li .value{ font-size: 15px; }
.match-detail-page .row-group .match-basic-info .data-list li.date{}
.match-detail-page .row-group .match-basic-info .data-list li.tournament{ position: relative; }
.match-detail-page .row-group .match-basic-info .data-list li.tournament .value{ position: relative; padding-left: 25px; }
.match-detail-page .row-group .match-basic-info .data-list li.tournament .value i{ font-size: 18px; position: relative; top: 2px; }
.match-detail-page .row-group .match-basic-info .data-list li.phase{}
.match-detail-page .row-group .match-basic-info .data-list li.stadium{}
.match-detail-page .row-group .match-basic-info .data-list li.viewers{}
.match-detail-page .row-group .match-basic-info .data-list li.referee{}
.match-detail-page .row-group .match-basic-info .data-list li.goals{}
.match-detail-page .row-group .match-basic-info .data-list li.obs{}

.match-detail-page .row-group .match-basic-info .data-list li.referee-specials{ padding: 0; }
.match-detail-page .row-group .match-basic-info .data-list li.referee-specials ul{ display: flex; }
.match-detail-page .row-group .match-basic-info .data-list li.referee-specials ul li{ background: none; backdrop-filter: none; }

.match-detail-page .row-group .match-basic-info .data-list li.locality i{ font-size: 18px; position: relative;  top: 2px; margin-right: 3px; }

/* Lineup */
.match-detail-page .row-group .lineup.first-row{ display: flex; flex-direction: column; order: 0; }
.match-detail-page .row-group .lineup.second-row{ display: flex; flex-direction: column; order: 1; }
.match-detail-page .row-group .lineup .data-list li{ display: flex; }

/* vs Lineup */
.match-detail-page .row-group .lineup.vs-lineup ul{ margin-bottom: 5px; }
.match-detail-page .row-group .lineup.vs-lineup ul li{}
.match-detail-page .row-group .lineup.vs-lineup ul li.separator{ color: var(--white-bbb); }

/* Titles  Group */
.match-detail-page .row-group{ justify-content: space-between; }
.match-detail-page .row-group .box-title{ font-family: var(--poppins); font-size: 26px; margin-bottom: 0; font-weight: 600; color: var(--white); padding: 0 10px; }
.match-detail-page .row-group .lineup{ width: 48%; }
.match-detail-page .row-group .lineup .data-list{ padding: 0; }
.match-detail-page .row-group .lineup .data-list li{ width: 100%; text-align: left; justify-content: space-between; display: flex; align-items: center; padding: 0 15px; height: 40px; }

.match-detail-page .row-group .lineup .data-list li.separator{ padding: 10px 10px 5px; margin: 10px 0 0; font-weight: 600; font-size: 15px; font-family: var(--poppins); color: var(--white-aaa); background: none; box-shadow: none; }

.match-detail-page .row-group .lineup .data-list li a{ text-decoration: none; transition: var(--transition); }
.match-detail-page .row-group .lineup .data-list li a:hover{ color: var(--white); }

.match-detail-page .row-group .lineup .data-list li .name{ margin-right: 5px; padding: 7px 0; display: flex; align-items: center; }
.match-detail-page .row-group .lineup .data-list li .name .captain{ text-transform: uppercase; font-size: 18px; color: var(--white-bbb); font-weight: 600; margin-left: 5px; }

.match-detail-page .row-group .lineup .data-list li .name .profile-picture{ width: 23px; min-width: 23px; height: 23px; overflow: hidden; margin-right: 10px; border-radius: 5px; }
.match-detail-page .row-group .lineup .data-list li .name .profile-picture img{ width: 100%; height: 100%; object-fit: cover; }

.match-detail-page .row-group .lineup .data-list li .right{ display: flex; align-items: center; justify-content: flex-end; width: 135px; padding: 7px 0; height: 100%; position: relative; }

.match-detail-page .row-group .lineup .data-list li .right .card-time{ margin-left: 5px; }

.match-detail-page .row-group .lineup .data-list li .right .change{ position: relative; font-size: 17px; display: flex; align-items: center; }
.match-detail-page .row-group .lineup .data-list li .right .change .time{ font-weight: normal; margin-left: 3px; color: var(--grey-999); }

.match-detail-page .row-group .lineup .data-list li .right .goal-value{ padding-left: 5px; display: flex; align-items: center; }
.match-detail-page .row-group .lineup .data-list li .right .goal-value i{ position: relative; font-size: 18px; }
.match-detail-page .row-group .lineup .data-list li .right .goal-value span{ font-weight: 500; display: inline-block; font-size: 18px; }

.match-detail-page .row-group .lineup .data-list li.dt .right{ text-transform: uppercase; font-size: 18px; color: var(--white-bbb); font-weight: 600; }

/* Tooltips */
.match-detail-page .row-group .lineup .data-list li .right .tooltip{ position: relative; display: flex; align-items: center; justify-content: center; }

    .match-detail-page .row-group .lineup .data-list li .right .tooltip.goal i{ color: var(--white-ccc); }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.goal .tooltip-content{ background: var(--white-ccc); }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.goal .tooltip-content:before{ color: var(--white-ccc); }

    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-green i{ color: #2ea40a; }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-green .tooltip-content{ background: #2ea40a; color: var(--white); }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-green .tooltip-content:before{ color: #2ea40a; }

    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-red i{ color: #ee222a; }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-red .tooltip-content{ background: #ee222a; color: var(--white); }
    .match-detail-page .row-group .lineup .data-list li .right .tooltip.change-red .tooltip-content:before{ color: #ee222a; }

/* Media */
.match-detail-page .media-wrapper { display: flex; justify-content: space-between; margin: 70px 0 50px; }

/* Video */
.match-detail-page .media-wrapper .video-compact{ width: 49%; }
.match-detail-page .media-wrapper .video-compact ul{ padding: 0; margin: 0; }
.match-detail-page .media-wrapper .video-compact ul li{ height: auto; padding-top: 56%; position: relative; width: 100%; }
.match-detail-page .media-wrapper .video-compact ul li iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 5px;  }

/* Image Gallery */
.match-detail-page .media-wrapper .image-gallery{ width: 49%; }
.match-detail-page .media-wrapper .image-gallery ul{ padding: 0; margin: 0; }
.match-detail-page .media-wrapper .image-gallery ul li{ padding: 0; height: 400px; width: 100%; overflow: hidden; border-radius: 10px; }
.match-detail-page .media-wrapper .image-gallery #divModal{ position: fixed; width: 100%; height: 100%; top: 0; left: 0; }

/* Swiper */
.match-detail-page .media-wrapper figure{ width: 100%; max-width: 600px; margin: 30px 0; position: relative; }
.match-detail-page .media-wrapper figure img{ width: 100%; object-fit: contain; }

.match-detail-page .media-wrapper figure a{ position: absolute; top: 10px; right: 5px; width: 40px; height: 40px; border-radius: 100%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--white); background: rgba(0,0,0,0.6); transition: var(--transition); font-size: 20px; }
.match-detail-page .media-wrapper figure a:hover{ background: rgba(0,0,0,0.8); color: var(--yellow); text-decoration: none; }

.match-detail-page .media-wrapper .swiper{ width: 100%; margin: 0; max-height: 400px; }
.match-detail-page .media-wrapper .swiper .swiper-wrapper{ padding: 0; margin: 0; }
.match-detail-page .media-wrapper .swiper .swiper-wrapper .swiper-slide{ display: flex; align-items: center; justify-content: center; }
.match-detail-page .media-wrapper .swiper .swiper-wrapper .swiper-slide figure{ margin: 0; width: 100%; height: 100%; }
.match-detail-page .media-wrapper .swiper .swiper-wrapper .swiper-slide figure img{ width: 100%; height: 100%; object-fit: contain; }

.match-detail-page .media-wrapper .swiper-button-next{ color: var(--grey-777); opacity: 1; transition: var(--transition); background: var(--black); width: 30px; height: 30px; border-radius: 100%; }
.match-detail-page .media-wrapper .swiper-button-next:after{ content: "\ea61"; font-family: var(--icons); font-weight: normal; font-size: 22px; }
.match-detail-page .media-wrapper .swiper-button-next:hover{ color: var(--white); }
.match-detail-page .media-wrapper .swiper-button-prev{ color: var(--grey-777); opacity: 1; transition: var(--transition); background: var(--black); width: 30px; height: 30px; border-radius: 100%; }
.match-detail-page .media-wrapper .swiper-button-prev:after{ content: "\ea60"; font-family: var(--icons); font-weight: normal; font-size: 22px; }
.match-detail-page .media-wrapper .swiper-button-prev:hover{ color: var(--white); }
.match-detail-page .media-wrapper .swiper-button-disabled{ opacity: 0; }

@media screen and (max-width: 1279px) {

}

@media screen and (max-width: 1023px) {
    
    .match-detail-page .row-group .match-result li .line-separator{ display: none; }
    
    .match-detail-page .row-group .match-basic-info .data-list li{ width: 100%; padding: 10px 15px; flex-wrap: wrap; justify-content: space-between; }
    .match-detail-page .row-group .match-basic-info .data-list li .value{ font-size: 14px; }
    .match-detail-page .row-group .match-basic-info .data-list li.referee-specials ul{ flex-direction: column; }
    .match-detail-page .row-group .match-basic-info .data-list li .value.sep{ display: none; }
    .match-detail-page .row-group .match-basic-info .data-list li .teams{ width: 100%; background: var(--grey-111); padding: 5px 10px 2px; border-radius: 5px; margin-bottom: 10px; }
    .match-detail-page .row-group .match-basic-info .data-list li .teams .value{ width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 14px; }
    .match-detail-page .row-group .match-basic-info .data-list li .teams .line-separator{ display: none; }
    .match-detail-page .row-group .match-basic-info .data-list li .penarol{ width: calc(100% - 60px); order: 1; position: relative; margin-right: 0; font-size: 15px !important; }
    .match-detail-page .row-group .match-basic-info .data-list li .penarol:before{ content: ""; display: block; width: calc(100% + 80px); height: 1px; background: var(--grey-222); position: absolute; bottom: -5px; left: -10px; }
    .match-detail-page .row-group .match-basic-info .data-list li .vs{ width: calc(100% - 60px);  margin-left: 0; order: 3; font-size: 15px !important; }
    .match-detail-page .row-group .match-basic-info .data-list li .goals{ width: 20px; font-size: 16px !important; text-align: center; font-weight: 600; }
    .match-detail-page .row-group .match-basic-info .data-list li .goal-one{ order: 2; }
    .match-detail-page .row-group .match-basic-info .data-list li .goal-two{ order: 4; }

        /* No Class */
        .match-detail-page .row-group .match-basic-info .data-list li .penarol{ order: 1 }
        .match-detail-page .row-group .match-basic-info .data-list li .vs{ order: 3; }
        .match-detail-page .row-group .match-basic-info .data-list li .goal-one{ order: 2; }
        .match-detail-page .row-group .match-basic-info .data-list li .goal-two{ order: 4; }

        /* Visit */
        .match-detail-page .row-group .match-basic-info .data-list li.v .penarol{ order: 3; }
        .match-detail-page .row-group .match-basic-info .data-list li.v .vs{ order: 1; }
        .match-detail-page .row-group .match-basic-info .data-list li.v .goal-one{ order: 1; }
        .match-detail-page .row-group .match-basic-info .data-list li.v .goal-two{ order: 4; }
        .match-detail-page .row-group .match-basic-info .data-list li.v .penarol:before{ bottom: auto; top: -4px; }

        /* Local */
        .match-detail-page .row-group .match-basic-info .data-list li.l .penarol{ order: 1 }
        .match-detail-page .row-group .match-basic-info .data-list li.l .vs{ order: 3; }
        .match-detail-page .row-group .match-basic-info .data-list li.l .goal-one{ order: 2; }
        .match-detail-page .row-group .match-basic-info .data-list li.l .goal-two{ order: 4; }

        /* Neutral or Null */
        .match-detail-page .row-group .match-basic-info .data-list li.n .penarol{ order: 1 }
        .match-detail-page .row-group .match-basic-info .data-list li.n .vs{ order: 3; }
        .match-detail-page .row-group .match-basic-info .data-list li.n .goal-one{ order: 2; }
        .match-detail-page .row-group .match-basic-info .data-list li.n .goal-two{ order: 4; }

    /* Lineup */
    .match-detail-page .row-group .lineup{ width: 100%; }
    .match-detail-page .row-group .lineup .data-list li{ flex-direction: column; justify-content: flex-start; align-items: flex-start; height: auto; }
    .match-detail-page .row-group .lineup .data-list li .right{ width: 100%; justify-content: flex-start; padding-left: 30px; padding-top: 0; }
    .match-detail-page .row-group .lineup.vs-lineup .data-list li .right{ padding-left: 0; position: relative; left: -5px; }

    /* Video */
    .match-detail-page .media-wrapper{ padding: 0; margin: 50px 0; flex-direction: column; gap: 50px; }
    .match-detail-page .media-wrapper .video-compact{ width: 100%; }
    .match-detail-page .media-wrapper .video-compact ul{ width: 100%; }
    .match-detail-page .media-wrapper .video-compact ul li{ width: 100%; height: auto; padding-top: 56.25%; position: relative; }
    .match-detail-page .media-wrapper .video-compact ul li iframe{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; }

    .match-detail-page .media-wrapper .image-gallery{ width: 100%; }

    

}

@media screen and (max-width: 767px) {
    .match-detail-page .media-wrapper .swiper{ width: 100% !important; }
    .match-detail-page .media-wrapper .swiper .swiper-wrapper .swiper-slide figure{ max-width: 100%; }
}