#tournamentsWrap {
  	background:#fff;
  	padding:30px;
}

#tournamentHeader {
	margin-bottom:30px;
  	padding-bottom: 65px;
}

#tournamentsWrap h1 {
	font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: #000000;
  	font-weight: normal;
}

.tournamentsHeader {
	border-bottom:1px solid #0000004d
}
#tournamentsWrap .ipsPageHeader {
	margin:0;
}
.tournamentsTable th {
	background:#3134394d;
  	font-style: normal;
    font-weight: bold;
    font-size: 15px;
    line-height: 17px;
    color: #313439;
  	padding:10px 20px;
}

table.tournamentsTable {
  	position:relative;
}

table.tournamentsTable tr {
	line-height:34px;
}

table.tournamentsTable tr.line td:first-child {
	padding-left:20px;
}

table.tournamentsTable tr.line td:nth-child(4) {
	text-align:right;
  	padding-right:10px;
}

.tournamentsTable th:first-child {padding-right:0;}
.tournamentsTable th:last-child {padding-left:0;}

#tournamentsSection h4 {
	font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    color: #000000;
  	margin:30px 0 21px 0;
}

.commandTd {
	font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    color: #313439;
}
.vsTd {
  font-weight: normal;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
  color: #313439;
}

.scoreTd {
	font-weight: normal;
    font-size: 15px;
    line-height: 22px;
    color: #313439;
  	padding-left:10px
}

tr.line:nth-child(odd) {
	background:#D9DBDD
}
tr.line:nth-child(even) {
	background:#3134390d
}
.ipsApp #tournamentsSection .ipsGrid_span6 {
	width:calc(50% - 10px);
}

.ipsApp #tournamentsSection .ipsGrid_span6:nth-child(even) {
    padding-left: 20px;
    margin-left: 20px;
}
.ipsApp #tournamentsSection .ipsGrid_span6:nth-child(even) table:before {
	background:#0000000d;
  	position:absolute;
  	content:"";
  	width:1px;
  	left:-20px;
  	    height: 100%;
}
#tournamentsWrap h1 {
	margin-bottom:20px;
}

table.tournamentsTable tr.line td:nth-child(1) {
	text-align:right;
  	padding-right:10px;
}

.tournamentsCalButton {
	background: #FE7402;
	border-radius: 2px;
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
    line-height: 17px;
    text-align: center;
    
}

.tournamentsCalButton a {
	    color: #FFFFFF;
    padding: 12px 64px;
    display: inline-block;
}

.tournamentsCalButton a:hover {color:#fff;}
.tournamentsHeader {
	padding-bottom:30px;
}

.tournamentsCal > span {
	font-weight: 300;
    font-size: 14px;
    line-height: 31px;
    color: #4C4C4C;	
  	margin-right:12px;
}
.tournamentsHeader input {
	border: 1px solid rgba(151, 151, 151, 0.21);
  	color: #4C4C4C;
  	font-size:14px;
  	line-height: 31px;
    font-style: normal;
    font-weight: 300;
  	padding: 3px 19px !important;
    border-radius: 0 !important;
}
.tournamentsTable {
	overflow:scroll
}

.ipsApp input[type="text"][name="daterange"] {
	max-width:200px;
}

.teamRecords_columns {
	display:flex
}

.teamRecords_columns > div {
	    width: 33.3333%;
}
.teamRecords_columns h4 {
	font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #313439;
}
.teamRecords_columns ul li {
	font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    color: #EF3F29;
  	margin-bottom:4px;
}
.teamRecords_columns ul li a { 
  	color: #EF3F29;
}

.teamRecords_columns ul li a:hover {
	color:#000
}

.teamRecords_columns ul li span {
	font-weight: bold;
    font-size: 18px;
        line-height: 21px;
    text-align: center;
    color: #FFFFFF;
    background: linear-gradient(180deg, #FAD023 0%, #F8AC03 100%);
    border-radius: 3px;
    margin-right: 16px;
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    padding-top: 5px;
}
#teamRecords h3 {
	font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    color: #000000;
}
#teamRecords_avarage {
  	margin-top:30px;
}
#teamRecords_avarage h4 {
	font-style: normal;
    font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    color: #000000;
  	margin-top:0;
  	margin-bottom:16px;
}

#teamRecords_avarage table a {
	font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    color: #313439;
}
#teamRecords_avarage table {
	font-size: 15px;
}
#teamRecords_avarage table.tournamentsTable tr.line td:nth-child(1) {
	text-align:left
}
#teamRecords_avarage table.tournamentsTable tr.line td:nth-child(2) {
	padding-left:10px;
  	border-left:1px solid #0000000d;
  	border-right:1px solid #0000000d
}
#teamRecords_avarage table.tournamentsTable tr.line td:nth-child(3) {
	border-right:1px solid #0000000d;
}
#teamRecords_avarage .tournamentsTable th:nth-child(2) {
	padding-left:10px
}
#teamRecords_avarage .tournamentsTable th:nth-child(3) {
	padding-left:0;
}

