#lineup .active {
	border-bottom: 0.3125rem solid #055521;
}

#lineup .header.show-for-small-only {
	height: 70px;
	background: #f6f6f6;
}

#lineup .header.show-for-small-only a {
	width: 100%;
}

#lineup .header.show-for-small-only .active,
#lineup .header.show-for-small-only .inactive {
	height: 100%;
	display: flex;
  	align-items: center;
}

#lineup .team-header .name-col.team1 {
	text-align: right;
	padding-right: 105px;
}

#lineup .team-header .name-col.team2 {
	padding-left: 105px !important;
}

#lineup .player .name-col.team1 {
	text-align: right;
	padding-right: 100px;
	float: left;
}

#lineup .player .name-col.team2 {
	padding-left: 100px !important;
	float: right;
}

#lineup .name-col div {
	display: inline-block;
	vertical-align: bottom;
}

#lineup .name-col {
	position: relative;
	display: block;
}

#lineup .player .name-col .name {
	font-size: 14px;
	margin-top: 5px;
}

#lineup .team-header .name-col .name {
	font-size: 16px;
	margin-top: 13px;
}

#lineup .name-col .position {
	font-size: 12px;
	font-weight: normal;
	height: 20px;
}

#lineup .team-header .name-col .logo {
	height: 50px;
	width: 50px;
	border: unset;
	border-radius: unset;
}

#lineup .team-header .name-col .logo {
	top: 0;
}

#lineup .team2 .match-events {
	padding-left: 7px;
}

#lineup .subst-header {
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0 5px 0;
}

#lineup .name-col .logo {
	background-position: center center;
	background-size: cover;
	position: absolute;
	top: 7px;
	border-radius: 20px;
	height: 34px;
	width: 34px;
	font-size: 12px;
	text-align: center;
	padding-top: 8px;
	font-weight: bold;
	border: 1px #CDCDCD solid;
}

#lineup .columns.player {
	height: 50px;
	display: flex;
  	flex-wrap: wrap;
  	flex-direction: row;
  	justify-content: space-between;
	align-items: center;
}

#lineup div.player-detail {
	display: none;
	font-size: 12px;
	font-weight: bold;
	position: absolute;
}

#lineup div.player-detail {
	width: 100%;
}

#lineup .team1 div.player-detail {
	right: 100px;
}

#lineup .team2 div.player-detail {
	left: 100px;
}

#lineup .columns.player.show-more {
	height: 70px;
}

#lineup .show-more .player-detail {
	display: block;
	font-weight: normal;
}

#lineup .columns.team-header,
#lineup .columns.player {
	border-bottom: 1px #CDCDCD solid;
	position: relative;
}

#lineup .show-player-detail {
	position: absolute;
	right: 20px;
	top: 20px;
}

#lineup .columns {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}


#lineup div:not(.team-header) .name-col.team1,
#lineup div:not(.team-header) .name-col.team2
{
	padding: 0 !important;
}

#lineup .name-col.team1 .logo {
	right: 50px;
}

#lineup .name-col.team2 .logo {
	left: 50px;
}

#lineup .name-col .player-number {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	border-radius: 50%;
	height: 2.5rem;
	width: 2.5rem;
	background: #e0e0e0;
	border: #f6f6f6 0.25rem solid;
	font-size: 0.875rem;
	font-weight: bold;
}

#lineup .team1 .name {
	text-align: right;
}

#lineup .team-header .block > *:not(.logo) {
	display: block;	
}

#lineup .team-header {
	min-height: 70px;
}

/*#lineup .name-col .player-number {
	position: absolute;
	top: 14px;
	font-size: 14px;
	font-weight: bold;
	width: 20px;
}*/

/*#lineup .name-col.team1 .player-number {
	right: 20px;
}

#lineup .name-col.team2 .player-number {
	left: 20px;
}
*/

#lineup .team-header .name-col .logo {
	top: 0.5rem;
	width: 40px;
}

