.match {

}

.match .match-header {
  width: 100%;
  position: relative;
  height: 350px;
}

.match-header-info {

}

.match .match-header-data {
  width: 100%;
  height: 306px;
  padding-top: 36px;
  box-sizing: border-box;
}

.match .team {
  width: calc((100% - 226px) / 2);
  height: 178px;
  margin-top: 92px;
}

.match .team.team1 {
  padding-left: 28px;
}

.match .team.team2 {
  padding-right: 28px;
  text-align: right;
}

.match .team .team-tr {
  display: table;
}

.match .team .team-logo {
  width: 106px;
  height: 106px;
  margin: auto;
  display: table-cell;
  vertical-align: middle;
  border: 1px solid rgba(157, 159, 161, 0.3);
  border-radius: 4px;
  background-color: #ffffff;
  padding: 2px;
  box-sizing: border-box;
}

.match .team .team-title-cont {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100px;
  box-sizing: border-box;
}

.match .team.team1 .team-title-cont {
  padding-left: 16px;
}

.match .team.team2 .team-title-cont {
  padding-right: 16px;
}

.match .team .team-title {
  color: #ffffff;
  font-size: 24px;
  display: block;
}

.match .team .team-title:hover {
  text-decoration: underline;
}

.match .match-date,
.match .score {
  width: 170px;
  text-align: center;
}

.match .match-date-time {
  font-size: 21px;
  color: #ffffff;
  text-transform: uppercase;
}

.match .match-place {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  padding-left: 24px;
  font-size: 16px;
  color: #ffffff;
  line-height: 16px;
}

.match .match-place:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 16px;
  background-image: url(../img/geo-icon-match.png);
}

.match .score {
  margin-top: 56px;
}

.match .match-header .score .score-digits {
  height: 96px;
  font-size: 48px;
  color: #ffffff;
}

.match .score .score-digits .additional {
  font-size: 26px;
  color: #aeaeae;
  letter-spacing: 4px;
  position: relative;
  left: -3px;
}

.match .score .score-desc {
  color: #ffffff;
}

.match .score .score-desc span {
  font-size: 12px;
  color: #9ca1a5;
}

.match .score .score-desc span {
  font-size: 12px;
  color: #9ca1a5;
}

.match .match-header-data-subinfo {
  text-align: center;
}

.match .match-header-data-subinfo .tournament-title {
  display: inline;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 44px;
}

.match .match-header-data-subinfo .tournament-stage {
  color: #aeaeae;
  font-size: 16px;
  display: inline;
  margin-left: 4px;
  line-height: 44px;
}

.match .match-header-data-subinfo > a:hover {
  text-decoration: underline;
}

/*Блоки матча*/
.match .sfl-tabs > ul > li {
  width: calc(100% / 5);
}

.match .sfl-tabs > ul > li.active {
  background-color: #ffffff;
}

.match .sfl-tabs > ul > li > a {
  text-align: center;
}

.match .sfl-tabs > ul > li.active > a {
  color: #000000;
}

.match-blocks {
  background-color: #ffffff;
}

.match-blocks .match-block-teams {
  position: relative;
}

.match-block .match-block-teams.margin-top {
  margin-top: 60px;
}

.match-blocks .match-block-teams.top-border:before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #dddddd;
}

.match-blocks .match-block-teams .match-block-teams-text {
  position: absolute;
  height: 65px;
  text-transform: uppercase;
  text-align: center;
  display: inline;
  width: initial;
  font-size: 20px;
  color: #000000;
  line-height: 65px;
}

.match-block .match-block-teams > div {
  width: 50%;
}

.match-block .match-block-teams .team1 {
  float: left;
}

.match-block .match-block-teams .team2 {
  float: right;
}

.match-block .match-block-team-cont {
  height: 66px;
  padding: 12px 25px;
  box-sizing: border-box;
  position: relative;
}

.match-block .team2 .match-block-team-cont {
  text-align: right;
}

.match-block .match-block-team-cont:before {
  content: '';
  width: 100%;
  height: 1px;
  background-color: #cbcbcb;
  position: absolute;
  bottom: 0;
}

.match-block .team1 .match-block-team-cont:before {
  left: 0;
}

.match-block .team2 .match-block-team-cont:before {
  right: 0;
}

.match-block .match-block-team-logo {
  width: 40px;
  height: 40px;
  display: inline-block;
  border: 1px solid #dddddd;
  border-radius: 3px;
}

