.tournament-info {
  background-color: #dadbd4;
  padding: 36px 26px;
  font-size: 15px;
  color: #636363;
}

/*Список турниров*/
.tournaments-header {

}

.tournaments-header .sfl-tabs {
  width: 960px;
}

.tournaments-list {

}

.tournaments-list .tournaments-list-box {
  float: left;
  width: calc((100% - 92px) / 3);
  margin-bottom: 36px;
}

.tournaments-list .tournaments-list-box:not(:nth-child(3n)) {
  margin-right: 46px;
}

.tournaments-list .tournaments-list-box-image {
  width: 100%;
  height: 250px;
  display: block;
  position: relative;
}

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

.tournaments-list .tournaments-list-box-cont {
  background-color: #ffffff;
  padding: 26px;
  position: relative;
}

.tournaments-list .tournaments-list-box-cont-title {
  display: table;
  height: 46px;
  margin-bottom: 18px;
}

.tournaments-list .tournaments-list-box-cont-title > span {
  display: table-cell;
  vertical-align: middle;
  font-size: 22px;
  color: #000000;
}

.tournaments-list .tournaments-list-box-cont-title:hover > span {
  text-decoration: underline;
}

.tournaments-list .tournaments-list-box-cont-date {
  font-size: 14px;
  color: #000000;
  position: relative;
}

.tournaments-list .tournaments-list-box-image .label {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #ffffff;
  padding: 0 26px;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
}

.tournaments-list .tournaments-list-box-image .label.now {
  background-color: #ff4847;
}

.tournaments-list .tournaments-list-box-image .label.finish {
  background-color: #9da1aa;
}

.tournaments-list .tournaments-list-box-image .label.request,
.tournaments-list .tournaments-list-box-image .label.future {
  background-color: #67b947;
}

/*Список команд турнира*/
.tournaments-teams {

}

.tournaments-teams .tournaments-teams-box {
  float: left;
  width: calc(100% / 4 - 35px);
  height: 140px;
  padding: 10px;
  background-color: #ffffff;
  margin-bottom: 20px;
  display: block;
  background-size: 100% 100%;
  position: relative;
}

.tournaments-teams .tournaments-teams-box:not(:nth-child(4n)) {
  margin-right: 20px;
}

.tournaments-teams-box-cont {
  margin-bottom: 10px;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 6px;
  height: 50px;
  left: 0;
  bottom: -10px;
  background-color: rgba(4, 4, 4, 0.6);
}

.tournaments-teams-box-cont span {
  display: block;
}

.tournaments-teams .tournaments-teams-box-cont-title {
  font-size: 20px;
  color: #ffffff;
}

/*Документы (регламент) турнира*/
.tournaments-documents {

}

.tournaments-documents .tournaments-documents-box {
  float: left;
  width: calc((100% - 90px) / 4);
  height: 230px;
  padding: 40px 16px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
  display: block;
  background-color: #ffffff;
}

.tournaments-documents .tournaments-documents-box:not(:nth-child(4n)) {
  margin-right: 30px;
}

.tournaments-documents .tournaments-documents-box-ico {
  height: 118px;
  text-align: center;
}

.tournaments-documents .tournaments-documents-box-ico > div {
  display: inline-block;
}

.tournaments-documents .tournaments-documents-box-title {
  display: table;
  width: 100%;
  margin-bottom: 22px;
  text-align: center;
}

.tournaments-documents .tournaments-documents-box-title > span {
  display: table-cell;
  vertical-align: middle;
  height: 50px;
  font-size: 16px;
  color: #000000;
  line-height: 17px;
  text-align: center;
}

.tournaments-documents .tournaments-documents-box-date {
  color: #959595;
  font-size: 13px;
  text-align: center;
}

/*Статистика турнира*/
.tournaments-stats-tabs {

}

.tournaments-stats-tabs > ul > li {
  width: calc(100% / 8);
}

.tournaments-stats-tabs > ul > li > a {
  padding: 0 12px !important;
  text-align: center;
}

/*Таблицы турниры*/
.tournaments-tables {
  width: 100%;
  margin-bottom: 22px;
}

.tournaments-tables .tournaments-tables-title {
  width: 610px;
  padding: 0 24px;
  box-sizing: border-box;
  font-size: 18px;
  color: #ffffff;
  line-height: 46px;
  text-transform: uppercase;
  background-color: #576075;
}

.tournaments-tables-tabs {
  width: 300px;
}

.tournaments-tables-tabs > ul > li {
  width: 100px;
}

.tournaments-tables-tabs > ul > li > a {
  text-align: center;
}

.tournaments-tables-cont {

}

.tournaments-tables-cont .tournaments-tables-cont-title {
  background-color: #475065;
}

