.gameWrapper {
	background:#fff;
  	padding:30px 24px;
}

.seasonsSelectBox {margin-top:10px}
#teamStats h4 {
	font-size:20px
}

.team-title h2 {
	font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #313439;
  	margin:30px 0 16px 0
}

.team-title h2 a {
	padding: 7px;
    display: inline-block;
}

#gameHeader,
#teamHeader,
#tournamentHeader {
	background:url('https://www.slamdunk.ru/img/playerWrapper.png');
  	position:relative;
  	background-size: cover;
    background-position: center;
  	padding:42px 40px;
}

.cmdImage img {
	border:0.5px dashed #ccc
}
#gameHeader,#teamHeader {
	color:#fff;
}

#teamHeader > .ipsGrid > .ipsGrid_span4 {
	max-width: 230px;
}

#teamHeader > .ipsGrid > .ipsGrid_span8 {
	width:calc(100% - 255px);
}

.teamTrainer > div div:first-child {
	font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    margin-bottom:10px;
}

.teamTrainer > div div:last-child {
	font-weight: bold;
font-size: 12px;
line-height: 14px;
/* identical to box height */

text-align: center;
}

.teamTrainer a {
	color:#fff
}
	
.cmdName:before,
.cmdName:after {
	position:absolute;
  	content:'';
  	width:1px;
  	height:22px;
  	background:#ffffff80;
  	    top: calc(50% - 11px);
}

.cmdName:before {left:0;}
.cmdName:after {right:0;}

.cmdScore {
	font-family: Helvetica;
    font-style: normal;
    font-weight: bold;
    font-size: 28px;
    line-height: 32px;

    color: #FFFFFF;
}
.cmdImage_mini > img {
	max-width:28px;
}
.cmdImage_mini {
	    display: inline-block;
    float: left;
  	margin-right:8px;
}
.command1Wrap h3,
.command2Wrap h3{
	    margin: 0;
    padding: 0;
    line-height: 30px;
  	font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #313439;
  	margin:30px 0 16px 0;
}

#teamHeader h1,
#tournamentHeader h2 {
	font-family: Helvetica;
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    color: #FFFFFF;
  	text-transform:uppercase;
  	margin:0;
  	margin-top:10px;
  	padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    display: inline-block;
}

.teamsWrap {
	background:#fff;
  	padding:32px 24px;
}


#teamPay h3,
#matchCal h3,
#commandPlayers h3,
#teamStats h3 {
	font-family: Helvetica;
      font-style: normal;
      font-weight: bold;
      font-size: 26px;
      line-height: 30px;
      text-transform: uppercase;
      color: #000000;
  	margin:0;
  	padding:0;
}

#matchCal h3,
#commandPlayers h3{
	margin-top:30px;
  	margin-bottom:16px;
}

.sectionHead {
	margin: 25px 0 16px 0;
}
#teamPay .paymentGridColors  {
	line-height:30px;
}
table.teamPayTable th {
	background: #313439;
  	font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
  	padding:8px 12px;
  	border-right:1px solid #86878a
}

table.teamPayTable th:nth-child(2) {
	min-width:150px
}

table.teamPayTable td {
	border-right:1px solid rgba(0, 0, 0, 0.1)
}

table.teamPayTable td:last-child {border:0;}
	
table.teamPayTable tr.line:nth-child(odd) {
	background:#e7e8ea;
}
table.teamPayTable tr td {
	padding:7px 12px;
}
.commandGamesTable {max-width:760px;}
table.commandGamesTable tr td:first-child {
	padding:0;
}
#commandPlayers table.commandGamesTable tr td:first-child {
 	text-align:center 
}

table.commandGamesTable,
table.teamPayTable {
	font-size: 14px;
	line-height: 16px;
}
.teamInfo .ipsGrid_span3 > div {
	color:#ffffffb3
}
.teamInfo {
	font-size:14px;
  	line-height:22px;
}
.desktopHide {display:none !important}