.match-block .match-block-team-logo img {
  width: 100%;
  height: 100%;
}

.match-block .match-block-team-title {
  display: inline-block;
  font-size: 17px;
  color: #636363;
  position: relative;
  top: 14px;
}

.match-block .team1 .match-block-team-title {
  margin-left: 12px;
}

.match-block .team2 .match-block-team-title {
  margin-right: 12px;
}

.match-block .match-block-team-title:hover {
  text-decoration: underline;
}

/*События матча*/
.match-events {
  width: 100%;
  box-sizing: border-box;
}

.match-events .match-events-cont {
  padding: 0 26px 36px;
  margin-top: 14px;
  position: relative;
}

.match-events .match-events-cont:before {
  content: '';
  position: absolute;
  top: -15px;
  left: calc(50% - 2px);
  width: 1px;
  height: 27px;
  background-color: #d8d8d8;
}

.match-events .match-events-cont .match-events-block {
  position: relative;
}

.match-events .match-events-cont .match-events-block:not(:last-child):before,
.match-events .match-events-cont .match-events-block:not(:last-child):after {
  content: '';
  position: absolute;
  bottom: 6px;
  width: 385px;
  height: 1px;
  background-color: #dddddd;
}

.match-events .match-events-cont .match-events-block:not(:last-child):before {
  left: -26px;
}

.match-events .match-events-cont .match-events-block:not(:last-child):after {
  right: -26px;
}

.match-events .match-events-cont .match-events-block.shootout {
  padding-top: 20px;
}

.match .block-title {
  position: absolute;
  font-size: 17px;
  color: #0089ac;
  top: 40px;
  left: 0;
}

.match-events .event-row {
  height: 52px;
  padding: 20px 0;
  position: relative;
}

.match-events .event-row.shootout {
  height: 38px;
  padding: 11px 0;
}

.match-events .player {
  width: calc((100% - 120px) / 2);
}

.match-events .player .author {
  width: calc(100% - 40px);
  display: table;
  height: 40px;
}

.match-events .player .author > span {
  display: table-cell;
  vertical-align: middle;
}

.match-events .event-row.team1 .player .author > span {
  text-align: right;
}

.match-events .event-row.team2 .player .author > span {
  text-align: left;
}

.match-events .player .player-name {
  display: block;
}

.match-events .player .player-name > a {
  font-size: 17px;
  color: #636363;
}

.match-events .player .author .author-note,
.match-events .player .player-name.assist > a {
  font-size: 17px;
  color: #959595;
}

.match-events .player .player-name > a:hover,
.match-events .player .player-name.assist > a:hover {
  text-decoration: underline;
}

.match-events .event-row.team1 .player .author .author-note,
.match-events .event-row.team1 .player .player-name {
  text-align: right;
}

.match-events .event-row.team2 .player .author .author-note,
.match-events .event-row.team2 .player .player-name {
  text-align: left;
}

.match-events .player .author .author-note {
  font-style: italic;
}

.match-events .event-row .event-row-icon {
  position: relative;
  top: 8px;
  width: 24px;
}

.match-events .event-row.team1 .event-row-icon {
  margin-left: 16px;
}

.match-events .event-row.team2 .event-row-icon {
  margin-right: 16px;
}

.match-events .event-score,
.match-events .event-time {
  position: relative;
  width: 70px;
  margin: 0 25px;
  font-size: 19px;
  color: #000000;
  text-align: center;
  line-height: 40px;
}

.match-events .event-time.additional-time {
  font-size: 15px;
}

.match-events .event-time:before {
  content: '';
  position: absolute;
  top: 0;
  left: 13px;
  width: 36px;
  height: 35px;
  border: 2px solid #0089ac;
  transform: rotate(45deg);
}

.match-events .event-time:not(.last):after {
  content: '';
  position: absolute;
  bottom: -46px;
  left: 33px;
  width: 1px;
  height: 38px;
  background-color: #d8d8d8;
}

.match-events .event-score {
  width: 70px;
  font-size: 21px;
  color: #000000;
  line-height: 36px;
  background-color: #e8e8e8;
}

.match-events .event-score.goal {
  position: absolute;
  top: 20px;
  right: 0;
}

/*Протокол матча*/
.match-protocol {

}

.match-protocol .match-protocol-team .match-protocol-team-members {
  position: relative;
}