#lineup .team-header .name-col .logo img {
	width: 40px;
}

#lineup .team2 .player .player-number {
	margin-left: 3rem;
}

#lineup .team1 .player .player-number {
	margin-right: 3rem;
}

#lineup .player .name {
	display: block;
	width: calc( 100% - 6.5rem );
	line-height: 1;
}

#lineup > .name-col {
	padding: 0 !important;
}

#lineup .name-col .match-events span {
	display: inline-block;
	font-size: 11px;
	text-align: center;
}

#lineup .name-col .match-events .match-event-item {
	width: 16px;
	font-weight: bold;
	margin-right: 7px;
}

#lineup .match-event-icon {
	width: auto;
	height: 16px;
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
}

#lineup .formation {
	font-size: 14px;
}

#lineup .team .name {
	font-size: 14px;
}

#lineup .formation,
#lineup .player .name {
	font-weight: bold;
}

#main #lineup .sub-header {
	font-weight: bold;
}

@media screen and (min-width: 41.8125em) 
{
	#lineup .show-for-small-only
	{
		display: none;
	}
	
	#main #lineup .team1 .sub-header 
	{
		padding-right: 3rem !important;
		justify-content: end;	
	}

	#main #lineup .team2 .sub-header 
	{
		padding-left: 3rem !important;
		text-align: left !important;
	}
	
	#lineup .lineup-teams,
	#lineup .team-header
	{
		display: flex;
		justify-content: space-evenly;
		flex-wrap: wrap;
	}
	
	#lineup .name-col
	{
		width: 50%;
	}
	
	#lineup .team-header .name-col.team1 .logo {
		right: 43px !important;
	}

	#lineup .team-header .name-col.team2 .logo {
		left: 43px !important;
	}
}

@media screen and (max-width: 41.8125em) 
{
	#lineup .header.show-for-small-only
	{
		display: flex !important;
  		justify-content: center;
	}
	
	#lineup .header.show-for-small-only > *
	{
		width: 50%;
		text-align: center;
	}
	
	#lineup .team-header .name-col.team1 .logo {
		left: 2rem !important;
	}

	#lineup .team-header .name-col.team2 .logo {
		left: 2rem !important;
	}

	#main #lineup .team1 .sub-header 
	{
		padding-left: 2rem !important;
		justify-content: start;
	}

	#main #lineup .team2 .sub-header 
	{
		padding-left: 2rem !important;
		text-align: left !important;
	}
	
	#lineup .team1 .columns.player
	{
		flex-direction: row-reverse;
	}
	
	#lineup .team1 .name
	{
		text-align: left;
	}
	
	#lineup .player .player-number
	{
		margin-right: 1rem !important;
		margin-left: 2rem !important;
	}
	
	#lineup .player .name 
	{
  		width: calc( 100% - 6rem );
	}

	
	div.hide {
		display: none !important;
	}
	#lineup div.player-detail {
		left: 100px !important;
	}
	#lineup .columns.player.show-more.has-player-details {
		height: 70px;
	}
	/*#lineup .columns.player.show-more.has-match-events{
    height:100px !important;
  }*/
	#lineup .team2 .match-events {
		padding-left: 0px;
	}
	#lineup div.match-events {
		/*display:none;
    position:absolute;*/
		bottom: -55px;
		left: 100px;
		margin-left: 5px;
		vertical-align: unset;
	}
	#lineup .columns.player.show-more .match-events {
		/*display:block;*/
	}
	#lineup .name-col {
		display: none;
	}
	#lineup .name-col.toggled-in-mobile {
		display: block;
	}
	#lineup .team-header .name-col.team1 {
		padding-left: 100px !important;
		text-align: left;
	}
	#lineup .player .name-col.team1 {
		text-align: left;
		padding-left: 100px !important;
	}
	/*#lineup .name-col.team1 .player-number {
		left: 20px !important;
	}*/
}