.cmdName {
	font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
}
.gameQuarters {
	padding:13px;
}
#gameHeader .cmdImage {
  	width:125px;
  	height:125px;
}
#gameHeader .cmdName {
  	width:148px;
  	position:relative;
}

#gameHeader .leftSide,
#gameHeader .rightSide {
	width:auto;
    margin-left:0 !important
}

#gameHeader .leftSide > .ipsGrid,
#gameHeader .rightSide > .ipsGrid {
	    display: flex;
    align-items: center;
}

#gameHeader .rightSide > .ipsGrid {    flex-direction: row-reverse;}

#gameHeader .rightSide {margin-left:0 !important; float:right}

#gameHeader .leftSide .cmdName {
	margin-left:24px;
}

#gameHeader .rightSide .cmdName,
#gameHeader .leftSide .cmdName {
	line-height: 21px;
  	padding:0 3px;
  	min-height:auto;
}

#gameHeader .rightSide .cmdName {
	margin-right:24px;
  	margin-left:0 !important;
}

html[dir="ltr"] .rightSide .ipsGrid > .ipsGrid_span4 {
	float:right
}

#gameHeader .cmdScore {
	width: 50px; margin-left: 24px;line-height:125px;
}
#gameHeader .rightSide .cmdScore {
	margin-left:0; margin-right:24px;
}
.cmdName a {color:#fff}
.gameQuarters {
	margin:0 auto !important;
  	min-width:275px;
  	background: rgba(255, 255, 255, 0.05);
}
.gameQuartersTable tr:first-child {
	border-bottom:1px solid #fff3
}

.gameQuartersTable a {color:#fff;}

.gameQuartersTable tr:nth-child(2) td {
	padding-top:16px;
  	text-align:center;
  	padding-bottom:12px
}

.gameQuartersTable tr:nth-child(2) td:first-child, .gameQuartersTable tr:last-child td:first-child {text-align:left}

.gameQuartersTable tr:last-child td {
	padding-bottom:3px;
  	text-align:center
}

.gameQuarters > P {
	margin:0;
  	text-align:center;
  	font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #F1402A;
}

.gameQuartersTable tr td {
	font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
}

.gameQuartersTable tr:first-child th {
	opacity: 0.7;
    font-weight: normal;
    font-size: 10px;
    line-height: 11px;
    color: #FFFFFF;
  	padding: 9px 0 16px 0;
}

#gameHeader > .ipsGrid {
	display:flex
}
img.team-logo {max-width:40px; float:left}

.teamHeader_tabs {
	display: flex;
    position: absolute;
    bottom: 0;
}
.teamHeader_tabs_item {display:block;}
.teamHeader_tabs_item a {
  	padding: 10px 20px;
  	background: rgb(255 255 255 / 20%);
  	color:#fff;
  	font-size: 14px;
	line-height: 16px;
  	margin-right:10px;
  	display: inline-block;
}
.teamHeader_tabs_item_active a {
	color:#fff;
  	background:#EF3F29
}
.teamHeader_tabs_item a:hover {
	color:#fff;
  	    background: rgb(255 255 255 / 10%);
}





@media screen and (max-width: 979px) {
  
  #commandPlayers {overflow: scroll}
 	
  #gameHeader, #teamHeader {padding:27px 10px;}
  .teamLogo {max-width:100px;max-height:100px;}
  #teamHeader h2 {font-size: 14px; line-height: 16px;font-weight:400}
  #teamHeader > .ipsGrid > .ipsGrid_span8 {
      width: calc(100% - 111px);
    margin-left:0;
  }
  .teamInfo {
      font-size: 12px;
      line-height: 18px;
  }
  .ipsGrid_span5.teamTrainer {display:none}
  .ipsGrid_span5.teamTrainer.teamTrainerMobile {display:block}
  .teamTrainer.teamTrainerMobile a {color:#222}
  .ipsApp .teamInfo .ipsGrid_span3 {width: 50%;}
  .ipsApp .teamInfo .ipsGrid_span4 {width: 46%;}
  #teamHeader h2 {padding-bottom:8px;margin-bottom:0; border:0;margin-top:0;}
  #teamPay h3, #matchCal h3 {font-weight: bold; font-size: 18px; line-height: 21px;}
  .teamsWrap {padding:13px 16px;}
  .teamTrainerMobile {padding-top:10px;}
  .teamTrainerMobile a {font-size:14px; line-height:16px;margin:4px 0;display: inline-block;}
  .paymentGridColors {font-size:14px; line-height:16px !important;}
  #teamPay h3 {margin-bottom:20px;}
  #teamPay .paymentGridColors > div {margin:0; margin-bottom:16px;}
  .teamPay_table {overflow:scroll}
  .teamPay_table .teamPayTable {min-width:950px;}
  .phoneHide {display:none !important}
  .desktopHide {display:table-cell !important}
  table.teamPayTable.commandGamesTable tr td {
      padding: 3px 5px;
  }
  table.teamPayTable.commandGamesTable tr td:nth-child(2) {min-width: 130px;}
  
  table.commandGamesTable th:nth-child(2) {width:9% !important;}
  .homepic {position:relative; top:-1px; max-width:12px;}
  table.commandGamesTable th:nth-child(6) {width:17% !important}
  #teamHeader > .ipsGrid > .ipsGrid_span4 {width:110px;}
  .sectionHead .paymentGridColors > div {width:49%;}
  #gameHeader .cmdImage, #gameHeader .cmdImage img {max-width:70px;max-height: 70px;}
  #gameHeader .leftSide .cmdName, #gameHeader .rightSide .cmdName { margin-left: 0px; line-height: 1; margin: 5px 0; font-size: 16px; line-height: 18px; min-height: auto;}
  .cmdName:before, .cmdName:after {display:none}
  #gameHeader .cmdName { width: auto;}
  #gameHeader .cmdScore { width: auto; margin-left: 0; line-height: normal; font-size: 25px; line-height: 29px; }
  .cmdImage img {border:0;}
  .gameQuartersTable tr:nth-child(2) td { padding-top: 10px; text-align: center; padding-bottom: 5px; }
  .gameQuarters {min-width:155px; width:155px !important; height:100px;}
  .cmdName {text-align:inherit}
  .gameQuarters { padding: 5px; }
  .gameQuartersTable tr:first-child th { padding: 5px 0 10px 0; }
  html[dir="ltr"] .rightSide .ipsGrid > .ipsGrid_span4 {text-align:right}
  #gameHeader .rightSide .cmdScore {margin-right:0;}
  .gameWrapper { background: #fff; padding: 30px 16px; }
  .team-title h2 { font-style: normal; font-weight: bold; font-size: 18px; line-height: 21px; color: #313439; margin: 45px 0 20px 0; }
  .tableCover {overflow:scroll}
  .ipsApp .PlayerGamesTable { min-width: 800px; }
  #gameHeader .leftSide .cmdName, #gameHeader .rightSide .cmdName {width:100%}
#gameHeader .leftSide > .ipsGrid, #gameHeader .rightSide > .ipsGrid {display:inline-block}
  
  
  
  
  
  
  
  
  
  
}
@media screen and (max-width: 767px) {
	table.teamPayTable th:nth-child(2) {min-width:0}
}

h3.videosHighlights {
	font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #313439;
  	margin-top:30px;
}
.ipsEmbeddedVideo {
	max-width:100%
}
.gamesTable .gameGreen, .seasonStatsTable .gameGreen {
	background: #297A31;
	border-radius: 8px;
  	color:#fff;
  	    padding: 5px 10px;
}
.gamesTable .gameRed, .seasonStatsTable .gameRed  {
	background: #e24444;
	border-radius: 8px;
  	color:#fff;
  	    padding: 5px 10px;
}

