/** TippSpiel **/
#emSpielBgd {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(100, 100, 100, 0.6);
    z-index: 50;
}

#emSpiel {
    position: fixed;
    background: url(/shared/images/aktionen/tippspiel/Background-Layer.jpg);
    z-index: 51;
    top: 20%;
    left: 50%;
    margin-left: -360px;
    width: 719px;
    height: 481px;
    border: 1px solid #fefefe;
    box-shadow: 0 0 20px #000;
}

#emSpiel #attention {
	position: relative;
    z-index: 1;
}

#emSpiel .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 23px;
    height: 27px;
    cursor: pointer;
}

#emSpiel .score {
	position: absolute;
	top: 231px;
}

#emSpiel .team1 {
	left: 84px;
}

#emSpiel .team2 {
	right: 52px;
}

#emSpiel .team1 .top {
    float: left;
}

#emSpiel .team2 .top {
    float: right;
}

#emSpiel .score img {
	height: 70px;
	display: inline-block;
	margin: 11px 25px 0;
}

#emSpiel .score .emText {
	display: block;
	font-size: 1.4em;
	width: 120px;
	padding: 0;
	text-align: center;
	text-shadow: 0 0 2px #000, 0 0 2px #000;
}

#emSpiel input:not([type='checkbox']) {
	width: 130px;
	font-size: 7em;
	border-radius: 0;
	border-color: #000;
	text-align: center;
}

#emSpiel .score .error {
	display: none;
	position: absolute;
	bottom: 0;
	left: -13px;
	background: #af1e1e;
	width: 162px;
	padding: 3px 6px;
	border: 1px solid #fefefe;
}

#emSpiel .score .fail + .error {
	display: block;
}

#emSpiel .error {
	left: auto;
	right: -13px;
}

.teilnahme {
    color: #fefefe;
    position: absolute;
    bottom: 100px;
    left: 50%;
    font-size: 1.3em;
    margin-left: -145px;
    text-shadow: 0px 0px 5px #333;
}

.teilnahme input {
    width: auto;
    border: 1px solid #000;
} 

#emSpiel .send {
    position: absolute;
    bottom: 45px;
    left: 52%;
    margin-left: -130px;
    background-color: #f6d926;
    width: 260px;
    font-size: 1.5em;
    padding: 15px 0;
    border-radius: 5px;
    border: 1px solid;
    color: #000;
    text-align: center;
}

#emSpiel .send.disabled:hover {
	cursor: not-allowed;
}

#emSpiel span, #emSpiel button, #emSpiel a {
    font-family: arial;
    color: #fefefe;
}

#emSpiel .popups {
    text-decoration: underline;
}

#emSpiel .footerText {
	position: absolute;
	bottom: 0px;
	right: 0px;
	left: 0;
	background: rgba(250,250,250, 0.7);
	color: darkgreen;
	text-align: right;
}

#emSpiel .footerText .sterntext {
	color: #216500;
	margin-right: 5%;
}

#emSpiel .footerText a {
	margin-left: 10%;
	color: #216500;
	text-decoration: underline;	
}

#emSpiel .mobileText {
	display: none;
	color: #fefefe;
	font-size: 1.5em;
	padding: 10px 10px 0;
	font-family: arial;
	position: absolute;
	top: 315px;
}

#emSpiel .mobileText .ball {
	float: left;
}

#emSpiel .coupon {
	font-size: 1.5em;
	font-weight: bold;
}

@media screen and (max-width: 720px) { 
	#emSpiel {
		left: 0;
		right: 0;
		width: 100%;
		margin-left: 0;
		border: 0;
		top: 0;
		bottom: 0;
		height: 100%;
		background: url(/shared/images/aktionen/tippspiel/grass.jpg);
	}

	#emSpiel .close {
		background: rgba(250,250,250, 0.7);
		padding: 0px 0 5px 10px;
		z-index: 300;
	}

	#emSpiel .close::after {
		content: 'x';
		color: #777;
		font-weight: bold;
		font-size: 2em;
	}

	#emSpiel .mobileText {
		display: block;
	}

	#emSpiel .score .top {
		float: none;
		display: block;
	}
	
	#emSpiel .score {
		width: 140px;
		top: 1%;
	}

	#emSpiel .score.team1 {
		left: 47%;
		margin-left: -160px;
	}

	#emSpiel .score.team2 {
		right: auto;
		left: 47%;
		margin-left: 40px;
	}

	#emSpiel .score.team2::before {
		content: ' ';
		display: block;
		position: absolute;
		left: -41px;
		top: 140px;
		background-color: #fefefe;
		width: 18px;
		height: 18px;
		border-radius: 100%;
		border: 1px solid #000;
	}

	#emSpiel .score.team2::after {
		content: ' ';
		display: block;
		position: absolute;
		left: -41px;
		top: 179px;
		background-color: #fefefe;
		width: 18px;
		height: 18px;
		border-radius: 100%;
		border: 1px solid #000;
	}

	#emSpiel .teilnahme {
		bottom: auto;
		top: 240px;
		left: 0;
		right: 0;
		margin-left: 0;
		text-align: center;
	}	

	#emSpiel .send {
		bottom: auto;
		left: 50%;
		margin-left: -130px;
		float: left;
		top: 265px;
	}	
}

@media screen and (max-width: 540px) { 
	#emSpiel .footerText {
		font-size: 0.9em;
	}

	#emSpiel .footerText .sterntext {
		margin-right: 0;
		float: left;
	}

	#emSpiel .footerText a {
		margin-left: 5px;
	}
}