.tournaments-tables-cont .tournaments-tables-cont-title .text {
  padding-left: 26px;
  font-size: 20px;
  color: #ffffff;
  line-height: 44px;
  text-transform: uppercase;
}

.tournament-tables-cont-inner {
  margin-bottom: 20px;
}

/*Закладки Таблица, Шахматка, Форма*/
.tournaments-tables table {
  border-collapse: collapse;
  width: 100%;
  background-color: #ffffff;
}

.tournaments-tables table tr:first-child {
  background-color: #9097a8;
}

.tournaments-tables table tr {
  border-bottom: 1px solid #dddddd;
}

.tournaments-tables table td {
  text-align: center;
  padding: 9px 4px;
  font-size: 15px;
  color: #636363;
}

.tournaments-tables table td.team-title {
  text-align: left;
}

.tournaments-tables table th.team-progress,
.tournaments-tables table td.team-progress {
  padding-left: 128px;
  width: 114px;
}

.tournaments-tables table td.team-progress,
.tournaments-tables table td.team-progress-big,
.tournaments-tables table th.team-progress-big {
  text-align: left;
}

.tournaments-tables table td.team-progress > a {
  display: inline-block;
}

.tournaments-tables table th {
  text-align: center;
  font-weight: 400;
  color: #d2d5db;
  padding: 11px 8px;
}

.tournaments-tables table th abbr {
  font-weight: 400;
}

.tournaments-tables table th.team-progress,
.tournaments-tables table th:nth-child(2) {
  text-align: left;
}

.tournaments-tables table td:first-child {
  width: 44px;
}

.tournaments-tables table td.team-logo {
  width: 52px;
  background-color: transparent;
}

.tournaments-tables table td.team-logo > a {
  display: block;
}

.tournaments-tables table td.team-title {
  width: 230px;
  color: #636363;
}

.tournaments-tables table td.def {
  position: relative
}

.tournaments-tables table td.def > span.label {
  position: absolute;
  left: 0;
  top: 0;
  height: 50px;
  width: 8px;
}

.tournaments-tables table td.team-logo {
  width: 44px;
}

.tournaments-tables table td.team-logo img {
  width: 30px;
  height: 30px;
  border: 1px solid #dddddd;
  border-radius: 3px;
}

.tournaments-tables table td.team-title a {
  font-size: 15px;
  cursor: pointer;
  color: inherit;
}

.tournaments-tables table td.team-title a:hover {
  text-decoration: underline;
}

.tournaments-tables table td:last-child .sfl-icon {
  margin-right: 6px;
  cursor: pointer;
}

.tournaments-tables table td.team-points {
  color: #000000;
}

.tournaments-tables table th.id,
.tournaments-tables table td.id {
  width: 28px;
  text-align: right;
}

.tournaments-tables table th.id {
  padding-right: 16px;
}

.tournaments-tables table td.id span {
  position: relative;
  font-size: 14px;
  display: inline-block;
  margin-right: 10px;
}

.tournaments-tables table td.id span.small {
  font-size: 12px;
}

.tournaments-tables table td.id span:before {
  content: "\f24d";
  font-family: 'FontAwesome';
  font-size: 24px;
  width: 30px;
  height: 30px;
  position: absolute;
  top: -6px;
  left: -16px;
}

.tournaments-tables table td.id span.small:before {
  left: -11px;
  top: -8px;
}

/*Шахматка турнира*/
.tournaments-tables table.chess td {
  color: #000000;
}

.tournaments-tables table.chess td:nth-child(n+4) {
  border: 1px solid #cacaca;
}

.tournaments-tables table.chess td.empty {
  background-color: #b9bec6;
}

.tournaments-tables table.chess td .chess-score {
  display: block;
  margin: auto;
  font-size: 14px;
  color: #000000;
}

.tournaments-tables table.chess td.two-row > .chess-score:nth-child(1) {
  padding-bottom: 2px;
}

.tournaments-tables table.chess td.two-row > .chess-score:nth-child(2) {
  border-top: 1px solid #d5d6d8;
  padding-top: 2px;
}

.tournaments-tables table.chess tr:not(:first-child):hover {
  background-color: #475065;
  cursor: pointer;
}

.tournaments-tables table.chess tr:not(:first-child):hover td:not(.empty, .team-logo, .team-title) {
  background-color: #fbe5e5;
}

.tournaments-tables table.chess tr:not(:first-child):hover td.one-row:hover,
.tournaments-tables table.chess tr:not(:first-child):hover td.two-row:hover {
  background-color: #ff4847;
}

.tournaments-tables table.chess tr:not(:first-child):hover td.one-row a,
.tournaments-tables table.chess tr:not(:first-child):hover td.two-row a {
  position: relative;
  z-index: 2;
}

