
.content {
	position: relative;
	margin-bottom: 120px;
}

.content, .header, .team-nav {
	-moz-transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.header-title-helper {
	position: relative;
	display: inline-block;
	height: 100%;
	vertical-align: top;
	width: 0%;
}

.header-title-pic {
	/*display: none;*/
}


.lead {
	text-align: center;
}

.team {
	padding: 24px;
	text-align: left;
	margin-bottom: 4em;
	position: relative;
}

.team .spacer {
	display: block;
	position: relative;
	width: 1px;
	max-width: 0.5%;
	float: right;
	min-height: 100px;
	z-index: 10;
}

.trigger-top, .trigger-bottom {
	position: absolute;
	right: 0;
	width: 100%;
	height: 20px;
}

.trigger-top {
	top: 0;
}

.trigger-bottom {
	bottom: 0;
}

.team .team-content {
	position: relative;
	float: left;
	width: 99.5%;
	display: none;
	text-align: left;
}

.team.visible .team-content {
	display: block;
}

.team h3 {
	color: #000;
	font-size: 36px;
}

.team-intro {
	position: relative;
}

.flag {
	height: 70px;
	float: left;
	vertical-align: middle;
	margin-top: 22px;
	line-height: 1.3em;
	margin-right: 25px;
	border: 1px solid #ddd;
}

.team_sui .flag {
	border: none;
}

.position_c {
	position: relative;
	float: right;
	text-align: center;
	margin-left: 44px;
	z-index: 20;
}

.intro-wrapper {
	margin-top: 2em;
	position: relative;
	z-index: 10;	
	/*width: 85%;*/
}

.positions-wrapper {
	position: relative;
	text-align: center;
	margin-top: 4em;
	width: 100%;
}

.positions-wrapper h4 {
	font-size: 20px;
	line-height: 1.3em;
}

.position_tor h4 {
	color: #990066;
}
.position_aw h4 {
	color: #ff0033;
}
.position_mf h4 {
	color: #ff9933;
}
.position_st h4 {
	color: #99cc33;
}

.teams-wrapper {
	position: relative;
}

.team-info {
	position: relative;
	list-style: none;
	padding: 0.75em 0;
	font-size: 14px;
}

.team-info li {
	padding: 8px;
	display: inline-block;
	margin-right: 12px;
	vertical-align: middle;
}

.gr {
	text-transform: uppercase;
}

h5 {
	margin-top: 1.1em;
	margin-bottom: 0.25em;
	font-size: 1.2em;
}

.author {
	font-size: 13px;
	padding-top: 0.25em;
	border-top: 1px solid #ccc
}


.portrait-wrapper {
	position: relative;
	display: block;
	border-radius: 50%;
	border: 3px solid #666;
	overflow: hidden;
	box-sizing: border-box;
	width: 100px;
	height: 100px;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);

}

.portrait-wrapper img {
	position: relative;
	width: 100%;
}

.portrait-box {

	margin: 0px;
	margin-left: -2px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	background: url(../pics/players/default.jpg) no-repeat 0 0;
	background-size: 100px;
	width: 100px;
	height: 100px;

	-webkit-filter: sepia(28%); 
	filter: sepia(28%);

	/*-webkit-filter: brightness(75%); 
	filter: grayscale(75%);*/

	-webkit-transition: 0.25s -webkit-filter linear;
	-moz-transition: 0.25s -moz-filter linear;
	-moz-transition: 0.25s filter linear;
	-ms-transition: 0.25s -ms-filter linear;
	-o-transition: 0.25s -o-filter linear;
	transition: 0.25s filter linear, 0.25s -webkit-filter linear;

}


.portrait-box:hover, .portrait-box.active {
	-webkit-filter: sepia(0%); 
	filter: sepia(0%);
}


 .position_c .portrait-box {
 	-webkit-filter: none; 
	filter: none;
 }


