/*Список команд*/
.teams-list {

}

.teams-list .teams-list-box {
  float: left;
  width: calc((100% - 176px) / 5);
  padding: 24px;
  box-sizing: border-box;
  margin-bottom: 24px;
  background-color: #ffffff;
}

.teams-list.four-columns .teams-list-box {
  width: calc((100% - 90px) / 4);
  margin-bottom: 28px;
}

.teams-list:not(.four-columns) .teams-list-box:not(:nth-child(5n)) {
  margin-right: 44px;
}

.teams-list.four-columns .teams-list-box:not(:nth-child(4n)) {
  margin-right: 30px;
}

.teams-list .teams-list-box-image {
  width: 100%;
}

.teams-list .teams-list-box-image > img {
  width: 100%;
  height: 100%;
}

.teams-list .teams-list-box-name {
  display: table;
  width: 100%;
  margin-top: 10px;
}

.teams-list .teams-list-box-name span {
  display: table-cell;
  height: 46px;
  vertical-align: middle;
  font-size: 22px;
  color: #000000;
  text-align: center;
  line-height: 23px;
}

/*Заголовок (превью) команды*/
.team-header {
  width: 100%;
  height: 206px;
  background-color: #ffffff;
}

.team-header .team-header-logo {
  width: 180px;
  height: 180px;
  padding: 14px;
  border-right: 1px solid #dddddd;
}

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

.team-header .team-header-cont {
  width: 700px;
  height: 100%;
}

.team-header .team-header-cont-title {
  height: 78px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #dddddd;
  position: relative;
}

.team-header .team-header-cont-title .title {
  font-size: 35px;
  line-height: 60px;
  color: #1c2029;
}

.team-header .team-header-cont-title .link {
  font-size: 16px;
  line-height: 78px;
  color: #636363;
}

.team-header .team-header-cont-title .link:hover {
  text-decoration: underline;
}

.team-header .team-header-cont-title .progress {
  line-height: 78px;
}

.team-header .foundation-year {
  position: absolute;
  bottom: 8px;
  font-size: 15px;
}

.team-header .foundation-year-title {
  padding-right: 4px;
  color: #636363;
}

.team-header .foundation-year-value {
  font-size: 15px;
  color: #000000;
}

.team-header .team-header-cont-info {
  height: calc(100% - 78px);
}

.team-header .team-header-cont-info .info {
  width: calc(100% - 372px);
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  border-right: 1px solid #dddddd;
}

.team-header .info .info-block:not(:last-child) {
  margin-bottom: 12px;
}

.team-header .info-block .info-block-title {
  margin-right: 20px;
  margin-bottom: 2px;
  font-size: 15px;
  color: #636363;
}

.team-header .info-block .info-block-value {
  font-size: 15px;
  color: #000000;
}

