@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600&display=swap');

:root {
	--primary-font-family: 'Raleway', sans-serif ;
	--secondary-font-family: 'Open Sans', sans-serif;
	--tertiary-font-family: Arial;

	--box-bg-1: rgba(0,0,0,0.80);
	--box-bg-2: rgba(31,35,56,0.50);

	--box-bg-3: rgba(0,0,0,0.60);
	--box-bg-4: rgba(31,35,56,0.50);

	--previous-box-bg-2: rgba(31,35,56,0.97);

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

	--box-bg-image: linear-gradient(to bottom right, var(--box-bg-1),var(--box-bg-2));
	--top-box-bg-image: linear-gradient(to bottom, var(--box-bg-3),var(--box-bg-4));

 }

body {
	background-image: url('ml/images/ml2/bgs/bg_1.jpg');
	/*url('ml/images/ml2/front/mainbg3.jpg')*/
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center top;
	background-size: cover;
	color:var(--text-color);
	box-sizing: border-box;
	font-size: 1.1em;
	height: 100%;
	font-family: var(--primary-font-family);
	margin: 0px;
	padding: 0px;
	padding-bottom: 30px;
}
h1{
	text-align:center;
	color:var(--text-color);
	text-shadow: 5px 5px 5px black;
	/*font-family: serif;*/
	letter-spacing:2px;
	font-size: 2.0em;
	margin-top: -11px;
	margin-bottom: 20px;
	text-transform: uppercase;
}
h2{
	text-align:center;
	color:var(--text-color);
	text-shadow: 5px 5px 5px black;
	/*font-family: serif;*/
	letter-spacing:2px;
	font-size: 2.0em;
	margin-top: -10px;
	margin-bottom: 20px;
}
h2.special_p_header{
	padding: 0px;
	text-align: justify;
	font-family: var(--primary-font-family);
	font-size: 1.0em;
	color:var(--text-color);
	font-weight: normal;
	letter-spacing: 0px;
	text-shadow: none;
	margin-top: 0px;
	margin-bottom: 10px;
}

a, a:visited, a:focus{
	color:var(--text-color);
	font-size: 1em;
}
.ballcontainer {
	text-align: center;
	width: 100%;
	position: absolute;
	z-index: -1;
	top: 0px;

}
img.ball {
	filter: brightness(0.5);
	height: 150px;
}
.toplogo{
	display: block;
	height: 100px;
	background-image: url(ml/images/ml2/front/MLFrontLogo2017.png);
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
	background-position:center;
}
div{
	box-sizing: border-box;
}

.joinbutton {
	position: relative;
	display: inline-block;
	width: 234px;
	height: 79px;
	cursor: pointer;
	box-shadow: 3px 3px 5px black;
	background: rgb(0,40,110) url('ml/images/new/newlogin/bigbutton_join_2015.png') no-repeat -1px;
	/*background: #0fc70f url('ml/images/new/newlogin/bigbutton_join_2015.png') no-repeat -1px;*/

	background-size: auto;
	background-size: 101%;
	border-radius: 7px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 20px;

}
.playbutton {
	position: relative;
	display: inline-block;
	width: 235px;
	height: 79px;
	cursor: pointer;
	box-shadow: 3px 3px 5px black;
	background:rgb(0,40,110) url('ml/images/new/newlogin/bigbutton_play_2015.png') no-repeat;
	/*background: #0fc70f url('ml/images/new/newlogin/bigbutton_play_2015.png') no-repeat -1px;*/
	background-size: auto;
	border-radius: 7px;
	background-size: 101%;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;

}
.maintext_container{
	position: relative;
	padding-top: 0px;
	text-align:justify;
	/*
	background-color:rgba(0,0,0,0.85);
	background-color: rgba(4, 10, 45, 0.75);
	background-color: rgba(31,35,56,0.97);
	*/
	border-radius:5px;
	margin-bottom: 10px;
	padding-bottom: 3px;
	background-image: var(--box-bg-image);
}

.inner_container{
	padding:5px;
	margin-left: 5px;
	margin-right: 5px;
}