.tournaments-tables table.chess tr:not(:first-child):hover td,
.tournaments-tables table.chess tr:not(:first-child):hover td a {
  color: #ffffff;
}

.tournaments-text {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 30px;
}

@media (max-width: 481px) and (orientation: portrait) {
  .tournament-info {
    margin-top: 55px;
    padding: 20px 15px 15px 15px;
  }

  .tournaments-list {
    display: flex;
    flex-wrap: wrap;
  }

  .tournaments-list .tournaments-list-box {
    width: 100%;
    margin: 0 0 15px 0 !important;
  }

  .tournaments-header .sfl-tabs {
    width: 100%;
  }

  .tournaments-header .sfl-tabs ul > li {
    width: calc(100%/3);
  }

  .tournaments-header .sfl-tabs > ul > li > a {
    padding: 0;
    text-align: center;
  }

  .tournaments-stats-tabs > ul > li > a {
    padding: 0 2px !important;
  }

  .tournaments-list .tournaments-list-box-image {
    height: auto;
  }

  .tournaments-list .tournaments-list-box-cont {
    padding: 20px 15px 20px 15px;
  }

  .tournaments-list .tournaments-list-box-cont-title {
    height: auto;
    margin-bottom: 15px;
  }

  .tournaments-list .tournaments-list-box-cont-title > span {
    font-size: 16px;
  }

  .tournaments-list .tournaments-list-box-image .label {
    padding: 0 22px;
    font-size: 12px;
    line-height: 24px;
  }

  .tournaments-documents {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
  }

  .tournaments-documents .tournaments-documents-box {
    width: calc((100% - 15px) / 2) !important;
    padding: 12px;
    margin: 0 15px 15px 0 !important;
    height: auto;
  }

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

  .tournaments-documents .tournaments-documents-box-title {
    margin: 0;
  }

  .tournaments-documents .tournaments-documents-box-title > span {
    font-size: 14px;
  }

  .tournaments-documents .tournaments-documents-box-ico {
    height: auto;
    margin-bottom: 5px;
  }

  .tab-slider {
    margin-top: 50px;
  }

  .tournaments-tables {
    padding-top: 50px;
  }

  .tab-slider ~ .tournaments-tables {
    padding-top: 0;
  }

  .tournaments-tables-cont.play-off {
    padding-top: 50px;
  }

  .tab-slider ~ .tournaments-tables-cont.play-off {
    padding-top: 0;
  }

  .tournaments-stats-tabs {
    margin-top: 50px;
  }

  .tab-slider ~ .tournaments-stats-tabs {
    margin-top: 0;
  }

  .tab-slider .tab-slider-box {
    height: auto;
  }

  .tab-slider-cont .tab-slider-link {
    font-size: 16px;
    line-height: 40px;
  }

  .tab-slider .left-arrow,
  .tab-slider .right-arrow {
    height: 40px;
  }

  .tab-slider .left-arrow:after,
  .tab-slider .right-arrow:after {
    background-image: url(../img/chevron-spray-white.png);
    top: 11px;
  }

  .tournaments-tables table td {
    font-size: 14px;
  }

  .tournaments-tables table th {
    padding: 7px 4px;
  }

  #tournamentTablesTable .team-progress {
    display: none;
  }

  .tournaments-tables table td.team-title a {
    font-size: 14px;
    white-space: nowrap;
  }

  .tournaments-tables table td.team-logo {
    padding: 0;
    width: 0;
  }

  .tournaments-tables-tabs {
    width: calc(100vw - 30px);
  }

  .tournaments-tables .sfl-tabs {
    margin: 0;
  }

  .tournaments-tables table td.team-title {
    width: auto;
  }

  .tournaments-tables table td:first-child {
    width: 25px;
  }

  .tournaments-tables-tabs > ul > li {
    width: calc(100%/3);
  }

  .tournaments-tables table td.def > span.label {
    height: 35px;
    width: 4px;
  }

  .tournaments-tables-cont .tournaments-tables-cont-title .text {
    padding-left: 15px;
    font-size: 16px;
    line-height: 40px;
  }

  .tournaments-stats-tabs > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .tournaments-stats-tabs > ul > li {
    width: calc((100%/3) - 5px);
  }

  .tournaments-stats-tabs > ul > li > a {
    font-size: 13px !important;
  }

  #tournamentTablesChess {
    overflow-x: scroll;
  }

  .tournaments-tables table.chess td {
    padding: 9px 2px;
  }

  .tournaments-tables table.chess td .chess-score {
    font-size: 12px;
  }

  .tournaments-tables table.chess td:first-child {
    width: 17px
  }

  .main-sidebar-tournament .sfl-dropdown {
    top: 105px;
    z-index: 2;
  }

  .main-content-parent .tournament-info {
    margin-top: 110px;
  }
}