.match-protocol .match-protocol-team .match-protocol-team-members.odd {
  border-top: 1px solid #dddddd;
}

.match-protocol .match-protocol-team .match-protocol-team-members:not(.referees):after {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: #dddddd;
}

.match-protocol .match-protocol-team.team1 .match-protocol-team-members:not(.referees):after {
  right: 0;
}

.match-protocol .match-protocol-team.team2 .match-protocol-team-members:not(.referees):after {
  left: -1px;
}

.match-protocol .member {
  height: 51px;
  padding: 12px 0;
  box-sizing: border-box;
  position: relative;
}

.match-protocol .match-protocol-team-members.staffs .member {
  padding: 7px 24px 6px 0
}

.match-protocol .match-protocol-team .member {
  padding-left: 12px;
}

.match-protocol .member:before {
  content: '';
  width: 100%;
  height: 1px;
  background-color: #dddddd;
  position: absolute;
  bottom: 0;
  left: 0;
}

.match-protocol .member .member-number {
  width: 35px;
  height: 100%;
  font-size: 17px;
  color: #000000;
  text-align: center;
  line-height: 24px;
}

.match-protocol .member .member-name-cont {
  width: 246px;
}

.match-protocol .member .member-name {
  font-size: 17px;
  color: #636363;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
  display: inline-block;
}

.match-protocol .team1 .member .member-name {
  margin-left: 8px;
}

.match-protocol .member .member-amplua {
  font-size: 17px;
  color: #b5b5b5;
  margin-left: 4px;
}

.match-protocol .member a.member-name:hover {
  text-decoration: underline;
}

.match-protocol .member .member-events-cont {
  float: right;
  max-width: 155px;
}

.match-protocol .member .member-event {
  float: left;
  position: relative;
  margin-right: 6px;
}

.match-protocol .member .member-event .sfl-icon {
  width: 25px;
}

.match-protocol .member .member-event .sfl-icon.assist {
  background-position: -56px 0px;
  background-size: 119px;
}

/*Статистика матча*/
.match .match-stats {
  padding: 0 26px 36px;
}

.match-stats .match-stats-title {
  text-align: center;
  font-size: 20px;
  color: #000000;
  line-height: 90px;
  text-transform: uppercase;
  border-top: 1px solid #dddddd;
}

.match-stats .match-stats-lines {
  width: 100%;
}

.match-stats .match-stats-lines-row {
  position: relative;
  height: 27px;
  margin-bottom: 24px;
  background-color: #ff4847;
}

.match-stats .match-stats-lines-row-name {
  color: #636363;
  font-size: 17px;
  text-align: center;
  margin-bottom: 8px;
}

.match-stats .match-stats-lines-row-stat {
  position: absolute;
  overflow: hidden;
}

.match-stats .match-stats-lines-row-stat.team1 {
  left: 0;
  margin-right: 2px;
  text-align: right;
  background-color: #576075;
}

.match-stats .match-stats-lines-row-stat.team2 {
  right: 0;
  margin-left: 2px;
  text-align: left;
  background-color: #ff4847;
}

.match-stats .match-stats-lines-row-stat.empty {
  width: 100%;
  background-color: #c9cccf;
}

.match-stats .match-stats-lines-row-stat > span {
  display: inline-block;
  line-height: 27px;
  color: #ffffff;
}

.match-stats .match-stats-lines-row-stat.team1 > span {
  margin-right: 8px;
}

.match-stats .match-stats-lines-row-stat.team2 > span {
  margin-left: 8px;
}

.match-stats .match-stats-lines-row-stat.empty > span {
  color: #243f53;
}

.match-stats .match-stats-lines-row-stat.empty > span.left {
  margin-left: 10px;
}

.match-stats .match-stats-lines-row-stat.empty > span.right {
  margin-right: 10px;
}

.match-empty-block {
  text-align: center;
  width: 100%;
  color: #243f53;
  font-size: 15px;
  display: block;
  line-height: 80px;
}

/*Судейский корпус*/
.match .match-referees {
  padding: 0 26px 36px;
}

.match-referees .match-referees-title {
  text-align: center;
  font-size: 20px;
  color: #000000;
  line-height: 90px;
  text-transform: uppercase;
  border-top: 1px solid #dddddd;
}

.match-referees .match-referees-cont {
  width: 50%;
}

