body {
	font-family: MS Trebuchet, Ubuntu, sans-serif;
}

#menu {
	text-align: center;
	margin-bottom: 0.5em;
}
#menu a {
	color: gray;
	text-decoration: none;
}
#menu a.active {
	color: black;
	font-weight: bold;
}

#replays {
	position: fixed;
	right: 4px;
	top: 4px;
	padding: 4px;
	text-align: right;
	border: 1px solid #ddd;
	background: white;
}

#replays .name {
	display: inline-block;
	border: 1px solid #eee;
	min-width: 300px;
	text-align: left;
}

#replays .favorites {
	font-size: 18px;
}
#replays .favorites,
#replays .expand {
	text-decoration: none;
	color: gray;
	border: 1px solid #eee;
    display: inline-block;
    line-height: 18px;
    position: relative;
    top: 2px;
	width: 16px;
	text-align: center;
}
#replays a:hover {
	background: #eee;
	border: 1px solid #ddd;
}

#replays .list {
	margin: 0;
	padding-left: 25px;
	text-align: left;
	display: none;
}
#replays.expanded {
	border-color: silver;
	box-shadow: 0 2px 5px #aaa;
}
#replays.expanded .list {
	display: block;
}
#replays .list li {
	list-style-type: none;
	width: 300px;
	height: 18px;
	font-size: 12px;
	overflow-x: hidden;
	cursor: pointer;
}
#replays .list li:hover {
	background: #eee;
}

#window {
	overflow: hidden;
	margin: 0 auto;
	background: #eee;
}

#source { display: none; }
#top10 {
	width: 230px;
	position: absolute;
	left: 50%;
	margin-left: -115px;
	top: 43px;
	box-shadow: 0 0 15px gray;
	color: gray;
	background: white;
	font-size: 15px;
	line-height: 19px;
}
#top10 .current {
	background: #eee;
}
#top10 input {
}
#info {
	text-align: center;
	margin: 0.5em;
}
#status_wrapper {
	position: fixed;
	bottom: 0;
	height: 200px;
	width: 300px;
	overflow-y: hidden;
	background: rgba(0,0,0,0.15);
	display: none;
}
#status {
	position: absolute;
	bottom: 0;
}
#achievements {
	position: fixed;
	left: 50%;
	bottom: 10%;
	width: 288px;
	margin-left: -144px;
	padding: 0;
}
#achievements .achievement {
	list-style-type: none;
	position: relative;
	height: 50px;
	margin-top: 16px;
	border-radius: 2px;
	border-style: solid;
	border-width: 2px 3px 2px 2px;
	border-color: rgba(255, 255, 255, 0.4) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.6) rgba(255, 255, 255, 0.25);
	box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4) inset, 2px 6px 10px black;
	padding: 3px 3px 3px 56px;
	background: black -moz-linear-gradient(
		left top -86deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.2) 49%,
		rgba(255, 255, 255, 0.05) 51%,
		rgba(0, 0, 0, 0.15) 100%
	);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.2);
	opacity: 0;
	
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}
#achievements .achievement .texture {
	position: absolute;
	left: -2px;
	top: -2px;
	width: 288px;
	height: 60px;
	background: url(img/texture.gif);
	opacity: 0.25;
}

#achievements .rank1 { background-color: #741; color: #530; }
#achievements .rank2 { background-color: #889; color: #556; }
#achievements .rank3 { background-color: #ea1; color: #b80; }
#achievements .rank4 {
	color: #f22;
	text-shadow: 0 0 2px #c00, 0 4px 12px #c00;
	box-shadow: 1px 1px 0 rgba(255, 224, 224, 0.35) inset, 1px 3px 5px #771111, 2px 6px 10px black;
	background: #040000 -moz-linear-gradient(
		left top -88deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.2) 10%,
		rgba(255, 255, 255, 0.05) 44%,
		rgba(0, 0, 0, 0.15) 100%
	);
}
#achievements img {
	width: 48px;
	height: 48px;
	position: absolute;
	left: 4px;
	top: 4px;
	border: 1px solid rgba(128, 128, 128, 0.4);
	border-color: rgba(0, 0, 0, 0.45) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35) rgba(0, 0, 0, 0.2);
	box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.33) inset, -1px -1px 1px rgba(255, 255, 255, 0.10);
}
#achievements h2 {
	margin: 0;
	font-size: 16px;
	line-height: 18px;
}
#achievements p {
	margin: 2px 0;
	font-size: 11px;
	line-height: 15px;
}
#flags_wrapper {
	cursor: pointer;
}