.wHeader {
	text-align: center;
	padding-top: 3px;
	padding-bottom: 3px;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.15) );
	border-radius: 5px 5px 0px 0px;
}
.playbutton:hover, .joinbutton:hover {
	/*background-color:green;*/
	background-color: rgb(0,40,110);
	border: 1px solid orange;
}
.actionbuttons{
	text-align:center;
}

.outer_container {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-left: 5px;
	padding-right: 5px;
	max-width: 900px;
	min-width: 485px;
	position: relative;
}

.bottom{
	display:block;
	text-align:center;
	background-color:rgba(0,0,0,0.85);
	position:fixed;
	width:100%;
	bottom:0px;
	left:0px;
	font-size: 1em;
	padding-bottom: 5px;

}
.bottom span{
	font-size:1em;
}
.bottom_link {
	display: inline-block;
	cursor: pointer;
	text-transform: uppercase;
	width: 32%;
	text-align: center;
	user-select: none;
	font-family: var(--secondary-font-family);
}

.bottom_link.expanded {
	cursor: default;
	width: 49.5%;
}
.bottom_link:hover{
	color:var(--link-color);
}

.left_form_field{
	display:inline-block;
	width:30%;
	vertical-align: top;
}
.right_form_field{
	display:inline-block;
	width:69%;
	vertical-align: top;
}

.right_form_field a{
	font-size:0.7em;
}

.hovering_container{
	position: relative;
	z-index:5;
	padding:10px;
	text-align:justify;
	background-color:rgba(0,0,0,0.95);
	border-radius:5px;
	width:600px;
	height:600px;
}

#login_window, #registration_window, #resend_window, #rules_window, #privacy_window, #activation_window{
	display:none;

}

#tip{
	display:none;
}

#screenshots_container{
	text-align: center;
	height: 160px;
	overflow: hidden;
}
img.thumb{
	width: 200px;
	height: 131px;
	margin:10px;
	cursor:pointer;
	border: 1px solid #6a6a6a;
}
img.thumb:hover{

	border: 1px solid orange;
}
div.inner_login_container {
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	user-select: none;
}
input {
	width: 100%;
	height: 1.3em;
	font-size: 1.3em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
input[type=text],input[type=email],input[type=password], select {
	width: 100%;
	padding: 0px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1.2em;
 }
input[type="button"] {
	background-color: #009202;
	border: 1px solid grey;
	color: white;
	border-radius: 5px;
	margin: 8px 0;
	box-sizing: border-box;
	text-transform: uppercase;
}
input[type="button"]:hover {
	border: 2px solid orange;
}
.form_field_entry.checkbox{
	display: table-row;
	vertical-align: middle;
}
input[type="checkbox"]{
	width: 0.7em;
	height: 0.7em;
	display: table-cell;
	vertical-align: middle;
}
label {
	font-size: 0.7em;
	display: table-cell;
}

#screenshot_wrapper{
	position: fixed;
	flex-flow: column;
	display: none;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.9);
	height: 100%;
	width: 100%;
	align-items: center;
	justify-content: center;
	z-index: 10;
	margin: 0px;
	padding: 0px;
}

img.big_thumb{
	width:95%;
	max-width: max-content;
}

div.screenshot_header{
	z-index:11;
	font-size:2em;
	text-transform: uppercase;
	cursor:pointer;
}

.update_container {
	display: inline-block;
	width: 33%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
}

.update_date.selected{
	color: var(--link-color);
}

.update_date {
	display: inline-block;
	width: 150px;
	text-align: center;
	font-size: 0.9em;
	font-family: var(--secondary-font-family);
	height: 35px;
	line-height: 35px;
	cursor: pointer;
	border-radius: 5px;
	background-image: linear-gradient( 45deg, #1b334b, #121a2e, #1b334b);
	border: 1px solid #646464;
}

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

.update_name:hover {
	color: var(--link-color);
	border: 1px solid orange;
}

div.patch_details{
	display:block;
}

div.patchnotes{
	width: 100%;
	height: 125px;
	resize: none;
	background-color: rgba(31,35,56,0.97);
	color: lightgrey;
	font-size: 1em;
	white-space: pre-wrap;
	overflow-y: scroll;
	padding: 8px;
	font-family: monospace;
	margin-bottom: 5px;
	border: 1px solid white;
	display:none;
}

#rules_privacy_notes{
	white-space: normal;
	height:300px;
}

