* {
  box-sizing: border-box;
}

/*Выбор сезона команд*/

.teams-season {
  margin-bottom: 40px;
  height: 38px;
}

.teams-season-title {
  font-size: 40px;
  font-weight: 500;
  color: #222222;
  text-transform: uppercase;
}

.teams-season-remote {
  position: relative;
  bottom: -12px;
}

.teams-season .sfl-tabs {
  margin-right: 55px;
}

.teams-season .sfl-tabs ul > li:not(:last-child) {
  margin-right: 4px;
}

.teams-season .sfl-tabs li > a > span {
  text-transform: uppercase;
}

/*Список команд*/
/*Список команд турнира*/

.teams-list .teams-list-box {
  float: left;
  width: calc(100% / 4 - 15px);
  height: 127px;
  box-sizing: border-box;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 5px;
  background-color: #ffffff;
  margin-bottom: 24px;
  display: block;
  position: relative;
}

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

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

.teams-list .teams-list-box-cont-logo {
  width: 128px;
  height: 128px;
  border: 1px solid #efefef;
  box-sizing: border-box;
}

.teams-list .teams-list-box-cont-logo img {
  width: 100%;
  height: 100%;
}

.teams-list .teams-list-box-cont-title {
  width: 120px;
  margin: 20px;
  max-height: 87px;
  overflow: hidden;
  font-size: 18px;
  color: #363636;
  font-weight: 500;
}

.teams-list .teams-list-box:hover .teams-list-box-cont-title {
  text-shadow: 0 0 0 #000000;
}

/*Заголовок (превью) команды*/

.team-header {
  position: relative;
  margin-bottom: 20px;
}

.team-header.no-margin {
  margin: 0;
}

.team-header .team-header-cover {
  width: 100%;
  height: 428px;
  background-size: 100% 100%;
}

.team-header .team-header-cont {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  padding: 84px 28px 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  box-sizing: border-box;
}

.team-header .team-header-cont-logo {
  width: 92px;
  height: 92px;
  border-radius: 0;
}

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

.team-header .team-header-cont-inner {
  margin-left: 30px;
  width: 702px;
  height: 74px;
  overflow: hidden;
  box-sizing: border-box;
}

.team-header .team-header-cont-title {
  display: table;
  height: 100%;
}

.team-header .team-header-cont-title span {
  display: table-cell;
  vertical-align: middle;
  font-size: 34px;
  line-height: 34px;
  color: #ffffff;
}

.team-header .team-header-cont-title:hover {
  text-shadow: 0 0 0 #ffffff;
}

.team-header .team-header-cont-site {
  font-size: 15px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: underline;
  margin-left: 30px;
}

.team-header-info {
  background-color: #ffffff;
  padding: 30px 28px 42px;
  margin-bottom: 36px;
}

/*Состав команды*/

.team-subtitle {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  color: #ff8207;
  margin: 0 0 20px 0;
}

.team-subtitle:not(:first-of-type) {
  margin: 20px 0 20px 0;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
}

.team-members .team-members-box {
  width: calc((100% - 60px)/4);
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 5px;
  background-color: #ffffff;
  margin-bottom: 20px;
  display: block;
  position: relative;
  flex-shrink: 0;
}

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

.team-members-box-cont span {
  display: block;
}

.team-members .team-members-box-logo img {
  width: 100%;
}

.team-members .team-members-box-name {
  display: block;
  font-size: 14px;
  line-height: 16px;
  font-style: italic;
  text-transform: uppercase;
  padding: 30px 15px;
  text-align: center;
  color: #2f2c2e;
}

.team-members .team-members-box .team-members-box-name:hover {
  color: #ff8207;
  transition: 0.2s;
}

.team-members .team-members-box-number {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  padding: 5px;
  background-color: rgba(255,136,7,.75);
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f9fafa;
  height: 36px;
}

.team-members .team-members-box .team-members-box-position,
.team-members .team-members-box .team-members-box-out-date {
  font-size: 13px;
  font-weight: 300;
  color: #000000;
  margin: 10px 20px 0;
}

/*Слайдер с игроками на главной*/

div.slider-wrapper {
  padding: 0 5px;
}

.team-members-slider-container {
  position: relative;
}

.team-members-slider-arrow {
  position: absolute;
  width: 40px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
}

.team-members-slider-arrow-left {
  left: -35px;
}

.team-members-slider-arrow-right {
  right: -35px;
}

.team-members-slider-arrow i {
  font-size: 32px;
  font-weight: bold;
  color: #2f2c2e;
}

.team-members-slider-arrow:hover i {
  color: #ff8207;
  transition: 0.2s;
}

.team-members-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0 2px;
}