.match-referees .referee {

}

.match-referees .referee .referee-name {
  font-size: 17px;
  color: #000000;
  line-height: 28px;
}

.match-referees .referee .referee-name.position {
  color: #636363;
  text-align: right;
  padding-right: 6px;
}

.match-referees .referee .referee-name:not(.position) {
  padding-left: 6px;
}

/*История личных встреч*/
.match-history {

}

.match-history .match-history-title {
  text-align: center;
  font-size: 20px;
  color: #000000;
  line-height: 56px;
  text-transform: uppercase;
  border-bottom: 1px solid #dddddd;
}

/*Медиа*/
.match .media-photos .ug-button-tile-navigation {
  background-image: none;
  background-color: #475065;
  position: relative;
}

.match .media-photos .ug-button-tile-navigation:after {
  content: '';
  font-family: 'FontAwesome';
  font-size: 14px;
  color: #ffffff;
  position: absolute;
  top: 11px;
  left: 12px;
}

.match .media-photos .ug-button-tile-navigation.ug-button-tile-left:after {
  content: "\f053";
}

.match .media-photos .ug-button-tile-navigation.ug-button-tile-right:after {
  content: "\f054";
}

.media-photos .ug-button-tile-navigation.ug-button-tile-play:after {
  content: "\f04b";
}

.media-photos .ug-button-tile-navigation.ug-button-tile-play.ug-pause-icon:after {
  content: "\f04c";
}

.match .media .main-separator {
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
  height: 15px;
}

.member-amplua-mobile,
.match-place-mobile {
  display: none;
}