.update_link {
	display: inline-block;
	width: 24%;
	text-align: right;
}

#feedbackframe{
	display:none;
	position: absolute;
	z-index: 50;
	margin-top: 300px;
	margin-left: 10%;
	margin-right: 10%;
	padding: 10px;
	background-color: rgba(0,0,0,0.9);
	border-radius: 5px;
	border: 1px solid white;
	width: 80%;
	text-align: center;
	box-sizing: border-box;
}

.appstores{
	text-align: center;
}
.appstores img{
	width:220px;
	height: 72px;
	margin-left: 5%;
	margin-right: 5%;
	cursor: pointer;
	filter:saturate(0%);
	border-radius: 10px;
	border: 1px solid transparent;
}

.appstores img:hover{
	filter:saturate(100%);
	border: 1px solid orange;
}

.form_field_entry.right {
	text-align: right;
}

.form_item {
	position: relative;
}
.form_item.hidden {
	display:none;
}
.form_field_detail {
	position: absolute;
	right: 0px;
	top: 5px;
	color:var(--link-color);
	font-size: 13px;
}

.form_field_detail.special {
	position: relative;
	top: auto;
	bottom: 0px;
	text-align:right;
}

span.small_link{
	color:var(--link-color);
	font-variant: all-small-caps;
	cursor: pointer;
	text-decoration: underline ;
}

span.small_link.left {
	display: inline-block;
	width: 49%;
	text-align: left;

}
span.small_link.right {
	display: inline-block;
	width: 49%;
	text-align: right;
}
.redpulse {
	animation: redpulse 1s;
}

#social_media_window{
	text-align: center;
}
#social_media_window img{
	margin: 5px;
	filter:saturate(30%);
}
#social_media_window img:hover{
	filter:saturate(60%);
}

#partner_window{
	text-align: center;
}
#partner_window img{
	margin: 5px;
	filter:saturate(30%);
}
#partner_window img:hover{
	filter:saturate(60%);
}

span.copyright{
	font-size: 0.7em;
	padding: 0px;
	margin: 0px;
	font-family: 'Open Sans';
}

div#show_more {
	color:var(--link-color);
	font-size: 0.7em;
	text-align: right;
	margin-top: -22px;
	cursor:pointer;
	font-variant: all-small-caps;
	user-select: none;
}

#extinfo{
	display:none;
	user-select: none;
	margin-top: 10px;
}

@keyframes redpulse {
	0%   {background-color: white;}
	50%  {background-color: red;}
	100% {background-color: white;}
}

.textredpulse {
	animation: textredpulse 1s;
}
@keyframes textredpulse {
	0%   {color: white;}
	50%  {color: red;}
	100% {color: white;}
}

.fadepulse {
	animation: fadepulse 1s;
}
@keyframes fadepulse {
	0%   {opacity: 1;}
	50%  {opacity: 0;}
	100% {opacity: 1;}
 }

 .joinpulse {
	animation: joinpulse 3s;
	animation-iteration-count: infinite;
}
@keyframes joinpulse {
	0% {
		box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.9);
	 }
	 50% {
		box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
	 }
	 100% {
		box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.9);
	 }
 }

.new_top_section_container{
	padding-bottom:0px;
	background-image: var(--top-box-bg-image);
}

.new_join_container {
	display: inline-block;
	width: 70%;
	height: auto;
	vertical-align: middle;
	text-align: center;
	position: relative;
	padding-bottom: 10px;
}

.new_login_container{
	display: inline-block;
	width: 28%;
	height: auto;
	vertical-align: middle;
}

#login_username{
	text-align:center;
	padding-left:1px;
	padding-right:1px;
}
#password{
	text-align:center;
	padding-left:1px;
	padding-right:1px;
}