img.portrait {
	margin: 0px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

.players {
	position: relative;
	padding: 0;
}

.player {
	position: relative;
	display: inline-block;
	width: 100px;
	vertical-align: top;
	margin: 1.5% 1.25% 2.5% 1.25%;
	cursor: pointer;
}

.player-label {
	font-size: 12px;
	line-height: 1.2em;
	margin-top: 0.5em;
	font-weight: 600;
	padding: 3px 5px;
	-webkit-transition: background-color 0.5s color 0.5s;
	transition: background-color 0.5s, color 0.5s;
}

.player:hover .player-label {
	border-radius: 3px;
	background-color: #333;
	color: #fff;
}

.position_c .player:hover .player-label {
	background-color: #fff;
	color: #000;
}

.position_c .player {
	cursor: default;
}

.coach-age {
	font-weight: normal;
}


.nr-wrapper {
	position: absolute;
	top: 70px;
	background-color: #333;
	left: -5px;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	z-index: 30;
	text-align: center;
	font-weight: 700;
	color: #fff;
}

.nr-wrapper b {
	position: relative;
	top: 5px;
}


.player_tor .nr-wrapper {
	background-color: #990066;
}
.player_aw .nr-wrapper {
	background-color: #ff0033;
}
.player_mf .nr-wrapper {
	background-color: #ff9933;
}
.player_st .nr-wrapper {
	background-color: #99cc33;
}

.player_c .nr-wrapper {
	display: none;
}

.player-info {
	list-style: none;
	padding: 0;
	margin-top: 0.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 0.36em;
}

.player-info li {
	font-size: 12px;
	display: inline-block;
	background-color: #000;
	padding: 2px 6px;
	margin: 2px 5px 2px 0;
	border-radius: 5px;
}


.player-info li.i_special {
	color: #ffcc00;
	font-weight: 600;
}

.special {
	width: 25px;
	height: 25px;
	text-align: center;
	color: #000;
	font-size: 15px;
	border-radius: 50%;
	background-color: #ffcc00;
	position: absolute;
	border: 0px solid #000;
	top: 0;
	right: 0px;
	z-index: 30;
}

.special b {
	display: block;
	padding-top: 2px;
}

.player_tor .portrait-wrapper {
	border-color: #990066;
}
.player_aw .portrait-wrapper {
	border-color: #ff0033;
}
.player_mf .portrait-wrapper {
	border-color: #ff9933;
}
.player_st .portrait-wrapper {
	border-color: #99cc33;
}

.player_tor .player-label {
	color: #990066;
}
.player_aw .player-label {
	color: #ff0033;
}
.player_mf .player-label {
	color: #ff9933;
}
.player_st .player-label {
	color: #99cc33;
}

.roller-wrapper {
	position: absolute;
	width: 360px;
	max-width: 100%;
	min-height: 40px;
	background-color: #333;
	top: 0;
	color: #fff;
	text-align: left;
	z-index: 50;
	left: 0;
	display: none;
	cursor: pointer;
}

.roller {
	padding: 12px;
	font-size: 13px;
}

.roller h4 {
	margin-top: 0;
	margin-bottom: 0.1em;
	margin-left: 2px;
}

.roller .position-icon {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 40px;
	height: 40px;
}


.roller.tor .position-icon {
	background: url(../pics/pos/tor.png) no-repeat center;
	background-size: contain;
}
.roller.aw .position-icon {
	background: url(../pics/pos/aw.png) no-repeat center;
	background-size: contain;
}
.roller.mf .position-icon {
	background: url(../pics/pos/mf.png) no-repeat center;
	background-size: contain;
}
.roller.st .position-icon {
	background: url(../pics/pos/st.png) no-repeat center;
	background-size: contain;
}
.roller.c .position-icon {
	background: url(../pics/pos/c.png) no-repeat center;
	background-size: contain;
}

.roller-wrapper .arrow {
	position: absolute;
	left: 0;
	margin-left: -12.5px;
	top: -5px;
	width: 25px;
}

.roller.tor h4 {
	color: #e237a9;
}
.roller.aw h4 {
	color: #ff0033;
}
.roller.mf h4 {
	color: #ff9933;
}
.roller.st h4 {
	color: #99cc33;
}

.buttons-wrapper {
	display: none;
}

.button.big {
	background-color: #d6081c;
	color: #fff;
	border:none;
	font-size: 16px;
	line-height: 1.4em;
	font-weight: 600;

	-webkit-transition: color 0.25s, background 0.25s;
	-moz-transition: color 0.25s, background 0.25s;
	-o-transition: color 0.25s, background 0.25s;
	transition: color 0.25s, background 0.25s;
}

.button.big:hover {
	background-color: #9a0b04;
	color: #ffffff;
}

.button.big.active {
	background-color: #333;
	color: #ffcc00;
}

.footer {
	margin-top: 6em;
}

.team-info li {
	color: #fff;
	display: inline-block;
	background-color: #000;
	padding: 5px 8px;
	margin: 2px 12px 2px 0;
	border-radius: 3px;
	text-transform: uppercase;
}

.team-info li b {
	font-size: 18px;
}

.team-info li.rank {
	background-color: #333;
}

.team-info .gr_a, .team-nav-item.gr_a {
	background-color: #01559c;
}

.team-info .gr_b, .team-nav-item.gr_b {
	background-color: #ab0717;
}
.team-info .gr_c, .team-nav-item.gr_c {
	background-color: #3092ae;
}
.team-info .gr_d, .team-nav-item.gr_d {
	background-color: #a8a159;
}
.team-info .gr_e, .team-nav-item.gr_e {
	background-color: #a54ea5;
}

.team-info .gr_f, .team-nav-item.gr_f {
	background-color: #4d8b0f;
}
.team-info .gr_g, .team-nav-item.gr_g {
	background-color: #1a7b65;
}
.team-info .gr_h, .team-nav-item.gr_h {
	background-color: #aa7312;
}

/*
.team-nav-item {
	font-weight: 600;
}

.team-nav-item.gr_a {
	background-color: #efefef;
	color: #01559c;
}

.team-nav-item.gr_b {
	background-color: #efefef;
	color: #c20719;
}
.team-nav-item.gr_c {
	background-color: #efefef;
	color: #3092ae;
}
.team-nav-item.gr_d {
	background-color: #efefef;
	color: #a8a159;
}
.team-nav-item.gr_e {
	background-color: #efefef;
	color: #cc33cc;
}

.team-nav-item.gr_f {
	background-color: #efefef;
	color: #4e930a;
}
.team-nav-item.gr_g {
	background-color: #efefef;
	color: #1a7b65;
}
.team-nav-item.gr_h {
	background-color: #efefef;
	color: #d89207;
}*/




.team-nav {
	position: relative;
	text-align: center;
	background-color: #fff;
	background-color: rgba(255,255,255,0.9);
	z-index: 20;
	padding: 0.25em;
}

.team-nav.fixed {
	position: fixed;
	border-bottom: 1px solid #999;

}

.team-nav ul {
	list-style: none;
	margin: 0;
	padding: 1em 0;
}

.team-nav-item {
	list-style: none;
	display: inline-block;
	padding: 0.25em 0.5em;
	background-color: #ddd;
	border-radius: 3px;
	margin: 0.25em;
	cursor: pointer;
	color: #fff;

	-webkit-transition: color 0.25s, background 0.25s;
	-moz-transition: color 0.25s, background 0.25s;
	-o-transition: color 0.25s, background 0.25s;
	transition: color 0.25s, background 0.25s;

}

.team-nav-item:hover {
	color: #ffcc00;
}

.team-nav-item.active {
	background-color: #111;
	color: #ffcc00;
}

.canihas {
	display: none;
}

.note {
	font-size: 12px;
	font-style: italic;;
	color: #777;
	border-top: 1px solid #777;
}

.wait {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	background: rgba(255,255,255,0.8);
	z-index: 100;
	display: block;
}

.main.busy .wait {
	display: block;
}

.main .wait {
	display: none;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}
 
.main.busy .wait:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 64px;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -29px;
  margin-left: -29px;
  border-radius: 50%;
  border: 3px dotted #777;
  border-top-color: #444;
  animation: spinner 1.5s linear infinite;
}

@media (max-width: 600px) {

	.desktop-only {
		display: none;
	}

	/*.mobile .portrait-box {
		-webkit-filter: none; 
		filter: none;
	}	*/

	.header-title-pic-mobile {
		/*display: none;*/
	}

	.team-nav {
		display: none;
	}

	.canihas {
		display: block;
	}

	.show-nav .team-nav {
		display: block;		
	}

	.roller-wrapper {
		width: 80%;
	}

	.flag {
		height: 50px;
		margin-top: 12px;
	}

	.team h3 {
		font-size: 24px;
	}

}
