:root {
	--gk-bg-color: rgba(64, 66, 137, 0.6);
	--def-bg-color: rgba(38, 108, 44, 0.6);
	--mid-bg-color: rgba(128, 128, 0, 0.6);
	--att-bg-color: rgba(128, 16, 16, 0.6);

	--blue-btn-color: rgb(30, 30, 130);
	--green-btn-color: rgb(30, 110, 30);
	--yellow-btn-color: rgb(109, 105, 0);
	--red-btn-color: rgb(130, 10, 10);

	--btn-color: #4e4e4e;
	--hover-bg-grey: #202020;
	--header-color: #101010;

	--primary-font-family: 'Lato';
	--secondary-font-family: 'Open Sans';
	--tertiary-font-family: Arial;

	--box-bg-1: #282828;
	--box-bg-2: #222222;

	--box-header-bg-color: rgba(0,0,0,0.9);

	--text-color: white;
	--inverted-text-color: black;
	--link-color: orange;
	--dark-link-color: firebrick;

	--friend-color: #ffdd9f;

	--menu-text-color: white;
	--menu-bg-color: rgba(69, 69, 69, 0.98);
	--menu-bg-color-2: rgba(69, 69, 69, 0.95);
	--menu-text-color-hover: orange;

	--chat-font-size:14px;
	--chat-bg-color: black;
	--chat-text-color: white;

	--self-color:orange;
 }

 @font-face {
	font-family: 'Lato';
	src: url('fonts/Lato-Regular.eot'); /* IE9 Compat Modes */
	src: url('fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		  url('fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
		  url('fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
		  url('fonts/Lato-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: normal;
	text-rendering: optimizeLegibility;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url("fonts/OpenSans-VariableFont_wdth,wght.woff2") format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/OpenSans-VariableFont_wdth,wght.woff2") format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/OpenSans-VariableFont_wdth,wght.woff2") format('woff2');
}


@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 100;
	src: url("fonts/OpenSans-Italic-VariableFont_wdth,wght.woff2") format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 300;
	src: url("fonts/OpenSans-Italic-VariableFont_wdth,wght.woff2") format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 700;
	src: url("fonts/OpenSans-Italic-VariableFont_wdth,wght.woff2") format('woff2');
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

textarea{
	resize:none;
	font-family: var(--tertiary-font-family);
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
	background-color:black;
	scrollbar-width: thin;
}
body {
	line-height: 100%;
	background-color: black;
	cursor:default;
	color: var(--text-color);
}

a{
	color:var(--link-color);
}
button {
	display: inline-block;
	border: 1px solid white;
	width: 100px;
	text-align: center;
	color: var(--text-color);
	font-family: var(--primary-font-family);
	margin-left:50px;
	margin-right:50px;
	font-size:14px;
	outline: none;
}
button:hover{
	border: 1px solid orange;
}

input[type="button"]{
	position: relative;
	height: 24px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	margin-bottom: 2px;
	padding-left: 5px;
	font-size: 16px;
}
input[type="button"]:hover{
	border: 1px solid rgba(0, 200, 0, 0.9);
}

input[type="text"], input[type="password"]{
	position: relative;
	height: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	padding-left: 5px;
	margin-bottom: 2px;
	font-size: 16px;
	font-family: var(--tertiary-font-family);
}

input[type="checkbox"] {
	margin-top: 3px;
	margin-bottom: 3px;
	height: 18px;
}

select{
	position: relative;
	height: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	padding-left: 5px;
	margin-bottom: 2px;
	font-size: 16px;
	font-family: var(--tertiary-font-family);
}

.page_container{
	position: relative;
	width: 1366px;
	height:900px;
   background: url(images/ml2/bgs/bg_1.jpg);
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
	transform-origin: center top;
	margin-left:auto;
	margin-right:auto;
}
.menu_container{
	position: relative;
	z-index: 10;
	background-color: rgba(60,60,60,0.90);
	border:1px solid black;
	height:26px;
}
.top_container {
	position: relative;
	width: 1366px;
	height: 60px;
}
img.top_credits_icon{
	height: 20px;
	vertical-align: top;
}

.main_container {
	position: relative;
	width: 1366px;
	height: 811px;
	padding-top:1px;
	background-color: rgba(255, 255, 255, 0.50);
}

.server_time{
	font-family: var(--primary-font-family);
	text-align: right;
	padding-top: 4px;
   padding-right: 10px;
   padding-bottom: 4px;
	font-size: 15px;
	line-height:20px;
}

/* Menu styling */
#sddm{
	margin: 0;
	padding: 0;
	z-index: 30;
	font-family: var(--primary-font-family);
	color: var(--menu-text-color);
}

#sddm a{
	text-decoration: none;
	font-family: var(--primary-font-family);
	color: var(--menu-text-color);
}

#sddm li{
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	font-size: 15px;
	line-height:20px;
}

#sddm li a{
	display: block;
	margin: 0 0 0 0;
	padding: 4px 20px;
	text-align: left;
	cursor: default;
}

#sddm li a:hover{
	background: var(--menu-bg-color-2);
}

#sddm div{
	position: absolute;
	visibility: hidden;
	margin: 0;
	margin-top:-2px;
	padding: 0;
	background: var(--menu-bg-color);
	border: 1px solid #000000;
	min-width:110px;
}

#sddm div a{
	position: relative;
	display: block;
	margin: 0;
	padding: 7px 20px 7px 10px;
	width: auto;
	white-space: nowrap;
	text-align: left;
	font-size: 15px;
	cursor: pointer;
	text-indent: 15px;
}

#sddm div a:hover{
	color: var(--menu-text-color-hover);
}

#m9 a {
	padding: 7px !important;
}

/* ENDMenu styling */

span.italic{
	font-style:italic;
}
span.bold{
	font-weight:bold;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.width_box{
	width: 1600px;
	height: 800px;
	position: relative;
	top: 0px;
	left: 0px;
	background: blue;
}
.main_bg_img{
	background: url(images/ml2/testbgmain_2.jpg);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	background-position: center;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.main_bg_img_2{
	background: url(images/ml2/testbgmain.jpg);
	height: 100%;
	width: 100%;
	display: block;
	position: absolute;
	background-position: center;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.match_bg{
	display: none;
	background: url(images/ml2/match_bg.jpg);
	height: 100%;
	width: 100%;
	display: block;
	position: fixed;
	background-position: center;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div#lineup_saved_indicator {
	position: fixed;
	/*
	top: 57px;
	right: 100px;
	*/
	top: 30%;
	left: 100px;
	width: 150px;
	text-align: center;
	height: 30px;
	line-height: 30px;
	background-color: rgb(19, 95, 0);
	border: 1px solid rgba(255,255,255,0.7);
	border-radius: 5px;
	opacity: 0;
	z-index: -1;
}

@keyframes inout {
	from {
		opacity: 0;
		z-index:-1;
	}
	1% {
		z-index:10;
	}
	50% {
		opacity: 1;
		z-index:10;
	}
	99% {
		z-index:10;
	}
	to {
		opacity: 0;
		z-index:-1;
	}
}

.inout{
	animation-fill-mode: forwards; /* keep final state */
	animation-name: inout;
	animation-duration: 1.0s;
	animation-iteration-count: 1;
}

@keyframes flash {
	from {
		filter: brightness(100%);
	}
	50% {
		filter: brightness(200%);
	}
	to {
		filter: brightness(100%);
	}
}

.flash{
	animation-fill-mode: forwards; /* keep final state */
	animation-name: flash;
	animation-duration: 0.3s;
	animation-iteration-count: 1;
}

@keyframes pulseX {
	from {
		transform: scaleX(1.0);
		opacity: 0.75;
	}
	50% {
		transform: scaleX(1.15);
		opacity: 1.0;
	}
	to {
		transform: scaleX(1.0);
		opacity: 0.75;
	}
}

.pulseX {
	animation-name: pulseX;
	animation-duration: 2.0s;
	animation-iteration-count: 10;
}


@keyframes pulse {
	from {
		transform: scale(1.0);
		opacity: 0.75;
	}
	50% {
		transform: scale(1.15);
		opacity: 1.0;
	}
	to {
		transform: scale(1.0);
		opacity: 0.75;
	}
}

.pulse {
	animation-name: pulse;
	animation-duration: 2.0s;
	animation-iteration-count: 10;
}

@keyframes fadein {
	from {
		opacity: 0.00;
	}
	to {
		opacity: 1.00;
	}
}

.fadein {
	animation-fill-mode: forwards; /* keep final state */
	animation-name: fadein;
	animation-duration: 1.0s;
	animation-iteration-count: 1;
}


@keyframes rotator {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.rotator {
	animation-name: rotator;
	animation-duration: 1.0s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.chat_container{
	display: block;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background:var(--chat-bg-color);
	height: 105px;
	width: 980px;
	color: var(--chat-text-color);
	line-height: 16px;
	font-family: var(--tertiary-font-family);
	font-size: var(--chat-font-size);
	overflow:hidden;
	z-index:3;
}

#chat_channel_select{
	position: absolute;
	bottom: 0px;
	right: 37px;
	background-color: black;
	color: white;	
	height: 22px;
	border: 1px solid white;
}
.chat_messages_container {
	bottom: 26px;
	position: absolute;
	width: 843px;
	overflow-y: scroll;
	top: 0px;
}

.chat_message_container {
	font-size: 14px;
	margin-bottom:1px;
	max-width: 100%;
	word-break: break-word;
}
.chat_message_container.deleted{
	opacity:0.45;
}

#quickmenu_chat_icons_container{
	position: absolute;
	right: 12px;
	width: 121px;
	font-size: var(--chat-font-size);
	font-variant: small-caps;
	bottom: 25px;
}
img.icon_shortcut{
	width:35px;
	height:35px;
	position:relative;
	cursor:pointer;
}

#chat_input{
	position: absolute;
	bottom: -1px;
	left: 1px;
	height: 18px;
	background-color: black;
	color: var(--text-color);
	font-size: var(--chat-font-size);
	line-height: 15px;
	width: 779px;
	border: 1px solid white;
	padding-left: 5px;
}

.chat_time{
	color:#BBBBBB;
	padding-right: 6px;
}
.chat_nick{
	padding-right:5px;
	color: var(--text-color);
	cursor:pointer;
	font-weight:bold;
}
.chat.msg{
	color: var(--text-color);
}

.chat_nick.system{
	color:orange;
	font-style:italic;
	font-variant: small-caps;
}
.chat_nick.col0{
	color:#BB00BB;
}
.chat_nick.col1{
	color:cyan;
}
.chat_nick.col2{
	color:pink;
}
.chat_nick.col3{
	color:lightgreen;
}
.chat_nick.col4{
	color:lightblue;
}
.chat_nick.col5{
	color:grey;
}
.chat_nick.col6{
	color:yellow;
}
.chat_nick.col7{
	color:#f74747;
}
.chat_nick.col8{
	color:lightgrey;
}
.chat_nick.col9{
	color:#ffff00;
}
.chat_nick.col10{
	color:#8654ff;
}
.chat_nick.col11{
	color:#82a52e;
}
.chat_nick.col12{
	color:#9e804a;
}
.chat_nick.col13{
	color:#9c2f48;
}

/* Some reserved colors */
.chat_nick.colMod{
	color: #7ac304;
}
.chat_nick.colAdm{
	color: orange;
}


/* Some premium colors */
.chat_nick.colGold{
	color:#C9B037;
}

.chat_nick.colSilver{
	color:#D7D7D7;
}

.chat_nick.colBronze{
	color:#AD8A56;
}

.chat_nick.colEmerald{
	color:#50C878;
}
.chat_nick.colAmethyst{
	color:#6C2DC7;
}





a.threadlink{
	color: var(--text-color);
	text-decoration: none;
}
a.threadlink:visited{
	color:yellow;
	text-decoration: none;
}
a.threadlink:active{
	color: var(--link-color);
	text-decoration: none;
}
a.threadlink:hover{
	color: var(--link-color);
	text-decoration: none;
}

img.chat_up{
	position:absolute;
	top:0px;
	width: 30px;
   right: 0px;
	cursor:pointer;
	padding-right: 2px;
}

img.chat_down{
	position:absolute;
	bottom:0px;
	width: 30px;
   right: 0px;
	cursor:pointer;
	padding-right: 2px;
}
img.chat_rules{
	position: absolute;
	bottom: 39px;
	height: 27px;
	right: 3px;
	cursor: pointer;
	padding-right: 2px;
}

.lower_third_container_2 {
	height: 60px;
	width: 307px;
	position: absolute;
	top: 0px;
	left: 60px;
}
.skewed_container_2{
	height: 61px;
	width: 307px;
	position: absolute;
	overflow: hidden;
	font-family: var(--primary-font-family);
	text-transform: uppercase;
}
.skewed_container_text{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 1px;
	overflow: hidden;
	background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.8) 50%,rgba(0,0,0,0.5) 100%);
}
.top_text{
	/*transform: skew(-45deg);*/
	color: var(--text-color);
	font-weight: bold;
	position: absolute;
	height: 25px;
	line-height: 22px;
	top: 4px;
	left: 10px;
	text-shadow: 1px 1px 1px black;
	letter-spacing: 1px;
	white-space: nowrap;
	cursor:pointer;
}
.top_text span{
	font-size: 21px;
}
.bottom_text{
	/*transform: skew(-45deg);*/
	color: var(--text-color);
	font-weight: bold;
	position: absolute;
	height: 25px;
	line-height: 20px;
	top: 33px;
	text-shadow: 1px 1px 1px black;
	letter-spacing: 2px;
	white-space: nowrap;
	left: 10px;
}
.bottom_text span{
	font-size: 18px;
	padding-top: 4px;
	display: block;
}
.cut_left{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 7px;
	height: 60px;
	background: url(images/ml2/cut_left.png) no-repeat left;
	background-size: 100% 100%;
	opacity:0.3;
}
.cut_right{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 7px;
	height: 60px;
	background: url(images/ml2/cut_right.png) no-repeat right;
	background-size: 100% 100%;
	opacity:0.3;
}
.red_line {
	position: absolute;
	left: 2px;
	height: 2px;
	width: 300px;
	background: red;
	top: 30px;
}

.next_wrapper{
	display:none;
	position: absolute;
	top: 0px;
	left: 843px;
	height: 60px;
	width: 370px;
	overflow: hidden;
	font-size: 10px;
	border-right: 3px solid red;
}
.up_next{
	position: absolute;
	top: 0px;
	right: 0px;
	width: inherit;
	overflow: hidden;
	height: inherit;
}
.next_header{
	position: absolute;
	top: 0px;
	left: 3px;
	height: 32px;
	background: -webkit-linear-gradient(top, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	background: linear-gradient(to bottom, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	width: 121px;
	box-shadow: inset -10px 0px 5px -5px black;
}
.color_edge{
	display: inline-block;
	width: 3px;
	height: 60px;
	background: red;
	vertical-align: top;
}
.color_edge.rightside{
	position: absolute;
	right: 0px;
}
.next_text{
	display: inline-block;
	line-height: 30px;
	font-family: var(--primary-font-family);
	color: var(--text-color);
	vertical-align: top;
	font-weight: 900;
	letter-spacing: 2px;
	text-shadow: 1px 1px 2px black;
	text-indent: 6px;
}
.next_text span{
	font-size: 15px;
	vertical-align: middle;
	text-transform: uppercase;
}
.next_opponent{
	position: absolute;
	background: -webkit-linear-gradient(top, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	background: linear-gradient(to bottom, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	top: 0px;
	left: 119px;
	height: 32px;
	width: 250px;
	overflow: hidden;
}
.opponent_name{
	display: block;
	line-height: 30px;
	font-family: var(--primary-font-family);
	color: var(--text-color);
	font-weight: bold;
	letter-spacing: 2px;
	text-shadow: 1px 1px 2px black;
	text-indent: 20px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
}
.opponent_name span{
	font-size: 16px;
	word-break: break-all;
}
.opponent_logo{
	background: url(/ml/images/ml2/top_left_logo.jpg) no-repeat;
	position: absolute;
	top: -31px;
	left: 258px;
	width: 100px;
	height: 100px;
	background-size: 120px;
	transform: perspective(200px) rotateX(53deg) rotate(21deg);
	opacity: 0.3;
}
.next_timestamp{
	position: absolute;
	background: linear-gradient(to bottom, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	top: 32px;
	left: 119px;
	text-indent: 6px;
	height: 28px;
	padding-left: 20px;
	width: 230px;
	letter-spacing: 2px;
	line-height: 30px;
	font-family: var(--primary-font-family);
	color: var(--text-color);
	vertical-align: top;
	font-weight: 900;
	text-shadow: 1px 1px 2px black;
}
.next_timestamp span{
	font-size: 14px;
	display: inline-block;
	vertical-align: middle;
}
.match_type{
	position: absolute;
	top: 32px;
	left: 3px;
	height: 28px;
	width: 127px;
	text-align: center;
	letter-spacing: 2px;
	text-indent: 5px;
	line-height: 30px;
	font-weight: bold;
	text-shadow: 1px 1px 2px black;
	color: var(--text-color);
	font-family: var(--primary-font-family);
}
.match_type.league {
	background: -webkit-linear-gradient(top, rgba(102,102,142,1) 1%,rgba(51,51,91,1) 52%,rgba(38,38,78,1) 52%,rgba(25,25,65,1) 100%);
	background: linear-gradient(to bottom, rgba(102,102,142,1) 1%,rgba(51,51,91,1) 52%,rgba(38,38,78,1) 52%,rgba(25,25,65,1) 100%);
	box-shadow: inset 0px 5px 5px -3px black, inset -10px 0px 5px -5px rgba(0,0,0,0.4), inset -230px 0px 200px -200px lightblue;
}
.match_type.cup{
	position: absolute;
	background: -webkit-linear-gradient(top, rgba(142,102,102,1) 1%,rgba(91,51,51,1) 52%,rgba(78,38,38,1) 52%,rgba(65,25,25,1) 100%);
	background: linear-gradient(to bottom, rgba(142,102,102,1) 1%,rgba(91,51,51,1) 52%,rgba(78,38,38,1) 52%,rgba(65,25,25,1) 100%);
	box-shadow: inset 0px 5px 5px -3px black, inset -10px 0px 5px -5px rgba(0,0,0,0.4), inset -230px 0px 200px -200px yellow;
}
.match_type.eos{
	position: absolute;
	background: -webkit-linear-gradient(top, rgba(142,102,102,1) 1%,rgba(91,51,51,1) 52%,rgba(78,38,38,1) 52%,rgba(65,25,25,1) 100%);
	background: linear-gradient(to bottom, rgba(142,102,102,1) 1%,rgba(91,51,51,1) 52%,rgba(78,38,38,1) 52%,rgba(65,25,25,1) 100%);
	box-shadow: inset 0px 5px 5px -3px black, inset -10px 0px 5px -5px rgba(0,0,0,0.4), inset -230px 0px 200px -200px red;
}
.match_type span{
	display: inline-block;
	font-size: 15px;
	vertical-align: top;
	padding-right: 10px;
}

.top_sponsor_container {
	position: absolute;
	right: 0px;
}
img#top_sponsor_image {
	height: 60px;
	cursor:pointer;
}

img.sponsor_information_image{
	cursor: pointer;
}

.main_box_1, .main_box_2, .main_box_3, .main_box_4, .main_box_5, .main_box_6 {
	display: none;
}

/*Use an outer container with class std_box to set up the standard dark background and white Lato font*/
.std_box{
	font-family: var(--primary-font-family);
	color: var(--text-color);
	background-color: transparent;
	background-image: linear-gradient(45deg, var(--box-bg-1), var(--box-bg-2), var(--box-bg-1), var(--box-bg-2), var(--box-bg-1), var(--box-bg-2));
	position: absolute;
	border-radius: 5px;
}

.std_box_header{
	font-family: var(--secondary-font-family);
	color: var(--text-color);
	background-color: var(--box-header-bg-color);
	height: 30px;
	line-height: 30px;
	position: relative;
	text-align:left;
	text-indent: 20px;
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px rgb(137, 137, 137);
	box-shadow: 0px 2px 1px rgba(0,0,0,0.2), inset 0px -1px 0px rgba(255,255,255,0.1);
	border-radius: 5px 5px 0px 0px;
	overflow: hidden;
	user-select:none;
	font-size:15px;
}

img.boxheader_right_image{
	position: absolute;
	top: 4px;
	right: 10px;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

img.boxheader_right_image_2{
	position: absolute;
	top: 4px;
	right: 40px;
	height: 20px;
	cursor: pointer;
}


img.dynamic_help_button{
	position: absolute;
	top: 2px;
	right: 1px;
	width: 25px;
	height: 25px;
	z-index: 2;
	cursor:pointer;
}

img#dyn_help_hof{
	right:auto;
	left:2px;
}

.std_box_header.centered{
	text-align:center;
}

.std_box_header_double.left {
	float: left;
	margin-left: 5px;
}
.std_box_header_double.right {
	float: right;
	margin-right: 5px;
	cursor: pointer;
	font-size:13px;
}

.std_box_header_double {
	display: inline-block;
	vertical-align: top;
	height: inherit;
}

/*Standard wrapper for scrollable content*/
.std_scroll_wrapper{
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
	font-family: var(--primary-font-family);
	font-size: 14px;
	/* Firefox thin scrollbars */
	scrollbar-width: thin;
	scrollbar-color: white #424242;
}

/*Then a Standard cell header*/
.std_header_cell{
	float: left;
	height: 20px;
}

/*Then a Standard cell*/
.std_content_cell{
	float: left;
	height: 20px;
}

/*Standard clickable div format*/
.clickable{
	cursor:pointer;
	text-decoration: underline;
}
.pointer{
	cursor:pointer;
}

.orange_hover:hover{
	color:var(--link-color);
}

.orange{
	color:var(--link-color);
}

.code{
	display: block;
	font-family: monospace;
	white-space: pre;
	tab-size: 20;
	font-size: 13px;
	line-height: 15px;
}

.main_box{
	display: none;
	position: absolute;
	top: 100px;
	left: 200px;
	height: 400px;
	width: 600px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	box-shadow: inset 0px 0px 1px rgba(255,255,255,1), -5px 5px 10px rgba(0,0,0,0.2);
}
.main_box::before{
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	right: 3px;
	bottom: 3px;
	border: 1px solid lightgreen;
	opacity: 0.5;
	box-shadow: inset 0px 0px 3px black;
}

.field_options{
	width: 173px;
	height: 695px;
	padding: 5px;
	background: rgba(0,0,0,0.6);
	box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}
.field_top {
	width: 161px;
	height: 23px;
	padding-top: 3px;
	color: var(--text-color);
	text-transform: uppercase;
	font-weight: bold;
	font-family: var(--secondary-font-family);
	font-size: 16px;
	text-align: center;
	margin-left: 5px;
}
.field_options select{
	width: 100%;
	margin-bottom: 7px;
	font-family: var(--tertiary-font-family);
	font-size:13px;
	border-radius: 0px;

}
.field_heading{
	font-size: 14px;
	font-family: var(--primary-font-family);
	text-shadow: 1px 1px 1px black;
	color: var(--text-color);
	background: rgba(0,0,0,0.5);
	padding: 4px;
}
.field_option {
	display: inline-block;
	height: 51px;
	background-color: #656565;
	color: var(--text-color);
	vertical-align: middle;
	margin-bottom: 2px;
	margin-top: 2px;
	font-family: var(--primary-font-family);
	overflow: hidden;
	line-height: 27px;
	width: 174px;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	box-shadow: inset 0px 0px 1px white;
	border-radius: 0px 0px 00px 10px;
}
select#ts_rendermode_dropdown {
	margin-left: 9px;
}
.field_option_header{
	height: 20px;
	font-size: 15px;
	line-height: 20px;
}

.field_option span {
	font-style: italic;
	font-size: 12px;
	display: block;
	border-top: 1px solid white;
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0px 4px 5px -3px black;
	padding: 0px 1px 0px 1px;
	border-radius: 0px 0px 0px 10px;
}
select.ts_tactical_dropdown {
	width: 159px;
	margin-right: 0px;
	margin-left: 10px;
	margin-top: 5px;
}

.field_options img {
	display: inline-block;
	height: 67px;
	vertical-align: middle;
	margin-bottom: 4px;
	margin-left: -4px;
}
.playfield{
	width: 498px;
	height: 674px;
	/*background: url(images/ml2/field4.png);*/
	background: url('images/ml2/bgs/newfield_portrait_2.png');
	background-size: 498px 585px;
	background-repeat: no-repeat;
	font-family: var(--primary-font-family);
	color: var(--text-color);
	position: relative;
	background-color: rgba(0, 0, 0, 0.45);
}

.teamname{
	position: absolute;
	display: table;
	top: 35px;
	left: 0px;
	text-align: center;
	width: 340px;
	height: 35px;
	font-family: var(--secondary-font-family);
	font-size: 27px;
	text-transform: uppercase;
}
.teamname span{
	font-weight: 600;
	color: var(--text-color);
	display: table-cell;
	vertical-align: middle;
	text-shadow: -4px 0px 5px rgba(0,0,0,0.4), 0px 0px 2px rgba(0,0,0,0.3);
}
.cityname{
	position: absolute;
	display: table;
	top: 336px;
	left: 190px;
	width: 150px;
	height: 32px;
	text-align: center;
}
.cityname span{
	font-weight: 600;
	color: var(--text-color);
	display: table-cell;
	vertical-align: middle;
	text-shadow: -2px 0px 3px rgba(0,0,0,0.4);
}
.playername{
	position: absolute;
	display: table;
	top: 285px;
	left: 190px;
	width: 150px;
	height: 35px;
	text-align: center;
}
.playername span{
	font-weight: 600;
	color: var(--text-color);
	display: table-cell;
	vertical-align: middle;
	text-shadow: -2px 0px 3px rgba(0,0,0,0.4);
}
.teamsponsor{
	position: absolute;
	top: 403px;
	left: 195px;
	height: 20px;
	width: 200px;
}
.teamsponsor img{
	height: inherit
}

.dark_content{
	padding: 20px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
}
.black_box{
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.8);
}
.fixture_entry{
	position: relative;
	height: 27px;
	line-height: 27px;
}

.fixture_entry.win{
	background-color: rgba(38,110,44,0.7) !important;
}
.fixture_entry.win:nth-child(2n+1){
	background-color: rgba(24,90,44,0.7) !important;
}
.fixture_entry.draw{
	background-color: rgba(128,128,0,0.6) !important;
	/*background-color: rgba(60, 60, 60, 0.8) !important;*/
	/*background-color: rgba(32, 39, 58, 0.8) !important*/
}
.fixture_entry.draw:nth-child(2n+1){
	background-color: rgba(100,100,0,0.6) !important;
	/*background-color: rgba(20, 29, 58, 0.8) !important;*/
	/*background-color: rgba(50, 50, 50, 0.8) !important;*/
}

.fixture_entry.draw.colorblind{
	/*background-color: rgba(60, 60, 60, 0.8) !important;*/
	background-color: rgba(32, 39, 58, 0.8) !important
}
.fixture_entry.draw.colorblind:nth-child(2n+1){
	background-color: rgba(20, 29, 58, 0.8) !important;
	/*background-color: rgba(50, 50, 50, 0.8) !important;*/
}


.fixture_entry.loss{
	background-color: rgba(110,16,0,0.7) !important;
}
.fixture_entry.loss:nth-child(2n+1){
	background-color: rgba(90,10,0,0.7) !important;
}

.fixture_entry div{
	float: left;
	vertical-align: middle;
	font-family: var(--primary-font-family);
	color: var(--text-color);
	font-size: 13px;
	line-height: 25px;
	height:inherit;
}
#status_fix_res .fixture_entry:hover, #fixres_fix_res .fixture_entry:hover {
	background-color: rgb(0,0,0) !important;
}

div.hometeam.orange{
	color: orange !important;
}

div.awayteam.orange{
	color: orange !important;
}

.fixtures_header{
	font-family: var(--secondary-font-family);
	height: 23px;
	line-height: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: var(--text-color);
	font-size: 17px;
	text-align:center;
}

.fixture_entry .hometeam{
	width: 165px;
	margin-right: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: right;
	cursor:pointer;
}
.fixture_entry .awayteam{
	width: 165px;
	margin-left: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor:pointer;
}

.fixture_entry .hometeam:hover, .fixture_entry .awayteam:hover{
	color:orange;
}

.match_link{
	width: 60px;
	text-decoration: underline;
	cursor:pointer;
	text-align: center;
}
.noline {
	text-decoration: none;
}
.current_round_matches {
	position: absolute;
	top: 416px;
	left: 913px;
	width: 450px;
	height: 289px;
	overflow: hidden;
}
.general_box_1 {
	position: absolute;
	padding: 0px;
	top:0px;
}
#top_news{
	top: 3px;
	left: 3px;
	height: 411px;
	width: 436px;
	overflow: auto;
}
#top_threads{
	left: 3px;
	width: 436px;
	top: 416px;
	height: 289px;
}

div#top_threads_scroll_container {
	height: 236px;
}

.threads_wrapper{
	height: 188px;
	background: linear-gradient(30deg, rgba(14,34,41,0.9), rgba(32,18,24,0.9), rgba(27,27,27,0.9), rgba(18,35,24,0.9));
}

.status_no_league_result_to_show {
	margin-top: 20px;
	text-align: center;
	width: 90%;
	margin-left: 5%;
}

#status_fix_res .status_fixres_round{
	display:inline-block;
	width:50px;
	text-align:center;
}
#status_fix_res .status_fixres_home{
	display:inline-block;
	width:142px;
	overflow:hidden;
	cursor:pointer;
	height:inherit;
}
#status_fix_res .status_fixres_away{
	display:inline-block;
	width:142px;
	overflow:hidden;
	cursor:pointer;
}
#status_fix_res .status_fixres_type{
	display:inline-block;
	width:55px;
	overflow:hidden;
}
#status_fix_res .status_fixres_match{
	display:inline-block;
	width:50px;
	text-align: center;
}
#status_fix_res .status_fixres_match.result{
	cursor:pointer;
	color:orange;
	overflow:hidden;
	height:inherit;
}

#status_fix_res .fixture_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.3);
}
#status_fix_res .fixture_entry:nth-child(2n+1){
	background-color: rgba(0,0,0,0.5);
}
.status_threads_header_wrapper{
	font-weight: bold;
	height: 20px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
}

.status_threads_entry_wrapper {
	font-weight: normal;
	height: 27px;
	line-height: 27px;
}

.status_threads_entry_wrapper:hover{
	background-color:black;
}

.status_threads_entry_wrapper:nth-child(2n+0){
	background-color: rgba(0,0,0,0.5) !important;
}

#fixres_full_fixture_list .fixture_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.5);
}

#fixres_fixtures_results_container{
	min-height:216px;
}

span.fixres_small_divdep{
	font-size:11px;
}

/*cup_fixres_cell:hover span.fixres_small_divdep */

.status_thread_icons{
	display:inline-block;
	height: inherit;
	line-height: inherit;
	width: 20px;
}

.status_thread_name{
	display:inline-block;
	height: inherit;
	line-height: inherit;
	width: 200px;
	text-indent: 5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 5px;
}

.status_thread_name.read{
	color: #adadad;
}
.status_thread_poster{
	display:inline-block;
	height: inherit;
	line-height: inherit;
	width:118px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.status_thread_timestamp{
	display:inline-block;
	height: inherit;
	line-height: inherit;
	width:70px;
	text-align: right;
	padding-right:5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.status_threads_entry_wrapper .status_thread_name, .status_threads_entry_wrapper .status_thread_poster{
	cursor:pointer;
}

/* Let's see if we can make a one-size-fits all field for Status */
#status_field_box {
	width: 468px;
	height: 411px;
	top: 3px;
	left: 442px;
}

#status_field_box #playfield {
	height: 405px;
	background-position: bottom;
	background-size: cover;
	transform: scaleX(0.94) scaleY(0.94);
	transform-origin: top left;

}

.status_field_q {
	position: absolute;
	top: 0px;
	width: 100%;

}

.status_field_q.first {
	text-align: left;
	text-indent: 20px;
}

.status_field_q.second {
	text-align: right;
	right:20px;
}

button#ts_shortcut {
	position: absolute;
	bottom: 26px;
	left: 7px;
	width: 125px;
	height:50px;
	margin:0px;
}

button#tr_shortcut {
	position: absolute;
	bottom: 26px;
	right: 7px;
	width: 125px;
	height:50px;
	margin:0px;
}

#overview {
	top: 416px;
	left: 442px;
	height: 289px;
	width: 468px;
	/*box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);*/
}

.modal_button.overview {
	width: 45%;
	height: 55px;
	margin-top: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	margin-left: 2.5%;
	margin-right: 2%;
	font-size:15px;
	/*background: url(images/ml2/field4.png);*/
	background: url('images/ml2/bgs/newfield_portrait_2.png');
	background-position: 236px 235px;
	border-color:white !important;
}

.modal_button.overview:hover {
	filter:brightness(110%);

}

.modal_button.overview div {
	font-size:14px;
	background-image: linear-gradient(90deg, #00000010, #000000B0,#00000010);
}

.modal_button.overview.cancel div {
	color: orange;

}

#ov_ii_button{
	width:80%;
	margin-left: 10%;
}

#overview hr, #schedule_popup_content hr, hr.admin_breaker{
	color: red;
	border: 1px solid;
	width: 99%;
	margin-top:2px;
	margin-bottom:2px;
}
hr.admin_breaker{
	margin-top:5px;
	margin-bottom:5px;
}
#overview_content{
	overflow-y: hidden;
	overflow-x: hidden;
	position: relative;
	padding-top: 0px;
	padding-bottom: 5px;
	top: 0px;
	height: 325px;
	font-size: 15px;
	font-family: var(--primary-font-family);
}
.overview_item_container{
	width: 440px;
	height: 20px;
}
.overview_header{
	width:210px;
	height:20px;
	line-height: 20px;
	font-variant: small-caps;
	text-align:right;
	float:left;
}
.overview_entry{
	width:210px;
	height:20px;
	line-height: 20px;
	text-align:left;
	float:right;
	text-indent:20px;
}
#motd{
	left: 3px;
	top: 3px;
	height: 411px;
	width: 436px;
}
#motd_content{
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 10px;
	height: 356px;
	font-family: var(--primary-font-family);
	line-height: 18px;
}

#motd_content br {
	display: block !important;
	margin: 10px 0px;
	position: relative !important;
	content: "";
}

.motd_item_container{
	min-height: 25px;
	padding-bottom:3px;
	margin-bottom:5px;
	border-bottom:1px solid white;
}
.motd_bottom_line{
	background-color: rgba(28, 28, 28, 0.74);
	width: 100%;
	height: 20px;
	color: white;
	text-transform: uppercase;
	font-family: var(--secondary-font-family);
	border-radius: 0px 0px 5px 5px;
}

#status_league_table {
	top: 3px;
	left: 913px;
	height: 411px;
	width: 450px;
}

#status_league_table .nation {
	width: 320px;
}

#status_league_table .table_top_flag{
	cursor:pointer;
}

.important_info_bottom_link{
	float:left;
	width:137px;
	font-variant-caps: small-caps;
	color:orange;
	font-size:13px;
	text-align:center;
	cursor:pointer;
}

.news_entry_wrapper{
	overflow-y: auto;
	overflow-x: hidden;
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
	height: 374px;
	background-color: rgba(0,0,0,0.6);
}

@-webkit-keyframes NewsBG {
	0%{background-position:15% 0%}
	50%{background-position:85% 100%}
	100%{background-position:15% 0%}
}

@keyframes NewsBG {
	0%{background-position:15% 0%}
	50%{background-position:85% 100%}
	100%{background-position:15% 0%}
}
.news_filter_img{
	height: 20px;
	width: 20px;
	top: 4px;
	position: relative;
	padding-left: 8px;
	float: right;
	z-index: 3;
	right: 10px;
	cursor:pointer;
}
.news_filter_img.off{
	opacity:0.3;
}

.news_top_line{
	background-color: rgba(0,0,0,0.9);
	width: 100%;
	height: 35px;
	position: relative;
	top: 0px;
	color: white;
	text-transform: uppercase;
	font-family: var(--secondary-font-family);
	text-shadow: 1px 1px 1px rgb(48,48,48);
	box-shadow: 0px 5px 1px rgba(0,0,0,0.2), inset 0px -1px 0px rgba(255,255,255,0.1);
}
.news_top_line span{
	font-size: 18px;
	font-weight: 600;
	margin-left: 20px;
	line-height: 34px;
	text-shadow: 1px 1px 2px #868686;
}
.news_bottom_line{
	background-color: rgba(0,0,0,0.9);
	width: 100%;
	height: 35px;
	position: absolute;
	color: white;
	text-transform: uppercase;
	font-family: var(--secondary-font-family);
	text-shadow: 1px 1px 1px rgb(48,48,48);
	box-shadow: 0px -5px 1px rgba(0,0,0,0.2), inset 0px 1px 0px rgba(255,255,255,0.1);
}

.news_bottom_line span{
	font-size: 15px;
	font-weight: 600;
	margin-left: 20px;
	line-height: 30px;
	text-shadow: 1px 1px 2px black;
}
.top_news_entry{
	margin-bottom: 5px;
	font-size: 14px;
	font-family: var(--primary-font-family);
	display: block;
	width: 100%;
}

.top_news_entry span{
	padding: 0px;
	padding-left: 5px;
	display: block;
	width: 415px;
	min-height: 37px;
}
.news_timestamp {
	float: left;
	margin-right: 6px;
	position: relative;
	font-size: 12px;
	font-family: var(--tertiary-font-family);
	text-align: center;
}
.top_news_icon{
	height: 37px;
	width: 37px;
	position: relative;
	float: left;
	padding-right: 10px;
	margin-left: 3px;
}

.news_separator{
	margin: 7px 2px;
	background: white;
	height: 1px;
}
.general_box_2{
	position: absolute;
	left: 442px;
	height: 425px;
	width: 426px;
	background: rgba(0,0,0,0.7);
	top:0px;
}

.full_field{
	position: absolute;
	bottom: 0px;
	right: 0px;
	display: none;
}
.league_table{
	text-transform: uppercase;
	font-family: var(--secondary-font-family);
	font-size: 14px;
}

img.last5_icon {
	height: 12px;
	width: 12px;
	margin-top: 2px;
	margin-right: 3px;
	opacity:0.8;
	cursor:pointer;
}

#status_league_table .table_top_flag{
	left: 290px;
}

#status_league_table .table_cover{
	background-color:black;
	background-image: url(images/ml2/tablecover2.jpg);
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 360px;
	display: block;
	position: absolute;
	bottom: 2px;
	cursor: pointer;
	z-index:2;
	/*box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,0.2);*/
}

div#table_cover_text {
	text-align: center;
	margin-top: 126px;
	text-shadow: 2px 2px black;
	background-color: rgba(0,0,0,0.5);
	width: 86%;
	margin-left: 2%;
	border-radius: 10px;
	padding: 5%;
	user-select: none;
}

#status_league_table .table_info{
	font-family: var(--primary-font-family);
	position: relative;
	bottom: 1px;
	color: white;
	font-size: 12px;
	width: 100%;
	line-height: 13px;
	left: 0px;
	overflow: hidden;
	height: 30px;
}
@-webkit-keyframes ticker {
  0% {
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	visibility: visible;
  }
  100% {
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
  }
}
@keyframes ticker {
  0% {
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	visibility: visible;
  }
  100% {
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
  }
}
.ticker_wrap {
	width: 468px;
	overflow: hidden;
	height: 30px;
	background-color: rgba(0, 0, 0, 0.9);
	cursor:pointer;
	border-radius: 0px 0px 5px 5px;
}

.ticker {
	display: inline-block;
	position: relative;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	width: inherit;
	/*
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	-webkit-animation-name: ticker;
	animation-name: ticker;
	-webkit-animation-duration: 10s;
	animation-duration: 10s;
	*/
}
.ticker_item {
	display: inline-block;
	font-size: 16px;
	color: white;
	line-height: 30px;
	text-align: center;
	width: 100%;
}
.table_top{
	background-color: rgba(0,0,0,0.9);
	width: 100%;
	height: 48px;
	overflow: hidden;
	position: relative;
	font-weight: 700;
	border-radius: 5px 5px 0px 0px;
}
.table_top .nation{
	position: relative;
}
.table_top .leaguename{
	text-indent: 25px;
	display: block;
	line-height: 25px;
	height: 25px;
}
.table_top .leaguename span{
	font-size: 20px;
}
.table_top .divdep{
	text-indent: 50px;
	display: block;
	line-height: 1;
	letter-spacing: 1px;
}
.table_top .divdep span{
	font-size: 14px;
}
.table_top_flag{
	position: absolute;
	height: 250px;
	width: 250px;
	top: -100px;
	transform: perspective(400px) rotateX(61deg) rotateY(8deg) rotate(-30deg) scale(0.7, 0.7);
	left: 350px;
}
.table_top_flag::after{
	content: '';
	position: absolute;
	left: 0px;
	top: 0px;
	height: 100%;
	width: 100%;
	background: -webkit-linear-gradient(left, rgba(28,28,28,1) 0%,rgba(28,28,28,0) 20%);
	background: linear-gradient(to right, rgba(28,28,28,1) 0%,rgba(28,28,28,0) 20%);
}
.table_top_flag img{
	height: 100%;
}
.table_headers{
	font-weight: 900;
	height: 25px;
	line-height: 25px;
	background-color: rgba(0,0,0,0.6);
}
.table_headers span{
	font-size: 14px;
}
.table_entry{
	font-weight: 700;
	height: 20px;
	line-height: 20px;
	width: 100%;
	background-color: rgba(0,0,0,0.5);
	border-bottom: 1px solid rgba(128,128,128,0.2);
}
.table_entry.top{
	/*color:orange;*/
	color:#33ff33;
}
.table_entry.playoff{
	color: #f1f19a;
}
.table_entry.relegate{
	color: #e40505;
}

.full_schedule_bottom_panel {
	position: absolute;
	bottom: 0px;
	text-align: center;
	width: 100%;
	padding: 2px;
	background-color: black;
	font-size: 15px;
	font-variant-caps: all-small-caps;
	cursor:pointer;
	color:orange;
}

.status_indicator{
	display:inline-block;
	width: 8px;
	height: 10px;
	margin: 5px 10px;
}
.table_entry.top .status_indicator{
	transform: skew(30deg);
	background: rgb(157,213,58); /* Old browsers */
	background: linear-gradient(top, rgba(157,213,58,1) 0%, rgba(161,213,79,1) 50%, rgba(128,194,23,1) 51%, rgba(124,188,10,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Chrome10-25,Safari5.1-6 */

}
.table_entry.playoff .status_indicator{
	background: rgb(252,234,187); /* Old browsers */
	background: linear-gradient(top, rgba(252,234,187,1) 0%, rgba(252,205,77,1) 50%, rgba(248,181,0,1) 51%, rgba(251,223,147,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(252,234,187,1) 0%,rgba(252,205,77,1) 50%,rgba(248,181,0,1) 51%,rgba(251,223,147,1) 100%); /* Chrome10-25,Safari5.1-6 */

	transform: skew(30deg);
}
.table_entry.relegate .status_indicator{
	transform: skew(30deg);
	background: rgb(248,80,50); /* Old browsers */
	background: linear-gradient(top, rgba(248,80,50,1) 0%, rgba(241,111,92,1) 50%, rgba(246,41,12,1) 51%, rgba(240,47,23,1) 71%, rgba(231,56,39,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(248,80,50,1) 0%,rgba(241,111,92,1) 50%,rgba(246,41,12,1) 51%,rgba(240,47,23,1) 71%,rgba(231,56,39,1) 100%); /* Chrome10-25,Safari5.1-6 */
}
.team_name{
	display:inline-block;
	width: 215px;
	height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor:pointer;
}
.manager_name{
	display:inline-block;
	width: 170px;
	height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor:pointer;
	font-size:12px;
	font-weight:normal;
}

.table_headers .manager_name span{
	font-weight: 700;
	font-size: 1.6em;
}

.league_table.special {
	background-color: rgba(0,0,0,0.7);
	color: white;
}

.points_entry{
	display:inline-block;
	width: 30px;
	height: 20px;
	text-align: center;
	vertical-align:top;
}

.league_table.special .points_entry{
	width: 40px;
}

.league_table.special .points_entry.xxlong {
	width: 210px;
	overflow: hidden;
	text-align: left;
}

.intl_cup_qualifier{
	display:inline-block;
	width: 15px;
	height: 20px;
	text-align: center;
	vertical-align:top;
}

img.league_champ_table_icon {
	position: absolute;
	right: 5px;
	height: 20px;
	bottom:1px;
}

.table_checkbox_container {
	display: inline-block;
}

.table_icons{
	display:inline-block;
	width: 110px;
	height: 20px;
	text-align: center;
}

button.modal_button.green.shorttable{
	width: 90px;
	position: absolute;
	bottom: 0px;
	height: 20px;
	margin:0px;
	right:100px;
}

button.modal_button.green.shorttable.away {
	right:5px;
}

div.table_headers.table_navigation_footer{
	display: flex;
	justify-content: space-evenly;
	flex-direction: row;
}
div.table_headers.table_navigation_footer img{
	width: 20px;
	height: 20px;
	position: relative;
	left: unset !important;
	bottom: unset !important;
	top: unset !important;
}

.coach_selection{
	position: absolute;
	top: 10.5em;
	left: 22.9em;
	height: 7.5em;
	width: 25em;
	display: none;
}
.selected_coach_name{
	position: absolute;
	top: 0.1em;
	left: 5.1em;
	height: 2.4em;
	width: 13.5em;
	border-left: 1em solid #043106;
	border-bottom: none;
	z-index: 11;
	background: black;
	line-height: 2.4em;
	padding-left: 1em;
}
.selected_coach_name span{
	font-size: 1.2em;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.coach_actions {
	position: absolute;
	top: 2.5em;
	left: 0em;
	height: 5em;
	width: 25em;
	background: #043106;
	border-radius: 0.5em;
	box-shadow: 0.5em 0.5em 0em rgba(0,0,0,0.4);
	z-index: 10;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.2);
}
.coach_actions img{
	height: 4.89em;
	float: left;
	border-right: 0.1em solid rgba(200,255,200,0.1);
}

@-webkit-keyframes spinningH {
  from {
	-webkit-transform: rotateX(0deg) rotateY(0deg);
  }
  to{
	-webkit-transform: rotateX(360deg) rotateY(360deg);
  }
}

@-o-keyframes spinningH {
  from {
	-o-transform: rotateX(0deg) rotateY(0deg);
  }
  to{
	-o-transform: rotateX(360deg) rotateY(360deg);
  }
}

@-ms-keyframes spinningH {
  from {
	-ms-transform: rotateX(0deg) rotateY(0deg);
  }
  to{
	-ms-transform: rotateX(360deg) rotateY(360deg);
  }
}

@keyframes spinningH {
  from {
	transform: rotateX(-10deg) rotateY(0deg);
  }
  to{
	transform: rotateX(-10deg) rotateY(90deg);
  }
  from {
	transform: rotateX(-10deg) rotateY(180deg);
  }
  to{
	transform: rotateX(-10deg) rotateY(270deg);
  }
  to{
	transform: rotateX(-10deg) rotateY(360deg);
  }
}

@keyframes spinningImage2D {
	from {
		transform: rotateX(0deg) rotateY(90deg);
	}
	50%{
		transform: rotateX(0deg) rotateY(0deg);
	}
	to {
		transform: rotateX(0deg) rotateY(90deg);
	 }
 }

 .spinningImage2D{
	 animation: spinningImage2D 10s infinite linear;
 }

 #container {
	-webkit-perspective : 1000px;
	-o-perspective	  : 1000px;
	-ms-perspective	 : 1000px;
	perspective		 : 1000px;
	transform-origin	   : 50% 50%;
	-webkit-perspective-origin  : 50% 50%;
	-o-perspective-origin	   : 50% 50%;
	-ms-perspective-origin	  : 50% 50%;
	perspective-origin		  : 50% 50%;
	position: absolute;
	top: 75px;
	right: 30px;
 }

.animate {
  -webkit-animation : spinningH 6s infinite linear;
  -o-animation	  : spinningH 6s infinite linear;
  -ms-animation	 : spinningH 6s infinite linear;
  animation		 : spinningH 6s infinite linear;
}

.player_entry{
	width: 455px;
	position: relative;
	color: white;
	font-family: var(--primary-font-family);
	font-size: 12px;
	background: rgba(0,0,0,0.5);
	height: 60px;
	line-height: 20px;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
	margin-bottom: 3px;
	border-radius: 0px 30px 30px 0px;
	-webkit-font-smoothing: subpixel-antialiased;
}
.player_img{
	position: relative;
	float: left;
	height: 60px;
	width: 60px;
}
.player_img img{
	height: inherit;
	width: inherit;
}
.player_name{
	position: relative;
	display: inline-block;
	height: 19px;
	width: 200px;
	text-indent: 5px;
	background: rgba(0,0,0,0.4);
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.player_pos{
	position: relative;
	display: inline-block;
	width: 125px;
	height: 19px;
	text-align: right;
	padding-right: 10px;
	background: rgba(0,0,0,0.4);
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.player_img.mid{
	border-right: 5px solid rgba(128,128,0,0.8);
}
.player_img.def{
	border-right: 5px solid rgba(38,108,44,0.8);
}
.player_img.att{
	border-right: 5px solid rgba(128,16,16,0.8);
}
.player_img.gk{
	border-right: 5px solid rgba(64, 66, 137, 0.8);
}

.stat_name{
	display: inline-block;
	height: 19px;
	width:24px;
	text-align: center;
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.contextmenu{
	position: absolute;
	top: 0px;
	right: 0px;
	height: 60px;
	width: 60px;
	background: url(images/ml2/contextmenu.png);
	transform: scale(0.70,0.70);
	transform-origin: 50% 50%;
	background-size: 211px 211px;
	z-index: 10;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 60px;
}
.moveable_contextmenu{
	position: absolute;
	top: 0px;
	left: 464px;
	height: 211px;
	width: 211px;
	background: url(images/ml2/contextmenu.png);
	transform: scale(0.70,0.70);
	transform-origin: 50% 50%;
	background-size: 100% 100%;
	z-index: 200;
	display: none;
}
.contextmenu_cancel{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	display: none;
}

.player_field_container{
	position: absolute;
	color: white;
	font-family: var(--primary-font-family);
	font-size: 14px;
	line-height: 14px;
	text-shadow: 1px 1px 1px black;
	text-align: center;
	width: 70px;
	cursor: pointer;
	height: 74px;
}
.player_field_container.selected{
	filter:brightness(150%);
}

.player_field_container.sub.sub12{
	left: 0px;
	top: 591px;
}
.player_field_container.sub.sub13{
	left: 71px;
	top: 591px;
}
.player_field_container.sub.sub14{
	left: 142px;
	top: 591px;
}
.player_field_container.sub.sub15{
	left: 213px;
	top: 591px;
}
.player_field_container.sub.sub16{
	left: 284px;
	top: 591px;
}
.player_field_container.sub.sub17{
	left: 355px;
	top: 591px;
}
.player_field_container.sub.sub18{
	left: 426px;
	top: 591px;
}

#pre_match_home_team_container .player_field_container.sub1{
	top: 608px;
	left: 1px;
}
#pre_match_home_team_container .player_field_container.sub2{
	top: 608px;
	left: 73px;
}
#pre_match_home_team_container .player_field_container.sub3{
	top: 608px;
	left: 145px;
}
#pre_match_home_team_container .player_field_container.sub4{
	top: 608px;
	left: 217px;
}
#pre_match_home_team_container .player_field_container.sub5{
	top: 608px;
	left: 289px;
}
#pre_match_home_team_container .player_field_container.sub6{
	top: 608px;
	left: 361px;
}
#pre_match_home_team_container .player_field_container.sub7{
	top: 608px;
	left: 433px;
}

#pre_match_away_team_container .player_field_container.sub1{
	top: 608px;
	left: 399px;
	/*left: -33px;*/
}
#pre_match_away_team_container .player_field_container.sub2{
	top: 608px;
	left: 327px;
	/*left: 39px;*/
}
#pre_match_away_team_container .player_field_container.sub3{
	top: 608px;
	left: 255px;
	/*left: 111px;*/
}
#pre_match_away_team_container .player_field_container.sub4{
	top: 608px;
	left: 183px;
}
#pre_match_away_team_container .player_field_container.sub5{
	top: 608px;
	left: 111px;
	/*left: 255px;*/
}
#pre_match_away_team_container .player_field_container.sub6{
	top: 608px;
	left: 39px;
	/*left: 327px;*/
}
#pre_match_away_team_container .player_field_container.sub7{
	top: 608px;
	left: -33px;
	/*left: 399px;*/
}


.player_field_container.sub1 img,
.player_field_container.sub2 img,
.player_field_container.sub3 img,
.player_field_container.sub4 img,
.player_field_container.sub5 img,
.player_field_container.sub6 img,
.player_field_container.sub7 img {
	display: none;
}

.player_field_container.sub1 .player_field_shirtnumber,
.player_field_container.sub2 .player_field_shirtnumber,
.player_field_container.sub3 .player_field_shirtnumber,
.player_field_container.sub4 .player_field_shirtnumber,
.player_field_container.sub5 .player_field_shirtnumber,
.player_field_container.sub6 .player_field_shirtnumber,
.player_field_container.sub7 .player_field_shirtnumber {
	display: none;
}

.player_field_container.sub1.gk .player_field_name,
.player_field_container.sub2.gk .player_field_name,
.player_field_container.sub3.gk .player_field_name,
.player_field_container.sub4.gk .player_field_name,
.player_field_container.sub5.gk .player_field_name,
.player_field_container.sub6.gk .player_field_name,
.player_field_container.sub7.gk .player_field_name{
	background-color:var(--gk-bg-color);
}
.player_field_container.sub1.def .player_field_name,
.player_field_container.sub2.def .player_field_name,
.player_field_container.sub3.def .player_field_name,
.player_field_container.sub4.def .player_field_name,
.player_field_container.sub5.def .player_field_name,
.player_field_container.sub6.def .player_field_name,
.player_field_container.sub7.def .player_field_name{
	background-color:var(--def-bg-color);
}
.player_field_container.sub1.mid .player_field_name,
.player_field_container.sub2.mid .player_field_name,
.player_field_container.sub3.mid .player_field_name,
.player_field_container.sub4.mid .player_field_name,
.player_field_container.sub5.mid .player_field_name,
.player_field_container.sub6.mid .player_field_name,
.player_field_container.sub7.mid .player_field_name{
	background-color:var(--mid-bg-color);
}
.player_field_container.sub1.att .player_field_name,
.player_field_container.sub2.att .player_field_name,
.player_field_container.sub3.att .player_field_name,
.player_field_container.sub4.att .player_field_name,
.player_field_container.sub5.att .player_field_name,
.player_field_container.sub6.att .player_field_name,
.player_field_container.sub7.att .player_field_name{
	background-color:var(--att-bg-color);
}


.player_field_container img{
	position: absolute;
	left: 5px;
	width: 60px;
	height: 74px;
}
.player_field_name{
	position: relative;
	top:36px;
	height: 14px;
	background: rgba(12,12,48,0.8);
	border-radius: 5px 5px 0px 0px;
	padding: 2px 0px;
	/*box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5);*/
	overflow: visible;
	width: 70px;
	font-size: 11px;
	border: 1px solid #ffffff75;
	border-bottom: 0px;
}

.player_field_shirtnumber{
	position: relative;
	font-weight: bold;
	font-size: 18px;
	text-shadow: 0px 0px 9px black;
	top: 0px;
	left: 1px;
	font-family: var(--tertiary-font-family);
}

.field_pos{
	position: absolute;
	height: 50px;
	width: 50px;
	margin-left: -27px;
	margin-top: -27px;
	text-align: center;
	line-height: 50px;
	border: 2px solid white;
	border-radius: 30px;
	font-size: 20px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.5), inset 1px 1px 1px rgba(0,0,0,0.5);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 900;
	background: rgba(4,49,6,0.8);
}
.pos_gk{
	top: 95%;
	left: 50%;
}
.pos_sw{
	left: 50%;
	top: 82%;
}
.pos_lb{
	left: 12%;
	top: 75%;
}
.pos_cbl{
	left: 33%;
	top: 75%;
}
.pos_cbr{
	left: 66%;
	top: 75%;
}
.pos_rb{
	left: 88%;
	top: 75%;
}
.pos_lwb{
	top: 60%;
	left: 12%;
}
.pos_dm{
	top: 60%;
	left: 50%;
}
.pos_rwb{
	top: 60%;
	left: 88%;
}
.pos_cml{
	top: 50%;
	left:30%;
}
.pos_cmr{
	top: 50%;
	left:70%;
}
.pos_lw{
	top: 30%;
	left: 15%;
}
.pos_am{
	top: 36%;
	left: 50%;
}
.pos_rw{
	top: 30%;
	left: 85%;
}
.pos_wf{
 top: 20%;
 left: 33%;
}
.pos_cf{
	top: 13%;
	left: 65%;
}

.pos_helper {
	display: none;
	font-size: 12px;
	position: absolute;
	top: 30px;
	left: -252px;
	max-width: 250px;
	background: #043106;
	border-radius: 5px;
	box-shadow: 5px 5px 0px rgba(0,0,0,0.4),inset 0px 0px 20px #136d0f;
	z-index: 10;
	border: 1px solid rgba(255,255,255,0.2);
	padding: 10px;
	text-align: justify;
}
.pos_helper_pos{
	display: block;
	float: left;
	height: 30px;
	width: 30px;
	text-align: center;
	line-height: 30px;
	border: 2px solid white;
	border-radius: 20px;
	font-size: 15px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.5), inset 1px 1px 1px rgba(0,0,0,0.5);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 700;
	background: rgba(4,49,6,0.8);
	margin-right: 10px;
	margin-bottom: 5px;
}
.player_field_position{
	height: 20px;
	position: relative;
	width: 110px;
}

.player_field_number{
	position: absolute;
	top: 54px;
	width: 70px;
	height: 20px;
	line-height: 20px;
	color: white;
	text-shadow: 1px 1px 1px black;
	border-radius: 0px 0px 5px 5px;
	background: rgba(12,12,48,0.8);
	/*box-shadow: inset 4px -2px 1px -3px rgba(255,255,255,0.5);*/
	border: 1px solid #ffffff75;
	border-top: 0px;

}
.player_field_fit{
		height: 20px;
	width: 20px !important;
	background: rgba(0,0,0,0.25);
	position: absolute;
	right: 0px;
	border-radius: 0px 0px 5px 5px;
}
.player_field_fit img{
	height: 20px;
	width: 20px;
	top: 0px;
	right: 0px;
	left: auto;
	position: relative;
	margin-left: auto;
}


/* SCROLLBAR */
/* Let's get this party started */
/* SCrollbars */
::-webkit-scrollbar{
	width: 12px;
	height: 12px;
	padding-top: 100px;
}

::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
	box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
	border: 1px solid black;
	background: rgb(41,41,41);
	border-radius: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 30px;
	margin-left: 30px;

}
::-webkit-scrollbar-thumb{
	border-radius:10px;
	height: 30px;
	width: 12px;
	border: 1px solid black;
	background: linear-gradient(rgb(200,200,200), rgb(150,150,150));
	box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5), inset -1px -1px 1px rgba(0,0,0,0.2);
}

::-webkit-scrollbar-track-piece {
	height: 30px;
	width: 30px;
}

.regbutton{
	position: relative;
	display: block;
	width: 150px;
	height: 25px;
	color:white;
	font-family: var(--primary-font-family);
	-webkit-box-shadow:inset 0px 0px 14px -3px #f2fadc;
	box-shadow:inset 0px 0px 14px -3px #f2fadc;
	background:linear-gradient(to bottom, #dbe6c4 5%, #9ba892 100%);
	background-color:#dbe6c4;
	border:2px solid #b2b8ad;
	display:inline-block;
	cursor:pointer;
	color:#4c5148;
	font-family: var(--tertiary-font-family);
	font-size:15px;
	font-weight:bold;
	line-height: 25px;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 1px #ced9bf;
	text-align: center;
}
.regbutton:hover {
	background:linear-gradient(to bottom, #9ba892 5%, #dbe6c4 100%);
}

.regbutton.blue{
	background:linear-gradient(to bottom, #c4e2e6 5%, #929ca8 100%);
	color:black;
}
.regbutton.blue:hover{
	background:linear-gradient(to bottom, #92a4a8 5%, #c4dee6 100%);
}

#timers_button{
	width: 171px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top:4px;
}

div.timerhelp {
	cursor: pointer;
	text-decoration: underline;
	font-weight: bold;
}

#set_piece_takers_button{
	width: 171px;
	margin-left: 0px;
	margin-right: 0px;
	/*height:40px;*/
}

.regbutton:active {
	position:relative;
	top:1px;
}

.match_container{
	width: 1200px;
	position: relative;
}

.match_logo img{
	height: inherit;
	width: inherit;
}
.match_avatar img{
	height: inherit;
	width: inherit;
}
.match_manager{
	font-size: 12px;
	line-height: 20px;
}
.match_teamname{
	font-size: 16px;
	text-transform: uppercase;
	line-height: 40px;
	cursor:pointer;
}
.match_sponsor{
	text-align: center;
	line-height: 50px;
}
.match_sponsor img{
	height: inherit;
	width: inherit;
}
.home_team{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 110px;
	width: 583px;
	color: white;
	font-size: 20px;
	font-family: var(--secondary-font-family);
}
.home_team span{
	display: block;
	transform: skew(45deg);
	text-align: right;
	padding-right: 20px;
}
.home_team .match_teamname{
	position: absolute;
	top: 0px;
	left: 150px;
	height: 40px;
	width: 380px;
	padding-left: 30px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(-45deg);
}

.home_team .match_manager{
	position: absolute;
	top: 40px;
	left: 160px;
	height: 20px;
	width: 340px;
	padding-left: 30px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(-45deg);
}
.home_team .match_sponsor{
	position: absolute;
	top: 60px;
	left: 110px;
	height: 50px;
	width: 385px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(-45deg);
	line-height: 30px;
	text-align:left;
}
.home_team .match_logo{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 110px;
	width: 110px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
}
.home_team .match_avatar{
	position: absolute;
	top: 0px;
	left: 110px;
	height: 60px;
	width: 60px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
}

.home_team .match_sponsor img{
	transform: skew(45deg);
	width: auto;
}
.away_team{
	position: absolute;
	top: 0px;
	right: 0px;
	height: 110px;
	width: 583px;
	color: white;
	font-size: 20px;
	font-family: var(--secondary-font-family);
}
.away_team span{
	display:block;
	transform: skew(-45deg);
	text-align: left;
	padding-left: 20px;

}
.away_team .match_logo{
	position: absolute;
	top: 0px;
	right: 0px;
	height: 110px;
	width: 110px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
}
.away_team .match_avatar{
	position: absolute;
	top: 0px;
	right: 110px;
	height: 60px;
	width: 60px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
}
.away_team .match_manager{
	position: absolute;
	top: 40px;
	right: 160px;
	height: 20px;
	width: 340px;
	padding-right: 30px;
	text-align: right;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(45deg);
	color:yellow;
}
.away_team .match_teamname{
	position: absolute;
	top: 00px;
	right: 150px;
	height: 40px;
	width: 380px;
	padding-right: 30px;
	text-align: right;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(45deg);
	color:yellow;
}
.away_team .match_sponsor{
	position: absolute;
	top: 60px;
	right: 110px;
	height: 50px;
	width: 385px;
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	transform: skew(45deg);
	line-height: 30px;
	text-align:right;
}
.away_team .match_sponsor img{
	transform: skew(-45deg);
	width: auto;
}
.score_board{
	background: url(images/ml2/scores.png);
	position: absolute;
	top: 0px;
	left: 495px;
	height: 66px;
	width: 212px;
	text-align: center;
	font-family: var(--secondary-font-family);
	font-size: 50px;
	color: white;
	line-height: 80px;
	text-shadow: 2px 3px 2px black, 0px 0px 2px black;
}
.game_clock{
	padding: 10px;
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 50%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 50%,rgba(0,0,0,0) 100%);
	border-radius: 30px;
	border-left: 1px solid rgba(255,255,255,0.1);
	border-right: 1px solid rgba(255,255,255,0.1);
	position: absolute;
	top: 70px;
	left: 520px;
	height: 30px;
	width: 140px;
	text-align: center;
	line-height: 30px;
	font-family: var(--primary-font-family);
	font-size: 41px;
	color: white;
	text-shadow: 0px 0px 15px black, 0px 0px 5px black, 0px 0px 28px black;
}
.timeline{
	position: absolute;
	top: 125px;
	left: 32px;
	height: 100px;
	width: 1120px;
	background:url(images/ml2/new_timeline.png), -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 50%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background:url(images/ml2/new_timeline.png), linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 50%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	border-radius: 55px;
}
.timeline_event{
	position: absolute;
	height: 20px;
	width: 20px;
}
.timeline_event.home{
	top: 22px;
}
.timeline_event.away{
	top: 58px;
}
.timeline_marker{
	height: 10px;
	width: 2px;
	background: white;
	position: absolute;
}
.timeline_marker.home{
	top: 40px;
}
.timeline_marker.away{
	top: 51px;
}
.timeline_event img{
	height: 20px;
	width: 20px;
}
.timeline_event_info{
	position: absolute;
	background: rgb(14, 88, 13);
	box-shadow: 4px 4px 0px rgba(0,0,0,0.4), inset 0px 0px 1px rgba(255,255,255,0.3);
	display: none;
	height: 20px;
	padding: 2px;
	color: white;
	border-radius: 10px 0px 0px 10px;
	text-shadow: 1px 1px 1px black;
}
.timeline_event_info span{
	display: inline-block;
	vertical-align: middle;
	padding-left: 5px;
	padding-right: 5px;
}
.timeline_event_info img{
	height: 20px;
	width: 20px;
	vertical-align: middle;
	margin-left: 4px;
}
.commentsfield{
	height: 390px;
	width: 500px;
	background: rgba(0,0,0,0.8);
	color: white;
	position: absolute;
	top: 300px;
	left: 40px;
	overflow: auto;
	font-family: var(--primary-font-family);
	padding: 15px;
	font-size: 14px;
	line-height: 16px;
	box-shadow: 1px 1px 1px rgba(255,255,255,0.4), -1px -1px 1px rgba(0, 0, 0, 0.8);
}

.stats_circle{
	position: relative;
	margin: 10px auto;
	height: 80px;
	width: 80px;
	border-radius: 40px;
	text-shadow: -2px 2px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px -1px 1px 0px rgba(0,0,0,0.5), -5px 5px 10px rgba(0,0,0,0.5);
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(156,156,156,1) 100%);
	line-height: 78px;
	text-align: center;
	font-size: 30px;
	font-family: var(--secondary-font-family);
	color: black;
	z-index: 0;
}
.stats_circle::before{
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	height: 60px;
	width: 60px;
	border-radius: 35px;
	box-shadow: inset 0px -1px 1px 0px rgba(0,0,0,0.5);
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}
.match_stat_entry{
	height: 30px;
	width: 100%;
	position: relative;
	margin-bottom: 5px;
}
.match_stat_name{
	line-height: 30px;
	text-align: center;
	width: 33%;
	float: left;
	font-size: 16px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
}
.match_stat_gauge{
	width: 33%;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	float: left;
	position: relative;
}
.match_stat_gauge .home_bar{
	overflow: hidden;
	width: 65%;
	height: 30px;
	position: absolute;
	right: -15px;
	top: 0px;
	background: green;
	transform: skew(45deg);
}
.home_bar::after{
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.match_stat_gauge .away_bar{
	overflow: hidden;
	width: 37%;
	height: 30px;
	position: absolute;
	left: -15px;
	top: 0px;
	background: red;
	transform: skew(-45deg);
}
.away_bar::after{
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0.25) 0%,rgba(0,0,0,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.match_stat_number{
	padding-right: 5%;
	padding-left: 5%;
	width: 90%;
	position: absolute;
	top: 0px;
	font-size: 22px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
}
.match_stat_number.home{
	text-align: right;
	right: 0px;
}
.match_stat_number.away{
	text-align: left;
	left: 0px;
}
.match_performance{
	width: 50%;
	text-align: center;
	display:inline-block;
	margin-top: 5px;
	padding-top: 10px;
	/*border-top: 1px solid rgba(255,255,255,0.3);*/
}
.match_performance_header{
	font-size: 20px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
	text-transform: uppercase;
}
.match_info{
	position: relative;
	float: left;
	width: 50%;
	font-size: 14px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
	text-transform: uppercase;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	margin-bottom: 5px;
}
.match_stats_header{
	font-size: 20px;
	height: 20px;
	margin-bottom: 4px;
}
.match_stats_entry{
	height: 20px;
}

.mini_match_container{
	position: absolute;
	right: 0px;
	top: 5px;
	width: 300px;
	height: 50px;
	color: white;
	font-family: var(--primary-font-family);
	z-index: 10;
	display: none;
	cursor: pointer;
}
.mini_match_container span{
	display: block;
	transform: skew(-45deg);
}
.match_main{
	position: absolute;
	top: 0px;
	right: -15px;
	width: 250px;
	height: 30px;
	background: linear-gradient(to bottom, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	transform: skew(45deg);
	float: left;
	font-size: 24px;
	text-shadow: 1px 1px 1px black;
	line-height: 30px;
}
.match_event{
	position: absolute;
	top: 8px;
	right: -25px;
	width: 190px;
	height: 22px;
	background: linear-gradient(to bottom, rgba(102,102,102,1) 1%,rgba(51,51,51,1) 52%,rgba(38,38,38,1) 52%,rgba(25,25,25,1) 100%);
	transform: skew(45deg);
	line-height: 22px;
	padding-left: 11px;

}
.match_event span{
	display: inline-block;
}
.match_event img{
	height: 20px;
	width: 20px;
	vertical-align: text-top;
	display: inline-block;
	transform: skew(-45deg);
	padding: 0px 5px 0px 2px;
}
.match_timer{
	position: absolute;
	top: 4px;
	right: 221px;
	width: 80px;
	height: 23px;
	background: linear-gradient(to right, rgba(102,102,102,1) 0px,rgba(25,25,25,1) 44px,rgba(25,25,196,0) 44px,rgba(25,25,25,0) 48px,rgba(25,25,196,1) 48px,rgba(25,25,196,1) 52px,rgba(25,25,25,0) 52px,rgba(25,25,25,0) 56px,rgba(25,25,198,1) 56px,rgba(51,51,198,1) 60px,rgba(38,38,38,0) 60px,rgba(38,38,38,0) 64px,rgba(25,25,202,1) 64px,rgba(25,25,202,1) 68px,rgba(25,25,25,0) 68px,rgba(25,25,25,0) 72px,rgba(25,25,206,1) 72px,rgba(25,25,206,1) 76px,rgba(25,25,25,0) 76px,rgba(25,25,25,0) 80px);
	transform: skew(45deg);
	line-height: 23px;
	padding-left: 13px;
}
.mini_score{
	float: left;
	display: block;
	width: 80px;
	text-align: center;
	background: -webkit-linear-gradient(top, rgba(20,58,102,1) 0%,rgba(20,58,102,1) 10%,rgba(20,58,102,1) 10%,rgba(30,87,153,1) 20%,rgba(34,116,183,1) 50%,rgba(30,87,153,1) 80%,rgba(20,58,102,1) 90%,rgba(20,58,102,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(20,58,102,1) 0%,rgba(20,58,102,1) 10%,rgba(20,58,102,1) 10%,rgba(30,87,153,1) 20%,rgba(34,116,183,1) 50%,rgba(30,87,153,1) 80%,rgba(20,58,102,1) 90%,rgba(20,58,102,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	transform: skew(-45deg);
	margin-right: -10px;
}
.score_holder{
		display: inline-block;
}

.score_hyphen{
	display: inline-block;
}
.mini_team{float:left;	padding-left: 20px;
	padding-right: 10px;}

.notification_container{
	position: absolute;
	right: 5px;
	top: 250px;
	width: 350px;
	z-index: 10;
	display:none;
}
.notification_container .type_icon{
	position: absolute;
	left: -103px;
	height: 61px;
	top: -3px;
	margin-left: 2px;
	transform: perspective(150px) rotateY(-60deg);
	transform-origin: 45% 50%;
	border: 1px solid rgba(255,255,255,0.1);
}
.notification_icon{
	position: absolute;
	left: -56px;
	transform: perspective(150px) rotateY(45deg);
	transform-origin: 100% 50%;
	height: 55px;
	border: 1px solid rgba(255,255,255,0.1);
}
.notification_container img{
	height: inherit;
	width: inherit;
}
.type_icon::after{
	content:'';
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	background: -webkit-linear-gradient(45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.notification_icon::after{
	content:'';
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	background: -webkit-linear-gradient(-45deg, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.notification_text{
	width: 330px;
	line-height: 25px;
	border-top: 1px solid #96d1f8;
	background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
	background: -o-linear-gradient(top, #3e779d, #65a9d7);
	padding: 2px 10px;
	box-shadow: rgba(0,0,0,1) 0 1px 0, inset 1px 0px 1px rgba(255,255,255,0.5);
	text-shadow: rgba(0,0,0,.4) 0 1px 0;
	font-size: 18px;
	font-family: var(--primary-font-family);
	float: left;
	margin-left: 2px;

}

.general_kit{
	position: absolute;
	top: 130px;
	left: -40px;
	height: 600px;
	width: 150px;
	/*transform: rotateY(180deg);*/
	display: none;

}
.general_kit img{
	height: inherit;
}

img.top_left_logo{
	position: absolute;
	top:0px;
	left:0px;
	width:60px;
	height:60px;
	cursor:pointer;
	background: rgba(0, 0, 0, 0.5);
}

.top_info{
	position: absolute;
	left: 367px;
	height: 60px;
	width: 473px;
	z-index: 100;
	font-family: var(--primary-font-family);
	font-size: 15px;
	background-color: rgba(0,0,0,0.6);
	border: 1px solid black;
	border-bottom: 0px;
	border-left: 3px solid red;
	border-right: 3px solid red;
}

.top_header_icon{
	margin-left:0px;
	margin-right:4px;
}

.mail{
	background-image: url(images/ml2/icons/mail.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	background-size: 97% 95%;
	width: 80px;
	height: 60px;
	position: relative;
	display: inline-block;
	cursor: pointer;
	background-position: center;
}
.offers{
	background-size: 97% 95%;
	background-image: url(images/ml2/icons/offer.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	width: 80px;
	height: 60px;
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.challenges{
	background: url(images/ml2/icons/friendly.png);
	width: 80px;
	height: 60px;
	position: relative;
	display: inline-block;
	cursor: pointer;
	background-size: 95% 98%;
	background-position: center;
	background-repeat: no-repeat;
}

.top_counter{
	position: absolute;
	font-size: 22px;
	line-height: 22px;
	padding-bottom: 1px;
	width: 70px;
	text-align: center;
	cursor: pointer;
	color: black;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 5px 5px 0px 0px;
	font-weight: bold;
	margin-left: 8px;
}

.unread_mail_counter{
	bottom: 1px;
	left: 0px;
}
.new_offers_counter{
	bottom: 1px;
	left: 0px;
}
.new_challenges_counter{
	bottom: 1px;
	left: 0px;
}

.mail.new{
	background-image: url(images/ml2/icons/mailnew.png);
}
.offers.new{
	background-image: url(images/ml2/icons/offernew.png);
}
.challenges.new{
	background-image: url(images/ml2/icons/friendlynew.png);
}

.mailbox{
	display: none;
	position: absolute;
	top: 60px;
	left: 625px;
	margin-left: -250px;
	box-shadow: -1px -1px 1px rgba(255,255,255,0.1);
	font-family: var(--primary-font-family);
	font-size: 14px;
	line-height: 25px;
	font-weight: 400;
	z-index: 10;
}
.inbox{
	position: relative;
	width: 500px;
	display: inline-block;
	box-shadow: -1px -1px 1px rgba(255,255,255,0.1), 5px 5px 0px rgba(0,0,0,0.5);
	background: rgba(255,255,255,0.95);
	vertical-align: top;
}
.selected_message{
	width: 280px;
	position: relative;
	box-shadow: -1px -1px 1px rgba(255,255,255,0.1), 5px 5px 0px rgba(0,0,0,0.5);
	background: url(images/ml2/msgbg.jpg) repeat;
	display: none;
	padding: 10px;
	line-height: 20px;
	transform-origin: 0% 50%;
}
.message_top {
	margin-bottom: 10px;
	margin-top: -10px;
}
.message_teamname{
	display: block;
	margin-left: 80px;
	line-height: 25px;
}
.message_managername {
	position: relative;
	margin-left: 80px;
	display: block;
	line-height: 25px;
}
.message_subject {
	position: relative;
	margin-left: 80px;
	display: block;
	line-height: 25px;
	font-size:16px;
}
.message_teamlogo {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 78px;
	width: 78px;
}
.message_teamlogo img{
	height: inherit;
	width: inherit;
}
.message_avatar {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 78px;
	width: 78px;
}
.message_avatar img{
	height: inherit;
	width: inherit;
}
.mailfrom{
	float: left;
	height:25px;
	width: 140px;
	padding-left: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
.mailsubject{
	float: left;
	height:25px;
	width: 240px;
	padding-left: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
.mailaction{
	float: left;
	height:25px;
	width: 100px;
	background: rgba(48,48,128,0.8);
	color: yellow;
	text-align: center;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	cursor:pointer;
}
.notifications {
	background: url(images/ml2/icons/notify_header_icon.png);
	height: 59px;
	width: 20px;
	background-size: 20px 60px;
	display: inline-block;
	position: relative;
	opacity:0.2;
	bottom: 2px;
}
.notifications.new{
	opacity:1;
}

.notification_history_container{
	position: absolute;
	left: 490px;
	top: 61px;
	width: 356px;
	background-color: #464646;
	z-index: 20;
	color: white;
	display: none;
	padding: 10px;
	border: 1px solid white;
	font-family: var(--primary-font-family);
}

.notification_history_entry{
	vertical-align: top;
	margin-bottom: 10px;
}

.notification_history_cell {
	display:inline-block;
	vertical-align:top;
}

.notification_history_cell.col1{
	width:50px;
}
.notification_history_cell.col2{
	width:300px;
}

.top_center_text {
	position: relative;
	display:inline-block;
	width: 174px;
	height: 60px;
	text-align: center;
	line-height: 16px;
	vertical-align: top;
}
.cash{
	position: relative;
	width: 100%;
	color: white;
	text-shadow: 1px 1px 1px black;
	letter-spacing: 1px;
	text-align: right;
	right: 0px;
	height:20px;
	line-height:20px;
}

.credits{
	position: relative;
	width: 100%;
	color: white;
	text-shadow: 1px 1px 1px black;
	text-align: right;
	right: 0px;
	height:20px;
	line-height:20px;
	cursor:pointer;
}

.season_round{
	position: relative;
	width: 100%;
	color: white;
	text-shadow: 1px 1px 1px black;
	text-align: right;
	right: 0px;
	height:20px;
	line-height:20px;

}

/*Shadow Box*/
.shadow_box{
	height: 100px;
	width: 100%;
	box-shadow: -1px -1px 1px rgba(255,255,255,0.1);
	position: relative;
	background: rgba(0,0,0,0.6);
}
.shadow_box::before{
	content: '';
	position: absolute;
	top: 0px;
	right: -5px;
	height: 100%;
	width: 5px;
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to right, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
	transform: skewY(45deg);
	transform-origin: 0% 0%;
}
.shadow_box::after{
	content: '';
	position: absolute;
	bottom: -5px;
	left: 1px;
	width: 100%;
	height: 5px;
	transform: skewX(45deg);
	transform-origin: 0% 0%;
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
}


/* league stats */
.box_top {
	background-color: rgba(28,28,28,1);
	position: relative;
	margin: -1em -1em 1em -1em;
	height: 3em;
	line-height: 3em;
}
.box_top span{
	font-size: 2em;
	font-weight: 600;
}
.box_league_header{
	background-color: rgba(28,28,28,1);
	position: relative;
	margin: 0em -1em 1em -1em;
	height: 3em;
	line-height: 3em;
}
.box_league_header span {
	font-size: 1.6em;
	font-weight: 600;
	text-transform: uppercase;
	font-family: var(--secondary-font-family);
	display: block;
}

.dep_details_player_ranking_container{
	background: url("images/ml2/awardsbg_fill.png");
	background-size: cover;
}


.top_3_box {
	width: 133px;
	text-align: center;
	overflow: hidden;
	display: inline-block;
	background: linear-gradient(to bottom, #4d6d17 0%,#0c5e00 100%);
	margin: 5px;
	margin-left: 10px;
	text-shadow: 2px 2px 1px rgba(0,0,0,0.5);
	box-shadow: inset 0px 0px 1px white;
	border-radius: 0px 0px 00px 10px;
	position: relative;
}

.top_3_box.gk {
	background: linear-gradient(to bottom, #29317583 0%,#0c0e8e 100%);
}
.top_3_box.def {
	background: linear-gradient(to bottom, #4d6d1783 0%,#0d5e00 100%);
}
.top_3_box.mid {
	background: linear-gradient(to bottom, #6d6d1783 0%,#9c9c03 100%);
}
.top_3_box.att {
	background: linear-gradient(to bottom, #a1654283 0%,#9e0303 100%);
}

.top_3_box img{
	width: 80px;
	height: 100px;
	margin-top: 5px;
	box-shadow: 0px 0px 0px 1px black;
	border-radius: 0px 0px 0px 5px;
}
.rankgraph{
	font-size: 22px;
	line-height: 23px;
}
.playerentry{
	font-style: italic;
	font-size: 12px;
	display: block;
	border-top: 1px solid white;
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0px 4px 5px -3px black;
	padding: 0px 5px 5px 5px;
	border-radius: 0px 0px 0px 10px;
}
.top_3_name {
	height: 32px;
	overflow: hidden;
	width: 100%;
	cursor:pointer;
}
.top_3_team {
	height: 16px;
	overflow: hidden;
	width: 100%;
	cursor:pointer;
}

.top_3_name:hover, .top_3_team:hover{
	color:orange;
}

.no_top_3_players{
	width: 100%;
	display: block;
	text-align: center;
	font-size: 18px;
	padding-bottom: 3px;
	font-variant: small-caps;
}

div#department_details {
	position: absolute;
	width: 468px;
	left: 898px;
	height: 700px;
	top: 3px;
}

div#table_history_graph_box{
	position: absolute;
	left: 3px;
	top: 461px;
	width: 891px;
	height: 242px;
	background-color: rgba(0,0,0,0.9);
}

div#table_history_graph_box canvas{
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

div#department_details_scroll_wrapper{
	height:700px;
}
#department_basic_details_container{
	background: rgba(0,0,0,0.5);
}
.league_detail_entry {
	display: inline-block;
	width: 200px;
	text-align: right;
	text-indent:35px;
	line-height: 19px;
	font-size: 16px;
	margin-bottom: 4px;
	margin-top: 4px;
	overflow:hidden;
}

.league_detail_header {
	display: inline-block;
	width: 230px;
	text-align: left;
	line-height: 19px;
	font-size: 16px;
	margin-bottom: 4px;
	margin-top: 4px;
	text-indent: 25px;
	overflow:hidden;
}

/* Event editor popup */
div#event_popup {
	width: 855px;
	height: 700px;
	top: 10px;
}

.events_explanation_container {
	text-align: left;
	padding-left: 37px;
	padding-right: 100px;
	padding-top: 7px;
}

div#event_popup_content {
	max-height: unset;
	height: 725px;
}

div#event_popup #name_input{
	height:25px;
	line-height: 25px;
}

div#event_popup .single_checkbox_container {
	display: inline-block;
	height: 25px;
	width: 123px;
	text-align: left;
}

div#event_popup label.events_match_type_label {
	display: inline-block;
	height: 16px;
	vertical-align: middle;
}

div#event_popup input.events_match_type_checkbox {
	width: 16px;
	height: 16px;
	margin: 0px;
	margin-right: 2px;
	vertical-align: middle;
}

div#event_popup .event_criteria_dropdown {
	width: 430px;
	margin-left: 5px;
	margin-top: 4px;
	margin-bottom: 4px;
	vertical-align: middle;
	height: 25px;
	line-height: 25px;

}

div#event_popup .event_tactics_dropdown {
	width: 210px;
	margin-left: 5px;
	margin-top: 4px;
	margin-bottom: 4px;
	vertical-align: middle;
	height: 25px;
	line-height: 25px;

}
div#event_popup .events_tac_header {
	display: inline-block;
	text-indent: 5px;
	width: 140px;
	font-variant: small-caps;
	vertical-align: middle;
	height: 25px;
	line-height: 25px;
}

div#event_popup .events_sub_dropdown.left {
	margin-left: 5px;
}
div#event_popup .events_sub_dropdown {
	width: 290px;
	margin-top: 4px;
	margin-bottom: 4px;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
}

img.events_sub_clear {
	height: 22px;
	margin-left: 10px;
	vertical-align: middle;
}

button#events_create_new_button {
	margin: 7px;
	width: 90%;
	margin-left: 5%;
}

/*Full Screen Popup*/
.fullscreenpopup{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.9) 25%,rgba(0,0,0,0.6) 95%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 25%,rgba(0,0,0,0.6) 95%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	display: none;
	z-index: 9999;
}
.fspopup_message_container{
	position: absolute;
	top: 50%;
	left: 50%;
	height: 400px;
	width: 600px;
	margin-top: -200px;
	margin-left: -300px;
	background: rgba(255,255,255,0.7);
	color: black;
	display: block;
	box-shadow: 4px 4px 0px black, inset 1px 1px 0px rgba(255,255,255,0.2);
	border-top-color: white;
	font-family: var(--primary-font-family);
}
div#fs_popup_header {
	width: 600px;
	display: block;
	color: white;
	text-align: center;
	background-color: black;
	height: 30px;
	line-height: 30px;
	font-size: 21px;
}
span#fs_popup_body {
	padding:10px;
}

.fspopup_message_container span{
	display: table-cell;
	vertical-align: middle;
	/*text-align: center;*/
}

.modal_window{
	position: absolute;
	top: 250px;
	left: 250px;
	font-family: var(--primary-font-family);
	width: 450px;
	overflow: auto;
	/*background: rgb(30, 30, 30);*/
	background-color: rgba(224, 224, 224, 0.98);
	box-shadow: 0px 0px 7px rgba(20, 20, 20, 0.84);
	z-index: 8999;
	display: none;
	border-radius: 5px;
}
.modal_window.wide{
	width: 750px;
}
div#modal_window_wide {
	top: auto;
	left: 50px;
	bottom: 107px;
}
.modal_header {
	height: 30px;
	background: rgb(76, 74, 74);
	color: white;
	line-height: 30px;
	font-size: 20px;
	display: block;
	font-weight: bold;
	width: 100%;
	text-align: center;
	font-family: var(--primary-font-family);
	letter-spacing: 2px;
	cursor: grab;
	border-bottom: 1px solid white;
	border-radius: 5px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.modal_content{
	display: block;
	text-align: center;
	padding: 10px;
	max-height: 400px;
	overflow-y: auto;
	/*color: white;*/
	color:black;
}
.modal_content.wide{
	line-height:20px;
	max-height: 440px;
}
div#modal_window_motd {
	left:77px;
	width:750px;
	top:106px;
}
.modal_content.motd{
	background-color: transparent;
	background-image: linear-gradient(45deg, #282828, #222222,#282828, #222222,#282828, #222222);
	font-family: var(--primary-font-family);
	color: white;
	text-align:left;
	line-height:22px;
}

div.tut_link_div{
	height: 39px;
	position: absolute;
	right: 22px;
	background-color: grey;
	border-radius: 5px;
	top: 32px;
	margin: 0px;
	padding: 0px;
}
div.tut_link_div img{
	height: 30px;
	padding: 5px;
}

div#link_menu_tut{
	left: auto;
	right: 63px;
	top: 31px;
}

div#int_tut_popup {
	left: 800px;
	top: 250px;
	overflow:initial;
	width:550px;
	z-index: 8000;
}

img.int_tut_icon {
	width: 100px;
	height: 100px;
	margin-right: 5px;
	float: right;
}
#int_tut_popup img.team_info_minmax_button {
	position: absolute;
	right: 5px;
	height: 24px;
	cursor: pointer;
	top: 2px;
}

#int_tut_popup img.team_info_minmax_button.back {
	left: 5px;
	right:auto;
}

#int_tut_popup_header{
	background-color: var(--def-bg-color);
}

div#int_tut_content {
	line-height: normal;
	text-align: left;
	font-size: 16px;
}
img#int_tut_mini{
	position: absolute;
	bottom: 7px;
	right: 330px;
	width: 50px;
	height: 50px;
	/*z-index: 10;*/
	display: none;
	cursor:pointer;
}

img#int_tut_mini:hover{
	filter: brightness(130%);
}

#int_tut_skip_button{
	display:none;
}
#int_tut_restart_button{
	display:none;
}
#int_tut_close_button{
	display:none;
}

#training_report_popup{
	/*background-image: url(images/ml2/corner.jpg);*/
	/*background-size: 116% 108%;*/
	background-image: url(images/ml2/grasstile.jpg);
	z-index:9000;
}

.reports_credits_info{
	text-align:center;
}

.nicklink{
	color:var(--link-color);
	cursor:pointer;
}

.nicklink.cup_owner{
	color:red;
}
.nicklink.self{
	color:yellow;
}

#training_report_popup .nicklink{
	display: inline-block;
	width: 166px;
	height: 20px;
	line-height: 20px;
	overflow: hidden;
	vertical-align: top;
}

.modal_content.training_report{
	text-align: left;
	color: white;
	font-size: 14px;
	background-color: rgba(0,0,0,0.6);
	vertical-align: top;
	line-height: 20px;
}

.modal_button_container{
	width: 100%;
	height: 30px;
	left: 50%;
	text-align: center;
	display: block;
	background-color: #c5c3c3;
	padding-top: 5px;
	padding-bottom: 5px;
	border-radius: 0px 0px 5px 5px;
}
.modal_button{
	color: white;
	border-radius: 5px;
	height: 30px;
	line-height: inherit;
	background-color: var(--btn-color);
	border: 0px solid black;
	width: 170px;
	margin-left: 20px;
	margin-right: 20px;
	cursor: pointer;
}
.modal_button.blue, .modal_button.gk{
	background-color: var(--btn-color);
	border: 1px solid var(--blue-btn-color);
}
.modal_button.ok{
	background-color: var(--btn-color);
	border: 1px solid grey;
}

.std_box_header button.modal_button.ok.slim {
	height: 20px;
	padding: 0px 5px;
	line-height: 20px;
	position: absolute;
	right: 0px;
	top: 4px;
	width: auto;
}

.modal_button.green, .modal_button.order, .modal_button.def{
	background-color: var(--btn-color);
	border: 1px solid var(--green-btn-color);
}
.modal_button.yellow, .modal_button.mid{
	background-color: var(--btn-color);
	border: 1px solid var(--yellow-btn-color);
}
.modal_button.cancel, .modal_button.red, .modal_button.att{
	background-color: var(--btn-color);
	border: 1px solid var(--red-btn-color);
}

.modal_button:hover{
	color:orange;
	border:1px solid orange;
}

button.modal_button.share {
	height: 22px;
	background: darkblue;
	width: 105px;
	border: 1px solid orange;
	color: orange;
	line-height: unset;
	margin-top: 6px;
}

.mobile_share_text {
	margin-top: 10px;
}
.share_images_container {
	margin-top: 10px;
}
img.share_icon {
	margin-left: 5%;
	margin-right: 5%;
	cursor: pointer;
}
img.share_icon:hover {
	filter:brightness(120%);
}

.ach_container {
	width: 506px;
}
div#ach_content {
	display: inline-block;
	width: 400px;
	vertical-align: top;
	text-align: justify;
	min-height: 100px;
	font-family: var(--primary-font-family);
	line-height: 20px;
}
img#ach_image {
	margin: 10px;
}

.freecredits_container {
	width: 506px;
}
div#freecredits_content {
	display: inline-block;
	width: 400px;
	vertical-align: top;
	text-align: justify;
	min-height: 100px;
	font-family: var(--primary-font-family);
	line-height: 20px;
}
img#freecredits_image {
	margin: 10px;
}

a.std_link{
	color:var(--link-color);

}

.bottom_right_logo{
	position: absolute;
	bottom: 0px;
	right: 0px;
	background-image: linear-gradient(45deg, black, #333333, black, #333333);
	width: 387px;
	height: 105px;
}

.bottom_temp_box{
	display: inline-block;
	height: 40px;
	width: 40px;
	margin: 5px;
	margin-right: 6px;
	margin-top: 2px;
	border-radius: 5px;
}

.bottom_temp_box img{
	height: 40px;
	width: 40px;
	border-radius:5px;
	cursor:pointer;
	border: 5px solid transparent;
}
.bottom_temp_box img:hover{
	height: 50px;
	width: 50px;
	border: 0px solid transparent;
}

.bottom_twitter_logo{
	position: absolute;
	left: 295px;
	bottom: 55px;
}
.bottom_facebook_logo{
	position: absolute;
	right: 5px;
	bottom: 55px;
}

.bottom_twitter_logo img, .bottom_facebook_logo img {
	width:40px;
	height:40px;
}

div.new_feedback_container{
	position:absolute;
	left:500px;
	top:210px;
	width:500px;
	background-color:rgba(0,0,0,0.75);
	color:white;
	font-family: var(--primary-font-family);
	font-size:18px;
	border-radius:10px;
	box-shadow:inset 0px 0px 10px rgba(255,255,255,0.4);
	z-index:9000;
	opacity:1;
	animation: fadeOutAndUp 6s linear;
	padding:5px;
}

div.new_feedback_container.slow{
	animation: fadeOutAndUp 10s linear;
}

.new_feedback_container .new_feedback_icon{
	position: absolute;
	width: 40px;
	top: 22px;
}

.new_feedback_container .new_feedback_header{
	position:relative;
	width:100%;
	text-align:center;
	font-weight:bold;
	margin-bottom:5px;
}

.new_feedback_container .new_feedback_body{
	position: relative;
	width: 450px;
	text-align: center;
	margin-bottom: 5px;
	margin-left: 50px;
	min-height:50px;
}

@keyframes fadeOutAndUp {
    0% {
        top:200px;
        opacity: 1.0;
    }
	50% {
		top:150px;
		opacity: 1.0;
	 }
	 75% {
		top:125px;
		opacity: 0.8;
	 }
    90% {
		top:110px;
		opacity: 0.1;
	}
   100% {
		top:100px;
		opacity: 0;
    }
}

#mail_sidebar{
	top: 3px;
	left: 3px;
	width: 145px;
	height: 700px;
}

.mail_sidebar_image {
	width: 64px;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-right: 10px;
	padding-left: 35px;
	cursor: pointer;
}

.mail_sidebar_sponsor_text {
	text-align: center;
	font-variant: small-caps;
	font-size: 20px;
	margin-top: 21px;
	margin-bottom: 10px;
}

#mail_sidebar .sponsor_information_image {
	width: 130px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	display: block;
}


.mail_sidebar_image:hover {
	filter: contrast(150%) brightness(150%) drop-shadow(0px 0px 20px white);
}

#mail_sidebar hr {
	color: red;
	border: 1px solid;
	width: 99%;
	margin-top: 2px;
	margin-bottom: 2px;
}

#mail_messages{
	top: 3px;
	left: 154px;
	width: 864px;
	height: 345px;
}

#mail_contacts{
	top: 3px;
	left: 1022px;
	width: 341px;
	height: 700px;
	background-color: rgba(10,10,10,0.9);
	overflow:hidden;
}

#mail_message{
	top: 351px;
	left: 154px;
	width: 857px;
	height: 346px;
	padding: 3px;
	line-height: 20px;
	color: white;
	background-color: rgba(10,10,10,0.9);
}

#mail_messages_container{
	height: 319px;
}

.message_list_header_wrapper {
	font-weight: bold;
	height: 24px;
	line-height: 22px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
	border-radius: 5px 5px 0px 0px;
}

.message_list_entry_wrapper{
	font-weight: normal;
	height: 21px;
	line-height: 21px;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: rgba(20,20,20,0.5);
}

.message_list_entry_wrapper.unread{
	color: #f7f791;
	font-style: italic;
}

.message_list_entry_wrapper.selected{
	font-style: italic;
	background-color: var(--gk-bg-color) !important;
}


.message_list_entry_wrapper:hover{
	color:var(--link-color);
}

.message_list_header_wrapper .message_list_from, .message_list_header_wrapper .message_list_subject, .message_list_header_wrapper .message_list_timestamp, .message_list_header_wrapper .message_list_delete{
	cursor:n-resize;
}

.message_list_from{
	height: 20px;
	width: 270px;
	text-indent: 5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 5px;
	display: inline-block;
	cursor: pointer;
}
.message_list_online{
	height: 20px;
	width: 30px;
	text-align: center;
	overflow: hidden;
	display: inline-block;
}
.message_list_online img{
	height: 20px;
	width: 20px;
}

img.general_online_image {
	height: 22px;
}

img.general_message_image {
	height: 22px;
}

.message_list_subject{
	height: 20px;
	width: 330px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: inline-block;
	cursor: pointer;
}
.message_list_timestamp{
	height: 20px;
	width: 110px;
	padding-right: 5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: inline-block;
}
.message_list_delete{
	height: 20px;
	width: 20px;
	margin-right: 12px;
	margin-left: 12px;
	display: inline-block;
	cursor:pointer;
}


#mail_message_container{
	height: 271px;
	bottom: 0px;
	font-size: 15px;
	border-top: 1px solid grey;
	padding-right: 12px;
}


.message_action_images_container {
	position: absolute;
	height: 40px;
	top: 20px;
	right: 80px;
}

.message_action_img {
	margin-left: 9px;
	width: 40px;
	margin-right: 9px;
}

.message_action_img:hover {
	filter: contrast(130%) brightness(130%) drop-shadow(0px 0px 8px white);
}


#mail_messages_container div.message_list_entry_wrapper:nth-child(odd){
	background-color: rgba(0,0,0,0.5);
}
.std_darkrow{
	background-color: rgba(0,0,0,0.5);
}

#mail_contacts_buttons_container{
	display: block;
	background-image: linear-gradient(to left, #222222, #666666);
	height: 66px;
	margin-left: 0;
	width: 100%;
	border-radius: 5px 5px 0px 0px;
}
.mail_contacts_button{
	height: 64px;
	width: 64px;
	padding-left: 23px;
	padding-right: 23px;
	cursor:pointer;
	filter:grayscale(50%);
}

.mail_contacts_button.selected{
	filter:brightness(150%) grayscale(0%);

}

.mail_contacts_button:hover{
	filter:brightness(200%)  blur(1px)  grayscale(0%);
}

#mail_contacts_container{
	display: block;
	height:608px;
}

img.contact_action_icon{
	width:20px;
	height:20px;
}
img.contact_action_icon:hover{
	filter:brightness(150%);
}

#message_timestamp{
	position: absolute;
	width: 200px;
	text-align: right;
	right: 85px;
	top: 3px;
	line-height: 25px;
}

.contacts_col_1{
	float:left;
	width:125px;
	height:inherit;
	overflow:hidden;
	margin-left:2px;
}
.contacts_col_2{
	float:left;
	width:125px;
	height:inherit;
	overflow:hidden;
}
.contacts_col_3{
	float:left;
	width:70px;
	height:inherit;
	overflow:hidden;
}

.contact_list_entry_wrapper {
	font-weight: normal;
	height: 18px;
	cursor: pointer;
	padding-top: 3px;
	padding-bottom: 3px;
	line-height: 18px;
	border-bottom: 1px solid var(--hover-bg-grey);
}

.contact_list_entry_wrapper:hover{
	background-color: var(--hover-bg-grey);
}

.send_message_popup {
	position: absolute;
	left: 114px;
	top: 140px;
	z-index: 1200;
	width: 500px;
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 5px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	background-color: rgba(120, 120, 120 ,1);
	box-shadow: inset 0px 0px 10px black, 1px 1px 1px rgba(228,228,255,0.2), -1px -1px 1px rgba(128,128,128,0.2);
	padding-bottom:5px;
	display:none;
}
.send_message_header {
	position: relative;
	height: 25px;
	width: 100%;
	color: white;
	text-align: center;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 25px;
	overflow: hidden;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
	cursor: move;
	margin-bottom: 5px;
}
div#sendSmilies {
	position: absolute;
	width: 114px;
	height: auto;
	top: 30px;
	padding-top: 5px;
	left: 501px;
	border-top: 1px solid white;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	border-radius: 0px 5px 5px 0px;
	background-color: rgba(70, 70, 70,0.95);
}

.send_message_to_container {
	margin-left: 10px;
}

.send_message_to {
	position: relative;
	width: 440px;
	height: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	margin-left: 5px;
	padding-left: 5px;
	margin-bottom: 10px;
}
.send_message_subject_container {
	margin-left: 10px;
}

.send_message_subject {
	position: relative;
	width: 440px;
	height: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	margin-left: 5px;
	padding-left: 5px;
	margin-bottom: 10px;
}

.send_message_body_container {
	margin-left: 10px;
}

.send_message_body {
	position: relative;
	width: 470px;
	height: 265px;
	background: rgba(255, 255, 255, 1);
	border: 1px solid rgba(0, 0, 0, 0.4);
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(255,255,255,0.7), inset 0px 0px 5px rgba(0,0,0,0.5);
	padding: 5px;
	overflow-x: hidden;

}

.send_message_buttons_container {
	margin-top: 3px;
	height: 22px;
	margin-bottom: 3px;
}

button.green{
	background-color:rgb(0,128,0);
}

button.red{
	background-color:rgb(128,0,0);
}

button.blue{
	background-color:rgb(0,0,128);
}

.posttextquote {
	font-style: italic;
	color: #FFFFFF;
	padding-left: 15px;
}
.posttextquote.quotesignature {
	margin-top: 4px;
	border-top: 1px dashed #c38004;
}

/* Tables */
#tables_league_table{
	top: 3px;
	left: 3px;
	height: 452px;
	width: 891px;
	background: rgba(0,0,0,0.7);
}
#tables_league_table .table_top_flag{
	left: 655px;
	top: -124px;
	height: 300px;
	width: 300px;
}

#tables_league_table .table_top{
	background-color: rgba(0,0,0,0.9);
	width: 100%;
	height: 70px;
	overflow: hidden;
	position: relative;
	font-weight: 700;
}

#tables_league_table .table_top .leaguename {
	font-size: 22px;
	display: block;
	line-height: 25px;
	height: 25px;
	text-align: center;
	text-indent: 0px;
	margin-top: 5px;
}

#tables_league_table .table_top .divdep {
	font-size:16px;
	display: block;
	line-height: 1;
	letter-spacing: 1px;
	text-align:center;
	text-indent: 0px;
}

#tables_league_table .table_entry{
	font-weight: 700;
	height: 20px;
	line-height: 20px;
	width: 100%;
	background-color: rgba(0,0,0,0.7);
	border-bottom: 1px solid rgba(128,128,128,0.2);
}

#tables_league_table .table_entry:hover, #status_league_table .table_entry:hover{
	background-color:var(--btn-color);
}

#tables_league_table .table_headers .last_5{
	font-family: var(--secondary-font-family);
	font-weight:bold;
	font-size:14px;
}
.table_entry.own_team {
	color: orange !important;
}
hr.table_line_1 {
	margin-top: 0px;
	margin-bottom: 0px;
	border-bottom: none;
	border-top: 1px solid green;
}
hr.table_line_2 {
	margin-top: 0px;
	margin-bottom: 0px;
	border-bottom: none;
	border-top: 1px solid #b8b800;
}
hr.table_line_3 {
	margin-top: 0px;
	margin-bottom: 0px;
	border-bottom: none;
	border-top: 1px solid #b8b800;
}
hr.table_line_4 {
	margin-top: 0px;
	margin-bottom: 0px;
	border-bottom: none;
	border-top: 1px solid red;
}



#tables_league_table .points_entry{
	width: 33px;
	vertical-align: top;
}
#tables_league_table .team_name {
	display: inline-block;
	width: 198px;
	height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	float: none;
	position: relative;
	vertical-align: top;
}
#tables_league_table .manager_name{
	display: inline-block;
	float: none;
	width: 130px;
	height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor:pointer;
	font-size:12px;
	font-weight:bold;
	vertical-align: top;
}
#tables_league_table .status_indicator{
	display: inline-block;
	width: 8px;
	height: 11px;
	margin: 5px 5px;
}

#tables_league_table .table_icons{
	display: inline-block;
	width: 100px;
	height: 20px;
	text-align: center;
	overflow: hidden;
}
#tables_league_table .last_5{
	display: inline-block;
	width: 90px;
	height: 20px;
	text-align: center;
	overflow: hidden;
	font-family: 'Courier New', Courier, monospace;
}
img.table_action_icon{
	width:20px;
	height:20px;
	margin-left:2px;
	margin-right:2px;
	cursor:pointer;
}

img.table_action_icon.online_indicator{
	cursor:default;
}

img.table_action_icon.deactivated{
	opacity:0.5;
}

img.table_action_icon:hover{
	filter:brightness(130%);
}

img.table_navigation_icon{
	position:absolute;
	height:20px;
	width:20px;
	bottom:0px;
	cursor:pointer;
}
img.table_navigation_icon:hover{
	filter:brightness(130%);
}

img.table_navigation_icon.left{
	left:2%;
}
img.table_navigation_icon.right{
	left:95%;
}

img.table_navigation_icon.first{
	left:19%;
}
img.table_navigation_icon.second{
	left:39%;
}
img.table_navigation_icon.third{
	left:59%;
}
img.table_navigation_icon.fourth{
	left:79%;
}
img.table_navigation_icon.up{
	left:49%;
	bottom:auto;
	top:48px;
}

div.tables_navigation_form{
	position: absolute;
	width: 237px;
	top: 1px;
	left: 2px;
	text-transform: none;
	padding: 5px;
	border: 1px solid grey;
	border-radius: 5px;
}

input.tables_div_input {
	width: 30px;
	text-align: center;
	padding: 1px;
	margin-right: 4px !important;
}
select.tables_league_input{
	width: 100px;
	margin-right: 4px;
	height: 24px;
}
button.tables_div_input {
	width: 176px;
	margin-top: 2px;
	cursor: pointer;
	height: 26px;
	margin-left: 0px;
	margin-right: 0px;
}

.tables_navigation_form input:focus{
	outline:none;
}
.tables_navigation_form select:focus{
	outline:none;
}

img.home_button{
	position: absolute;
	left: 187px;
	top: 5px;
	height: 44px;
	width: 46px;
	border: 1px solid grey;
	border-radius: 5px;
	padding: 4px;
	cursor: pointer;
}
img.home_button:hover{
	border: 1px solid orange;
}

.tables_fixtures_results_container{
	display:block;
	position: relative;
	width:100%;
	height:177px;
}

.tables_fixtures_results_container .fixture_entry, .tables_fixtures_results_container .fixture_entry div{
	height:22px;
	line-height: 22px;
}

.tables_fixtures_results_container .fixture_entry .hometeam, .tables_fixtures_results_container .fixture_entry .awayteam{
	width:185px;
}

.tables_fixtures_results_container .fixture_entry .match_link{
	width:70px;
}

#tables_fixtures_results_header{
	text-align:center;
}

img.fix_res_prev_button{
	position: absolute;
	left:10px;
	height:31px;
}
img.fix_res_next_button{
	position: absolute;
	right:10px;
	height:31px;
}

/* Fixtures and results */

#fixres_league_table{
	right: 3px;
	bottom: 109px;
	height: 451px;
	width: 463px;
}

#fixres_league_table .table_top_flag{
	left: 261px;
}

#fixres_fixres{
	top: 3px;
	right: 3px;
	width: 463px;
}

#fixres_fixtures_results_header{
	text-align:center;
}

#fixres_fixtures_results_container .hometeam, #fixres_fixtures_results_container .awayteam{
	width:195px;
}

#fixres_full_fixture_list{
	top: 3px;
	left: 3px;
	width: 894px;
	height: 700px;
}

.fixres_full_list_header_wrapper{
	font-weight: bold;
	height: 23px;
	line-height: 23px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
}

.fixres_full_list_header_wrapper .col6{
	text-decoration: none !important;
}

#fixres_full_fixture_list_scroll_wrapper{
	height:645px;
}

#fixres_full_fixture_list .fixture_entry{
	height:23px;
	line-height: 23px;
	background-color:rgba(0,0,0,0.7);
}
/* Column widths */

#fixres_full_fixture_list .col1,
#fixres_full_fixture_list .col2,
#fixres_full_fixture_list .col3,
#fixres_full_fixture_list .col4,
#fixres_full_fixture_list .col5,
#fixres_full_fixture_list .col6{
	display:inline-block;
	line-height: 23px;
	overflow: hidden;
	height: 23px;
}

#fixres_full_fixture_list .col1{	width: 40px; text-align:right;padding-right:10px;}
#fixres_full_fixture_list .col2{	width: 170px;}
#fixres_full_fixture_list .col3{	width: 170px;}
#fixres_full_fixture_list .col4{	width: 170px;}
#fixres_full_fixture_list .col5{	width: 170px;}

.fixture_entry .col2, .fixture_entry .col3{
	cursor:pointer;
}
.fixture_entry .col6.result{
	cursor:pointer;
	color:var(--link-color);
}
#friendly_results_box{
	top: 171px;
	left: 816px;
	width: 547px;
	height: 533px;
}
#friendly_results_scroll_wrapper{
	height:480px;
}
.friendly_results_header_wrapper{
	font-weight: bold;
	height: 23px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
}

#friendly_results_box .fixture_entry{
	height:25px;
	line-height: 25px;
	background-color:rgba(0,0,0,0.2);
}
#friendly_results_box .fixture_entry:nth-child(2n+1){
	background-color:rgba(0,0,0,0.5);
}

#friendly_results_box .fixture_entry:hover{
	color:var(--link-color) !important;
}

.friendly_queue_header_wrapper{
	font-weight: bold;
	height: 23px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
}
.friendly_queue_entry_wrapper{
	height: 20px;
	line-height: 20px;
	background-color: rgba(0,0,0,0.4);
	font-size: 14px;
}

.friendly_queue_col{
	display: inline-block;
	width: 135px;
	text-align: center;
	height: inherit;
	line-height: 23px;
	overflow: hidden;
}

#friendly_results_box .col1,
#friendly_results_box .col2,
#friendly_results_box .col3,
#friendly_results_box .col4,
#friendly_results_box .col5,
#friendly_results_box .col6{
	display:inline-block;
	line-height: 25px;
	overflow: hidden;
	height: 25px;
}

#friendly_results_box .col1{	width: 40px; text-align:center;margin-right:10px;}
#friendly_results_box .col2{	width: 150px;}
#friendly_results_box .col3{	width: 150px;}
#friendly_results_box .col4{	width: 85px;text-align:left;}
#friendly_results_box .col5{	width: 85px;text-align:center;}

#friendly_results_box .col5 img:hover{
	filter:brightness(130%);
}

#friendly_normal_box{
	top: 3px;
	left: 3px;
	width: 544px;
	height: 310px;
}
#friendly_open_box{
	top: 316px;
	left: 3px;
	width: 544px;
	height: 182px;
}
#friendly_stats_box{
	top: 3px;
	left: 551px;
	width: 262px;
	height: 701px;
	background-image: none;
	background-color: rgba(0, 0, 0, 0.62);
}

div#team_search_box.friendlies_section {
	height: 202px;
}

.friendly_stat_header{
	width:100%;
	height:25px;
	line-height: 25px;
	overflow:hidden;
	text-align:center;
	font-variant: small-caps;
	font-size:25px;
	margin-bottom:2px;
	margin-top:2px;
	color:#CCCCCC;
}
.friendly_stat_entry{
	width: 100%;
	height: 26px;
	overflow: hidden;
	text-align: center;
	font-size: 28px;
	line-height: 28px;
	border-bottom: 2px solid #9c0000;
	margin-bottom: 7px;
	margin-top: 2px;
	padding-bottom: 7px;
}
.friendly_stats_button_container button.modal_button{
	width:110px;
	margin-left:10px;
	margin-right:10px;
	margin-top:5px;
}

.friendly_centered_container{
	padding: 6px;
	text-align: center;
	padding-left: 30px;
	padding-right: 30px;
	/*border-bottom:2px solid rgb(255, 255, 255);*/
}

.issue_friendly_button{
	width: 400px;
	cursor: pointer;
	text-align: center;
	height:26px;
}
.issue_friendly_button.queue{
	width: 400px;
	animation:none;
}

#full_friend_select{
	width: 250px;
}

.friendly_info_text{
	font-size:14px;
	position:relative;
	padding:5px;
}

#friendly_pending_scroll_wrapper{
	height: 143px;
}
.friendly_pending_header_wrapper{
	font-weight:bold;
	font-variant: small-caps;
	height: 25px;
	line-height: 25px;
	/*font-size:23px;*/
	position: relative;
	clear: both;
	background-color:rgba(0,0,0,0.8);
}
.cancelFriendlyImage, .acceptFriendlyImage, .rejectFriendlyImage{
	height:22px;
	width:22px;
	cursor:pointer;
}
.acceptFriendlyImage{
	animation:pulse 0.7s infinite;
}
.cancelFriendlyImage:hover, .acceptFriendlyImage:hover, .rejectFriendlyImage:hover{
	filter:brightness(130%);
}

.friendly_pending{
	float:left;
}

.friendly_pending.home{
	padding-left:50px;
}

.friendly_pending.home, .friendly_pending.away{
	width:200px;
}
.friendly_pending.actions{
	width: 60px;
	text-align: right;
	height: inherit;
}
.pending_friendly_entry{
	height: 25px;
	line-height: 25px;
	position: relative;
	clear: both;
}
.pending_friendly_entry:hover{
	color:var(--link-color);
}

.pending_friendly_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.5);
}

#friendly_open_box .col2 {
	width: 130px;
	text-align:center;
}

#friendly_open_box .col1, #friendly_open_box .col2, #friendly_open_box .col3, #friendly_open_box .col4, #friendly_open_box .col5, #friendly_open_box .col6 {
	display: inline-block;
	line-height: 25px;
	overflow: hidden;
	height: 25px;
}

#player_snapshot_popup{
	display:none;
	position: absolute;
	top:140px;
	left:10px;
	width:auto;
	height:auto;
	background-color:#333333;
	z-index: 101;
	color:white;
}
#player_snapshot_popup_header{
	width: 100%;
	height: 18px;
	left: 50%;
	text-align: center;
	display: block;
	background-color: #c5c3c3;
	padding-top: 2px;
	padding-bottom: 2px;
	border-radius: 5px 5px 0px 0px;
	color:black;
	font-family: var(--primary-font-family);
	cursor:move;
	font-weight:bold;
}
#player_snapshot_popup .player_training_container{
	padding-left: 5px;
	padding-right: 5px;
}
#player_snapshot_popup .player_training_container .player_training_col.diff{
	color: rgb(67, 255, 0);
	font-size:12px;
}
#player_snapshot_popup .player_training_container .player_training_col.diff.negative{
	color: red;
}
#player_snapshot_popup .player_training_col.total.green{
	color: rgb(67, 255, 0);
}

@keyframes shadow-pulse
{
	0% {
		border-radius:5px;
		background-color: lightgray;
	}
	50% {
		border-radius:0px;
		background-color: #AAAAAA;
	}
	100% {
		border-radius:5px;
		background-color: lightgray;
	}
}


#friendly_lowest_fitness_box{
	top: 3px;
	width: 547px;
	height: 164px;
	left: 816px;
}
#friendly_medkit_icon{
	width: 90px;
	display: inline-block;
	vertical-align: top;
	padding-top: 20px;
}

#friendly_lowest_fitness_players{
	text-align:center;
}

#friendly_lowest_fitness_players .top_3_name{
	height: 18px;
	overflow:hidden;
	position:absolute;
	bottom:0px;
	background-color:rgba(0,0,0,0.8);
}

#friendly_lowest_fitness_box .top_3_box img {
	width: 75px;
	height: 90px;
}

#lowest_fitness_header{
	position: absolute;
	top: 0px;
	width: 100px;
	text-align: center;
	font-variant: small-caps;
	font-size: 23px;
	line-height: 24px;
}

#team_search_box{
	top: 502px;
	left: 3px;
	width: 544px;
	height: 201px;
}
#team_search_box .friendly_centered_container{
	border:none;
}
#team_search_input{
	width: 300px;
}

#team_search_button{
	width: 110px;
	height:26px;
}
/*
#team_search_box .col1, #team_search_box .col2, #team_search_box .col3{
	display: inline-block;
	line-height: 25px;
	overflow: hidden;
	height: 25px;
	width:200px;
	text-indent:5px;
}
*/

button#player_search_button {
	margin-top: 10px;
	margin-left: 54px;
}

#team_search_box .friendly_centered_container{
	padding-bottom:2px;
	padding-top:2px;
}
.team_search_results_item.header{
	background-color:rgba(0,0,0,0.7);
	font-variant:small-caps;
}

#team_search_results_container{
	height: 112px;
	overflow-y: scroll;
}

#team_search_box .col1, #team_search_box .col2, #team_search_box .col3{
	display: inline-block;
	line-height: 25px;
	overflow: hidden;
	height: 25px;
	width:200px;
	text-indent:5px;
}
#team_search_box .col3{
	width:110px;
}

img.team_search_result_action_icon{
	margin-right:10px;
	cursor:pointer;
}
img.team_search_result_action_icon:hover{
	filter:brightness(130%);
}

#watches_box{
	top: 3px;
	left: 3px;
	width: 847px;
	height: 700px;
}

#watches_scroll_wrapper{
	height: 669px;
}

div.watches_entry_container{
	border:1px solid black;
}

div.watches_entry_container:hover{
	border:1px solid orange;
}
.watches_entry_header_row{
	height: 23px;
	line-height: 23px;
}
.watches_entry_current_row {
	height: 18px;
}
.watches_entry_original_row {
	height: 18px;
	line-height: 18px;
}
.watches_entry_original_row.blackbg {
	background-color: black;
}

.watches_entry_original_row .watches_team_name, .watches_entry_current_row .watches_team_name{
	cursor:pointer;
}

.watches_entry_header_row .watches_player_name{
	cursor:pointer;
}

div.watches_entry_container.gk .watches_entry_header_row{
	background-color: var(--gk-bg-color);
}
div.watches_entry_container.def .watches_entry_header_row{
	background-color: var(--def-bg-color);
}
div.watches_entry_container.mid .watches_entry_header_row{
	background-color: var(--mid-bg-color);
}
div.watches_entry_container.att .watches_entry_header_row{
	background-color: var(--att-bg-color);
}

div.watches_entry_cell{
	position: relative;
	display:inline-block;
	height:inherit;
	line-height:inherit;
	width:30px;
	overflow:hidden;
}

img.watches_ability_icon {
	position: absolute;
	right: 5px;
	width: 21px !important;
	height: 21px !important;
}

.watches_entry_cell.watches_player_name{
	width:150px;
}

.watches_entry_cell.watches_player_amount_combined{
	width:161px;
	text-align:left;
}

div.watches_entry_header_row .watches_entry_cell.watches_team_name{
	width:135px;
}

.watches_entry_cell.watches_team_name{
	width:160px;
	text-indent:5px;
	word-break: break-all;
}
.watches_entry_cell.avg{
	width:35px;
}

.watches_entry_cell.watches_stat{
	width:30px;
}
.watches_entry_cell.watches_delete{
	width:25px;
}
.watches_role_separator{
	width: 85%;
	border: 1px solid grey;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 7%;
}

img.watches_portrait{
	height: 59px;
	width: 50px;
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}

.watches_entry_cell.higher{
	color:rgb(0, 173, 0);
}
.watches_entry_cell.lower{
	color:rgb(206, 0, 0);
}
img.delete_watch_icon{
	height: 20px;
	cursor:pointer;
}

#watches_news_box{
	top: 3px;
	left: 853px;
	height: 396px;
	width: 509px;
}

#watches_news_scroll_wrapper{
	height:365px;
}

.watches_news_entry{
	padding:5px;
	margin-bottom:5px;
	border-bottom: 1px solid white;
}

#watches_scout_box{
	top: 402px;
	left: 853px;
	height: 301px;
	width: 510px;
}

#watches_scout_scroll_wrapper{
	height:271px;
	padding-left:10px;
	padding-right:10px;
}

div.last_scouted_role_type{
	font-variant:small-caps;
	font-size:22px;
	height:24px;
	line-height:24px;
	text-align:center;
}

div.last_scouted_entry{
	background-color: rgba(0,0,0,0.3);
	height:20px;
	line-height: 20px;
}
div.last_scouted_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.8);
}
div.last_scouted_entry:hover{
	color:var(--link-color);
}

.watches_entry_container .potstar_small{
	margin-top: 2px;
	margin-bottom: 0px;
	cursor:pointer;
}

div.last_scouted_entry .potstar_small{
	margin-bottom: 0px;
}

div.last_scouted_header.gk{
	background-color: var(--gk-bg-color);
}
div.last_scouted_header.def{
	background-color: var(--def-bg-color);
}
div.last_scouted_header.mid{
	background-color: var(--mid-bg-color);
}
div.last_scouted_header.att{
	background-color: var(--att-bg-color);
}
div.last_scouted_cell, img.last_scouted_cell {
	display: inline-block;
	overflow: hidden;
	height: inherit;
	vertical-align: middle;
}

img.last_scouted_cell.delete{
	display:inline-block;
	width:20px;
	vertical-align: bottom;
	cursor:pointer;
}

.last_scouted_cell.scouted_player_name{
	width:175px;
}
.last_scouted_entry .scouted_player_name{
	cursor:pointer;
}
.last_scouted_cell.stat{
	width:50px;
	text-align:center;
}
.last_scouted_cell.potential{
	width:175px;
}

#staff_mystaff_box {
	top: 3px;
	left: 3px;
	height: 399px;
	width: 892px;
}

#mystaff_scroll_wrapper{
	height:370px;
}

div.staff_cell{
	display:inline-block;
	vertical-align: top;
	height:24px;
	line-height: 24px;
	overflow:hidden;
}

div.staff_header_container{
	font-weight:bold;
	background:rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
}

div.staff_item_container{
	background-color: rgba(0,0,0,0.2);
	height:24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
}

div.staff_item_container.gk{
	background-color: rgba(64, 66, 137, 0.6);
}
div.staff_item_container.def{
	background-color: rgba(38,108,44,0.6);
}
div.staff_item_container.mid{
	background-color: rgba(128,128,0,0.6);
}
div.staff_item_container.att{
	background-color: rgba(128,16,16,0.6);
}
div.staff_item_container.physio{
	background-color: rgba(110, 110, 110, 0.6);
}
div.staff_item_container.scout{
	background-color: rgba(100, 100, 100, 0.6);
}
div.staff_item_container.caretaker{
	background-color: rgba(90, 90, 90, 0.6);
}

div.staff_item_container:hover{
	color:var(--link-color);
}

div.staff_cell.name{		width:170px; text-indent:5px;overflow:hidden;}
div.staff_cell.age{		width:65px; text-align:center;}
div.staff_cell.field{	width:150px;}
div.staff_cell.quality{	width:100px;}
div.staff_cell.time{		width:100px;text-align:center;}
div.staff_cell.salary{	width:70px; text-align:right;}
div.staff_cell.actions{	width:220px;text-align:center;}
div.staff_cell.search{	width:223px;text-align:center;}

button.sackbutton{
	width:100px;
	height: 20px;
	line-height: 18px;
	margin-right: 1px;
	margin-left: 1px;
}

#confirmation_popup .modal_button button{
	margin-bottom: 5px;
	margin-top: 5px;
	color: black;
	font-weight: bold;
}

#confirmation_content a.nicklink {
	color: #8c3e07;
}
#modal_content a.nicklink {
	color: #8c3e07;
}
#modal_content_tut div.nicklink {
	color: #8c3e07;
}

#modal_content_wide div.nicklink {
	color: #8c3e07;
}

#staff_search_box {
	top: 405px;
	left: 3px;
	height: 298px;
	width: 892px;
}

#staff_search_scroll_wrapper{
	height:210px;
}

.staff_header_container .search{
	background: rgba(255,255,255,0.3);
	padding-top: 5px;
	padding-bottom: 5px;
}

#staff_search_no_hits{
	margin-top:25px;
	text-indent:20px;
	font-size:25px;
}

.coming_staff_info{
	font-size: 20px;
	padding: 45px;
	line-height: 40px;
	text-align: center;
}

#staff_quotes_box {
	position: absolute;
	width: 465px;
	left: 898px;
	height: 700px;
	top: 3px;
	background: rgba(0,0,0,0.7);
}

#staff_quotes_box .quote_container{
	width: 100%;
	min-height: 65px;
	margin-bottom: 15px;
	clear: both;
	display: block;
}
#staff_quotes_box .quote_container .quote_icon{
	width: 50px;
	height: 50px;
	float: left;
	display: block;
	margin-top: 8px;
	margin-right: 10px;
	margin-left: 3px;
}
#staff_quotes_box .quote_container .quote_text{
	display: block;
	font-style: italic;
	float: left;
	width: 393px;
}
#staff_quotes_box .quote_container .quote_signature{
	display: block;
	font-weight: bold;
	float: left;
	margin-top: 5px;
}

/* Player Seearch */
#player_search_form_box{
	top: 3px;
	left: 3px;
	height: 257px;
	width: 763px;
	background: rgba(0,0,0,0.4);
}
#player_search_form_box .player_search_group{
	position: absolute;
	top: 32px;
	background: rgba(0,0,0,0.4);
	border-radius: 5px;
	height: 214px;
	padding-top: 10px;
}
#player_search_form_box .player_search_group.first{
	left:5px;
	width:208px;
	height:119px;
}
#player_search_form_box .player_search_group.firstb{
	left: 5px;
	width: 208px;
	top: 163px;
	height: 84px;
}
#player_search_form_box .player_search_group.second{
	left:215px;
	width:275px;
}

#player_search_button_container {
	left: 494px;
	background: url(images/ml2/bgpsearch2.png);
	border-radius: 5px;
	position: absolute;
	height: 214px;
	width: 268px;
	background-size: cover;
	border-color: rgba(0,0,0,0.5);
	padding-top: 10px;
	top: 32px;
}
#player_search_button_container .player_search_button {
	position: absolute;
	font-size: 35px;
	line-height: 35px;
	width: 100%;
	display: block;
	text-align: center;
	padding-top: 100px;
	padding-bottom:100px;
	cursor:pointer;
	text-shadow: 2px 2px 2px black;
}

.player_search_checkbox_container {
	height: 20px;
	display: block;
	position: relative;
	margin-top: 5px;
	margin-bottom: 5px;
}

.player_search_checkbox_container label{
	display: inline-block;
	margin-top: -4px;
	height: 20px;
	width: 150px;
	position: relative;
	vertical-align: middle;
}

div.search_value_description {
	font-size: 10px;
	width: 100%;
	line-height: 10px;
	text-align: center;
}

#player_search_button_container #ability_only{
	height: 20px;
	width: 20px;
	margin-left: 15px;
	margin-right: 34px;
	margin-top: 0px;
	margin-bottom: 0px;
	display: inline-block;
}

#player_search_button_container:hover .player_search_button{
	color:black;
	text-shadow: 2px 2px 2px white;

}
/* Attempting Opera on Ios fix */
#player_search_button_container .search_stat_quality {
	width: 140px;
}

#player_search_stored_searches_box{
	top: 3px;
	left: 770px;
	height: 257px;
	width: 593px;
	background: rgba(0,0,0,0.7);
}

#player_search_results_box{
	top: 263px;
	left: 3px;
	height: 440px;
	width: 1360px;
	background: rgba(0,0,0,0.6);
}

.search_form_line_container .search_stat_quality {
	line-height: 24px;
	margin-top: 1px;
}
.search_role_dropdown{
	width:195px;
	margin-right:5px;
	margin-left:5px;
}
.search_stat_dropdown{
	width:150px;
	margin-right:5px;
	margin-left:5px;
	height: 24px;
}

.search_stat_quality{
	width:150px;
	display:inline-block;
	margin-right:5px;
	margin-left:5px;
	text-indent:10px;
}

input.search_stat_input{
	margin-left:5px;
	width: 40px;
	text-align: center;
	padding-left:0px;
}

div.search_form_line_container{
	margin-bottom:5px;
	margin-bottom:5px;
}

.search_stat_unit{
	width:20px;
	display: inline-block;
	font-size:12px;
}

#youth_template_button{
	margin-top:20px;
}

div.search_value_description {
	font-size: 10px;
	width: 100%;
	line-height: 10px;
	text-align: center;
}

#player_search_group_second.second.gk{
	background-color: rgba(0,0,50,0.9);
}
#player_search_group_second.second.def{
	background-color: rgba(0,50,0,0.9);
}
#player_search_group_second.second.mid{
	background-color: rgba(50,50,0,0.9);
}
#player_search_group_second.second.att{
	background-color: rgba(50,0,0,0.9);
}

#stored_searches_scroll_wrapper{
	height:210px;
}
.stored_searches_header_container{
	font-weight:bold;
	background:rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
}

.stored_searches_entry_container{
	height:24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
	border-bottom: 1px solid rgba(255,255,255,0.3);
	cursor:pointer;
}
.stored_searches_entry_container:hover{
	color:var(--link-color);
}

.stored_searches_entry_container.gk{
	background-color: var(--gk-bg-color);
}
.stored_searches_entry_container.def{
	background-color: var(--def-bg-color);
}
.stored_searches_entry_container.mid{
	background-color: var(--mid-bg-color);
}
.stored_searches_entry_container.att{
	background-color: var(--att-bg-color);
}

.stored_searches_cell{
	display: inline-block;
	vertical-align: top;
}

.stored_searches_cell.quality{
	text-indent:5px;
	width:75px;
	text-align: center;
}
.stored_searches_cell.age{
	width:55px;
}
.stored_searches_cell.signed{
	width:35px;
	text-align: center;
}

.stored_searches_cell.value{
	width:70px;
}

.stored_searches_cell.status{
	width:60px;
	text-align: center;
}
.stored_searches_cell.ability{
	width:35px;
	text-align: center;
}
.stored_searches_cell.atts {
	width: 110px;
}
.stored_searches_cell.updated{
	width:50px;
}
.stored_searches_cell.actions{
	width:70px;
	text-align:center;
	height:inherit;
}
img.stored_searches_image {
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-right: 5px;
	margin-left: 5px;
}

#player_search_results_scroll_wrapper{
	height:385px;
}

.player_search_result_header_container{
	font-weight:bold;
	background:rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
	cursor:pointer;
}

.player_search_result_entry_container{
	height:24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
	border-bottom: 1px solid rgba(255,255,255,0.3);
	cursor:default;
}
.player_search_result_entry_container:hover{
	color:var(--link-color);
}

.player_search_result_entry_container .player_search_result_cell.name{
	cursor:pointer;
}
.player_search_result_cell.ability {
	width: 20px;
	text-align: center;
}
.player_search_result_entry_container.nohits{
	text-align: center;
	background-color: black;
	color: red;
	font-size: 21px;
	line-height: 21px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.player_search_result_entry_container.gk{
	background-color: var(--gk-bg-color);
}
.player_search_result_entry_container.def{
	background-color: var(--def-bg-color);
}
.player_search_result_entry_container.mid{
	background-color: var(--mid-bg-color);
}
.player_search_result_entry_container.att{
	background-color: var(--att-bg-color);
}

.player_search_result_cell{
	/* Default values*/
	display:inline-block;
	vertical-align: top;
	width:30px;
	height:24px;
	overflow:hidden;
}
.player_search_result_cell.name{
	width:190px;
	text-indent:5px;
}
.player_search_result_cell.owner_teamname{
	width:150px;
	text-indent:5px;
}

.player_search_result_entry_container .player_search_result_cell.owner_teamname{
	cursor:pointer;
}

.player_search_result_cell.value{
	width:100px;
	text-align:right;
}
.player_search_result_cell.stat{
	width:40px;
}
.player_search_result_cell.tot{
	width:40px;
}
.player_search_result_cell.fit{
	width:40px;
}

.player_search_result_cell.icons{
	width:90px;
}
.player_search_result_cell.actions{
	width:75px;
}

img.ps_result_ability{
	height: 17px;
	width:  17px;
}
img.ps_result_scout{
	height: 20px;
	cursor:pointer;
}
img.ps_result_scout:hover{
	filter: brightness(130%);

}
.potstar_small {
	height: 15px;
	background: url("images/ml2/icons/15potstar.png") repeat-x;
	display: inline-block;
	margin-bottom:2px;
}

.ps_result_delete{
	display: inline-block;
	width: 25px;
	height: 25px;
	cursor:pointer;
}
.ps_result_buy{
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	margin-bottom: 1px;
	cursor:pointer;
}

/* Friends */
#friends_box {
	top: 3px;
	left: 3px;
	height: 495px;
	width: 1360px;
}

#friends_scroll_wrapper{
	height:440px;
}

span#friends_selected_count {
	font-family: 'Open Sans';
	font-weight: normal;
	margin-left: 15px;
	font-size: 14px;
	vertical-align: bottom;
}

div.friends_list_cell{
	display:inline-block;
	vertical-align: top;
	height:24px;
	line-height: 24px;
	overflow: hidden;
}

.friends_list_cell.last_5 {
	width: 85px;
	text-align: center;
}

div.friends_header_container{
	font-weight:bold;
	background:rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
	font-size:16px;
}

div.friends_entry_container{
	background-color: rgba(0,0,0,0.2);
	height:24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
	border: 1px solid var(--hover-bg-grey);
	font-size: 14px;
}
div.friends_entry_container:nth-child(2n+1){
	background-color: rgba(0,0,0,0.4);
	border: 1px solid #333333;
}

div.friends_entry_container:hover{
	background-color:var(--hover-bg-grey);
}

.friends_list_cell.select{
	text-indent:5px;
	width:29px;
}
.friends_list_cell.name{
	width:200px;
	cursor:pointer;
}
.friends_list_cell.league{
	width:110px;
}
.friends_list_cell.stat{
	width:60px;
	text-align:right;
}
.friends_list_cell.stat.short{
	width:45px;
	text-align:center;
}
.friends_list_cell.last5{
	width:90px;
	text-align: center;
}
.friends_list_cell.last_5 .last5_icon{
	margin-top: 4px;
}

.friends_list_cell.online{
	width:40px;
	text-align:center;
}
.friends_list_cell.actions{
	width:125px;
}
.friends_entry_container .friends_list_cell.last5{
	font-family: 'Courier New', Courier, monospace
}
img.friends_online_img{
	padding-top:2px;
}

/* Hm, need less width on the team-search box in the friends section tbh */
#team_search_box.friends_section .col1, #team_search_box.friends_section .col2, #team_search_box.friends_section .col3{
	width:175px;
}
#team_search_box.friends_section .col3{
	width:100px;
}

#team_search_box.friends_section{
	width:492px;
}
#team_search_box.friends_section .team_search_input{
	width:250px;
}

#friends_cup_box{
	top: 502px;
	left: 499px;
	width: 363px;
	height: 201px;
	text-align: center;
	font-size:15px;
}
#cup_invite_dropdown{
	width: 330px;
}
#cup_invite_text{
	width: 330px;
	height:80px;
	margin-top:5px;
	margin-bottom:5px;
}
#cup_invite_button{
	width: 340px;
	margin-left:11px;
}

#friends_message_box{
	top: 502px;
	left: 866px;
	width: 497px;
	height: 201px;
	text-align: center;
	font-size:15px;
}

#mobile_extra_transfer_info_box{
	display:none;
}

#mytransfers_special_box{
	top: 3px;
	left: 433px;
	width: 931px;
	height: 515px;
}

#mytransfers_player_box{
	top: 3px;
	left: 3px;
	width: 427px;
	height: 701px;
}
#mytransfers_listed_box{
	top: 3px;
	left: 434px;
	width: 927px;
	background: none;
	position: relative;
}
#mytransfers_offers_box{
	left: 434px;
	width: 927px;
	background: none;
	position: relative;
	margin-top: 5px;
}
#mytransfers_bids_box{
	left: 434px;
	width: 927px;
	background: none;
	position: relative;
	margin-top: 5px;
}

#mytransfers_transfer_history_box{
	top: 521px;
	left: 433px;
	width: 931px;
	height: 183px;
	background-image: none;
	background-color: rgba(0,0,0,0.8);
}

.mytransfers_history_container{
	margin-left:2px;
	margin-right:2px;
	margin-bottom: 1px;
	margin-top: 1px;
}
.mytransfers_history_container.header {
	font-weight: bold;
	background-color: var(--header-color);
}
.mytransfers_history_container.entry.gk{
	background-color: var(--gk-bg-color);
}
.mytransfers_history_container.entry.def{
	background-color: var(--def-bg-color);
}
.mytransfers_history_container.entry.mid{
	background-color: var(--mid-bg-color);
}
.mytransfers_history_container.entry.att{
	background-color: var(--att-bg-color);
}

.mytransfers_cell.center{
	text-align:center;
}

.mytransfers_history_container .mytransfers_cell.type{
	text-indent:10px;
	width:40px;
}
.mytransfers_history_container .mytransfers_cell.name{
	width:200px;
}
.mytransfers_history_container .mytransfers_cell.other{
	width:200px;
	text-indent: 10px;
}
.mytransfers_history_container .mytransfers_cell.value{
	width:100px;
}

#mytransfers_player_scroll_wrapper{
	height: 589px;
}

#mytransfers_listed_box .mytransfers_player_container, #mytransfers_offers_box .mytransfers_player_container, #mytransfers_bids_box .mytransfers_player_container{
	height:20px;
	border-bottom: 1px solid black;
	border-top: 1px solid black;
}

#mytransfers_listed_box img.boxheader_right_image {
	right: 34px;
}

.transfers_summary_container {
	width: 271px;
	margin-left: 90px;
	margin-top: 3px;
	border: 1px solid white;
	border-radius: 5px;
}
div.mytransfer_summary_cell{
	display: inline-block;
	vertical-align: top;
	height: 18px;
	line-height: 18px;
	font-size:12px;
	width: 130px;
	overflow: hidden;
}

div.mytransfer_summary_cell.first{
	padding-left:5px;
	text-align: left;
	width:160px;
}
div.mytransfer_summary_cell.second{
	padding-right:5px;
	text-align: right;
	width:100px;
}

.mytransfers_player_cell{
	display: inline-block;
	vertical-align: top;
	height: 20px;
	line-height: 20px;
	width: 50px;
	overflow: hidden;
}

.mytransfers_cell{
	display:inline-block;
	vertical-align: top;
	height:20px;
	line-height: 20px;
	width:100px;
	overflow:hidden;
	font-size:14px;
}

.mytransfers_player_cell.name, .mytransfers_cell.name{
	text-indent:5px;
	width:150px;
}

.mytransfers_player_cell.actions{
	width:25px;
	text-align:center;
}
.mytransfers_cell.actions img.img20 {
	width: 17px;
	height: 17px;
}
.mytransfers_player_container .name{
	cursor:pointer;
}
.mytransfers_player_container .name:hover{
	color:var(--link-color);
}

.mytransfers_player_cell.quality, .mytransfers_cell.quality{
	width:35px;
	text-align:center;
}
.mytransfers_player_cell.avg, .mytransfers_cell.avg{
	width:40px;
	text-align:center;
}
.mytransfers_player_cell.age, .mytransfers_cell.age{
	width:35px;
	text-align:center;
}
.mytransfers_player_cell.value, .mytransfers_cell.value{
	width:73px;
	text-align:right;
	padding-right:3px;
}
.mytransfers_player_cell.season, .mytransfers_cell.season{
	width:73px;
	text-align:center;
	padding-right:3px;
	padding-left:3px;
}
.mytransfers_player_cell.value.short, .mytransfers_cell.value.short{
	width:45px;
	text-align:right;
	padding-right:5px;
}
.mytransfers_player_cell.actions img.img20 {
	height: 17px;
	margin-top:1px;
}

.mytransfers_cell.value.clickable{
	cursor:pointer;
	text-decoration: none;
}
.mytransfers_cell.value.clickable:hover{
	color:var(--link-color);
	text-decoration: none;
}
.mytransfers_player_cell.other, .mytransfers_cell.other{
	width:130px;
	margin-left:4px;
}

.mytransfers_player_cell.ability, .mytransfers_cell.ability{
	width:25px;
	text-align:center;
}
.mytransfers_player_cell.scout, .mytransfers_cell.scout{
	width:80px;
	cursor:pointer;
}
.mytransfers_cell.highest{
	width:25px;
	text-align:center;
}
.mytransfers_cell.accept_time{
	width:87px;
	text-align:center;
}

.mytransfers_cell.actions{
	width:78px;
	text-align:right;
	margin-right:5px;
}

#mytransfers_bids_box .mytransfers_cell.actions{
	width:78px;
}
#mytransfers_listed_box .mytransfers_cell.actions{
	width:248px;
}

.mytransfers_player_container{
	border-top:1px solid black;
	border-bottom:1px solid black;
}

.mytransfers_player_container.gk{
	/*
	background-color: rgba(0, 0, 63, 0.9);
	background: linear-gradient(to bottom, rgba(40, 48, 117, 0.5) 0%,rgba(12, 14, 142, 0.5) 100%);
	*/
	background-color: var(--gk-bg-color);
}
.mytransfers_player_container.def{
	/*
	background-color: rgba(0, 63, 0, 0.9);
	background: linear-gradient(to bottom, rgba(77, 109, 23, 0.5) 0%, rgba(12, 94, 0, 0.5) 100%);
	*/
	background-color: var(--def-bg-color);
}
.mytransfers_player_container.mid{
	/*
	background-color: rgba(45,45,0,0.9);
	background: linear-gradient(to bottom, rgba(109, 109, 23, 0.5) 0%, rgba(156, 156, 3, 0.5) 100%);
	*/
	background-color: var(--mid-bg-color);
}
.mytransfers_player_container.att{
	/*
	background-color: rgba(63,0,0,0.9);
	background: linear-gradient(to bottom, rgba(161, 101, 66, 0.5) 0%, rgba(158, 3, 3, 0.5) 100%);
	*/
	background-color: var(--att-bg-color);
}

.mytransfers_player_container .mytransfers_cell.other{
	cursor:pointer;
	color:var(--link-color);
}

.potstar_small.nomargin{
	margin-bottom:0px;
	cursor:pointer;
}
.potstar_small.nomargin:hover{
	filter:brightness(130%);
}

.potstar{
	height: 25px;
	background: url(images/new/Icons/25potstar.png) repeat-x;
}

img.img20{
	height: 19px;
	width: 19px;
	margin-top: 2px;
	cursor:pointer;
	margin-right:5px;
}

img.img20:hover{
	filter:brightness(130%);
}

div.values_popup_cell{
	display: inline-block;
	height: 23px;
	line-height: 23px;
	font-family: "Lato", sans-serif;
	width: 155px;
}

div.values_popup_cell.short{
	width: 30px;
	text-align: center;
	position: absolute;
	margin-left: 5px;
}

input.values_popup_input{
	text-align:center;
	width:120px;
	height:17px;
	padding-left:0px;
}

.values_popup_cell.bidder_team{
	color:var(--link-color);
	cursor:pointer;
}
#min_pct_cell, #auto_pct_cell{
	font-size:13px;
}

#stadium_facilities_box{
	left: 3px;
	top: 3px;
	width: 746px;
	height: 395px;
	cursor: default;
	user-select: none;
}

div.facility_cell{
	display: inline-block;
	width: 120px;
	vertical-align: top;
	height: 24px;
	overflow: hidden;
	font-size: 14px;
}

div.facility_cell.actions{
	width:40px;
	text-align:center;
}
div.facility_cell.type{
	width:195px;
	text-indent:5px;
}
div.facility_cell.time{
	width:45px;
	text-align:center;
}
div.facility_cell.cost{
	width:100px;
}
div.facility_cell.curr, div.facility_cell.next{
	width:180px;
}

#stadium_picture_box{
	left: 754px;
	top: 3px;
	width: 609px;
	height: 395px;
}

#stadium_picture{
	width:600px;
	height:360px;
	border-radius:10px;
}

#stadium_picture_box img.rename {
	right: 40px;
}

#stadium_revenue_box{
	left: 3px;
	top: 403px;
	width: 446px;
	height: 300px;
}

div.stadium_upgrades_header_container{
	font-weight:bold;
	background:rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
}

div.stadium_upgrades_entry_container{
	background-color: rgba(0,0,0,0.2);
	height:24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
	font-size:14px;
}
div.stadium_upgrades_entry_container:nth-child(2n+0){
	background-color: rgba(0,0,0,0.4);
}
div.stadium_upgrades_entry_container:hover{
	color:var(--link-color);
}

div.stadium_upgrades_entry_container.upgrading{
	background-color: rgba(255, 202, 0, 0.15);
	background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(181, 181, 181, 0.24) 10px, rgba(255, 255, 255, 0.24) 15px);
	color: white;
	text-shadow: black 1px 1px 2px;
	font-weight: bold;
}

#main_stadium_image{
	width: 607px;
	height: 344px;
	/* border-radius: 10px; */
	cursor: pointer;
	margin-left: 2px;
}
#stadium_image_drag_description{
	font-variant: small-caps;
	width: 100%;
	text-align: center;
}

#modal_loading_window{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 88%;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	display:none;
}

#modal_loading_window img{
	position: absolute;
	margin-left: 478px;
	margin-top: 266px;
	box-shadow: 0px 0px 12px 17px rgba(255, 255, 255, 0.56);
	border-radius: 5px;
}

#modal_loading_window .text{
	position: absolute;
	top: 600px;
	width: 100%;
	font-size: 25px;
	color: white;
	text-align: center;
	font-family: var(--primary-font-family);
	font-variant: small-caps;
}
img.facility_upgrade_button{
	cursor:pointer;
	height:20px;
	width:20px;
	margin-top:2px;
}
img.facility_upgrade_button:hover{
	filter:brightness(130%);
}

div.stadium_graph_container{
	width:445px;
	height:270px;
}

#stadium_graph{
	width: 445px;
	height: 269px;
	background-color: rgb(231 231 231);
	border-radius: 0px 0px 5px 5px;
}

.stadium_graph_rect{
	fill:#136d0f;
}
.stadium_graph_rect:hover{
	fill:#136d0f;
	stroke: #999999;
}
.stadium_graph_rect.selected{
	fill:#509040;
	stroke: #FFFFFF;
}
.chartline{
	stroke:rgb(0,0,0);
	stroke-width:0.25;
}
.charttext{
	font-size:20px;
	text-anchor: middle;
}
.charttext.small{
	font-size:14px;
	text-anchor: middle;
}
#match_finance_popup{
	display: none;
	position: absolute;
	width: 250px;
	background-color: rgba(255,255,255,0.9);
	border-radius: 10px;
	font-family: var(--primary-font-family);
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	color:black;
	z-index:5;
}

div.match_finance_cell{
	display:inline-block;
	width:115px;
	height:20px;
	line-height: 20px;
	overflow:hidden;
}

div.match_finance_cell.right{
	text-align:right;
}
#match_finance_popup_close{
	font-size: 13px;
	width: 233px;
	text-align: center;
	font-variant: all-petite-caps;
}

#stadium_prices_box{
	left: 454px;
	top: 403px;
	width: 295px;
	height: 167px;
}

#stadium_prices_box .cell{
	display: inline-block;
	width: 175px;
	vertical-align: top;
	height: 28px;
	line-height: 28px;
	overflow: hidden;
}
#stadium_prices_box .cell.right{
	width:115px;
	text-align:center;
}
#stadium_prices_box .cell.left{
	text-indent:10px;
}
#stadium_prices_box .cell input[type="text"]{
	width:53px;
	text-align:right;
	padding-right:20px;
}

#update_stadium_prices_button{
	margin-top: 13px;
	margin-left: 59px;
}

#stadium_decay_box{
	left: 454px;
	top: 573px;
	width: 295px;
	height: 130px;
}

#stadium_decay_bar{
	background-image: url(images/new/Bars/Stadiumdecaybar.jpg);
	background-size: 298px 35px;
	height: 32px;
	line-height: 32px;
	font-size: 15px;
	margin-left: 4px;
	text-align: center;
	text-shadow: 1px 1px 3px #929292;
	font-weight: bold;
	color: black;
	margin-top: 6px;
}

#stadium_no_decay_box{
	width:100%;
	text-align:center;
	margin-top:10px;
}
#repair_decay_button{
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 59px;
}

#stadium_repair_cost{
	width:100%;
	text-align: center;
	font-size:17px;
	font-variant: small-caps;
}

div#stadium_coming_box{
	position: absolute;
	top: 403px;
	left: 754px;
	width: 609px;
	height: 300px;
}
.stadium_coming_soon_text{
	width: 100%;
	height: 274px;
	display: block;
	text-align: center;
	line-height: 274px;
}

div#stadium_statues_box{
	position: absolute;
	top: 403px;
	left: 754px;
	width: 609px;
	height: 300px;
}

#finances_report_box{
	left: 3px;
	top: 3px;
	width: 922px;
	height: 393px;
	cursor: default;
	background-image: none;
	background-color: rgba(255,255,255,0.75);
}

#finances_summary_box{
	left: 930px;
	top: 3px;
	width: 433px;
	height: 700px;
	cursor: default;
	background-image: none;
	background-color: rgba(255,255,255,0.75);
}

#finances_graph_box{
	left: 3px;
	top: 400px;
	width: 605px;
	height: 303px;
	background-image: none;
	background-color: rgba(255,255,255,0.75);
}

#finances_stats_box{
	left: 613px;
	top: 400px;
	width: 313px;
	height: 303px;
	background-image: none;
	background-color: rgba(255,255,255,0.75);
}

#finance_history_box {
	width: 1360px;
	height: 701px;
	left: 3px;
	top: 3px;
	background-image: none;
	background-color: rgba(255,255,255,0.75);
}

#finance_history_canvas_container{
	margin-left:5px;
	width:1320px;
	height: 396px;
}

#finance_history_entries{
	height: 255px;
	overflow-y: scroll;
}

div.finances_cell{
	display: inline-block;
	width: 100px;
	color: black;
	border-bottom: 1px solid black;
	overflow: hidden;
	font-size:15px;
	height:17px;
	line-height: 17px;
}
div.finances_cell.season{
	width: 75px;
	border-left: 1px solid black;
	border-right: 1px solid black;
	text-align:center;
}

div.finances_cell.category{
	width:250px;
	text-indent:5px;
}
div.finances_cell.note{
	width:350px;
	text-indent:3px;
}
div.finances_cell.income{
	width:125px;
	text-align:right;
	padding-right: 10px;
}
div.finances_cell.expense{
	width:125px;
	text-align:right;
	padding-right: 10px;
}

div.finances_cell.income.history{
	width:125px;
}

div.finances_cell.stat_left{
	font-weight: bold;
	width: 178px;
	text-indent: 5px;
	line-height: 24px;
	height: 24px;
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	margin-left: 2px;
	font-size:14px;
	font-variant: small-caps;
	overflow: hidden;
   vertical-align: bottom;
}
div.finances_cell.stat_right{
	width: 124px;
	text-align: right;
	line-height: 24px;
	height: 24px;
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
	padding-right: 4px;
	font-size:14px;
	overflow: hidden;
   vertical-align: bottom;
}
.finances_header_container {
	margin-left: 15px;
	height: 19px;
	line-height: 19px;
	font-weight: bold;
}

.finances_entry_container{
	margin-left: 15px;
	height: 18px;
	line-height: 18px;
}
.finances_entry_container:hover div{
	background-color:rgba(0,0,0,0.2);
}

.finances_entry_container:nth-child(2n+0){
	background-color:rgb(220,220,220);
}


div.finances_cell.category{
	border-left: 1px solid black;
	border-right: 1px solid black;
}
div.finances_cell.note, div.finances_cell.income, div.finances_cell.expense {
	border-right: 1px solid black;
}


.finance_round_selector_container{
	position: absolute;
	top: 0px;
	width: 100%;
	text-align: center;
	text-indent: 0px;
}
div.finance_round_header{
	display: inline-block;
	text-align: center;
	width: 96px;
}

img.prev_finance_round{
	position: absolute;
	left: 390px;
	height: 31px;
}
img.next_finance_round{
	position: absolute;
	right: 390px;
	height: 31px;
}
img.next_finance_round:hover, img.prev_finance_round:hover{
	height: 35px;
	top:-2px;
}

#finance_entries{
	height: 280px;
	overflow-y: scroll;
}

#finance_report_totals_container{
	position:relative;
	margin-top:7px;
}

div.finances_cell.pos_color{
	color:darkgreen;
}
div.finances_cell.neg_color{
	color:darkred;
}

.finances_header_container.special_break{
	margin-top: 5px;
}

.finances_header_container.special_break .finances_cell{
	border-top: 1px solid black;
}

.top_border .finances_cell{
	border-top: 1px solid black;
}

/* Small adjustment for the summary on the right */
#finances_summary_box .finances_header_container .finances_cell.category,
#finances_summary_box .finances_entry_container .finances_cell.category {
	width: 265px;
}

.pos_graph_bar{
	/*fill:green;*/
	fill: #0cad68;
	width:10px;
	stroke: rgba(255, 255, 255, 0.70);
	shape-rendering: crispEdges;
}
.neg_graph_bar{
	/*fill: red;*/
	fill: #ad0c2a;
	width:10px;
	stroke: rgba(255, 255, 255, 0.70);
	shape-rendering: crispEdges;
}

.zero_graph_bar{
	fill:darkgrey;
}

.pos_graph_bar:hover{
	fill:lightgreen;
}
.neg_graph_bar:hover{
	fill:pink;
}
.zero_graph_bar:hover{
	fill:grey;
}

img.pen_image{
	position: relative;
	margin-left: 17px;
	margin-top: 12px;
}

#finance_graph{
	margin-left: 20px;
}
#finance_graph .chartline{
	stroke-width: 1.000;
	stroke: rgba(0, 0, 0, 0.9);
	shape-rendering: crispEdges;
}

div.colleft{
	display:inline-block;
	width:150px;
	text-align: left;
}
div.colright{
	display:inline-block;
	width:150px;
	text-align: right;
}

/* Sponsor section */
#sponsor_selection_box{
	left: 3px;
	top: 3px;
	width: 897px;
	height: 395px;
	background-color: rgba(0, 0, 0, 0.76);
}

#sponsor_comparison_box{
	left: 3px;
	top: 401px;
	width: 897px;
	height: 302px;
	background-color: rgba(0, 0, 0, 0.76);
}

#sponsor_history_box{
	left: 903px;
	top: 3px;
	width: 460px;
	height: 700px;
	cursor: default;
	background-color: rgba(0, 0, 0, 0.76);
}

#sponsor_information_box{
	left: 3px;
	top: 3px;
	width: 445px;
	height: 303px;
	background-color: rgba(0, 0, 0, 0.76);
	text-align:center;
}

#sponsor_deal_box{
	left: 451px;
	top: 3px;
	width: 449px;
	height: 303px;
	background-color: rgba(0, 0, 0, 0.76);
}

div#sponsor_history_canvas_container {
	height: 143px;
}

#sponsor_logo_box{
	left: 3px;
	top: 309px;
	width: 897px;
	height: 394px;
	background-color: rgba(0, 0, 0, 0.76);
	text-align:center;
}

div.sponsor_select_container {
	display: inline-block;
	width: 200px;
	text-align: center;
	margin: 11px;
}

.modal_button.ok.sponsor_select_button{
	margin-left:0px;
	margin-right:0px;
}

div.sponsor_comparison_header_container{
	font-weight: bold;
	background: rgba(0,0,0,0.7);
	font-variant: small-caps;
	font-family: var(--primary-font-family);
}
div.sponsor_comparison_item_container{
	background-color: rgba(0,0,0,0.2);
	height: 24px;
	line-height: 24px;
	font-family: var(--primary-font-family);
	cursor: default;
}
div.sponsor_comparison_item_container:hover{
	color:var(--link-color);
}
div.sponsor_comparison_item_container.highlight{
	color:var(--link-color);
}
div.sponsor_comparison_item_container:nth-child(2n+0) {
	background-color: rgba(0,0,0,0.4);
}
div.sponsor_comparison_cell{
	display: inline-block;
	vertical-align: top;
	height: 24px;
	line-height: 24px;
	width: 85px;
	font-size: 13px;
	text-align:right;
	overflow:hidden;
}

div.sponsor_comparison_cell.name{
	width:135px;
	text-align:left;
	text-indent:5px;
	height:inherit;
	overflow:hidden;
}
div.sponsor_comparison_cell.cred{
	width:60px;
	text-align:center;
}
div.sponsor_comparison_cell.logo{
	width:50px;
	text-align:center;
}
div#sponsor_history_scroll_wrapper {
	height: 650px;
}

img.small_sponsor_history_logo {
	height: 20px;
	padding-top: 2px;
}

.chartline_sponsor_history{
	stroke: rgb(18, 255, 0);
	stroke-width: 1;
}

#sponsor_history_box div.sponsor_comparison_cell.name{
	width:165px;
}

.small_sponsor_link{
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.large_sponsor_link{
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 10px;
}

.sponsor_information {
	padding: 10px;
	letter-spacing: 1px;
	text-align: justify;
	font-size: 14px;
	padding-top: 0px;
}

.sponsor_deal_item_container{
	background-color: rgba(0,0,0,0.2);
	padding-left: 40px;
}
.sponsor_deal_item_container:nth-child(2n+0) {
	background-color: rgba(0,0,0,0.4);

}

.sponsor_deal_left{
	display: inline-block;
	width: 180px;
	height: 25px;
	line-height: 25px;
	text-align: left;
	text-indent: 5px;
	border-bottom: 1px solid white;
	font-size: 15px;
}

.sponsor_deal_right{
	display: inline-block;
	width:180px;
	height:25px;
	line-height: 25px;
	text-align:right;
	font-weight:normal;
	border-bottom:1px solid white;
	font-size: 15px;
}

img.cup_bg_image{
	position: absolute;
	top: 91px;
	left: 560px;
	width: 250px;
	height: 250px;
	opacity:0;
}

/* CHAMPIONS LEAGUE */
#cl_groups_box{
	left: 0px;
	top: 0px;
	width: 1366px;
	height: 403px;
	/*background: transparent;*/
	background-color: rgba(0, 0, 0, 0.72);
	background-image: none;
}

#cl_groups_box.mini{
	width: 687px;
	top: 3px;
	height: 403pX;
}

#cl_fixres_box{
	left: 722px;
	top: 3px;
	width: 640px;
	height: 402px;
	background-color: rgba(0, 0, 0, 0.50);
}

#cl_fixres_scroll_wrapper{
	height:371px;
}
div.cl_fixres_cell{
	position: relative;
	display: inline-block;
	width:250px;
	height:20px;
	word-break: break-all;
	overflow:hidden;
}

div.cl_fixres_cell.time{
	width:100px;
	text-align:center;
}
div.cl_fixres_cell.result{
	width:100px;
	text-align:center;
	cursor:pointer;
}

div.cl_fixres_cell.team.self{
	color:yellow;
}

.cl_fixres_header_container .cl_fixres_cell.team{
	text-indent:5px;
	width:230px;
}
.cl_fixres_entry_container .cl_fixres_cell.team{
	text-indent:5px;
	cursor:pointer;
	width:230px;
}
.cl_fixres_entry_container:hover{
	color:var(--link-color);
}

.cl_fixres_round_header{
	font-size: 23px;
	font-weight: bold;
	font-variant: small-caps;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
	height: 25px;
	line-height: 25px;
}
div.cl_fixres_header_container{
	background-color: rgba(0,0,0,0.5);
	font-variant: small-caps;
	vertical-align: top;
	height: 22px;
	line-height: 22px;
}

.cl_fixres_entry_container {
	vertical-align: top;
	height: 22px;
	line-height: 22px;
}
.cl_fixres_cell.flag {
	width: 28px;
}
img.cl_fixres_flag {
	height: 18px;
	width: 25px;
	border-radius: 3px;
	vertical-align: text-bottom;
	padding-left: 2px;
}

div.cl_fixres_entry_container:nth-child(2n+0){
	background-color:rgba(0,0,0,0.25);
}
div.cl_fixres_entry_container:nth-child(2n+1){
	background-color:rgba(0,0,0,0.4);
}
#cl_my_box{
	left: 3px;
	top: 408px;
	width: 447px;
	height: 295px;
	background-color: rgba(0, 0, 0, 0.30);
	text-align: center;
}

#cl_my_box.playercups{
	left: 916px;
	top: 3px;
	background-color: rgba(0,0,0,0.7);
	width: 447px;
}

#cl_champs_box{
	left: 453px;
	top: 408px;
	width: 444px;
	height: 294px;
	background-color: rgba(0, 0, 0, 0.30);
}

#tournament_stats_box{
	left: 900px;
	top: 408px;
	width: 463px;
	height: 295px;
	background-color: rgba(30, 30, 30, 0.85);
}

.tournament_group_mini_container{
	display: inline-block;
	margin-bottom: 20px;
	background-color: rgba(0,0,0,0.7);
	font-size: 13px;
	position: relative;
	margin-right: 10px;
	margin-left: 10px;
}

.tournament_group_container{
	display: inline-block;
	margin-bottom: 10px;
	background-color: rgba(0,0,0,0.7);
	/*border: 1px dotted rgba(255,255,255,0.3);*/
	font-size:13px;
	position:relative;
	margin-right: 10px;
	margin-left: 10px;
}

.tournament_group_header_container{
	background-color:var(--btn-color);
}

/*
.tournament_group_container.group1{ 	left:0px; }
.tournament_group_container.group2{ 	left:58px; }
.tournament_group_container.group3{ 	left:116px; }
.tournament_group_container.group5{ 	left:0px; }
.tournament_group_container.group6{ 	left:58px; }
.tournament_group_container.group7{ 	left:116px; }
*/
.tournament_group_container.group4{ 	margin-right: 0px; }
.tournament_group_container.group8{ 	margin-right: 0px; }

div.tournament_group_cell{
	display:inline-block;
	position:relative;
	width:50px;
	height: 18px;
	line-height: 18px;
	overflow: hidden;
	vertical-align: top;
}

div.tournament_group_cell.team{
	width: 150px;
	text-indent: 5px;
}

.tournament_group_header_container div.tournament_group_cell.team{
	width: 177px;
}



.tournament_group_entry_container{
	border-bottom: 1px solid #575757;
}

.tournament_group_entry_container div.tournament_group_cell.team{
	cursor:pointer;
}

div.tournament_group_cell.team.self{
	color:yellow;
}
div.tournament_group_cell.team.friend{
	color:var(--friend-color);
}

div.pc_fixres_cell.friend{
	color:var(--friend-color);
}
div.pc_fixres_cell.self{
	color:var(--self-color);
}

div.tournament_group_cell.team.same_league{
	color:var(--link-color);
}

.tournament_group_entry_container:hover{
	background-color:var(--hover-bg-grey);
}

div.tournament_group_cell.num{
	width: 28px;
	text-align: right;
}

div.tournament_group_cell.num.last{
	width: 28px;
	text-align: right;
	padding-right: 5px;
}

div.tournament_group_cell.num.gf, div.tournament_group_cell.num.ga{
	display:none;
}
#tournament_popup_table_container div.tournament_group_cell.num.gf, #tournament_popup_table_container div.tournament_group_cell.num.ga{
	display:inline-block;
}

.tournament_group_header_top {
	background-color: var(--btn-color);
	font-size: 17px;
	line-height: 17px;
	padding-bottom: 1px;
	text-indent: 3px;
	text-transform: uppercase;
	text-shadow: 2px 2px 2px black;
	border-radius: 5px 5px 0px 0px;
}

div.tournament_group_entry_container:nth-child(3){
	background-color: var(--def-bg-color);
}
div.tournament_group_entry_container:nth-child(4){
	background-color: var(--def-bg-color);
}

.my_cl_header, .my_cl_entry{
	position:relative;
	display:inline-block;
	width:220px;
	height:20px;
	text-align:center;
}

.my_cl_header{
	background-color: rgba(249, 252, 255, 0.14);
	font-family: var(--primary-font-family);
	font-variant: small-caps;
	line-height: 24px;
	height: 24px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 2px;
}
.my_cl_entry{
	line-height: 24px;
	height: 24px;
	font-size: 14px;
}

.my_cl_header.full, .my_cl_entry.full{
	width:440px;
}

div.my_cl_spacer{
	width: 440px;
	position: relative;
	display: block;
	height: 6px;
}
div.my_cl_spacer.top{
	width: 440px;
	position: relative;
	display: block;
	height: 5px;
}

div.no_data_international{
	text-align:center;
	font-style: italic;
	width:100%;
	padding-top:150px;
}

/* Champions */
div#cl_champions_scroll_wrapper{
	height: 241px;
}

.int_champions_cell{
	position:relative;
	display:inline-block;
	width:125px;
	height:24px;
	line-height:24px;
	font-size:15px;
	overflow:hidden;
}

.int_champions_header_container{
	background-color:rgba(0,0,0,0.5);
}

.int_champions_header_container .int_champions_cell{
	font-weight:bold;
	height:20px;
	line-height:20px;
}

.int_champions_cell.season{
	width:60px;
	text-align:center;
}
.int_champions_cell.int_team{
	width:180px;
}

.int_champions_cell.season.dc{
	width:100px;
	text-align:center;
}
.int_champions_cell.int_team.dc{
	width:250px;
}
.int_champions_entry_container:nth-child(2n+0){
	background-color: rgba(0,0,0,0.2);
}
.int_champions_entry_container:nth-child(2n+1){
	background-color: rgba(0,0,0,0.3);
}

.int_champions_entry_container .int_team{
	cursor:pointer;
}
.int_champions_entry_container .int_team:hover{
	color:var(--link-color);
}

#tournament_stats_scroll_wrapper{
	height:264px;
}

.tournament_master_left{
	position: relative;
	display: inline-block;
	width:200px;
	text-indent:10px;
	height: 20px;
	line-height: 20px;
}

.tournament_master_right{
	position: relative;
	display: inline-block;
	width:200px;
	text-align:right;
	padding-right:10px;
	height: 20px;
	line-height: 20px;
}

.tournament_top_scoring_team_left{
	position: relative;
	display: inline-block;
	width:200px;
	text-indent:10px;
	height: 20px;
	line-height: 20px;
}

.tournament_top_scoring_team_right{
	position: relative;
	display: inline-block;
	width:200px;
	text-align:right;
	padding-right:10px;
	height: 20px;
	line-height: 20px;
}

.tournament_group_header_more {
	position: absolute;
	right: 0;
	top: 0px;
	text-align: right;
	font-size: 13px;
	font-variant: normal;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	text-decoration: underline;
	padding-right: 5px;
}

.tournament_group_header_q {
	position: absolute;
	right: 70px;
	top: 0px;
	font-size: 13px;
	letter-spacing: normal;
}

div#tournament_group_popup{
	position: absolute;
	top: 64px;
	left: 20px;
	width: 538px;
	min-height: 500px;
	background-color: rgba(0,0,0,0.85);
	border: 1px solid white;
	z-index:100;
	color:white;
	display: none;
	font-family: var(--primary-font-family);
}

div#tournament_popup_outer_content {
	background-image: linear-gradient(45deg, var(--box-bg-1), var(--box-bg-2), var(--box-bg-1), var(--box-bg-2), var(--box-bg-1), var(--box-bg-2));
}

.tournament_group_cell.flag {
	width: auto;
}

div#tournament_group_popup_header{
	border-top: 0px;
	cursor: move;
}

#tournament_group_popup div.tournament_group_cell.team{
	width:223px;
}

#tournament_group_popup div.tournament_group_cell.num{
	width:40px;
}
#tournament_group_popup div.tournament_group_cell.num.last{
	width:40px;
}

#tournament_group_popup .tournament_group_header_container div.tournament_group_cell.team{
	width:252px;
}

#tournament_group_popup .tournament_group_container, #tournament_group_popup .tournament_group_mini_container{
	margin-left:0px;
	margin-right:0px;
}

div#tournament_popup_content {
	height: 386px;
	margin-bottom: 10px;
}
#tournament_popup_content .cl_fixres_cell.team{
	width:190px;
}

#tournament_popup_content .cl_fixres_cell.time{
	width:60px;
}
.cl_fixres_cell.time.result{
	cursor:pointer;
}

#cup_fixres_box{
	top: 3px;
	left: 3px;
	width: 745px;
	height: 402px;
}

#cup_fixres_scroll_wrapper{
	height:371px;
}

.cup_fixres_header_row{
	font-weight: bold;
	height: 23px;
	line-height: 23px;
	font-variant: small-caps;
	background: black;
	border-bottom: 1px solid #333333;
}
.cup_fixres_entry_row{
	height: 20px;
	line-height: 20px;
	background-color:rgba(0,0,0,0.2);
	border:1px solid var(--hover-bg-grey);
}

.cup_fixres_entry_row:hover{
	background-color: var(--hover-bg-grey);
}
.cup_fixres_cell{
	display:inline-block;
	width:100px;
	cursor:default;
	height:inherit;
	overflow:hidden;
}

.cup_fixres_cell.rnd{
	width:90px;
	text-indent:5px;
}

.cup_fixres_cell.ht, .cup_fixres_cell.at{
	width:210px;
	text-indent:5px;
}

.cup_fixres_entry_row .cup_fixres_cell.ht, .cup_fixres_entry_row .cup_fixres_cell.at{
	cursor:pointer;
}

.cup_fixres_cell.mt{
	width:150px;
}

.cup_fixres_cell.timeres{
	width:120px;
	text-align:center;
}
.cup_fixres_cell.resultlink{
	width:120px;
	text-align:center;
	cursor:pointer;
}

.cup_fixres_cell.fulltext{
	width:725px;
	text-align:center;
}

.cup_spoiler_row{
	position: absolute;
	display: block;
	height: 21px;
	background-color: black;
	color: white;
	width: 100%;
	text-align: center;
	z-index:2;
}

#cup_info_box{
	top: 3px;
	left: 751px;
	width: 612px;
	height: 402px;
}
img.send_cup_message_icon {
	position: absolute;
	right: 2px;
	top: 30px;
	cursor:pointer;
}
img.cup_info_edit_button {
	position: absolute;
	right: 52px;
	top: 30px;
	height:36px;
	cursor:pointer;
}
img.cup_info_view_button {
	position: absolute;
	right: 90px;
	top: 30px;
	height:36px;
	cursor:pointer;
}
img.cup_info_view_button_2 {
	position: absolute;
	right: 130px;
	top: 30px;
	height:36px;
	cursor:pointer;
}
.cup_info_text{
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	text-align: justify;
}

.cup_info_trophy{
	position: absolute;
	filter: sepia(30%);
}

.cup_info_trophy.first{
	width: 250px;
	height: 250px;
	left: 125px;
	top: 90px;
	opacity: 0.15;
}
.cup_info_trophy.second{
	width: 200px;
	height: 200px;
	left: 255px;
	top: 113px;
	opacity: 0.15;
}

.cup_league_input{
	float: right;
	margin-right: 17px;
	margin-top: 4px;
}

.cup_champions_bg_flag{
	width: 425px;
	height: 243px;
	position: absolute;
	left: 10px;
	opacity: 0.250;
}

#ts_player_list_box{
	top: 0px;
	left: 0px;
	width: 687px;
	height: 706px;
	user-select:none;
}

#training_player_list_box{
	top: 1px;
	left: 3px;
	width: 797px;
	height: 704px;
	user-select: none;
}

#ts_player_list_scroll_wrapper{
	height: 706px;
}

#training_player_list_scroll_wrapper{
	height: 591px;
}
.ts_player_container{
	display:block;
	position: relative;
	/*width:646px;*/
	font-size:12px;
	text-transform: uppercase;
	font-family: var(--primary-font-family);
	margin-top: 0px;
	height: 52px;
	border:1px solid black;
	cursor:pointer;
}

img.ts_player_img{
	position: relative;
	display: inline-block;
	width:50px;
	height:50px;
	border:1px solid black;
}

img.ts_player_img.fielded{
	border:1px solid white;
}
img.ts_player_img.sub{
	border:1px solid #c76711;
}

.ts_stats_container{
	position: relative;
	display: inline-block;
	width: 588px;
	height: 50px;
	vertical-align: top;
}

.gk .ts_stats_container {
	background-color:rgba(64, 66, 137, 0.6);
}

.def .ts_stats_container {
	background-color: rgba(38,108,44,0.6);
}

.mid .ts_stats_container {
	background-color:rgba(128,128,0,0.6);
}

.att .ts_stats_container {
	background-color:rgba(128,16,16,0.6);
}

.ts_context_menu_button{
	position: relative;
	display: inline-block;
	height: 50px;
	width: 20px;
	background: url(images/ml2/icons/teamsetup/playermenu.png);
	border-radius: 5px;
	cursor:pointer;
	vertical-align: top;
}

.ts_context_menu_button:hover{
	filter:brightness(130%);
}

.ts_player_stat{
	position: relative;
	display: inline-block;
	height:17px;
	line-height:17px;
	overflow: hidden;
	vertical-align: top;
	word-break: break-all;
}

.ts_player_stat.bold{
	font-weight:bold;
	color: #ffe0a8;
}

.ts_player_stat.shirtnumber{
	width: 25px;
	text-align: right;
}
.ts_player_stat.fieldedMarker{
	width: 20px;
	text-align: center;
}

.ts_player_stat.name{
	width:180px;
	text-indent:5px;
}
.ts_player_stat.icons{
	width:140px;
	text-indent:5px;
}
.ts_player_stat.scoutresult{
	width:75px;
	/*text-indent:5px;*/
}
.ts_player_stat.role{
	width: 115px;
	text-align: right;
	padding-right: 5px;
}

.gk .ts_player_stat.name, .gk .ts_player_stat.role, .gk .ts_player_stat.age, .gk .ts_player_stat.ability, .gk .ts_player_stat.icons, .gk .ts_player_stat.scoutresult, .gk .ts_player_stat.fieldedMarker, .gk .ts_player_stat.shirtnumber{
	background-color:rgba(64, 66, 137, 0.6);
}
.def .ts_player_stat.name, .def .ts_player_stat.role, .def .ts_player_stat.age, .def .ts_player_stat.ability, .def .ts_player_stat.icons, .def .ts_player_stat.scoutresult, .def .ts_player_stat.fieldedMarker, .def .ts_player_stat.shirtnumber{
	background-color:rgba(38,108,44,0.6);
}
.mid .ts_player_stat.name, .mid .ts_player_stat.role, .mid .ts_player_stat.age, .mid .ts_player_stat.ability, .mid .ts_player_stat.icons, .mid .ts_player_stat.scoutresult, .mid .ts_player_stat.fieldedMarker, .mid .ts_player_stat.shirtnumber{
	background-color:rgba(128,128,0,0.6);
}
.att .ts_player_stat.name, .att .ts_player_stat.role, .att .ts_player_stat.age, .att .ts_player_stat.ability, .att .ts_player_stat.icons, .att .ts_player_stat.scoutresult, .att .ts_player_stat.fieldedMarker, .att .ts_player_stat.shirtnumber{
	background-color:rgba(128,16,16,0.6);
}

.ts_player_stat.quality {
	width: 30px;
	text-indent: 5px;
	font-weight: bold;
}

.ts_player_stat.ability{
	width:27px;
	text-align: center;
}

.ts_player_stat.stat{
	width:34px;
}

.ts_player_stat.center{
	text-align:center;
	width:34px;
}


/* Alternate rendering */
.ts_player_container2{
	display:block;
	position: relative;
	width:670px;
	font-size:13px;
	font-family: var(--primary-font-family);
	margin-top: 0px;
	height: 19px;
	border:1px solid black;
	cursor:pointer;
	background-color: var(--header-color);
}

.ts_player_container2.gk:hover, .ts_player_container2.def:hover, .ts_player_container2.mid:hover, .ts_player_container2.att:hover{
	filter:saturate(1.3);
	border:1px solid rgb(100, 100, 100);
}

.ts_player_container2.selected{
	filter:brightness(175%);
	border:1px solid white;
}
.ts_player_container2.selected:hover{
	filter:brightness(175%);
	border:1px solid white;
}

.ts_player_container2.hd, .ts_player_container2.ft{
	margin-top: 0px;
}

.ts_player_container2.gk{
	background-color:rgba(64, 66, 137, 0.6);
}
.ts_player_container2.def{
	background-color:rgba(38,108,44,0.6);
}
.ts_player_container2.mid{
	background-color:rgba(128,128,0,0.6);
}
.ts_player_container2.att{
	background-color:rgba(128,16,16,0.6);
}

.ts_player_stat2{
	position: relative;
	display: inline-block;
	height:19px;
	line-height:19px;
	overflow: hidden;
	vertical-align: top;
	text-align:center;
	word-break: break-all;
}

.ts_player_stat2.bold{
	font-weight:bold;
	color: #ffe0a8;
}

.ts_player_stat2.gap{
	width:3px;
}

.ts_player_stat2.shirtnumber{
	width: 25px;
	text-align: right;
}
.ts_player_stat2.fieldedMarker{
	width: 20px;
	text-align: center;
}

.ts_player_stat2.name{
	width:120px;
	text-indent:5px;
	text-align:left;
}

.ts_player_stat2.name span:hover{
	color:var(--link-color);
}

.ts_player_stat2.quality {
	width: 27px;
	font-weight: bold;
}

.ts_player_stat2.age {
	width: 30px;
}
.ts_player_stat2.ability {
	width: 20px;
}

.ts_player_stat2.ability img.ps_result_ability{
	height:18px;
	width:18px;
}
.ts_player_stat2.cmenu {
	width: 20px;
	text-align:center;
}
.ts_player_stat2.cmenu img {
	margin-top: 1px;
}
.ts_player_stat2.fitness {
	width: 40px;
}

.ts_player_stat2.stat{
	width:26px;
}

.ts_player_stat2.fielded{
	width:20px;
}

.ts_player_stat2.long{
	width:190px;
}
.ts_player_stat2.short{
	width:130px;
}

.ts_player_stat2.center{
	text-align:center;
	width:34px;
}

.ts_player_stat2 .injury_icon{
	vertical-align: text-bottom;
}

.ts_player_stat2 .banned_icon{
	position: absolute;
	right: 0px;
	top: 2px;
}

.player_training_container .banned_icon{
	position: absolute;
	right: 0px;
	top: 1px;
}

.player_training_container img.boxheader_right_image{
	top: 1px;
	right: 1px;
	height:15px;
	width:15px;
}

.tv_players_stat.name .banned_icon{
	position: absolute;
	right: 0px;
	top: 2px;
}

div.ts_role_divider{
	display: block;
	position: relative;
	height: 2px;
}

img.ts_ability_icon{
	height:15px;
	width:15px;
	margin-right:3px;
	margin-top:1px;
}

#status_field_box img.ts_ability_icon.field_icon.card {
	left: 50px;
	top: 17px;
}

#ts_field_box img.ts_ability_icon.field_icon.card {
	left: 50px;
	top: 17px;
}

#ts_field_box .mobile_subs_header{
	display: none;
}

#ts_tactics_box {
	top: 0px;
	left: 686px;
	width: 180px;
	position: absolute;
	height: 706px;
	border-radius: 0px;
}

#ts_field_box{
	top: 0px;
	left: 867px;
	height: 707px;
	width: 499px;
	background-color: rgba(0,0,0,0.8);
	border-radius: 0px;
}

.field_options hr{
	margin-top:3px;
	margin-bottom:3px;
	border-color:red;
}

.field_options .regbutton{
	height:20px;
	line-height:20px;
}

#load_template_button, #save_template_button, #delete_template_button{
	width: 53px;
	margin-right: 2px;
	height: 45px;
	margin-left: 2px;
}

img.ts_template_button {
	height: auto;
	margin: -1px;
}

.ts_template_button:hover{
	filter:brightness(120%);
}

.full_fitness{
	color:lime !important;
}

.reduced_fitness{
	color:#FFFFBB !important;
}
.low_fitness{
	color:orange !important;
}
.injured_fitness{
	color:red !important;
}

.name.fielded{
	/*color:lime;*/
	font-weight:bold;
}

.name.sub{
	/*color:#c76711;*/
	font-weight:bold;
}

img.player_fielded_icon {
	vertical-align: bottom;
	float: left;
	margin-top: 1px;
	margin-left: 3px;
	height:15px;
	width:15px;
}

.red_text{
	color:red;
}
.yellow_text{
	color:yellow;
}

.ts_ability_icon.field_icon{
	margin-right:0px;
	margin-left:0px;
	position:absolute;
	z-index:1;
}

.ts_ability_icon.field_icon.captain{
	top: -10px;
	left: 29px;
}
.ts_ability_icon.field_icon.penalty{
	top: -10px;
	left: 1px;
}
.ts_ability_icon.field_icon.corner{
	top: -10px;
	left: 59px;
}
.ts_ability_icon.field_icon.attfk{
	top: 57px;
	left: 1px;
}
.ts_ability_icon.field_icon.deffk{
	top: 57px;
	left: 59px;
}

.ts_player_container:hover{
	filter:brightness(130%);
	border:1px solid rgb(100, 100, 100);
}

.ts_player_container.selected{
	filter:brightness(175%);
	border:1px solid white;
}
.ts_player_container.selected:hover{
	filter:brightness(175%);
	border:1px solid white;
}

#chat_context_menu{
	position: absolute;
	display:none;
	background-color:#252525;
	border: 1px solid white;
	min-height: 30px;
	min-width: 50px;
	box-shadow: rgba(0,0,0,0.5) 2 2 2;
	z-index:10;
	bottom:0px;
	left:0px;
}
#chat_context_menu .context_item{
	color:white;
	position: relative;
	font-family: var(--primary-font-family);
	font-variant: small-caps;
	font-size:14px;
	line-height: 14px;
	padding:10px;
	cursor:default;
}
#chat_context_menu .context_item:hover{
	color:white;
	background-color:rgb(94, 94, 94);
}

#player_context_menu{
	position: absolute;
	display:none;
	background-color:#252525;
	border: 1px solid white;
	min-height: 30px;
	min-width: 50px;
	box-shadow: rgba(0,0,0,0.5) 2 2 2;
	z-index:10;
	/*
	left: 49%;
	top: 25%;
	*/
}

#player_context_menu .context_item{
	color:white;
	position: relative;
	font-family: var(--primary-font-family);
	font-variant: small-caps;
	font-size:14px;
	line-height: 14px;
	padding:10px;
	cursor:default;
}

#player_context_menu .context_item:hover{
	color:white;
	background-color:rgb(94, 94, 94);
}

#player_context_menu hr{
	margin-top:2px;
	margin-bottom:2px;
}

.team_setup_dropdown{
	width:400px;
	margin-top:5px;
	margin-bottom:5px;
}
img.ts_scout_icon {
	height: 16px;
}
.popup_text {
	font-family: var(--primary-font-family);
	font-size: 16px;
	line-height: 18px;
	margin-bottom: 2px;
}

.team_setup_stat{
	display:inline-block;
	width:123px;
	height:28px;
	line-height:27px;
	font-size:20px;
	font-variant: small-caps;
	text-align: center;
	overflow:hidden;
}

.my_timers_container select, #new_timer_button{
	margin: 0px;
	width:145px;
	height:25px;
}

.my_timers_container div.general_entry_container, .my_timers_container div.general_entry_container .general_cell {
	height:25px;
	line-height:25px;
}

img.general_cell_icon{
	height: 20px;
	width: 20px;
	margin-right: 12px;
	margin-left: 12px;
	display: inline-block;
	cursor: pointer;
	vertical-align: middle;
}
#schedule_popup {
	position: absolute;
	top: 90px;
	width: 815px;
	left: 20px;
	z-index: 101;
	background-color: rgba(0, 0, 0, 1.0);
	font-family: var(--primary-font-family);
	font-size: 12px;
	padding-left: 10px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-top: 2px;
	border-radius: 10px;
	border: 1px solid white;
	height: 620px;
	color: white;
	display: none;
}

div#schedule_popup_header {
	height: 35px;
	line-height: 35px;
	font-size: 20px;
}

img#schedule_popup_close {
	position: absolute;
	right: 2px;
	height: 32px;
	top: 5px;
	cursor:pointer;
}

div#schedule_popup_content {
	height: 586px;
	overflow-y: auto;
	width: 100%;
}

#schedule_popup .schedule_header{
	font-size:15px;
	height:25px;
	line-height:25px;
}

#schedule_popup .schedule_item{
	font-size:13px;
	line-height:20px;
}

#schedule_popup .schedule_item.past{
	color:grey;
}
#schedule_popup .schedule_item.camp{
	color:yellow;
}
#schedule_popup .schedule_item.su{
	color:orange;
}
#schedule_popup .schedule_item.leaguecup{
	color:cyan;
}
#schedule_popup .schedule_item.depcup{
	color:lime;
}
#schedule_popup .schedule_item.cl{
	color:tomato;
}
#schedule_popup .schedule_item.cwc{
	color:#b288f3;
}
#schedule_popup .schedule_item.sosdraw{
	color:pink;
}
#schedule_popup .schedule_item.eosdraw{
	color:pink;
}

div.schedule_item:nth-child(2n+1){
	background-color:black;
}

#schedule_popup .schedule_cell{
	display:inline-block;
	overflow:hidden;
	vertical-align: top;
	width:65px;
}

#schedule_popup .schedule_cell.long{
	width:250px;
}

#schedule_popup .schedule_cell.medium{
	width:95px;
}

div.schedule_bottom_text{
	height:auto;
	line-height:20px;
	font-size:14px;
}

/* Takers popup */
#set_piece_takers_popup{
	position:absolute;
	top:50px;
	width:575px;
	left:300px;
	z-index:101;
	background-color: rgba(25,25,25,0.95);
	font-family: var(--primary-font-family);
	font-size:12px;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 2px;
	padding-top: 2px;
	border-radius: 10px;
	display:none;
}

div#set_pieces_help {
	position: absolute;
	top: 200px;
	left: 635px;
	width: 175px;
	height: auto;
	color: var(--inverted-text-color);
	background-color: rgba(255,255,255,0.95);
	border-radius: 0px 5px 5px 0px;
	font-size: 15px;
	padding: 5px;
	border-top: 4px solid black;
	border-right: 4px solid black;
	border-bottom: 4px solid black;
	box-shadow: 0px 0px 0px 4px #00000087;
}

.set_piece_help_string {
	margin-bottom: 10px;
}

#set_piece_takers_popup_header{
	cursor: move;
}

#set_piece_takers_popup .taker_container{
	margin-bottom: 1px;
	height: 22px;
	line-height: 22px;
	vertical-align: middle;
	font-size: 13px;
}
#set_piece_takers_popup .taker_container.gk{
	background-color:rgba(64, 66, 137, 0.6);
}
#set_piece_takers_popup .taker_container.def{
	background-color:rgba(38,108,44,0.6);
}
#set_piece_takers_popup .taker_container.mid{
	background-color:rgba(128,128,0,0.6);
}
#set_piece_takers_popup .taker_container.att{
	background-color:rgba(128,16,16,0.6);
}

#set_piece_takers_popup img#set_piece_takers_close {
	position: absolute;
	right: 2px;
	top: 2px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

#set_piece_takers_popup .taker_col{
	display: inline-block;
	height: inherit;
	width: 70px;
	line-height: inherit;
	color: white;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
}

#set_piece_takers_popup .taker_col.name{
	width:195px;
	cursor:default;
	text-indent: 5px;
	text-align: left;
}

#set_piece_takers_popup select.taker_pri_select{
	height: 16px;
	font-size: 16px;
	margin: 0px;
	padding: 0px;
	border-radius: 2px;
	border: 0px;
	box-shadow: none;
	z-index: 10;
}

select.taker_pri_select {
	width: 45px;
	text-align: center;
}

#set_piece_takers_popup select.taker_pri_select.red_text{
	color:red;
	font-weight:bold;
}

#my_timers_container .general_cell.col1 {
	width: 160px;
}
#my_timers_container .general_cell.col2 {
	width: 160px;
}
#my_timers_container .general_cell.col3 {
	width: 160px;
}
#my_timers_container .general_cell.col4 {
	width: 150px;
}

.player_training_container{
	margin-bottom:1px;
	height: 18px;
	font-family: var(--primary-font-family);
	font-size:12px;
	background-color:var(--btn-color);

}
.player_training_container.gk{
	background-color:rgba(64, 66, 137, 0.6);
}
.player_training_container.def{
	background-color:rgba(38,108,44,0.6);
}
.player_training_container.mid{
	background-color:rgba(128,128,0,0.6);
}
.player_training_container.att{
	background-color:rgba(128,16,16,0.6);
}
.player_training_container.header{
	background-color:rgba(0,0,0,0.9);
	background-color:var(--btn-color);
}

.player_training_container.summary{
	background-color:var(--header-color);
}

.player_training_container .player_training_col{
	display:inline-block;
	height:18px;
	width:18px;
	line-height:18px;
	text-align:center;
	vertical-align: top;
	position:relative;
	overflow:hidden;
}

.player_training_container .player_training_col.name{
	width:140px;
	text-align:left;
	overflow:hidden;
	/*cursor:pointer;*/
}

.player_training_container .player_training_col.role{
	width:25px;
	text-indent:2px;
}

.player_training_container .player_training_col.stat{
	cursor:pointer;
	width:20px;
}
.player_training_container .player_training_col.stat:hover{
	color:var(--link-color);
}

.player_training_container .player_training_col.stat.important{
	font-weight: bold;
	color: #ffe0a8;
}

.player_training_container .player_training_col.stat.important:hover{
	color:var(--link-color);
}

.player_training_container .player_training_col.fitness{
	width: 37px;
	text-indent: 5px;
	text-align: right;
	padding-right: 5pX;
}

.player_training_container .player_training_col.fitness img.injury_icon {
	margin-left: 3px;
	margin-top: 2px;
	cursor: pointer;
	position: absolute;
	left: 1px;
}

.player_training_container .player_training_col.age {
	width: 29px;
	text-align: center;
}

.player_training_container .player_training_col.total, .player_training_container .player_training_col.rest{
	width:26px;
	text-indent: 5px;
	text-align: right;
	padding-right: 5pX;
}

.player_training_container .player_training_col.rest  {
	width:35px;
	text-indent: 5px;
	text-align: center;
	padding-right: 5pX;
}

.player_training_container .player_training_col.stat.training{
	font-weight: bold;
	color:greenyellow;
	background-color: rgba(0,0,0,0.5);
}

.player_training_container .player_training_col.diff{
	width:21px;
	text-align:left;
	color:rgb(192, 192, 192);
	font-size:10px;
}
.rest input{
	margin-top: 0px;
	margin-bottom: 0px;
	height: 15px;
	width: 16px;
	vertical-align: middle;
	line-height: 18px;
}

.player_training_stats{
	padding-left:5px;
	padding-right:5px;
	/*border-radius: 10px;*/
	border-top: 1px solid red;
	background-color: rgba(0,0,0,0.5);
	padding:3px;
}

.player_training_stat{
	display:inline-block;
	width: 100px;
	font-family: var(--primary-font-family);
	height:22px;
	line-height:22px;
}
.player_training_stat.longheader{
	width: 350px;
	text-align:left;
}
.player_training_stat.shortheader{
	width: 100px;
	text-align:right;
}
.player_training_stat.first{
	width: 100px;
	text-align:center;
}

.player_training_buttons_container {
	padding-top: 3px;
	padding-bottom: 0px;
}

.player_training_button{
	display:inline-block;
	width:250px;
	margin-left:5px;
	margin-right:5px;
	text-align:right;
	border-radius: 5px;
}

button.player_training_button.long.special{
	margin-right:0px;
	border-radius: 5px 0px 0px 5px;
	margin-left:10px;
}

.player_training_button.short{
	width:150px;
	text-align:center;
}

.player_training_input{
	width:40px;
	height:20px;
	background: rgba(100, 100, 100, 1);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
	text-align:center;
	color:white;
}
input[type="number"].player_training_input{
	border-radius: 0px 5px 5px 0px;
	margin-top: 0px;
	margin-right: 5px;
	margin-left: -2px;
	display: inline-block;
	vertical-align: top;
	height: 26px;
	border: 1px solid grey;
	outline:none;
}

.player_training_container .player_training_col.sum_season{
	width:161px;
	text-align: left;
	text-indent: 25px;
}
.player_training_container .player_training_col.sum_title{
	width:180px;
}
.player_training_container .player_training_col.sum_stattype{
	width:80px;
	text-align: left;
	text-indent:5px;
}
.player_training_container .player_training_col.sign{
	width:10px;
	text-align: center;
}
.player_training_container .player_training_col.sum_gains{
	width:40px;
	text-align:right;
}
.player_training_container .player_training_col.sum_gains_avg{
	width:90px;
	text-align:center;
}
.player_training_container .player_training_col.spacer{
	width:338px;
}
/* Teamstats */
#training_reports_box{
	position: absolute;
	top: 1px;
	left: 803px;
	height: 250px;
	width: 206px;
	text-align: center;
	background-color: rgba(0,0,0,0.7);
}

#training_reports_scroll_wrapper{
	height:216px;
	text-align: left;
}
#training_reports_scroll_wrapper_camp{
	height: 85px;
	text-align: left;
	border-top: 1px solid red;
	margin-top: 4px;
	position: absolute;
	width: 100%;
	top: 246px;
}

#training_reports_scroll_wrapper_camp .training_report_entry{
	height:25px;
	line-height:25px;
	cursor:pointer;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	background-color: rgba(0,0,0,0.4);
	font-size:13px;
}

#training_reports_scroll_wrapper_camp .training_report_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.7);
}

#training_reports_scroll_wrapper_camp .training_report_entry:hover{
	background-color:#202020;
}

#training_reports_scroll_wrapper_camp .training_report_col.col1{
	text-align:left;
	width:180px;
	text-indent:5px;
}

select.order_camp_dropdown{
	font-size: 13px;
	margin-top: 1px;
	margin-bottom: 2px;
	width: 180px;
}

#training_reports_scroll_wrapper .training_report_entry{
	height:20px;
	line-height:20px;
	cursor:pointer;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	background-color: rgba(0,0,0,0.4);
	font-size:14px;
}

/*
#training_reports_scroll_wrapper .training_report_entry:nth-child(2n+0){
	background-color: rgba(0,0,0,0.7);
}
*/

#training_reports_scroll_wrapper .training_report_entry:hover{
	background-color:#202020;
}

.training_report_col{
	display:inline-block;
	height:20px;
	line-height:20px;
	height:inherit;
	line-height:inherit;
	overflow:hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.training_report_col.col1{
	text-align:left;
	width:120px;
	text-indent:5px;
}
.training_report_col.col2, .training_report_col.col3 {
	text-align:right;
	width:30px;
	padding-right:3px;
}

#training_icons_box{
	position: absolute;
	top: 253px;
	left: 803px;
	height: 452px;
	width: 206px;
	text-align: center;
	background-color: rgba(0,0,0,0.7);
}

img.training_icon{
	width: 64px;
	height: 64px;
	margin: 2px;
	cursor: pointer;
	margin-top: 6px;
}

.training_icon:hover{
	filter:brightness(130%);
}

img.training_icon.selected {
	border: 1px solid #eeff00;
	margin: 1px;
}

.team_training_icon_info {
	font-size: 14px;
	text-align: left;
	padding: 5px;
	line-height: 15px;
}

#training_team_box {
	position: absolute;
	top: 1px;
	left: 1012px;
	height: 250px;
	width: 353px;
}

#training_current_box{
	position: absolute;
	top: 253px;
	left: 1012px;
	height: 110px;
	width: 353px;
}

#training_camp_box{
	position: absolute;
	top: 365px;
	left: 1012px;
	height: 340px;
	width: 353px;
}

img.current_training_icon{
	width:64px;
	height:64px;
	margin:10px;
	margin-left:12px;
	margin-right:12px;
}

.team_stat_list{
	font-size: 14px;
	line-height: 16px;
}
.team_stat_container{
	background-color:rgba(0,0,0,0.2);
	padding-top:1px;
	padding-bottom:1px;
	display:inline-block;
	font-size: 14px;
	line-height: 16px;
}
.team_stat_container:nth-child(2n+0){
	background-color: rgba(0,0,0,0.4);
}

.team_stat_container.header{
	font-variant: small-caps;
	font-weight:bold;
	background-color:rgba(0,0,0,0.5) !important;
}

.team_stat_container.selected{
	background-color:rgba(0, 87, 0, 0.5);
}
.team_stat_col{
	display:inline-block;
	width:50px;
}
.team_stat_col.statname{
	width:175px;
	text-indent:10px;
}
.team_stat_col.statvalue{
	width:50px;
	text-align:center;
}
.team_stat_col.statgains{
	width:50px;
	text-align:center;
}
.team_stat_col.training{
	width:37px;
	text-align:center;
}
.team_stat_col.camping{
	width:37px;
	text-align:center;
}
.team_stat_col.selected{
	width:74px;
	text-align:center;
}

.camp_detail{
	display:inline-block;
	width:150px;
	height:20px;
	line-height:20px;
	font-size:14px;
	text-indent:10px;
}

.camp_detail.entry{
	width:199px;
}

.camp_detail.booking{
	height:25px;
	line-height: 25px;
}

button.camp_button {
	width: 340px;
	margin-left: 7px;
	margin-right: 0px;
}
input.camp_dropdown {
	width: 340px;
	margin-left: 10px;
}

/* NOTES */
#notes_sidebar{
	position: absolute;
	top: 3px;
	left: 3px;
	height: 699px;
	width: 135px;
	background-color: rgba(0,0,0,0.85);
}

#notes_sidebar .mail_sidebar_image{
	padding-left:35px;
	padding-right: 35px;
	padding-top: 10px;
}

div.notes_sidebar_text{
	text-transform: uppercase;
	font-size: 12px;
	text-align: center;
	width: 100%;
	cursor: pointer;
	padding-top: 2px;
	height: 27px;
	line-height: 12px;
}
#notes_sidebar hr{
	color: red;
	border: 1px solid;
	width: 99%;
	margin-top:2px;
	margin-bottom:2px;
}

#notes_main_box{
	position: absolute;
	top: 3px;
	left: 141px;
	height: 699px;
	width: 1222px;
	background-color: rgba(0,0,0,0.85);
}

#notes_scroll_wrapper{
	margin-left:10px;
	height: 699px;
}

div.note_container{
	position: relative;
	max-height:50px;
	width:1160px;
	overflow:hidden;
	display:block;
	border-radius: 10px;
	background-color:rgba(0,0,0,0.4);
	margin-bottom:5px;
	margin-top:5px;
	padding:5px;
}
div.note_container.selected{
	max-height:none;
	background-color:rgba(255,255,255,0.25);
}

div.note_container:hover{
	background-color:rgba(255,255,255,0.25);
}

.note_left{
	display: inline-block;
	width:64px;
	vertical-align: top;
}
.note_right{
	display: inline-block;
	width:1090px;
	vertical-align: top;
}

.note_icon{
	display:inline-block;
	width:48px;
	height:48px;
	border-radius: 5px;
}

.note_header{
	display:inline-block;
	width:500px;
	font-variant: small-caps;
	font-weight: bold;
	text-indent: 5px;
}
.note_timestamp{
	display:inline-block;
	width:465px;
}
.note_edit{
	top: 0px;
	width: 28px;
	text-align: right;
	cursor: pointer;
	position: absolute;
	right: 50px;
}
.note_delete{
	width: 28px;
	top: 0px;
	text-align: right;
	cursor: pointer;
	position: absolute;
	right: 2px;
}
.note_body{
	display:block;
	width:99%;
	padding:5px;
}

#notes_scroll_wrapper hr{
	color: rgba(255, 0, 0, 0.432);
	border: 1px solid;
	width: 1163px;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 8px;
}

#notes_scroll_wrapper .player_training_container{
	width:830px;
	margin-left:10px;
}

#notes_scroll_wrapper .player_training_col.name{
	width:250px;
}

#notes_scroll_wrapper .player_training_container .player_training_col.stat{
	cursor:default;
}

#notes_scroll_wrapper .player_training_container.gk .player_training_col.name,
#notes_scroll_wrapper .player_training_container.def .player_training_col.name,
#notes_scroll_wrapper .player_training_container.mid .player_training_col.name,
#notes_scroll_wrapper .player_training_container.att .player_training_col.name{
	cursor:pointer;
}
#notes_scroll_wrapper .player_training_container.gk .player_training_col.name:hover,
#notes_scroll_wrapper .player_training_container.def .player_training_col.name:hover,
#notes_scroll_wrapper .player_training_container.mid .player_training_col.name:hover,
#notes_scroll_wrapper .player_training_container.att .player_training_col.name:hover{
	color:var(--link-color);
}

#notes_scroll_wrapper .player_training_container .player_training_col.stat:hover{
	color:var(--text-color);
}

.notes_player_owned_by{
	text-indent:20px;
}

.notes_team_container{
	width: 830px;
	margin-left: 10px;
	background-color:rgba(0,0,0,0.9);
	font-size:12px;
	margin-top:5px;
}

.notes_team{
	display:inline-block;
	text-indent:2px;

}

.notes_team.entry{
	padding-right:25px;
}

.notes_team.entry.team, .notes_team.entry.manager{
	cursor:pointer;
	width:150px;
}

.notes_team.entry.team:hover, .notes_team.entry.manager:hover{
	color:var(--link-color);
}

.generic_row.note_popup{
	display:block;
	width: 430px;
	text-align:left;
	height: 30px;
	font-family: var(--primary-font-family);
}

.generic_col{
	display: inline-block;
	width: 148px;
	text-align: left;
	vertical-align: baseline;
	line-height: 30px;
	padding: 0px;
	margin: 0px;
}

#new_note_body{
	width:430px;
	height:120px;
}

#champions_main_box{
	width: 1366px;
	top: 0px;
	height: 36px;
	padding-top: 6px;
	border-radius: 0px;
}

button.champions_rankings_button{
	width: 189px;
	margin-left: 2px;
	margin-right: 2px;
	font-size: 15px;
	line-height: 16px;
	font-family: inherit;
}

button.champions_rankings_button.selected{
	background-color: var(--green-btn-color);
}

select.champions_league_select{
	height: 24px;
	width: 195px;
	margin-left: 7px;
}

#champions_list_box{
	top: 45px;
	left: 3px;
	height: 658px;
	width: 898px;
}

#champions_scroll_wrapper{
	height: 629px;
}

.champ_col{
	display: inline-block;
	width: 175px;
	height: 50px;
	vertical-align: middle;
	line-height: 50px;
	font-size: 17px;
	/*font-variant: small-caps;*/
}
img.champ_col{
	height:50px;
	border-radius:5px;
}

.champion_container{
	width:880px;
	margin-top:7px;
	margin-bottom:7px;
	border-radius: 5px;
}
.champions_header{
	margin-bottom: 3px;
	background-color: var(--btn-color);
	height: 25px;
	line-height: 25px;
}

.champions_header .champ_col{
	height: 20px;
	line-height: 20px;
}
.champions_header .champ_col.flag{
	height: 20px;
	line-height: 20px;
	text-indent:3px;
}

.champion_container:nth-child(2n+0){
	background-image: linear-gradient(45deg, #333, black, #333, black);
}
.champion_container:nth-child(2n+1){
	background-image: linear-gradient(45deg, black, #333, black, #333);
}
.champ_col.flag{
	width:75px;
	margin-left:5px;
	margin-right:10px;
}
.champ_col.season{
	width:80px;
	text-align:center;
}
.champ_col.team{
	width:250px;
	cursor:pointer;
}
.champ_col.manager{
	width:250px;
}
.champ_col.score{
	width:125px;
	text-align:center;

}
img.champ_col.trophy{
	width:50px;
	height:50px;
	margin-left:10px;
	margin-right:5px;
}
div.champ_col.trophy{
	width:50px;
	margin-left:10px;
	margin-right:5px;
}

#current_champion_box_CL{
	top: 45px;
	height: 215px;
	width: 458px;
	left: 904px;
}

#current_champion_box_SU{
	top: 265px;
	height: 215px;
	width: 458px;
	left: 904px;
}

#current_champion_box_CWC{
	top: 486px;
	height: 217px;
	width: 458px;
	left: 904px;
}

#current_champion_box_PC {
	left: 904px;
	top: 45px;
	width: 458px;
	height: 331px;
}
div#this_season_box_PC {
	top: 379px;
	width: 458px;
	left: 904px;
	height: 324px;
}

#current_champion_box_PC .my_cl_header, #current_champion_box_PC .my_cl_entry{
	width: 49.9%;
	vertical-align:top;
}
#this_season_box_PC .my_cl_header, #this_season_box_PC .my_cl_entry{
	width: 49.9%;
	vertical-align:top;
}

img.single_champ_trophy{
	position: absolute;
	top: 83px;
	left: 15px;
	height: 125px;
	width: 125px;
	border-radius: 7px;
}

img.single_champ_logo{
	position: absolute;
	top: 83px;
	right: 15px;
	height: 125px;
	width: 125px;
	border-radius: 7px;
}

img.single_champ_flag{
	position: absolute;
	top: 143px;
	left: 172px;
	width: 77px;
	height: 61px;
	border-radius: 5px;
}

.single_champ_teamname{
	width:100%;
	position:relative;
	text-align: center;
	font-size:18px;
	border-bottom:1px solid red;
	line-height: 20px;
	padding-bottom: 3px;
}
.single_champ_managername{
	width:100%;
	position:relative;
	text-align: center;
	font-size:16px;
	border-bottom:1px solid red;
	line-height: 20px;
	padding-bottom: 3px;
}

#champions_ranked_list_box {
	top: 263px;
	left: 904px;
	height: 440px;
	width: 458px;
}

#champions_ranked_list_scroll_wrapper{
	height: 385px;
}

#champions_ranked_list_box .champions_ranked_list_header{
	height: 24px;
	line-height:24px;
	font-weight:bold;
}
#champions_ranked_list_box .champions_ranked_list_entry{
	height: 24px;
	line-height:24px;
}

#champions_ranked_list_box .champ_rl{
	display: inline-block;
	height: inherit;
	line-height:inherit;
	overflow: hidden;
}

#champions_ranked_list_box .champ_rl.t_name{
	width: 170px;
	text-align:left;
	text-indent: 5px;
	cursor:pointer;
}
#champions_ranked_list_box .champ_rl.t_name:hover{
	color:orange;
}
#champions_ranked_list_box .champ_rl.m_name{
	width: 170px;
	text-align:left;
	text-indent: 5px;
	cursor:default;
}
#champions_ranked_list_box .champ_rl.titles{
	width: 100px;
	text-align:center;
}

#player_ranking_menu{
	top: 3px;
	left: 3px;
	width: 217px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}
#player_ranking_main{
	top: 3px;
	left: 223px;
	width: 696px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}

button.champions_rankings_button.players{
	width: 189px;
	margin-left: 12px;
	margin-right: 2px;
	margin-top: 2px;
	margin-bottom: 3px;
	font-family: inherit;
	height: 31px;
}

button.champions_rankings_button.players.selected{
	background-color:var(--green-btn-color);
}

button.champions_rankings_button.teams{
	width: 189px;
	margin-left: 14px;
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 17px;
	font-family: inherit;
	height: 42px;
}


select.player_rankings_dropdown{
	width: 185px;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 4px;
	font-size: 15px;
	line-height: 16px;
	font-variant: small-caps;
}

div.pr_dropdown_header{
	text-align:right;
	padding-right:10px;
}

div.vertical_spacer{
	display:block;
	position:relative;
	height:5px;
	width:100%;
	border-top:1px solid red;
}
div.vertical_spacer.size25{
	width:25%;
	margin-left:75%;
}
div.vertical_spacer.size50{
	width:50%;
	margin-left:50%;
}
div.vertical_spacer.size75{
	width:75%;
	margin-left:25%;
}

#pr_scroll_wrapper{
	height:649px;
}

.player_rank_header{
	font-variant: small-caps;
	font-family: var(--primary-font-family);
	font-size: 15px;
	line-height: 18px;
	background-color: rgba(50,50,50,0.9);
	color: white;
	font-weight: bold;
	height: 20px;
}

.player_rank_entry{
	font-family: var(--primary-font-family);
	font-size: 13px;
	line-height: 20px;
	color: white;
	height: 20px;
	border-bottom: 1px solid rgba(0,0,0,0.6);
}

.player_rank_entry:hover{
	filter: brightness(125%);
}
.player_rank_entry.gk{
	background-color:rgba(64, 66, 137, 0.6);
}
.player_rank_entry.def{
	background-color:rgba(38,108,44,0.6);
}
.player_rank_entry.mid{
	background-color:rgba(128,128,0,0.6);
}
.player_rank_entry.att{
	background-color:rgba(128,16,16,0.6);
}
.player_rank_entry img.img20{
	width:16px;
	height:16px;
}
.player_rank_col{
	display:inline-block;
	width:100px;
	overflow:hidden;
	height:20px;
}
.player_rank_entry.own{
	color:var(--link-color);
}
.player_rank_col.index{
	width:30px;
	text-align: right;
	margin-right:5px;
}
.player_rank_col.transfer{
	width:30px;
	text-align: center;
	margin-right:5px;
}
.player_rank_col.name{
	width:140px;
}
.player_rank_col.age{
	width:75px;
	text-align:center;
}
.player_rank_col.quality{
	width:75px;
	text-align:center;
}
.player_rank_col.team{
	width:140px;
}
.player_rank_col.matches{
	width:75px;
	text-align: right;
	margin-right:5px;
	text-align:center;

}
.player_rank_col.metric{
	width:90px;
	text-align: center;
	margin-right:5px;
}

#player_ranking_top_threes{
	top: 3px;
	left: 922px;
	width: 441px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}

#player_ranking_top_threes .top_3_box{
	margin: 3px;
	margin-left: 9px;
	margin-top:0px;
}

.pr_top3_header {
	background-color: rgba(151, 115, 34, 0.9);
	height: 25px;
	line-height: 24px;
	text-align: center;
	font-variant: small-caps;
	border-radius: 5px 5px 0px 0px;
	margin-top: 7px;
	margin-left: 9px;
	margin-right: 9px;
}

.pr_outer_top3_container {
	background-color: black;
}

#team_ranking_menu{
	top: 3px;
	left: 3px;
	width: 217px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}
#team_ranking_left{
	top: 3px;
	left: 223px;
	width: 568px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}
#team_ranking_right{
	top: 3px;
	left: 794px;
	width: 569px;
	height: 700px;
	background-color: rgba(0,0,0,0.7);
}

#mlfa_ranking_left{
	top: 3px;
	left: 3px;
	width: 675px;
	height: 701px;
}
#mlfa_ranking_right{
	top: 3px;
	left: 688px;
	width: 675px;
	height: 701px;
}

#mlfa_ranking_left .team_ranking_col.names, #mlfa_ranking_right .team_ranking_col.names {
	width: 285px;
}

#tr_scroll_wrapper_left{
	height: 669px;
}
#tr_scroll_wrapper_right{
	height: 669px;
}

.team_ranking_entry_container{
	display:block;
	position: relative;
	height:50px;
	margin-top:4px;
	margin-bottom:4px;
	background-color:rgba(0,0,0,0.5);
	border-radius: 5px;
	cursor:pointer;
	border: 2px solid transparent;
}
.team_ranking_entry_container.gold{
	background-color:gold;
	color:black;
	padding-top:5px;
	padding-bottom:5px;
}
.team_ranking_entry_container.silver{
	background-color:silver;
	color:black;
	padding-top:5px;
	padding-bottom:5px;

}
.team_ranking_entry_container.bronze{
	background-color:#cd7f32;
	color:black;
	padding-top:5px;
	padding-bottom:5px;
}
.team_ranking_entry_container.me{
	border: 2px solid orange;
}

.team_ranking_entry_container:hover{
	filter:brightness(125%);
}

.team_ranking_col{
	display:inline-block;
	height:50px;
	width:85px;
	vertical-align: top;
}

.team_ranking_col.logo{
	width:55px;
}

.team_ranking_logo_image{
	height:50px;
	width:50px;
	border-radius:5px;
	margin-left:5px;
}

.team_ranking_col.flag{
	width:63px;
}

.team_ranking_flag_image{
	width:63px;
	height:50px;
	border-radius:5px;
}

.team_ranking_col.rank {
	font-size: 25px;
	line-height: 50px;
	text-align: center;
	width: 95px;
}

.team_ranking_col.metric {
	font-size: 25px;
	line-height: 50px;
	text-align: right;
	width: 140px;
	margin-right:15px;
}

.team_ranking_col.metric.money {
	font-size: inherit;
}

.team_ranking_col.names {
	width: 180px;
	padding-top: 4px;
	height: 46px;
	overflow:hidden;
}
.team_ranking_teamname {
	height: 20px;
	line-height: 20px;
	overflow: hidden;
}

#manager_ranking_box {
	top: 3px;
	left: 3px;
	width: 1143px;
	height: 700px;
}
#mr_scroll_wrapper{
	height: 662px;
}

div#manager_ranking_league_box {
	left: 1150px;
	top: 3px;
	width: 212px;
	height: 700px;
	background-color: rgba(0,0,0,0.9);
}

div#trophy_ranking_box {
	width: 1360px;
	left: 3px;
	top: 3px;
	height: 701px;
}

#tr_scroll_wrapper {
	height: 663px;
}
.manager_ranking_entry_container{
	display:block;
	position: relative;
	height:50px;
	margin-top:4px;
	margin-bottom:4px;
	background-color:rgba(0,0,0,0.5);
	border-radius: 5px;
	font-size:16px;
	line-height:50px;
	width:auto;
	border: 2px solid black;
	cursor:pointer;
}
.manager_ranking_entry_container.gold{
	background-color:gold;
	background-image: linear-gradient(45deg, #D4AF37, #C5A028, #D4AF37, #C5A028, #D4AF37, #C5A028);
	color:black;
	padding-top:5px;
	padding-bottom:5px;
	margin-top:1px;
}
.manager_ranking_entry_container.silver{
	background-color:silver;
	background-image: linear-gradient(45deg, #C0C0C0, #B1B1B1,#C0C0C0, #B1B1B1,#C0C0C0, #B1B1B1);
	color:black;
	padding-top:5px;
	padding-bottom:5px;

}
.manager_ranking_entry_container.bronze{
	background-color:#cd7f32;
	background-image: linear-gradient(45deg, #CD7F32, #BE7023, #CD7F32, #BE7023, #CD7F32, #BE7023);
	color:black;
	padding-top:5px;
	padding-bottom:5px;
}
.manager_ranking_entry_container.me{
	border: 2px solid orange;
}
#tr_scroll_wrapper .manager_ranking_entry_container{
	width:1335px;
}
.mr_col{
	display:inline-block;
	height:50px;
	width:85px;
	vertical-align: top;
}

.manager_ranking_entry_container.header {
	height: 25px;
	font-size: 16px;
	line-height: 25px;
}

.manager_ranking_entry_container.header .mr_col{
	height:25px;
}

.manager_ranking_entry_container.header .mr_col.avatar{
	margin-left:5px;
}

.mr_col.manager{
	width:215px;
}
.mr_col.team{
	width:215px;
}

.mr_col.donation{
	width:150px;
}


.mr_col.div, .mr_col.dep, .mr_col.pos{
	width:50px;
	text-align:center;
}

.mr_col.avg_q, .mr_col.avg_p, .mr_col.rank, .mr_col.teamlogo, .mr_col.avatar, .mr_col.score, .mr_col.donation{
	text-align:center;
}

.mr_col.teamlogo, .mr_col.avatar{
	width:50px;
}

select.manager_rankings_dropdown {
	width: 205px;
	margin-top: 4px;
	margin-bottom: 4px;
	font-size: 17px;
	line-height: 17px;
	font-variant: small-caps;
	height: 22px;
}

div.mr_league_info{
	position: relative;
	width: 213px;
	text-align: center;
}

.mr_league_info .header{
	font-variant: small-caps;
	font-size:25px;
	line-height:30px;
	height:30px;
	vertical-align: center;
}
.mr_league_info .entry{
	font-size:18px;
	line-height:25px;
	vertical-align: center;
	margin-bottom:25px;
	height:20px;
}

img.mr_flag{
	width:205;
	border-radius:5px;
	margin-top:5px;
	margin-bottom:15px;

}

/* EVENTS */
#create_event_box{
	top: 3px;
	left: 3px;
	height: 699px;
	width: 444px;
}

.events_sub_section.thick_red_sub_border{
	border-bottom: 2px solid red;
}

.events_sub_header{
	text-transform: uppercase;
	padding-top:10px;
	margin-bottom:5px;
	margin-top:5px;
	border-top: 1px solid red;
	text-indent:5px;
	position: relative;
}
.events_sub_header.first{
	text-transform: uppercase;
	padding-top:0px;
	border-top: none;
}
.event_criteria_dropdown{
	width:430px;
	margin-left: 5px;
	margin-top:4px;
	margin-bottom:4px;
}

.event_tactics_dropdown{
	width: 290px;
	margin-left: 5px;
	margin-top:4px;
	margin-bottom:4px;
}

.events_sub_dropdown{
	width: 205px;
	margin-top:4px;
	margin-bottom:4px;

}
.events_sub_dropdown.left{
	margin-left:5px;
}

.events_sub_symbol{
	display: inline-block;
	width:20px;
	text-indent:2px;
	margin-top: 4px;
}

.events_tac_header {
	display: inline-block;
	text-indent:5px;
	width: 140px;
	font-variant: small-caps;
}

input#name_input {
	width: 423px;
	margin-left: 7px;
}

button.events_save_button {
	margin: 7px;
	width: 208px;
}


.events_save_button.blue{
	color:white;
	background: linear-gradient(to bottom, rgba(40, 48, 117, 0.7) 0%,rgba(12, 14, 142, 0.7) 100%);
}
.events_save_button.red{
	color:white;
	background: linear-gradient(to bottom, rgba(161, 101, 66, 0.8) 0%, rgba(158, 3, 3, 0.8) 100%);
}

.std_box_header.events2{
	margin-top:10px;
	padding-top:10px;
	border-top:3px solid red;
}

#event_list_box{
	top: 3px;
	left: 451px;
	width: 912px;
	height: 699px;
	background-color: rgba(0,0,0,0.7);
}

#events_scroll_wrapper{
	height:669px;
}

input#event_text_filter {
	position: absolute;
	left: 430px;
	height: 16px;
	line-height: 16px;
	top: 3px;
}

div.playfield.events_view {
	zoom: 80%;
	margin-left: 5%;
	-moz-transform: scale(0.8);
	transform-origin: top left;
}

.playfield.events_view .player_field_container{
	cursor:default;
}

select.event_filter_dropdown{
	position: absolute;
	right: 7px;
	margin-top: 4px;
}

.event_container{
	margin-bottom:10px;
	background-color: rgba(0,0,0,0.5);
	border-radius:5px;
	border-bottom: 1px solid red;
	padding:3px;
	box-shadow: 0px -1px 4px 3px rgba(0,0,0,0.8);
}

.event_header{
	margin-top: 1px;
	margin-bottom: 2px;
}

.evcell{
	display:inline-block;
	vertical-align:top;
	height:20px;
	line-height:20px;
}

img.evcell{
	cursor:pointer;
	margin-left:9px;
	margin-right:9px;
}
img.evcell:hover{
	filter:brightness(130%);
}
.evcell.name{
	margin-left:15px;
	margin-right:15px;
	width:510px;
	color:var(--link-color);
}

.evcell.bodyleft, .evcell.bodymid, .evcell.bodyright{
	margin-left:2px;
	margin-right:2px;
	width:31%;
	height:auto;
}

.evcell.bodyleft{
	width:275px;
}
.evcell.bodymid{
	width:210px;
}
.evcell.bodyright{
	width:370px;
}


.ev_bodycell.full{
	text-align:center;
}

.ev_player_sub_box{
	display:inline-block;
	width: 165px;
	height:20px;
	text-indent: 3px;
	overflow:hidden;
}

.ev_player_sub_box.symbol{
	display:inline-block;
	width: 15px;
	text-indent: 0px;
}

.ev_player_sub_box.gk{
	background-color: var(--gk-bg-color);
}
.ev_player_sub_box.def{
	background-color: var(--def-bg-color);
}
.ev_player_sub_box.mid{
	background-color: var(--mid-bg-color);
}
.ev_player_sub_box.att{
	background-color: var(--att-bg-color);
}

#forum_groups_box{
	top: 3px;
	left: 3px;
	width: 1360px;
	height: 700px;
	/*background-image: linear-gradient(90deg, #000000, #111121, #000000, #111121, #000000, #111121, #000000, #111121);*/
	background-image: linear-gradient(135deg, #000000, #111131, #000000, #111131);
}

.forum_search_container {
	position: absolute;
	right: 0px;
	top: 1px;
}
input#forum_search_input {
	height: 18px;
	margin-top: 2px;
}
button#forum_search_button {
	height: 22px;
	margin-top: 2px;
	line-height: initial;
	font-family: var(--tertiary-font-family);
	padding: 1px;
	position: relative;
	display: inline-block;
	vertical-align: top;
}

div#modal_window_forumsearch {
	width: 820px;
	font-size: 15px;
	top: 102px;
	left: 14px;
}
button#modal_button_forumsearch {
	margin-top: 4px;
}
div#modal_content_forumsearch {
	text-align: left;
}

div.forum_search_result_row{
	height:23px;
	line-height: 23px;
}
div.forum_search_result_row.header{
	background-color:#c5c5c5;
	color:black;
}

div.forum_search_result_cell{
	display:inline-block;
	height:inherit;
	line-height: inherit;
	vertical-align: top;
	overflow:hidden;
}

div.forum_search_result_cell.forum{
	width:200px;
}
div.forum_search_result_cell.thread{
	width:275px;
}
div.forum_search_result_cell.postcount{
	width:60px;
	text-align:center;
}
div.forum_search_result_cell.creator{
	width:125px;
}


#forum_groups_scroll_wrapper{
	height:669px;
}

.forum_group_container{
	cursor: pointer;
	background-color: rgba(0,0,0,0.5);
	border-radius: 5px;
	font-size: 17px;
	line-height: 25px;
	padding: 5px;
}

.forum_group_container.static{
	cursor:default;
}

.forum_group_forum{
	font-variant:none;
	height:25px;
	font-size:15px;
	line-height:25px;
	border-bottom: 1px solid #202020;
}

.forum_group_forum.header{
	background-color: var(--btn-color);
}

.forum_group_forum.entry:hover{
	background-color: #111111;
}

.forum_entry_cell{
	display:inline-block;
	width:100px;
	height: 25px;
	overflow:hidden;
}
.forum_entry_cell.name{
	display:inline-block;
	width:330px;
	text-indent:10px;
}
.forum_entry_cell.description{
	display:inline-block;
	width:900px;
}
.forum_entry_cell.subscribe{
	display:inline-block;
	width:20px;
	vertical-align: top;
}
img.forum_subscribe_image{
	cursor:pointer;
	margin-top: 5px;
}
img.forum_subscribe_image.subscribed{
	filter:brightness(125%);
}
img.forum_subscribe_image.unsubscribed{
	filter:brightness(50%);
}

.forum_group_content.always_on{
	display:block;
}

.forum_group_content{
	display:none;
}

.forum_entry_cell.thread_path{
	width:330px;
}

.header .forum_entry_cell.thread_path{
	text-indent:5px;
}
.entry .forum_entry_cell.thread_path{
	text-indent:10px;
}

.forum_entry_cell.thread_name{
	width:500px;
	font-style: italic;
}
.header .forum_entry_cell.thread_name{
	font-style: normal;
}
.forum_entry_cell.thread_last_post_by{
	width:200px;
}
.forum_entry_cell.thread_last_post_time{
	width:100px;
}

.post_edited{
	font-style: italic;
	margin-top:5px;
	color:rgb(77, 133, 206);
}
.forum_entry_cell.link_to_bottom{
	width:30px;
	text-align: right;
}
.forum_entry_cell.bookmark{
	width:150px;
	text-align: center;
}
#thread_list_box{
	top:0px;
	left:0px;
	width:1366px;
	height:705px;
}

.forum_path_part{
	display:inline-block;
	padding-left: 2px;
	padding-right:2px;
}

.forum_path_part.pointer{
	cursor:pointer;
}
.thread_list_header{
	font-size: 17px;
	height: 22px;
	line-height: 22px;
	background-color: var(--btn-color);
}

.thread_list_entry {
	font-size: 15px;
	line-height: 23px;
	height: 23px;
	padding-bottom: 1px;
	padding-top: 1px;
	border-bottom: 1px solid #202020;
}

.thread_list_entry.sticky{
	color:rgb(255, 255, 169);
}

.thread_list_entry:hover{
	background-color:#101010;
}
.thread_list_item{
	display:inline-block;
	overflow:hidden;
	height:25px;
}
.thread_list_item.icon{
	width:100px;
	text-align: center;
}
.thread_list_item.topic{
	width:480px;
	cursor:pointer;
}
.thread_list_item.created_by{
	width:185px;
	cursor:pointer;
}
.thread_list_item.posts{
	width:65px;
	text-align: center;
}
.thread_list_item.reads{
	width:65px;
	text-align: center;
}

.thread_list_item.last_post{
	width:125px;
	text-align: center;
}
.thread_list_item.last_post_by{
	width:185px;
	cursor:pointer;
}
.thread_list_item.actions{
	width:140px;
	text-align:center;
}

img.bookmark_image{
	width:20px;
	height:20px;
}

div#thread_list_scroll_wrapper {
	height: 590px;
}

#thread_list_scroll_wrapper img.bookmark_image{
	vertical-align: middle;
}

.forum_bottom_bar{
	text-align: center;
	height: 52px;
	margin-top: 10px;
	border-top: 1px solid red;
	padding-top: 2px;
}

img.forum_bottom_icon {
	vertical-align: middle;
	cursor: pointer;
}

#new_thread_button{
	margin-left: 350px;
	margin-right: 350px;
}

#left_thread_box{
	top: 3px;
	left: 3px;
	height: 700px;
	width: 345px;
	overflow-y: auto;
	background-image: linear-gradient(90deg, #000000, #111121);
}
#thread_box{
	top: 3px;
	left: 351px;
	height: 700px;
	width: 1015px;
}

span.thread_header {
	display: block;
	width: 750px;
	height: 30px;
	overflow: hidden;
}

div.thread_header_readcount {
	position: absolute;
	top: 0px;
	right: 208px;
	width: 90px;
	height: 30px;
	text-align: right;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 30px;
}

#thread_scroll_wrapper{
	height:670px;
}
#forum_quickview_header{
	margin-bottom:8px;
}
.left_list_thread_entry{
	height: 17px;
	line-height: 17px;
	/*width: 340px;*/
	overflow: hidden;
	text-indent: 15px;
	cursor: pointer;
	margin-bottom: 5px;
	margin-top: 5px;
	font-size:16px;
}
.left_list_thread_entry.selected{
	color:var(--link-color);
}

.left_list_thread_entry.group{
	font-weight:bold;
	font-size:18px;
	text-indent:5px;
}
.left_list_thread_entry.forum{
	font-size:18px;
	text-indent:10px;
}

.left_list_thread_entry:hover{
	color:var(--link-color);
}

.post_container{
	background-image: linear-gradient(90deg, #000000, #111121);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
	border-bottom: 1px solid gray;
	position: relative;
}

.post_left{
	display: inline-block;
	width:200px;
	vertical-align: top;
}
.post_right{
	display: inline-block;
	width: 780px;
	vertical-align: top;
	margin-left: 5px;
}

.poster_frame{
	margin: 5px;
	border-radius: 5px;
	padding: 5px;
	text-align:center;
}
.poster_frame.default {
	background-color: #02445a;
}
.poster_frame.dev{
	background-color: #03310d;
}
.poster_frame.mod{
	background-color: #390101;
}

.post_avatar{
	width: 100px;
	height: 100px;
	margin-left: -80px;
}

.poster_role{
	position: absolute;
	writing-mode: vertical-lr;
	text-orientation: upright;
	text-align: center;
	top: 12px;
	left: 122px;
	font-size: 20px;
	height: 98px;
	width: 18px;
	white-space: nowrap;
	display: inline-block;
}
.post_flag{
	width: 40px;
	position: absolute;
	margin-top: 95px;
	border-radius: 5px;
	left: 152px;
	cursor:pointer;
}
.poster_division{
	position: absolute;
	text-align: center;
	border: 1px solid #8a8a8a;
	width: 38px;
	border-radius: 3px;
	left: 152px;
	margin-top: 126px;
	background-color: #a08c5f;
	cursor: pointer;
	border-top: none;
}

.poster_team{
	color: orange;
	font-size: 14px;
	width: 138px;
	text-align: left;
	height: 31px;
	overflow: hidden;
	cursor: pointer;
}
.poster_manager{
	color: orange;
	font-size: 13px;
	font-style: italic;
	width: 137px;
	text-align: left;
	height: 20px;
	overflow: hidden;
	cursor: pointer;
}
.poster_postcounter{
	position: absolute;
	text-align: center;
	border: 1px solid white;
	width: 40px;
	border-radius: 3px;
	left: 151px;
	margin-top: 50px;
	background-color: cadetblue;
}
.poster_trophyrank{
	position: absolute;
	text-align: center;
	border: 1px solid #ffffff;
	width: 40px;
	border-radius: 3px;
	left: 151px;
	margin-top: 73px;
	background-color: gold;
	color: black;
}

.post_body {
	min-height: 139px;
   padding-top: 5px;
}

.post_timestamp{
	display:inline-block;
	width:300px;
	font-style: italic;
	color:#AAAAAA;
	margin-top:10px;
}

.post_button{
	display: inline-block;
	width: 90px;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	text-align: center;
	cursor: pointer;
	background-color: var(--btn-color);
	margin-bottom: 3px;
	border-radius: 5px;
	border: 1px solid var(--green-btn-color);
}

img.post_button {
	width: 30px;
	height: 30px;
	background: none;
	border: none;
	border-radius: 0px;
	margin-left: 3px;
	margin-right: 3px;
	margin-top: 0px;
	margin-bottom: 0px;
	filter: saturate(0.3);
}

div.post_reactions{
	display: inline-block;
	width: auto;
	height: 20px;
	margin-left: 30px;
	background-color: rgba(255,255,255,0.1);
	border-radius: 10px;
	padding: 3px;
	position: absolute;
	right: 0px;
}

div.post_reaction_container{
	display: inline-block;
	width: auto;
	height: 20px;
	margin-right: 15px;
	cursor:pointer;
}

div.post_reaction_counter{
	color: white;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	vertical-align: text-bottom;
}

div.post_reaction_counter.selected{
	color:lime;
}

img.post_reaction {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: none;
	border: none;
	border-radius: 0px;
	margin-left: 3px;
	margin-right: 3px;
	margin-top: 0px;
	margin-bottom: 0px;
}

img.post_link_image {
	position: absolute;
	right: 6px;
	width: 18px;
	top: 5px;
	opacity: 0.5;
	cursor:pointer;
}
img.post_link_image:hover {
	opacity:1;
}

img.post_pay_star{
	position: absolute;
	height: 36px;
	top:2px;
	left:2px;
}

.postball{
	position: absolute;
	margin-top: 0px;
	left: 147px;
	height: 50px;
	width: 50px;
	background:url(images/new/Forums/fbpostball.png);
	background-size:contain !important;
}

.postball.star1 {
	background: url(images/new/Forums/fbpostmedal01.png);
}
.postball.star2 {
	background: url(images/new/Forums/fbpostmedal02.png);
}
.postball.star3 {
	background: url(images/new/Forums/fbpostmedal03.png);
}
.postball.star4 {
	background: url(images/new/Forums/fbpostmedal04.png);
}
.postball.star5{
	background: url(images/new/Forums/fbpostmedal05.png);
}
.postball.star6 {
	background:url(images/new/Forums/fbpostmedal06.png);
}
.postball.star7 {
	background:url(images/new/Forums/fbpostmedal11.png);
}
.postball.star100 {
	background:url(images/new/Forums/seasons100.png);
}
.postball.star200 {
	background:url(images/new/Forums/seasons200.png);
}
.postball.star300 {
	background:url(images/new/Forums/seasons300.png);
}
.postball.star400 {
	background:url(images/new/Forums/seasons400.png);
}


.postball.starcl {
	background: url(images/new/Forums/fbpostmedal09.png);
}
.postball.starlg {
	background: url(images/new/Forums/fbpostmedal08.png);
}
.postball.starlc {
	background: url(images/new/Forums/fbpostmedal07.png);
}
.postball.starsc {
	background: url(images/new/Forums/fbpostmedal10.png);
}
.postball.starcwc {
	background: url(images/new/Forums/fbpostmedalcwc.png);
}


.thread_reply_container{
	background-color: rgba(0,0,0,0.4);
	margin-top: 5px;
}

.thread_emoji_container {
	width: 366px;
	height: 194px;
	display: inline-block;
	padding-left: 3px;
}

.thread_reply_body{
	position: relative;
	width: 611px;
	height: 180px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(255,255,255,0.7), inset 0px 0px 5px rgba(0,0,0,0.5);
	padding: 5px;
	overflow-x: hidden;
	display: inline-block;
	resize: none;
	font-size: 14px;
	color: white;
}

select#move_thread_select {
	margin-right: 154px;
	width: 215px;
	margin-top: 3px;
}

button.thread_reply_button{
	position: relative;
	width: 624px;
	display: initial;
	margin-top: 2px;
	margin-bottom: 5px;
	margin-left: 0px;
	margin-right: 0px;
}

button.thread_reply_button.noadmin{
	margin-left:368px;
}

img.thread_emoji_image:hover{
	filter:brightness(130%);
}

.thread_header_icon{
	position: absolute;
	top: 2px;
	height: 24px;
	width: 24px;
	cursor:pointer;
}

.thread_header_icon.up{
	right:50px;
}
.thread_header_icon.down{
	right:90px;
}

.thread_header_icon.bookmark{
	right:10px;
}
.thread_header_icon.link{
	right:130px;
}
.thread_header_icon.rename{
	right:170px;
}

.thread_header_icon:hover{
	filter:brightness(130%);
}

.new_thread_emoji_helper{
	text-align: center;
	margin-bottom: 5px;
}

div#new_thread_popup {
	height: 460px;
}
textarea#new_thread_body {
	height: 185px;
	font-size: 14px;
}

textarea#post_edit_input {
	width: 480px;
	height: 230px;
}

#change_username_box{
	left: 3px;
	top: 606px;
	width: 444px;
	height: 97px;
}
#change_email_box{
	left: 3px;
	top: 383px;
	width: 444px;
	height: 82px;
}

input.prefs_input{
	width:246px;
}

select.prefs_input{
	width:246px;
}

input.prefs_input.leftmost {
	margin-left:3px;
}
button.prefs{
	width:145px;
	height:26px;
}

div.prefs_spacer{
	height:4px;
	display:block;
}

#change_password_box{
	left: 3px;
	top: 468px;
	width: 444px;
	height: 135px;
}

div.prefs_label{
	display:inline-block;
	width:170px;
	height:26px;
	line-height:26px;
	margin-left: 5px;
}

#change_account_info_box{
	left: 3px;
	top: 168px;
	width: 444px;
	height: 212px;
}

#change_account_info_button{
	margin-left: 280px;
	margin-right: 0px;
	margin-top: 5px;
}

#change_ingame_info_box{
	left: 3px;
	top: 3px;
	width: 444px;
	height: 162px;
}

#change_ingame_info_button{
	margin-left: 108px;
	margin-right: 0px;
	margin-top: 5px;
}

.prefs_cost_info {
	font-size: 14px;
	text-align: center;
	margin-top: 4px;
	font-style: italic;
	padding: 3px;
}

#change_teamlogo_box{
	left: 451px;
	top: 3px;
	width: 248px;
	height: 244px;
}

img.prefs_teamlogo {
	margin-left: 50px;
	width: 150px;
	height: 150px;
}


#change_avatar_box{
	left: 451px;
	top: 251px;
	width: 248px;
	height: 245px;
}

#change_volume_box{
	left: 451px;
	top: 499px;
	width: 248px;
	height: 204px;
}

input.prefs_input.range{
	width:200px;
	margin-left:25px;
}

button#change_volume_button {
	margin-left: 88px;
	margin-top: 13px;
}

#change_league_box{
	left: 702px;
	top: 3px;
	width: 323px;
	height: 195px;
	text-align: center;
}

select#league_change_dropdown, select#change_language_dropdown {
	width: 212px;
	margin-bottom: 10px;
}

button#change_league_button, button#change_language_button {
	width: 212px;
}

#change_language_box{
	left: 702px;
	top: 201px;
	width: 323px;
	height: 198px;
	text-align: center;
}

#change_credit_conversion_box{
	left: 1028px;
	top: 3px;
	width: 335px;
	height: 396px;
	text-align: center;
}

.conversion_type {
	display: inline-block;
	width: 42%;
	padding: 0px !important;
}

.conversion_type.short{
	display: inline-block;
	width: 9%;
}

input.conversion_type{
	text-align:center;
}
input.conversion_type.disabled{
	background-color:#999999;
}

.conversion_container {
	margin-bottom: 16px;
}

.conversion_header {
	font-variant: small-caps;
	height: auto;
	font-size: 18px;
	margin-bottom:5px;
	margin-top:3px;

}

#c2m_button, #m2c_button{
	width:250px;
	margin-top:5px;
	margin-bottom:10px;
}

div.prefs_sub_separator{
	width: 85%;
	height: 1px;
	background-color: red;
	margin-top: 14px;
	margin-bottom: 14px;
	margin-left:7.5%;
}

.misc_prefs_container {
	text-align: left;
	width: 97%;
	margin-top:5px;
	margin-bottom:5px;
	margin-left:2%;
}

.misc_prefs_container div {
	display: inline-block;
	position:relative;
	height: 26px;
	vertical-align: middle;
	line-height: 26px;
	width:110px;
}

.misc_prefs_container div.prefs_label {
	width:180px;
	overflow:hidden;
}

.misc_prefs_container select {
	height: 25px;
	width: 140px;
}

.misc_prefs_container div.prefs_help{
	width:50px;
	text-align:center;
}

#misc_settings_box{
	left: 702px;
	top: 402px;
	width: 661px;
	height: 301px;
}


div.team_info_popup{
	position: absolute !important;
	top: 30px;
	left: 20px;
	width: 800px;
	height: 805px;
	background-color: rgba(0,0,0,0.95);
	color: white;
	font-family: var(--primary-font-family);
	z-index: 100;
	overflow:hidden;
	border: 2px solid #a2a2a2;
	box-shadow: 0px 0px 2px 2px #ffffff66;
}

div.team_info_popup.vip{
	border: 2px solid #ffbc00;
}

div.team_info_popup.vip div.team_info_popupheader{
	background-color: black;
}

div.team_info_popup.vip div.team_info_top {
	background-image: linear-gradient(180deg, #000000, #40001f, #300017);
}

div.team_info_popup.vip div.team_info_topcenter {
	border: 1px solid #ffbc00;
}

div.team_info_popup.vip div.team_info_buttons{
	background-image: linear-gradient(180deg, #300017, #1e000f, #000000);
}

div.tv_content {
	height: 583px;
}

div.team_info_popup.minimized{
	height:30px;
	width:340px;
}

.team_info_popup.minimized .team_info_headerdivider, .team_info_popup.minimized .team_info_managername{
	display:none;
}
.team_info_popup.minimized .team_info_teamname{
	width: 260px;
	text-align: left;
	text-indent: 5px;
	margin-right: 0px;
}
div.team_info_popupheader {
	width: 100%;
	cursor: move;
	height: 35px;
	line-height: 35px;
	background-color:rgba(65, 65, 65, 0.8);
}

div.team_info_top{
	display: block;
	position: relative;
	width: 100%;
	border-bottom: 1px solid #800000;
	padding-top: 2px;
	background-size: cover;
	background-position: center;
	background-image: repeating-linear-gradient(90deg, #002e44, #7c8aab, #002e44 804px);
}

.teaminfo_admin_button {
	position: absolute;
	top: 5px;
	left: 146px;
	text-transform: uppercase;
	font-size: 14px;
	border: 1px solid white;
	cursor:pointer;
}

.teaminfo_admin_menu{
	display:none;
	position: absolute;
	left: 207px;
	top: 4px;
	height: auto;
	width: auto;
	background-color: #444444;
	border: 1px solid white;
	z-index: 5;
}
.teaminfo_admin_menu_item{
	border-bottom: 1px solid white;
	font-size: 16px;
	line-height: 24px;
	height: 24px;
	cursor: pointer;
	padding: 10px;
}
.teaminfo_admin_menu_item:hover{
	background-color:blue;
}

.playerinfo_admin_button {
	position: absolute;
	top: 2px;
	left: 300px;
	text-transform: uppercase;
	font-size: 14px;
	border: 1px solid white;
	cursor:pointer;
	z-index: 5;
}

.playerinfo_admin_menu{
	display:none;
	position: absolute;
	left: 357px;
	top: 41px;
	height: auto;
	width: auto;
	background-color: #444444;
	border: 1px solid white;
	z-index: 5;
}
.playerinfo_admin_menu_item{
	border-bottom: 1px solid white;
	font-size: 16px;
	line-height: 24px;
	height: 24px;
	cursor: pointer;
	padding: 10px;
}
.playerinfo_admin_menu_item:hover{
	background-color:blue;
}

div.link_menu{
	position: absolute;
	top: 30px;
	left: 2px;
	background-color: #222222;
	padding: 10px;
	z-index: 1000;
	border: 1px solid white;
	border-radius: 5px;
}

div.link_menu.match{
	top: auto;
	bottom: 0px;
	left: 81%;
}
div.link_menu.match.overlay{
	top: auto;
	bottom: 18px;
	left: 29%;
}

div.link_menu button{
	display: block;
	width: 100%;
	height: 25px;
	line-height: 25px;
	cursor: pointer;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 10px;
}
div.link_menu button.cancel{
	width: 75%;
	margin-left: 12.5%;
}
textarea.warn_textarea {
	width: 90%;
	height: 60px;
	margin-top:10px;
}
#warn_textarea_description{
	height:25px;
	margin-bottom:10px;
}

div.warning_info_text{
	font-size:13px;
	border-bottom:1px solid white;
}
div.team_info_topleft{
	display: inline-block;
	vertical-align: top;
	width: 130px;
	padding: 4px;
}
div.team_info_topcenter{
	display: inline-block;
	vertical-align: top;
	width: 336px;
	padding: 1px;
	margin-left: 12px;
	margin-right: 20px;
	margin-top: 2px;
	border: 1px solid dimgrey;
	border-radius: 5px;
}
div.team_info_topright{
	display: inline-block;
	vertical-align: top;
	padding: 4px;
}

div.team_info_teamname {
	font-size: 23px;
	height: inherit;
	line-height: inherit;
	width: 39%;
	text-align: right;
	display: inline-block;
	margin-right: 5%;
	font-variant: small-caps;
	margin-left: 5%;
	overflow: hidden;
	vertical-align: top;
}
div.team_info_managername {
	font-size: 23px;
	height: inherit;
	line-height: inherit;
	width: 45%;
	text-align: left;
	display: inline-block;
	margin-left: 5%;
	font-variant: small-caps;
}

div.team_info_leaguename{
	width: 126px;
	text-align: center;
	height: 20px;
	background-color: rgba(0, 0, 0, 0.66);
	font-size: 14px;
	position: absolute;
	top: 8px;
	color: white;
}

img.team_info_close_button {
	position: absolute;
	right: 0px;
	height: 32px;
	cursor:pointer;
	top:1px;
}

img.team_info_minmax_button {
	position: absolute;
	right: 40px;
	height: 32px;
	cursor: pointer;
	top: 1px;
}

.player_info_popup img.team_info_menu_button {
	position: absolute;
	left: 10px;
	height: 21px;
	top: 3px;
	cursor: pointer;
	padding: 4px;
}

img.team_info_link_button {
	position: absolute;
	left: 40px;
	height: 21px;
	top: 3px;
	cursor: pointer;
	padding: 4px;
}
img.team_info_lock_button {
	position: absolute;
	left: 70px;
	height: 21px;
	top: 3px;
	cursor: pointer;
	padding: 4px;
}

.minimized img.team_info_link_button{
	display:none;
}
.minimized img.team_info_online_indicator{
	display:none;
}

.player_info_popup.minimized .team_info_teamname {
	text-align: left;
	margin-right: 5px;
	width:150px;
}

img.playerinfo_ability_icon {
	position: absolute;
	top: 74px;
	left: 73px;
	height: 47px;
}

#playerinfo_ability_short_text{
	position: absolute;
	top: 90px;
	left: 81px;
	font-weight: bold;
	color: black;
	font-size: 20px;
	font-family: var(--tertiary-font-family);
}

img.playerinfo_watch_icon {
	position: absolute;
	top: 4px;
	left: 475px;
	cursor:pointer;
}

img.player_info_note_button {
	position: absolute;
	left: 600px;
	height: 23px;
	top: 6px;
	cursor:pointer;
}

img.player_info_note_button.msg {
	left: 628px;
}
img.player_info_note_button.invisible{
	opacity:0;
}

img.playerinfo_watch_icon.not_watching{
	opacity:0.5;
}
img.playerinfo_watch_icon.watching{
	opacity:1;
}

.player_info_popup .potstar_small{
	position: absolute;
	top: 8px;
	left: 523px;
	cursor:pointer;
}

.player_info_popup .ps_result_scout{
	position: absolute;
	top: 8px;
	left: 523px;
	cursor:pointer;
}

.playerinfo_personalia_entry.yellow {
	color: yellow;
}

img.team_info_online_indicator {
	position: absolute;
	right: 80px;
	height: 26px;
	top: 5px;
	cursor: pointer;
}
div.team_info_online_hours{
	position: absolute;
	right: 110px;
	width:26px;
	height: 26px;
	top: 5px;
}

img.team_info_leagueflag{
	width: 126px;
	height: 100px;
	border-radius: 5px;
}

.team_info_popup .team_info_status_container{
	position: absolute;
	top: 36px;
	display: inline-block;
	width: inherit;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.7);
	text-indent: 5px;
	color: red;
}

.team_info_popup .team_info_status_indicator {
	height: 20px;
	line-height: 20px;
	font-size: 14px;
}

.team_info_popup .postball.ti {
	margin-top: 30px;
	margin-left: 7px;
	display: inline-block;
	position: relative;
	left:0px;
	background-size:contain;
}
.team_info_popup .supporter_star.ti {
	position: absolute;
	left: 157px;
	top: 82px;
}

div.team_info_headerdivider {
	transform: skew(45deg);
	width: 3px;
	height: 35px;
	background-color: #d04040b3;
	display: inline-block;
	line-height: 36px;
	position: absolute;
}

.team_info_top_header{
	display: inline-block;
	width:160px;
	text-align:left;
	margin-left:5px;
	overflow: hidden;
	height: 20px;
	line-height: 20px;
	vertical-align: top;
}
.team_info_top_entry{
	display: inline-block;
	width:160px;
	text-align:right;
	margin-right:5px;
	overflow: hidden;
	height: 20px;
	line-height: 20px;
	vertical-align: top;
}

img.team_info_avatar{
	height: 100px;
	width: 100px;
	border-radius: 5px;
	margin-right: 3px;
	vertical-align: top;
}

img.team_info_teamlogo{
	height: 100px;
	width: 100px;
	border-radius: 5px;
	margin-right: 3px;
	vertical-align: top;
	margin-left: 10px;
}

div.team_info_buttons{
	width: 100%;
	border-radius: 3px;
	display: inline-block;
	text-align: center;
	background-image: repeating-linear-gradient(90deg, #002e44, #8e8e8e, #002e44 804px);
}

img.team_info_button{
	height: 40px;
	margin-left: 35px;
	margin-right: 35px;
	display: inline-block;
	cursor: pointer;
	margin-top: 3px;
	margin-bottom: 3px;
}
img.team_info_button:hover{
	filter:brightness(120%);
}

input.tv_nav_button{
	width: 128px;
	margin-left: 2px;
	margin-right: 2px;
	font-size: 15px;
	line-height: 16px;
	font-family: inherit;
	font-variant: small-caps;
	font-weight: bold;
	margin-bottom: 0px;
	border-radius: 5px 5px 0px 0px;
	border-bottom:2px solid black;
}

input.tv_nav_button.active{
	border-bottom:2px solid #c3c3c3;
}

input.tv_nav_button:focus {
	outline: none;
}

input.tv_nav_button:hover {
	border-top:1px solid white;
	border-left:1px solid white;
	border-right:1px solid white;
	border-bottom:0px;
}


.std_scroll_wrapper.tv{
	height:585px;
	/*
	background-image: radial-gradient(#55555560, #140000, #55555560);
	background-image: repeating-linear-gradient(90deg, #00000082, #ffffff0d, #0000008a 100px);
	background-image: repeating-linear-gradient(90deg, #000000, #0e0000, #0000008a 100px);
	*/
	background-image: linear-gradient(45deg, #323232, #222222,#323232, #222222,#323232, #222222);
	background-attachment: local;
   border-top: 1px solid white;
}

.tv_players_stats_header{
	font-size:12px;
	font-weight:bold;
}
.tv_players_player_entry{
	font-size:13px;
	position: relative;
}

.tv_players_player_entry.gk{
	background-color:rgba(64, 66, 137, 0.6);
}
.tv_players_player_entry.def{
	background-color:rgba(38,108,44,0.6);
}
.tv_players_player_entry.mid{
	background-color:rgba(128,128,0,0.6);
}
.tv_players_player_entry.att{
	background-color:rgba(128,16,16,0.6);
}

.tv_players_player_entry.gk:nth-child(2n+1){
	background-color:rgba(64, 66, 137, 0.4);
}
.tv_players_player_entry.def:nth-child(2n+1){
	background-color:rgba(38,108,44,0.4);
}
.tv_players_player_entry.mid:nth-child(2n+1){
	background-color:rgba(128,128,0,0.4);
}
.tv_players_player_entry.att:nth-child(2n+1){
	background-color:rgba(128,16,16,0.4);
}


.tv_players_stat{
	display:inline-block;
	width:33px;
	text-align:right;
	vertical-align: top;
	height: 20px;
	line-height: 19px;
	position:relative;
}

.tv_players_stat.transfer{
	width:25px;
	text-align:center;
}
.tv_players_stat.name{
	width:150px;
	text-align:left;
	cursor:pointer;
	overflow:hidden;
}

.tv_players_player_entry:hover{
	color:var(--link-color);
}

div.tv_players_stat.a{
	width:16px;
	text-align:center;
}

img.tv_players_stat.a{
	height:16px;
	width:16px;
	margin-top:1px;
	margin-bottom:1px;
}

/* Donate popup */

.donate_credits_header{
	display:inline-block;
	width:150px;
}
.donate_info_text{
	position: relative;
	height:16px;
	font-size:14px;
	vertical-align: middle;
}
.donation_history{
	height: 125px;
	overflow-y: scroll;
	width: 500px;
}

.donation_history_header{
	height:25px;
	line-height: 25px;
	font-size:20px;
}
.donation_history_entry_container{
	font-size: 12px;
	text-align: left;
	width: 475px;
}

.donation_history_entry_container.header{
	font-weight: bold;
}

.donate_credits_reason_input{
	display: inline-block;
	width:49%;
	text-align: left;
}

.donation_history_entry{
	display:inline-block;
	vertical-align: top;
	/*height:18px;*/
}
.donation_history_entry.cred{
	width: 25px;
	text-align: center;
}
.donation_history_entry.note{
	width:155px;
	overflow:hidden;
}

.donation_history_entry.date{
	width:50px;
}
.donation_history_entry.name{
	width:120px;
	overflow:hidden;
}

#donate_credits_input{
	width:10%;
	margin-right:39%;
}

.line24{
	min-height: 20px;
	line-height: 20px;
	margin-top: 1px;
	margin-bottom: 2px;
}

.tv_teamstat_header{
	display: inline-block;
	width:150px;
	height: 28px;
	vertical-align: middle;
	text-indent:5px;

}

.tv_teamstat_entry{
	display: inline-block;
	width:150px;
}

.team_view_team_stats_container {
	width: 630px;
	margin-left: 81px;
	border:1px solid white;
	border-top:0px;
	border-radius: 0px 0px 5px 5px;
}

.team_view_stat_container {
	width: 49%;
	display: inline-block;
	height: 28px;
	vertical-align: middle;
}

.fixres_tv_fixtures{
	display:inline-block;
	width:215px;
}
.fixres_tv_fixtures.col1{
	width:40px;
	text-align:center;
}
.fixres_tv_fixtures.col6{
	width:75px;
	text-align:center;
}
#fixres_tv_fixture_list_scroll_wrapper{
	/*height:600px;*/
	background-image: linear-gradient(45deg, #323232, #111111,#323232, #111111,#323232, #111111);
	background-attachment: local;
}

#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col1{
	display:inline-block;
	width:40px;
	text-align:center;
}
#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col2{
	display:inline-block;
	width:215px;
}
#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col3{
	display:inline-block;
	width:215px;
}
#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col5{
	display:inline-block;
	width:215px;
}
#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col6{
	display:inline-block;
	width:75px;
	text-align:center;
}

.tv_content .fixture_entry div {
	line-height: 23px;
}
.tv_content .fixture_entry {
	height: 23px;
	line-height: 23px;
	float: none;
}


.history_best_container{
	display: inline-block;
	width: 335px;
	margin-left: 36px;
	margin-right: 0px;
	border: 1px solid white;
	border-radius: 5px;
	margin-top: 5px;
}

.history_best_header{
	display: block;
	font-variant: small-caps;
	text-align: center;
	background-color: rgb(70,70,70);
	height: 25px;
	line-height: 25px;
	font-weight: bold;
	font-size: 17px;
	border-radius:5px 5px 0px 0px;
}

.history_best_img_container{
	width:80px;
	height:80px;
	display: inline-block;
}

img.history_best_img{
	width: 60px;
	height: 60px;
	margin-left: 10px;
	margin-top: 10px;
}

.history_best_text_container{
	display: inline-block;
	width:255px;
	vertical-align: top;
}

.history_best_text{
	display: inline-block;
	height:20px;
	line-height:20px;
	width:125px;
	overflow: hidden;
	vertical-align: top;
}
.history_best_text.right{
	text-align:right;
	width:125px;
	padding-right: 5px;
	overflow: hidden;
	vertical-align: top;

}

div.team_info_history_header {
	font-size: 20px;
	font-variant: small-caps;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 5px;
	position: relative;
}

div.team_info_history_header img.boxheader_right_image{
	top: 0px;
}

div#team_info_stats_history_container{
	margin-left: 3%;
	margin-right: 3%;
	border: 1px solid white;
	margin-top: 5px;
	margin-bottom: 6px;
	border-radius: 5px;
	box-shadow: gold 0px 0px 2px 2px;
}

div.ti_th_col.matchtype{
	width:175px;
	text-indent: 10px;
	text-align:left;
}
div.ti_th_col.stat{
	width:80px;
}


.ti_th_header{
	background-color:#333333;
}
.ti_th_header, .ti_th_entry{
	height:20px;
}

div.show_all_team_history, div.show_all_transfer_history{
	position: absolute;
	top:0px;
	left:5px;
}

.ti_th_entry:nth-child(2n+1){
	background-color:#222222;
}

.ti_th_entry.hidden{
	display:none;
}

.ti_th_entry:hover{
	background-color:#444444;
}

div#team_info_history_container{
	font-size:13px;
}

.ti_th_col{
	display: inline-block;
	height:20px;
	line-height:20px;
	width:33px;
	text-align: center;
	vertical-align: top;
	overflow:hidden;
}

.ti_th_col.forty{
	width:40px;
}
.ti_th_col.fifty{
	width:50px;
}
.ti_th_col.sixty{
	width:60px;
	text-align:right;
}
.ti_th_col.seventy{
	width:70px;
}
.ti_th_col.friendlies{
	width:80px;
}

.ti_th_col.gold{
	color:yellow;
}

.encounters_container {
	margin-left: 4%;
	margin-right: 4%;
	border: 1px solid white;
	border-radius: 5px;
	padding-left: 5px;
}

.encounters_header {
	font-size: 20px;
	text-align: center;
	height: 26px;
	line-height: 26px;
	background-color: #444444;
	font-variant: small-caps;
}

.encitem.header{
	display: inline-block;
	text-align: center;
}
.encitem.entry {
	display: inline-block;
	text-align: center;
}
.encitem.entry.left {
	text-align: left;
}

.encitem {
	height: 20px;
	line-height: 20px;
	width: 70px;
}

div#team_info_transfer_history_container{
	font-size:13px;
	margin-bottom: 15px;
}

#team_info_transfer_history_container .ti_th_col{
	width:135px;
}

#team_info_transfer_history_container .ti_th_col.season{
	width:40px;
}
/*
#team_info_transfer_history_container .ti_th_col.role{
	width:20px;
}
*/
#team_info_transfer_history_container .ti_th_col.player{
	text-align:left;
	text-indent:3px;
}
#team_info_transfer_history_container .ti_th_col.age{
	width:40px;
}
#team_info_transfer_history_container .ti_th_col.q{
	width:40px;
}
#team_info_transfer_history_container .ti_th_col.buyer{
	text-align:left;
}
#team_info_transfer_history_container .ti_th_col.seller{
	text-align:left;
}
#team_info_transfer_history_container .ti_th_col.amount{
	text-align: right;
   width: 106px;
}
#team_info_transfer_history_container .ti_th_col.value{
	text-align: right;
	width: 92px;
	padding-right: 10px;
}

#team_info_transfer_history_container img.ti_th_col.role{
	height: 18px;
	width: 20px;
	margin-left: 3px;
	margin-right: 2px;
	margin-top: 1px;
	margin-bottom: 1px;
}
#team_info_transfer_history_container div.ti_th_col.role{
	height:20px;
	width:25px;
}

/* Trophies */
.trophy_box{
	display: inline-block;
	width: 250px;
	border: 1px solid white;
	border-radius: 5px;
	margin-left: 5px;
	margin-right: 3px;
	margin-top: 3px;
	margin-bottom: 3px;
	background-color:black;
}
.trophy_box_header{
	display:block;
	height:30px;
	font-size:25px;
	line-height:25px;
	font-variant: small-caps;
	text-align:center;
}
.trophy_images_container{
	display:block;
	width:100%;
	text-align:center;
}
.trophy_texts_container{
	display:block;
	width:100%;
	text-align:center;
	height:20px;
	font-size:13px;
	line-height:13px;
}

img.trophy{
	height:125px;
	width:125px;
	vertical-align: top;
}

.trophy_text{
	display:inline-block;
	width:125px;
	height:20px;
	vertical-align: top;
}

/* Achievements */

div#recent_achs_outer_container {
	width: 90%;
	margin-left: 2%;
	margin-right: 3%;
	margin-top: 3px;
	margin-bottom: 6px;
	border-radius: 10px;
	border-color: white;
	border: 1px solid white;
	background-color: rgba(255,255,255,0.1);
	padding-left: 2%;
	padding-right: 2%;
}

div#recent_achs_list_container {
	height: 100px;
	overflow-y: scroll;
}

div.recent_achs_item_col{
	display: inline-block;
	min-height:20px;
	line-height: 20px;
	vertical-align:top;
}
div.recent_achs_item_col.name{
	width: 30%;
}
div.recent_achs_item_col.timestamp{
	width: 7%;
}
div.recent_achs_item_col.description{
	width: 62%;
}

.achievement_level_header{
	display:block;
	height:25px;
	font-size:25px;
	line-height:25px;
	font-variant: small-caps;
	text-align:center;
	margin-top:2px;
	margin-bottom:2px;
}

.achievement_container{
	display: inline-block;
	width: 200px;
	background-image: url("images/ml2/icons/achievements/achievement_background.jpg");
	border-color: rgba(255,255,255,0.9);
	border-width: 1px;
	border-style: ridge;
	border-radius: 5px;
	margin-left: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
	cursor:default;
}

.achievement_container.incomplete{
	filter: brightness(0.5);
}
.achievement_icon{
	height:50px;
	width:50px;
	display:inline-block;
}

.achievement_text_container {
	display: inline-block;
	margin-left: 5px;
}

.achievement_text{
	height: 50px;
	width: 143px;
	vertical-align: middle;
	display: table-cell;
}

button.modal_button.blue.hoflock_transfer_button{
	display:block;
	width:50%;
	margin-left:25%;
	margin-right:25%;
	margin-top:10px;
}

/* Teaminfo Hall Of Fame */

.ti_hof_player_ability {
	position: absolute;
	font-size: 18px;
	color: black;
	text-align: center;
	width: 74px;
	font-weight: bold;
	z-index: 2;
	top: 148px;
}

img.ps_result_ability.hof_ability {
	width: 50px;
	height: 50px;
	position: absolute;
	left: 13px;
	top: 130px;
}

.ti_hof_list_container{
	display:inline-block;
	width:480px;
}

.ti_hof_list_cell{
	display:inline-block;
	width:35px;
	height:20px;
	font-size:13px;
	line-height:18px;
	overflow:hidden;
	vertical-align: top;
	text-align:center;
}

.ti_hof_list_cell.name{
	width:130px;
	text-align:left;
	text-indent:5px;
}

.ti_hof_list_cell.jersey{
	width:20px;
	height:20px;
}

.ti_hof_list_scroller{
	overflow-y:scroll;
	height:561px;
	width: 480px;
	scrollbar-width: thin;
	scrollbar-color: white #424242;
}

.ti_hof_list_player_container:nth-child(2n){
	background-color: rgba(40,40,40,0.9);
}
.ti_hof_list_player_container:hover{
	color:var(--link-color);
}

.ti_hof_list_player_container{
	cursor:pointer;
}

.ti_hof_player_container{
	position: absolute;
	top: 0px;
	left: 485px;
	width: 310px;
	height: 367px;
	border-bottom: 1px solid white;
	overflow: hidden;
	font-size: 14px;
	line-height: 15px;
}

.ti_hof_player_container.gk{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(30,30,100,0.8), rgba(0,0,0,0.8));
}

.ti_hof_player_container.def{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(30,100,30,0.8), rgba(0,0,0,0.8));
}

.ti_hof_player_container.mid{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(99, 100, 30, 0.8), rgba(0,0,0,0.8));
}

.ti_hof_player_container.att{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(100, 35, 30, 0.8), rgba(0,0,0,0.8));
}


.ti_hof_player_name{
	height: 25px;
	font-size: 17px;
	line-height: 25px;
	display: block;
	background-color: rgba(128,128,128,0.5);
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	text-align: center;
}

.ti_hof_player_images_container {
	display: inline-block;
	width: 80px;
	vertical-align: top;
}

.ti_hof_player_stats_container {
	display: inline-block;
	width: 230px;
	vertical-align: top;
}

.ti_hof_player_portrait{
	width:75px;
	height:112px;
	margin-top: 3px;
	margin-bottom: 7px;
}
.ti_hof_player_flag{
	width:75px;
	margin-top: 13px;
}

.ti_hof_stat_header{
	display: inline-block;
	width: 120px;
}
.ti_hof_stat_entry{
	display:inline-block;
	width:100px;
	text-align:right;
}

.ti_hof_player_awards_container {
	margin-top: 10px;
	height: 122px;
	overflow: hidden;
}

.ti_hof_awards_header {
	height: 20px;
	font-size: 15px;
	line-height: 20px;
	display: block;
	background-color: rgba(128,128,128,0.5);
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	text-align: center;
}


.ti_hof_award_container{
	display: inline-block;
	width: 100px;
	height: 100px;
}

.ti_hof_award_icon{
	width: 100px;
	height: 100px;
	position: absolute;
}
.ti_hof_award_text{
	position: absolute;
	margin-top: 80px;
	width: 100px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background-image: linear-gradient(to right, rgba(0,0,0,0.0), rgba(0,0,0,1), rgba(0,0,0,0.0));
}

.ti_hof_atg_container {
	position: absolute;
	width: 310px;
	height: 210px;
	top: 371px;
	left: 485px;
}

.ti_hof_atg_entry{
	height:25px;
	background-image: linear-gradient(to bottom right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
	margin-top:5px;
	margin-bottom:5px;
}

.ti_hof_atg_col{
	display:inline-block;
	height:25px;
	font-size:13px;
	line-height:26px;
	overflow:hidden;
}

.ti_hof_atg_col.first{
	width:130px;
	text-indent:5px;
}
.ti_hof_atg_col.second{
	width:130px;
}
.ti_hof_atg_col.third{
	width: 45px;
	text-align: right;
	padding-right: 5px;
}

img.ti_hof_delete_button {
	position: absolute;
	top: 3px;
	right: 2px;
	width: 20px;
	cursor:pointer;
}

/* playerinfo */
div.player_info_popup{
	position: absolute !important;
	top: 90px;
	left: 240px;
	width: 775px;
	height: 620px;
	background-color: rgba(0,0,0,0.95);
	color: whitesmoke;
	font-family: var(--primary-font-family);
	z-index: 102;
	overflow:hidden;
	border: 2px solid #a2a2a2;
	box-shadow: 0px 0px 2px 2px #ffffff66;	
}

.playerinfo_portrait_container .del_image{
	position: absolute;
	top:5px;
	left:5px;
	width:32px;
	height:32px;
	cursor:pointer;
}

div.player_info_popup.gk{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(20,20,100,0.8), rgba(0,0,0,0.8));
}

div.player_info_popup.def{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(20,100,20,0.8), rgba(0,0,0,0.8));
}

div.player_info_popup.mid{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(90, 90, 20, 0.8), rgba(0,0,0,0.8));
}

div.player_info_popup.att{
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(100, 20, 20, 0.8), rgba(0,0,0,0.8));
}

div.player_info_popup.minimized{
	height:30px;
	width:340px;
}

.player_info_popup.minimized .team_info_headerdivider, .player_info_popup.minimized .team_info_managername{
	display:none;
}
.player_info_popup.minimized .player_info_teamname{
	width: 260px;
	text-align: left;
	text-indent: 5px;
	margin-right: 0px;
}
div.player_info_popupheader {
	width: 100%;
	cursor: move;
	height: 35px;
	line-height:35px;
	background-color:rgba(65, 65, 65, 0.8);
	border-bottom: 1px solid red;
}

.player_info_popup .team_info_teamname{
	text-align: right;
	margin-right: 5%;
	height: 35px;
	line-height: 35px;
	overflow: hidden;
	vertical-align: top;
	margin-left: 73px;
	width: 255px;
}
.player_info_popup .team_info_managername{
	height: inherit;
	line-height: inherit;
}

.player_info_top_section {
	margin: 3px;
	border: 1px solid white;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.5);
	position:relative;
}

.playerinfo_portrait_container{
	display: inline-block;
	vertical-align: top;
	position: relative;
	width: 110px;
	padding-top: 6px;
	padding-left: 5px;
}

.playerinfo_portrait{
	width: 110px;
	height: 110px;
	border-radius: 5px;
}

.playerinfo_personalia_container{
	display: inline-block;
	vertical-align: top;
	position: relative;
	width: 285px;
	height: 122px;
	font-size: 14px;
}
.playerinfo_transfer_container{
	display: inline-block;
	vertical-align: top;
	position: relative;
	width: 252px;
	height: 122px;
	font-size: 14px;
}
.playerinfo_personalia_header{
	display: inline-block;
	height: 20px;
	line-height: 20px;
	width: 135px;
	overflow: hidden;
	vertical-align: top;
	text-indent: 5px;
}
.playerinfo_personalia_entry {
	display: inline-block;
	height: 20px;
	line-height: 20px;
	width: 145px;
	overflow: hidden;
	vertical-align: top;
}

.playerinfo_personalia_entry.name{
	color:var(--link-color);
	cursor:pointer;
}

.playerinfo_transfer_header{
	width: 120px;
	text-align: left;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	overflow:hidden;
	vertical-align: top;
}
.playerinfo_transfer_entry{
	width: 120px;
	padding-right: 6px;
	text-align: right;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	overflow:hidden;
	vertical-align: top;
}

.playerinfo_teamlogo_container{
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding-top: 6px;
}
.playerinfo_teamlogo{
	width: 110px;
	height: 110px;
	border-radius: 5px;
}

.playerinfo_stats_container {
	margin: 3px;
	border: 1px solid white;
	border-radius: 0px;
	background-color: rgba(0,0,0,0.5);
	font-size:14px;
}

.playerinfo_stat {
	display: inline-block;
	width: 49px;
	text-align:center;
}

.playerinfo_stat.title {
	width:105px;
	text-align:left;

}
.playerinfo_stat.header {
	background-color:#333;
	text-indent:5px;
}
.playerinfo_current_season_container{
	margin: 3px;
	margin-top:6px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.3);
	font-size:14px;
}
.playerinfo_current_season_stat{
	display: inline-block;
	width:95px;
	text-align:center;
}
.playerinfo_current_season_stat.first{
	width:140px;
	text-indent:5px;
	text-align:left;
	font-variant: small-caps;
}
.playerinfo_current_season_stat.bold{
	font-variant: small-caps;
}

.playerinfo_scroll_container{
	overflow-y:scroll;
	height:452px;
	width:100%;
}

.playerinfo_history_container{
	margin: 3px;
	margin-top:6px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.3);
	font-size:12px;
	vertical-align: top;
}

.playerinfo_history_stat.header{
	font-variant: small-caps;
}
.player_history_row.header {
	border: 1px solid black;
	background-color: #333;
}
.playerinfo_history_stat{
	display:inline-block;
	width:35px;
	height:16px;
	vertical-align: top;
	overflow: hidden;
}

.playerinfo_history_stat.right{
	text-align:right;
}

.playerinfo_history_stat.team{
	width:120px;
}

.playerinfo_history_stat.stat{
	text-align: center;
}

.playerinfo_history_stat.stat.short{
	width:28px;
}
.playerinfo_history_stat.gkstat{
	text-align: center;
	width:39px;
}

.playerinfo_awards_history_container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.playerinfo_transfer_history_container{
	margin: 3px;
	margin-top:6px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.3);
	font-size:12px;
	vertical-align: top;
}
.player_transfer_history_row.header {
	background-color: #333;
}

.playerinfo_history_stat.transfer{
	width:110px;
}
.playerinfo_history_stat.transfer.team{
	width:120px;
	overflow: hidden;
	vertical-align: middle;
	cursor:pointer;
	color:var(--link-color);
}

.playerinfo_history_stat.transfer.team.nolink{
	cursor:default;
	color: var(--text-color);
}

.playerinfo_history_stat.transfer.header.team{
	color:unset;
}
.playerinfo_history_stat.transfer.short{
	width:57px;
	text-align:center;
}

.playerinfo_history_stat.transfer.amount{
	width:85px;
}

.playerinfo_history_stat.transfer.longdate{
	width:110px;
}

.player_window_subheader {
	width: 100%;
	text-align: center;
}

img.player_info_bid_button {
	position: absolute;
	right: 80px;
	height: 26px;
	cursor: pointer;
	top: 5px;
}


#my_hof_menu{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 965px;
	height: 250px;
	background-image: url(images/new/Frames/2x1halloffame.png);
	background-size: cover;
}

#my_hof_list{
	position: absolute;
	left: 0px;
	top: 251px;
	width: 965px;
	height: 452px;
}

#my_hof_selected{
	position: absolute;
	left: 966px;
	top: 0px;
	width: 400px;
	height: 450px;
}

#my_hof_atg{
	position: absolute;
	left: 966px;
	top: 451px;
	width: 400px;
	height: 252px;
}

/* Active Transfers */
#active_transfers_form_box{
	position: absolute;
	top: 3px;
	left: 3px;
	height: 150px;
	width: 1360px;
	background-color: rgba(64,64,64,0.8);
}

#active_transfers_results_box{
	position: absolute;
	top: 157px;
	left: 3px;
	width: 1360px;
	height: 546px;
}

.active_transfer_roles_container {
	position: relative;
	display: inline-block;
	width: 200px;
	height: 150px;
	vertical-align: top;
	text-align: center;
	border-radius: 7px;
}
.active_transfer_box_header {
	background-color: black;
	border-radius: 7px 0px 0px 0px;
	height: 20px;
	line-height: 20px;
	width: 200px;
	display: inline-block;
}
.active_transfer_role_button{
		margin-top: 3px;
		margin-bottom: 3px;
		height: 26px;
}

.active_transfer_role_button.blue.selected{
	background-color: var(--blue-btn-color);
}
.active_transfer_role_button.green.selected{
	background-color: var(--green-btn-color);
}
.active_transfer_role_button.yellow.selected{
	background-color: var(--yellow-btn-color);
}
.active_transfer_role_button.red.selected{
	background-color: var(--red-btn-color);
}

.active_transfer_role_button:hover{
	filter:brightness(130%);
}

.active_transfer_param_container{
	position: relative;
	display: inline-block;
	height: 150px;
	width: 480px;
	vertical-align: top;
}

.active_transfer_box_header.top_active_transfer_param_header{
	width: 160px;
	border-radius: 0px;
	text-align:center;
}
.active_transfer_box_header.top_active_transfer_param_header.first{
	text-indent:10px;
	text-align: left;
	vertical-align: top;
}
#active_transfers_form_box .active_transfer_search_button_container{
	left: 0px;
	top: 0px;
	height: 116px;
	width: 130px;
	background-size: 130px 130px;
	position: relative;
	display: inline-block;
	vertical-align: top;
}

#active_transfers_form_box .active_transfer_search_button_container #player_search_button{
	margin-top: 39px;
	margin-left: 3px;
	width: 124px;
}

.active_transfer_param_header{
	width: 160px;
	height: 27px;
	line-height: 27px;
	display: inline-block;
	font-variant: small-caps;
	margin-top: 4px;
	vertical-align: bottom;
	text-indent: 20px;
}

.active_transfer_param_entry{
	width: 160px;
	height: 25px;
	display: inline-block;
	font-weight: bold;
	text-align: center;
}

.active_transfer_param_header.right, .active_transfer_param_entry.right{
	text-align: center;
}

.active_transfer_param_entry input{
	width: 103px;
	text-align:center;
}

.active_transfer_filters_container {
	display: inline-block;
	width: 547px;
	vertical-align: top;
	height: 150px;
}

.as_filters_header {
	background-color: black;
	height: 20px;
	line-height: 20px;
	text-indent: 10px;
	text-align: left;
	vertical-align: top;
}

.as_outer_search_container{
	display: inline-block;
	width: 130px;
	vertical-align: top;
	height: 150px;
}
.as_outer_search_header{
	background-color: black;
	height: 20px;
	line-height: 20px;
	text-indent: 10px;
	text-align: left;
	vertical-align: top;
	width:130px;
}
.as_filter_container{
	width: 540px;
   padding-left: 15px;
	margin-top: 6px;
	display:block;
}

input[type="checkbox"].as_filter_checkbox {
	display: inline-block;
	vertical-align: top;
	margin-top: 0px !important;
}

.as_filter_text {
	display: inline-block;
	vertical-align: text-bottom;
	height: 21px;
}


div#active_transfers_result_scroll_wrapper{
	height: 491px;
}
div#active_transfers_result_scroll_wrapper .potstar_small{
	margin-top:4px;
}
div#active_transfers_result_scroll_wrapper img.ps_result_scout{
	margin-top:2px;
}

.active_transfers_result_container{
	font-size: 13px;
	line-height: 23px;
	height:23px;
	border-top:1px solid black;
	border-bottom:1px solid black;
}

.active_transfers_result_container.gk{
	/*background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(20,20,100,0.8), rgba(0,0,0,0.8));*/
	background-color: var(--gk-bg-color);
}
.active_transfers_result_container.def{
	/*background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(20,100,20,0.8), rgba(0,0,0,0.8));*/
	background-color: var(--def-bg-color);
}
.active_transfers_result_container.mid{
	/*background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(90, 90, 20, 0.8), rgba(0,0,0,0.8));*/
	background-color: var(--mid-bg-color);
}
.active_transfers_result_container.att{
	/*background-image: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(100, 20, 20, 0.8), rgba(0,0,0,0.8));*/
	background-color: var(--att-bg-color);
}


.active_transfers_result_container.header{
	background-color: rgba(44,44,44,1);
}

.at_cell{
	display: inline-block;
	width:77px;
	vertical-align: top;
	height:inherit;
}

.at_cell.header {
	user-select: none;
}

.at_cell.stat{
	width:28px;
}
.at_cell.short{
	width:40px;
}
.at_cell.age{
	width:40px;
}
.at_cell.medium{
	width:90px;
}
.at_cell.amount{
	width:65px;
}

.at_cell.long{
	width:150px;
}
.at_cell.name{
	text-indent:2px;
	width:150px;
	cursor:pointer;
	overflow:hidden;
}
.at_cell.name:hover{
	color:var(--link-color);
}
.at_cell.team{
	width:140px;
	cursor:pointer;
	overflow:hidden;
	height:inherit;
}
.at_cell.team:hover{
	color:var(--link-color);
}

.at_cell .header{
	font-weight:bold;
}

.at_report_button{
	background-color: #444444;
	text-align: center;
	height: 17px;
	line-height: 17px;
	margin-top: 1px;
	border-top: 1px solid white;
	border-left: 1px solid white;
	border-bottom: 1px solid grey;
	border-right: 1px solid grey;
	cursor: pointer;
}

/* Transfer History */
div#transfer_history_box {
	top: 3px;
	left: 3px;
	height: 702px;
	width: 1360px;
}

div#transfer_history_container {
	margin-top: 5px;
	height: 638px;
}

div#transfer_history_items_container {
	height: 616px;
	overflow-y: scroll;
}
div#transfer_history_filters_container {
	margin-top: 5px;
}
input.th_checkbox {
	vertical-align: sub;
}
#transfer_history_filters_container label {
	vertical-align: middle;
	margin-left: 3px;
	margin-right: 15px;
}

#transfer_history_box .mytransfers_history_container.header .mytransfers_cell{
	cursor:n-resize;
}


/* FREE CREDITS */
#free_credits_box {
	top: 3px;
	left: 3px;
	width: 1360px;
	height: 700px;
}

/* Match POPUP */
.match_popup{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 1366px;
	height: 794px;
	background-color: black;
	background-image: url(images/ml2/bgs/bg_7.jpg);
	/*z-index: 1000;*/
	background-size: cover;
	color: white;
}

.match_header_container{
	position: relative;
	width:100%;
	height: 110px;
}

.match_scores_container{
	position: absolute;
	background: url(images/ml2/match/scoresbg.png);
	text-align: center;
	font-family: var(--secondary-font-family);
	font-size: 50px;
	line-height: 50px;
	color: white;
	text-shadow: 2px 3px 2px black, 0px 0px 2px black;
	width: 426px;
	height: 110px;
	left: 470px;
	top: 0px;
}

.match_timeline_container{
	position: relative;
	width: 100%;
	height: 100px;
	padding-top: 7px;
	background-image: linear-gradient(to bottom, black, transparent, black);
}

.match_controls_container{
	position: absolute;
	top: 217px;
	left: 249px;
	height: 50px;
	width: 485px;
	padding: 4px;
	padding-top:3px;
	background: rgba(1, 98, 94, 0.4);
	font-size: 20px;
	text-align: center;
	line-height: 50px;
}
.match_player_button{
	display: inline-block;
	height: 50px;
	width: 50px;
	margin-left: 8px;
	margin-right: 8px;
	border-radius:30px;
	box-shadow: inset 0px 0px 0px 2px white, inset 4px 4px 15px rgba(0,0,0,0.5);
	background: var(--btn-color);
	cursor:pointer;
	vertical-align: top;
}

.match_player_button img {
	height: inherit;
	width: inherit;
}

.match_player_button:hover{
	box-shadow: inset 0px 0px 0px 2px orange, inset 4px 4px 15px rgba(0,0,0,0.5);
}

div#match_player_speed_indicator_button{
	box-shadow: inset 0px 0px 0px 2px grey, inset 4px 4px 15px rgba(0,0,0,0.5);
}
div#match_player_speed_indicator_button:hover{
	box-shadow: inset 0px 0px 0px 2px grey, inset 4px 4px 15px rgba(0,0,0,0.5);
}

div#match_player_speed_indicator {
	font-size: 25px;
	font-family: var(--primary-font-family);
}

.match_stats_container {
	position: absolute;
	top: 215px;
	right: 251px;
	height: 539px;
	width: 372px;
	background-color: rgba(0,0,0,0.4);
}

.match_timeline_circle {
	background: black;
	width: 40px;
	height: 26px;
	border-radius: 25%;
	border: 3px solid white;
	font-size: 25px;
	line-height: 25px;
	text-align: center;
	position: absolute;
	font-weight: bold;
	font-family: var(--primary-font-family);
	top: 34px;
}

.match_timeline_circle.start{
	left:0px;
}
.match_timeline_circle.half{
	left:450px;
}
.match_timeline_circle.full{
	left:900px;
}
.match_timeline_circle.extra {
	left: 1200px;
}
.match_timeline_circle.pt {
	left: 1300px;
}

.timeline_line_container {
	position: absolute;
	width: 1300px;
	height: 10px;
	left: 25px;
	top: 45px;
}

#whiteline{
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: white;
	top: 4px;
}
#greenline{
	position: absolute;
	width: 1px;
	height: 10px;
	background-color: green;
}

.timeline_icon_container.home{
	position:absolute;
	top:-29px;
}
.timeline_icon_container.away{
	position:absolute;
	top:17px;
}

.timeline_icon_container.nudged{
	margin-left:4px;
}

.timeline_vertical_line.home{
	position: absolute;
	width: 1px;
	height: 14px;
	background-color: white;
	top: 19px;
	left: 9px;
}

.timeline_vertical_line.away{
	position: absolute;
	width: 1px;
	height: 12px;
	background-color: white;
	top: -10px;
	left: 9px;
}

.match_commentary_container{
	position:absolute;
	width:488px;
	height:436px;
	top: 275px;
	left: 250px;
	color: white;
	overflow: auto;
	font-family: var(--primary-font-family);
	padding: 2px;
	font-size: 14px;
	line-height: 16px;
	box-shadow: 1px 1px 1px rgba(255,255,255,0.4), -1px -1px 1px rgba(0, 0, 0, 0.8);
	scrollbar-width: thin;
}
#match_lower_right_buttons_container #toggle_match_stats_players_button{
	display: none;
}

.match_players_container {
	position: absolute;
	top: 215px;
	width: 245px;
	padding: 2px;
	height: 535px;
	font-family: var(--primary-font-family);
	font-size: 15px;
	background-image: linear-gradient(to bottom, black, rgba(0,0,0,0.5), black);
}

.match_players_container.home{
	left:0px;
}
.match_players_container.away{
	right: 0px;
}

.match_other_results_container {
	position: absolute;
	bottom: 0px;
	height: 77px;
	text-align: left;
	width: 744px;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-y: scroll;
	font-family: 'Open Sans';
	font-size: 14px;
	z-index: 6;
}

button#other_matches_hide_button {
	position: fixed;
	left: 631px;
	width: 75px;
	top: 724px;
	background-color: #440000;
}
button#other_matches_updown_button {
	position: fixed;
	left: 631px;
	width: 75px;
	top: 757px;
	background-color: #004400;
}
.match_other_results_container .other_match_container{
	display:block;
	height:20px;
	line-height:20px;
}
.match_other_results_container .other_match_time{
	display: inline-block;
	height: 20px;
	width: 40px;
	text-align: right;
	padding-right: 10px;
	overflow:hidden;
}

.match_other_results_container .other_match_ht{
	display:inline-block;
	height:20px;
	width: 175px;
	text-align: center;
	cursor:pointer;
	color: var(--link-color);
	overflow:hidden;

}
.match_other_results_container .other_match_res{
	display:inline-block;
	height:20px;
	width: 50px;
	text-align: center;
	overflow:hidden;

}
.match_other_results_container .other_match_at{
	display:inline-block;
	height:20px;
	width: 175px;
	text-align:center;
	cursor:pointer;
	color: var(--link-color);
	overflow:hidden;

}
.match_other_results_container .other_match_scorer{
	display:inline-block;
	height:20px;
	width: 200px;
	overflow:hidden;

}


.match_lower_right_buttons_container{
	position:absolute;
	bottom:0px;
	height:40px;
	width:366px;
	left: 1000px;
	background-color:rgba(0, 0, 0, 0.9);
}

#exit_match_button, #exit_match_button2{
	height: 38px;
	width: 85px;
	bottom: 1px;
	right: 0px;
	position: absolute;
}

#copy_match_link_button, #copy_match_link_button2{
	height: 38px;
	width: 85px;
	bottom: 1px;
	right: 100px;
	position: absolute;
}

#save_match_link_button, #save_match_link_button2, #save_match_button2{
	height: 38px;
	width: 85px;
	bottom: 1px;
	right: 200px;
	position: absolute;
}
#exit_match_button2{
	/*background: linear-gradient(to bottom, rgba(161, 101, 66, 1) 0%, rgba(158, 3, 3, 1) 100%);*/
	right: 530px;
	left: auto;
	margin: 0px;
	bottom: 21px;
}

#copy_match_link_button2{
	/*background: linear-gradient(to bottom, rgba(40, 48, 117, 1) 0%,rgba(12, 14, 142, 1) 100%);*/
	right: auto;
	left: 516px;
	margin: 0px;
	bottom: 21px;
}
#save_match_button2{
	/*background: linear-gradient(to bottom, rgba(40, 48, 117, 1) 0%,rgba(12, 14, 142, 1) 100%);*/
	right: auto;
	left: 633px;
	margin: 0px;
	bottom: 21px;
}
.match_player_container{
	height: 26px;
	line-height: 26px;
	border-bottom:1px solid rgba(0,0,0,0.5);
	user-select: none;
}

.match_player_container.gk{
	background-color:rgba(22, 23, 46, 0.6);
	background-color: rgba(64, 66, 137, 0.6);
}
.match_player_container.def{
	background-color:rgba(15, 41, 18, 0.6);
	background-color:rgba(38,108,44,0.6);
}
.match_player_container.mid{
	background-color:rgba(49, 49, 0, 0.6);
	background-color: rgba(128,128,0,0.6);
}
.match_player_container.att{
	background-color:rgba(44, 6, 6, 0.6);
	background-color: rgba(128,16,16,0.6);
}

.match_player_container.sent_off{
	opacity: 0.35;
}

.match_player_list_name{
	display:inline-block;
	vertical-align: top;
	width:123px;
	height:30px;
	overflow:hidden;
	text-align:left;
	cursor:pointer;
	padding-left:2px;
	word-break: break-all;
}

.match_player_list_performance{
	display:inline-block;
	vertical-align: top;
	width:25px;
	height:30px;
	overflow:hidden;
	text-align:center;
	cursor:pointer;
}

.match_player_list_icons{
	display:inline-block;
	vertical-align: top;
	width:95px;
	height:30px;
	overflow:hidden;
	text-align:left;
}

.match_player_list_bench_sep{
	display:block;
	width:100%;
	height:2px;
	background-color:rgb(150,150,150);
}

.match_players_container.away .match_player_list_name{
	text-align:right;
	padding-left:0px;
	padding-right: 2px;
}

.match_players_container.away .match_player_list_icons{
	text-align:right;
}

.match_commentary_entry {
	margin-bottom: 5px;
	font-size:inherit;
	user-select: text;
}

.match_commentary_entry.neutral{
	color:#a8a8a8;
}
.match_commentary_entry.home{
	color:white;
}
.match_commentary_entry.away{
	color:yellow;
}
.match_commentary_entry.gains, span.player_match_gain{
	color:#00cd00;
}

.match_c_icon {
	vertical-align: top;
	width: 20px;
	user-select: none;
}
.match_c_time {
	display: inline-block;
	vertical-align: top;
	width: 25px;
	text-align: center;
}
.match_c_text {
	display: inline-block;
	vertical-align: top;
	width: 423px;
}

.match_commentary_entry.selected{
	background-color:#222222;
	filter: invert(1);
}
.match_commentary_entry.focus{
	font-style: italic;
}
.match_commentary_entry.selected img{
	filter: invert(1);
}

.match_stats_header{
	display:inline-block;
	width:33%;
	height:25px;
	margin-bottom:5px;
	font-size:20px;
	line-height: 25px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
}

.match_stats_header.home{
	text-align: right;
}
.match_stats_header.away{
	text-align: left;
}

.match_stats_header.blank{
	width:34%;
}

.match_stat_container{
	height:25px;
	margin-bottom:4px;
	font-size:20px;
	line-height: 25px;
	font-family: var(--secondary-font-family);
	color: white;
	text-shadow: 1px 1px 1px black;
}
.match_stat_home{
	display:inline-block;
	width:33%;
	height:25px;
	overflow:hidden;
	vertical-align: top;
	text-align:right;
	position: relative;
}
.match_stat_text{
	display:inline-block;
	width:34%;
	height:25px;
	overflow:hidden;
	vertical-align: top;
	text-align:center;
	font-size:17px;
}
.match_stat_away{
	display:inline-block;
	width:33%;
	height:25px;
	overflow:hidden;
	vertical-align: top;
	text-align:left;
	position: relative;
}

.match_stat_away_num, .match_stat_home_num {
	z-index: 2;
	position: relative;
}

.match_stat_home_num {
	padding-right:2px;
	font-size:15px;
}

.match_stat_away_num {
	padding-left:2px;
	font-size:15px;
}

.match_stat_home_bar{
	position: absolute;
	width:38px;
	min-width:38px;
	max-width:128px;
	height:23px;
	transform: skew(45deg);
	right: -15px;
	background-color:green;
	margin-top: 1px;
	margin-bottom: 1px;
}

.match_stat_home_bar.colorblind{
	background-color:#7979ff;
}

.match_stat_away_bar{
	position: absolute;
	width:38px;
	min-width:38px;
	max-width:128px;
	height:23px;
	transform: skew(-45deg);
	left: -15px;
	background-color:#df0000;
	margin-top: 1px;
   margin-bottom: 1px;
}

img.match_player_list_icon {
	margin-top: 6px;
	width: 15px;
	height: 15px;
}

.away img.match_player_list_icon {
	transform: scaleX(-1);
}

/* News section */
div#latest_transfers_news {
	width: 678px;
	height: 291px;
	left: 3px;
	top: 412px;
}

div#greatest_transfers_news {
	width: 678px;
	height: 291px;
	left: 685px;
	top: 412px;
}

div#hq_news {
	top: 3px;
	left: 685px;
	width: 678px;
	height: 406px;
	background-image: url(images/ml2/bgs/bg_3.jpg);
	background-size: cover;
}

.hq_news_title {
	font-size: 18px;
	line-height: initial;
	padding: 10px;
}
.hq_news_body {
	padding: 10px;
}

div#hq_news_scroll_wrapper {
	height: 375px;
	background-color: rgba(0,0,0,0.85);
}

#news_news {
	top: 3px;
	left: 3px;
	height: 406px;
	width: 678px;
	background: rgba(0,0,0,0.6);
}

div#news_scroll_wrapper {
	height: 375px;
	background-image: linear-gradient(-15deg, black, #1f3434, black, #1f3434, black, #1f3434, black);
	background-attachment: local;
}

#news_news .top_news_entry span {
	padding: 0px;
	padding-left: 5px;
	display: block;
	width: 620px;
	min-height: 37px;
}
div.transfer_news_entry {
	border-bottom: 1px solid #444444;
	height:22px;
}
div.tr_news{
	display: inline-block;
	height:20px;
	line-height: 20px;
}

div.transfer_news_header{
	font-variant: small-caps;
}

img.tr_news_icon {
	height: 18px;
	padding-left: 4px;
	margin-bottom: 1px;
}

.tr_news.col0 {
	width: 22px;
}

div.tr_news.col1{
	width: 185px;
	text-indent:5px;
	overflow:hidden;
}
div.tr_news.col2{
	width: 185px;
	overflow:hidden;
}
div.tr_news.col3{
	width: 185px;
	overflow:hidden;
}
div.tr_news.col4{
	width: 60px;
	overflow:hidden;
}

.transfer_news_entry .tr_news.col1, .transfer_news_entry .tr_news.col2, .transfer_news_entry .tr_news.col3{
	cursor:pointer;
}
.transfer_news_entry .tr_news.col1:hover, .transfer_news_entry .tr_news.col2:hover, .transfer_news_entry .tr_news.col3:hover{
	color:var(--link-color);
}

div#latest_transfers_scroll_wrapper {
	height: 239px;
}

div#greatest_transfers_scroll_wrapper {
	height: 239px;
}

/* player cups */
div#player_cup_list_box {
	top: 3px;
	left: 3px;
	width: 910px;
	height: 700px;
	overflow:hidden;
}
div#player_cup_teamlist_box{
	top: 3px;
	left: 3px;
	width: 755px;
	height: 700px;
}
div#pc_list_scroll_wrapper {
	height: 597px;
}

.pc_filters_container{
	text-align:center;
}

select.playercup_filter_dropdown {
	width: 130px;
	font-size: 15px;
	margin-left: 5px;
	margin-right: 5px;
}

select.playercup_filter_dropdown.long {
	width: 300px;
}
.pc_entry_container {
	height: 24px;
	line-height: 24px;
}
.pc_entry_container:nth-child(2n+1){
	background-color:rgba(0,0,0,0.5);
}
.pc_entry_container:nth-child(2n){
	background-color:rgba(0,0,0,0.2);
}

.pc_drop_label{
	display: inline-block;
	height: 20px;
	line-height: 21px;
	margin-right: 5px;
	margin-left: 5px;
	width: 130px;
	overflow: hidden;
}

.pc_drop_label.long{
	width: 300px;
}
.pc_list_cell{
	display:inline-block;
	height:inherit;
	width: 100px;
	overflow:hidden;
}

.pc_header_container{
	background-color: rgba(0,0,0,0.6);
	font-variant: small-caps;
	font-weight: bold;
}

.pc_entry_container:hover, .pc_entry_container.participating:hover, .pc_entry_container.finished:hover{
	color:rgba(255, 145, 0, 0.808);
}

.pc_entry_container.participating{
	color:var(--link-color);
}

.pc_toplist {
	text-align: center;
	border: 1px solid white;
	border-radius: 5px;
	margin-top: 10px;
}
.pc_toplist_header {
	text-align: center;
	background-color: var(--header-color);
}

.training_reports_button {
	display:none;
	position: absolute;
	height: 22px;
	width: 22px;
	background: white;
	color: black;
	right: 30px;
	top: 4px;
	text-indent: 0px;
	font-size: 17px;
	line-height: 22px;
	text-align: center;
	font-weight: bold;
	text-shadow: none;
	cursor: pointer;
}

.pc_entry_container.finished{
	color:#45a000;
}

.pc_list_cell.short{
	width: 60px;
	text-align:center;
}
.pc_list_cell.tiny{
	width: 45px;
	text-align:center;
}

.pc_list_cell.time{
	width: 50px;
}

.pc_list_cell.day{
	width: 120px;
}

.pc_list_cell.teams{
	width: 85px;
	text-align:center;
}
.pc_list_cell.league{
	width: 100px;
	text-align:center;
}
.pc_list_cell.name{
	display:inline-block;
	width: 220px;
	text-indent:5px;
	cursor:pointer;
}

div#player_cup_teamlist_box{
	top: 3px;
	left: 3px;
	width: 755px;
	height: 700px;
}
div#pc_teamlist_scroll_wrapper {
	height: 643px;
}

.pc_teamlist_header_container{
	background-color: #333;
	line-height: 24px;
	height: 25px;
}

.pc_teamlist_entry_container{
	background-color: rgba(0,0,0,0.3);
	height:25px;
	line-height: 25px;;
}
.pc_teamlist_entry_container:nth-child(2n+1){
	background-color: rgba(0,0,0,0.4);
}

.pc_teamlist_entry_container.friend{
	color:var(--friend-color)
}


.pc_teamlist_cell{
	display:inline-block;
	width:100px;
	height: 25px;
	overflow: hidden;
}

.pc_teamlist_cell.name{
	width:200px;
	text-indent: 5px;
}
.pc_teamlist_cell.name.click{
	cursor:pointer;
}
.pc_teamlist_cell.name.click:hover{
	color:var(--link-color);
}
.pc_teamlist_cell.league{
	width:125px;
}
.pc_teamlist_cell.icons{
	width:125px;
	text-align:center;
}
.pc_teamlist_cell.avgq {
	width: 55px;
	text-align: center;
}
.pc_teamlist_cell.icons img.table_action_icon {
	margin-top: 3px;
}

/* Fixres box in player-cups */
div#player_cup_fixres_box{
	top: 3px;
	left: 3px;
	width: 755px;
	height: 700px;
}
div#pc_fixres_scroll_wrapper {
	height: 644px;
}
/* Create Cup Form */

div#player_cup_form_box {
	top: 304px;
	left: 916px;
	width: 450px;
	height: 399px;
}

.cup_form_header{
	display: inline-block;
	width:220px;
	text-indent: 5px;
	font-variant: small-caps;
}
.cup_form_input{
	display: inline-block;
	width: 220px;
	padding: 0px !important;
}

.cup_form_header.full,  .cup_form_input.full{
	width:434px;
	margin-left:5px;
}

.cup_form_input.short{
	width:107px;
}

input#cc_password {
	width: 218px;
}

textarea#cc_description {
	width: 430px;
	margin-left: 5px;
	border-radius: 5px;
	height: 100px;
}

button#create_cup_button {
	margin-left: 10%;
	margin-right: 10%;
	width: 80%;
	margin-top: 10px;
}

/* Right side inside a player cup*/
div#player_cup_right_box {
	top: 3px;
	left: 761px;
	width: 602px;
	height: 498px;
}

div#player_cup_chat_box {
	top: 504px;
	left: 761px;
	width: 602px;
	height: 199px;
}
textarea#cup_description_update_text{
	width: 450px;
	height: 250px;
}
input#cup_name_update_text{
	width: 450px;
	height: 25px;
}

div#cup_shout_box_header {
	text-align: center;
}

div#cup_shout_box{
	position: relative;
	max-height: 131px;
	overflow-y: auto;
	margin-bottom:4px;
}

input#cup_shout_input{
	display:inline-block;
	width: 400px;
	margin-left:10px;


}
button#cup_shout_button{
	display:inline-block;
	width: 100px;
	height: 27px;

}

.cup_shout_name{
	display: inline-block;
	width: 100px;
	overflow:hidden;
	height:18px;
	font-size:13px;
	margin-left:10px;
	vertical-align: top;
}

.cup_shout_time{
	display: inline-block;
	width: 50px;
	overflow:hidden;
	height:18px;
	font-size:13px;
	margin-left:10px;
	vertical-align: top;
}

.cup_shout_msg{
	display: inline-block;
	width: 400px;
	min-height:18px;
	font-size:13px;
	vertical-align: top;
}

.cup_chat_context_menu{
	position: absolute;
	background-color: #404040;
	z-index: 10;
	margin: 10px;
	padding: 10px;
	border: 1px solid white;
	font-size: 14px;
	font-family: var(--primary-font-family);
	font-variant: small-caps;	
}

.cup_chat_context_menu .context_menu_entry{
	cursor:pointer;
	padding: 10px;
	line-height: 14px;
	line-height: 14px;
}

.cup_chat_context_menu .context_menu_entry:hover{
	color:var(--link-color);
}

img.cup_info_link_button{
	position: absolute;
	top:2px;
	right:3px;
	width:25px;
	height:25px;
	cursor:pointer;
}

img.cup_info_leave_button {
	height: 28px;
	width: 28px;
	position: absolute;
	top: 0px;
	right: 40px;
	cursor: pointer;
}

.cup_info_right_header{
	text-indent: 5px;
	margin-bottom:2px;

}
.cup_info_right_entry{
	border-bottom:1px solid rgba(255,255,255,0.3);
	text-indent: 5px;
	margin-bottom:4px;
	padding-bottom:4px;
}
.cup_info_right_entry.description {
	max-height: 270px;
	overflow-y: auto;
	padding: 10px;
	text-indent: 0px;
}
.cup_info_right_entry.creator{
	cursor:pointer;
}
.cup_info_right_entry.creator:hover{
	color:var(--link-color);
}

.cup_info_right_half_header {
	display: inline-block;
	width: 100px;
	text-indent: 5px;
	/*height: 18px;*/
	overflow: hidden;
}

.cup_info_right_half_entry{
	display: inline-block;
	width: 100px;
	text-indent: 5px;
	/*height: 18px;*/
	overflow: hidden;
}

.cup_info_right_half_header.avgq, .cup_info_right_half_entry.avgq{
	width:65px;
}
.cup_info_right_half_header.div, .cup_info_right_half_entry.div{
	width:65px;
}
.cup_info_right_half_header.league, .cup_info_right_half_entry.league{
	width:125px;
}
.join_cup_container{
	text-align:center;
	padding:5px;
}

input#cup_password {
	margin-left: 10px;
	margin-top: 1px;
	height: 24px;
}

#join_cup_button{
	width:300px;
	margin-left:10px;
	margin-right: 10px;
}

.cant_join_cup{
	text-align:center;
	color:red;
}

.pc_fixres_header_container{
	background-color:rgba(0, 0, 88, 0.5);
}

.pc_fixres_entry_container{
	background-color:rgba(0, 0, 0, 0.2);
	height:25px;
	line-height: 25px;
}
.pc_fixres_entry_container:nth-child(2n+1){
	background-color:rgba(0, 0, 0, 0.4);
}

.pc_fixres_round_header {
	width: 100%;
	text-align: center;
	height: 25px;
	line-height: 25px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	font-size: 16px;
	cursor:pointer;
}
.pc_fixres_round_header.myresults {
	cursor:default;
}

.pc_fixres_cell{
	display:inline-block;
	height:inherit;
	line-height:inherit;
	width:100px;
	overflow:hidden;
	font-size:14px;
}

.pc_fixres_cell.round{
	width:100px;
	text-align: center;
}

.pc_fixres_cell.name{
	width:225px;
	cursor:pointer;
}
.pc_fixres_cell.result{
	width:100px;
	text-align: center;
}

.pc_fixres_cell.flag{
	width:30px;
	cursor:pointer;
}


.pc_fixres_champion_container{
	border-radius:10px;
	margin-left:10%;
	width:83%;
	border:1px solid white;
	background: linear-gradient(to bottom right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 50%,rgba(0,0,0,0) 100%);
	margin-top:10px;
}
.pc_fixres_champion_header{
	font-variant: small-caps;
	height:25px;
	line-height: 25px;
	font-size:18px;
	border-bottom: 1px solid white;
	text-align: center;
}
.pc_fixres_champion_teamlogo{
	width:125px;
	height:125px;
	margin:10px;
}

.pc_fixres_champion_trophy{
	width:125px;
	height:125px;
	margin:10px;
}
.pc_fixres_champion_team{
	display: inline-block;
	width: 158px;
	vertical-align: top;
	text-align: center;
	margin-top: 50px;
	cursor:pointer;
}
.pc_fixres_champion_team:hover{
	color:var(--link-color);
}
.pc_fixres_champion_manager{
	display: inline-block;
	width: 158px;
	vertical-align: top;
	text-align: center;
	margin-top: 50px;
}

#saved_matches_box{
	top: 3px;
	left: 3px;
	width: 1360px;
	height: 700px;
}

div#saved_matches_scroll_wrapper{
	height: 645px;
}

div.saved_matches_cell{
	display:inline-block;
	width:100px;
	overflow:hidden;
	vertical-align: top;
	height:24px;
	line-height: 24px;
}

div.saved_matches_cell.hometeam, div.saved_matches_cell.awayteam, div.saved_matches_cell.type{
	width:240px;
	text-indent:10px;
}

div.saved_matches_cell.result, div.saved_matches_cell.round, div.saved_matches_cell.season, div.saved_matches_cell.delete, div.saved_matches_cell.notes{
	text-align:center;
}

div.saved_matches_cell.delete{
	cursor:pointer;
	width:90px;
}
div.saved_matches_cell.notes{
	cursor:pointer;
	width:90px;
}

div.saved_matches_header_container{
	background-color:rgb(54, 54, 54);
	font-variant: small-caps;
}

div.saved_matches_entry_container:nth-child(2n+1){
	background-color:rgba(0,0,0,0.5);
}
div.saved_matches_entry_container:nth-child(2n){
	background-color:rgba(0,0,0,0.3);
}

textarea.saved_match_description{
	width: 420px;
	height: 100px;
}

.tooltip_parent {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;

}

.tooltip_parent:hover{
	overflow: unset !important;
}

 .tooltip_parent .tooltiptext {
	visibility: hidden;
	width: 300px;
	background-color: #555;
	color: #fff;
	text-align: left;
	border-radius: 6px;
	padding: 5px;
	position: fixed;
	z-index: 1;
	top: 30%;
	left: 70%;
	margin-left: -325px;
	opacity: 0;
	transition: opacity 0.3s;
 }

 .tooltip_parent .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
 }

 .tooltip_parent:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
 }

#modal_window_tut{
	top:100px;
	left:50px;
	width:700px;
	margin-left:0px;
	margin-top:0px;
}

.tut_text {
	text-align: justify;
	margin-top: 5px;
	margin-bottom: 5px;
	font-family: var(--primary-font-family);
	font-size: 16px;
	line-height: 20px;
}

.tut_header {
	text-align: left;
	font-size: 22px;
	line-height: 22px;
	font-variant: small-caps;
	font-family: var(--primary-font-family);
	font-weight: bold;
	margin-top: 10px;
}

.tut_topic_end{
	width:100%;
	height:2px;
	background-color: white;
	margin-top:3px;
	margin-bottom:5px;
}

.tut_image{
	float:right;
}

#modal_window_help{
	top:100px;
	left:50px;
	width:700px;
	margin-left:0px;
	margin-top:0px;
}

#modal_content_help{
	max-height:550px;
	text-align:left;
	line-height: 20px;
	font-family: var(--primary-font-family);
}

.helpspace{
	display: block;
	width:90%;
	height:10px;
}

/*Purchase Credits */
div#payment_information_box {
	top: 3px;
	left: 3px;
	width: 492px;
	height: 700px;
}

div#payment_adyen_box {
	top: 3px;
	left: 498px;
	width: 432px;
	height: 349px;
}
div#payment_paypal_box {
	top: 3px;
	left: 934px;
	width: 429px;
	height: 299px;
}

div#payment_sms_box {
	top: 305px;
	left: 934px;
	width: 429px;
	height: 398px;
}
div#payment_local_box {
	top: 355px;
	left: 498px;
	width: 432px;
	height: 348px;
}

.payment_info_text{
	padding: 11px;
	line-height: 17px;
	font-size: 14px;
}

ul.payment_benefits_list{
	display:block;
	margin-left: 3px;
	text-indent: 3px;
	list-style: inside;
}

li.payment_benefit{
	display:list-item;
}

.time_since_last_payment_container {
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid red;
	padding-left: 5px;
	padding-right: 5px;
}

.time_since_last_payment_header {
	text-transform: uppercase;
	margin-top: 2px;
	margin-bottom: 2px;
}
.time_since_last_payment_text{
	line-height: 20px;
	font-size: 14px;
}

.adyen_info_text{
	padding-left: 10%;
   padding-right: 10%;
   padding-top: 3%;
	padding-bottom: 3%;
	font-size: 14px;
}

select#adyen_credits_dropdown {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	display: block;
	margin-bottom:10px;
}

button#adyen_submit_button {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	display: block;
}
img.adyen_logo {
	padding: 2px;
	border-radius: 5px;
	margin-left: 7px;
}

img#paypal_logo, img#sms_logo, img#unipin_image{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

select#paypal_credits_dropdown {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	display: block;
	margin-bottom:10px;
}

button#paypal_submit_button {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	display: block;
}

span.sms_send_info {
	display: block;
	margin-top: 7px;
	margin-bottom: 7px;
	font-weight: bold;
	font-size: 17px;
	line-height: 17px;
	color: lightyellow;
	text-indent: 10px;
}

span.sms_support_info {
	font-size: 12px;
}

.fortumo_button_style{
	padding-left: 275px;
	padding-top: 275px;
	display: block;
	margin-right:auto;
}

.fortumo_link_div {
	width: 100%;
	text-align: center;
	margin-top: 50px;
	cursor: pointer;
}

#unipin, #unipin_button{
	margin-top:5px;
}
#unipin{
	height: 23px;
}
#unipin_button{
	width:120px;
}

.unipin_feedback{
	color:red;
	font-weight:bold;
	margin-top:10px;
}

/* Pre Match Overlay */
#pre_match_overlay_container{
	position: absolute;
	top: 111px;
	left: 0px;
	height: 683px;
	width: 1366px;
	z-index: 100;
	background-color: rgba(0,0,0,0.9);
}
div#pre_match_overlay_field {
	height: 683px;
	width: 1366px;
	/*background-image: url(images/ml2/match/overlaypitch.jpg);*/
	background-image: url('images/ml2/bgs/newfield_landscape_2.png');
}
#pre_match_home_team_container {
	display: inline-block;
	width: 470px;
	height: 683px;
	vertical-align: top;
	position: absolute;
	left: 0px;
	top: 0px;
}
#pre_match_away_team_container {
	display: inline-block;
	width: 470px;
	height: 683px;
	vertical-align: top;
	position: absolute;
	right: 0px;
	top: 0px;
}
#pre_match_central_container {
	display: inline-block;
	width: 400px;
	height: 683px;
	text-align: center;
	font-size: 20px;
	line-height: 20px;
	vertical-align: top;
	position: absolute;
	left: 480px;
	top: 0px;
}

#pre_match_overlay_container .m_o_fix_type {
	font-variant: small-caps;
	border: 1px solid rgba(255,255,255,0.7);
	border-radius: 5px;
	margin-top: 34px;
	width: 100%;
	box-shadow: 0px 0px 20px 2px black;
	background-color: rgba(0,0,0,0.5);
	height: 30px;
	line-height: 30px;
	width:400px;
}

#pre_match_overlay_container .m_o_stadium_name {
	font-variant: small-caps;
	background-color: rgba(0,0,0,0.5);
	height: 30px;
	line-height: 30px;
}

#pre_match_overlay_container .m_o_stadium_picture{
	width: 400px;
	border-radius: 5px;
	height:224px;
	position: absolute;
	left: 1px;
}

.match_overlay_quality {
	width: 100px;
	text-align: center;
	height: 20px;
	padding: 5px;
	background-color: rgba(0,0,0,0.5);
	border-radius: 5px;
	box-shadow: 0px 0px 2px 10px rgba(0,0,0,0.3);
	border: 1px solid white;
	position: absolute;
}
.match_overlay_quality.home {
	left: 38px;
	top: 27px;
}
.match_overlay_quality.away {
	right: 38px;
	top: 27px;
}

.match_overlay_fitness {
	width: 115px;
	text-align: center;
	height: 20px;
	padding: 5px;
	background-color: rgba(0,0,0,0.5);
	border-radius: 5px;
	box-shadow: 0px 0px 2px 10px rgba(0,0,0,0.3);
	border: 1px solid white;
	position: absolute;
}
.match_overlay_fitness.home {
	left: 333px;
	top: 27px;
}
.match_overlay_fitness.away {
	right: 333px;
	top: 27px;
}


.stadiumInfoContainer {
	margin-left: 0px;
	margin-right: 0px;
	width: 400px;
	background-color: rgba(0,0,0,0.5);
	padding: 0px;
	border: 1px solid rgba(255,255,255,0.7);
	border-radius: 5px;
	margin-top: 20px;
	box-shadow: 0px 0px 26px 3px black;
	height: 255px;
}
.venueInfoContainer {
	margin-left: 0px;
	margin-right: 0px;
	background-color: rgba(0,0,0,0.5);
	padding: 5px;
	border: 1px solid rgba(255,255,255,0.7);
	border-radius: 5px;
	margin-top: 20px;
	box-shadow: 0px 0px 20px 2px black;
	height: 160px;
}

#pre_match_overlay_container .m_o_spec_header{
	font-variant: small-caps;
	position: relative;
	margin-top: 179px;
	background-color: rgba(0,0,0,0.8);
}

#pre_match_overlay_container .m_o_spec_entry{
	padding-bottom: 5px;
	background-color: rgba(0,0,0,0.8);
	position: relative;
}

#pre_match_overlay_container .m_o_ref_header{
	font-variant: small-caps;
	background-color: rgba(0,0,0,0.8);
	position: relative;
}

#pre_match_overlay_container .m_o_ref_entry{
	background-color: rgba(0,0,0,0.8);
	position: relative;
}

#pre_match_overlay_container .m_o_click_string {
	padding-top: 20px;
	padding-bottom: 20px;
	text-transform: uppercase;
	font-variant: small-caps;
	color: orange;
	border: 2px solid rgba(255,255,255,0.5);
	border-radius: 5px;
	cursor: pointer;
	position: absolute;
	width: 100%;
	bottom: 66px;
	background-color: rgba(0,0,0,0.8);
}

#pre_match_overlay_container .m_o_click_string:hover{
	border : 2px solid rgba(255,255,255,0.9);
	filter:brightness(120%);
}

#pre_match_overlay_container .player_field_name{
	width:70px;
	left:0px;
}
#pre_match_overlay_container .player_field_number{
	width:70px;
	left:0px;
	font-size: 12px;
}

#pre_match_overlay_container .match_stats_container {
	top: 215px;
	left: 251px;
	height: 117px;
}

#mom_button{
	display: none;
	position: absolute;
	z-index: 5;
	width: 75px;
	height: 67px;
	line-height: 112px;
	left: 149px;
	top: 453px;
	font-size: 20px;
	border: 1px solid white;
	text-align: center;
	cursor: pointer;
	background-color: darkslategrey;
	border-radius: 3px;
	color: white;
	background-image: url(images/ml2/icons/ball50.png);
	background-repeat: no-repeat;
	vertical-align: text-bottom;
	font-family: var(--primary-font-family);
}
#mom_button:hover{
	background-color:white;
	color:black;
}

.mom_container{
	position: absolute;
	box-sizing: border-box;
	padding: 10px;
	height: 222px;
	width: 411px;
	top: 380px;
	left: 287px;
	background-color: rgb(148, 123, 0);
	border: 2px solid white;
	border-radius: 10px;
	text-align: center;
	font-family: var(--primary-font-family);
	z-index: 5;
	font-variant: small-caps;
	cursor: move;
	opacity: 0;
	background-image: url(images/new/Bgs/momcard.png);
}

div#mom_stats_container {
	width: 250px;
	position: absolute;
	left: 175px;
	top: 30px;
}
img.mom_close {
	position: absolute;
	top: -26px;
	right: -25px;
	width: 30px;
	cursor: pointer;
	border-radius: 20px;
	border: 1px solid white;
	background-color: black;
	padding: 5px;
}
div#mom_header {
	font-size: 20px;
	font-variant: small-caps;
	text-transform: uppercase;
	margin-bottom: 0pc;
	position: absolute;
	top: -28px;
	border: 1px solid white;
	border-bottom: none;
	border-radius: 5px;
	width: 222px;
	left: 98px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: darkslategrey;
}

div#mom_shirtnum {
	position: absolute;
	top: 153px;
	left: 119px;
	font-size: 29px;
	background-color: #010101b5;
	line-height: 33px;
	width: 100px;
	text-align: center;
	border-radius: 0px 0px 5px 5px;
}

img#mom_pic {
	width: 100px;
	border-radius: 5px;
	position: absolute;
	top: 36px;
	left: 119px;
}

div#mom_name {
	display: inline-block;
	vertical-align: top;
	width:240px;
	margin-top:5px;
	margin-bottom:5px;
}

div#mom_team {
	display: inline-block;
	vertical-align: top;
	width:240px;
	margin-top:5px;
	margin-bottom:5px;
	font-style: italic;
}

div.mom_stat{
	display: inline-block;
	vertical-align: top;
	width:240px;
	margin-top:5px;
	margin-bottom:5px;
}


/* P2W ranking stuff */

div#p2w_ranking_box {
	width: 1360px;
	left: 3px;
	top: 3px;
	height: 700px;
}
.p2w_top_container{
	height: 125px;
	position: relative;
}

.p2w_button_container {
	display: inline-block;
	width: 250px;
	text-align: center;
	height: 125px;
	vertical-align: top;
}

#p2w_scroll_wrapper {
	height: 537px;
}
#p2wbutton {
	display: inline-block;
	height: 65px;
	margin-top: 16px;
	margin-bottom: 5px;
	vertical-align: top;
	width: 138px;
}

div.p2w_text_1 {
	display: inline-block;
	vertical-align: top;
	margin-top: 10px;
	width: 140px;
	text-align: center;
}

div.p2w_text_2{
	display: inline-block;
	height: 125px;
	vertical-align: top;
	margin-top: 8px;
	width: 910px;
	text-align: justify;
	padding-left: 42px;
	font-style: italic;
}

div.p2w_text_2 span{
	display: block;
	line-height: 20px;
}

#p2w_scroll_wrapper .manager_ranking_entry_container{
	width:98%;
}

img.flying_coin{
	position: absolute;
	animation-name: swooshcoin;
	animation-fill-mode: forwards; /* keep final state */
	animation-duration: 3.0s;
	animation-iteration-count: 1;
	z-index:10000;
	animation-timing-function: linear;
}

img.flying_coin.first{
	top:5%;
	left:10%;
	transform: rotate(0deg);

}
img.flying_coin.second{
	top:10%;
	left:30%;
	transform: rotate(15deg);
}
img.flying_coin.third{
	top:7%;
	left:50%;
	transform: rotate(30deg);
}
img.flying_coin.fourth{
	top:10%;
	left:70%;
	transform: rotate(45deg);
}
img.flying_coin.fifth{
	top:5%;
	left:90%;
	transform: rotate(60deg);
}

@keyframes swooshcoin {
	from {
		transform: scale(0.0) rotateY(0deg);
		top:5%;
	}
	10% {
		transform: scale(1.0) rotateY(36deg);
		top:10%;
	}
	50% {
		transform: scale(1.0) rotateY(180deg);
		top:50%;
	}
	to {
		transform: scale(0.0) rotateY(360deg);
		top:95%;
	}
}

img.flying_coin_up{
	position: absolute;
	animation-name: swooshcoinup;
	animation-fill-mode: forwards; /* keep final state */
	animation-duration: 1.3s;
	animation-iteration-count: 1;
	z-index:10000;
	animation-timing-function: linear;
}

@keyframes swooshcoinup {
	from {
		transform: scale(0.0) rotateY(0deg);
		top:95%;
	}
	10% {
		transform: scale(1.0) rotateY(36deg);
		top:85%;
	}
	50% {
		transform: scale(1.0) rotateY(180deg);
		top:50%;
	}
	90% {
		transform: scale(1.0) rotateY(350deg);
		top:2%;
	}
	to {
		transform: scale(0.0) rotateY(360deg);
		top:0%;
	}
}

.teamcard{
	display:none;
	position: absolute;
	border: 1px solid white;
	background-image: linear-gradient(45deg, rgba(233,233,233,0.97), rgba(198,198,198,0.97), rgba(255,255,255,0.97), rgba(222,222,222,0.97), rgba(185,185,185,0.97));
	/*background-image: ms-linear-gradient(45deg, #eaeaeaf9, #c6c6c6F9, #fffffff9, #dfdfdff9, #bababaf9);*/
	vertical-align: top;
	color: black;
	font-family: var(--secondary-font-family);
	font-size: 15px;
	font-variant: small-caps;
	font-weight: bold;
}

.teamcard_left_column{
	position: relative;
	display: inline-block;
	width: 150px;
	height: 173px;
	vertical-align: top;
	background-image: linear-gradient(0deg, rgba(122,122,122,0.97), rgba(32,32,32,0.97), rgba(75,75,75,0.97), rgba(32,32,32,0.97), rgba(122,122,122,0.97));
	color: white;
	padding-top: 7px;
}
.teamcard_right_column{
	position: relative;
	display: inline-block;
	width: 250px;
	vertical-align: top;
}
div.teamcard_row{
	height: 17px;
	border-bottom: 1px solid grey;
}

.teamcard_row.stats.first {
	margin-top:15px;
}
.teamcard_row.stats.second {
	border-bottom:0px;
}
.teamcard_stat {
	display: inline-block;
	width: 30px;
	text-align: center;
}

div.teamcard_teamname{
	width: 150px;
	height: 40px;
	text-align: center;
	overflow: hidden;
	font-weight: bold;
	vertical-align: top;
}
img.teamcard_teamlogo{
	width:125px;
	margin-left: 12px;
	border-radius: 5px;
	box-shadow: 0px 0px 2px 2px grey;
}

div.teamcard_right_stat_header{
	display: inline-block;
	width: 100px;
	height: 17px;
	line-height: 17px;
	overflow: hidden;
	text-align: left;
	text-indent: 5px;
}
div.teamcard_right_stat_entry{
	display: inline-block;
	width: 140px;
	margin-right: 10px;
	height: 17px;
	line-height: 17px;
	overflow: hidden;
	text-align: right;
}

img.bottom_right_logo_image {
	position: absolute;
	right: 11px;
	bottom: 25px;
	height: 22px;
}
.bottom_right_copyright{
	position: absolute;
	right: 10px;
	bottom: 4px;
	color: white;
	font-family: var(--primary-font-family);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size:14px;
}

#playercard{
	display:none;
	position: absolute;
	border: 1px solid white;
	background-image: linear-gradient(45deg, rgba(20,20,20,0.5), rgba(0,0,0,0.5), rgba(40,40,40,0.5), rgba(0,0,0,0.5), rgba(20,20,20,0.5));
	vertical-align: top;
	color: white;
	font-family: var(--primary-font-family);
	font-size: 15px;
}

#playercard.gk{
	background-color: var(--blue-btn-color);
}
#playercard.def{
	background-color: var(--green-btn-color);
}
#playercard.mid{
	background-color: var(--yellow-btn-color);
}
#playercard.att{
	background-color: var(--red-btn-color);
}

/* PLAYERCARD */
#playercard .playercard_col_1{
	display:inline-block;
	width: 120px;
	height:250px;
	vertical-align: top;
	/*background-image: linear-gradient(0deg, rgba(122,122,122,0.97), rgba(32,32,32,0.97), rgba(75,75,75,0.97), rgba(32,32,32,0.97), rgba(122,122,122,0.97));*/
	background-color: var(--btn-color);
}
#playercard .playercard_col_2{
	display:inline-block;
	width: 390px;
	height:250px;
	margin-left:10px;
	vertical-align: top;
}

#playercard .player_card_picture{
	border-radius: 5px;
	margin-bottom: 60px;
	margin-top: 5px;
	margin-left: 10px;
	width:100px;
	height:100px;
}

#playercard img.playerinfo_ability_icon {
	top: 105px;
	left: 30px;
	height: 60px;
}
#playercard div#playerinfo_ability_short_text {
	left: 43px;
	top: 127px;
	font-family: var(--primary-font-family);
}
#playercard .player_card_flag{
	border-radius: 5px;
	margin-left: 10px;
}

.potstar_small.nomargin.pcard {
	position: absolute;
	top: 4px;
	right: 6px;
}

div#playercard_name {
	letter-spacing: 2px;
	font-size: 19px;
	height: 25px;
	line-height: 25px;
	background-color: var(--btn-color);
	margin-left: -10px;
	text-indent: 10px;
}

div#playercard_gi {
	vertical-align: top;
	line-height: 20px;
}

#playercard #playercard_stats_container {
	width: 380px;
	background-color: rgba(0,0,0,0.3);
	border-top: 1px solid red;
	margin-top: 2px;
}

#playercard #playercard_statistics_container {
	width: 380px;
	border-top: 1px solid red;
	border-bottom: 1px solid red;
	background-color: rgba(0,0,0,0.3);
}

#playercard .playercard_gi_left {
	display: inline-block;
	width: 150px;
	height: 20px;
	overflow: hidden;
	vertical-align: top;
}
#playercard .playercard_gi_right {
	display: inline-block;
	width: 150px;
	height: 20px;
	overflow: hidden;
	vertical-align: top;
}

#playercard .playercard_stat_header {
	display: inline-block;
	width: 34px;
	height: 18px;
	font-size: 14px;
}
#playercard .playercard_stat_entry {
	display: inline-block;
	width: 34px;
	height: 18px;
	font-size: 14px;
}

#playercard .playercard_statistics_header {
	display: inline-block;
	width: 54px;
	height: 18px;
	font-size: 14px;
}

#playercard .playercard_statistics_entry {
	display: inline-block;
	width: 54px;
	height: 18px;
	font-size: 14px;
}

#playercard .playercard_statistics_header.center {
	text-align: center;
}

#playercard .playercard_statistics_entry.center {
	text-align: center;
}


div#fresh_teams_outer_container {
	background-image: linear-gradient(45deg, black, #363636, black, #363636);
}
div.fresh_entry{
	height:25px;
	line-height: 25px;
	font-size: 14px;
}
div.fresh_entry.header{
	font-weight:bold;
}

div.fresh_cell {
	display: inline-block;
	width: 170px;
	height: inherit;
	overflow: hidden;
}
.fresh_cell.icons {
	width: 100px;
}
.fresh_cell.team {
	text-indent: 3px;
}
.fresh_cell.player {
	width: 130px;
}
.fresh_cell.amount {
	width: 80px;
	text-align:right;
}
.fresh_cell.season {
	text-align:center;
	width: 50px;
}
/* Rules stuff */
.rule_container {
	margin-top: 3px;
	margin-bottom: 10px;
	line-height: 20px;
}

.rule.normal {
	text-align: left;
}

.rule.bullet{
	text-align: left;
	text-indent: 20px;
	list-style-type: circle;
	list-style-position: inside;
	display: list-item;
}

.playerinfo_last_5_performance_item{
	display: inline-block;
	height: 30px;
	width: 33px;
	margin: 2px;
	margin-right: 38px;
	margin-left: 38px;
	font-size: 20px;
	line-height: 33px;
	border-radius: 10px;
	text-align: center;
	border: 1px solid grey;
	cursor: pointer;
	vertical-align: top;
}
.playerinfo_last_5_performance_item:hover{
	border: 1px solid orange;
}
.playerinfo_last_5_performance_item.header{
	text-align: left;
	width: 105px;
	background-color: #333;
	text-indent: 5px;
	border-radius: 0px;
	margin: 0px;
	margin-right: 20px;
	font-size: inherit;
	padding-top: 2px;
	padding-bottom: 3px;
	border: none;
	cursor: default;
}


div#team_statistics_box{
	top: 3px;
	left: 3px;
	width: 750px;
	height: 700px;
}

div#team_statistics_chart_box{
	top: 3px;
	left: 756px;
	width: 607px;
	height: 700px;
}

div#team_statistics_canvas_container{
	position: absolute;
	width:600px;
	height:650px;
}

div#team_statistics_selection_area{
	height: 25px;
	line-height: 25px;
	width:100%;
	font-size:20px;
}
div#team_statistics_selection_area label{
	vertical-align: top;
	margin-right: 10px;
}
div#team_statistics_selection_area input{
	margin-left: 10px;
}

#ts_base_statistics .ts_stat {
	display: inline-block;
	width: 130px;
	padding-left:5px;
	padding-right:5px;
	font-size:16px;
	line-height:16px;
}

#ts_base_statistics .ts_stat.center{
	text-align:center;
}
#ts_base_statistics .ts_stat.left{
	text-align:left;
}
#ts_base_statistics .ts_stat.right{
	text-align:right;
}


#ts_base_statistics .ts_base_stat_header{
	font-weight: bold;
	margin-top: 8px;
	margin-bottom: 4px;
	text-transform: uppercase;
	padding-left: 5px;
	/*border-top: 1px solid red;*/
	line-height: 25px;
	font-size: 16px;
}

.ts_base_stat_container {
	height: 18px;
	line-height: 18px;
}

#ts_base_statistics div.redlinebreak{
	display: block !important;
	margin: 3px 3px;
	position: relative !important;
	background-color: red;
	height: 1px;
}

#ts_base_statistics br{
	display: block !important;
	margin: 3px 3px;
	position: relative !important;
	content: "";
	background-color: red;
	height: 1px;
}


#team_statistics_history_box{
	top: 3px;
	left: 3px;
	width: 1360px;
	height: 701px;
}
#team_statistics_history_box canvas{
	background-color: white;
	margin: 5px;
	/*
	height: 635px;
	width: 1350ox;
	*/
	border-radius: 5px;;
}
/*
.playerinfo_last_5_performance_item.ball_green{
	background-color: green;
}
.playerinfo_last_5_performance_item.ball_orange{
	background-color: #9e6600;
}
.playerinfo_last_5_performance_item.ball_red{
	background-color: #7b0000;
}
*/


button.adyen-checkout__payment-method__header__title {
	width: auto;
}

input#friends_header_filter_input {
    font-size: 14px;
    height: 16px;
    margin: 0px;
    padding: 0px;
    margin-left: 20px;
    top: 6px;
    outline-offset: 0px;
    outline: none;
    padding-left: 10px;	
}

div#add_sponsor_box {
	right: 1px;
	height: 50%;
	left: 1px;
	padding: 5px;
}

div#add_sponsor_box .new_sponsor_form_item{
	display: block;
	width: 100%;
	min-height: 30px;
}

div#add_sponsor_box textarea{
	height: 100px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(55, 128, 128, 0.4);
	border-radius: 5px;
	box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5);
	vertical-align: top;
	overflow: visible;
	margin-top: 1px;
	padding-left: 5px;
	margin-bottom: 2px;
	font-size: 16px;
	font-family: var(--tertiary-font-family);
	width: 300px;
}

div#add_sponsor_box .prefs_input{
	padding-left:5px;
	padding-right: 5px;
	width:300px;
}

div#add_sponsor_box input[type="file"], div#add_sponsor_box select {
	padding-left:5px;
	padding-right: 5px;
}

select#new_sponsor_seasons{
	margin-right:10px;
}

label.new_sponsor_label {
	display: inline-block;
	width: 181px;
	vertical-align: top;
	font-size: 17px;
	line-height: 17px;
}

.prefs_help_text {
	display: inline-block;
	padding-left: 10px;
	font-style: italic;
	font-size: 13px;
	vertical-align: top;
	padding-top: 5px;
}

.new_sponsor_info {
	line-height: 150%;
	font-size: 14px;
}

div#pending_sponsors_box {
	right: 1px;
	top: 418px;
	bottom: 106px;
	left: 1px;
	padding: 5px;
}

.pending_sponsors_header{
	font-size: 15px;
	font-weight: bold;
}
.pending_sponsors_cell{
	font-size: 14px;
}

.pending_sponsors_header, .pending_sponsors_cell {
	display: inline-block;
	line-height: 25px;
	height: 25px;
	margin-left: 5px;
	margin-right: 5px;
	width: 100px;
}

.pending_sponsors_header.w50, .pending_sponsors_cell.w50 {
	width: 50px;
}
.pending_sponsors_header.w75, .pending_sponsors_cell.w75 {
	width: 75px;
}
.pending_sponsors_header.w100, .pending_sponsors_cell.w100 {
	width: 100px;
}
.pending_sponsors_header.w125, .pending_sponsors_cell.w125 {
	width: 125px;
}
.pending_sponsors_header.w150, .pending_sponsors_cell.w150 {
	width: 150px;
}
.pending_sponsors_header.w175, .pending_sponsors_cell.w175 {
	width: 175px;
}
.pending_sponsors_header.w200, .pending_sponsors_cell.w200 {
	width: 200px;
}
.pending_sponsors_header.w250, .pending_sponsors_cell.w250 {
	width: 250px;
}
.pending_sponsors_header.w300, .pending_sponsors_cell.w300 {
	width: 300px;
}

div#suggestedNewSponsorsistContainer {
	overflow-y: scroll;
	height: 676px;
}

div#admin_new_sponsors_box {
	width: 100%;
}

img.custom_sponsor_thumb{
	width: 150px;
	height: 60px;
	border-radius: 5px;
}
img.custom_sponsor_image{
	width: 150px;
	border-radius: 5px;
}


/* A Marginally less wide design for the 1366 laptops, 30 pixels should do it */
@media only screen and (max-width: 1366px) {
	.page_container{
		width: 1336px;
	}
	.top_container {
		width: 1336px;
	}
	.main_container {
		width: 1336px;
	}

	.chat_container {
		width: 949px;
	}
	#chat_input {
		width: 750px;
	}
	.chat_messages_container {
		width: 818px;
	}
	div#int_tut_popup{
		left:760px;
	}

	#top_news{
		width:413px;
	}
	.top_news_entry span{
		width:414px;
	}
	#top_threads{
		width:414px;
	}
	.status_thread_timestamp{
		width:65px;
	}
	#motd{
		width:414px;
	}
	#status_league_table{
		left:888px;
		width:447px;
	}
	#status_fix_res{
		left:888px;
		width:447px;
	}

	.status_thread_name{
		width:186px;
	}

	#status_field_box{
		left: 419px;
	}
	#overview{
		left: 419px;
	}
	div#hq_news{
		width:651px;
	}
	div#greatest_transfers_news{
		width:651px;
	}
	div.tr_news.col1, div.tr_news.col2, div.tr_news.col3{
		width:183px;
	}
	#mail_contacts{
		width:314px;
	}
	#mail_contacts_container{
		height:608px;
	}
	.mail_contacts_button {
		padding-left: 19px;
		padding-right: 19px;
	}
	.contacts_col_1, .contacts_col_2 {
		width: 118px;
		line-height: 21px;
	}
	.contacts_col_3 {
		width: 62px;
		line-height: 21px;
	}

	#forum_groups_box{
		width:1330px;
	}
	#thread_list_box {
		top: 1px;
		left: 1px;
		width: 1334px;
		height: 704px;
	}
	.forum_entry_cell.thread_name {
		width: 490px;
	}
	.thread_list_item.created_by {
		width: 178px;
	}
	.thread_list_item.last_post_by {
		width: 178px;
	}
	.thread_list_item.topic {
		width: 460px;
	}
	#thread_box {
		top: 3px;
		left: 351px;
		height: 700px;
		width: 984px;
	}
	.post_right {
		width: 760px;
	}
	.thread_reply_body{
		width:580px;
	}
	button.thread_reply_button{
		width:593px;
	}
	#notes_main_box{
		width:1192px;
	}

	#ts_player_list_box {
		top: 1px;
		left: 0px;
		width: 668px;
		height: 705px;
		user-select: none;
	}
	.ts_player_stat2.stat {
		width: 25px;
	}
	.ts_player_stat2.fielded {
		width: 18px;
	}
	.ts_player_stat2.gap {
		width: 3px;
	}
	#ts_tactics_box {
		top: 1px;
		left: 670px;
		width: 165px;
		position: absolute;
		height: 704px;
		border-radius: 0px;
	}

	.field_options{
		width:auto;
	}
	.field_top{
		width:auto;
		padding-top: 0px;
		margin-left: 0px;
	}
	#load_template_button, #save_template_button, #delete_template_button {
		width: 49px;
		margin-right: 1px;
		height: 45px;
		margin-left: 1px;
	}
	img.ts_template_button {
		height: 33px;
		margin: 0px;
	}
	#timers_button {
		width: 154px;
		margin-left: 0px;
		margin-right: 0px;
		/*height: 40px;*/
	}
	#set_piece_takers_button {
		width: 154px;
		margin-left: 0px;
		margin-right: 0px;
		/*height: 40px;*/
	}
	.field_option{
		width:auto;
	}
	select#ts_rendermode_dropdown {
		margin-left: 0px;
		margin-right: 0px;
	}
	select.ts_tactical_dropdown {
		width: 156px;
		margin-right: 0px;
		margin-left: 0px;
		margin-top: 5px;
	}
	#ts_field_box {
		top: 0px;
		left: 837px;
		height: 706px;
		width: 499px;
		background-color: rgba(0,0,0,0.8);
		border-radius: 0px;
	}
	.ts_stats_container {
		width: 579px;
	}
	.ts_player_stat.name {
		width: 171px;
	}
	.ts_player_stat.stat {
		width: 34px;
	}
	#training_player_list_box{
		width:777px;
	}

	.player_training_container .player_training_col.name {
		width: 125px;
	}
	.player_training_container .player_training_col.rest {
		width: 30px;
		text-indent: 5px;
		text-align: center;
		padding-right: 5px;
	}
	.player_training_button.short {
		width: 145px;
		text-align: center;
	}
	#training_reports_box{
		left:783px;
	}
	#training_icons_box{
		left:783px;
	}
	#training_team_box, #training_current_box, #training_camp_box{
		left:992px;
		width: 343px;
	}
	.team_stat_col.statname {
		width: 168px;
		text-indent: 10px;
	}

	.player_training_container .player_training_col.sum_season{
		width:145px;
		text-align: left;
		text-indent: 15px;
	}
	img.current_training_icon {
		width: 64px;
		height: 64px;
		margin: 8px;
		margin-left: 10px;
		margin-right: 10px;
		margin-top: 6px;
	}
	.camp_detail.entry {
		width: 190px;
	}
	select.order_camp_dropdown {
		width: 170px;
	}
	button.camp_button {
		width: 328px;
	}

	#create_event_box {
		width: 414px;
	}

	div.playfield.events_view {
		margin-left: 2%;
	}

	input#name_input {
		width: 393px;
		margin-left: 7px;
	}
	.event_criteria_dropdown {
		width: 400px;
	}
	.event_tactics_dropdown {
		width: 260px;
	}
	.events_sub_dropdown {
		width: 190px;
		margin-top: 4px;
		margin-bottom: 4px;
	}
	button.events_save_button {
		width: 191px;
	}
	#event_list_box{
		left:421px;
	}

	#staff_quotes_box{
		width:435px;
	}
	#staff_quotes_box .quote_container .quote_text {
		width: 363px;
	}

	div#department_details{
		width:438px;
		left:897px;
	}
	.league_detail_entry {
		width: 180px;
	}
	.tables_fixtures_results_container .fixture_entry .hometeam, .tables_fixtures_results_container .fixture_entry .awayteam {
		width: 170px;
	}
	.top_3_box{
		margin-left:4px;
	}

	#fixres_full_fixture_list {
		width: 864px;
	}

	#friendly_lowest_fitness_box {
		width: 517px;
	}
	#friendly_results_box{
		width:517px;
	}
	#friendly_results_box .col2, #friendly_results_box .col3 {
		width: 142px;
	}

	#friends_box {
		width: 1330px;
	}
	#friends_message_box {
		width: 467px;
	}
	#saved_matches_box {
		width: 1330px;
	}

	div#player_cup_list_box {
		width: 880px;
	}
	.pc_list_cell.name{
		width:209px;
	}
	#cl_my_box.playercups {
		left: 886px;
	}
	div#player_cup_form_box {
		left: 886px;
		width: 447px;
	}

	div#player_cup_right_box {
		width: 571px;
	}
	div#player_cup_chat_box {
		width: 571px;
	}
	#tournament_stats_box {
		width: 433px;
	}
	.cup_shout_msg {
		display: inline-block;
		width: 393px;
		min-height: 18px;
		font-size: 13px;
		vertical-align: top;
	}
	.pc_list_cell.status{
		width:90px;
	}

	#tournament_stats_scroll_wrapper .top_3_box {
		margin-left: 2px;
	}

	#cl_fixres_box {
		left: 692px;
	}

	#cl_groups_box {
		left: 3px;
		top: 2px;
		width: 1330px;
		height: 403px;
	}

	.tournament_group_container{
		margin-left:5px;
		margin-right:5px;
	}

	/* Transfer History */
	div#transfer_history_box {
		top: 3px;
		left: 3px;
		height: 702px;
		width: 1331px;
	}

	#mytransfers_special_box {
		width: 901px;
	}

	#mytransfers_listed_box .mytransfers_cell.actions {
		width: 218px;
	}
	#mytransfers_listed_box, #mytransfers_offers_box, #mytransfers_bids_box {
		width: 897px;
	}
	.mytransfers_player_cell.other, .mytransfers_cell.other {
		width: 100px;
		margin-left: 4px;
	}
	#mytransfers_transfer_history_box{
		width: 901px;
	}
	.stored_searches_cell.age {
		width: 90px;
	}
	.stored_searches_cell.updated{
		width:40px;
	}

	#player_search_stored_searches_box {
		width: 563px;
	}

	.stored_searches_cell.quality{
		width: 65px;
	}
	.stored_searches_cell.atts {
		width: 100px;
	}
	.stored_searches_cell.status {
		width: 50px;
	}
	.stored_searches_cell.age {
		width: 70px;
	}
	img.stored_searches_image {
		margin-right: 5px;
		margin-left: 5px;
	}

	#player_search_results_box {
		width: 1330px;
	}
	.player_search_result_cell.icons {
		width: 105px;
	}
	.player_search_result_cell.stat {
		width: 36px;
	}

	#active_transfers_form_box {
		width: 1330px;
	}
	.active_transfer_filters_container {
		width: 517px;
	}
	.as_filter_container {
		width: 502px;
	}

	#active_transfers_results_box {
		width: 1330px;
	}
	.at_cell.team {
		width: 135px;
	}

	#watches_news_box, #watches_scout_box {
		width: 480px;
	}
	.last_scouted_cell.potential {
		width: 148px;
	}
	#stadium_picture_box {
		width: 579px;
	}
	#main_stadium_image {
		width: 577px;
	}
	div#stadium_coming_box {
		width: 579px;
	}
	div#stadium_statues_box {
		width: 579px;
	}

	#finances_summary_box {
		width: 403px;
	}
	#finances_summary_box .finances_header_container .finances_cell.category, #finances_summary_box .finances_entry_container .finances_cell.category {
		width: 235px;
	}

	#finance_history_box {
		width: 1330px;
	}

	#finance_history_canvas_container{
		margin-left:5px;
		width:1290px;
		height: 396px;
	}

	#sponsor_logo_box {
		width: 867px;
	}
	#sponsor_deal_box {
		width: 419px;
	}
	.sponsor_deal_item_container {
		padding-left: 25px;
	}
	#sponsor_history_box {
		left: 873px;
	}
	#sponsor_selection_box {
		width: 867px;
	}
	#sponsor_comparison_box {
		width: 867px;
	}
	div.sponsor_comparison_cell {
		width: 82px;
	}
	div.sponsor_select_container {
		margin-left: 7px;
		margin-right: 7px;
	}
	#champions_main_box {
		width: 1336px;
	}
	select.champions_league_select {
		width: 165px;
	}
	#current_champion_box_CL, #current_champion_box_SU, #current_champion_box_CWC{
		width:428px;
	}

	#current_champion_box_PC {
		width: 428px;
	}
	div#this_season_box_PC {
		width: 428px;

	}

	#champions_ranked_list_box {
		width: 428px;
	}
	#champions_ranked_list_box .champ_rl.t_name{
		width: 155px;
	}
	#champions_ranked_list_box .champ_rl.m_name{
		width: 155px;
	}

	#player_ranking_top_threes {
		width: 411px;
	}

	#player_ranking_top_threes .top_3_box {
		margin: 3px;
		margin-left: 2px;
		margin-top: 0px;
		margin-right: 1px;
	}
	.pr_top3_header {
		margin-left: 2px;
		margin-right: 3px;
	}

	#mlfa_ranking_left{
		top: 3px;
		left: 3px;
		width: 665px;
		height: 701px;
	}
	#mlfa_ranking_right{
		top: 3px;
		left: 670px;
		width: 665px;
		height: 701px;
	}

	#mlfa_ranking_left .team_ranking_col.names, #mlfa_ranking_right .team_ranking_col.names {
		width: 275px;
	}


	#team_ranking_left, #team_ranking_right{
		width:553px;
	}
	#team_ranking_right {
		left: 780px;
	}
	.team_ranking_col.names {
		width: 165px;
	}

	#manager_ranking_box {
		top: 3px;
		left: 3px;
		width: 1113px;
		height: 700px;
	}
	.mr_col.manager{
		width:200px;
	}
	.mr_col.team{
		width:200px;
	}

	div#manager_ranking_league_box {
		left: 1120px;
	}
	div#trophy_ranking_box {
		width: 1330px;
	}
	div#p2w_ranking_box {
		width: 1330px;
	}

	#change_credit_conversion_box {
		width: 305px;
	}

	#misc_settings_box{
		width:631px;
	}

	div#payment_paypal_box, div#payment_sms_box{
		width:399px;
	}

	#free_credits_box {
		width: 1330px;
	}

	.match_popup {
		width: 1336px;
	}
	#pre_match_overlay_container{
		width: 1336px;
	}
	div#pre_match_overlay_field {
		width: 1336px;
		background-size: 1336px 683px;
	}

	#pre_match_central_container {
		width: 402px;
		left: 466px;
	}
	#copy_match_link_button2{
		right: auto;
		left: 516px;
		bottom: 20px;
	}
	#save_match_button2{
		right: auto;
		left: 618px;
		bottom: 20px;
	}
	#exit_match_button2{
		right: auto;
		left: 723px;
		bottom: 20px;
	}
	.match_lower_right_buttons_container {
		width: 366px;
		left: 975px;
	}
	.match_stats_container {
		height: 534px;
		width: 337px;
	}
	.match_stat_home_bar, .match_stat_away_bar {
		max-width: 115px;
	}
	.match_timeline_circle.pt {
		left: 1289px;
	}
	#mom_button{
		left:130px;
	}
	div.fresh_cell {
		width:160px;
	}

	div#team_statistics_chart_box{
		width: 577px;
	}

	div#team_statistics_canvas_container{
		position: absolute;
		width:570px;
		height:650px;
	}

	div#team_statistics_history_box{
		top: 3px;
		left: 3px;
		width: 1330px;
		height: 701px;
	}
	#team_statistics_history_box canvas{
		background-color: white;
		margin: 5px;
		/*
		height: 635px;
		width: 1350ox;
		*/
		border-radius: 5px;;
	}

}


/* A NARROW DESIGN FOR THINGS LIKE PHONES */
@media only screen and (max-width: 1100px) {
	body{
		font-size:19px;
	}
	.page_container{
		position: relative;
		width: 860px;
		height:1315px;
		background: url(images/ml2/testbgmain_2.jpg);
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
		transform-origin: center top;
		margin-left:auto;
		margin-right:auto;
	}
	.bottom_right_logo{
		bottom: 122px;
		width: 860px;
		height: 48px;
		background-size: auto;
		background-image: linear-gradient(45deg, #666, #333, #666, #333, #666, #333);
		border-top: 1px solid white;
		border-bottom: 1px solid white;
	}
	.bottom_right_copyright{
		display:none;
	}
	.menu_container{
		position: relative;
		z-index: 10;
		border:1px solid black;
		height:26px;
	}

	.std_box{
		border-radius:0px;
	}
	.std_box_header{
		border-radius: 0px;
	}
	.modal_window{
		left:143px;
	}

	div#int_tut_popup {
		left: 148px;
		top: 649px;
		font-size:17px;
	}

	img#int_tut_mini {
		position: absolute;
		bottom: 2px;
		right: 400px;
		width: 43px;
		height: 43px;
		display: none;
	}

	#modal_window{
		top:300px;
		left:185px;
	}

	div#modal_window_wide {
		top: auto;
		left: 10px;
		bottom: 110px;
	}

	#modal_window_help{
		top: auto;
		left: 68px;
		bottom: 175px;
	}
	#modal_window_tut{
		top: auto;
		left: 68px;
		bottom: 175px;
	}
	.top_container {
		position: relative;
		width: 860px;
		height: 60px;
		background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.8) 50%,rgba(0,0,0,0.5) 100%);
	}
	img.top_credits_icon{
		height: 18px;
		float: left;
		padding-left: 85px;
	}

	.cut_left, .cut_right{
		display:none;
	}

	.top_info {
		left: 386px;
		transform: skew(0deg);
		background: transparent;
		border:none;
	}
	.top_info > * {
		transform: skew(0deg);
	}

	.top_center_text {
		width: 175px;
		height: 55px;
		text-align: center;
		line-height: 17px;
	}
	.season_round{
		left:0px;
	}
	.cash{
		left:0px;
	}
	.credits{
		left:0px;
	}

	.top_sponsor_container{
		display:none;
	}

	.skewed_container_2 {
		transform: skew(0deg);
		left:0px;
		width:307px;
	}
	.skewed_container_text{
		background:none;
	}
	.top_text {
		transform: skew(0deg);
	}
	.red_line {
		position: absolute;
		left: 0px;
		height: 2px;
		width: 400px;
		background: red;
		top: 30px;
  }
	.bottom_text {
		transform: skew(0deg);
		left: 35px !important;
	}

	.main_container {
		position: relative;
		width: 860px;
		height: 1055px;
	}

	.server_time{
		color:white;
		font-family: var(--primary-font-family);
		text-align: right;
		padding-top: 4px;
		padding-right: 10px;
		padding-bottom: 4px;
		font-size:14px;
	}


	/* Menu styling */
	/*
	#sddm{

		margin: 0;
		padding: 0;
		z-index: 30;
		font-family: var(--primary-font-family);
	}
	*/

	#sddm li{
		/*
		margin: 0;
		padding: 0;
		list-style: none;
		float: left;
		font-family: var(--primary-font-family);
		*/
		font-size:15px;
	}

	#sddm li a{
		/*
		display: block;
		margin: 0 0 0 0;
		color: #FFF;
		text-align: center;
		text-decoration: none;
		cursor:default;
		*/
		font-size:15px;
		padding: 4px 10px;
		width:auto;
	}

	/*
	#sddm li a:hover{
		background: rgba(69, 69, 69, 0.95);
	}
	*/

	#sddm div{
		/*
		position: absolute;
		visibility: hidden;
		margin: 0;
		padding: 0;
		background: rgba(69, 69, 69, 0.98);
		border: 1px solid #000000;
		*/
		min-width:110px;
		margin-top:-2px;
	}

	#sddm div a{
		/*
		position: relative;
		display: block;
		margin: 0;
		width: auto;
		white-space: nowrap;
		text-align: left;
		text-decoration: none;
		color:white;
		font-family: var(--primary-font-family);
		cursor:pointer;
		*/
		font-size: 18px;
		padding: 10px 5px;
	}

	/*
	#sddm div a:hover
	{
		color: #FFF;
	}
	*/

	#m9 a {
		padding: 7px !important;
	}
	div#m10 {
		right: 0px;
	}
	/* ENDMenu styling */

	.next_wrapper{
		display:none !important;
	}
	/* Chat mobile*/
	.chat_container{
		width:860px;
		height: 122px;
	}
	.chat_messages_container{
		width:700px;
		bottom: 31px;
	}
	#chat_input{
		width:667px;
		height:25px;
	}
	#chat_channel_select{
		height: 25px;
		padding:1px;
	}

	#quickmenu_chat_icons_container {
		right: 28px;
		bottom: 32px;
	}

	img.chat_rules{
		bottom: 48px;
		right: 5px;
	}

	img.chat_up{
		width: 35px;
	}

	img.chat_down{
		width: 35px;
	}



	/*Content boxes */

	.std_scroll_wrapper{
		font-size:15px;
	}

	#overview {
		top: 398px;
		left: 0px;
		height: 312px;
		width: 415px;
  }

	.overview_item_container {
		width: 415px;
		height: 20px;
		background-color: rgba(0,0,0,0.3);
	}
	.overview_header {
		width: 195px;
	}

	.overview_entry {
		width: 205px;
	}

	#motd {
		left: 0px;
		top: 3px;
		height: 393px;
		width: 415px;
  	}
	#motd_content{
		height: 338px;
  	}
	#top_news {
		top: 3px;
		left: 0px;
		height: 393px;
		width: 415px;
		overflow: auto;
	}
	#top_news .std_scroll_wrapper{
		height:361px;
	}

	.top_news_entry span{
		width:390px;
		min-height: 32px;
	}
	.top_news_entry{
		font-size:16px;
	}

	#status_field_box{
		width: 441px;
		height: 393px;
	}

	#status_field_box #playfield{
		transform: scaleX(0.89) scaleY(0.90);
	}

	#top_threads {
		left: 0px;
		width: 420px;
		top: 714px;
		height: 340px;
	}
	.status_thread_name {
		width: 192px;
	}

	#status_fix_res {
		width: 440px;
		left: 420px;
		height: 245px;
		top: 809px;
	}
	#status_fix_res .status_fixres_round {
		width: 45px;
	}
	#status_fix_res .status_fixres_home {
		width: 145px;
	}
	#status_fix_res .status_fixres_away {
		width: 145px;
	}
	#status_fix_res .status_fixres_type {
		width: 50px;
	}

	div#top_threads_scroll_container {
		height: 288px;
	}


	#status_league_table{
		width: 441px;
		left: 419px;
		top:398px;
	}
	#status_league_table .team_name {
		width: 185px;
	}

	.ticker_wrap{
		width:100%;
	}

	#news_news{
		top: 3px;
		left: 3px;
		height: 329px;
		width: 855px;
		background: rgba(0,0,0,0.8);
	}


	div#news_scroll_wrapper {
		height: 307px;
	}
	#news_news .top_news_entry span{
		width:828px;
	}

	div#hq_news {
		top: 344px;
		left: 3px;
		height: 253px;
		width: 855px;
		background-image: url(images/new/Frames/3x1hqbg.png);
	}
	div#hq_news_scroll_wrapper {
		height: 219px;
	}

	div#latest_transfers_news {
		width: 855px;
		height: 225px;
		left: 3px;
		top: 600px;
	}

	div#greatest_transfers_news {
		width: 855px;
		height: 225px;
		left: 3px;
		top: 828px;
	}
	div.tr_news.col1 {
		width: 200px;
		text-indent: 5px;
		overflow: hidden;
  }

	div.tr_news.col2, div.tr_news.col3 {
		width: 225px;
		overflow: hidden;
  	}

	div.tr_news.col4 {
		width: 120px;
		text-align:right;
		overflow: hidden;
  	}

	div#latest_transfers_scroll_wrapper{
		height:170px;
	}
	div#greatest_transfers_scroll_wrapper{
		height:170px;
	}

	#mail_sidebar {
		top: 3px;
		left: 3px;
		width: 855px;
		height: 84px;
	}

	#mail_sidebar .mail_sidebar_image{
		padding-left: 23px;
	}

	#mail_sidebar hr{
		display:none;
	}
	#mail_messages {
		top: 90px;
		left: 3px;
		width: 855px;
		height: 345px;
  	}
	#mail_message{
		top: 437px;
		left: 3px;
		width: 848px;
		height: 344px;
	}
	.mail_sidebar_sponsor_text{
		position: absolute;
		right: 10px;
		top: 3px;
		margin-top: 0px;
		width: 190px;
	}
	#mail_sidebar .sponsor_information_image{
		position: absolute;
		right: 40px;
		top: 26px;
		margin-top: 0px;
		width: 130px;
	}
	#mail_contacts {
		top: 788px;
		left: 3px;
		width: 855px;
		height: 266px;
		background-color: rgba(0,0,0,0.9);
	}

	.contacts_col_1, .contacts_col_2 {
		width: 346px;
		line-height: 21px;
		text-indent: 10px;
	}

	#mail_contacts_container {
		height: 175px;
	}

	#forum_groups_box {
		top: 3px;
		left: 3px;
		width: 855px;
		height: 1050px;
	}

	.forum_group_forum{
		font-size: 16px;
	}

	div#modal_window_forumsearch {
		width: 820px;
		font-size: 14px;
		top: 650px;
		left: 6px;

	}
	div.forum_search_result_cell.creator{
		display:none;
	}
	div.post_reactions{
		margin-left: 1px;
	}

	#forum_groups_scroll_wrapper {
		height: 1020px;
	}
	.forum_entry_cell.thread_path {
		width: 150px;
	}
	.forum_entry_cell.thread_name {
		width: 315px;
	}
	.forum_entry_cell.thread_last_post_by {
		width: 150px;
		text-indent: 5px;
	}
	.forum_entry_cell.thread_last_post_time {
		width: 100px;
	}
	.forum_entry_cell.link_to_bottom {
		width: 30px;
		text-align: right;
	}
	.forum_entry_cell.bookmark {
		width: 80px;
		text-align: center;
	}
	.forum_entry_cell.name {
		display: inline-block;
		width: 260px;
		text-indent: 10px;
  }
  .forum_entry_cell.description {
		display: inline-block;
		width: 548px;
	}
	.forum_entry_cell.subscribe {
		display: inline-block;
		width: 20px;
		vertical-align: top;
	}

	#left_thread_box{
		height: 1050px;
		width:270px;
	}
	.left_list_thread_entry{
		/*width: 250px;*/
    	font-size: 17px;
    	height: 19px;
		line-height: 19px;
	}

	#thread_box {
		top: 3px;
		left: 278px;
		height: 1050px;
		width: 582px;
		background-color: rgba(0,0,0,0.9);
	}
	span.thread_header {
		display: block;
		width: 386px;
		height: 30px;
		overflow: hidden;
	}
	.post_left{
		width:150px;
		height:205px;
	}
	.poster_frame{
		text-align:left;
		height:180px;
	}
	.post_avatar {
		width: 75px;
		height: 75px;
		margin-left: 0px;
	}
	.poster_role {
		position: absolute;
		writing-mode: unset;
		text-orientation: upright;
		text-align: center;
		top: 69px;
		left: 10px;
		font-size: 18px;
		letter-spacing: normal;
		height: 18px;
		width: 76px;
		font-weight: bold;
		text-shadow: black 0px 0px 4px;
		background-color: rgba(0,0,0,0.7);
		border-radius: 0px 0px 5px 5px;
	}
	.post_right {
		width: 401px;
	}
	.post_button {
		width: 88px;
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 5px;
		margin-bottom: 3px;
		height: 23px;
  }
	.postball{
		left:90px;
	}
	.poster_postcounter{
		left: 89px;
		margin-top: 171px;
		width: 50px;
		font-size: 14px;
		height: 17px;
	}
	.poster_trophyrank{
		left: 90px;
		margin-top: 54px;
		font-size: 14px;
		width: 50px;
	}
	.post_flag {
		width: 40px;
		position: absolute;
		margin-top: 160px;
		border-radius: 5px;
		left: 10px;
	}
	.poster_division {
		position: absolute;
		text-align: center;
		border: 1px solid #898989;
		width: 26px;
		border-radius: 0px 3px 3px 0px;
		left: 49px;
		margin-top: 170px;
		background-color: #a08c5f;
		cursor: default;
		border-left: none;
	}

	.poster_team{
		height:38px;
	}
	.post_timestamp{
		display:block;
	}
	#thread_scroll_wrapper {
		height: 1020px;
  }
  .thread_emoji_container {
		width: 200px;
		height: 194px;
		display: inline-block;
		padding-left: 3px;
		overflow: hidden;
		overflow-y: auto;
	}
	.thread_reply_body{
		width:350px;
	}
	button.thread_reply_button {
		width: 558px;
		margin-left: 5px;
	}
	button.thread_reply_button.noadmin{
		margin-left:0px;
	}
	#thread_list_box {
		top: 3px;
		left: 3px;
		width: 855px;
		height: 1050px;
		font-family: var(--secondary-font-family);
	}
	div#thread_list_scroll_wrapper {
		height: 890px;
	}
	.thread_list_item.icon{
		width:30px;
	}
	.thread_list_item.topic {
		width: 275px;
		cursor: pointer;
		height: inherit;
		padding-right: 5px;
		overflow: hidden;

	}
	.thread_list_item.created_by {
		width: 130px;
		height:inherit;
		overflow:hidden;

	}
  .thread_list_item.posts {
		width: 60px;
		height:inherit;
		overflow:hidden;
	}
	.thread_list_item.reads {
		display:none;
	}
	.thread_list_item.last_post {
		width: 100px;
		text-align: center;
		height:inherit;
		overflow:hidden;
	}
	.thread_list_item.last_post_by {
		width: 140px;
		cursor: pointer;
		height:inherit;
		overflow:hidden;

	}
	.thread_list_item.actions {
		width: 100px;
		text-align: center;
		height:inherit;
		overflow:hidden;
	}
	#new_thread_button{
		margin-left:100px;
		margin-right:100px;
	}

	#notes_main_box {
		left: 3px;
		top: 101px;
		height: 952px;
		width: 855px;
	}
	#notes_scroll_wrapper {
		width: auto;
		height: 950px;
	}
	#notes_sidebar{
		width: 855px;
		height: 95px;
	}
	.notes_sidebar_icon_container {
		display: inline-block;
	 }
	#notes_sidebar hr{
		display:none;
	}
	div.note_container{
		width:98%;
		max-height:100px;
	}
	.note_right{
		width:90%;
	}

	.notes_team_container {
		width: 733px;
	}
	#notes_scroll_wrapper .player_training_container {
		width: 748px;
		margin-left: 5px;
	}
	#notes_scroll_wrapper .player_training_col.name {
		width: 150px;
	  }

	#notes_sidebar .mail_sidebar_image {
		padding-left: 38px;
		padding-right: 38px;
		padding-top: 10px;
	}
	div.notes_sidebar_text {
		text-transform: uppercase;
		font-size: 12px;
		text-align: center;
		width: 100%;
		cursor: pointer;
		padding-top: 4px;
		height: 27px;
		line-height: 12px;
	}

	#notes_sidebar_text_1{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 0px;
		top: 65px;
	}
	#notes_sidebar_text_2{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 140px;
		top: 65px;
	}
	#notes_sidebar_text_3{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 280px;
		top: 65px;
	}
	#notes_sidebar_text_4{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 420px;
		top: 65px;
	}
	#notes_sidebar_text_5{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 560px;
		top: 65px;
	}
	#notes_sidebar_text_6{
		position: absolute;
		width: 140px;
		text-align: center;
		left: 700px;
		top: 65px;
	}
	#ts_field_box {
		top: 706px;
		left: 0px;
		height: 350px;
		width: 861px;
		background-color: rgba(0,0,0,0.8);
  }
	#ts_field_box .playfield {
		width: 100%;
		height: 100%;
		background: url(images/ml2/bgs/ts_mob_field.jpg);
		font-family: var(--primary-font-family);
		color: white;
		position: relative;
		background-position: center;
		background-size: 100% 100%;
  }
  #ts_field_box .player_field_container {
		position: absolute;
		color: white;
		font-family: var(--primary-font-family);
		font-size: 14px;
		line-height: 14px;
		text-shadow: 1px 1px 1px black;
		text-align: center;
		width: 105px;
		cursor: pointer;
		height: 50px;
	}
	#ts_field_box .player_field_shirtnumber{
		top: -4px;
		font-size: 16px;
		font-family: var(--tertiary-font-family);
		left: 1px;
	}
	#ts_field_box .player_field_container img {
		position: absolute;
		left: 24px;
		width: 60px;
		height: 45px;
  }
	#ts_field_box .player_field_name {
		position: relative;
		top: 22px;
		height: 11px;
		background: rgba(12,12,48,0.8);
		border-radius: 5px 5px 0px 0px;
		padding: 0px;
		box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5);
		overflow: visible;
		width: 104px;
		font-size: 11px;
	}
	#ts_field_box .player_field_number {
		position: absolute;
		top: 33px;
		width: 104px;
		height: 12px;
		line-height: 12px;
		color: white;
		border-radius: 0px 0px 5px 5px;
		background: rgba(12,12,48,0.8);
		font-size: 11px;
		box-shadow: inset 4px -2px 1px -3px rgba(255,255,255,0.5);
	}

	.player_field_container.sub.sub12{
		left: 2px;
		top: 2px;
	}
	.player_field_container.sub.sub13{
		left: 2px;
		top: 52px;
	}
	.player_field_container.sub.sub14{
		left: 2px;
		top: 102px;
	}
	.player_field_container.sub.sub15{
		left: 2px;
		top: 152px;
	}
	.player_field_container.sub.sub16{
		left: 2px;
		top: 202px;
	}
	.player_field_container.sub.sub17{
		left: 2px;
		top: 252px;
	}
	.player_field_container.sub.sub18{
		left: 2px;
		top: 302px;
	}


	div#team_setup_stats {
		position: absolute;
		z-index: 9;
		background-color: transparent;
		width:100%;
		height: 30px;
	}

	.ti_hof_list_scroller {
		overflow-y: scroll;
		height: 556px;
		width: 480px;
	}

	img.ts_ability_icon.field_icon{
		width:15px !important;
		height:15px !important;
	}

	#ts_field_box img.ts_ability_icon.field_icon.card {
		left: 69px;
		top: 5px;
	}

	.team_setup_stat {
		display: inline-block;
		width: 123px;
		height: 28px;
		line-height: 27px;
		font-size: 20px;
		font-variant: small-caps;
		background-color: rgba(0,0,0,0.7);
		border-radius: 0px 0px 10px 10px;
		position: absolute;
		text-align: center;
		top: 0px;
	}
	.team_setup_stat.first{
		left:125px;
	}
	.team_setup_stat.second{
		left:325px;
	}
	.team_setup_stat.third{
		left:525px;
	}
	.team_setup_stat.fourth{
		left:725px;
	}

	#ts_tactics_box {
		width: 188px;
		border-radius: 0px;
		left: 671px;
		height: 705px;
	}
	.field_options {
		width: 173px;
		padding-left: 10px;
	}
  .field_top{
		width:166px;
	}
	#ts_player_list_box{
		border-radius:0px;
	}
	.field_options hr {
		width: 166px;
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 3px;
		margin-bottom: 3px;
	}
	.field_option{
		width:169px;
		margin-bottom: 3px;
	}
	select.ts_tactical_dropdown{
		width:154px;
	}
	#load_template_button, #save_template_button, #delete_template_button{
		width: 53px;
	}
	#timers_button {
		width: 169px;
	}

	#set_piece_takers_button {
		width: 169px;
	}
	img.ts_template_button {
		margin-left: -3px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.captain {
		top: -8px;
		left: 47px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.penalty {
		top: 6px;
		left: 5px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.attfk {
		top: 44px;
		left: 5px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.deffk {
		top: 44px;
		left: 88px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.corner {
		top: 6px;
		left: 88px;
	}
	.ts_stats_container{
		width:580px;
	}
	.ts_player_stat.stat {
		width: 34px;
	}
	.ts_player_container{
		width:auto;
		line-height: 17px;
	}

	#set_piece_takers_popup{
		left:21px;
	}

	div.player_info_popup {
		top: 290px;
		left: 70px;
	}

	/* Mobile training */
	#training_player_list_box {
		top: 0px;
		left: 0px;
		width: 860px;
		height: 706px;
		user-select: none;
  	}
	.player_training_container {
		margin-bottom: 1px;
		height: 20px;
		font-family: var(--primary-font-family);
		font-size: 13px;
		line-height: 20px;
  	}
	.player_training_container .player_training_col {
		display: inline-block;
		height: 18px;
		width: 22px;
		line-height: 18px;
		text-align: center;
		vertical-align: top;
		position: relative;
	}

	.player_training_container .player_training_col.stat{
		cursor:pointer;
		width:25px;
	}

	.player_training_container .player_training_col.total, .player_training_container .player_training_col.rest{
		width:35px;
	}

	.player_training_container.summary.line1{
		margin-top:5px;
	}
	.player_training_container.summary.line3{
		display:none;
	}

	.player_training_container .player_training_col.sum_season {
		width: 153px;
		text-indent: 20px;
	}
	.player_training_container .player_training_col.spacer {
		width: 380px;
	}

	input[type="button"].player_training_button.long {
		width:298px;
	}

	.training_reports_button {
		display:block;
	}
	#training_report_popup{
		top: 480px;
		left: 188px;
		width:570px;
	}
	#report_content{
		max-height:500px;
	}
	.training_report_entry{
		cursor:pointer;
		border-bottom:1px solid white;

	}
	.training_report_col.col1{
		width:200px;
	}
	.training_report_col.col2, .training_report_col.col3{
		width:50px;
	}

	#training_icons_box {
		position: absolute;
		top: 708px;
		left: 359px;
		height: 284px;
		width: 193px;
		text-align: center;
		background-color: rgba(0,0,0,0.7);
		border-radius: 0px;
	}

	#training_team_box {
		position: absolute;
		top: 708px;
		left: 0px;
		height: 284px;
		width: 359px;
		border-radius: 0px;
	}

	.team_stat_col.statname {
		width: 175px;
		text-indent: 10px;
	}

	.team_training_icon_info {
		font-size: 14px;
		text-align: justify;
		padding: 0px 5px 0px 5px;
		position: absolute;
		left: -360px;
		top: 284px;
		width: 543px;
		background-color: black;
		height: 65px;
		border-top: 1px solid red;
	}

	img.training_icon.selected {
		border: 1px solid #eeff00;
		margin: 0px;
		filter: brightness(115%);
	}
	img.training_icon {
		width: 57px;
		height: 57px;
		cursor: pointer;
		margin-top: 2px;
	}
	img.current_training_icon {
		width: 57px;
		height: 57px;
		margin: 5px;
		margin-left: 8px;
		margin-right: 9px;
	}

	#training_reports_box {
		display: none;
  	}
  	#training_reports_scroll_wrapper {
		height: 129px;
		text-align: left;
	}

	.camp_detail {
		width: 140px;
		font-size: 14px;
		text-indent: 5px;
	}
	.camp_detail.entry {
		width: 152px;
	}
	button.camp_button {
		width: 289px;
		margin-left: 5px;
	}

	#training_reports_scroll_wrapper_camp {
		display: none;
	}

	#training_current_box {
		position: absolute;
		top: 708px;
		left: 552px;
		height: 96px;
		width: 310px;
		border-radius: 0px;
	}
	#training_camp_box {
		position: absolute;
		top: 804px;
		left: 552px;
		height: 252px;
		width: 308px;
		border-radius: 0px;
	}

	select.order_camp_dropdown {
		font-size: 13px;
		margin-top: 1px;
		margin-bottom: 2px;
		width: 148px;
	}

	/* Mobile event design */

	div#event_popup {
		width: 855px;
		height: 700px;
		top: 10px;
		left: 0px;
	}

	#create_event_box {
		top: 0px;
		left: 0px;
		height: 140px;
		width: 860px;
	}
	#event_list_box {
		top: 143px;
		left: 0px;
		width: 860px;
		height: 912px;
		background-color: rgba(0,0,0,0.7);
	}
	#events_scroll_wrapper {
		height: 880px;
	}
	.event_criteria_dropdown {
		width: 416px;
		margin-left: 5px;
		margin-top: 4px;
		margin-bottom: 4px;
	}
	.event_tactics_dropdown {
		width: 261px;
		margin-left: 5px;
		margin-top: 0px;
		margin-bottom: 4px;
		margin-right: 15px;
		vertical-align: middle;
	}

	button.events_save_button {
		margin: 5px;
		width: 208px;
		margin-left: 12%;
		margin-right: 12%;
	}
	.event_header {
		margin-top: 2px;
		margin-bottom: 2px;
	}
	.evcell.name {
		margin-left: 15px;
		margin-right: 15px;
		width: 490px;
		color: orange;
	}
	.evcell.bodyright {
		width: 336px;
	}
	.ev_player_sub_box {
		width: 160px;
	}
	.evcell.preview{
		visibility: hidden;
	}


	#enable_all_events_button, #disable_all_events_button, #enable_visible_events_button, #disable_visible_events_button {
		z-index: 5;
		width:173px;
		margin-left: 20px;
		margin-right: 20px;
		margin-top: 20px;
	}


	#create_event_box #formation{
		display: block;
	}

	.events_sub_dropdown, .events_sub_dropdown.left {
		width: 365px;
		margin-top: 4px;
		margin-bottom: 4px;
		margin-right: 24px;
		margin-left: 24px;
	}
	.events_tac_header {
		display: inline-block;
		text-indent: 5px;
		width: 140px;
		font-variant: small-caps;
		padding-top: 4px;
	}
	.events_sub_header.first {
		text-transform: uppercase;
		padding-top: 0px;
		border-top: none;
		display: inline-block;
		width: 203px;
	}
	#create_event_box input#name_input {
		width: 500px;
		margin-left: 7px;
		margin-top: 8px;
	}

	/* Mobile Staff design */
	#staff_mystaff_box {
		top: 3px;
		left: 0px;
		height: 399px;
		width: 861px;
	}
	#staff_search_box {
		top: 403px;
		left: 0px;
		height: 373px;
		width: 861px;
	}
	#staff_search_scroll_wrapper {
		height: 282px;
	}
	#staff_quotes_box {
		position: absolute;
		width: 861px;
		left: 0px;
		height: 279px;
		top: 777px;
		background: rgba(0,0,0,0.7);
		overflow: hidden;
	}
	#staff_quotes_box .quote_container .quote_icon {
		width: 40px;
		height: 40px;
		float: left;
		display: block;
		margin-top: 0px;
		margin-right: 10px;
		margin-left: 3px;
	}
	#staff_quotes_box .quote_container .quote_text {
		display: block;
		font-style: italic;
		float: left;
		width: 575px;
		height: 40px;
		position: relative;
		font-size: 17px;
	}
	#staff_quotes_box .quote_container .quote_signature {
		display: block;
		font-weight: bold;
		float: left;
		margin-top: 5px;
		text-indent: 23px;
	}

	div.staff_cell.name {
		width: 170px;
		text-indent: 5px;
		overflow: hidden;
  }
  div.staff_cell.age {
		width: 65px;
		text-align: center;
	}
	div.staff_cell.field {
		width: 134px;
	}
	div.staff_cell.quality {
		width: 100px;
	}
	div.staff_cell.time {
		width: 90px;
		text-align: center;
	}
	div.staff_cell.salary {
		width: 70px;
		text-align: right;
	}
	div.staff_cell.actions {
		width: 215px;
		text-align: center;
	}
	button.sackbutton {
		width: 100px;
		height: 20px;
		line-height: 18px;
		margin-right: 1px;
		margin-left: 1px;
	}
	div.staff_cell.search {
		width: 214px;
		text-align: center;
	}
	#staff_quotes_box .quote_container {
		width: 100%;
		min-height: 36px;
		margin-bottom: 15px;
		clear: both;
		display: block;
	}

	/*Mobile tables design */
	#tables_league_table {
		top: 3px;
		left: 0px;
		height: 452px;
		width: 861px;
		background: rgba(0,0,0,0.7);
	}

	#tables_league_table .points_entry{
		width: 31px;
		vertical-align: top;
	}

	div#table_history_graph_box {
		position: absolute;
		left: 0px;
		top: 461px;
		width: 861px;
		height: 242px;
		background-color: rgba(0,0,0,0.9);
	}

	#tables_league_table .team_name{
		width:190px;
	}

	div#department_details{
		left: 0px;
		top: 705px;
		height: 349px;
		width: 468px;
	}
	.tables_fixtures_results_container .fixture_entry .hometeam, .tables_fixtures_results_container .fixture_entry .awayteam {
		width: 185px;
	}
	#mob_dep_top_three_container{
		position: absolute;
		top: 0px;
		left: 468px;
		width: 392px;
		height: 348px;
		overflow-y: scroll;
		background-color: black;
	}

	#mob_dep_top_three_container .top_3_box {
		width: 109px;
		margin-left:10px;
	}

	div#department_details_scroll_wrapper{
		height:348px;
	}

	#fixres_full_fixture_list {
		top: 3px;
		left: 0px;
		width: 861px;
		height: 640px;
	}
	#fixres_full_fixture_list_scroll_wrapper {
		height: 585px;
  	}

	#fixres_fixres {
		top: 645px;
		right: auto;
		width: 392px;
		left: 0px;
		height: 411px;
  	}

	#fixres_league_table{
		top: 645px;
		bottom: unset;
		right: unset;
		left: 395px;
		width: 465px;
	}
	#fixres_table_rounds{
		display:none;
	}

	#fixres_fixtures_results_container .hometeam, #fixres_fixtures_results_container .awayteam {
		width: 160px;
	}

	/* Mobile Friendlies*/
	#friendly_results_box{
		top: 703px;
		left: 0px;
		height: 352px;
		width:547px;
	}
	#friendly_results_scroll_wrapper {
		height: 299px;
	}
	#friendly_lowest_fitness_box{
		top: 703px;
		left: 550px;
		width: 309px;
		height: 352px;
	}

	#friendly_lowest_fitness_players .top_3_name {
		font-size: 14px;
	}

	#friendly_stats_box {
		top: 3px;
		left: 551px;
		width: 307px;
		height: 698px;
	}

	.friendly_stats_button_container button.modal_button{
		width:130px;
		margin-left:10px;
		margin-right:10px;
	}
	#team_search_box {
		top: 501px;
		left: 0px;
		width: 547px;
		height: 200px;
 	}
	#friendly_medkit_icon {
		display: block;
		width: 40px;
		padding-top: 0px;
		padding-left: 141px;
	}
	#friendly_normal_box {
		top: 3px;
		left: 0px;
		width: 547px;
		height: 310px;
	}
	#friendly_open_box {
		top: 315px;
		left: 0px;
		width: 547px;
		height: 191px;
	}
	.friendly_queue_entry_wrapper {
		height: 25px;
		line-height: 25px;
  	}
	.friendly_info_text {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	/* Mobile Friends*/
	#friends_cup_box {
		top: 600px;
		left: 493px;
		width: 370px;
		height: 224px;
		text-align: center;
	}

	#cup_invite_button {
		width: 340px;
		margin-left: 15px;
	}

	#friends_message_box {
		top: 825px;
		left: 493px;
		width: 370px;
		height: 231px;
		text-align: center;
	}
	#team_search_box.friends_section {
		width: 492px;
		height: 456px;
		top: 600px;
	}

	#friends_box {
		top: 0px;
		left: 0px;
		height: 598px;
		width: 861px;
		background-color: rgba(0,0,0,0.9);
	}
	#friends_scroll_wrapper {
		height: 542px;
	}

	.friends_list_cell.league{
		width: 35px;
	}

	.friends_list_cell.name {
		width: 180px;
		cursor: pointer;
	}
	.friends_list_cell.stat.short {
		width: 39px;
		text-align: center;
	}
	.friends_list_cell.actions {
		width: 75px;
	}

	.friends_section #team_search_results_container {
		height: 367px;
		overflow-y: scroll;
	}

	#team_search_results_container {
		height: 112px;
	}
	/* Mobile Saved matches */
	#saved_matches_box{
		top: 0px;
		left: 0px;
		width: 861px;
		height: 1056px;
	}

	div.saved_matches_cell {
		width: 70px;
	}

	div.saved_matches_cell.hometeam, div.saved_matches_cell.awayteam{
		width: 158px;
	}

	div.saved_matches_cell.date{
		display:none;
	}

	div.saved_matches_cell.type {
		width: 180px;
		text-indent: 10px;
	}

	div.saved_matches_cell.delete{
		cursor:pointer;
		width:70px;
	}
	div.saved_matches_cell.notes{
		cursor:pointer;
		width:70px;
	}

	div#saved_matches_scroll_wrapper {
		height: 998px;
		font-size: 14px;
	}

	/* Mobile Player-cups */
	div#player_cup_list_box {
		top: 3px;
		left: 0px;
		width: 861px;
		height: 653px;
	}
	div#pc_list_scroll_wrapper {
		height: 547px;
	}

	div#player_cup_teamlist_box {
		top: 383px;
		left: 0px;
		width: 861px;
		height: 470px;
	}
	div#pc_teamlist_scroll_wrapper {
		height: 416px;
	}

	div#player_cup_right_box {
		top: 0px;
		left: 0px;
		width: 861px;
		height: 380px;
	}
	.cup_info_right_entry.description{
		max-height:191px;
	}
	div#player_cup_chat_box {
		top: 855px;
		left: 0px;
		width: 861px;
		height: 200px;
	}

	img.send_cup_message_icon{
		top:33px;
	}
	.cup_info_right_half_header, .cup_info_right_half_entry{
		width:20%;
	}
	.cup_info_right_half_entry{
		font-size:16px;
	}
	div#pc_fixres_scroll_wrapper {
		height: 411px;
	}
	div#player_cup_fixres_box {
		top: 383px;
		left: 0px;
		width: 861px;
		height: 470px;
	}
	#cl_my_box.playercups {
		left: 0px;
		top: 657px;
		background-color: rgba(0,0,0,0.9);
		width: 447px;
		height: 399px;
	}
	div#player_cup_form_box {
		top: 657px;
		left: 448px;
		width: 414px;
		height: 399px;
	}
	.cup_form_header {
		width: 189px;
	}
	.cup_form_header.full, .cup_form_input.full {
		width: 403px;
		margin-left: 5px;
	}
	.cup_shout_name{
		width:125px;
		font-size:16px;
	}
	.cup_shout_msg{
		width:635px;
		font-size:16px;
	}
	.cup_shout_time{
		width:50px;
		font-size:16px;
	}
	div#cup_shout_box{
		max-height:131px;
	}
	textarea#cc_description {
		width: 398px;
		margin-left: 5px;
		border-radius: 5px;
		height: 100px;
	}
	.pc_list_cell {
		width: 95px;
  	}
	.pc_list_cell.name {
		width: 200px;
	}
	.pc_list_cell.teams {
		width: 80px;
	}
	.pc_list_cell.time {
		width: 45px;
	}
	.pc_list_cell.tiny {
		width: 40px;
		text-align: center;
  	}

	/* Mobile League Cup */
	#tournament_stats_box {
		left: 0px;
		top: 705px;
		width: 463px;
		height: 350px;
	}
	#tournament_stats_scroll_wrapper {
		height: 320px;
	}
	#cl_my_box {
		left: 0px;
		top: 408px;
		width: 422px;
		height: 295px;
		text-align: center;
		background-color:rgba(0,0,0,0.8);
	}
	div.my_cl_spacer {
		width: 100%;
		position: relative;
		display: block;
		height: 3px;
	}
	.my_cl_header {
		background-color: rgba(249, 252, 255, 0.14);
		font-family: var(--primary-font-family);
		font-variant: small-caps;
		line-height: 24px;
		height: 24px;
		font-size: 14px;
		font-weight: bold;
		letter-spacing: 2px;
		overflow: hidden;
	}

	.my_cl_header, .my_cl_entry {
		position: relative;
		display: inline-block;
		width: 210px;
		height: 20px;
		line-height:20px;
		text-align: center;
	}

	.int_champions_cell.int_team{
		width: 176px;
	}

	.int_champions_cell{
		width:176px;
	}

	#cl_champs_box {
		left: 426px;
		top: 408px;
		width: 434px;
		height: 295px;
		background-color: rgba(0, 0, 0, 0.80);
	}
	.cup_champions_bg_flag {
		width: 423px;
		height: 243px;
		position: absolute;
		left: 10px;
		opacity: 0.250;
	}
	#cup_info_box {
		top: 705px;
		left: 467px;
		width: 393px;
		height: 351px;
		overflow: hidden;
	}

	.cup_info_trophy.second {
		width: 200px;
		height: 200px;
		left: 152px;
		top: 113px;
		opacity: 0.3;
	}
	.cup_info_trophy.first {
		width: 250px;
		height: 250px;
		left: 6px;
		top: 52px;
		opacity: 0.4;
	}
	.cup_info_text {
		position: relative;
		padding-left: 3px;
		padding-right: 3px;
		padding-top: 1px;
		text-align: justify;
		font-size: 14px;
		line-height: 14px;
	}
	.cup_fixres_cell.ht, .cup_fixres_cell.at {
		width: 225px;
		text-indent: 5px;
	}
	.cup_fixres_cell {
		display: inline-block;
		width: 100px;
		cursor: default;
		overflow: hidden;
	}
	.cup_fixres_cell.timeres {
		width: 140px;
		text-align: center;
	}
	#cup_fixres_box {
		top: 3px;
		left: 0px;
		width: 861px;
		height: 402px;
	}

	/* Mobile int tournaments design */

	#cl_groups_box {
		left: 0px;
		top: 0px;
		width: 861px;
		height: 405px;
		background: transparent;
	}

	#cl_groups_box.mini{
		top: 3px;
		height: 402px;
		width: 392px;
		background-image: linear-gradient(45deg, #282828, #222222,#282828, #222222,#282828, #222222);
	}
	.tournament_group_container {
		margin-bottom: 14px;
		margin-left: 4px;
		margin-right: 4px;
		font-size: 13px;
		width: 207px;
	}

	div.tournament_group_cell.team{
		width:142px;
	}

	#tournament_group_popup div.tournament_group_cell.team{
		width:250px;
	}

	div#tournament_group_popup{
		left:20px;
	}

	#cl_fixres_box {
		left: 396px;
		width: 464px;
	}
	div.cl_fixres_cell {
		width: 167px;
	}
	.cl_fixres_entry_container .cl_fixres_cell.team, .cl_fixres_header_container .cl_fixres_cell.team {
		width: 155px;
	}
	.cl_fixres_entry_container .cl_fixres_cell.time, .cl_fixres_header_container .cl_fixres_cell.time {
		width: 80px;
	}
	.cl_fixres_entry_container .cl_fixres_cell.result, .cl_fixres_header_container .cl_fixres_cell.result {
		width: 80px;
	}
	.tournament_group_cell.num.wins, .tournament_group_cell.num.draws, .tournament_group_cell.num.losses, .tournament_group_cell.num.gd {
		display: none;
	}

	.tournament_group_container.group1, .tournament_group_container.group2,	.tournament_group_container.group3,	.tournament_group_container.group4,
	.tournament_group_container.group5,	.tournament_group_container.group6,	.tournament_group_container.group7,	.tournament_group_container.group8{
		left: 0px;
	}
	.tournament_group_header_container {
		display: none;
	}

	#tournament_group_popup .tournament_group_header_container{
		display:block;
	}
	#tournament_group_popup .tournament_group_cell.num.wins, #tournament_group_popup .tournament_group_cell.num.draws, #tournament_group_popup .tournament_group_cell.num.losses, #tournament_group_popup .tournament_group_cell.num.gd {
		display: inline-block;
	}

	#tournament_popup_table_container .tournament_group_container {
		width: 537px;
		margin-right: 0px;
		margin-left: 0px;
	}

	img.cup_bg_image {
		position: absolute;
		top: 791px;
		left: 560px;
		width: 200px;
		height: 200px;
		opacity: 1;
	}

	/* Mobile Transfer History */
	div#transfer_history_box {
		top: 0px;
		left: 0px;
		height: 1055px;
		width: 860px;
	}

	div#transfer_history_container {
		margin-top: 10px;
		height: 990px;
	}

	div#transfer_history_items_container {
		height: 965px;
		overflow-y: scroll;
	}

	/* We need an override for the hidden columns for Transfer History */
	#transfer_history_container .mytransfers_history_container .mytransfers_cell.date, #transfer_history_container .mytransfers_history_container .mytransfers_cell.other{
		display:inline-block;
	}

	/* Mobile My Transfers design */
	#mytransfers_player_box {
		top: 2px;
		left: 0px;
		width: 442px;
		height: 515px;
		position: relative;
	}
	#mytransfers_special_box {
		top: 520px;
		left: 0px;
		width: 861px;
		height: 537px;
	}
	#mytransfers_listed_box {
		top: 4px;
		left: 0px;
		width: 861px;
		background: none;
		position: relative;
	}
	#mytransfers_offers_box {
		left: 0px;
		width: 861px;
		background: none;
		position: relative;
		margin-top: 5px;
	}
	#mytransfers_bids_box {
		left: 0px;
		width: 861px;
		background: none;
		position: relative;
		margin-top: 5px;
	}

	#mytransfers_transfer_history_box{
		top: 3px;
		left: 444px;
		width: 416px;
		height: 515px;
	}

	.mytransfers_history_container .mytransfers_cell.date, .mytransfers_history_container .mytransfers_cell.other{
		display:none;
	}
	.mytransfers_history_container .mytransfers_cell.name{
		width:150px;
	}
	.mytransfers_history_container .mytransfers_cell.value{
		width:70px;
	}

	#mytransfers_player_scroll_wrapper {
		height: 396px;
	}
	.mytransfers_cell {
		display: inline-block;
		vertical-align: top;
		height: 24px;
		line-height: 24px;
		width: 100px;
		overflow: hidden;
		font-size: 15px;
	}
	.mytransfers_player_cell.name, .mytransfers_cell.name {
		text-indent: 5px;
		width: 140px;
	}
	.mytransfers_player_cell.value, .mytransfers_cell.value {
		width: 58px;
		text-align: right;
		padding-right: 3px;
	}
	.mytransfers_player_cell.other, .mytransfers_cell.other {
		width: 124px;
		margin-left: 4px;
	}
	#mobile_extra_transfer_info_box{
		position: absolute;
		top: 3px;
		left:400px;
		display: block;
	}
	.mytransfers_player_cell.actions {
		width: 50px;
		text-align: center;
	}

	#mytransfers_player_scroll_wrapper .mytransfers_player_cell.value.short, #mytransfers_player_scroll_wrapper .mytransfers_cell.value.short {
		width: 55px;
		text-align: right;
		padding-right: 5px;
	}

	#mytransfers_player_scroll_wrapper .mytransfers_player_cell.actions{
		width: 30px;
	}
	#mytransfers_player_scroll_wrapper .mytransfers_player_cell.actions img{
		margin-right: 0px;
	}

	/* Mobile player search*/
	#player_search_form_box {
		top: 3px;
		left: 0px;
		height: 257px;
		width: 861px;
		background: rgba(0,0,0,0.4);
	}
	#player_search_stored_searches_box {
		top: 263px;
		left: 0px;
		height: 257px;
		width: 861px;
		background: rgba(0,0,0,0.7);
	}
	#player_search_results_box {
		top: 523px;
		left: 0px;
		height: 533px;
		width: 861px;
		background: rgba(0,0,0,0.6);
	}
	#player_search_results_scroll_wrapper {
		height: 479px;
		font-size: 15px;
	}



	.player_search_result_cell.stat {
		width: 29px;
	}
	.player_search_result_cell.value {
		width: 50px;
		text-align: right;
	}
	.player_search_result_cell.name {
		width: 98px;
		text-indent: 2px;
	}
	.player_search_result_cell.owner_teamname {
		width: 110px;
		text-indent: 3px;
	}
	.player_search_result_cell.icons {
		width: 40px;
	}
	.player_search_result_cell.actions {
		width: 65px;
	}
	.player_search_result_cell.fit{
		display:none;
	}

	/* override, allow the mobile view to position it further down */
	@keyframes fadeOutAndUp {
		0% {
			 top:400px;
			 opacity: 1.0;
		}
	  50% {
		  top:350px;
		  opacity: 1.0;
		}
		75% {
		  top:325px;
		  opacity: 0.8;
		}
		90% {
		  top:310px;
		  opacity: 0.1;
	  }
	  100% {
		  top:300px;
		  opacity: 0;
		}
  }


	div.new_feedback_container{
		position:absolute;
		left:100px;
	}
	#player_search_button_container{
		left: 588px;
		height: 215px;
		top: 32px;
	}
	#player_search_form_box .player_search_group.second {
		left: 221px;
		width: 359px;
	}
	.search_stat_quality{
		width: 170px;
		margin-right: 10px;
	}

	#player_search_group_second div.search_form_line_container{
		margin-bottom:10px;
	}
	select.search_stat_dropdown{
		width: 170px;
		margin-right: 10px;
	}
	input.search_stat_input{
		margin-left: 10px;
	}

	.stored_searches_cell.quality, .stored_searches_cell.age {
		width: 95px;
  }

	img.stored_searches_image {
		margin-right: 25px;
		margin-left: 25px;
  }

	.stored_searches_cell.atts {
		width: 140px;
	}
	.stored_searches_cell.status {
		width: 80px;
	}

	.stored_searches_cell.ability {
		width: 40px;
		text-align: center;
	}

	.stored_searches_cell.actions {
		width: 250px;
		text-align: center;
	}

	#player_search_button_container div.search_stat_quality{
		width:130px;
	}

	#player_search_button_container div.search_form_line_container{
		margin-bottom:7px;
	}

	/* Mobile Active Transfers*/
	#active_transfers_form_box {
		left: 0px;
		height: 210px;
		width: 861px;
	}
	#active_transfers_results_box {
		position: absolute;
		top: 269px;
		left: 0px;
		width: 861px;
		height: 786px;
	}
	div#active_transfers_result_scroll_wrapper {
		height: 729px;
	}
	.at_cell {
		display: inline-block;
		width: 77px;
		height: inherit;
		vertical-align: top;
	}
	.at_cell.team {
		width: 125px;
	}
	.at_cell.stat {
		width: 25px;
	}
	.at_cell.stat.normal {
		display:none;
	}

	.at_cell.name {
		width: 100px;
	}
	.at_cell.amount {
		width: 45px;
	}
	.at_cell.medium {
		width: 75px;
		overflow: hidden;
	}
	.at_cell.note {
		width: 25px;
		overflow: hidden;
	}
	.at_cell.report {
		width: 70px;
	}

	.active_transfer_filters_container {
		display: inline-block;
		width: 861px;
		vertical-align: top;
		height: 110px;
		margin-top: 6px;
		background-color: var(--box-bg-1);
	}

	.as_filters_header {
		width: 100%;
	}
	.as_filter_container {
		width: auto;
		padding-left: 15px;
		margin-top: 6px;
		display: block;
	}
	input[type="checkbox"].as_filter_checkbox {
		display: inline-block;
		vertical-align: text-top;
		margin-top: 0px !important;
	}
	.as_filter_text {
		display: inline-block;
		vertical-align: inherit;
		font-weight: normal;
		font-size: 17px;
	}
	.as_outer_search_container {
		width: 181px;
	}
	.as_outer_search_header {
		width: 100%;
	}
	#active_transfers_form_box .active_transfer_search_button_container {
		left: 19px;
		top: 2px;
	}

	/* Mobile Watches*/
	#watches_box {
		top: 3px;
		left: 0px;
		width: 861px;
		height: 700px;
	}
	#watches_news_box {
		top: 706px;
		left: 0px;
		height: 350px;
		width: 466px;
	}
	#watches_news_scroll_wrapper {
		height: 320px;
	}
	#watches_scout_box {
		top: 706px;
		left: 468px;
		height: 350px;
		width: 392px;
	}
	div.last_scouted_cell, img.last_scouted_cell {
		display: inline-block;
		overflow: hidden;
		height: inherit;
		vertical-align: middle;
	}
	#watches_scout_scroll_wrapper {
		height: 316px;
		padding-left: 5px;
		padding-right: 0px;
	}
	.last_scouted_cell.scouted_player_name {
		width: 160px;
	}
	.last_scouted_cell.potential {
		width: 75px;
	}

	/* Mobile Stadium Section*/
	#stadium_facilities_box {
		left: 0px;
		top: 3px;
		width: 861px;
		height: 395px;
	}
	#stadium_picture_box {
		left: 0px;
		top: 399px;
		width: 609px;
		height: 355px;
	}
	#stadium_revenue_box {
		left: 0px;
		top: 755px;
		width: 446px;
		height: 300px;
	}
	#stadium_prices_box {
		left: 610px;
		top: 399px;
		width: 250px;
		height: 190px;
	}
	#stadium_decay_box {
		left: 610px;
		top: 590px;
		width: 250px;
		height: 164px;
	}
	div#stadium_coming_box {
		position: absolute;
		top: 755px;
		left: 447px;
		width: 413px;
		height: 301px;
	}
	div#stadium_statues_box {
		position: absolute;
		top: 755px;
		left: 447px;
		width: 413px;
		height: 301px;
	}

	div.facility_cell.type {
		width: 218px;
		text-indent: 5px;
	}
	div.facility_cell.curr, div.facility_cell.next {
		width: 200px;
	}
	div.facility_cell.cost {
		width: 112px;
	}
	div.facility_cell.time {
		width: 58px;
		text-align: center;
	}
	div.facility_cell.actions {
		width: 55px;
		text-align: center;
	}
	#main_stadium_image {
		width: 607px;
		height: 299px;
		cursor: pointer;
		margin-left: 2px;
	}
	#stadium_prices_box .cell.left {
		text-indent: 10px;
	}
	#stadium_prices_box .cell {
		display: inline-block;
		width: 159px;
		vertical-align: top;
		height: 28px;
		line-height: 28px;
		overflow: hidden;
		font-size: 16px;
	}
	#stadium_prices_box .cell.right {
		width: 76px;
		text-align: center;
	}
	#stadium_prices_box .cell input[type="text"] {
		width: 35px;
		text-align: right;
		padding-right: 11px;
	}


	/* Mobile finances */
	.finances_header_container.special_break {
		margin-top: 1px;
	}
	#finances_summary_box div.finances_cell.income, #finances_summary_box div.finances_cell.expense{
		width:130px;
	}
	#finances_report_box {
		left: 0px;
		top: 3px;
		width: 423px;
		height: 749px;
		cursor: default;
		background-image: none;
		background-color: rgba(255,255,255,0.75);
	}
	#finances_summary_box {
		left: 427px;
		top: 3px;
		width: 433px;
		height: 749px;
		cursor: default;
		background-image: none;
		background-color: rgba(255,255,255,0.75);
	}
	#finances_graph_box {
		left: 3px;
		top: 753px;
		width: 557px;
		height: 303px;
		background-image: none;
		background-color: rgba(255,255,255,0.75);
	}
	#finances_stats_box {
		left: 561px;
		top: 753px;
		width: 299px;
		height: 303px;
		background-image: none;
		background-color: rgba(255,255,255,0.75);
	}

	#finance_history_box {
		width: 860px;
		height: 1054px;
		left: 0px;
		top: 0px;
		background-image: none;
		background-color: rgba(255,255,255,0.75);
	}

	#finance_history_canvas_container{
		margin-left: 0px;
		width: 100%;
		height: auto;
		border-top: 5px solid black;
	}

	#finance_history_entries {
		height: 694px;
		overflow-y: auto;
	}

	div.finances_cell.income.history{
		width:135px;
	}
	#finance_history_box div.finances_cell.season{
		margin-left: 25px;
	}

	.finances_header_container {
		margin-left: 2px;
	}
	.finances_entry_container {
		margin-left: 2px;
		height: 20px;
	}
	#finances_summary_box .finances_header_container .finances_cell.category, #finances_summary_box .finances_entry_container .finances_cell.category {
		width: 265px;
	}

	div.finances_cell {
		display: inline-block;
		width: 100px;
		color: black;
		height: 20px;
		line-height: 20px;
		border-bottom: 1px solid blue;
		overflow: hidden;
		height: inherit;
		vertical-align: middle;
	}
	div.finances_cell.category {
		width: 161px;
		text-indent: 5px;
	}
	div.finances_cell.note {
		width: 282px;
		text-indent: 3px;
		display: none;
	}
	div.finances_cell.income {
		width: 106px;
		text-align: right;
		padding-right: 5px;
	}
	div.finances_cell.expense {
		width: 106px;
		text-align: right;
		padding-right: 5px;
	}
	.finance_round_selector_container {
		position: absolute;
		top: 0px;
		width: 46%;
		left: 53%;
		text-align: center;
		text-indent: 0px;
	}
	img.prev_finance_round {
		position: absolute;
		left: 24px;
		height: 31px;
	}
	div.finance_round_header {
		display: inline-block;
		text-align: center;
		width: 96px;
	}
	img.next_finance_round {
		position: absolute;
		left: 135px;
		height: 31px;
	}
	#finance_entries {
		height: 594px;
		overflow-y: scroll;
	}
	#finance_graph {
		margin-left: 0px;
		width: 555px;
	}
	div.finances_cell.stat_left {
		font-weight: bold;
		width: 163px;
		text-indent: 5px;
		line-height: 24px;
		height: 24px;
		border-bottom: 1px solid blue;
		border-left: 1px solid blue;
		margin-left: 2px;
		font-size: 15px;
		font-variant: small-caps;
		overflow: hidden;
		vertical-align: bottom;
	}
	div.finances_cell.stat_right {
		width: 124px;
		text-align: right;
		line-height: 24px;
		height: 24px;
		border-bottom: 1px solid blue;
		border-left: 1px solid blue;
		border-right: 1px solid blue;
		padding-right: 4px;
		font-size: 15px;
		overflow: hidden;
		vertical-align: bottom;
	}
	img.pen_image {
		position: relative;
		margin-left: 0px;
		margin-top: 12px;
	}

	#finances_summary_box .finances_header_container, #finances_summary_box .finances_entry_container{
		margin-left: 15px;
	}

	/* Mobile Sponsor Section*/
	#sponsor_history_box {
		left: 0px;
		top: 702px;
		width: 861px;
		height: 354px;
		cursor: default;
		background-color: rgba(0, 0, 0, 0.90);
	}
	#sponsor_information_box {
		left: 0px;
		top: 3px;
		width: 408px;
		height: 303px;
		background-color: rgba(0, 0, 0, 0.76);
	}
	#sponsor_deal_box {
		left: 411px;
		top: 3px;
		width: 449px;
		height: 303px;
		background-color: rgba(0, 0, 0, 0.76);
	}
	#sponsor_logo_box {
		left: 0px;
		top: 307px;
		width: 861px;
		height: 394px;
		background-color: rgba(0, 0, 0, 0.76);
	}

	div#sponsor_history_canvas_container {
		height: 143px;
	}
	#sponsor_history_canvas{
		height: inherit;
		width: inherit;
	}

	div#sponsor_history_scroll_wrapper {
		height: 155px !important;
	}
	.sponsor_deal_item_container {
		height: 27px;
		line-height: 27px;
	}
	.sponsor_deal_left {
		display: inline-block;
		width: 180px;
		height: inherit;
		line-height: inherit;
		text-align: left;
		text-indent: 5px;
		border-bottom: 1px solid white;
		font-variant: small-caps;
		font-size: 19px;
		overflow: hidden;
	}
	.sponsor_deal_right {
		display: inline-block;
		width: 180px;
		height: inherit;
		line-height: inherit;
		text-align: right;
		font-weight: normal;
		border-bottom: 1px solid white;
		font-size: 19px;
		overflow: hidden;
	}

	#sponsor_selection_box {
		left: 0px;
		top: 0px;
		width: 861px;
		height: 400px;
		background-color: rgba(0, 0, 0, 0.76);
	}
	div.sponsor_select_container {
		display: inline-block;
		width: 200px;
		text-align: center;
		margin: 11px;
		margin-right: 7px;
		margin-left: 7px;
	}
	#sponsor_comparison_box {
		left: 0px;
		top: 401px;
		width: 861px;
		height: 305px;
		background-color: rgba(0, 0, 0, 0.76);
	}
	div.sponsor_comparison_cell {
		display: inline-block;
		vertical-align: top;
		height: 24px;
		line-height: 24px;
		width: 85px;
		font-size: 13px;
		text-align: right;
	}
	div.sponsor_comparison_cell.cred {
		width: 40px;
		text-align: center;
	}
	/* Mobile Champions */
	#champions_main_box {
		width: 861px;
		top: 0px;
		height: 64px;
		padding-top: 6px;
		border-radius: 0px;
	}
	#current_champion_box_CL {
		top: 841px;
		height: 215px;
		width: 285px;
		left: 0px;
	}


	#champions_ranked_list_box {
		top: 841px;
		height: 215px;
		width: 573px;
		left: 287px;
	}
	#champions_ranked_list_scroll_wrapper{
		height: 157px;
	}
	#champions_ranked_list_box .champ_rl.t_name{
		width: 210px;
	}
	#champions_ranked_list_box .champ_rl.m_name{
		width: 210px;
	}

	#current_champion_box_SU {
		top: 841px;
		height: 215px;
		width: 286px;
		left: 287px;
	}
	#current_champion_box_CWC {
		top: 841px;
		height: 217px;
		width: 285px;
		left: 575px;
	}

	#current_champion_box_PC {
		left: 0px;
		top: 843px;
		width: 430px;
		height: 212px;
	}
	div#this_season_box_PC {
		left: 430px;
		top: 843px;
		width: 430px;
		height: 212px;
	}

	div#current_champion_box_PC div.my_cl_spacer, div#this_season_box_PC div.my_cl_spacer{
		height:1px;
	}

	#current_champion_box_PC .my_cl_header, #current_champion_box_PC .my_cl_entry{
		height: 22px;
		line-height:22px;
	}
	#this_season_box_PC .my_cl_header, #this_season_box_PC .my_cl_entry{
		height: 22px;
		line-height:22px;
	}

	#champions_list_box {
		top: 70px;
		left: 00px;
		height: 771px;
		width: 861px;
	}
	#champions_scroll_wrapper {
		height: 739px;
	}
	.champ_col.manager {
		width: 216px;
	}
	img.single_champ_trophy {
		position: absolute;
		top: 83px;
		left: 0px;
		height: 125px;
		width: 125px;
		border-radius: 7px;
		z-index: 2;
	}
	img.single_champ_logo {
		position: absolute;
		top: 83px;
		right: 15px;
		height: 125px;
		width: 125px;
		border-radius: 7px;
		z-index: 2;
	}
	img.single_champ_flag {
		position: absolute;
		top: 119px;
		left: 72px;
		width: 72px;
		height: 56px;
		border-radius: 5px;
	}

	/* Mobile Player Rankings */

	button.champions_rankings_button.players{
		height:23px;
	}

	#player_ranking_menu {
		top: 3px;
		left: 0px;
		width: 214px;
		height: 580px;
		background-color: rgba(0,0,0,0.7);
	}
	#player_ranking_top_threes {
		top: 583px;
		left: 0px;
		width: 861px;
		height: 474px;
		background-color: rgba(0,0,0,0.7);
	}
	#player_ranking_main {
		top: 3px;
		left: 216px;
		width: 644px;
		height: 580px;
		background-color: rgba(0,0,0,0.7);
	}
	button.champions_rankings_button{
		margin-bottom: 2px;
	}

	#pr_scroll_wrapper {
		height: 528px;
	}
	.player_rank_col.age {
		width: 50px;
		text-align: center;
	}
	.player_rank_col.quality {
		width: 65px;
		text-align: center;
	}
	.player_rank_col.matches {
		width: 65px;
		margin-right: 5px;
		text-align: center;
	}
	.player_rank_col.metric {
		width: 90px;
		text-align: center;
		margin-right: 5px;
	}
	#player_ranking_top_threes .top_3_box {
		margin-left: 7px;
		margin-top: 0px;
	}
	.pr_top3_header {
		margin-top: 0px;
	}
	.pr_outer_top3_container {
		background-color: black;
		padding-top: 4px;
	}
	.pr_top3_header {
		background-color: var(--btn-color);
		height: 25px;
		line-height: 24px;
		text-align: center;
		font-variant: small-caps;
		font-weight: bold;
		border-radius: 5px 5px 0px 0px;
		margin-top: 0px;
		margin-left: 6px;
		margin-right: 6px;
	}


	/* Mobile Team Rankings */
	#team_ranking_menu {
		top: 3px;
		left: 0px;
		width: 217px;
		height: 1053px;
		background-color: rgba(0,0,0,0.7);
	}
	#team_ranking_left {
		top: 3px;
		left: 219px;
		width: 641px;
		height: 525px;
		background-color: rgba(0,0,0,0.7);
	}
	#team_ranking_right {
		top: 530px;
		left: 219px;
		width: 641px;
		height: 525px;
		background-color: rgba(0,0,0,0.7);
	}

	#mlfa_ranking_left{
		top: 3px;
		left: 0px;
		width: 860px;
		height: 525px;
	}
	#mlfa_ranking_right{
		top: 530px;
		left: 0px;
		width: 860px;
		height: 525px;
	}
	#mlfa_ranking_left .team_ranking_col.names, #mlfa_ranking_right .team_ranking_col.names {
		width: 414px;
	}
	#tr_scroll_wrapper_right, #tr_scroll_wrapper_left {
		height: 494px;
	}

	.team_ranking_col.metric {
		font-size: 25px;
		line-height: 50px;
		text-align: right;
		width: 185px;
		margin-right:25px;
	}

	.team_ranking_col.metric.money {
		font-size: inherit;
	}

	.team_ranking_col.names {
		width: 199px;
		padding-top: 4px;
		height: 46px;
		overflow:hidden;
	}

	/* Mobile Manager Rankings */
	div#manager_ranking_league_box {
		left: 0px;
		top: 0px;
		width: 861px;
		height: 160px;
		background-color: rgba(0,0,0,0.7);
	}

	div.mr_league_info{
		width:100%;
		text-align:left;
	}

	.manager_ranking_league_info_content_box {
		display: inline-block;
		width: 140px;
		vertical-align: top;
		margin-top:50px;
		text-align: center;
	}

	.manager_ranking_league_info_content_box.first {
		width: 158px;
		margin-top: 0px;
	}

	select.manager_rankings_dropdown{
		width: 155px;
		margin-top: 4px;
		margin-bottom: 2px;
	}
	#manager_ranking_box {
		top: 160px;
		left: 0px;
		width: 861px;
		height: 896px;
	}

	#mr_scroll_wrapper {
		height: 859px;
	}
	.mr_col.avg_p {
		display: none;
	}
	.mr_col.avg_q {
		display: none;
	}
	.mr_col.val {
		display: none;
	}

	.mr_col {
		display: inline-block;
		height: 50px;
		width: 70px;
		vertical-align: top;
	}

	/* Mobile Trophy Rankings */
	div#trophy_ranking_box {
		width: 861px;
		height:1050px;
	}
	#tr_scroll_wrapper {
		height: 1018px;
		width: auto;
	}
	#trophy_ranking_box .mr_col.rank {
		width:125px;
	}
	#trophy_ranking_box .mr_col.score {
		width:125px;
	}
	#trophy_ranking_box .mr_col.manager {
		width:230px;
	}
	#trophy_ranking_box .mr_col.team {
		width:230px;
	}
	/* Mobile p2w rankings */


	/* Mobile preferences */
	input.prefs_input {
		width: 160px;
	}
	select.prefs_input {
		width: 160px;
	}
	.prefs_cost_info {
		font-size: 14px;
		text-align: center;
		margin-top: 0px;
		font-style: italic;
		padding: 1px;
	}

	#change_ingame_info_box {
		left: 0px;
		top: 3px;
		width: 360px;
		height: 162px;
	}
	#change_ingame_info_button, #change_account_info_button {
		margin-left: 192px;
		margin-right: 0px;
		margin-top: 5px;
	}

	#change_ingame_info_button{
		margin-left:23px;
	}
	#change_ingame_info_box {
		left: 0px;
		top: 3px;
		width: 360px;
		height: 162px;
	}
	#change_account_info_box {
		left: 0px;
		top: 168px;
		width: 360px;
		height: 212px;
	}
	#change_email_box {
		left: 0px;
		top: 383px;
		width: 360px;
		height: 82px;
	}

	#change_password_box input, #change_username_box input {
		width: 216px;
		margin-left: 10px;
	}
	#change_username_box {
		left: 0px;
		top: 594px;
		width: 444px;
		height: 71px;
	}
	#change_password_box {
		left: 0px;
		top: 468px;
		width: 444px;
		height: 123px;
	}

	img.prefs_teamlogo {
		margin-left: 40px;
		width: 125px;
		height: 125px;
	}
	#change_teamlogo_box {
		left: 363px;
		top: 3px;
		width: 200px;
		height: 230px;
	}
	#change_avatar_box {
		left: 363px;
		top: 236px;
		width: 200px;
		height: 229px;
	}
	#change_credit_conversion_box {
		left: 566px;
		top: 3px;
		width: 294px;
		height: 462px;
		text-align: center;
	}
	input.conversion_type {
		text-align: center;
		width: 113px;
	}

	#change_league_box {
		left: 0px;
		top: 668px;
		width: 444px;
		height: 195px;
		text-align: center;
	}
	#change_language_box {
		left: 0px;
		top: 865px;
		width: 444px;
		height: 191px;
		text-align: center;
	}
	div.prefs_sub_separator {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	#change_volume_box {
		left: 447px;
		top: 468px;
		width: 413px;
		height: 146px;
	}
	#misc_settings_box {
		left: 447px;
		top: 617px;
		width: 413px;
		height: 438px;
	}

	/* Mobile payments design*/
	div#payment_information_box {
		top: 3px;
		left: 0px;
		width: 428px;
		height: 719px;
		font-size: 16px;
	}
	div#payment_adyen_box {
		top: 3px;
		left: 431px;
		width: 432px;
		height: 349px;
		font-size: 16px;
	}
	div#payment_paypal_box {
		top: 355px;
		left: 431px;
		width: 429px;
		height: 350px;
		font-size: 16px;
	}
	div#payment_sms_box {
		top: 725px;
		left: 0px;
		width: 428px;
		height: 330px;
		font-size: 16px;
	}
	div#payment_local_box {
		top: 708px;
		left: 431px;
		width: 429px;
		height: 348px;
		font-size: 16px;
	}

	/* Mobile free credits stuffs*/
	#free_credits_box {
		top: 0px;
		left: 0px;
		width: 861px;
		height: 1057px;
	}

	/* Mobile MAtch layer */
	.match_popup {
		width: 861px;
		height: 1144px;
	}

	.match_header_container{
		background: linear-gradient(to bottom, rgba(69,72,77,0.8) 0%,rgba(0,0,0,0.8) 100%);
	}
	.match_other_results_container {
		width: 861px;
	}
	button#other_matches_hide_button {
		width: 75px;
		top: 1072px;
		left:740px;
	}
	button#other_matches_updown_button {
		width: 75px;
		top: 1107px;
		left:740px;
	}

	.match_player_container {
		height: 24px;
		line-height: 24px;
		font-size: 16px;
		border-bottom: 1px solid rgba(0,0,0,0.5);
	}
	.match_players_container {
		top: 615px;
		width: 245px;
		height: 432px;
	}
	.stats_circle {
		margin: 5px auto;
		height: 60px;
		width: 60px;
		border-radius: 30px;
		line-height: 60px;
	}
	.stats_circle::before{
		display:none;
	}
	.match_stats_container {
		position: absolute;
		top: 617px;
		right: 249px;
		height: 433px;
		width: 372px;
		background-color: rgba(0,0,0,0.7);
	}
	.match_stat_container {
		height: 20px;
		margin-bottom: 4px;
		font-size: 20px;
		line-height: 20px;
	}
	.match_stat_home {
		height: 20px;
	}
	.match_stat_away {
		height: 20px;
	}
	.match_stat_text {
		height: 20px;
	}
	.match_controls_container {
		position: absolute;
		top: 217px;
		left: 0px;
		height: 390px;
		width: 80px;
		padding: 4px;
		background: rgba(1, 98, 94, 0.4);
		font-size: 20px;
		text-align: center;
		line-height: 50px;
	}
	.match_player_button {
		margin-top: 5px;
	}
	.match_commentary_container {
		width: 677px;
		height: 395px;
		top: 218px;
		left: 88px;
	}
	.match_c_text {
		width: 600px;
	}
	.match_lower_right_buttons_container {
		position: absolute;
		bottom: auto;
		top: 217px;
		height: 398px;
		width: 92px;
		left: 769px;
		background-color: black;
	}
	#match_lower_right_buttons_container .modal_button{
		height: 80px;
		width: 80px;
		top: 0px;
		right: auto;
		position: relative;
		display: inline-block;
		margin-top: 25px;
		margin-bottom: 25px;
		margin-left: 6px;
		margin-right: 0px;
	}
	#match_lower_right_buttons_container #toggle_match_stats_players_button{
		display: none;
	}

	.match_timeline_circle.start {
		left: 0px;
	}
	.match_timeline_circle.half {
		left: 290px;
	}
	.match_timeline_circle.full {
		left: 580px;
	}
	.match_timeline_circle.extra {
		left: 725px;
	}
	.match_timeline_circle.pt {
		left: 812px;
	}
	.timeline_line_container {
		width: 815px;
	}

	.match_scores_container {
		position: absolute;
		background: none;
		text-align: center;
		font-family: var(--secondary-font-family);
		font-size: 40px;
		line-height: 40px;
		color: white;
		text-shadow: 2px 3px 2px black, 0px 0px 2px black;
		width: 137px;
		height: 86px;
		left: 362px;
		top: 18px;
		background-color: rgba(0,0,0,0.6);
		border: 1px solid white;
		border-radius: 5px;
	}
	div#match_clock {
		border-bottom: 1px solid white;
	}

	.mom_container{
		top: 275px;
		left: 200px;
	}
	#mom_button{
		top: 377px;
		left: 147px;
	}

	.home_team {
		position: absolute;
		top: 0px;
		left: 0px;
		height: 110px;
		width: 372px;
		color: white;
		font-size: 20px;
		font-family: var(--secondary-font-family);
	}
	.home_team .match_teamname {
		position: absolute;
		top: 0px;
		left: 170px;
		height: 40px;
		width: 256px;
		padding-left: 5px;
		background: none;
		transform: skew(0deg);
	}
	.home_team span {
		display: block;
		transform: skew(0deg);
		text-align: left;
		padding-right: 0px;
	}
	.match_teamname {
		font-size: 16px;
		text-transform: uppercase;
		line-height: 40px;
		overflow: hidden;
	}
	.match_manager {
		font-size: 14px;
		line-height: 17px;
	}
	.home_team .match_manager {
		position: absolute;
		top: 40px;
		left: 170px;
		height: 20px;
		width: 256px;
		padding-left: 5px;
		background: none;
		transform: skew(0deg);
	}

	.home_team .match_sponsor {
		position: absolute;
		top: 60px;
		left: 110px;
		height: 50px;
		width: 125px;
		background: none;
		transform: skew(0deg);
		line-height: 30px;
		text-align: left;
	}
	.home_team .match_sponsor img {
		transform: skew(0deg);
		width: auto;
	}
	.home_team .match_logo {
		position: absolute;
		top: 0px;
		left: 0px;
		height: 110px;
		width: 110px;
		background: none;
	}
	.home_team .match_avatar {
		position: absolute;
		top: 0px;
		left: 110px;
		height: 60px;
		width: 60px;
		background: none;
	}
	.away_team {
		position: absolute;
		top: 0px;
		right: 0px;
		height: 110px;
		width: 372px;
		color: white;
		font-size: 20px;
		font-family: var(--secondary-font-family);
	}
	.away_team .match_teamname {
		position: absolute;
		top: 00px;
		right: 170px;
		height: 40px;
		width: 256px;
		padding-right: 5px;
		text-align: right;
		background: none;
		transform: skew(0deg);
		color: yellow;
	}
	.away_team span {
		display: block;
		transform: skew(0deg);
		text-align: right;
		padding-left: 0px;
	}
	.away_team .match_manager {
		position: absolute;
		top: 40px;
		right: 160px;
		height: 20px;
		width: 256px;
		padding-right: 30px;
		text-align: right;
		background: none;
		transform: skew(0deg);
		color: yellow;
	}
	.away_team .match_sponsor {
		position: absolute;
		top: 60px;
		right: 110px;
		height: 50px;
		width: 385px;
		background: none;
		transform: skew(0deg);
		line-height: 30px;
		text-align: right;
	}
	.away_team .match_sponsor img {
		transform: skew(0deg);
		width: auto;
	}
	.away_team .match_logo {
		position: absolute;
		top: 0px;
		right: 0px;
		height: 110px;
		width: 110px;
		background: none;
	}
	.away_team .match_avatar {
		position: absolute;
		top: 0px;
		right: 110px;
		height: 60px;
		width: 60px;
		background: none;
	}

	div.link_menu.match{
		top: auto;
		bottom: 629px;
		left: 72%;
	}
	div.link_menu.match.overlay{
		top: auto;
		bottom: 64px;
		left: 23%;
	}

	/* Pre match overlay mobile */
	#pre_match_overlay_container {
		height: 1034px;
		width: 861px;
		background-image: linear-gradient(180deg, black, #444, black, #444, black, #444, black, #222, black );
	}
	div#pre_match_overlay_field {
		height: 485px;
		width: 861px;
		/*background-image: url(images/ml2/match/overlaypitch.jpg);*/
		background-image: url('images/ml2/bgs/newfield_landscape_2.png');
		position: absolute;
		top: 393px;
		background-size: 893px 485px;
		background-position: -15px 0px;
	}

	div#pre_match_overlay_field .player_field_shirtnumber {
		top: -17px;
		font-size: 18px;
		line-height: 20px;
		font-family: var(--tertiary-font-family);
		left: 40px;
		background-color: rgba(0,0,0,0.5);
		width: 29px;
		height: 21px;
	}

	.match_overlay_quality.home {
		left: 10px;
		top: 22px;
		font-size:0.9em;
	}
	.match_overlay_quality.away {
		right: 10px;
		top: 22px;
		font-size:0.9em;
	}

	.match_overlay_fitness.home {
		left: 10px;
		top: 435px;
		font-size:0.9em;
	}
	.match_overlay_fitness.away {
		right: 10px;
		top: 435px;
		font-size:0.9em;
	}
	#pre_match_central_container {
		display: block;
		width: 861px;
		height: 400px;
		text-align: center;
		font-size: 20px;
		line-height: 20px;
		position: absolute;
		left: 0px;
		top: 0px;
		background-image: linear-gradient(180deg, black, #86868657);
	}
	#pre_match_overlay_container .m_o_fix_type {
		position: absolute;
		top: 15px;
		left: 445px;
		margin-top: 20px;
		box-shadow: 0px 0px 5px 2px white;
		background-color: rgba(0,0,0,0.5);
		height: 30px;
		line-height: 30px;
		width: 400px;
	}
	.stadiumInfoContainer {
		margin-left: 0px;
		margin-right: 0px;
		width: 400px;
		background-color: rgba(0,0,0,0.5);
		padding: 0px;
		border: 1px solid rgba(255,255,255,0.7);
		border-radius: 5px;
		margin-top: 34px;
		box-shadow: 0px 0px 5px 2px white;
		height: 255px;
		position: absolute;
		left: 10px;
	}
	.venueInfoContainer {
		margin-left: 0px;
		margin-right: 0px;
		background-color: rgba(0,0,0,0.5);
		padding: 20px;
		border: 1px solid rgba(255,255,255,0.7);
		border-radius: 5px;
		margin-top: 0px;
		box-shadow: 0px 0px 5px 2px white;
		position: absolute;
		top: 89px;
		left: 445px;
		width: 360px;
	}
	#pre_match_overlay_container .m_o_click_string {
		position: absolute;
		width: 858px;
		bottom: 20px;
		background-color: rgba(0,0,0,0.8);
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#pre_match_home_team_container {
		display: inline-block;
		width: 428px;
		height: 485px;
		vertical-align: top;
		position: absolute;
		left: 0px;
		top: 0px;
	}
	#pre_match_away_team_container {
		display: inline-block;
		width: 428px;
		height: 485px;
		vertical-align: top;
		position: absolute;
		left: 428px;
		top: 0px;
		right: auto;
	}

	#pre_match_overlay_container .player_field_container {
		position: absolute;
		color: white;
		font-family: var(--primary-font-family);
		font-size: 14px;
		line-height: 14px;
		text-shadow: 1px 1px 1px black;
		text-align: center;
		width: 100px;
		cursor: pointer;
		height: 60px;
	}

	#pre_match_overlay_container .player_field_container img {
		position: absolute;
		left: 24px;
		height: 53px;
	}

	#pre_match_overlay_container .player_field_name {
		width: 96px;
		left: 2px;
		line-height: 18px;
		height: 18px;
		font-size: 14px;
		top:26px;
	}

	#pre_match_overlay_container .player_field_number {
		width: 96px;
		left: 2px;
		font-size: 14px;
		top: 44px;
		height: 18px;
		line-height: 18px;
	}
	/* Changing the positions to be left to right, so a zig zag pattern */
	#pre_match_home_team_container .player_field_container.sub1{
		top: 494px; /* 484 + 10 */
		left: 10px;
  }
  #pre_match_home_team_container .player_field_container.sub2{
		top: 545px; /* 535 + 10 */
		left: 55px;
  }
  #pre_match_home_team_container .player_field_container.sub3{
		top: 494px; /* 484 + 10 */
		left: 110px;
  }
  #pre_match_home_team_container .player_field_container.sub4{
		top: 545px; /* 535 + 10 */
		left: 156px;
  }
  #pre_match_home_team_container .player_field_container.sub5{
		top: 494px; /* 484 + 10 */
		left: 210px;
  }
  #pre_match_home_team_container .player_field_container.sub6{
		top: 545px; /* 535 + 10 */
		left: 255px;
  }
  #pre_match_home_team_container .player_field_container.sub7{
		top: 494px; /* 484 + 10 */
		left: 310px;
  }
  
  #pre_match_away_team_container .player_field_container.sub1{
		top: 494px; /* 484 + 10 */
		left: auto;
		right: 10px;
  }
  #pre_match_away_team_container .player_field_container.sub2{
		top: 545px; /* 535 + 10 */
		left: auto;
		right: 55px;
  }
  #pre_match_away_team_container .player_field_container.sub3{
		top: 494px; /* 484 + 10 */
		left: auto;
		right: 110px;
  }
  #pre_match_away_team_container .player_field_container.sub4{
		top: 545px; /* 535 + 10 */
		left: auto;
		right: 156px;
  }
  #pre_match_away_team_container .player_field_container.sub5{
		top: 494px; /* 484 + 10 */
		left: auto;
		right: 210px;
  }
  #pre_match_away_team_container .player_field_container.sub6{
		top: 545px; /* 535 + 10 */
		left: auto;
		right: 255px;
  }
  #pre_match_away_team_container .player_field_container.sub7{
		top: 494px; /* 484 + 10 */
		left: auto;
		right: 310px;
  }

	#pre_match_overlay_container .player_field_container.sub1,
	#pre_match_overlay_container .player_field_container.sub2,
	#pre_match_overlay_container .player_field_container.sub3,
	#pre_match_overlay_container .player_field_container.sub4,
	#pre_match_overlay_container .player_field_container.sub5,
	#pre_match_overlay_container .player_field_container.sub6,
	#pre_match_overlay_container .player_field_container.sub7{
		width:86px;
		height: 40px;
	}

	#pre_match_overlay_container .player_field_container.sub1 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub2 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub3 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub4 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub5 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub6 div.player_field_name,
	#pre_match_overlay_container .player_field_container.sub7 div.player_field_name
	{
		width:84px;
		top:0px;
	}
	#pre_match_overlay_container .player_field_container.sub1 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub2 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub3 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub4 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub5 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub6 div.player_field_number,
	#pre_match_overlay_container .player_field_container.sub7 div.player_field_number
	{
		width:84px;
		top:20px;
	}

	#copy_match_link_button2{
		right: auto;
		left: 253px;
		bottom: 5px;
	}
	#save_match_button2{
		right: auto;
		left: 378px;
		bottom: 5px;
	}
	#exit_match_button2{
		right: auto;
		left: 510px;
		bottom: 5px;
	}

	div#p2w_ranking_box {
		top: 3px;
		left: 3px;
		width: 855px;
		height: 1050px;
	}
	.p2w_top_container {
		height: 175px;
	}
	div.p2w_text_2 {
		display: inline-block;
		height: 175px;
		vertical-align: top;
		margin-top: 0px;
		width: 473px;
		text-align:left;
		padding-left: 0px;
		font-style: italic;
		font-size: 14px;
	}

	img.p2w_top_trophy{
		margin-top:25px;
	}
	.p2w_button_container{
		margin-top:25px;
	}
	#p2w_scroll_wrapper {
		height: 837px;
	}
	img.bottom_right_logo_image {
		display: block;
		position: absolute;
		right: 10px;
		bottom: 11px;
	}

	div.fresh_cell {
		width: 135px;
	}
	.fresh_cell.icons {
		width: 100px;
	}
	.fresh_cell.amount {
		width: 60px;
	}

	div#team_statistics_box{
		top: 3px;
		left: 0px;
		width: 860px;
		height: 661px;
		font-size: 17px;
		line-height: 17px;
	}

	div#team_statistics_chart_box{
		top: 666px;
		left: 0px;
		width: 860px;
		height: 390px;
	}

	div#team_statistics_canvas_container{
		position: absolute;
		height: 350px;
		width: 800px;
	}


	#ts_base_statistics .ts_stat {
		width: 145px;
	}
	#ts_base_statistics .ts_base_stat_header {
		margin-top: 6px;
		margin-bottom: 6px;
		line-height: 20px;
		font-size: 16px;
	}

	div#team_statistics_history_box{
		width: 860px;
		height: 1054px;
		left: 0px;
		top: 0px;
	}
	#team_statistics_history_box canvas{
		background-color: white;
		margin: 5px;
		/*
		height: 635px;
		width: 1350ox;
		*/
		border-radius: 5px;;
	}

	div#pending_sponsors_box{
		right: 1px;
		top: 540px;
		bottom: 1px;
		left: 1px;
		padding: 5px;		
	}

	.forum_search_container.inner #forum_search_input{
		width: 100px;
	}
	.forum_search_container.inner #forum_search_button{
		width: 100px;
	}



} /* End mobile design*/

#page_container.external{
	width:auto !important;
	height:100vh !important;
}
#page_container.external .team_info_link_button{
	display:none;
}
#page_container.external .ps_result_scout{
	display:none;
}
#page_container.external .playerinfo_watch_icon{
	display:none;
}

#page_container.external .player_info_bid_button{
	display:none;
}
#page_container.external .team_info_lock_button{
	display:none;
}

#page_container.external .player_info_note_button{
	display:none;
}
#page_container.external .team_info_minmax_button{
	display:none;
}
#page_container.external .team_info_close_button{
	display:none;
}

#page_container.external div.player_info_popup{
	position: relative !important;
	margin-left:auto;
	margin-right: auto;
	top:0px;
	left:0px;
	height:auto;
}

#page_container.external .playerinfo_scroll_container {
	overflow-y: auto;
	height: auto;
	width: 100%;
}

#page_container.external div.team_info_popup{
	position: relative !important;
	margin-left:auto;
	margin-right: auto;
	top:0px;
	left:0px;
	height:auto;
}

#page_container.external .team_info_buttons{
	display:none;
}

#playercard.external{
	z-index:200;
}
#teamcard.external{
	z-index:200;
}

#page_container.external .team_info_online_indicator{
	display:none;
}

#page_container.external div.team_info_popupheader, #page_container.external div.player_info_popupheader{
	cursor:default;
}

#page_container.external #exit_match_button, #page_container.external #exit_match_button2{
	display:none;
}

#page_container.external #copy_match_link_button, #page_container.external #copy_match_link_button2{
	display:none;
}

#page_container.external #save_match_link_button{
	display:none;
}

div#match_other_results_container a {
	font-variant: small-caps;
	font-size: 19px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

button.modal_button.popupjoin{
	position: absolute;
	right: 3px;
	top: 2px;
	color: orange;
	border: 1px solid orange;
	margin-right: 0px;
	height:30px;
	line-height: 30px;
}

span.red_text{
	color:red;
}
span.yellow_text{
	color:yellow;
}
span.white_text{
	color:white;
}
span.pink_text{
	color:pink;
}
span.blue_text{
	color:lightblue;
}
span.cyan_text{
	color:cyan;
}
span.green_text{
	color:lightgreen;
}
span.lime_text{
	color:lime;
}
span.text_size_1{
	font-size:18px;
}
span.text_size_2{
	font-size:16px;
}
span.text_size_3{
	font-size:14px;
}
span.underline, div.underline{
	text-decoration: underline;
}
.channel.admin{
	display:none;
}
.no_underline{
	text-decoration: none !important;
}


/* ADMIN SCTION STYLES */

.ca_input{
	display: block;
	width: 600px;
	margin-top: 5px;
	height: 25px;
}
.ca_input.textarea{
	height: 100px;
	padding:5px;
	font-size: 14px;
}
div#ca_description_field {
	position: absolute;
	left: 667px;
	width: 620px;
}
.std_box.admin div{
	font-size:13px;
}

.general_entry_container, .general_header_container{
	line-height: 20px;
	min-height: 20px;
}

.general_header_container{
	vertical-align: top;
	font-size: 14px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom:1px solid white;
	font-weight: bold;
}

div#most_warnings_box {
	position: relative;
	height: 400px;
	overflow-y: scroll;
	width:100%;
}

div#last_warnings_box {
	position: relative;
	height: 302px;
	overflow-y: scroll;
	margin-top: 3px;
	width:100%;
}

.general_entry_container{
	vertical-align: top;
	font-size: 14px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom:1px solid white;
}

.general_entry_container.tight{
	margin:0px;
	padding:0px;
	border-bottom:1px solid grey;
}

.topmargin{
	margin-top:5px;
}
span.compDiff {
	position: absolute;
	right: 50px;
	font-size: 12px;
}

div#compareButton {
	z-index: 10;
	position: absolute;
	top: 12px;
	width: 166px;
	text-align: center;
	background-color: var(--blue-btn-color);
	height: 28px;
	line-height: 28px;
	border: 1px solid white;
	border-radius: 5px;
	opacity: 0.95;
	cursor: pointer;
	left: 171px;
	display: none;
}

hr.playerCompareBreak{
	margin-top:1px;
	margin-bottom:1px;
}

span.compDiff.positive{
	color: green;
}
span.compDiff.negative{
	color: red;
}

.general_cell{
	display:inline-block;
	width:100px;
	vertical-align: top;
	overflow:hidden;
	height:inherit;
}

.player_compare_row {
	height: 23px;
	overflow: hidden;
	line-height: 23px;
}

.player_compare_row .gk{
	color: var(--blue-btn-color);
	cursor:pointer;
}
.player_compare_row .def{
	color: var(--green-btn-color);
	cursor:pointer;
}
.player_compare_row .mid{
	color: var(--yellow-btn-color);
	cursor:pointer;
}
.player_compare_row .att{
	color: var(--red-btn-color);
	cursor:pointer;
}

/*
.player_compare_row .general_cell:hover {
	background-color: rgba(220, 220, 220, 1);
}
*/
.player_compare_row .general_cell{
	position: relative;
	border-bottom:1px solid black;
}

.player_compare_row:nth-child(2n) .general_cell{
	background-color:white;
}
.player_compare_row:nth-child(2n+1) .general_cell{
	background-color:lightgrey;
}

.general_cell.vmid{
	vertical-align: middle;
}

.admin_container{
	height: 24px;
	text-align: left;
	line-height: 24px;
}
.admin_container.header{
	font-weight: bold;
}

.general_cell.left{
	text-align:left;
}
.general_cell.bold{
	font-weight: bold;
}
.general_cell.right{
	text-align:right;
}
.general_cell.center{
	text-align:center;
}
.general_cell.indent{
	text-indent: 10px;
}

.general_cell.x{
	width:25px;
}
.general_cell.x2{
	width:50px;
}
.general_cell.x3{
	width:75px;
}
.general_cell.x4{
	width:100px;
}
.general_cell.x5{
	width:125px;
}
.general_cell.x6{
	width:150px;
}
.general_cell.x7{
	width:200px;
}
.general_cell.x8{
	width:250px;
}
.general_cell.x9{
	width:500px;
}
.general_cell.x10{
	width:600px;
}
.general_cell.x11{
	width:750px;
}
.general_cell.x12{
	width:850px;
}
.general_cell.x13{
	width:950px;
}
.general_cell.breakall{
	word-wrap: break-all;
}

#admin_last_transfers_scroll_wrapper .general_entry_container{
	height:20px;
	line-height: 20px;
}

input.smallinput{
	height: 16px;
	font-size: 14px;
}

textarea#admin_modify_money_text{
	margin: 0px;
	width: 324px;
	height: 81px;
}

div#compo_prizes_box{
	width: 99%;
	height: 87%;
	top: 0px;
	left: 0px;
	padding: 5px;
}

div#compo_prizes_box div, div#compo_prizes_box input, div#compo_prizes_box select, div#compo_prizes_box textarea  {
	font-size: 15px;
	margin: 2px;
	vertical-align: middle;
	width:300px;
}

#compo_prize_subject{
	display:block;
}

div#compo_prizes_box textarea  {
	width:300px;
	height:100px;
}
div#compo_prizes_box input[type="checkbox"]{
	height: 23px;
	width: 23px;
	vertical-align: middle;
}
div#reported_posts_box {
	width: 100%;
	height: 87%;
	overflow-y: scroll;
	top:0px;
	left:0px;
}
#reported_posts_box .avatar{
	height:75px;
	width:75px;
}
img.admin_icon{
	width:40px;
	height:40px;
}
div.admin_post_list_container{
	background-color:black;
	color:white;
}

div.quickpost_container{
	position: relative;
}

button.modal_button.cancel.admin_post_quick_delete{
	position: absolute;
	top:5px;
	right:5px;
}
#recent_activity_box{
	top: 0px;
	left: 0px;
	width: 1331px;
	height: 240px;
}
#recent_activity_scroll_wrapper{
	height: 178px;
}

div#reported_messages_box {
	width: 100%;
	height: 87%;
	overflow-y: scroll;
	top:0px;
	left:0px;
}

#adm_depforums_box{
	top:403px;
	left:0px;
	width: 1331px;
	height: 300px;
}
#adm_depforums_scroll_wrapper{
	height: 220px;
}

input.short{
	width:50px;
}

#adm_banned_users_box{
	left: 0px;
	top: 241px;
	width: 1331px;
	height: 161px;
}

div#adm_banned_users_scroll_wrapper {
	height: 99px;
}

.general_cell.indented{
	text-indent: 3px;
}

#adm_league_message_box {
	top: 0px;
	left: 0px;
	width: 100%;
	height: 450px;
}

input.tinyinput, select.tinyinput{
	padding: 0px;
	padding-left: 3px;
	margin-left: 0px;
	margin-right: 0px;
	font-size: 12px;
	border-radius: 1px;
	font-family: 'Arial';
	width: 80%;
	border: 1px solid white;
}
input.tinyinput:focus, select.tinyinput:focus{
	outline: none;
	border: 1px solid orange;
}
.general_entry_container.twentyhigh{
	height:20px;
}

#outer_user_searchresults_container input[type="checkbox"]{
	margin:0px;
}
#admin_team_warnings_container, #admin_team_notes_container, #admin_team_sales_container, #admin_team_purchases_container, #admin_team_logins_container, #admin_team_friendlies_container, #admin_team_donations_container, #admin_team_finances_container, #admin_team_bids_container, #admin_team_perks_container{
	max-height:165px;
	overflow-y: auto;
	width:99%;
}

textarea.ta_std_textarea{
	margin: 0px;
	width: 340px;
	height: 47px;
	padding:3px;
}

input.admin_team_filter_input{
	font-size: 14px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 5px;
	position: absolute;
	left: 200px;
}

input.ta_save_button{
	font-size: 14px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 5px;
	padding-right: 5px;
	position: absolute;
	right: 50px;
	width:200px;
	background-color: skyblue;
}

input.ta_new_button{
	font-size: 14px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 5px;
	padding-right: 5px;
	position: absolute;
	left: 150px;
	width:150px;
	background-color: limegreen;
}

#delete_sent_messages_button{
	background-color:red;
	left: 750px;
}

input.ta_sel_checkbox{
	height:auto;
}

div.ta_filter_text{
	position: absolute;
	left: 385px;
	display: inline-block;
	font-weight: normal;
	color: white;
}

div#admin_team_inbox_container, div#admin_team_sent_container {
	display: inline-block;
	width: 670px;
	height: 250px;
	overflow-y: auto;
	margin-left:5px;
	vertical-align:top;
}

#modal_content_wide .ta_msg_header{
	display:inline-block;
	width: 100px;
	font-weight: bold;
	text-align:right;
}

#modal_content_wide .ta_msg_entry{
	display:inline-block;
	width: 600px;
	text-indent: 10px;
	text-align:left;
}
#modal_content_wide .ta_msg_body{
	text-align:left;
}

select.league_message_league_select{
	height:auto;
	width:150px;
	overflow-y: scroll;
}
select.league_message_division_select{
	width:150px;
}

div.league_message_col{
	display: inline-block;
	height: 380px;
	width: 200px;
	vertical-align: top;
}

div.league_message_col.second{
	width:530px;
}

#adm_league_message_box #message_subject{
	display: block;
	width: 500px;
}

#adm_league_message_box #message_body{
	display: block;
	width: 500px;
	height: 325px;
}

#send_league_message_button{
	width:400px;
	display:block;
}

#adm_sent_league_messages_box {
	top: 453px;
	left: 0px;
	width: 100%;
	height: 253px;
}

div#sent_league_messages {
	height: 200px;
}

#admin_motd_box {
	left: 3px;
	top: 3px;
	height: 702px;
	width: 434px;
}

textarea#motd {
	top:auto;
	left:auto;
	height: 245px;
	width: 424px;
	margin-left:2px;
}
div#admin_system_box {
	left: 440px;
	top: 3px;
	height: 702px;
	width: 418px;
}

div.admin_system_header{
	font-size:20px !important;
	height:25px;
	line-height: 25px;
	margin-top:5px;
	margin-left:10px;
}

input.admin_system_input, select.admin_system_input {
	width: 250px;
	margin-bottom:5px;
	margin-left:20px;
}

button#update_system_button{
	display: block;
	margin: 20px;
}

div#admin_last_transfers_box {
	width: 100%;
	top: 1px;
	height: 705px;
}
div#admin_last_transfers_scroll_wrapper {
	height: 651px;
}

div#admin_reported_bids_box {
	width: 100%;
	top: 1px;
	height: 705px;
}
div#admin_reported_bids_scroll_wrapper {
	height: 651px;
}

.admin_system_h2 {
	display: inline-block;
	width: 200px;
	height: 20px;
	text-indent: 5px;
	line-height: 20px;
}
.admin_system_e2 {
	display: inline-block;
	width: 170px;
	height: 20px;
	line-height: 20px;
}

#adm_new_players_dropdown_box{
	top: 0px;
	left: 0px;
	height: 57px;
	width: 100%;
}
#adm_new_players_result_box{
	top: 58px;
	left: 0px;
	height: 395px;
	width: 100%;
}
#adm_new_players_message_box{
	top: 454px;
	left:0px;
	height: 252px;
	width: 100%;
}

#adm_new_players_message_box textarea{
	display: block;
	height: 100px;
	width: 500px;
}

#send_new_players_message_button{
	margin-top: 5px;
}

#new_players_scroller {
	height: 360px;
}

#admin_cups_filters{
	position: absolute;
	top:0px;
	width:100%;
}
#admin_cups_box{
	position: absolute;
	top:55px;
	width:100%;
	height: 80%;
	overflow-y:scroll;

}

div.admin_sel_cup_item{
	width:500px;
	height:25px;
	display: block;
}
div.admin_sel_cup_left{
	width:200px;
	padding-right:15px;
	height:25px;
	line-height:25px;
	display:inline-block;
	vertical-align: top;
	text-align:right;
}
div.admin_sel_cup_right{
	width:275px;
	height:25px;
	line-height:25px;
	display:inline-block;
	vertical-align: top;
	text-align:left;
}

div.admin_pos_color{
	color:lightgreen;
}
div.admin_neg_color{
	color:red;
}

/*Quickview thingie */

.quick_view{
	height: 25px;
	width: 40px;
	background: url(images/ml2/quickview.png) center no-repeat;
	cursor: pointer;
	display:none;
}
.quickview_match{
	display: none;
	position: absolute;
	border: 3px solid black;
	box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,0.3);
	width: 235px;
	top: 360px;
	left: 377px;
	z-index: 2;
	font-family: var(--primary-font-family);
	font-size: 16px;
	padding: 5px;
	background-size: cover;
	background: url(images/ml2/quick_view_bg_2.jpg);
}
#qv_home_team_container{
	width: 100%;
	height: 20px;
	position: relative;
	line-height: 20px;
	background-color: white;
	color: black;
	margin-bottom: 2px;
}

#qv_away_team_container{
	width: 100%;
	height: 20px;
	position: relative;
	line-height: 20px;
	background-color: black;
	color: white;
	margin-top: 2px;
}

#qv_home_teamname, #qv_away_teamname{
	display: inline-block;
	width:185px;
	height:20px;
	overflow: hidden;
	white-space: nowrap;
	vertical-align:top;
	text-indent: 3px;
}
#qv_home_goals, #qv_away_goals{
	display: inline-block;
	width: 43px;
	height: 20px;
	vertical-align: top;
	text-align: center;
}

#qv_home_goals{
	background-color: darkblue;
	color: white;
}
#qv_away_goals{
	background-color: darkred;
	color: white;
}

/* I need 5 css-classes here, named tut20, tut40, tut60, tut80 and tut100. 
They should contain colors from red to green with 20% increments and will be used to show how much of the tutorial has been completed. */

.tut20{
	color: red;
}
.tut40{
	color: orange;
}
.tut60{
	color: yellow;
}
.tut80{
	color: lightgreen;
}
.tut100{
	color: green;
}

/* admin mobile adaptions */
@media only screen and (max-width: 1100px) {
	div.hide_in_narrow{
		display:none !important;
	}

	div#most_warnings_box {
		height: 475px;
	}

	div#last_warnings_box {
		height: 575px;
	}

	.std_box.admin div{
		font-size:14px;
	}
	div#reported_posts_box {
		height: 100%;
	}
	div#reported_messages_box {
		height: 100%;
	}
	.general_cell.x9{
		width:350px;
	}
	#recent_activity_box{
		width: 860px;
		height: 371px;
	}
	#recent_activity_scroll_wrapper{
		height: 308px;
	}
	#adm_depforums_box{
		top:553px;
		width: 860px;
		height: 500px;
	}
	#adm_depforums_scroll_wrapper{
		height: 400px;
	}
	#adm_banned_users_box{
		top: 371px;
		left: 0px;
		width: 860px;
		height: 182px;
	}
	#adm_sent_league_messages_box {
		height: 602px;
	}
	div#sent_league_messages {
		height: 545px;
	}

	#adm_new_players_result_box{
		height: 743px;
	}
	#adm_new_players_message_box{
		top: 802px;
	}

	div#new_players_scroller{
		height: 710px;
	}
}

/*
.infographic_box{
	position: absolute;
	top: 600px;
	left: 40px;
	width: 660px;
	height: 40px;
	padding: 20px;
	color: var(--text-color);
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
	font-family: var(--primary-font-family);
	color:white;
}
.infographic_box_2{
	position: absolute;
	top: 0px;
	left: 500px;
	width: 400px;
	height: 600px;
	padding: 10px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
	color: var(--text-color);
	font-family: var(--primary-font-family);
	text-align: center;
	overflow: hidden;
}
.infographic_box_3{
	position: absolute;
	top: 0px;
	left: 20px;
	width: 470px;
	height: 625px;
	overflow-y: auto;
	overflow-x: hidden;
	background: rgba(0,0,0,0.4);
	padding: 5px 0px 5px 5px;
	box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}
.infographic_box_4{
	position: absolute;
	top: 300px;
	left: 40px;
	width: 800px;
	height: 150px;
	padding: 20px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
}
.infographic_box_5{
	position: absolute;
	width: 1020px;
	height: 580px;
	padding: 20px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
}
.infographic_box_6{
	position: absolute;
	width: 400px;
	height: 400px;
	padding: 20px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
}
.infographic_box_7{
	position: absolute;
	width: 340px;
	height: 635px;
	color: var(--text-color);
	font-family: var(--primary-font-family);
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5) url(images/ml2/alternate_kit.png);
}
.infographic_box_8{
	position: absolute;
	top: 400px;
	left: 40px;
	width: 600px;
	height: 200px;
	padding: 20px;
	box-shadow: inset 1px -1px 1px rgba(255,255,255,0.2), 5px 5px 0px rgba(0,0,0,0.2);
	background: rgba(0,0,0,0.5);
}

VOID STUFF



.selected_icon_overlay{
	position: absolute;
	top: 1px;
	left: 0px;
	padding-bottom: 100%;
	width: 100%;
	background: url(images/ml2/selected.png);
	transform-origin: 0% 50%;
	background-size: 100% 100%;
}

.menu_pointer{
	position: absolute;
	width: 100%;
	padding-bottom:100%;
	top: 0px;
	left: 0px;
	background: url(images/ml2/subselected.png);
	background-size: 100%;
}
.pointer_line{
	position: absolute;
	left: 0px;top: 0px; width: 2px; height: 100%;
	background: green;
}
.pointer_arrow{
	transform: rotate(45deg);
	height: 20px; width: 20px;
	position: absolute;
	top: 20px;
	left: -10px;
	background: green
}
.current_time{
	position: absolute;
	margin-top: 10px;
	font-size: 20px;
	text-align: center;
	width: 100%;
}



.main_linebox{
	position: relative;
	background: rgba(0,0,0,0.5);
	margin-bottom: 5px;
	width: 100%;
	white-space: no-wrap;
	overflow: hidden;
	padding: 5px;
}
.main_team_name{
	height: 30px;
	font-size: 22px;
	line-height: 30px;
	text-indent: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
	font-family: 'Alegreya Sans SC', sans-serif;
	width: 330px;
	text-transform: uppercase;
	font-weight: 600;
}
.main_team_city{
	text-align: center;
	width: 196px;
	left: 134px;
}
.main_team_logo{
	position: relative;
	height: 200px;
	width: 200px;
	margin-bottom: 5px;
	text-align: center;
	border: 3px solid black;
	left: 134px;
}
.main_team_logo img{
	height: inherit;
	width: inherit;
}
.main_team_manager{
	text-align: center;
	width: 196px;
	left: 134px;
}
.main_team_avatar{
	position: relative;
	height: 100px;
	width: 100px;
	float: left;
	border: 2px solid black;
	margin-left: 108px;
}
.main_team_avatar img{
	height: inherit;
	width: inherit;
}
.main_team_nation{
	height: 100px;
	width: 124px;
	position: relative;
	float:left;
	border: 2px solid black;
}
.main_team_nation img{
	height: inherit;
	width: inherit;
}
.main_team_sponsor{
	width: 193px;
	text-align: center;
	left: 136px;
}
.main_team_sponsor img{
	height: 25px;
	padding-top: 5px;
}


*/

.stadium_statues_list {
	display: flex;
	flex-wrap: wrap;
	align-content: space-evenly;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 90%;
}

button.modal_button.green.stadium_statue_build_button, button.modal_button.red.stadium_statue_build_button  {
	width: 120px;
}

.stadium_statue_name {
	text-align: center;
	width: 186px;
	overflow: hidden;
	height: 50px;
	margin-bottom: 10px;
	margin-top: 10px;
}

img.stadium_statue_picture {
	width: 100px;
	height: 100px;
	filter:grayscale(100%);
}

.stadium_statue_entry {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media screen and (max-width: 1100px) {
	img.stadium_statue_picture {
		width: 90px;
		height: 90px;
  }
  .stadium_statue_name {
		width: 130px;
		overflow: hidden;
		height: 50px;
		margin-bottom: 4px;
		margin-top: 0px;
		font-size: 15px;
	}  
	button.modal_button.green.stadium_statue_build_button, button.modal_button.red.stadium_statue_build_button {
		width: 120px;
		margin-left: 5px;
		margin-right: 5px;
  }	
}

#pre_match_overlay_container .m_o_click_string{
	padding-top: 10px;
	padding-bottom: 10px;	
}

.venueInfoContainer{
	height:120px;
	padding: 0px;
	margin-top: 5px;
}

#pre_match_overlay_container .m_o_stadium_name {
	background-color: rgb(0 0 0 / 80%);
	height: 30px;
	line-height: 30px;
	position: absolute;
	z-index: 2;
	width: 100%;
}

.stadiumInfoContainer{
	height: 226px;
}

.statuesInfoContainer{
	display: flex;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.75);
	border: 1px solid silver;
	border-top: 0px;
	width: 400px;
	margin-top: 0px;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	align-items: flex-start;
	height: 128px;
}

.stadiumInfoContainer{
	border-radius: 5px 5px 0px 0px;
	border-bottom: 0px;
	height: 224px;
}


.statuesInfoContainer .stadium_statue_name{
	font-size: 14px;
	width: 125px;
	margin-top: 2px;
	margin-bottom: 2px;
	height: 20px;
	font-variant: small-caps;
}

.no_statues_text {
	font-variant: small-caps;
}
.statue_container {
	border: 1px solid transparent;
	cursor:pointer;
}
.statue_container:hover {
	border: 1px solid orange;
	cursor:pointer;
}

div#statue_popup_container {
	position: absolute;
	z-index: 100;
	width: 480px;
	left: 32%;
	background-color: rgba(0, 0, 0, 0.90);
	box-shadow: 0px 0px 5px 2px #face6d;
}

div#statue_popup_container .statue_name {
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	font-size: 25px;
	height: 25px;
	font-variant: small-caps;
	position: relative;
	font-family: auto;
	line-height: 25px;	
}

div#statue_popup_container .statue_image {
	width: 100px;
	height: 100px;
	padding: 15px;
	padding-left: 30px;
	display: inline-block;
	vertical-align: top;
	filter: grayscale(100%);
	padding-right: 30px;
	padding-bottom: 5px;
}

.statue_popup_column{
	display: inline-block;
	height: 300px;
	vertical-align: top;
	width:160px;
}


img.ps_result_ability.statue_ability {
	width: 50px;
	height: 50px;
	padding-left: 55px;
}

.statue_ability_text {
	position: absolute;
	top: 172px;
	left: 64px;
	font-weight: bold;
	color: #000000;
	font-size: 20px;
	font-family: var(--tertiary-font-family);
}

.statue_flag_image{
	padding-left: 29px;
	padding-right: 30px;
	width: 101px;
	padding-top: 2px;
}

.statue_stat_header {
	height: 20px;
	width: 160px;
	line-height: 20px;
	text-align: center;
}

.statue_stat_value {
	height: 20px;
	width: 160px;
	line-height: 20px;
	text-align: center;
}

@media screen and (max-width: 1100px) {
	.statuesInfoContainer{
		position:absolute;
		box-shadow: 0px 0px 5px 2px white;
		background-color: rgba(0, 0, 0, 0.5);	
		left: 445px;
		top: 192px;
	}

	.venueInfoContainer{
		width: 400px;
		height: 105px;
		top: 62px;
	}

	#pre_match_overlay_container .m_o_stadium_name {
		position: relative;
	}

	#pre_match_overlay_container .m_o_stadium_picture{
		position:relative;
	}

	#pre_match_overlay_container .m_o_spec_header{
		margin-top:0px;
	}

	.stadiumInfoContainer{
		height:auto;
		margin-top:17px;
	}
	#pre_match_overlay_container .m_o_fix_type{
		top:0px;
		margin-top: 17px;
	}

	#pre_match_central_container{
		background-image: linear-gradient(180deg, black, #444444, black);
	}

	#pre_match_overlay_container .m_o_click_string{
		left:17px;
		width: 820px;
	}
}


/* Disable mobile menu for all views by default */
.mobile_menu_container{
	display: none;
}

.mobile_menu_button{
	display: none;
}

/*	Mobile test, do not publish on live */

@media only screen and (max-width: 860px) {
	body{
		font-size:15px;
	}

	.page_container{
		position: relative;
		width: 500px;
		height:auto;
		transform: none !important;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	.top_container {
		position: relative;
		width: 100%;
		height: 60px;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.5) 100%);
		vertical-align: top;
	}	
	img.top_left_logo{
		position: relative;
		display: inline-block;
		height: 60px;
		vertical-align: top;
	}
	.notifications{
		display:none;
	}
	.top_info {
		position: relative;
		display: inline-block;
		height: 60px;
		width: auto;
		vertical-align: top;
		left: 0px;
	}
	.top_center_text{
		width: 170px;
	}
	.menu_container{
		/* HACK! Needs proper solution! */
		height:60px;
		display: none;
	}
	.mobile_menu_button{
		display: block;
		position: absolute;
		top: 0px;
		left: 0px;
		height : 60px;
		width: 60px;
		background-image: url("images/ml2/mobile_menu_button.png");
		background-size: 100%;
		opacity: 0.8;
	}

	.mobile_menu_container {
		position: absolute;
		display: none;
		top: 59px;
		left: 0;
		width: 100%;
		height: auto;
		background: rgba(0, 0, 0, 0.9); /* Darker semi-transparent overlay */
		/*display: flex;*/
		justify-content: center;
		align-items: flex-start; /* Aligns content at the top */
		padding-top: 5px; /* Space from the top */
		z-index: 1000;
		overflow-y: auto; /* Enables scrolling if needed */
		font-family: var(--primary-font-family);
	}

	.mobile_menu_container > div {
		background: #222; /* Dark background for menu */
		padding: 15px;
		border-radius: 10px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
		display: flex;
		width: 90%;
		max-width: 600px;
		align-items: flex-start; /* Ensures columns align at the top */
		border: 1px solid #444; /* Subtle border */
		gap: 10px; /* Small gap between columns */
	}

	.mobile_menu_column {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	#mobile_menu_column_right{
		margin-left: 15px;
	}

	.mobile_menu_item,
	.mobile_menu_sub_item {
		padding: 12px;
		background: #333; /* Darker background for items */
		border: 1px solid #555;
		text-align: center;
		border-radius: 5px;
		cursor: pointer;
		font-size: 16px;
		width: 100%;
		box-sizing: border-box;
		color: #ddd; /* Light text */
		font-weight: bold;
		transition: background 0.2s ease-in-out;
	}

	.mobile_menu_item.orange{
		color: orange;
	}

	.mobile_menu_item:hover,
	.mobile_menu_sub_item:hover {
		background: #444; /* Slightly lighter hover effect */
	}

	.menubreak {
		border: none;
		border-top: 1px solid #555;
		margin: 10px 0;
	}

	div.new_feedback_container {
		position: fixed;
		left: 0px;
		width: 100%;
	}

  

	.main_container{
		position: relative;
		width: 100%;
		height: auto;
	}
	.lower_third_container_2{
		display:none;
	}

	.bottom_right_logo {
		position: relative;
		bottom: auto;
		width: 100%;
		height: 48px;
		background-size: auto;
		background-image: linear-gradient(45deg, #666, #333, #666, #333, #666, #333);
		border-top: 1px solid white;
		border-bottom: 1px solid white;
	}
	img.bottom_right_logo_image{
		display: none;
	}

	#bottom_button_container_4{
		margin-left: 60px;
	}

	img#int_tut_mini{
		right: 10px;
	}
	.chat_container{
		position:relative;
		width: 100%;
		min-height: 200px;
	}

	.chat_messages_container{
		width:400px;
	}
	img.chat_up{
		top:0px;
	}
	img.chat_down{
		bottom:32px;
	}	
	img.chat_rules{
		top:85px;
	}

	#quickmenu_chat_icons_container{
		width: 72px;
	}
	.chat_time{
		padding-left: 5px;
	}
	#chat_input{
		width: 73%;
	}

	#chat_channel_select{
		right: 0px;
		width: 23%;
		height:27px;
	}
	.std_box{
		width: 100% !important;
		position: relative !important;
		top:0px !important;
		left: 0px !important; ;
		margin-top:1px !important;
		margin-bottom:1px !important;
	}

	/* Status adaptations */
	#status_field_box{
		height: auto;
	}

	#overview{
		height:auto;
		padding-bottom: 5px;
	}
	#status_field_box #playfield {
		transform: scaleX(1) scaleY(1);
		margin-left:auto;
		margin-right: auto;
	}

	.modal_button.overview{
		width:41%;
		margin-left: 5%;
		margin-top: 5px;
		margin-bottom: 5px;
	}

	#status_league_table .team_name {
		width: 255px;
	}
	#top_news{
		height: auto;
	}
	#top_news .std_scroll_wrapper{
		height: auto;
	}

	#top_threads {
		height: auto;
	}
	div#top_threads_scroll_container {
		height: auto;
		max-height: 200px;
	}

	.modal_window{
		left: 0px !important;
		width: 100% !important;
		position: fixed !important;
		top: 10px !important;
		height: auto !important;
	}

	div#modal_window_wide{
		left: 0px !important;
		width: 100% !important;
		position: fixed !important;
		top: 10px !important;
		height: auto !important;
	}

	#schedule_popup{
		left: 2px !important;
		width: 97% !important;
		position: fixed !important;
		top: 10px !important;
		height: auto !important;
	}

	#schedule_popup .schedule_cell.schedule_day{
		width:55px;
	}
	#schedule_popup .schedule_cell.schedule_date{
		width:55px;
	}	
	#schedule_popup .schedule_cell.schedule_time{
		width:55px;
	}
	#schedule_popup .schedule_cell.schedule_relative{
		display:none;
	}
	#schedule_popup .schedule_cell.schedule_event{
		width: 235px;
	}
	#schedule_popup .schedule_cell.schedule_note{
		display: none;
	}
	/* Mail adaptations */
	.contacts_col_2{
		display:none;
	}

	.message_list_header_wrapper .message_list_subject{
		display: none;
	}

	.message_list_entry_wrapper{
		height:auto;
		border-bottom: 1px solid white;
	}

	.message_list_subject{
		width:297px;
	}
	.message_list_timestamp{
		width:98px;
	}

	.message_action_images_container{
		position: relative;
		top:0px;
		right: auto;
	}

	#mail_sidebar .sponsor_information_image {
		display: none;
	}
	.message_action_img {
		margin-left: 15px;
		width: 40px;
		margin-right: 15px;
	}
	#message_managername, #message_teamname, #message_subject{
		margin-left:0px;
	}

	div#mail_message_header_container{
		height: auto;
		width: 100%;
		vertical-align: top;
	}
	.message_avatar{
		display: none;
	}

	.mail_sidebar_sponsor_text{
		display: none;
	}

	.send_message_popup{
		width: 100%;
		position: fixed;
		top: 0px;
		left: 0px;
		height: auto;
	}

	.send_message_buttons_container{
		margin-top: 3px;
		height: auto;
		display: flex;
		flex-direction: row;
		align-content: center;
		justify-content: space-around;
	}

	div#sendSmilies {
		display: flex;
		position: relative;
		top:0px;
		left:0px;
		width: 96%;
		height: auto;
		background-color: rgba(70, 70, 70,0.95);
		align-content: center;
		justify-content: space-around;
		flex-direction: row;
		flex-wrap: wrap;
		margin-left: 2%;
		border: 1px solid white;
		border-radius: 5px;
		gap: 10px;
		margin-top: 10px;
	 }

	 /* News adaptations */
	.top_news_entry span {
		width: 490px;
		min-height: 32px;
	}

	 /* Forum adaptation */
	 .forum_group_forum{
		height:auto;
	 }
	 .forum_entry_cell.name{
		width: 90%;
	 }
	 .forum_entry_cell.description{
		display:none;
	 }
	 .forum_entry_cell.subscribe{
		width: 10%;
	 }

	 .thread_list_header{
		height: auto;
	 }

	 .thread_list_entry {
		font-size: 15px;
		line-height: 23px;
		height: auto;
		padding-bottom: 2px;
		padding-top: 2px;
		margin-bottom: 5px;
		border-bottom: 3px solid black;
	 }

	.bottom_thread_header_icon {
		position: relative;
		height: 24px;
		width: 24px;
		cursor: pointer;
		margin-left: 283px;
		vertical-align: top;
	}	

	.thread_list_header .thread_list_item.last_post_by{
		display: none;
	}

	/*
	.thread_list_item.created_by, .thread_list_item.reads, .thread_list_item.last_post_by{
		display: none;
	}
	*/
	.thread_list_item.created_by, .thread_list_item.reads{
		display: none;
	}

	.thread_list_header .thread_list_item.actions{
		display: none;
	}
	.thread_list_item.last_post_by{
		width: 280px;
		text-indent: 30px;
		font-size: 13px;
	}
	/*
	#thread_list_scroll_wrapper .thread_list_entry .thread_list_item.last_post_by{
		display: inline-block;
	}
	*/

	.thread_list_item.actions{
		height: auto;
		overflow: hidden;
		display: inline-block;
		width: auto;
	}
	.thread_list_item img.bookmark_image {
		margin-left: 10px;
		margin-right: 10px;
  }

	div#new_thread_popup{
		width: 100%;
		position: fixed;
		top: 0px !important;
		left: 0px !important;
		height: auto;
	}

	#thread_box {
		height: auto;
	}
	#thread_scroll_wrapper {
		height: auto;
		max-height: 750px;
	}	

	div#thread_box_header {
		height: auto;
		text-indent: 1px;
	}
	span.thread_header {
		width: 265px;
		height: auto;
		overflow:auto;
	}	

	#left_thread_box{
		display: none;
	}

	
	.post_left {
		height: 93px;
		display: block;
		width: 100%;
		position: relative;
	}
	
	.poster_frame {
		text-align: left;
		height: 80px;
	}

	.postball {
		position: absolute;
		right: 30px;
		left: auto;
		margin-top: 0px;
	}
	.poster_postcounter {
		position: absolute;
		left: 89px;
		margin-top: 0px;
		width: 50px;
		font-size: 14px;
		height: 17px;
		top: 65px;
		left: 95px;
	}

	.poster_trophyrank {
		position:absolute;
		left: auto;
		margin-top: 0px;
		font-size: 14px;
		width: 50px;
		right: 30px;
		top: 51px;
	}
	.poster_division {
		position: absolute;
		text-align: center;
		border: 1px solid #898989;
		border-left-width: 1px;
		border-left-style: solid;
		border-left-color: rgb(137, 137, 137);
		width: 26px;
		border-radius: 0px 3px 3px 0px;
		right: 101px;
		margin-top: 0px;
		background-color: #a08c5f;
		cursor: default;
		border-left: none;
		left: auto;
		top: 51px;
	}
	.post_flag {
		width: 40px;
		position: absolute;
		margin-top: 0px;
		border-radius: 5px;
		left: auto;
		right: 94px;
		top: 13px;
	}
	.poster_manager {
		position: absolute;
		top: 11px;
		left: 94px;
		color: orange;
		font-size: 16px;
		width: 265px;
		text-align: left;
		height: 20px;
		overflow: hidden;
	}	
	.poster_team {
		position: absolute;
		top: 40px;
		left: 94px;
		height: 38px;
		font-size: 16px;
		width: 265px;
	}

	.poster_role {
		position: absolute;
		top: 69px;
		left: 10px;
		font-size: 18px;
		height: 18px;
		width: 76px;
		font-weight: bold;
	}
	.post_right{
		width: 100%;
		margin-left: 0px;
	}
	.post_body {
		min-height: 90px;
		padding-top: 5px;
		padding-left: 15px;
		font-size: 14px;
		line-height: 17px;		
	}
	.thread_emoji_container {
		width: 100%;
		height: auto;
		display: flex;
		padding-left: 3px;
		overflow: hidden;
		overflow-y: auto;
		flex-wrap: wrap;
		margin-bottom: 3px;
	}
	.thread_emoji_image {
		width: 36px;
		height: 36px;
	}
	.thread_reply_body {
		width: 93%;
		padding: 2%;
		outline:none;
		height:100px;
	}
	button.thread_reply_button {
		width: 95%;
		margin-left: 2%;
	}

	/* Notes adaptation */
	#notes_sidebar {
		width: 855px;
		height: 95px;
		height: auto;
		display: flex;
		gap: 5px;
		flex-wrap: wrap;
	}

	#notes_sidebar .mail_sidebar_image {
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 10px;
	}
	.notes_sidebar_text{
		display: none;
	}

	.note_right {
		width: 83%;
	}

	/* I don't have a solution for Player-notes and Team-notes yet. */
	/* Return to this later. */

	/* Team Setup adaptations */
	.field_options {
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
	}
	#timers_button {
		width: 159px;
		margin-left: 2px;
		margin-right: 2px;
		height: 45px;
	}
	#set_piece_takers_button {
		width: 160px;
		margin-left: 2px;
		margin-right: 2px;
		height: 45px;
	}
	#ts_tactics_box{
		height: auto;
	}
	.field_options {
		width: 100%;
		padding-left: 0px;
		height: auto;
	}
	.field_options hr {
		width: 98%;
		margin-left: 0%;
		margin-right: 0%;
	 }
	/* Lets come up with a rule that hides ONLY the FIRST hr of the .field_options div, leaving the rest in place */
	.field_options hr:first-of-type {
		display: none;
	}
	.field_option {
		width: 163px;
		margin-bottom: 3px;
	}


	#ts_player_list_scroll_wrapper {
		height: auto;
	}

	#set_piece_takers_popup {
		left: 0px;
		width: 100%;
		padding: 0px;
		position: fixed;
		top: 0px;
  }
	
	#set_piece_takers_popup .taker_col.name {
		width: 128px;
	}

	div#set_pieces_help {
		position: relative;
		top: 0px;
		left: 0px;
		width: 98%;
		font-size: 14px;
	}
	.set_piece_help_string {
		margin-bottom: 5px;
	}	

	#ts_field_box {
		top: 0px;
		left: 0px;
		height: auto;
		width: 100%;
		background-color: rgba(0,0,0,0.8);
		border-radius: 0px;
	}
	#ts_field_box .playfield {
		width: 100%;
		height: 740px;
		background: url('images/ml2/bgs/newfield_portrait_2.png');
		background-color: rgba(0, 0, 0, 0);
		background-repeat: repeat;
		background-size: auto;
		background-size: 498px 585px;
		background-repeat: no-repeat;
		font-family: var(--primary-font-family);
		color: var(--text-color);
		position: relative;
		background-color: rgba(0, 0, 0, 0.45);
	}
	div#team_setup_stats {
		position: relative;
		z-index: 1;
		background-color: transparent;
		width: 100%;
		height: 30px;
	}	

	.team_setup_stat.first, .team_setup_stat.second, .team_setup_stat.third, .team_setup_stat.fourth {
		left: auto;
		position: relative;
	}

	#ts_field_box .player_field_container img {
		position: absolute;
		left: 7px;
		width: 60px;
		height: 45px;
	}

	.player_field_container.sub.sub12 {
		left: 2px;
		top: 610px;
	}
	.player_field_container.sub.sub13 {
		left: 71px;
		top: 670px;
	}
	.player_field_container.sub.sub14 {
		left: 142px;
		top: 610px;
	}	 
	.player_field_container.sub.sub15 {
		left: 212px;
		top: 670px;
	} 
	.player_field_container.sub.sub16 {
		left: 282px;
		top: 610px;
	}	 
	.player_field_container.sub.sub17 {
		left: 353px;
		top: 670px;
	}
	.player_field_container.sub.sub18 {
		left: 422px;
		top: 610px;
	}
	#ts_field_box .player_field_name {
		top: 31px;
		height: 19px;
		width: 72px;
		font-size: 11px;
	}	
	#ts_field_box .player_field_number {
		top: 46px;
		width: 72px;
		height: 15px;
		font-size: 11px;
	}	
	#ts_field_box .player_field_shirtnumber {
		top: -9px;
		font-size: 16px;
		font-family: var(--tertiary-font-family);
		left: -1px;
	}	

	#ts_field_box .player_field_container {
		width: 76px;
		height: 64px;
	 }

	#ts_field_box img.ts_ability_icon.field_icon.captain {
		top: -8px;
		left: 31px;
	}	
	#ts_field_box img.ts_ability_icon.field_icon.corner {
		top: 6px;
		left: 56px;
	}	
	#ts_field_box img.ts_ability_icon.field_icon.deffk {
		top: 44px;
		left: 60px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.attfk {
		top: 44px;
		left: 0px;
	}
	#ts_field_box img.ts_ability_icon.field_icon.penalty {
		top: 6px;
		left: 5px;
	}
	#ts_field_box .mobile_subs_header {
		display: block;
		position: absolute;
		top: 578px;
		left: 0px;
		width: 100%;
		text-align: center;
		border-top: 1px solid white;
		border-bottom: 1px solid white;
		background-color: rgb(0, 0, 0);
		height: 24px;
		line-height: 24px;
		font-size: 14px;
	}

	#ts_player_list_box {
		border-radius: 0px;
		height: auto;
		padding-bottom: 10px;
	}
	#ts_player_list_box .ts_player_stat2.ability {
		display: none;
	}
	#ts_player_list_box .ts_player_stat2.name {
		width: 80px;
		text-indent: 3px;
		text-align: left;
	}

	.ts_player_stat2.short {
		width: 100px;
	}
	.ts_player_stat2.long {
		width: 142px;
	}	


	#ts_player_list_box .ts_player_stat2.stat.assists, #ts_player_list_box .ts_player_stat2.stat.clean_sheets, #ts_player_list_box .ts_player_stat2.stat.fouls, #ts_player_list_box .ts_player_stat2.cmenu{
		display: none;
	}

	select.taker_pri_select {
		width: 45px;
		text-align: center;
	}

	#my_timers_container .general_cell.col1 {
		width: 125px;
	}
	#my_timers_container .general_cell.col2 {
		width: 125px;
	}
	#my_timers_container .general_cell.col3 {
		width: 125px;
	}
	#my_timers_container .general_cell.col4 {
		width: 100px;
	}

	#new_timer_button {
		margin: 0px;
		width: 100px;
		height: 25px;
	}

	div#lineup_saved_indicator{
		position: fixed;
		/* center it on the screen */
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%);
		width: 200px;
		height: 30px;
	}

	.ts_stats_container {
		width: 444px;
	}
	.ts_player_stat.name {
		width: 128px;
	}
	.ts_player_stat.scoutresult {
		width: 75px;
	}
	.ts_player_stat.role {
		width: 41px;
		text-align: right;
		padding-right: 5px;
	}	
	.ts_player_stat.icons {
		width: 115px;
		text-indent: 0px;
	}	

	.ts_player_stat.stat {
		width: 25px;
	}
	.ts_context_menu_button {
		display: none;
	}

	#player_context_menu {
		position: fixed;
		top: 30%;
		left:30%;
		width: 40%;
	}

	/* Training adaptations */

	.player_training_container {
		height: auto;
		padding-top: 7px;
		padding-bottom: 7px;
		font-size: 14px;
	}		

	.training_reports_button {
		display:none;
	}

	#training_player_list_box{
		height:auto;
	}	
	#training_player_list_scroll_wrapper{
		height:auto;
	}
	.player_training_container .player_training_col.name {
		width: 435px;
	}
	.player_training_container .player_training_col.diff {
		width: 14px;
	}	
	.player_training_container .player_training_col.total {
		width: 26px;
	 }	
	 .player_training_container .player_training_col.age {
		width: 30px;
		text-align: center;
		text-indent: 0px;

	}		 
	.player_training_container .player_training_col.fitness {
		width: 30px;
		text-align: center;
		text-indent: 0px;
	}
	.player_training_container .player_training_col.rest {
		width: 22px;
		text-align: center;
		text-indent: 0px;
	}
	.player_training_container.summary.line1 {
		margin-top: 5px;
		height: auto;
	}
	.player_training_container.summary.line2 {
		height: auto;
	}
	.player_training_button.short {
		width: 112px;
		text-align: center;
		padding-left: 5px;
		padding-right: 5px;
	}
	.player_training_container .player_training_col.spacer {
		width: 65px;
	}
	button.player_training_button.long.special {
		margin-right: 0px;
		border-radius: 5px 0px 0px 5px;
		margin-left: 10px;
		width: auto;
	}

	#training_icons_box {
		height: auto;
	}
	img.training_icon {
		width: 75px;
		height: 75px;
		cursor: pointer;
		margin-top: 0px;
		border: 1px solid transparent;
		margin: 0px;
	}
	#training_team_box {
		height: auto;
	}		 
	.team_stat_container {
		font-size: 17px;
		line-height: 20px;
		width: 100%;
	}
	.team_stat_col.statname {
		width: 215px;
		text-indent: 10px;
	}
	.team_stat_col.statvalue, .team_stat_col.statgains, .team_stat_col.training, .team_stat_col.camping {
		width: 60px;
		text-align: center;
	}
	img.current_training_icon {
		width: 75px;
		height: 75px;
		margin: 24px !important;
	}
	#training_current_box {
		height: auto;
	}
	#training_camp_box {
		height: auto;
	}
	.camp_detail.header {
		width: 50%;
	}
	 .camp_detail.entry {
		width: 48%;
	}

	#training_reports_box {
		display: block;
		top:0px;
		height: 150px;
		width: 100%;
  }
	#training_reports_scroll_wrapper_camp {
		display: block;
		height: auto;
		text-align: left;
		border-top: 1px solid red;
		margin-top: 4px;
		position: relative;
		width: 100%;
		top: 0px;
		overflow-y: auto;
	}
	#training_reports_scroll_wrapper_camp .training_report_entry, #training_reports_scroll_wrapper .training_report_entry {
		height: 25px;
		line-height: 25px;
		cursor: pointer;
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		background-color: rgba(0, 0, 0, 0.4);
		font-size: 14px;
		padding-top: 5px;
		padding-bottom: 2px;
	}

	#training_report_popup {
		width: 90% !important;
		left: 2% !important;	
	}

	.training_report_col.col2, .training_report_col.col3 {
		width: 100px;
	}
	
	.team_training_icon_info {
		font-size: 16px;
		text-align: justify;
		padding: 10px;
		position: relative;
		left: 0px;
		top: 0px;
		width: auto;
		height: auto;
		line-height: 20px;
	}
	button.camp_button {
		width: 94%;
		margin-left: 2.5%;
		margin-bottom: 10px;
	}	
	
	/* Events adaptations */
	#event_list_box {
		height: auto;
 	}	
	#events_scroll_wrapper {
		height: auto;
	}
	img.evcell {
		cursor: pointer;
		margin-left: 20px;
		margin-right: 20px;
	}
	div#event_popup .events_tac_header {
		width: 160px;
	}
	div#event_popup .events_sub_dropdown {
		width: 170px;
	}
	div#event_popup_content {
		max-height: unset;
		height: auto;
	}
	div.events_explanation{
		font-size: 15px;
	}
	#create_event_box {
		height: auto;
	}
	#enable_all_events_button, #disable_all_events_button, #enable_visible_events_button, #disable_visible_events_button {
		z-index: 5;
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
		margin-top: 13px;
		margin-bottom: 10px;
	}

	input#event_text_filter {
		position: absolute;
		left: 275px;
		height: 16px;
		line-height: 16px;
		top: 3px;
		width:100px;
	}
	select.event_filter_dropdown{
		position: absolute;
		right: 0px;
		margin-top: 4px;
		width: 100px;		
	}

	/* Staff adaptations */
	div.staff_cell.search {
		width: 25%;
		text-align: center;
	}
	#staff_mystaff_box{
		height:auto;
	}
	#mystaff_scroll_wrapper {
		height: auto;
	}
	div.staff_item_container {
		height: 48px;
	}
	div.staff_cell.name {
		width: 109px;
		text-indent: 5px;
		overflow: hidden;
	}
	div.staff_cell.field {
		width: 120px;
	}
	div.staff_cell.quality {
		width: 36px;
	}
	div.staff_cell.actions {
		width: 100%;
		text-align: center;
	}
	div.staff_item_container {
		height: auto;
		border-bottom: 1px solid white;
		padding-bottom: 5px;
	}
	#staff_search_box{
		height: auto;
	}
	#staff_search_scroll_wrapper {
		height: auto;
	}
	#staff_quotes_box {
		width: 100%;
		height: auto;
	}	
	#staff_quotes_box .quote_container {
		width: 100%;
		min-height: 36px;
		margin-bottom: 15px;
		clear: both;
		display: block;
	}
	#staff_quotes_box .quote_container .quote_icon {
		display: none;
	}	
	#staff_quotes_box .quote_container .quote_text {
		float: none;
		height:auto;
		width:auto;
	}
	#staff_quotes_box .quote_container .quote_signature {
		float: none;
	}

	/* Tables adaptations */

	#tables_league_table .points_entry.gf, #tables_league_table .points_entry.ga, #tables_league_table .points_entry.q {
		display: none;
	}
	#tables_league_table .manager_name{
		display: none;
	}
	#tables_league_table .last_5{
		display: none;
	}
	#tables_league_table .points_entry {
		width: 28px;
		vertical-align: top;
	}
	#tables_league_table .team_name {
		width: 165px;
	}	
	#tables_league_table{
		height:auto;
	}
	#tables_league_table .table_top_flag {
		right: -111px;
		top: -117px;
		height: 300px;
		width: 300px;
		left: auto;
	 }
	#tables_league_table .table_top .leaguename {
		text-align: left;
		margin-left: 51%;
		width: 49%;
	}
	#tables_league_table .table_top .divdep {
		text-align: left;
		margin-left: 51%;
		width: 49%;
	}

	img.table_navigation_icon {
		position: relative;
		display: inline-block;
		height: 20px;
		width: 20px;
		cursor: pointer;
		margin: 2px;
		top:auto;
		left:auto;
		bottom:auto;
		right:auto;
	}

	div#department_details {
		height: auto;
	}	

	.tables_fixtures_results_container{
		height:auto;
	}

	#mob_dep_top_three_container {
		background-color: black;
		position: relative;
		left: auto;
		width: 100%;
		height: 300px;
		overflow: auto;
	}
	div#department_details_scroll_wrapper {
		height: 348px;
		height: auto;
	}	
	/*#mob_dep_top_three_container{
		overflow:unset;
	}*/

	#mob_dep_top_three_container .top_3_box {
		width: 30%;
		margin-left: 10px;
	}

	div#table_history_graph_box {
		display: none;
	}

	.fresh_cell.icons{
		width:215px;
		text-align: center;
	}

	.fresh_cell.icons img.table_action_icon {
		margin-left: 12px;
		margin-right: 12px;
	}

	div.table_headers.table_navigation_footer{
		display: flex;
		justify-content: space-evenly;
		flex-direction: row;
	}
	div.table_headers.table_navigation_footer img{
		width: 20px;
		height: 20px;
		position: relative;
		left: unset !important;
		bottom: unset !important;
		top: unset !important;
	}

	.league_table.special .points_entry.m_name {
		display: none;
	}

	/* Fixtures and results adaptations */

	#fixres_full_fixture_list {
		height: auto;
	}
	#fixres_full_fixture_list_scroll_wrapper {
		height: auto;
		overflow: unset;
	}
	#fixres_full_fixture_list .col1 {
		width: 34px;
	}
	#fixres_full_fixture_list .col2 {
		width: 155px;
	}
	#fixres_full_fixture_list .col3 {
		width: 155px;
	}
	#fixres_full_fixture_list .col4 {
		display: none;
	}
	#fixres_full_fixture_list .col5 {
		width: 87px;
	}
	#fixres_full_fixture_list .col6 {
		width: 56px;
	}
	#fixres_fixres {
		right: auto;
		left: auto;
		height: auto;
	}	
	
	/* Friendlies adaptations */
	#friendly_normal_box {
		height: auto;
	}
	#team_search_box{
		height: auto;
	}
	div#team_search_box.friendlies_section {
		height: auto;
	}	
	#team_search_results_container {
		height: auto;
		overflow: auto;
	}
	#team_search_box .col1, #team_search_box .col2, #team_search_box .col3 {
		width: 39%;
	}
	#team_search_box .col3 {
		width: 21%;
	}
	#friendly_open_box {
		height: auto;
	}
	#friendly_pending_scroll_wrapper {
		height: auto;
		overflow: unset;
	}
	.friendly_pending.home, .friendly_pending.away {
		width: 37%;
	}

	img.acceptFriendlyImage {
		margin-right: 15px;
	}

	#friendly_results_box {
		max-height: 352px;
		height: auto;
	}
	#friendly_results_scroll_wrapper {
		height: auto;
		max-height: 299px;
	}	

	#friendly_results_box .col4 {
		width: 57px;
		text-align: center;
	}
	.friendly_results_header_wrapper{
		font-size:16px;
	}
	.friendly_queue_header_wrapper{
		font-size:16px;
	}
	.friendly_queue_col {
		width: 125px;
	}
	#friendly_lowest_fitness_box{
		height:auto;
	}
	#friendly_medkit_icon {
		display: none;
	}	

	#friendly_stats_box {
		top: 3px;
		left: 551px;
		width: 307px;
		height: auto;
	}

	.friendly_stat_header, .friendly_stat_entry {
		height: 20px;
		line-height: 20px;
		overflow: hidden;
		text-align: center;
		font-variant: small-caps;
		font-size: 22px;
		margin-bottom: 2px;
		margin-top: 2px;
		color: #CCCCCC;
		display: inline-block;
		border-bottom: 1px solid red;
		padding-bottom: 7px;
	}

	.friendly_stat_header{
		width:60%;
	}
	.friendly_stat_entry {
		width:40%;
	}

	.friendly_stats_button_container{
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
		width: 100%;
		padding-bottom: 5px;
	}

	#player_snapshot_container .player_training_col.fielded {
		display: none;
	}

	#player_snapshot_container .player_training_container {
		font-size: 13px;
	}

	/* Friends adaptations */

	#friends_box {
		height: auto;
	}

	#friends_scroll_wrapper {
		/* height: auto;*/
		/* overflow: unset; */
		max-height: 800px;
		min-height: 400px;
	}		

	div.friends_entry_container {
		height: auto;
	}

	.friends_list_cell.name {
		width: 225px;
		cursor: pointer;
		font-size: 16px;
	}

	.friends_list_cell.select {
		text-indent: 0px;
	}
	.friends_list_cell.stat.short {
		width: 45px;
		text-align: center;
	}
	
	#team_search_box.friends_section {
		height: auto;
	}
	.friends_section #team_search_results_container {
		height: auto;
		overflow-y: unset;
	}	

	/* Saved Matches adaptations */

	#saved_matches_box {
		height: auto;
 	}
	div#saved_matches_scroll_wrapper {
		height: auto;
	}
	div.saved_matches_cell.hometeam, div.saved_matches_cell.awayteam {
		width: 50%;
		font-size: 17px;
		text-indent: 0px;
	}
	div.saved_matches_cell.type {
		width: 168px;
		text-indent: 0px;
	}
	div.saved_matches_cell.notes, div.saved_matches_cell.delete {
		cursor: pointer;
		width: 60px;
	}	
	
	/* Team Statistics adaptations */
	
	div#team_statistics_box {
		height: auto;
	}
	
	#ts_base_statistics .ts_stat {
		width: 89px;
	}

	/* Player Cups Adaptations  */
	#cl_my_box.playercups {
		height: auto;
	}

	div#player_cup_form_box {
		height: auto;
	}

	div#player_cup_list_box{
		height: auto;
	}

	div#pc_list_scroll_wrapper {
		height: auto;
		max-height: 500px;
		overflow: auto;
	}
	/*That breaks the entries though, so also:*/
	.pc_list_cell.status {
		width: 80px;
	}
	.pc_list_cell{
		height: 25px;
		line-height: 25px;
	}	

	.cup_form_header.full, .cup_form_input.full {
		width: 98%;
		margin-left: 0px;
	}
	.cup_form_header {
		width: 48%;
		text-indent: 0px;
	}	
	.cup_form_input {
		display: inline-block;
		width: 50%;
		padding: 0px !important;
	}
	textarea#cc_description {
		width: 96%;
		margin-left: 0px;
		border-radius: 5px;
		height: 100px;
		padding: 1%;
	}
	select.playercup_filter_dropdown {
		width: 99px;
		font-size: 15px;
		margin-left: 5px;
		margin-right: 5px;
	}
	select.playercup_filter_dropdown.long {
		width: 150px;
	}
	.pc_drop_label {
		width: 90px;
		font-size: 16px;
	}	
	.pc_drop_label.long {
		width: 150px;
	}

	.pc_entry_container {
		height: auto;
		line-height: 24px;
		border-bottom: 1px solid white;
		padding-top: 5px;
	}

	.pc_list_cell.league {
		width: 100px;
		text-align: center;
		display: none;
	}
	.pc_list_cell.day {
		width: 80px;
	}
	.pc_list_cell.name {
		width: 90%;
		font-size: 19px;
	}
	.pc_list_cell.short {
		width: 63px;
		text-align: center;
	}	
	.pc_header_container .pc_list_cell.name.pointer {
		display: none;
	}

	.cup_shout_msg {
		width: 59%;
		font-size: 16px;
	}
	input#cup_shout_input {
		width: 68%;
	}

	div#player_cup_right_box {
		height: auto;
	}
	.cup_info_right_entry.description {
		max-height: unset;
	}
	.cup_info_right_half_header.div, .cup_info_right_half_entry.div {
		width: 46px;
	}
	.cup_info_right_half_header.league, .cup_info_right_half_entry.league {
		width: 87px;
	}

	.pc_teamlist_cell.name {
		width: 192px;
		text-indent: 5px;
	}	
	.pc_teamlist_cell.name.manager_name {
		display: none;
	}
	.pc_teamlist_cell.league {
		width: 115px;
	}
	.pc_teamlist_cell.icons img.table_action_icon {
		margin-top: 3px;
		margin-left: 8px;
	}		
	
	/* League Cup adaptations */
	
	.cup_fixres_cell.ht, .cup_fixres_cell.at {
		width: 151px;
		text-indent: 0px;
	}
	.cup_fixres_cell.mt {
		width: 80px;
	}
	.cup_fixres_cell.timeres {
		width: 100px;
		text-align: center;
	}
	.cup_champions_bg_flag {
		width: 100%;
		height: auto;
		position: absolute;
		left: auto;
		opacity: 0.250;
	}
	.int_champions_cell.int_team {
		width: 42%;
	}

	#cup_info_box {
		height: auto;
	}
	.cup_info_trophy.second {
		width: 234px;
		height: auto;
		left: 300px;
		top: 113px;
		opacity: 0.2;
	}
	.cup_info_trophy.first {
		width: 299px;
		height: auto;
		left: 6px;
		top: 52px;
		opacity: 0.2;
	}
	.cup_info_text {
		position: relative;
		padding-left: 3px;
		padding-right: 3px;
		padding-top: 1px;
		text-align: justify;
		font-size: 17px;
		line-height: 19px;
		padding: 5px;
	}	

	/* Champions League adaptations */

	#cl_groups_box {
		height: auto;
	}

	.tournament_group_mini_container {
		margin-right: 7px;
		margin-left: 7px;
  }
	.tournament_group_container {
		font-size: 15px;
		width: 242px;
	}
	div.tournament_group_cell.team {
		width: 195px;
	}	
	div.tournament_group_cell.num.last {
		width: 34px;
		text-align: right;
		padding-right: 5px;
	}	
	div#tournament_group_popup {
		position: fixed;
		top: 64px !important;
		left: 0px !important;
		width: inherit !important;
		min-height: unset;
		height: auto;
	}
	#tournament_popup_table_container .tournament_group_container {
		width: 100%;
		margin-right: 0px;
		margin-left: 0px;
	}
	#tournament_group_popup .tournament_group_header_container div.tournament_group_cell.team {
		width: 210px;
	}	

	#tournament_popup_content .cl_fixres_cell.team {
		width: 180px;
  }

	#tournament_group_popup div.tournament_group_cell.team {
		width: 210px;
	}	
	#cl_groups_box  img.cup_bg_image {
		display: none;
	}
	#tournament_stats_box {
		height: auto;
	}
	#tournament_stats_scroll_wrapper {
		height: auto;
	}	
	
	/* My Transfers adaptations */
	div.values_popup_cell {
		width: 49%;
	}
	#mytransfers_player_box {
		height: auto;
	}	
	#mytransfers_player_scroll_wrapper {
		height: auto;
	}

	#mytransfers_special_box {
		height: auto;
	}
	.mytransfers_player_cell.name, .mytransfers_cell.name {
		text-indent: 10px;
		width: 213px;
	}
	.mytransfers_player_cell.scout, .mytransfers_cell.scout {
		width: 244px;
		cursor: pointer;
	}	

	.mytransfers_player_cell.value, .mytransfers_cell.value {
		width: 69px;
	}

	#mytransfers_offers_box .friends_header_container  .mytransfers_cell.name, #mytransfers_bids_box .friends_header_container  .mytransfers_cell.name, #mytransfers_listed_box .friends_header_container  .mytransfers_cell.name {
		display: none;
	}
	#mytransfers_offers_box .friends_header_container  .mytransfers_cell.ability, #mytransfers_bids_box .friends_header_container  .mytransfers_cell.ability, #mytransfers_listed_box .friends_header_container  .mytransfers_cell.ability {
		display: none;
	}
	#mytransfers_offers_box .friends_header_container  .mytransfers_cell.scout, #mytransfers_bids_box .friends_header_container  .mytransfers_cell.scout, #mytransfers_listed_box .friends_header_container  .mytransfers_cell.scout {
		display: none;
	}	
	#mytransfers_listed_box .mytransfers_player_container, #mytransfers_offers_box .mytransfers_player_container, #mytransfers_bids_box .mytransfers_player_container {
		height: auto;
	}	
	#mytransfers_listed_box .mytransfers_cell.actions {
		width: 90px;
		text-align: center;
	}
	.mytransfers_player_container.gk {
		background-color: rgb(64, 66, 137);
	}	
	.mytransfers_player_container.def {
		background-color: rgb(38, 108, 44);
	}
	.mytransfers_player_container.mid {
		background-color: rgb(128, 128, 0);
	}
	.mytransfers_player_container.att {
		background-color: rgb(128, 16, 16);
	}

	.mytransfers_cell.accept_time {
		width: 288px;
		text-align: center;
	}
	.mytransfers_cell.actions {
		width: 200px;
		text-align: right;
		margin-right: 0px;
	}

	#mytransfers_bids_box .mytransfers_cell.actions {
		width: 200px;
		text-align: right;
		margin-right: 0px;

	 }
	.friends_header_container .mytransfers_cell.accept_time {
		display: none;
	}
	.friends_header_container .mytransfers_cell.actions {
		display: none;
	}
	.mytransfers_cell.actions img.img20 {
		width: 20px;
		height: 20px;
		margin-left: 10px;
	}
	
	/* Player Search adaptations */
	#player_search_form_box {
		height: auto;
		/*background: url(images/ml2/bgpsearch3.png);*/
		background: url("images/ml2/bgs/newplayersearch.jpg");
		background-size: cover;
	}
	#player_search_form_box .player_search_group.first {
		left: 0px;
		width: 100%;
		height: auto;
		position: relative;
		top: 0px;
		background: none;
	}
	input.search_role_dropdown {
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
		margin-top: 10px !important;
		margin-bottom: 10px !important;		
	}
	.search_role_dropdown {
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
	}	
	select.search_stat_dropdown {
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
	}	

	#player_search_form_box .player_search_group.firstb {
		left: 0px;
		width: 100%;
		top: 0px;
		height: auto;
		position: relative;
		background: none;
	}
	#player_search_form_box .player_search_group.second {
		left: 0px;
		width: 100%;
		height: auto;
		position: relative;		
		top: 0px;
		border-radius: 0px;
		background: none;
	}
	#player_search_group_second div.search_form_line_container , #player_search_button_container div.search_form_line_container{
		padding-bottom: 5px;
		margin-bottom: 0px;
	}
	#player_search_form_box .player_search_group{
		padding-top:5px;
	}
	#player_search_button_container {
		top: 0px;
		left: 0px;
		width: 100%;
		height: auto;
		position: relative;
		border-radius: 0px;
		padding-top: 5px;
		padding-bottom: 5px;
		margin: 0px;
		background: none;
	}
	div.search_value_description{
		display: none;
	}

	.player_search_checkbox_container{
		margin-top: 2px;
		margin-bottom: 2px;		
	}

	input[type="button"].search_role_dropdown{
		background-color: #585858;
      color: white;
      border: 1px solid grey;
	}

	button#player_search_button {
		margin-top: 10px;
		margin-left: 10%;
		width: 80%;
	}

	.search_stat_quality, #player_search_button_container div.search_stat_quality {
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
	}
	input.search_stat_input {
		margin-left: 5%;
		width: 10%;
	}
	#player_search_button_container #ability_only {
		height: 20px;
		margin-top: 0px;
		margin-bottom: 0px;
		display: inline-block;
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
	}
	.player_search_checkbox_container label {
		display: inline-block;
		margin-top: -4px;
		height: 20px;
		position: relative;
		vertical-align: middle;
		width: 40%;
		margin-left: 5%;
		margin-right: 5%;
	}	
	.stored_searches_cell.atts {
		width: 140px;
		display: none;
	}
	.stored_searches_cell.actions {
		width: 80px;
		text-align: center;
	}
	.stored_searches_cell.quality, .stored_searches_cell.age {
		width: 80px;
	}
	img.stored_searches_image {
		margin-right: 5px;
		margin-left: 5px;
	}
	.stored_searches_cell.status {
		width: 60px;
	}
	#player_search_stored_searches_box {
		height: auto;
	}
	#stored_searches_scroll_wrapper {
		min-height: 100px;
		max-height: 250px;
	}
	#player_search_results_box {
		height: auto;
	}
	#player_search_results_scroll_wrapper {
		height: auto;
		max-height: 350px;
	}
	.player_search_result_entry_container {
		height: auto;
	}
	.player_search_result_entry_container .player_search_result_cell.owner_teamname {
		display:none;
	}
	.player_search_result_cell.age {
		width: 25px;
	}
	.player_search_result_cell.quality {
		width: 25px;
	}
	.player_search_result_cell.value {
		width: 47px;
		text-align: center;
	}
	.player_search_result_cell.stat {
		width: 34px;
		text-align: center;
	}
	.player_search_result_cell.actions {
		width: 140px;
		text-align: center;
	}
	.player_search_result_cell.tot {
		width: 37px;
		text-align: center;
	}
	.player_search_result_cell.name {
		width: 200px;
		text-indent: 2px;
	}
	.player_search_result_cell.icons {
		width: 125px;
		text-align: center;
	}
	.player_search_result_cell.actions .ps_result_buy {
		margin-right: 20px;
		margin-left: 20px;
		margin-bottom: 1px;
	}
	.player_search_result_cell.actions .ps_result_delete {
		margin-right: 20px;
		margin-left: 20px;
		margin-bottom: 1px;
	}	
	
	/* Active Transfers adaptations */
	#active_transfers_form_box {
		height: auto;
	}
	.active_transfer_roles_container {
		width: 25%;
	}
	.active_transfer_box_header {
		width: 100%;
	}
	.active_transfer_role_button {
		width: 88%;
		margin-left: 2px;
		margin-right: 2px;
	}
	.active_transfer_param_header {
		width: 33%;
	}
	.active_transfer_param_entry {
		width: 33%;
	}
	.active_transfer_box_header.top_active_transfer_param_header {
		width: 33%;
	}
	.active_transfer_param_container {
		width: 75%;
		height: auto;
	}
	.as_outer_search_container {
		width: 100%;
		text-align: center;
		height: auto;
	}
	.as_outer_search_header {
		width: 100%;
		text-align: center;
	}

	#active_transfers_form_box button.modal_button{
		width: 120px;
	}
	#active_transfers_form_box .active_transfer_search_button_container #player_search_button {
		margin-top: 5px;
		margin-left: 5px;
		width: 124px;
	}
	#active_transfers_form_box .active_transfer_search_button_container {
		left: 0px;
		top: 2px;
		height: auto;
	}
	.active_transfer_filters_container {
		width: 100%;
	}
	input[type="checkbox"].as_filter_checkbox {
		display: inline-block;
		vertical-align: inherit;
		margin-top: 0px !important;
		margin-bottom: 5px;
	}
	.as_filter_text {
		display: inline-block;
		vertical-align: bottom;
		font-weight: normal;
		font-size: 17px;
	}	
	.as_filters_header {
		width: 100%;
		text-align: center;
	}

	#active_transfers_results_box {
		height: auto;
	}
	.active_transfers_result_container {
		height: 25px;
		border-bottom: 1px solid white;
		padding-bottom: 5px;
		padding-top: 5px;		
	}
	div#active_transfers_result_scroll_wrapper {
		height: auto;
		min-height: 100px;
	}
	.at_cell {
		display: inline-block;
		width: 77px;
		height: 23px;
		vertical-align: top;
	}
	.at_cell.short {
		width: 56px;
	}
	.at_cell.stat {
		width: 58px;
	}
	.at_cell.name {
		width: 75px;
	}
	.at_cell.team {
		width: 75px;
	}
	.at_cell.amount {
		width: 38px;
		text-align: center;
	}
	.at_cell.report {
		width: 25px;
		display: none;
	}
	.at_cell.note {
		display:none;
	}
	.at_cell.age {
		width: 25px;
	}
	.at_cell.quality {
		width: 25px;
	}
	.at_cell.ability {
		width: 25px;
	}	
	.at_cell.acctime {
		width: 35px;
	}	
	.at_cell.potential {
		width: 40px;
	}
	div#active_transfers_result_scroll_wrapper .potstar_small {
		margin-top: 0px;
		background:none;
  }
  div#active_transfers_result_scroll_wrapper span.potstar_small_text {
		width: 20px;
		line-height: inherit;
		vertical-align: text-bottom;
		display: inline-block;
		margin-left: 0px;
	} 
	div#active_transfers_result_scroll_wrapper img.potstar_small_img {
		height: 17px;
		width: 17px;
		display: inline-block;
		margin-left: 0px;
		vertical-align: top;
	}		
	/* 		
	.active_transfers_result_container.header {
		display: none;
		I want to see the header
	}
	*/
	
	/* Watches adaptations */

	#watches_box {
		height: auto;
	}
	#watches_scroll_wrapper {
		height: auto;
		overflow: unset;
	}	

	#watches_news_box {
		height: auto;
	}
	#watches_news_scroll_wrapper {
		height:auto;
	}	

	#watches_scout_box {
		height: auto;
	}
	#watches_scout_scroll_wrapper {
		height: auto;
		overflow: unset;
	 }	

	.watches_entry_header_row {
		height: auto;
		font-size: 14px;
	}
	.watches_entry_original_row {
		height: auto;
		font-size: 14px;
	}
	.watches_entry_current_row {
		height: 18px;
		font-size: 14px;
	}	
	.watches_entry_cell.watches_player_name {
		width: 83px;
	}
	.watches_entry_cell.watches_player_amount_combined {
		width: 97px;
	}
	.watches_entry_cell.watches_team_name {
		display: none;
	}
	img.watches_portrait {
		display: none;
	}
	div.watches_entry_cell {
		height: 23px;
	}
	.watches_entry_cell.watches_stat {
		width: 26px;
	}
	.watches_entry_cell.avg {
		width: 30px;
	}
	.watches_entry_cell.watches_delete {
		width: 16px;
	}
	img.delete_watch_icon {
		height: 16px;
		cursor: pointer;
		vertical-align: middle;
	}
	img.last_scouted_cell.delete {
		margin-left: 86px;
	}
	
	/* Transfer History adaptations */

	div#transfer_history_box {
		height: auto;
	}
	div#transfer_history_container {
		height: auto;
	}	
	div#transfer_history_items_container {
		height: auto;
		overflow-y: unset;
	}
	#th_filter_text {
		width: 304px;
		margin-right: 20px;
		vertical-align: middle;
	}
	#transfer_history_box .mytransfers_cell.date {
		display: none !important;
	}	
	#transfer_history_box .mytransfers_cell.type.role {
		display: none !important;
	}
	#transfer_history_box .mytransfers_cell.value.val {
		display: none !important;
	}	
	.mytransfers_history_container .mytransfers_cell.name {
		width: 130px;
	}	
	#transfer_history_container .mytransfers_history_container .mytransfers_cell.other {
		width: 130px;
	}
	.mytransfers_cell.season {
		width: 46px;
		text-align: center;
		padding-right: 0px;
		padding-left: 0px;
	}
	.mytransfers_history_container .mytransfers_cell.value {
		width: 55px;
	}

	/* Global Transferstats adaptations */
	div#team_statistics_history_box {
		height: auto;
	}

	/* Rankings adaptations */
	#mlfa_ranking_left , #mlfa_ranking_right{
		height: auto;
	}
	#tr_scroll_wrapper_right, #tr_scroll_wrapper_left {
		height: auto;
		overflow: unset;
	}
	#mlfa_ranking_left .team_ranking_col.names, #mlfa_ranking_right .team_ranking_col.names {
		width: 155px;
	}	
	.team_ranking_col.metric {
		width: 94px;
	}

	/* Champions adaptations */
	#champions_main_box {
		height: auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 15px;
		justify-content: space-evenly;
		padding-bottom: 10px;
		padding-top: 10px;
	}	
	button.champions_rankings_button {
		width: 189px;
	}	
	#champions_list_box {
		height: auto;
	}
	.champions_header .champ_col {
		overflow: hidden;
	}	
	.champ_col.flag {
		width: 55px;
	}
	.champ_col.team {
		width: 195px;
	}	
	.champ_col.manager {
		display: none;
	}
	.champ_col.score {
		width: 111px;
	}
	div.champ_col.trophy {
		width: 55px;
		margin-left: 0px;
		margin-right: 0px;
	}
	.champ_col {
		height: 40px;
		vertical-align: middle;
		line-height: 40px;
	}	
	img.champ_col {
		height: 40px;
	}	
	#champions_scroll_wrapper {
		height: auto;
		overflow: unset;
	}
	.champion_container {
		width: auto;
	}	
	.champ_col.season {
		width: 60px;
	}
	img.champ_col.trophy {
		width: 40px;
		height: 40px;
		margin-left: 5px;
		margin-right: 0px;
	}
	#champions_ranked_list_box .champ_rl.t_name {
		width: 200px;
	}	
	#champions_ranked_list_box .champ_rl.m_name {
		width: 200px;
	}		
	#champions_ranked_list_box .champ_rl.titles {
		width: 98px;
		text-align: center;
	}
	#champions_ranked_list_scroll_wrapper {
		height: auto;
		overflow: unset;
	}
	#champions_ranked_list_box {
		height: auto;
	}

	/* Player Rankings adaptations */
	#player_ranking_menu {
		height: auto;
	}	
	button.champions_rankings_button.players {
		height: 28px;
		margin-left: 30px;
		margin-right: 30px;
	}
	div.pr_dropdown_header {
		text-align: left;
		padding-right: 10px;
		display: inline-block;
		width: 50%;
		vertical-align: middle;
		height: 20px;
		line-height: 20px;
		margin-top: 4px;
		margin-bottom: 3px;
		text-indent: 10px;
	}
	select.player_rankings_dropdown {
		width: 185px;
		margin-left: 20px;
		margin-top: 4px;
		margin-bottom: 3px;
		font-size: 15px;
		line-height: 16px;
		font-variant: small-caps;
	}
	#player_ranking_main {
		height: auto;
	}
	#pr_scroll_wrapper {
		height: auto;
		overflow: unset;
	}	
	.player_rank_col.index {
		width: 30px;
		text-align: right;
		margin-right: 5px;
	}
	.player_rank_col.transfer {
		width: 30px;
		text-align: center;
		margin-right: 5px;
	}
	.player_rank_col.name {
		width: 130px;
	}
	.player_rank_col.team {
		width: 132px;
	}
	.player_rank_col.age {
		width: 42px;
		text-align: center;
	}
	.player_rank_col.quality {
		width: 28px;
		text-align: center;
	}
	.player_rank_col.matches {
		width: 36px;
		margin-right: 5px;
		text-align: center;
	}
	.player_rank_col.metric {
		width: 40px;
		text-align: center;
		margin-right: 5px;
	}

	/* Team Rankings adaptations */
	#team_ranking_menu {
		height: auto;
	}
	button.champions_rankings_button.teams {
		height: 28px;
		margin-left: 30px;
		margin-right: 30px;
	}
	#team_ranking_left, #team_ranking_right {
		height: auto;
	}
	.team_ranking_col.names {
		width: 158px;
	}
	.team_ranking_col.metric.money {
		line-height: 20px;
		text-align: center;
		font-size: 14px;
		vertical-align: middle;
	}
	div#manager_ranking_league_box {
		height: auto;
	}
	#manager_ranking_box {
		height: auto;
	}
	.mr_col {
		width: 61px;
	}
	.mr_col.teamlogo, .mr_col.avatar {
		display: none;
	}
	.mr_col.div, .mr_col.dep, .mr_col.pos {
		width: 40px;
		text-align: center;
		display: none;
	}
	.mr_col.team {
		width: 170px;
	}
	.mr_col.manager {
		width: 175px;
	}
	#mr_scroll_wrapper {
		height: auto;
		overflow: unset;
	}			

	/* Trophy Ranking adaptations */
	div#trophy_ranking_box {
		height: auto;
	}
	#tr_scroll_wrapper {
		height: auto;
		overflow: unset;
		width: auto;
	}
	#trophy_ranking_box .mr_col.rank {
		width: 55px;
	}  	
	#trophy_ranking_box .mr_col.score {
		width: 70px;
	}
	#trophy_ranking_box .mr_col.manager {
		width: 160px;
		overflow: hidden;
	}
	#trophy_ranking_box .mr_col.team {
		width: 160px;
		overflow: hidden;
	}	
	#tr_scroll_wrapper .manager_ranking_entry_container {
		width: auto;
	}
	#tr_scroll_wrapper .mr_col.avatar {
		display: inline-block;
  }
	.manager_ranking_league_info_content_box.first {
		width: 33%;
	}  
	.manager_ranking_league_info_content_box {
		display: inline-block;
		width: 33%;
		vertical-align: top;
		margin-top: 0px;
		text-align: center;
		vertical-align: middle;
	} 

	/* ML Fund Rankings adaptations */

	div#p2w_ranking_box {
		height: auto;
	}
	.p2w_top_container {
		height: auto;
	}
	div.p2w_text_2 {
		height: auto;
	}
	#p2w_scroll_wrapper {
		height: auto;
	}		

	#p2w_ranking_box .mr_col.donation {
		width: 125px;
	}
	#p2w_ranking_box .mr_col.manager {
		width: 145px;
	}
	#p2w_ranking_box .mr_col.team {
		width: 145px;
	}

	/* Preferences adaptations */

	#change_ingame_info_box {
		height: auto;
	}
	#change_account_info_box {
		height: auto;
	}
	#change_email_box {
		height: auto;
	}
	#change_password_box {
		height: auto;
	}
	#change_username_box {
		height: auto;
	}
	#change_teamlogo_box {
		height: auto;
		text-align: center;
	}
	img.prefs_teamlogo {
		margin-left: 0px;
	}
	#change_avatar_box {
		height: auto;
		text-align: center;
	}
	#change_volume_box {
		height: auto;
	}
	#change_credit_conversion_box {
		height: auto;
	}
	#change_league_box {
		height: auto;
	}
	#change_language_box {
		height: auto;
	}
	#misc_settings_box {
		height: auto;
	}
	#change_password_box input, #change_username_box input {
		width: 250px;
		margin-left: 10px;
	}
	input.prefs_input, select.prefs_input{
		width: 250px;
		margin-left: 10px !important;
	}
	button#change_volume_button {
		margin-left: 25%;
		margin-top: 13px;
		margin-bottom: 13px;
		width: 50%;
	}

	/* Purchase adaptations */
	div#payment_information_box, div#payment_adyen_box, div#payment_paypal_box, div#payment_local_box {
		height: auto;
	}
	div#payment_sms_box {
		display: none;
	}

	/* Admins popup adaptations */
	.admin_container {
		font-size: 15px;
  }	
  .admin_container .general_cell.x4{
		width: 52px;
	}
	.admin_container .general_cell.x5 {
		width: 85px;
	}
	.admin_container .general_cell.x6 {
		width: 118px;
	}  

	/* Team popup adaptations */
	div.team_info_popup {
		position: fixed !important;
		top: 30px;
		left: 0px;
		width: 498px !important;
		height: auto;
		border-width: 1px !important;
  }

	div.team_info_popup .team_info_link_button {
		left: 5px;
	}

	img.team_info_close_button{
		right: 5px;
	}
	img.team_info_minmax_button{
		right: 45px;
	}
	img.team_info_online_indicator{
		right: 85px;
	}
	div.team_info_popup .team_info_headerdivider {
		display: none;
	}
	div.team_info_popup .team_info_managername {
		display: none;
	}
	div.team_info_popup .team_info_teamname{
		width: 50%;
	}

	div.team_info_topleft {
		width: 125px;
	}
	.team_info_popup .postball.ti {
		margin-top: 30px;
		margin-left: 0px;
		display: inline-block;
		position: relative;
		left: 0px;
		background-size: contain;
	}
	div.team_info_topcenter {
		display: inline-block;
		vertical-align: top;
		width: 305px;
		padding: 1px;
		margin-left: 5px;
		margin-right: 0px;
		margin-top: 2px;
		border: 1px solid dimgrey;
		border-radius: 5px;
		font-size: 16px;
	}
	.team_info_top_header {
		width: 145px;
		margin-left: 5px;
	}	
	.team_info_top_entry {
		width: 153px;
		margin-right: 0px;
	}	
	div.team_info_topright {
		display: none;
	}	
	.teaminfo_admin_button {
		left: 135px;
	} 
	img.team_info_button {
		margin-left: 17px;
		margin-right: 17px;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	input.tv_nav_button {
		width: 32%;
		margin-left: 0.5%;
		margin-right: 0.5%;
		font-size: 15px;
		line-height: 16px;
		font-family: inherit;
		font-variant: small-caps;
		font-weight: bold;
		margin-bottom: 4px;
		margin-top: 4px;
		border-radius: 5px 5px 5px 5px;
	}

	.tv_players_stat {
		width: 28px;
	}
	div.tv_players_stat.a{
		width:295px;
		text-align:left;
	}	

	.tv_players_stats_header .tv_players_stat.transfer, .tv_players_stats_header .tv_players_stat.name,  .tv_players_stats_header .tv_players_stat.a{
		display: none;
	}
	.team_view_team_stats_container {
		width: 80%;
		margin-left: 10%;
	}
	.team_view_stat_container {
		width: 100%;
	}	
	.tv_teamstat_header, .tv_teamstat_entry {
		width: 49.75%;
	}	

	#fixres_tv_fixture_list_scroll_wrapper {
		height: 584px;
	}
	.fixres_tv_fixtures {
		display: inline-block;
		width: 215px;
		overflow: hidden;
		height: 23px;
	}	
	.fixres_tv_fixtures.col1 {
		width: 35px;
	}	
	.fixres_tv_fixtures.col2 {
		width: 160px;
	}	
	.fixres_tv_fixtures.col3 {
		width: 160px;
	}	
	.fixres_tv_fixtures.col5 {
		width: 70px;
	}
	.fixres_tv_fixtures.col6 {
		width: 60px;
	}	

	#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col1 {
		width: 35px;
	}
	#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col2 {
		width: 160px;
	}
	#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col3 {
		width: 160px;
	}
	#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col5 {
		width: 70px;
	}
	#fixres_tv_fixture_list_scroll_wrapper .fixture_entry .col6 {
		width: 60px;
	}

	div#team_info_stats_history_container {
		margin-left: 1%;
		margin-right: 0%;
		width: 98%;
		border: 1px solid white;
		margin-top: 5px;
		margin-bottom: 5px;
		border-radius: 5px;
		box-shadow: gold 0px 0px 2px 2px;		
	}
	
	div.ti_th_col.matchtype {
		width: 100px;
		text-indent: 2px;
		text-align: left;
	}
	div.ti_th_col.stat {
		width: 61px;
	}
	.encounters_container{
		margin-left: 1%;
		margin-right: 0%;
		width: 98%;	
		padding-left:0px;
		border: 1px solid white;
		margin-top: 5px;
		margin-bottom: 5px;
		border-radius: 5px;
		box-shadow: silver 0px 0px 2px 2px;		
	}
	.encitem {
		height: 20px;
		line-height: 20px;
		width: 43px;
		vertical-align: top;
		overflow: hidden;
	}	
	.encitem.entry.left {
		text-align: left;
		width: 85px;
	}
	.encitem.header.left {
		width: 85px;
	}
	.history_best_container {
		display: inline-block;
		width: 49%;
		margin-left: 0.5%;
		margin-right: 0px;
		border: 1px solid white;
		border-radius: 5px;
		margin-top: 5px;
		position: relative;
		font-size: 14px;
	}
	.history_best_img_container {
		width: 25px;
		height: 25px;
		display: inline-block;
		position: absolute;
		text-align: left;
		opacity: 1;
		top: 0px;
	}
	img.history_best_img {
		width: 25px;
		height: 25px;
		top: 0px;
		left: 0px;
		position: relative;
		margin: 0px !important;
	}
	.history_best_text_container {
		display: inline-block;
		width: 100%;
		vertical-align: top;
	}
	.history_best_text {
		display: inline-block;
		width: 49%;
		margin-left: 1px;
	}
	.history_best_text.right {
		text-align: right;
		width: 49%;
		padding-right: 0px;
	}	

	.ti_th_col {
		width: 30px;
	}
	.ti_th_col.lc, .ti_th_col.dc {
		display: none;
	}
	.ti_th_col.friendlies {
		width: 30px;
	}
	.ti_th_col.fifty {
		width: 45px;
	}
	.ti_th_col.sixty.money {
		display: none;
	}
	.ti_th_col.draws, .ti_th_col.losses {
		display: none;
	}
	
	#team_info_transfer_history_container .ti_th_col.season {
		width: 35px;
	}
	#team_info_transfer_history_container .ti_th_col.player {
		text-align: left;
		text-indent: 2px;
		width: 92px;
	}
	#team_info_transfer_history_container .ti_th_col.age {
		width: 30px;
	}
	#team_info_transfer_history_container .ti_th_col.q {
		width: 30px;
	}
	#team_info_transfer_history_container .ti_th_col.value {
		text-align: right;
		width: 40px;
		padding-right: 0px;
	}
	#team_info_transfer_history_container .ti_th_col.buyer {
		text-align: left;
		width: 97px;
	}
	#team_info_transfer_history_container .ti_th_col.seller {
		text-align: left;
		width: 97px;
	}	
	#team_info_transfer_history_container .ti_th_col.amount {
		text-align: right;
		width: 35px;
	}	

	.trophy_box {
		display: inline-block;
		width: 240px;
		border: 1px solid white;
		border-radius: 5px;
		margin-left: 1px;
		margin-right: 1px;
		margin-top: 3px;
		margin-bottom: 3px;
		vertical-align: top;
	}
	.trophy_box_header {
		height: 25px;
		font-size: 20px;
		line-height: 20px;
	}
	img.trophy {
		height: 100px;
		width: 100px;
		vertical-align: top;
	}
	.trophy_texts_container {
		display: block;
		width: 100%;
		text-align: center;
		height: 40px;
		font-size: 13px;
		line-height: 13px;
	}	
	
	
	div#recent_achs_list_container {
		height: auto;
		overflow-y: unset;
	}
	
	div.recent_achs_item_col.name {
		width: 100%;
		letter-spacing: 2px;
		color: gold;
	}
	div.recent_achs_item_col.timestamp {
		width: 12%;
	}	
	div.recent_achs_item_col.description {
		width: 87%;
	}
	.recent_achs_item {
		border-bottom: 1px solid white;
	}	
	.achievement_container {
		margin-left: 29px;
	}

	.ti_hof_list_container {
		display: inline-block;
		width: 100%;
	}
	.ti_hof_list_scroller {
		overflow-y: scroll;
		height: 197px;
		width: 98%;
	}
	.ti_hof_player_container {
		position: relative;
		top: 0px;
		left: 0;
		width: 100%;
		height: auto;
		border-bottom: 1px solid white;
		overflow: hidden;
		font-size: 14px;
		line-height: 15px;
	}
	.ti_hof_atg_container {
		position: relative;
		width: 100%;
		height: auto;
		top: 0;
		left: 0;
	}	

	/* Player popup adaptations */
	div.player_info_popup {
		top: 80px;
		left: 0px;
		width: 500px;
		position: fixed !important;
		height: auto;
		border: 0px solid #a2a2a2;
		border-top: 2px solid #a2a2a2;
		border-bottom: 2px solid #a2a2a2;
	}
	.playerinfo_stat.header {
		background-color: #333;
		text-indent: 2px;
  }
  
  .playerinfo_stat.title {
		width: 64px;
		text-align: left;
  }
  .playerinfo_stat {
		display: inline-block;
		width: 32px;
		text-align: center;
	}
	.playerinfo_current_season_stat.first {
		width: 130px;
		text-indent: 5px;
		text-align: left;
		font-variant: small-caps;
	}
	.playerinfo_current_season_stat {
		display: inline-block;
		width: 58px;
		text-align: center;
	}	

	.player_history_row.entry {
		border-bottom: 1px solid white;
	}
	.playerinfo_history_stat.team {
		width: 320px;
		text-align: right;
	}

	.hidden600{
		display: none;
	}

	.playerinfo_history_stat.gkstat.season, .playerinfo_history_stat.stat.season {
		width: 150px;
	}

	.playerinfo_history_stat.gkstat {
		text-align: center;
		width: 36px;
	}

	.playerinfo_history_stat {
		width: 34px;
	}
	.playerinfo_history_stat.stat.short {
		width: 27px;
	}

	.playerinfo_history_stat.transfer.team {
		width: 103px;
	}
	.playerinfo_history_stat.transfer.date.right {
		display: none;
	}	
	.playerinfo_history_stat.transfer.amount {
		width: 41px;
	}	
	.playerinfo_history_stat.transfer.short {
		width: 46px;
		text-align: center;
	}	

	.playerinfo_history_stat.transfer.longdate {
		display: none;
  }


	.player_info_popupheader div.team_info_headerdivider{
		display: none;
	}

	.player_info_popup .team_info_teamname {
		text-align: right;
		margin-right: 2%;
		height: 35px;
		line-height: 35px;
		overflow: hidden;
		vertical-align: top;
		margin-left: 73px;
		width: 250px;
	}

	.player_info_popup img.team_info_menu_button {
		left: 5px;
	}
	
	.player_info_popup img.team_info_lock_button {
		left: 75px;
	}

	.player_info_popup .team_info_managername {
		/*display: none;*/
		width: 86px;
		position: absolute;
		top: 119px;
		z-index: 5;
		left: 9px;
		margin: 0px;
		text-align: left;		
				
	}

	.player_info_top_section {
		width: 426px;
	}
	img.playerinfo_watch_icon {
		top: 60px;
		left: 448px;
	}
	.player_info_popup .ps_result_scout {
		top: 120px;
		left: 448px;
	}

	.playerinfo_last_5_performance_item {
		margin-right: 15px;
		margin-left: 15px;
	}

	.player_info_popup .potstar_small {
		top: 120px;
		left: 448px;
		background: none;
	}
	span.potstar_small_text {
		width: 40px;
		line-height: 25px;
		vertical-align: bottom;
		display: inline-block;
		margin-left: -10px;
	}
	img.potstar_small_img {
		height: 25px;
		width: 25px;
		display: inline-block;
		margin-left: -10px;
	}
	img.player_info_note_button.msg {
		left: 448px;
		top: 180px;
	}
	img.player_info_note_button {
		left: 454px;
		top: 240px;
	}		

	.playerinfo_teamlogo_container {
		position: absolute;
		left: 0px;
		margin-left: 4px;
	}
	.playerinfo_transfer_container {
		margin-left: 122px;
	}

	/* Stadium adaptations */
	#stadium_facilities_box {
		height: auto;
	}
	div.facility_cell.type {
		width: 168px;
		text-indent: 2px;
	}
	div.facility_cell.curr, div.facility_cell.next {
		width: 165px;
	}	
	div.facility_cell.cost {
		width: 166px;
		text-indent: 25px;
	}
	div.facility_cell.time {
		width: 106px;
		text-align: center;
	}
	div.facility_cell.actions {
		width: 83px;
		text-align: center;
	}

	.stadium_upgrades_header_container div.facility_cell.cost, .stadium_upgrades_header_container div.facility_cell.time, .stadium_upgrades_header_container div.facility_cell.actions {
		display: none;
	}
	div.stadium_upgrades_entry_container {
		height: auto;
	}

	#stadium_picture_box {
		height: auto;
	}
	#main_stadium_image {
		width: 100%;
		height: auto;
		margin: 0px;
	}
	#stadium_revenue_box {
		height: auto;
	}	
	div.stadium_graph_container {
		width: 100%;
		height: auto;
	}
	#stadium_prices_box {
		height: auto;
	}
	#stadium_prices_box .cell.left {
		width: 49%;
		text-indent: 30px;
	}
	#stadium_prices_box .cell.right {
		width: 49%;
		text-align: center;
	}
	#update_stadium_prices_button {
		margin-top: 13px;
		margin-bottom: 13px;
		margin-left: 25%;
		width:50%;
  }	
	#repair_decay_button {
		margin-top: 13px;
		margin-bottom: 13px;
		margin-left: 25%;
		width:50%;
	}
	#stadium_decay_box {
		height: auto;
	}
	#stadium_decay_bar {
		margin-left: auto;
		margin-right: auto;
		margin-top: 6px;
		margin-bottom: 6px;
	}
	div#stadium_statues_box {
		height: auto;
	}
	.stadium_statue_entry {
		margin-bottom: 20px;
		margin-top: 20px;
	}
	#stadium_no_decay_box {
		width: 100%;
		text-align: center;
		padding-top: 10px;
		padding-bottom: 10px;
		font-size: 17px;
		font-variant: small-caps;
	}	

	#finances_report_box {
		height: auto;
	}
	div.finances_cell.category {
		width: 248px;
		text-indent: 5px;
	}
	div.finances_cell.income {
		width: 115px;
		text-align: right;
		padding-right: 5px;
	}
	div.finances_cell.expense {
		width: 115px;
		text-align: right;
		padding-right: 5px;
	}		
	#finance_entries {
		height: 290px;
		overflow-y: scroll;
	}
	#finances_summary_box {
		height: auto;
	}
	#finances_summary_box .finances_header_container .finances_cell.category, #finances_summary_box .finances_entry_container .finances_cell.category {
		width: 286px;
	}
	#finances_summary_box div.finances_cell.income, #finances_summary_box div.finances_cell.expense {
		width: 164px;
	}
	#finances_graph_box {
		height: auto;
	}
	#finance_graph {
		margin-left: 0px;
		width: 100%;
	}
	div.finances_cell.stat_left {
		width: 49%;
	}	
	div.finances_cell.stat_right {
		width: 49%;
	}	
	#sponsor_history_box {
		height: auto;
	}
	div.sponsor_comparison_header_container {
		height:auto;

	}	
	#sponsor_selection_box {
		height: auto;
	}
	div.sponsor_select_container {
		width: 46%;
	}	
	img.confirmation_sponsor_image{
		width: 90%;
		height:auto;
	}

	div.sponsor_comparison_cell.name {
		width: 123px;
	}
	div.sponsor_comparison_cell.cred {
		width: 30px;
	}
	div.sponsor_comparison_cell {
		width: 42px;
	}	
	div.sponsor_comparison_cell {
		width: 42px;
	}
	div.sponsor_comparison_cell {
		width: 42px;
	}	
	div.sponsor_comparison_cell {
		width: 42px;
	}
	#sponsor_logo_box {
		height: auto;
	}	
	#sponsor_logo_box img.sponsor_information_image {
		cursor: pointer;
		width: 100%;
		height: auto;
	}
	#sponsor_information_box {
		height: auto;
	}
	#sponsor_deal_box {
		height: auto;
	}
	#finance_history_box {
		height: auto;
	}	
	#finance_history_entries {
		height: 300px;
		overflow-y: auto;
	}
	#finance_history_canvas_container {
		margin-left: 0px;
		width: 100%;
		height: 500px;
		border-top: 5px solid black;
	}
	div.finances_cell.income.history {
		width: 71px;
	}			

	/* Match popup adaptations */
	#matchpopup {
		width: 500px;
		height: auto;
		position: absolute !important;
		top: 0px;
		left: 0px;
	}
	#pre_match_overlay_container {
		height: 930px;
		width: 500px;
		background-image: linear-gradient(180deg, black, #444, black, #444, black, #444, black, #222, black);
		top: 110px;
		/*
		height: 100vh;
		overflow-y: scroll;		
		*/
	}
	
	#pre_match_central_container {
		display: block;
		width: 500px;
		height: auto;
		text-align: center;
		font-size: 20px;
		line-height: 20px;
		position: relative;
		left: 0px;
		top: 0px;
		background-image: linear-gradient(180deg, black, #86868657);
  	}
	  #pre_match_overlay_container .m_o_fix_type {
		top: 0px;
		margin-top: 17px;
		position: relative;
		margin-top: 0px;
		left: 0px;
		margin-left: 10px;
		margin-right: 10px;
		width: 480px;
	}
	.venueInfoContainer {
		width: 480px;
		height: auto;
		top: 0px;
		margin-left: 10px;
		margin-right: 10px;
		left: 0px;
		position: relative;
		margin-top: 15px;
	}
	.stadiumInfoContainer {
		height: auto;
		margin-top: 16px;
		width: 480px;
		margin-left: 10px;
		margin-right: 10px;
		position: relative;
		left: 0px;
		/*display: none;*/
		/* A shame to hide this. Consider a way of including it later. */
	}
	.statuesInfoContainer {
		position: absolute;
		box-shadow: 0px 0px 5px 2px white;
		background-color: rgba(0, 0, 0, 0.5);
		left: 0px;
		top: 0px;
		position: relative;
		width: 480px;
		margin-left: 10px;
		margin-right: 10px;
	}
	div#statue_popup_container {
		position: fixed;
		z-index: 100;
		width: 480px;
		top: 18%;
		left: 1.5%;
		background-color: rgba(0, 0, 0, 0.90);
		box-shadow: 0px 0px 5px 2px #face6d;
	}	
	div#pre_match_overlay_field {
		height: 690px;
		width: 500px;
		/* We need a vertical stadium image here */
		/* background-image: url(images/ml2/match/overlaypitch.jpg); */
		/* background-image: url(images/ml2/bgs/newfield_landscape_2.png); */
		background-image: url("images/ml2/bgs/newfield_portrait_500w.png");
		position: relative;
		top: 0px;
		background-position: unset;
		background-size: auto;
		background-repeat: no-repeat;
	}	

	.match_header_container .match_manager, .match_header_container .match_sponsor, .match_header_container .match_avatar {
		display: none;
	}


	/* Experimental changes */
	/* These sizes makes it possible to have 6 players in one row, whcih supports the "widest" formation 3-6-1 */
	/* The leftmost player will have a left of 8px. The rightmost can have a left of 410px. Something like that.*/
	#pre_match_home_team_container {
		display: block;
		width: 500px;
		height: 346px;
		position: absolute;
		left: 0px;
		top: 346px;
	}
	#pre_match_away_team_container {
		display: block;
		position: absolute;
		left: 0px;
		top: 0px;
		right: auto;
		width: 500px;
		height: 347px;
  }	

	#pre_match_overlay_container .player_field_container {
		width: 80px;
		height: 62px;
	}
	#pre_match_overlay_container .player_field_container img {
		position: absolute;
		left: 11px;
		height: 53px;
	}
	#pre_match_overlay_container .player_field_name {
		width: 76px;
		left: 2px;
		line-height: 18px;
		height: 18px;
		font-size: 13px;
		top: 26px;
	}
	#pre_match_overlay_container .player_field_number {
		width: 76px;
		left: 2px;
		font-size: 14px;
		top: 44px;
		height: 18px;
		line-height: 18px;
	}
	div#pre_match_overlay_field .player_field_shirtnumber {
		top: -17px;
		font-size: 18px;
		line-height: 20px;
		font-family: var(--tertiary-font-family);
		left: 28px;
		background-color: rgba(0, 0, 0, 0.5);
		width: 29px;
		height: 21px;
	}	
	
	#pre_match_overlay_container .m_o_click_string {
		left: 3%;
		width: 94%;
		text-align: center;
		position: relative;
		bottom: auto;
		margin-top: 20px;
		margin-bottom: 20px;		
	}

	#copy_match_link_button2, #save_match_button2, #exit_match_button2  {
		bottom: auto;
		top: auto;
		position: relative;
		display: inline-block;
		vertical-align: top;
		left: auto;
		right: auto;
		margin-left: 8%;
		margin-right: 8%;
		margin-bottom: 25px;
	}
	.match_overlay_quality.away {
		left: 10px;
		top: 12px;
		font-size: 17px;
	}
	.match_overlay_fitness.away {
		left: 363px;
		top: 12px;
		font-size: 17px;
	}
	.match_overlay_quality.home {
		left: 10px;
		top: 646px;
		font-size: 17px;
	}
	.match_overlay_fitness.home {
		left: 363px;
		top: 646px;
		font-size: 17px;
	}	

	#pre_match_overlay_container .player_field_container.sub1, #pre_match_overlay_container .player_field_container.sub2, #pre_match_overlay_container .player_field_container.sub3, #pre_match_overlay_container .player_field_container.sub4, #pre_match_overlay_container .player_field_container.sub5, #pre_match_overlay_container .player_field_container.sub6, #pre_match_overlay_container .player_field_container.sub7 {
		display: none;
	}

	.match_scores_container {
		left: 182px;
		width: 134px;
	}

	.home_team {
		position: absolute;
		top: 0px;
		left: 0px;
		height: 110px;
		width: 180px;
		text-align: center;
		color: white;
		font-size: 20px;
	
	}
	.home_team .match_teamname {
		position: absolute;
		top: 0px;
		height: auto;
		width: 177px;
		text-align: center;
		padding-left: 5px;
		transform: skew(0deg);
		left: 0px;
		background-image: linear-gradient(90deg, transparent, black, black, black, transparent);
		z-index: 2;
	}
	.home_team .match_logo {
		top: 0px;
		left: 38px;
		height: 110px;
		width: 110px;
	}
	.home_team span {
		text-align: center;
	}	
	.away_team {
		position: absolute;
		top: 0px;
		right: 0px;
		height: 110px;
		width: 180px;
		color: white;
		font-size: 20px;
		font-family: var(--secondary-font-family);
  }
	.away_team .match_teamname {
		position: absolute;
		top: 00px;
		right: 0px;
		height: auto;
		width: 177px;
		padding-right: 5px;
		text-align: right;
		background: none;
		transform: skew(0deg);
		color: yellow;
		background-image: linear-gradient(90deg, transparent, black, black, black, transparent);
		z-index: 2;
	}
	.away_team .match_logo {
		position: absolute;
		top: 0px;
		right: 38px;
		height: 110px;
		width: 110px;
		background: none;
	}
	.away_team span {
		display: block;
		transform: skew(0deg);
		text-align: center;
		padding-left: 0px;
	}	

	/* Hiding these for now, consider bringing it back at the bottom of the match popup */
	.match_other_results_container {
		width: 500px;
		display: none;
	}
	.match_players_container {
		width: 246px;
		height: auto;
		top: 0px;
		display: inline-block;
		position: relative;
		display:none;
		background-color: black;
	}

	.match_controls_container {
		position: relative;
		top: 0px;
		left: 0px;
		height: 60px;
		width: 500px;
		padding: 0px;
		background-color: darkslategrey;
  }

	.match_c_text {
		width: 433px;
	}
	.match_commentary_container {
		width: 490px;
		height: 230px;
		top: 0px;
		left: 0px;
		background-color: black;
		position: relative;
		border-bottom: 1px solid white;
	}
	.match_stats_container {
		position: relative;
		top: 0px;
		right: auto;
		height: 447px;
		height: 456px;
		width: 500px;
		background-color: black;
	}	
	.match_lower_right_buttons_container {
		position: relative;
		bottom: auto;
		top: 0px;
		height: auto;
		width: 500px;
		left: 0px;
		background-color: black;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	#match_lower_right_buttons_container .modal_button {
		height: 30px;
		width: 80px;
		top: 0px;
		right: auto;
		position: relative;
		display: inline-block;
		margin-top: 0px;
		margin-bottom: 0px;
		margin-left: 42px;
		margin-right: 42px;
	}

	#match_lower_right_buttons_container #toggle_match_stats_players_button {
		display: block;
		width: 91%;
		margin-left: 3%;
		margin-right: 3%;
		margin-top: 5px;
	}

	.timeline_line_container {
		width: 450px;
	}
	.match_timeline_circle.start {
		left: 0px;
	}
	.match_timeline_circle.half {
		left: 156px;
	}
	.match_timeline_circle.full {
		left: 312px;
	}
	.match_timeline_circle.extra {
		left: 390px;
	}
	.match_timeline_circle.pt {
		left: 450px;
	}
	.mom_container {
		top: 275px;
		left: 42px;
	}
	#mom_button {
		top: 377px;
		left: 210px;
	}	

	/* Player snapshot adaptations */
	#player_snapshot_popup {
		display: none;
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: auto;
		background-color: #333333;
		z-index: 101;
		color: white;
	}

	#player_snapshot_popup .player_training_container {
		height: 20px;
	}
	#player_snapshot_popup .player_training_container .player_training_col.name {
		width: 86px;
	}
	#player_snapshot_popup .player_training_container .player_training_col.age {
		display: none;
	}	

	#player_snapshot_popup .player_training_container .player_training_col.fitness, #player_snapshot_popup .player_training_container .player_training_col.f_diff {
		display: none;
	}
	#player_snapshot_popup .player_training_container .player_training_col.stat {
		width: 20px;
	}
	#player_snapshot_popup .player_training_container .player_training_col.diff {
		width: 14px;
  	}

	.playerinfo_admin_button{
		left: 370px;
	}
	.playerinfo_admin_menu {
		left: 327px;
		top: 64px;
	}	

	/* Various stuff */
	#admin_motd_box {
		height: auto;
	}
	#motd_content {
		max-height: 338px;
		height:auto;
	}
	#adm_league_message_box {
		height: auto;
	}
	div.league_message_col {
		display: inline-block;
		height: 380px;
		width: 159px;
		vertical-align: top;
	}
	div.league_message_col.second {
		width: auto;
	}
	#adm_league_message_box #message_subject {
		width: 300px;
	}	
	#adm_league_message_box #message_body {
		width: 300px;
	}	
  
	.status_threads_entry_wrapper {
		height: auto;
	}
  
	/* forum search adaptations */
	div.forum_search_result_cell.forum {
		width: 150px;
	}
	div.forum_search_result_cell.thread {
		width: 250px;
	}	

	#forum_groups_box .std_box_header {
		height: auto;
	}
	.forum_search_container{
		position: relative;
		display: block;
	}	
	#thread_list_box .std_box_header {
		height: auto;
	}

	.status_threads_header_wrapper .status_thread_name {
		width: 212px;
	}
	#status_fix_res{
		height: auto;
	}
	.full_schedule_bottom_panel {
		position: relative;
	}

	/* #status_fix_res */
	.fixture_entry {
		position: relative;
		height: 27px;
		line-height: 27px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	/* Training-fix */
	.player_training_container.header_row {
		height: 20px;
		line-height: 20px;
	}
	.rest input {
		height: 18px;
		width: 20px;
	}

	/* Event popup fix */
	div#event_popup label.events_match_type_label {
		font-size: 15px;
	}

	div#event_popup {
		width: 500px !important;
		top: 20px;
		position: absolute !important;
	}
	div#event_popup .single_checkbox_container {
		width: 118px;
	}
	.events_explanation_container {
		padding-left: 2px;
		padding-right: 2px;
	}	
	.events_sub_header {
		padding-top: 5px;
		margin-bottom: 3px;
		margin-top: 3px;
	}

	/* International tournaments fix */
	#tournament_stats_scroll_wrapper .top_3_box {
		margin-left: 16px;
		margin-right: 16px;
	}
	.mytransfers_player_container {
		margin-bottom: 1px;
		margin-top: 1px;
	}
	.mytransfers_player_cell {
		height: 25px;
		line-height: 25px;
	}
	.mytransfers_player_cell.actions img.img20 {
		height: 17px;
		margin-top: 4px;
	}	
	.mytransfers_player_cell.ability img.ps_result_ability {
		height: 20px;
		width: 20px;
		margin-top: 2px;
	}

	img.prev_finance_round {
		position: relative;
		left: 0px;
		height: 31px;
		display: inline-block;
	}
	div.finance_round_header {
		display: inline-block;
		text-align: center;
		width: 96px;
		vertical-align: top;
	}	
	img.next_finance_round {
		position: relative;
		left: auto;
		height: 31px;
		display: inline-block;
		right: 0px;
	}
	img.next_finance_round:hover, img.prev_finance_round:hover {
		height: 31px;
		top: 0px;
	}
	#finance_entries {
		height: auto;
		overflow-y: auto;
		padding-bottom: 2px;
	}
	#finances_summary_box div.finances_cell.income, #finances_summary_box div.finances_cell.expense {
		width: 185px;
	}		

	#player_ranking_top_threes .top_3_box {
		margin-left: 24px;
		margin-top: 6px;
	}

	#player_ranking_top_threes{
		height: auto;
	}
	#trophy_ranking_box .manager_ranking_entry_container.header .mr_col.rank {
		margin-left: 48px;
	}	

	.mobile_menu_sub_item.orange{
		color:orange;
	}

	#tables_league_table .table_entry {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.misc_prefs_container {
		margin-top: 0px;
		margin-bottom: 0px;
		padding-bottom: 5px;
		padding-top: 5px;
	}

	div#add_sponsor_box .prefs_input {
		padding-left: 5px;
		padding-right: 5px;
		width: 376px;
		margin-left: 10px !important;
	}
	div#add_sponsor_box .new_sponsor_form_item {
		display: block;
		width: 100%;
		min-height: 30px;
		margin-bottom: 8px;
	}	
	div#pending_sponsors_box {
		right: 0px;
		top: 0px;
		bottom: 0px;
		left: 0px;
		padding: 0px;
		height: auto;
	}
	.new_sponsor_info {
		line-height: 150%;
		font-size: 14px;
		width: 96%;
		padding: 2%;
		font-style: italic;
	}	


	/* Experimental */
	.general_entry_container.twentyhigh {
		height: auto;
	}

	#modal_content_tut{
		max-height: 75vh;
	}

	.ts_player_container2{
		padding-top: 5px;
		padding-bottom: 5px;
	}
	select#rendermode_dropdown {
		width: 98%;
	}
	.ts_player_container {
		width: auto;
		line-height: 17px;
		padding-bottom: 5px;
		padding-top: 5px;
	}	
	.player_training_container img.boxheader_right_image {
		top: 8px;
		right: 4px;
	}

	div#hq_news{
		height: auto;
	}
	div#hq_news_scroll_wrapper {
		height: auto;
	}

	.tr_news.col0 {
		width: 22px;
	}
	
	#news_news .top_news_entry span {
		width: 480px;
	}

	div.tr_news.col1 {
		width: 130px;
		text-indent: 5px;
		overflow: hidden;
	}
	div.tr_news.col2, div.tr_news.col3 {
		width: 137px;
		overflow: hidden;
	}	
	div.tr_news.col4 {
		width: 60px;
		text-align: right;
		overflow: hidden;
	}	

	div#latest_transfers_news {
		height: auto;
	}
	div#greatest_transfers_news {
		height: auto;
	}

	div#latest_transfers_scroll_wrapper, div#greatest_transfers_scroll_wrapper {
		height: auto;
		min-height: 150px;
	}

	#mail_message_container {
		height: 230px;
		padding-left: 12px;
		padding-right: 12px;
	}
	
	.player_compare_row {
		height: 23px;
		overflow: hidden;
		line-height: 23px;
		font-size: 16px;
	}
	.player_compare_row .general_cell.x5 {
		width: 95px;
	}
	.player_compare_row .general_cell.x7 {
		width: 130px;
	}
	span.compDiff {
		position: absolute;
		right: 10px;
		font-size: 13px;
	}	

	.modal_content{
		padding: 5px;
	}

	.tv_players_stat.name {
		width: 160px;
	}

	div#int_tut_popup{
		top: 80px !important;
	}

	#chat_container.fullscreen{
		min-height: 800px !important
	}

	.player_training_buttons_container {
		padding-top: 3px;
		padding-bottom: 0px;
		text-align: center;
	}
	
	#assistant_button{
		width:90%;
		text-align: center;
	}
	#rest_special_button{
		width: 20%;
	}

	.modal_button.ok.player_training_button.short {
		width: 32%;
		margin-bottom: 10px;
	}

	.pc_fixres_cell.round {
		width: 70px;
	}
	.pc_fixres_cell.result {
		width: 70px;
	}
	.pc_fixres_cell.name{
		width: 174px;
	}
	#pc_fixres_scroll_wrapper .pc_fixres_cell.flag {
		display: none;
	}

	button.modal_button{
		width: 155px;
	}

	div#team_statistics_canvas_container{
		width:100%;
	}
	

	span#top_cash_container.no_sponsor:before, span#top_cash_container.no_sponsor:after {
		content:"❗";
	}

	#modal_window_tut {
		font-size: 16px;
	}

	#sponsor_history_box div.sponsor_comparison_cell.cred{
		width:75px;
	}
	#sponsor_history_box div.sponsor_comparison_cell.name{
		width:200px;
	}

	/* OVERRIDES TRAINING*/
	.player_training_container .player_training_col.stat {
		cursor: pointer;
		width: 20px;
	}
	.player_training_container .player_training_col.total {
		width: 22px;
		text-indent: 0px;
	}
	.player_training_container .player_training_col.total.totaldiff {
		width: 22px;
		text-indent: 0px;
		font-size: 10px;
		text-align: left;
  }
	.player_training_container .player_training_col.ability {
		width: 25px;
		text-indent: 0px;
	}
	button#order_camp_button, button#cancel_camp_button {
		margin-left: 25%;
		margin-right: 25%;
		width: 50%;
	}
}

div.darkred {
	color: darkred;
}
div.m5 {
	margin: 5px;
}