.new_join_header {
	font-size: 1.8em;
	font-family: var(--primary-font-family);
	text-transform: uppercase;
	font-weight:bold;
	margin-bottom: 15px;
	margin-top: 15px;
}

.new_join_header2 {
	font-size: 1.6em;
	font-family: var(--primary-font-family);
	text-transform: uppercase;
	margin-bottom: 15px;
}

.new_join_button{
	width: 100%;
	min-width: 285px;
	max-width: 310px;
	border: 1px solid white;
	/*background-color: green;*/
	font-size: 2em;
	text-transform: uppercase;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 17px;
	font-family: sans-serif;
	border-radius: 5px;
	cursor: pointer;
	color: white;
	/*background-image: linear-gradient(to bottom right, #2bba22, #2c5a40);*/
	background-image: linear-gradient(to bottom right, #2bba22, #012d14);
}

.new_join_button:hover {
	border: 1px solid orange;
	/*color:var(--link-color);*/
}

input#loginbutton {
	cursor: pointer;
	border-radius: 5px;
	background-image: linear-gradient( 45deg, #5a5a5a, #2e2e2e, #101010);
	border: 1px solid white;
	font-size: 1.2em;
}

input#loginbutton:hover {
	border: 1px solid orange;
}

#regbutton{
	background-image: linear-gradient(to bottom right, #2bba22, #2c5a40);
}

.champs_container {
	display: block;
	height:180px;
}

.champ_container {
	position: absolute;
	/*display: inline-block;*/
	height: 180px;
	width: 100%;
	vertical-align: top;
	text-align: center;
}

.champ_teamname {
	width: 100%;
	font-size: 0.9em;
	text-align: center;
	height: 1.2em;
	overflow: hidden;
	line-height: 1.2em;
	margin-top: 5px;
	margin-bottom: 5px;
	color: orange;
	cursor: pointer;
}

.champ_title {
	text-transform: uppercase;
	text-shadow: 0 0 6px black;
	height: 1.2em;
	line-height: 1.2em;
}

img.trophy_image {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 62px;
	left: 32%;
}

img.champ_logo {
	width: 125px;
	height: 125px;
	border-radius: 20px;
}

.champ_logo_container {
	display: inline-block;
	position: relative;
}
.champ_trophy_container {
	display: inline-block;
	margin-left: -15px;
}


.ml_live_container {
	display: flex;
	position: relative;
	flex-wrap: wrap;
	align-content: center;
	justify-content: space-between;
	align-items: flex-start;
	flex-direction: row;
	font-family: 'Open Sans';
	font-size: 0.8em;
	text-align: center;
}

.ml_live_title{
	min-width:230px;
}
.ml_live_entry{
	min-width:230px;
}

.ml_live_ticker {
	display: block;
	position: relative;
	width: 100%;
	font-family: 'Open Sans';
	font-size: 0.8em;
	height: 1.2em;
	line-height: 1.2em;
	text-align: left;
	overflow:hidden;
}

