body { 
	margin: 0 0 0 0; padding: 0 0 0 0; 

    color:#404040;
    font-family:'Lato',sans-serif;
    font-size:1.125em;
    font-weight:400;
    line-height:1.6;
    background-color: #8cb54b;

}

/* -- preload -- 
body:after {
  content: url('graphics/background-desktop.jpg?2') url('graphics/event-button-bg.png?1');
  display: none;
}*/


.hidden { display: none; }
.orange { color: #faaf3a; }
.yellow { color: yellow; }
.green { color: green; }
.red { color: red; }



#loading-box { 
	background-color: #4d4d4d;
	border-radius: 10px;
	border: solid 3px #fff;
	max-height: 100%;;
	width: 60%;
	height: 30%;
	margin: auto auto;
	color: #fff;
	padding: 1em;
	overflow-y: scroll;
	overflow-x: hidden;
	text-align: center;
	position: relative; top: 50px;
}

#main { 
	/* background-image: url('graphics/background-desktop.jpg'); */
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	height: 100%;
	position: relative;
}
#main-car { 
	width: 40px;
	height: auto;
	opacity: 0;
	position: absolute;
}

#position-display { 
	position: absolute;
	right: 10px;
	top: 10px;
	background-color: #fff;
	padding: 10px;
}

#event-container {
	display: none;
	text-align: center;
	position: absolute;
	left: 15%;
	top: 0;
	width: 70%;
	margin-top: 140px;
	height: 60%;
}
#event-container .warning {
	width: 100px; height: auto;
	display: inline-block;
}
#event-box { 
	background-color: #4d4d4d;
	border-radius: 10px;
	border: solid 3px #fff;
	max-height: 100%;;
	width: 100%;
	color: #fff;
	padding: 1em;
	overflow-y: scroll;
	overflow-x: hidden;
	text-align: left;
}
#event-box h1, #event-box h2 { text-align: center; margin: 0 0 0 0; padding: 0 0 0 0; }
#event-box h1 { color: #faaf3a; font-size: 1.5em; }
#event-box h2 { font-size: 1.25em; }
#event-box .contain { position: relative; }


#event-box .video-container { 
	width: 90%;
	margin-left: 5%;
	text-align: center;
}

#event-box a.close { 
	position: absolute; right: 0px; top: 0px;
	text-decoration: none;
	color: #fff;
}
.event-button { 
	position: relative; 
	margin: 10px auto;
	padding: 10px;
	cursor: pointer;
	text-align: center;
	font-weight: bold;

	background-image: url('graphics/event-button-bg-new.png');
	background-position: top left no-repeat;
	background-size: 100% 100%;

	max-width: 500px;
}
.event-button:hover { background-image: url('graphics/event-button-bg-hover-new.png'); }

.event-button p, .event-button h2 { margin: 0 0 0 0; padding: 0 1em 0 1em; }
.button-container { 
	width: 100%;
}
/*
.event-button .contain { 
	height: 90px;
	line-height: 44px;
	margin: 0 33px 0 33px;
	background: transparent url('graphics/event-button-bg.png?1') top left repeat-x;
	background-size: auto 90px;
}
*/
.event-button .contain img {
	height: 45px;
	display: block;
	position: relative; 
	margin: auto auto;
}
/*
.event-button-right { 
	position: absolute; right: 10px; top: 10px;
	width: 33.2px; height: 90px;; 
	background: transparent url('graphics/event-button-cap-right.png') top left no-repeat;
	background-size: auto 90px;
}
.event-button-left { 
	position: absolute; left: 10px; top: 10px;
	width: 33.2px; height: 90px;; 
	background: transparent url('graphics/event-button-cap-left.png') top left no-repeat;
	background-size: auto 90px;
}
*/
#event-box a { color: #faaf3a; }


span.large { font-size: 125%; }

/* --- MOBILE tweaks --- */
@media screen and (max-width: 641px) {
	body { font-size:0.8em; }
	#event-container { margin-top: 110px; height: 50%; }
	#event-box h1 { font-size: 1.0em; }
	#event-box .event-button h2 { font-size: inherit; line-height: 30px; }
}