.team-members-slider .team-members-box {
  width: calc((100% - 100px) / 6);
  box-shadow: unset;
}

.team-members-slider .team-members-box .team-members-cont {
  margin: 0 10px;
  border: 1px solid #e9e9e9;
  height: 100%;
}

.team-members-slider .team-members-box .team-members-box-number {
  left: 15px;
}

@media (max-width: 1246px) {
  .team-members-slider-arrow {
    display: none;
  }
}

/*Профиль игрока*/

.member-profile {
  margin-bottom: 30px;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 5px;
}

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

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

.member-profile .member-profile-cont {
  position: relative;
}

.member-profile .member-profile-cont-top {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  height: 60px;
  border-bottom: 2px solid #ffd9b4;
}

.member-profile .member-profile-cont-top-title {
  color: #2f2c2e;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

.member-profile-info .member-profile-cont-top {
  height: 80px;
}

.member-profile .member-profile-cont-name {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #2f2c2e;
  padding: 0 30px 0 0;
}

.member-profile-cont-block-container {
  padding: 20px 40px;
}

.member-profile-info .member-profile-cont-block-container {
  column-count: 2;
}

.member-profile .member-profile-cont-block {
  color: #222222;
  margin-bottom: 20px;
}

.member-profile .member-profile-cont-block .date,
.member-profile .member-profile-cont-block .team {
  color: #222222;
  font-weight: 400;
}

/*Выбор сезона игрока*/

.member-season {
  margin: 0 0 20px 0;
}

.member-season-title {
  font-size: 18px;
  line-height: 32px;
  margin-right: 20px;
}

.member-season .sfl-div-select {
  background-color: #7493a2;
}

/*Трансфер игрока*/

.member-profile-transfer {
  margin-top: 34px;
}

.member-profile-transfer caption {
  padding-left: 28px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 24px;
  text-align: left;
  color: #000000;
  line-height: 70px;
  background-color: #ffffff;
}

.member-profile-transfer table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.member-profile-transfer table tr:first-child {
  border-bottom: 1px solid #e9e9e9;
}

.member-profile-transfer th,
.member-profile-transfer td {
  padding: 10px 20px;
  text-align: left;
}

.member-profile-transfer th {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
}

.member-profile-transfer td.arrow span {
  display: inline-block;
  background-image: url(../img/transfer-arrow.png);
  width: 128px;
  height: 18px;
  background-repeat: no-repeat;
}

.member-profile-transfer th.in,
.member-profile-transfer th.out,
.member-profile-transfer td.in,
.member-profile-transfer td.out {
  text-align: left;
}

.member-profile-transfer td.in[colspan] {
  text-align: center;
}

.member-profile-transfer td.in a,
.member-profile-transfer td.out a {
  font-size: 18px;
  font-weight: 500;
  color: #222222;
}

.member-profile-transfer td.in a:hover,
.member-profile-transfer td.out a:hover {
  text-shadow: 0 0 0 #000000;
}

.member-profile-transfer td.in .team-logo,
.member-profile-transfer td.out .team-logo {
  width: 36px;
  height: 36px;
  border: 1px solid #efefef;
  display: inline-block;
}

.member-profile-transfer td.in .team-logo > img,
.member-profile-transfer td.out .team-logo > img {
  width: 100%;
  height: 100%;
}

.member-profile-transfer td.in .team-title,
.member-profile-transfer td.out .team-title {
  margin-left: 12px;
}

.member-profile-transfer td.id,
.member-profile-transfer td.date {
  font-size: 18px;
  color: #222222;
}

.member-profile-transfer td.id {
  width: 44px;
}

.all-players-btn {
  margin: auto;
  display: block;
  width: 290px;
  text-align: center;
  line-height: 48px;
  background: #243f53;
  color: #ffffff;
  cursor: pointer;
  position: relative;
}

/*Выбор турнира*/

.team-tournaments {
  margin-bottom: 16px;
  height: 100%;
  width: 100%;
}

.team-tournaments .left-arrow,
.team-tournaments .right-arrow {
  width: 32px;
  height: 50px;
  background-color: #ffffff;
  cursor: pointer;
  float: left;
  position: relative;
}

.team-tournaments .left-arrow:after,
.team-tournaments .right-arrow:after {
  content: '';
  width: 11px;
  height: 19px;
  background-image: url(../img/chevron-spray.png);
  background-position: 0 -71px;
  position: absolute;
  top: 15px;
  left: 8px;
}

.team-tournaments .right-arrow:after {
  transform: rotate(180deg);
}

.team-tournaments .left-arrow.disable,
.team-tournaments .right-arrow.disable {
  opacity: 0.2;
}

.team-tournaments .team-tournaments-box {
  width: 910px;
  height: 50px;
  position: relative;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.team-tournaments .team-tournaments-box-chooser {
  margin: 9px;
}

.team-tournaments .team-tournaments-cont {
  overflow: hidden;
  float: left;
  width: 780px;
  padding-bottom: 14px;
}

.team-tournaments .team-tournaments-cont.more {
  width: calc(100% - 194px);
}

.team-tournaments .team-tournaments-cont-empty {
  line-height: 50px;
  padding-left: 32px;
}

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

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

.tournaments-tables-cont > ul > li,
.team-tournaments-cont > ul > li {
  text-transform: uppercase;
  text-align: center;
  background-color: #ffffff;
  float: left;
}

.team-tournaments-cont > ul > li.active {
  background-color: #fd9f01;
  position: relative;
}

.team-tournaments-cont.one > ul > li {
  width: 780px;
}

.team-tournaments-cont.two > ul > li {
  width: calc(780px / 2);
}

.team-tournaments-cont.three > ul > li {
  width: calc(780px / 3);
}

.team-tournaments-cont.more > ul > li {
  width: calc(716px / 3);
}

.team-tournaments-cont > ul > li.active:after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: calc(50% - 13px);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 14px solid #fd9f01;
}

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

.team-tournaments-cont > ul > li.active > a {
  font-weight: 400;
}

div.main-sidebar-player {
  width: 320px;
  float: left;
}

div.main-content-player.with-sidebar {
  width: 870px;
  float: right;
}

.main-sidebar-player img {
  width: 100%;
}

.member-box-number {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 45px;
  padding: 5px;
  background-color: rgba(255,136,7,.75);
  font-size: 25px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f9fafa;
  height: 45px;
}

.member-profile  .member-profile-cont-flag {
  display: flex;
}

.member-profile .member-profile-flag-container {
  position: relative;
  margin: 0 10px 0 0;
}

.member-profile .member-profile-flag-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 20px;
  border: 1px solid rgba(176, 176, 176, 0.3);
}