.ml_live_content{
	position: absolute;
	left: 6%;
	top: 0px;
	/*height: 0.8em;*/
	width: max-content;
	animation: ticker 30s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.ml_live_content:hover{
	animation-play-state: paused;
}

.ml_live_tick{
	display: inline-block;
	width:auto;
	margin-left:20px;
	margin-right:20px;
	height: inherit;
}

.ml_live_heading{
	display: inline-block;
	width:auto;
	height: inherit;
	margin-left:5px;
	margin-right:5px;

}

.ml_live_stat{
	display: inline-block;
	width:auto;
	height: inherit;
	margin-left:5px;
	margin-right:5px;

}

@keyframes ticker {
	0% 	{left:100%; 	}
	100% 	{ left:-200%; 	}
}

@media (max-width: 988px) {
}
@media (max-width: 800px) {
	@keyframes ticker {
		0% 	{left:100%; 	}
		100% 	{ left:-200%; 	}
	}
}
@media (max-width: 630px) {
	@keyframes ticker {
		0% 	{left:100%; 	}
		100% 	{ left:-300%; 	}
	}
}
@media (max-width: 320px) {
	@keyframes ticker {
		0% 	{left:100%; 	}
		100% 	{ left:-400%; 	}
	}
}

#champ_container_cl{
	animation: clchampAnim 25s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
#champ_container_su{
	animation: suchampAnim 25s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
#champ_container_cw{
	animation: cwchampAnim 25s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.inner_container.clean{
	padding:0px;
	margin:0px;
}

 /* new split, in smaller steps */
@keyframes clchampAnim {
	0% 	{ z-index: 2; opacity:0; }
	5% 	{ z-index: 2; opacity:0.9; }
	10% 	{ z-index: 2; opacity:1; }
	15% 	{ z-index: 2; opacity:0.9; }
	20% 	{ z-index: 2; opacity:0.5; }
	25% 	{ z-index: 2; opacity:0; }
	30% 	{ z-index: 0; opacity:0; }
	35% 	{ z-index: 0; opacity:0; }
	40% 	{ z-index: 0; opacity:0; }
	45% 	{ z-index: 0; opacity:0; }
	50% 	{ z-index: 0; opacity:0; }
	55% 	{ z-index: 0; opacity:0; }
	60% 	{ z-index: 0; opacity:0; }
	65% 	{ z-index: 0; opacity:0; }
	70% 	{ z-index: 0; opacity:0; }
	75% 	{ z-index: 0; opacity:0; }
	80% 	{ z-index: 0; opacity:0; }
	85% 	{ z-index: 0; opacity:0; }
	90% 	{ z-index: 0; opacity:0; }
	95% 	{ z-index: 0; opacity:0; }
	100% 	{ z-index: 0; opacity:0; }
}

@keyframes suchampAnim {
	0% 	{ z-index: 0; opacity:0; }
	5% 	{ z-index: 0; opacity:0; }
	10% 	{ z-index: 0; opacity:0; }
	15% 	{ z-index: 0; opacity:0; }
	20% 	{ z-index: 0; opacity:0; }
	25% 	{ z-index: 0; opacity:0; }
	30% 	{ z-index: 2; opacity:0; }
	35% 	{ z-index: 2; opacity:0.5; }
	40% 	{ z-index: 2; opacity:0.9; }
	45% 	{ z-index: 2; opacity:1; }
	50% 	{ z-index: 2; opacity:0.9; }
	55% 	{ z-index: 2; opacity:0.5; }
	60% 	{ z-index: 2; opacity:0; }
	65% 	{ z-index: 0; opacity:0; }
	70% 	{ z-index: 0; opacity:0; }
	75% 	{ z-index: 0; opacity:0; }
	80% 	{ z-index: 0; opacity:0; }
	85% 	{ z-index: 0; opacity:0; }
	90% 	{ z-index: 0; opacity:0; }
	95% 	{ z-index: 0; opacity:0; }
	100% 	{ z-index: 0; opacity:0; }
}

@keyframes cwchampAnim {
	0% 	{ z-index: 0; opacity:0; }
	5% 	{ z-index: 0; opacity:0; }
	10% 	{ z-index: 0; opacity:0; }
	15% 	{ z-index: 0; opacity:0; }
	20% 	{ z-index: 0; opacity:0; }
	25% 	{ z-index: 0; opacity:0; }
	30% 	{ z-index: 0; opacity:0; }
	35% 	{ z-index: 0; opacity:0; }
	40% 	{ z-index: 0; opacity:0; }
	45% 	{ z-index: 0; opacity:0; }
	50% 	{ z-index: 0; opacity:0; }
	55% 	{ z-index: 0; opacity:0; }
	60% 	{ z-index: 0; opacity:0; }
	65% 	{ z-index: 2; opacity:0; }
	70% 	{ z-index: 2; opacity:0.5; }
	75% 	{ z-index: 2; opacity:0.9; }
	80% 	{ z-index: 2; opacity:1; }
	85% 	{ z-index: 2; opacity:0.9; }
	90% 	{ z-index: 2; opacity:0.5; }
	95% 	{ z-index: 2; opacity:0; }
	100% 	{ z-index: 0; opacity:0; }
}

div#birthday_notes_container {
	text-align: center;
}