/* EVENT */

h1 {
  margin: 0;
  margin-bottom: 0px;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: normal;
}

.event-header {
  height: 350px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  position: relative;
  flex-direction: row;
  margin-bottom: 20px;
}
.event-header__image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
}
.event-header__overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
}
.event-header__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.event-header__meta {
  position: relative;
  color: #fff;
  width: 50%;
  display: flex;
  justify-content: space-between;
}
.event-header__meta.second {
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
}
.event-header__meta-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  /*    background-color: #0006;*/
  background: linear-gradient(90deg, #0000009c, #0000);
  box-sizing: border-box;
  padding: 22px;
}
.event-header__teams-images {
  display: flex;
}
.event-header__team-image:first-child {
  position: relative;
  right: -15px;
}
.event-header__teams-scores {
  display: flex;
  font-size: 55px;
  font-weight: bold;
  height: 100%;
  position: relative;
  background-color: #00000059;
  border-radius: 5px;
  margin: 20px 0;
  width: fit-content;
}
.inprogress .event-header__teams-scores::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #93ff6c;
  position: absolute;
  top: 7px;
  right: 37px;
  -webkit-animation: blink2 1s linear infinite;
  animation: blink2 1s linear infinite;
}
.inprogress .event-header__teams-scores::after {
  content: "LIVE";
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 10px;
  color: #fff;
  line-height: normal;
}
@-webkit-keyframes blink2 {
  100% {
    background-color: rgba(34, 34, 34, 0);
  }
}
@keyframes blink2 {
  100% {
    background-color: rgba(34, 34, 34, 0);
  }
}
.event-header__team-score {
  width: 98px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.event-header__team-score:first-child {
  right: -15px;
}
.event-header__team-score_sep {
  height: 100%;
  width: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  right: -9px;
  font-size: 40px;
}
.event-header__teams-names {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.event-header__teams-names span {
  font-weight: bold;
  font-size: 22px;
  margin: 3px 0;
}
.event-header__teams-names span:last-child {
  font-weight: normal;
}
.event-header__teams-images .event-header__team-image {
  border-radius: 50%;
  background-color: #fff;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px #b5b5b5 solid;
}
.event-header__team-image img {
  object-fit: contain;
  width: 80px;
  height: 80px;
}
.event-header__tournament {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-header__tournament_logo {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-header__tournament_logo img {
  width: auto;
  height: 100%;
}
.event-header__tournament_name {
  font-weight: bold;
  font-size: 16px;
  padding: 3px 0;
}
.event-header__meta-date {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  margin: 15px 0;
}
.notstarted .event-header__meta-date,
.event-header__meta-date span {
  font-size: 14px;
  font-weight: normal;
  text-transform: none;
}
.notstarted .event-header__meta-date span {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  top: -3px;
}
.event-header__meta-date span {
  position: relative;
  top: -8px;
}
.event-header__meta-place {
  text-align: center;
  position: relative;
}
.event-header__meta-place::before {
  font-family: "Sportbet";
  content: "\e91c";
  margin-right: 5px;
  color: #fdd71c;
}
.event-header__odds {
  border-radius: 5px;
  background-color: #00000059;
  display: flex;
  justify-content: space-evenly;
  padding: 10px 20px;
  border: 0px #7d7d7d solid;
  margin-top: auto;
}
.event-header__odd {
  padding: 3px 10px;
  border-radius: 5px;
  color: #fff;
  border: 1px #7d7d7d solid;
  background-color: #00000085;
}
.event-header__odd:hover {
  background-color: #000;
  color: #fff;
}
.event-header__odds span:first-child {
  color: #fdd71c;
}
.event-header__odds span:last-child {
  font-weight: bold;
  margin: 0 3px;
}

/* Timer */
.event_header__timer {
  position: relative;
  margin: auto;
  color: #fff;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0;
  width: 250px;
}
.event_header__timer #hours {
  position: relative;
}
.event_header__timer #hours::before {
  content: ":";
  position: absolute;
  right: 0;
  top: -4px;
}
.event_header__timer .wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
}
.event_header__timer .time {
  font-size: 17px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;
}
.event_header__timer .label {
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.event-block {
  padding: 22px 0;
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
}
.event-block__inner {
}
.event-block__title span {
  font-weight: bold;
  color: #303030;
}

@media screen and (max-width: 1024px) {
  .event-header__teams-scores {
    font-size: 50px;
  }
  .event-header__teams-names span {
    font-size: 20px;
  }
}
@media screen and (max-width: 991px) and (min-width: 769px) {
  .event-header {
    flex-wrap: wrap;
    height: 400px;
  }
  .event-header__meta {
    width: 100%;
  }
  .event-header__meta-inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .event-header__teams-images {
    width: 50%;
    justify-content: center;
    align-items: center;
  }
  .event-header__teams-scores {
    font-size: 50px;
    width: 50%;
    justify-content: center;
    margin: 0;
  }
  .event-header__teams-images,
  .event-header__teams-scores {
    height: 110px;
  }
  .event-header__teams-names {
    flex-direction: row;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    justify-content: space-around;
  }
  .event-header__meta.second {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .event-header__tournament,
  .event-header__meta-date,
  .event-header__odds,
  .event-header__meta-place {
    width: 50%;
    margin: 0;
    box-sizing: border-box;
  }
  .event-header__meta-place {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .event-header__odds {
    width: 70%;
    margin: auto;
    margin-top: 5px;
  }
  .event-header__meta-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .event-header__meta-date span {
    top: -3px;
  }
}
@media screen and (max-width: 650px) {
  .event-header {
    border-radius: 0;
  }
  .event-header__teams-images .event-header__team-image {
    width: 80px;
    height: 80px;
  }
  .event-header__team-image img {
    width: 60px;
    height: 60px;
  }
  .event-header__teams-names span,
  .event-header__meta-date {
    font-size: 18px;
  }
  .event-header__teams-scores {
    font-size: 40px;
    height: 100px;
  }
  .event-header__odds {
    padding: 10px;
  }
  .event-header__odd {
    padding: 0 5px;
    font-size: 12px;
  }
}
@media screen and (max-width: 550px) {
  .event-header {
    flex-wrap: wrap;
    height: auto;
  }
  .event-header__meta {
    width: 100%;
  }
  .event-header__meta-inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .event-header__teams-images {
    width: 50%;
    justify-content: center;
    align-items: center;
  }
  .event-header__teams-scores {
    font-size: 50px;
    width: 50%;
    justify-content: center;
    margin: 0;
  }
  .event-header__teams-images,
  .event-header__teams-scores {
    height: 90px;
  }
  .event-header__teams-names {
    flex-direction: row;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    justify-content: space-around;
  }
  .event-header__meta.second {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .event-header__tournament,
  .event-header__meta-date,
  .event-header__odds,
  .event-header__meta-place {
    width: 50%;
    margin: 0;
    box-sizing: border-box;
  }
  .event-header__meta-place {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .event_header__timer {
    width: 70%;
    margin: auto;
    margin-top: 5px;
  }
  .event-header__odds {
    margin-top: 5px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  .event-header__meta-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .event-header__meta-date span {
    top: -3px;
  }
}
@media screen and (max-width: 425px) {
  .event-header__teams-images {
    width: 100%;
    margin-bottom: 10px;
  }
  .event-header__teams-scores {
    width: 100%;
    margin: 7px 0;
  }
}
@media screen and (max-width: 375px) {
  .event-header__odds {
    width: 100%;
  }
}

/* Match Odds */
.match-odds {
  display: flex;
  padding: 0 22px;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: space-between;
}

.match-odds__container {
  width: 48%;
  min-width: 15%;
  font-size: 12px;
  margin-bottom: 15px;
}
.match-odds__header {
  background-color: #fdd71c;
  border-radius: 5px 5px 0px 0px;
  width: 40%;
}
.match-odds__header_title {
  color: #303030;
  font-weight: bold;
  text-align: center;
  display: block;
}
.match-odds__body {
  border: 1px #e8e8e1 solid;
  border-radius: 0px 5px 5px 5px;
  overflow: hidden;
}
.match-odds__body_item.match-odd {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.match-odd__item {
  width: 100%;
  padding: 5px 10px;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px #f4f4f4 solid;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: normal;
}
.match-odd__item.last {
  font-weight: bold;
  background-color: #f4f4f4;
  flex: none;
  width: 65px;
  border-color: #ececec;
}
.match-odds__body_item.match-odd:last-child .match-odd__item {
  border: 0;
}

.match-goals.match-odds__container {
  width: 100%;
}
.match-goals .match-odds__body {
  display: flex;
  flex-wrap: wrap;
}
.match-goals .match-odds__body_block {
  width: 33.3333%;
}
.match-goals .match-odds__body_block:nth-child(2n + 2) {
  background-color: #eaeaea;
}
.match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item {
  background-color: transparent;
  border-color: #d7d7d7;
}
.match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item.last {
  background-color: #c4c4c4;
}
.match-goals .match-odds__body_item.match-odd {
}
.match-goals .match-odds__body_item.match-odd:last-child .match-odd__item {
  /*    border-bottom: 1px #f4f4f4 solid;*/
}

@media screen and (max-width: 1024px) {
  .match-odds__header {
    width: 50%;
  }
}
@media screen and (max-width: 991px) and (min-width: 769px) {
  .match-goals .match-odds__body_block {
    width: 50%;
  }
  .match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item {
    background-color: #fff;
    border-color: #f4f4f4;
  }
  .match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item.last {
    background-color: #f4f4f4;
  }
}
@media screen and (max-width: 650px) {
  .match-odds {
    padding: 0 15px;
  }
  .match-odd__item {
    font-size: 11px;
  }
  .match-odd__item.last {
    width: 40px;
  }
}
@media screen and (max-width: 550px) {
  .match-odds__header {
    width: 80%;
  }
}
@media screen and (max-width: 450px) {
  .match-goals .match-odds__body_block {
    width: 50%;
  }
  .match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item {
    background-color: #fff;
    border-color: #f4f4f4;
  }
  .match-goals .match-odds__body_block:nth-child(2n + 2) .match-odd__item.last {
    background-color: #f4f4f4;
  }
}
@media screen and (max-width: 350px) {
  .match-odds__container {
    width: 80%;
  }
  .match-odds__header {
    width: 76%;
  }
  .match-goals .match-odds__header {
    width: 100%;
  }
  .match-goals .match-odds__body {
    border-radius: 0px 0px 5px 5px;
  }
}

/* Last Matches */
.last-matches {
  display: flex;
  justify-content: space-between;
  padding: 0 22px;
  box-sizing: border-box;
}
.last-matches__team {
  width: 49%;
}
.last-matches__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  border: 1px #e8e8e1 solid;
  border-radius: 5px;
  padding: 10px;
  background-color: #fbfbfb;
  position: relative;
  color: #303030;
  text-align: center;
  justify-content: center;
  padding: 15px 0;
  overflow: hidden;
}
.last-matches__title span {
  position: relative;
  color: #fff;
}
.last-matches__title_background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
}
.last-matches__title_overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000a6;
}
.last-matches__title_background img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  position: unset;
}
.last-matches__events {
  display: flex;
  flex-direction: column;
}
.last-matches__event.lm-event {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px #e8e8e1 solid;
  border-radius: 5px;
  background-color: #fff;
  margin-bottom: 15px;
  padding: 10px;
  position: relative;
}
.last-matches__event.lm-event::before,
.last-matches__title::before {
  content: "";
  height: 20px;
  width: 1px;
  background-color: #e8e8e1;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: auto;
}
.last-matches__event.lm-event:last-child:before {
  display: none;
}
.lm-event__teams {
  width: 85%;
  display: flex;
  flex-direction: column;
}
.lm-event__team {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 7px 0;
}
.lm-event__team img {
  width: 20px;
  height: auto;
}
.lm-event__team span {
  margin-left: 10px;
  line-height: normal;
}
.lm-event__team.current span,
.lm-event__team.win span {
  font-weight: bold;
}
.lm-event__result {
  display: flex;
  flex-direction: column;
  width: 15%;
  justify-content: space-between;
  align-items: center;
}
.lm-event__result_score {
  text-align: center;
  font-size: 14px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: 1px #ccc solid;
}
.lm-event__result_score.current {
  font-weight: bold;
}
.lm-event__date {
  width: 100%;
  font-size: 12px;
  text-align: left;
  margin-top: 7px;
  padding: 0 10px;
  border-top: 1px #e8e8e1 solid;
  background-color: #fdfdfd;
  color: #7b7b7b;
  border-radius: 0px 0px 5px 5px;
  display: flex;
  line-height: normal;
  justify-content: space-between;
  padding-top: 6px;
}
.lm-event__date span:first-child {
  flex: none;
}
.lm-event__date span:last-child {
  text-align: right;
}
@media screen and (max-width: 1024px) {
  .last-matches__title {
    font-size: 14px;
  }
  .lm-event__team span,
  .lm-event__result_score {
    font-size: 12px;
  }
  .lm-event__team {
    margin: 6px 0;
  }
  .lm-event__date {
    flex-direction: column;
  }
  .lm-event__date span:last-child {
    text-align: left;
  }
  .lm-event__result_score {
    width: 28px;
    height: 28px;
  }
}
@media screen and (max-width: 650px) {
  .last-matches {
    padding: 0 15px;
  }
}
@media screen and (max-width: 550px) {
  .last-matches {
    flex-wrap: wrap;
  }
  .last-matches__team {
    width: 100%;
  }
  .lm-event__date {
    flex-direction: row;
  }
}

/* Versus Matches */
.vs-matches {
  padding: 0 22px;
}
.vs-matches__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px #e8e8e1 solid;
  margin-bottom: 15px;
  border-top: 1px #e8e8e1 solid;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.vs-matches__title_image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.vs-matches__title_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vs-matches__title_overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000a6;
}
.vs-matches__title_team {
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  justify-content: center;
  display: flex;
  color: #fff;
  position: relative;
  text-align: center;
  line-height: normal;
}
.vs-matches__title_stat {
  display: flex;
  justify-content: center;
  position: relative;
}
.vs-matches__title_stat span {
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px #e8e8e1 solid;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  color: #303030;
  background-color: #fff;
  font-weight: bold;
}
.vs-matches__events {
  display: flex;
  flex-direction: column;
}
.vs-matches__event.vs-event {
  display: flex;
  justify-content: space-between;
  border: 1px #e8e8e1 solid;
  border-radius: 5px;
  margin-bottom: 10px;
}
.vs-event__teams {
  display: flex;
  padding: 10px 0;
  width: 100%;
  border-bottom: 0px #e8e8e1 solid;
}
.vs-event__team {
  display: flex;
  align-items: center;
  width: 50%;
}
.vs-event__team.left {
  justify-content: flex-end;
}
.vs-event__team.right {
  justify-content: flex-start;
}
.vs-event__team_logo {
  width: 30px;
  margin: 0 5px;
  flex: none;
}
.vs-event__team_logo img {
  width: 100%;
  height: auto;
}
.vs-event__team_block {
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  line-height: normal;
}
.vs-event__team_name {
  color: #303030;
}
.vs-event__team_status {
  font-size: 12px;
  color: #9b9b9b;
}
.left .vs-event__team_name,
.left .vs-event__team_status {
  text-align: right;
}
.right .vs-event__team_name,
.right .vs-event__team_status {
  text-align: left;
}

.vs-event__team_score {
  margin: 0 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px #ccc solid;
  border-radius: 3px;
  flex: none;
  font-size: 13px;
}
.vs-event__info {
  display: flex;
  flex-direction: row;
  width: 55%;
  justify-content: center;
  align-items: center;
  border-bottom: 0px #e8e8e1 solid;
  padding: 10px 0;
  border-left: 1px #e8e8e1 solid;
  background-color: #fdfdfd;
}
.vs-event__info_logo {
  display: flex;
  margin-right: 10px;
}
.vs-event__info_logo img {
}
.vs-event__info_block {
  display: flex;
  line-height: normal;
  flex-direction: column;
}
.vs-event__info_date {
  font-size: 12px;
}
.vs-event__info_ligue {
  color: #303030;
}

.vs-matches__event.vs-event:last-child .vs-event__info {
  border: 0;
  border-left: 1px #e8e8e1 solid;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 1024px) {
  .vs-matches__title_team {
    font-size: 14px;
  }
  .vs-event__team_name,
  .vs-event__info_block {
    font-size: 12px;
  }
  .vs-event__team_status,
  .vs-event__info_date {
    font-size: 11px;
  }
}
@media screen and (max-width: 900px) and (min-width: 769px) {
  .vs-matches__event.vs-event {
    flex-wrap: wrap;
    overflow: hidden;
  }
  .vs-event__info {
    width: 100%;
    border: 0;
    border-top: 1px #e8e8e1 solid;
  }
  .vs-event__info_block {
    flex-direction: row;
  }
  .vs-event__team_status,
  .vs-event__info_date {
    margin: 0 10px;
  }
  .vs-event__team_status {
    order: 1;
  }
  .vs-event__info_date {
    order: 2;
  }
  .vs-matches__event.vs-event:last-child .vs-event__info {
    border: 0;
    border-top: 1px #e8e8e1 solid;
    padding-bottom: 10px;
  }
}
@media screen and (max-width: 650px) {
  .vs-matches {
    padding: 0 15px;
  }
}
@media screen and (max-width: 550px) {
  .vs-matches__event.vs-event {
    flex-wrap: wrap;
    overflow: hidden;
  }
  .vs-event__info {
    width: 100%;
    border: 0;
    border-top: 1px #e8e8e1 solid;
  }
  .vs-event__info_block {
    flex-direction: row;
  }
  .vs-event__team_status,
  .vs-event__info_date {
    margin: 0 10px;
  }
  .vs-event__team_status {
    order: 1;
  }
  .vs-event__info_date {
    order: 2;
  }
  .vs-matches__event.vs-event:last-child .vs-event__info {
    border: 0;
    border-top: 1px #e8e8e1 solid;
    padding-bottom: 10px;
  }
}
@media screen and (max-width: 425px) {
  .vs-matches__title {
    flex-wrap: wrap;
  }
  .vs-matches__title_team {
    width: 48%;
    margin-bottom: 15px;
  }
  .vs-matches__title_stat {
    order: 1;
    margin: auto;
  }
  .vs-matches__title_stat span {
    width: 33px;
    height: 33px;
    font-size: 13px;
  }
}