#tournamentHeader h2 {
	width:100%
}



.allStats a {
	font-weight: bold;
    font-size: 15px;
    line-height: 24px;
    text-align: right;
    color: #EF3F29;
}
#teamRecords_avarage .tournamentsTable tr td:nth-child(3),
#teamRecords_avarage .tournamentsTable tr td:nth-child(4)
{
	text-align: center
}
#teamRecords_avarage .tournamentsTable th:nth-child(3),
#teamRecords_avarage .tournamentsTable th:nth-child(4) {
	text-align: center;
    padding: 0 10px;
}
#teamRecords_avarage table.tournamentsTable tr td {
  	padding-top:6px;
    padding-bottom:6px;
  }
#teamRecords_avarage table.tournamentsTable tr {
	line-height:1;
}
.selectSeason > select,
.selectTournament > select {

    background: transparent !important;
    color: #fff;
    font-size: 14px;
    border-radius: 0px;
  	padding-right:50px !important;
  	position:relative;
}
.selectSeason,
.selectTournament {
	position: relative;
  	display: inline-block;
    margin-right:20px;
}
.selectSeason:before {
	content:"";
  	position: absolute;
  	width:20px;
  	height:20px;
  	background: url(https://www.slamdunk.ru/images/cal_white.png);
  	background-size: cover;
    right: 15px;
    top: 10px;
}
.selectTournament:before {
	content:"";
  	position: absolute;
  	width:12px;
  	height:8px;
  	background: url(https://www.slamdunk.ru/images/Triangle.png);
  	background-size: cover;
    right: 15px;
    top: 17px;
}


@media screen and (max-width: 979px) {
  .selectSeason.ipsMargin_top\:double {
  	margin-top:0 !important
  }
  .teamHeader_tabs_item_active a {font-weight: 700}
  .selectTournament {margin-top:10px;}
  .teamHeader_tabs_item a {margin-right:0}
  .selectSeason > select, .selectTournament > select {
  	font-size:12px;
    max-width: 220px;
  }
  #tournamentHeader {padding:22px 20px 60px;}
  #tournamentHeader h2 {
    font-family: Helvetica;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
  }
  .teamLogo {
  	    max-width: 60px !important;
  }
  
  #teamRecords_avarage table.tournamentsTable tr {
      line-height: 1;
  }
  #teamRecords_avarage table a {
      font-weight: bold;
      font-size: 13px;
      line-height: 18px;
      color: #313439;
  }
  
  .teamRecords_columns > div {
          width: 100%;
  }
  #teamRecords_avarage {
      margin-top:30px;
  }
  .teamRecords_columns {
      display: flex;
      flex-flow: column;
  }
  #teamRecords_avarage table.tournamentsTable tr.line td:first-child {
      padding-left: 10px;
  }
  #teamRecords_avarage table.tournamentsTable tr.line td:nth-child(3) {
  	text-align: center
  }
  #teamRecords_avarage .tournamentsTable th:nth-child(3) {
      padding-left: 20px;
  }
  #teamRecords_avarage .tournamentsTable th {padding: 10px 20px}
  .teamRecords_columns ul li {font-size:13px;}
  .ipsApp #tournamentsSection .ipsGrid_span6 {width:100%}
  #tournamentsWrap {padding:15px;}
  #tournamentsSection h4 {    margin: 24px 0 16px 0;}
  .tournamentsTable th {font-size: 13px; line-height: 15px; padding-left:10px;}
  .ipsApp #tournamentsSection .ipsGrid_span6:nth-child(even) {padding-left:0; margin-left:0; border:0;}
  table.tournamentsTable tr.line td:first-child {padding-left:0;}
  table.tournamentsTable {display: inline-block; padding-bottom:30px; border-bottom:1px solid #0000000d}
  table.tournamentsTable tr.line td:nth-child(1), table.tournamentsTable tr.line td:nth-child(4) {padding-right:5px;}
  .commandTd, .scoreTd {font-size:14px;}
  .vsTd {padding:0 5px; display:none}
  .ipsApp #tournamentsSection .ipsGrid_span6 {height:auto !important;}
  .tournamentsHeader {
      padding-bottom: 24px;
  }
  .tournamentsCalButton {display: inline-block; width: 100%; margin-top: 15px;}
  .ipsApp input[type="text"][name="daterange"] { max-width: unset; }
  
  .tournamentsTable th:nth-child(3)
  {display:none}
  
  #teamRecords_avarage .tournamentsTable th:nth-child(3) {display:table-cell}
  #teamRecords_avarage .tournamentsTable th:nth-child(3),
  #teamRecords_avarage .tournamentsTable th:nth-child(4) {
  	padding: 10px 5px;
  }
  #teamRecords_avarage table.tournamentsTable {padding-bottom:0; border-bottom:0;}
  
  
  
  
  
}