@media (max-width: 481px) and (orientation: portrait) {
  .match {
    margin-top: 50px;
  }

  .match .match-header {
    height: auto;
    background-size: cover;
    background-position: center;
  }

  .match .team {
    width: 33%;
    box-sizing: border-box;
    height: auto;
    margin-top: 0;
  }

  .match .team.team1 {
    padding-left: 15px;
    text-align: center;
  }

  .match .team.team2 {
    padding-right: 15px;
    text-align: center;
  }

  .match .match-date {
    width: 34%;
  }

  .match .score {
    width: 100%;
    margin-top: 15px;
  }

  .match .team .team-tr {
    display: flex;
    flex-direction: column;
  }

  .match .team .team-logo {
    width: 75px;
    height: 75px;
  }

  .match .team .team-logo img {
    width: 100%;
    height: auto;
  }

  .match .team .team-title {
    font-size: 16px;
  }

  .match .team.team1 .team-title-cont,
  .match .team.team2 .team-title-cont {
    padding: 10px 0 0 0;
  }

  .match .team .team-title-cont {
    height: auto;
    order: 2;
  }

  .match .match-header-data {
    height: auto;
    padding-top: 90px;
    position: relative;
  }

  .match .match-date-time {
    font-size: 16px;
    position: absolute;
    top: 0;
    margin: 20px 0;
  }

  .match-place-mobile {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
  }

  .match-place-mobile .match-place {
    top: 30px;
  }

  .match .match-header .score .score-digits {
    font-size: 36px;
    height: 66px;
  }

  .match .score .score-digits .additional {
    font-size: 14px;
    left: 3px;
    letter-spacing: 1px;
  }

  .match .match-header-data-subinfo .tournament-title {
    font-size: 14px;
  }

  .match .match-header-data-subinfo {
    padding: 20px 15px 0 15px;
  }

  .match .sfl-tabs {
    margin: 0;
  }

  .match .sfl-tabs > ul {
    display: flex;
  }

  .match .sfl-tabs > ul > li {
    flex-grow: 1;
  }

  .match .sfl-tabs > ul > li > a {
    font-size: 14px;
    padding: 0;
  }

  .match .media .section-desc {
    margin: 10px 0 10px 0;
    font-size: 14px;
  }

  .match-block .match-block-teams > div {
    width: 100%;
  }

  .match-protocol .member .member-name-cont {
    width: 46%;
  }

  .match-protocol .member {
    height: auto;
  }

  .match-protocol .member .member-number {
    height: 24px;
    font-size: 14px;
    width: 15px;
    line-height: 22px;
  }

  .match-protocol .member .member-name {
    max-width: 100%;
    white-space: unset;
    overflow: unset;
    font-size: 16px;
    line-height: 20px;
  }

  .match-protocol .member .member-events-cont {
    max-width: 54%;
    padding-right: 3px;
  }

  .match-protocol .member .member-event {
    display: flex;
    flex-wrap: wrap;
    margin-right: 4px;
  }

  .member-amplua-mobile {
    display: inline-block;
    margin: 0 !important;
  }

  .match-protocol .team1 .member .member-name {
    margin-left: 4px;
  }

  .match-protocol .team2 .member .member-name {
    margin-right: 4px;
  }

  .match-blocks .match-block-teams .match-block-teams-text {
    width: 100%;
    display: block;
    position: static;
    font-size: 16px;
    line-height: 60px;
    height: 55px;
    text-align: center;
    border-bottom: 1px solid #dddddd;
  }

  .match-block .match-block-team-cont {
    height: 48px;
    padding: 7px 15px;
  }

  .match-block .team1 .match-block-team-title,
  .match-block .team2 .match-block-team-title {
    margin: 0;
    font-size: 17px;
    line-height: 33px;
    display: block;
    width: 100%;
    text-align: center;
    top: 0;
  }

  .match-empty-block {
    line-height: 48px;
    font-size: 14px;
    border-bottom: 1px solid #dddddd;
  }

  .match-block .match-block-team-cont:before {
    background-color: #dddddd;
  }

  .match-protocol .match-protocol-team .match-protocol-team-members:not(.referees):after {
    display: none;
  }

  .match-events .match-block-teams {
    display: none;
  }

  .match-events .match-events-cont {
    padding: 14px 10px 20px;
    margin: 0;
    position: unset;
  }

  .match-events .player {
    display: flex;
    align-items: center;
  }

  .match-events .event-row {
    height: 92px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  .match-events .event-row.shootout {
    height: 60px;
    padding: 5px 0;
  }

  .match-events .event-row.team2 {
    justify-content: flex-end;
  }

  .match-events .event-row .event-row-icon {
    top: 3px;
  }

  .match-events .event-row.team1 .event-row-icon {
    order: 2;
  }

  .match-events .player .player-name > a {
    font-size: 13px;
    line-height: 15px;
  }

  .match-events .player .author .author-note,
  .match-events .player .player-name.assist > a {
    font-size: 12px;
    line-height: 14px;
  }

  .match-events .player {
    width: calc((100% - 70px) / 2);
  }

  .match-events .player.left {
    justify-content: flex-end;
  }

  .match-events .player.right {
    order: 2;
  }

  .match-events .event-time:before {
    width: 30px;
    height: 30px;
    left: 13px;
  }

  .match-events .event-time {
    font-size: 15px;
    line-height: 35px;
    margin: 0 5px;
    width: 60px;
    flex-shrink: 0;
  }

  .match-events .event-score {
    font-size: 16px;
    line-height: 35px;
    margin: 0 10px;
    width: 50px;
  }

  .match-events .event-time:not(.last):after {
    left: 29px;
  }

  .match-events .event-row .event-row-icon {
    flex-shrink: 0;
  }

  .match-events .event-row.team1 .event-row-icon {
    margin-left: 5px;
    width: auto;
  }

  .match-events .event-row.team2 .event-row-icon {
    margin-right: 5px;
  }

  .match-events .player .author {
    width: 75%;
    height: auto;
  }

  .match-events .match-events-cont .match-events-block:not(:last-child):before,
  .match-events .match-events-cont .match-events-block:not(:last-child):after {
    width: 110px;
  }

  .match-events .match-events-cont .match-events-block:not(:last-child):before {
    left: -12px;
  }

  .match-events .match-events-cont .match-events-block:not(:last-child):after {
    right: -12px;
  }

  .match .match-referees,
  .match .match-stats {
    padding: 10px 15px 15px 15px;
    border-top: 1px solid #dddddd;
  }

  .match-referees .match-referees-title,
  .match-stats .match-stats-title {
    border-top: none;
    font-size: 16px;
    line-height: 40px;
  }

  .match-referees .referee .referee-name {
    font-size: 14px;
  }

  .match-stats .match-stats-lines-row-name {
    font-size: 14px;
  }

  .match-stats .match-stats-lines-row-stat > span {
    line-height: 20px;
    font-size: 14px;
  }

  .match-stats .match-stats-lines-row {
    height: 20px;
    margin-bottom: 12px;
  }

  .match-history .match-history-title {
    font-size: 16px;
  }
}