.team-header .team-header-cont-info .captain {
  width: 372px;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.team-header .captain .captain-block:not(:last-child) {
  margin-bottom: 10px;
}

.team-header .captain-block .captain-block-title {
  margin-bottom: 2px;
  font-size: 15px;
  color: #636363;
}

.team-header .captain-block .captain-block-value {

}

.team-header .captain-block .captain-block-value > a {
  display: inline-block;
  width: 14px;
  height: 20px;
  margin-right: 4px;
  position: relative;
}

.team-header .captain-block .captain-block-value > a:before {
  content: "\f0c1";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: #ff4847;
}

.team-header .captain-block .captain-block-value > span {
  font-size: 15px;
  color: #000000;
}

/*Обложка команды*/
.team-cover {
  width: 100%;
  height: 606px;
}

/*Состав команды*/
.team-members {
  margin-top: 20px;
}

.team-members .team-members-box {
  float: left;
  width: calc((100% - 78px) / 4);
  height: 350px;
  padding: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  margin-bottom: 20px;
}

.team-members .team-members-box:not(:nth-child(4n)) {
  margin-right: 26px;
}

.team-members .team-members-box-image {
  width: 180px;
  height: 180px;
}

.team-members .team-members-box-image > img {
  width: 100%;
  height: 100%;
}

.team-members .team-members-box-cont {
  width: 100%;
  height: 152px;
  text-align: center;
  display: table;
}

.team-members .team-members-box-cont .row {
  display: table-row;
}

.team-members .team-members-box-cont .cell {
  display: table-cell;
  color: #000000;
  vertical-align: middle;
  text-align: center;
}

.team-members .team-members-box-cont-name {
  height: 66px;
  font-size: 22px;
  line-height: 23px;
}

.team-members .team-members-box-cont-status {
  height: 36px;
  font-size: 15px;
}

.team-members .team-members-box-cont-faculty {
  height: 48px;
  font-size: 13px;
  border-top: 1px solid #c0c0c0;
}

/*Профиль игрока*/
.member-profile {
  background-color: #ffffff;
}

.member-profile .member-profile-image {
  width: 280px;
  height: 280px;
}

.member-profile .member-profile-image > img {
  width: 100%;
  height: 100%;
}

.member-profile .member-profile-cont {
  width: calc(100% - 280px);
  padding: 48px 54px;
  box-sizing: border-box;
  position: relative;
}

.member-profile .member-profile-cont-name {
  font-size: 36px;
  color: #1c2029;
  margin-bottom: 36px;
  display: inline-block;
}

.member-profile .member-profile-cont-block {
  font-size: 18px;
  color: #000000;
  margin-bottom: 14px;
}

.member-profile .member-profile-cont-block .label {
  width: 114px;
  display: inline-block;
  margin-right: 20px;
  font-size: 18px;
  color: #636363;
}

.member-profile .member-profile-cont-block .value {
  display: inline-block;
  font-size: 18px;
  color: #000000;
}

.member-profile .member-profile-cont-block .age {
  color: #636363;
}

/*Трансфер игрока*/
.transfer table {
  background-color: #ffffff;
  border-collapse: collapse;
  width: 100%;
}

.transfer tr {
  height: 70px;
}

.transfer tr:not(:last-child) {
  border-bottom: 1px solid #dddddd;
}

.transfer tr.abbr {
  height: 46px;
  background-color: #576075;
  border-bottom: none;
}

.transfer tr.abbr-2 {
  height: 40px;
  background-color: #9097a8;
  border-bottom: none;
}

.transfer td abbr {
  font-weight: 400;
}

.transfer tr td:first-child {
  padding-left: 26px;
}

.transfer tr.abbr td {
  font-size: 15px;
  color: #ffffff;
}

.transfer tr.abbr-2 td {
  font-size: 15px;
  color: #e5e5e5;
}

.transfer tr.abbr td:first-child {
  text-transform: uppercase;
  text-align: left;
}

.transfer tr.abbr-2 td {
  font-size: 15px;
  color: #e5e5e5;
}

.transfer tr.team-tr .team {
  text-align: left;
}

.transfer tr.team-tr .team-image {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-right: 20px;
}

.transfer tr.team-tr .team-image img {
  width: 100%;
  height: 100%;
  border: 1px solid #dddddd;
  border-radius: 3px;
}

.transfer tr.team-tr .team-title {
  font-size: 15px;
  color: #636363;
}

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

.transfer .date,
.transfer .id {
  font-size: 15px;
  color: #000000;
}

.transfer .arrow {
  width: 100px;
}

.transfer .transfer-arrow {
  width: 31px;
  height: 12px;
  background-image: url('../img/transfer-arrow.png');
}

/*Комментарии тренера*/
.match-comments {
  border: 1px solid #eaeaea;
  padding: 20px;
}

.match-comment .match {
  width: 300px;
}

.match-comments .match-comment:not(:last-child) {
  margin-bottom: 41px;
  position: relative;
}

.match-comments .match-comment:not(:last-child):after {
  content: '';
  position: absolute;
  bottom: -21px;
  left: 5%;
  width: 90%;
  height: 1px;
  background-color: #eaeaea;
}

.match-comment .match .match-date {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.match-comment .match .match-place {
  font-size: 14px;
  text-align: center;
}

.match-comment .match .match-teams {
  margin-top: 16px;
}

.match-comment .match .team {
  width: calc((100% - 60px) / 2);
  text-align: center;
}

.match-comment .match .team-logo {
  width: 94px !important;
  height: 94px;
  display: inline-block;
  text-align: center;
}

.match-comment .match .team-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-top: 6px;
}

.match-comment .match .team-coach {
  font-size: 12px;
  display: block;
  color: #a9a9a9;
}

.match-comment .match .team-title:hover,
.match-comment .match .team-coach:hover {
  color: #09aa1e;
}

.match-comment .match .score {
  width: 60px;
  text-align: center;
  color: #000000;
}

.match-comment .match .score-digits {
  margin-top: 30px;
  font-size: 24px;
  font-weight: 700;
  display: block;
  color: #000000;
}

.match-comment .match .score-digits:hover {
  color: #09aa1e;
}

.match-comment .match .score-digits-additional {
  font-size: 14px;
  font-weight: 400;
  margin-top: -4px;
}

.match-comment .comment {
  margin-left: 24px;
  font-size: 18px;
  position: relative;
  width: 842px;
}

.match-comment .comment:before {
  content: '"';
  position: absolute;
  top: -8px;
  left: -16px;
  font-size: 30px;
  font-weight: 700;
  color: #09aa1e;
}

/*Цитата тренера*/
.coach-excerpt {
  margin-bottom: 26px;
}

.coach-excerpt .coach-excerpt-text {
  font-size: 18px;
  line-height: 18px;
  padding: 20px 0 10px 36px;
  position: relative;
}

.coach-excerpt .coach-excerpt-text:before {
  content: '"';
  position: absolute;
  top: 26px;
  left: 14px;
  color: #09aa1e;
  font-size: 50px
}

.coach-excerpt .coach-excerpt-profile {

}

.coach-excerpt .coach-excerpt-profile .logo {
  width: 72px;
  height: 72px;
}

.coach-excerpt .coach-excerpt-profile .logo > img {
  width: 100%;
  height: 100%;
}

.coach-excerpt .coach-excerpt-profile-cont {
  margin-right: 6px;
  margin-top: 4px;
}

.coach-excerpt .coach-excerpt-profile-cont > a {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.coach-excerpt .coach-excerpt-profile-cont > a:hover {
  color: #09aa1e;
}

.coach-excerpt .coach-excerpt-profile-cont > span {
  color: #afafaf;
  margin-top: -2px;
}

/*Выбор турнира*/
.team-tournaments {
  margin-bottom: 20px;
  background-color: #09aa1e;
  height: 100%;
  width: 100%;
}

.team-tournaments .left-arrow,
.team-tournaments .right-arrow {
  height: 32px;
  width: 32px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  margin-top: 12px;
  font-size: 26px;
  float: left;
}

.team-tournaments .left-arrow:not(.disable):hover,
.team-tournaments .right-arrow:not(.disable):hover {
  color: #ffff33;
}

.team-tournaments .left-arrow.disable,
.team-tournaments .right-arrow.disable {
  color: rgba(234, 234, 234, 0.41);
}

.team-tournaments .team-tournaments-cont {
  width: calc(100% - 240px);
  overflow: hidden;
  float: left;
}

.team-tournaments-cont > ul {
  list-style-type: none;
  width: 1000%;
  position: relative;
  left: 0;
}

.team-tournaments-cont > ul > li {
  float: left;
  height: 36px;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  width: calc(670px / 4);
  text-align: center;
}

.team-tournaments-cont > ul > li > a {
  color: #000000;
  line-height: 36px;
  display: block;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-tournaments-cont > ul > li.active > a:hover,
.team-tournaments-cont > ul > li.active > a {
  color: #ffff33
}

@media (max-width: 481px) and (orientation: portrait) {
  .teams-list {
    display: flex;
    flex-wrap: wrap;
    padding-top: 25px;
  }

  .mobile-teams {
    padding-top: 50px;
  }

  .teams-list .teams-list-box {
    width: calc((100% - 15px) / 2) !important;
    padding: 12px;
    margin: 0 15px 15px 0 !important;
  }

  .teams-list .teams-list-box:nth-child(2n) {
    margin: 0 0 15px 0 !important;
  }

  .teams-list .teams-list-box-name span {
    font-size: 16px;
    height: 30px;
  }

  .member-profile {
    padding: 15px;
  }

  .member-profile .member-profile-image {
    width: 100%;
    height: auto;
  }

  .member-profile .member-profile-cont {
    width: 100%;
    padding: 0;
  }

  .member-profile .member-profile-cont-name {
    font-size: 20px;
    margin: 15px 0;
  }

  .member-profile .member-profile-cont-block,
  .member-profile .member-profile-cont-block .label,
  .member-profile .member-profile-cont-block .value {
    font-size: 14px;
  }

  .member-profile .member-profile-cont-block {
    margin-bottom: 10px;
  }

  .member-profile .member-profile-cont-block .label {
    width: auto;
    margin-right: 5px;
  }

  .team-header {
    height: auto;
  }

  .section-title ~ .team-header {
    margin-top: 50px;
  }

  .team-header .team-header-cont {
    width: 100%;
  }

  .team-header .team-header-logo {
    border-right: none;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .team-header .team-header-cont-info .info {
    width: 100%;
    padding: 15px;
    display: flex;
    border-bottom: 1px solid #dddddd;
  }

  .team-header .info-block .info-block-title,
  .team-header .info-block .info-block-value,
  .team-header .captain-block .captain-block-title,
  .team-header .captain-block .captain-block-value > span,
  .team-header .foundation-year,
  .team-header .foundation-year-value {
    font-size: 14px;
  }

  .team-header .team-header-cont-info .captain {
    width: 100%;
    padding: 15px 15px 20px 15px;
  }

  .team-header .info .info-block:not(:last-child) {
    margin: 0;
  }

  .team-header .team-header-cont-title {
    height: auto;
    padding: 0 15px 10px 15px;
  }

  .team-header .team-header-cont-title .title {
    float: none;
    font-size: 22px;
    line-height: 30px;
  }

  .team-header .team-header-cont-title .progress {
    float: none;
    line-height: 30px;
  }

  .team-header .foundation-year {
    position: static;
  }

  .team-header .team-header-cont-title .link {
    font-size: 14px;
    line-height: 30px;
    float: none;
    display: block;
  }

  .team-members-tabs > ul > li > a {
    font-size: 14px;
    padding: 0 20px;
  }

  .team-members {
    margin-top: 15px;
  }

  .team-tournament-chooser,
  .team-season-chooser {
    width: calc(100vw - 30px) !important;
  }

  .team-season-chooser {
    margin: 15px 0 0 0;
  }
}