.table--player {
  box-shadow: none;
  border: 1px solid #dddddd;
}

.table--player .table-head {
  background-color: #2f2c2e;
}

.table--player-wins .table-head {
  background-color: #ff8207;
}

.table--player .table-head .table-cell {
  color: #ffffff;
}

.table--player .table-cell {
  width: 60px;
}

.table--player .table-cell-season {
  width: 120px;
}

.table--player .table-cell-tournament {
  width: 370px;
}

table.table--player tr.table-row-bold {
  border-top: 1px solid #000000;
  border-bottom: unset !important;
}

.table--player .table-row-bold .table-cell {
  font-weight: 700;
}

.table--player-wins .table-cell {
  padding: 0 20px;
}

.table--player-wins .table-cell-bold {
  font-weight: 700;
}

.member-season .color-dropdown {
  background-color: #ff8207;
  width: 180px;
  position: relative;
}

.member-season .color-dropdown .color-dropdown-title {
  border-radius: unset;
  border: none;
  display: block;
  line-height: 35px;
  position: relative;
  cursor: pointer;
}

.member-season .color-dropdown .color-dropdown-title span {
  display: block;
  max-width: 80%;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px 0 15px;
}

.member-season .color-dropdown:after {
  content: '\f107';
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 22px;
  font-family: FontAwesome;
  color: #ffffff;
  font-style: normal;
  transition: all 0.25s;
  z-index: 2;
  line-height: 35px;
  pointer-events: none;
}

.member-season .color-dropdown.open:after {
  transform: rotate(180deg);
}

.member-season .color-dropdown .color-dropdown-title:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background-color: #2f2c2e;
}

.member-season .color-dropdown.open .color-dropdown-title:after {
  transform: none;
}

.member-season .color-dropdown .color-dropdown-title:before {
  content: '';
  position: absolute;
  top: 0;
  right: 10px;
  width: 30px;
  transform: skewX(-30deg);
  height: 100%;
  background-color: #2f2c2e;
  border-left: 3px solid #ffffff;
}

.member-season .color-dropdown ul {
  top: 35px;
  background-color: #ffd9b4;
  box-shadow: none;
  border-bottom: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  border-left: 1px solid #e9e9e9;
  list-style: none;
  position: absolute;
  width: 100%;
  max-height: none !important;
}

.member-season .color-dropdown ul > li,
.member-season .color-dropdown ul > li a {
  text-align: left;
}

.member-season .color-dropdown ul > li a {
  padding: 0 15px;
  color: #000000;
  line-height: 32px;
}

.member-season .color-dropdown ul > li:not(:last-child) {
  border-bottom: 1px solid #ffffff;
}

.member-season .color-dropdown ul > li.active,
.member-season .color-dropdown ul > li:hover {
  background-color: unset;
}





