/*
	z-indexes:
	8 = overlay box
	7 = overlay bg
	6 = admin nav
	5 = main nav
	4 = dropdown nav
*/

/* Global elements */

body {
	background: #000 url("/images/bg.jpg");
	color: #fff;
	font-family: 'Trebuchet MS', Verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

:focus {
	outline: 0;
}

a {
	color: #fc0;
	text-decoration: none;
}

a:hover {
	color: #f90;
	text-decoration: underline;
}

a img {
	border: 0;
}

.mod {
	color: #f33;
}

.mod:hover {
	color: #f66;
}

#header {
	height: 80px;
	background: #000 url(/images/head.jpg) no-repeat;
	padding: 10px;
}

#logo {
	float: left;
	width: 360px;
	height: 80px;
	margin-left: 120px;
	text-shadow: 2px 2px 2px #000;
}

#logo a {
	display: block;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	text-decoration: none;
}

#logo p {
	font-size: 12px;
	color: #ccc;
	margin: 0;
	font-weight: bold;
	text-shadow: none;
}

#user {
	float: right;
	height: 58px;
	border-radius: 10px;
	border: solid 1px #333;
	background: #000;
	padding: 10px;
	width: 275px;
}

/* Logged out */

#user-links {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
	font-size: 10px;
}

#user .form-row {
	margin-bottom: 2px;
	clear: left;
}

#user .form-label {
	width: 50px;
	padding-top: 5px;
}

#user .form-input {
	margin-left: 60px;
}

#user input[type="email"],
#user input[type="password"] {
	padding: 3px;
	width: 140px;
}

/* Logged in */

#user-drop {
	width: 150px;
	position: relative;
}

#user-drop ul {
	display: none;
	position: absolute;
	top: -6px;
	left: -11px;
	background: #333;
	border: solid 1px #333;
	list-style: none;
	margin: 0;
	padding: 0 0 5px;
	font-size: 12px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	border: solid 1px #444;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	width: 148px;
	z-index: 6;
}

#user-drop:hover ul {
	display: block;
}

#user-drop ul a {
	display: block;
	background-repeat: no-repeat;
	padding: 5px 10px 5px 35px;
	text-decoration: none;
}

#user-drop li + li a {
	color: #ccc;
}

#user-drop .icon-none a {
	background-image: none;
	background-repeat: no-repeat;
	padding: 5px 10px;
	border-bottom: solid 1px #444;
}

#user-drop .icon-none a:hover {
	text-decoration: underline;
}

#user-drop ul a:hover {
	background-color: #444;
}

#user-drop .icon-player a	{background-image: url(/images/icons/player.png); background-position: 10px 5px; }
#user-drop .icon-key a		{background-image: url(/images/icons/key.png); background-position: 10px 5px; }
#user-drop .icon-ge a		{background-image: url(/images/icons/ge-crosshair.png); background-position: 10px 5px; }
#user-drop .icon-pd a		{background-image: url(/images/icons/pd-crosshair.png); background-position: 10px 5px; }
#user-drop .icon-calendar a	{background-image: url(/images/icons/calendar.png); background-position: 10px 5px; }
#user-drop .icon-update a	{background-image: url(/images/icons/calculator.png); background-position: 10px 5px; }
#user-drop .icon-logout a	{background-image: url(/images/icons/logout.png); background-position: 10px 5px; }

#user-ranks a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 1px 2px;
}

#user-ranks a:hover {
	background: #151719;
}

#nav {
	list-style: none;
	padding: 0;
	margin: 0;
	background: #666 url(/images/nav.20120613.png);
	border-top: solid 1px #333;
	height: 41px;
}

#nav > li {
	display: block;
	float: left;
	position: relative;
	z-index: 5;
	zoom: 1;
}

#nav > li > a {
	display: block;
	float: left;
	zoom: 1;
	padding: 10px 20px;
	border-right: solid 1px #181818;
	color: #ccc;
	text-decoration: none;
	font-size: 14px;
}

.active-home #nav1,
.active-ge #nav2,
.active-pd #nav3,
.active-rare #nav4,
.active-players #nav6,
.active- #nav6 {
	background: #151719;
}

#nav > li:hover {
	background: #777 url(/images/nav.20120613.png) 0 -41px;
}

li#nav2 > a,
li#nav3 > a,
li#nav4 > a,
li#nav5 > a,
li#nav6 > a {
	background: url(/images/down.png) no-repeat 100% 50%;
	padding-right: 37px;
}

#nav .right {
	float: right;
}

/* Dropdown nav */

#nav ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0 0 5px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	position: absolute;
	z-index: 4;
	top: 100%;
	left: 0;
	text-align: left;
	border: solid 1px #444;
	border-top: 0;
	background: #333;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#nav li:hover ul {
	display: block;
}

#nav li li {
	float: none;
}

#nav li li a {
	display: block;
	color: #ccc;
	background-color: #333;
	background-repeat: no-repeat;
	padding: 5px 10px 5px 35px;
	border-radius: 0;
	width: 150px;
}

#nav li li a:hover {
	background-color: #444;
	text-decoration: none;
}

#nav .icon-ranks a,
#sidebar .icon-ranks a		{ background-image: url(/images/icons/medal.png); background-position: 10px 5px; }
#nav .icon-leaders a,
#sidebar .icon-leaders a	{ background-image: url(/images/icons/leaders-trophy.png); background-position: 10px 5px; }
#nav .icon-controller a,
#sidebar .icon-controller a	{ background-image: url(/images/icons/controller.png); background-position: 10px 5px; }
#nav .icon-calendar a,
#sidebar .icon-calendar a	{ background-image: url(/images/icons/calendar.png); background-position: 10px 5px; }
#nav .icon-players a,
#sidebar .icon-players a	{ background-image: url(/images/icons/players.png); background-position: 10px 5px; }
#nav .icon-player a,
#sidebar .icon-player a		{ background-image: url(/images/icons/player.png); background-position: 10px 5px; }
#nav .icon-ge a,
#sidebar .icon-ge a			{ background-image: url(/images/icons/ge-crosshair.png); background-position: 10px 5px; }
#nav .icon-pd a,
#sidebar .icon-pd a			{ background-image: url(/images/icons/pd-crosshair.png); background-position: 10px 5px; }
#nav .icon-world a		{ background-image: url(/images/icons/world.png); background-position: 10px 5px; }
#nav .icon-contact a,
#sidebar .icon-contact a	{ background-image: url(/images/icons/contact-card.png); background-position: 10px 5px; }
#nav .icon-key a,
#sidebar .icon-key a		{ background-image: url(/images/icons/key.png); background-position: 10px 5px; }
#nav .icon-logout a,
#sidebar .icon-logout a		{ background-image: url(/images/icons/logout.png); background-position: 10px 5px; }
#nav .icon-videos a,
#sidebar .icon-videos a		{ background-image: url(/images/icons/video-orange.png); background-position: 10px 5px; }
#nav .icon-update a,
#sidebar .icon-update a		{ background-image: url(/images/icons/calculator.png); background-position: 10px 5px; }
#nav .icon-log a,
#sidebar .icon-log a		{ background-image: url(/images/icons/logs.png); background-position: 10px 5px; }
#nav .icon-watch a,
#sidebar .icon-watch a		{ background-image: url(/images/icons/watch.png); background-position: 10px 5px; }
#sidebar .icon-world a		{ background-image: url(/images/icons/world.png); background-position: 10px 5px; }
#nav .icon-ltk a,
#sidebar .icon-ltk a		{ background-image: url(/images/icons/hamburger-on.png); background-position: 10px 5px; }
#nav .icon-dltk a,
#sidebar .icon-dltk a		{ background-image: url(/images/icons/hamburger-off.png); background-position: 10px 5px; }
#nav .icon-twitch a		{ background-image: url(/images/icons/twitch.png); background-position: 10px 5px; }
#nav .icon-discord a	{ background-image: url(/images/icons/discord.png); background-position: 10px 5px; }

#nav .separator {
	margin-top: 5px;
	padding-top: 5px;
	border-top: solid 1px #444;
}

#container {
	width: 960px;
	margin: 0 auto;
}

#page {
	background: #151719;
	padding: 0 0 20px;
	border: solid 1px #333;
	float: left;
	width: 958px;
}

#sidebar {
	float: left;
	width: 167px;
	overflow: visible;
	margin-top: 20px;
	background: #000;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border: solid 1px #333;
	border-left: 0;
	padding: 10px 0;
}

#sidebar h1 {
	margin: 0 0 5px;
	padding: 0 10px;
	font-size: 18px;
	border: 0;
}

#sidebar h5 {
	margin: 5px 0;
	padding: 0 10px;
	font-size: 12px;
	color: #999;
}

#sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: solid 1px #333;
}

#sidebar ul a {
	display: block;
	padding: 3px 0 3px 10px;
	border-bottom: solid 1px #333;
	text-decoration: none;
	color: #ccc;
	width: 157px;
}

#sidebar .has-icon a {
	background-repeat: no-repeat;
	padding-left: 30px;
	width: 137px;
}

#sidebar ul a:hover {
	background-color: #151719;
}

#sidebar .active a {
	background-color: #151719;
	color: #fff;
	width: 158px;
}

#sidebar .active.has-icon a {
	width: 138px;
}

/* Child links */

#sidebar .child a,
#sidebar .child button {
	font-size: 10px;
	border-bottom: 0;
	padding: 2px 0 2px 20px;
	width: 147px;
}

#sidebar .child button {
	box-sizing: content-box;
	background: transparent;
	text-align: left;
	border: none;
	font-family: inherit;
	color: #ccc;
	cursor: pointer;
	height: 19px;
}
#sidebar .child button:hover {
	background: #111;
}

#sidebar .last-child a {
	border-bottom: solid 1px #333;
}

#sidebar .active.child a {
	border: solid 1px #333;
	border-width: 1px 0;
	padding: 1px 0 1px 20px;
	width: 148px;
}

#sidebar .active.first-child a {
	border-top: 0;
	padding-top: 2px;
}

#sidebar .active.last-child a {
	padding-bottom: 2px;
}

#sidebar .child a:hover {
	width: 147px;
}

#sidebar .child.active a:hover {
	width: 148px;
}

#content {
	margin: 0 20px;
	padding-top: 20px;
	float: left;
	width: 920px;
}

.with-sidebar #content {
	width: 750px;
}

#footer {
	clear: both;
	padding-top: 20px;
	color: #999;
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

#copyright {
	width: 550px;
	font-size: 10px;
	float: left;
	margin: 0;
}

#copyright a {
	color: #999;
	text-decoration: underline;
}

#footer-links {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer-links li {
	margin-left: 20px;
	float: left;
}

/* Boxes */

.dual-box {
	float: left;
	width: 450px;
	margin: 0 20px 20px 0;
	overflow: hidden;
}

.dual-box.last {
	margin-right: 0;
}

.with-sidebar .dual-box {
	width: 365px;
}

.triplet-container:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
}

.triplet-box {
	float: left;
	width: 293px;
	margin: 0 20px 20px 0;
	overflow: hidden;
}

.triplet-box.last {
	margin-right: 0;
}

.with-sidebar .triplet-box {
	width: 236px;
}

.flex-row {
	clear: both;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.flex-onethird {
	width: 32%;
	margin: 0 0 20px;
}

.flex-twothirds {
	width: 65%;
	margin: 0 0 20px;
}

.flex-half {
	width: 49%;
}

.clearfix {
	clear: both;
}

.clearfix:after {
	content: "";
	clear: both;
	display: table;
}

/* General content styling */

h1, h2 {
	margin-top: 0;
	border-bottom: solid 1px #666;
	font-size: 24px;
	line-height: 24px;
}

h2 {
	font-size: 18px;
	line-height: 18px;
}

.heading-tip {
	display: block;
	font-size: 10px;
	font-weight: normal;
	font-style: italic;
	color: #aaa;
	margin: -15px 0 -10px;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th, td {
	border: solid 1px #666;
	padding: 5px;
}

#content th {
	background-color: #333;
	background-image: -webkit-linear-gradient(top, #333, #222);
	background-image: -moz-linear-gradient(#333, #222);
}

th.stage {
	width: 40%;
}

th.difficulty {
	width: 20%;
}

td.with-block-link {
	padding: 0;
	text-align: center;
}

td.with-block-link a {
	display: block;
	width: 100%;
	padding: 5px 0;
	text-decoration: none;
}

td.with-block-link a:hover {
	background: #000;
}

.overall {
	font-size: 20px;
}

.count {
	color: #f66;
}

.points {
	color: #ffff80;
}

.na {
	font-style: italic;
	color: #666;
}

hr {
	height: 0;
	border: 0;
	border-top: solid 1px #333;
}

a.user {
	text-decoration: none;
}

a.user:hover {
	text-decoration: underline;
}

a.time {
	color: inherit;/*#fff;*/
	text-decoration: none;
}

a.time:hover {
	text-decoration: underline;
}

.video-link {
	/* transparent border, negative margin, and inner content image makes
	the icon overall small, but has a much larger clickable area */
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	text-indent: -99px;
	overflow: hidden;
	border-radius: 2px;
	border: 6px solid transparent;
	margin: -6px;
	vertical-align: middle;
}
.video-link:after {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-repeat: no-repeat;
	background-image: url(/images/icons/video-orange.png);
	opacity: 0.5;
}

.video-link:hover:after {
	opacity: 1;
}

.comment-link {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/comment-open.png);
	text-indent: -9999px;
	opacity: 0.5;
}

.comment-link:hover {
	opacity: 1;
}

.achievement-link {
	display: inline-block;
	width: 16px;
	height: 20px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/medal.png);
	text-indent: -9999px;
	opacity: 0.5;
	vertical-align: middle;
}

.achievement-link:hover {
	opacity: 1;
}

.ge-link {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/ge-crosshair.png);
	text-indent: -9999px;
	opacity: 0.5;
	vertical-align: middle;
}

.ge-link:hover {
	opacity: 1;
}

.pd-link {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/pd-crosshair.png);
	text-indent: -9999px;
	opacity: 0.5;
	vertical-align: middle;
}

.pd-link:hover {
	opacity: 1;
}

.ge-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/ge-crosshair.png);
	text-indent: -9999px;
}

.pd-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/pd-crosshair.png);
	text-indent: -9999px;
}

.status-enabled {	font-weight: bold; color: #6f6;}
.status-frozen {	font-weight: bold; color: #66f;}
.status-banned {	font-weight: bold; color: #f66;}

.message {
	padding: 5px 5px 5px 35px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	border-radius: 5px;
}

.message.ok {
	color: #6f6;
	border: solid 1px #060;
	background: #030 url(/images/tick.png) no-repeat 10px 7px;
}

.message.exc {
	color: #f66;
	border: solid 1px #600;
	background: #300 url(/images/cross.png) no-repeat 10px 7px;
}

/* Forms */

.form-row {
	margin-bottom: 10px;
}

.form-label {
	width: 150px;
	float: left;
	text-align: right;
	padding-top: 8px;
}
.past-date-form.label {
	padding-top: 8px;
}

.form-input,
.form-submit {
	margin-left: 160px;
}

.form-input.radios {
	padding-top: 5px;
}

.supporting-text {
	font-size: 10px;
	color: #999;
}

.form-row.full-width .form-label {
	float: none;
	width: auto;
	text-align: left;
}

.form-row.full-width .form-input {
	margin-left: 0;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea {
	background-color: #333;
	font-family: Arial;
	font-size: 13px;
	border: solid 1px #000;
	padding: 5px;
	color: #ccc;
	outline: 0;
	border-color: #000 #444 #444 #000;
}
button.standalone,
input[type="button"],
input[type="submit"] {
	background: #333;
	background: -webkit-linear-gradient(top, #333, #222);
	background: -moz-linear-gradient(top, #333, #222);
	border: solid 1px;
	border-color: #444 #000 #000 #444;
	font-size: 13px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	color: #ccc;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	display: inline-block;
}

input.login{
	float: right;
}

input[type="button"]:hover,
input[type="submit"]:hover {
	background: #444;
	background: -webkit-linear-gradient(top, #444, #333);
	background: -moz-linear-gradient(top, #444, #333);
}

input[type="button"][disabled="disabled"],
input[type="submit"][disabled="disabled"] {
	background: #222;
	background: -webkit-linear-gradient(top, #222, #333);
	background: -moz-linear-gradient(top, #222, #333);
	color: #666;
}

.form-row select {
	padding: 5px;
}

::-webkit-input-placeholder {
	color: #666;
	font-style: italic;
}

:-moz-placeholder {
	color: #666;
	font-style: italic;
}

/* Overlay */

#overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.7);
	z-index: 7;
}

#overlay-box {
	position: fixed;
	width: 480px;
	border: solid 2px #666;
	background: #151719;
	border-radius: 10px;
	box-shadow: 10px 10px 10px #000;
	padding: 20px;
	left: 50%;
	top: 100px;
	margin-left: -262px;
	min-height: 200px;
	z-index: 8;
}

#overlay-close {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 16px;
	border: solid 2px #666;
	background: #000;
	position: absolute;
	top: -8px;
	right: -8px;
	color: #999;
	font-weight: bold;
	text-align: center;
	line-height: 32px;
	font-size: 20px;
	text-decoration: none;
	font-family: Arial;
}

#overlay-close:hover {
	background: #131719;
	text-decoration: none;
}

#overlay-box h1,
#overlay-box h2 {
	margin-top: 0;
}

.loading {
	background: #151719 url(/images/loading.gif) no-repeat 50% 50%;
}

/* Home */

.rss-link {
	display: block;
	float: right;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(/images/icons/rss.png);
	text-indent: -9999px;
	margin-top: 5px;
}

.set-feed-impressiveness-limit {
	margin-right: 10px;
	float: right;
	font-size: small;
}

#home-latest-times,
.latest-times {
	list-style: none;
	margin: 0;
	padding: 0;
}

#home-latest-times li {
	clear: left;
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

#home-latest-times .thumbnail {
	display: block;
	width: 120px;
	height: 75px;
	padding-top: 15px;
	float: left;
	margin-right: 10px;
	border: solid 1px #333;
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	line-height: 28px;
	color: #999;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

#home-latest-times .thumbnail.ge {
	background: url(/images/novideo-ge-small.jpg);
}

#home-latest-times .thumbnail.pd {
	background: url(/images/novideo-pd-small.jpg);
}

#home-latest-times .thumbnail:hover {
	text-decoration: none;
}

#home-latest-times .title {
	font-weight: bold;
	font-size: 16px;
}

#home-latest-times .wr .title {
	color: #ffff80;
}

#home-latest-times .date {
	font-style: italic;
}

.latest-times .ge-icon,
.latest-times .pd-icon {
	float: left;
	clear: left;
	margin-top: 1px;
}

.dual-box .latest-times .text {
	margin-left: 4px;
	width: 430px;
	float: left;
}

.triplet-box .latest-times .text {
	margin-left: 4px;
	width: 216px;
	float: left;
}

.latest-times .date {
	font-weight: bold;
}

.latest-times .wr .time-info {
	color: #ffff80;
}

/* Main rankings */

#wr-table .time,
.wr-table .time {
	font-weight: bold;
	float: left;
	margin-right: 5px;
}

#wr-table .video,
.wr-table .video {
	float: left;
}

#wr-table .initials,
.wr-table .initials {
	clear: left;
}

#wr-table .stage-image,
.wr-table .stage-image {
	display: block;
	float: left;
	margin-right: 5px;
	border: solid 1px #333;
}

.ge .stage-image {
	background-image: url(/images/ge-stages.jpg);
	width: 68px;
	height: 44px;
}

.pd .stage-image {
	background-image: url(/images/pd-stages.jpg);
	width: 56px;
	height: 36px;
}

.s2, #s2 {background-position:100% 0;}
.s3, #s3 {background-position:0 -44px;}
.s4, #s4 {background-position:100% -44px;}
.s5, #s5 {background-position:0 -88px;}
.s6, #s6 {background-position:100% -88px;}
.s7, #s7 {background-position:0 -132px;}
.s8, #s8 {background-position:100% -132px;}
.s9, #s9 {background-position:0 -176px;}
.s10, #s10 {background-position:100% -176px;}
.s11, #s11 {background-position:0 -220px;}
.s12, #s12 {background-position:100% -220px;}
.s13, #s13 {background-position:0 -264px;}
.s14, #s14 {background-position:100% -264px;}
.s15, #s15 {background-position:0 -308px;}
.s16, #s16 {background-position:100% -308px;}
.s17, #s17 {background-position:0 -352px;}
.s18, #s18 {background-position:100% -352px;}
.s19, #s19 {background-position:0 100%;}
.s20, #s20 {background-position:100% 100%;}
.s22, #s22 {background-position:-56px 0;}
.s23, #s23 {background-position:100% 0;}
.s24, #s24 {background-position:0 -36px;}
.s25, #s25 {background-position:-56px -36px;}
.s26, #s26 {background-position:100% -36px;}
.s27, #s27 {background-position:0 -72px;}
.s28, #s28 {background-position:-56px -72px;}
.s29, #s29 {background-position:100% -72px;}
.s30, #s30 {background-position:0 -108px;}
.s31, #s31 {background-position:-56px -108px;}
.s32, #s32 {background-position:100% -108px;}
.s33, #s33 {background-position:0 -144px;}
.s34, #s34 {background-position:-56px -144px;}
.s35, #s35 {background-position:100% -144px;}
.s36, #s36 {background-position:0 -180px;}
.s37, #s37 {background-position:-56px -180px;}
.s38, #s38 {background-position:100% -180px;}
.s39, #s39 {background-position:0 100%;}
.s40, #s40 {background-position:-56px 100%;}
.s41, #s41 {background-position:100% 100%;}

#wr-table .stage-title,
.wr-table .stage-title {
	display: block;
	float: left;
	line-height: 46px;
}

#wr-table.pd .stage-title,
.wr-table.pd .stage-title {
	line-height: 38px;
}

.rank,
.footer,
.overall,
.pointless-time {
	text-align: center;
}

.footer a {
	margin: 0 5px;
}

#content th.sortable {
	cursor: pointer;
	background-color: #333;
	background-image: url(/images/sortable.20120408.png);
	background-image: url(/images/sortable.20120408.png), -webkit-linear-gradient(top, #333, #222);
	background-image: url(/images/sortable.20120408.png), -moz-linear-gradient(#333, #222);
	background-repeat: no-repeat;
	background-position: 100% 100%;
}

#content th.sorted,
#content th.sortable:hover {
	background-color: #000;
	background-image: url(/images/sorted.png);
	background-image: url(/images/sorted.png), -webkit-linear-gradient(top, #222, #111);
	background-image: url(/images/sorted.png), -moz-linear-gradient(#222, #111);
}

#point-rankings, #time-rankings {
	font-size: 11.5px;
}

td.sorted {
	background-color: #000;
}

/* Stages */

.stage-leaders {
	list-style: none;
	margin: 20px 20px;
	padding: 0;
}

.stage-leaders .hidden {
	display: none;
}

.fraction {
	font-size: 0.9em;
}
.fraction span {
	font-size: 1.25em;
}
.fraction sup {
	line-height: 0.5em;
	margin-right: -2px;
}
.fraction sub {
	display: inline-block;
	line-height: 0.5em;
	margin-left: -2px;
	transform: translate(0, -2px);
}

.stage-table .video-link,
.stage-table .comment-link {
	float: right;
}
.stage-table tbody + tbody {
	border-top: 2px dotted #ccc;
}
.stage-table tr.hidden {
	display: none;
}
.stage-table tr.showmore td {
	padding: 0;
}
.stage-table tr.showmore button {
	display: block;
	width: 100%;
	cursor: pointer;
	background: transparent;
	border: none;
	font: inherit;
	color: #fff;
	text-align: left;
	padding: 4px 4px;
}
.stage-table tr.showmore button:hover {
	text-decoration: underline;
}
.stage-table tbody.expanded tr.showmore {
	display: none;
}
.stage-table tbody.expanded tr.hidden {
	display: table-row;
	animation: stageExpandedAnimation 2s;
	animation-fill-mode: none;
}
@keyframes stageExpandedAnimation {
	from { background-color: #534725; }
	to { background-color: transparent; }
}

/* Time details */

#time-details {
	list-style: none;
	margin-left: 0;
	padding: 0;
}

/* Player Profile */

#contact {
	list-style: none;
	margin: 20px 0;
	padding: 0;
}

#contact li {
	padding-left: 20px;
	background-repeat: no-repeat;
	margin-bottom: 3px;
}

.contact-aim {			background-image: url(/images/icons/aim.png); }
.contact-email {		background-image: url(/images/icons/email.png); }
.contact-facebook {		background-image: url(/images/icons/facebook.png); }
.contact-googleplus {	background-image: url(/images/icons/googleplus.png); }
.contact-linkedin {		background-image: url(/images/icons/watch.png); } /* icon offset is watch, name doesn't match */
.contact-msn {			background-image: url(/images/icons/youtube.png); } /* icon offset is youtube, name doesn't match */
.contact-twitter {		background-image: url(/images/icons/twitter.png); }
.contact-twitch {		background-image: url(/images/icons/twitch.png); }
.contact-discord {		background-image: url(/images/icons/discord.png); }

.rank-box {
	margin-bottom: 10px;
	padding: 10px;
	height: 44px;
	background: url(/images/rank-box.png) no-repeat;
}

.rank-box-icon {
	float: left;
	width: 25px;
	height: 16px;
	margin-top: 12px;
	background-repeat: no-repeat;
}

.rank-box-icon.ge { background-image: url(/images/icons/ge-crosshair.png); }
.rank-box-icon.pd { background-image: url(/images/icons/pd-crosshair.png); }

.rank-box-label {
	float: left;
	width: 80px;
	color: #999;
	margin-top: 4px;
}

.rank-box-value {
	float: right;
	width: 100px;
	text-align: center;
}

.rank-box-rank {
	font-size: 20px;
}

.rank-box-meta {
	font-size: 11px;
}

/* Player times */

#highlight-controls {
	float: right;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

#highlight-controls li {
	float: left;
	margin-left: 10px;
}

#highlight-title {
	color: #666;
}

#highlight-controls a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	padding: 0 5px;
	border-style: solid;
	border-width: 1px;
}

#highlight-control-off a {
	border-color: #333;
}

#highlight-control-wrs a {
	border-color: #646400;
}

#highlight-control-hit a {
	border-color: #640000;
}

#highlight-control-off.active a {	background: #333;}
#highlight-control-wrs.active a {	background: #646400;}
#highlight-control-hit.active a {	background: #640000;}

.player-times {
	margin-bottom: 20px;
}

.player-times .video-link,
.player-times .comment-link,
#player-ltk-times .video-link,
#player-ltk-times .comment-link {
	float: right;
}

.player-times .timecell {
	color: #999;
}
.player-times .timecell-best a {
	color: #F5CA45;
}

.player-times strong a {
	color: #fff;
}


.player-times-system {
	white-space: nowrap;
}

.player-times-system td + td {
	border-left: 1px dashed #606060;
	border-right: none;
}

.player-times-system tr td:nth-child(3n+1) {
	border-right: 1px solid #666;
}
.player-times-system tr:last-child td+td {
	border-bottom: 1px solid #666;
}
.player-times-system tr:first-child th+th {
	border-top: 1px solid #666;
}
.player-times-system tr:first-child th {
	border-right: 1px solid #666;
}
.player-times-system tr:nth-child(2) th:nth-child(3n) {
	border-right: 1px solid #666;
}
.player-times-system tr td:nth-child(2),
.player-times-system tr td:nth-child(3),
.player-times-system tr td:nth-child(4),
.player-times-system tr td:nth-child(8),
.player-times-system tr td:nth-child(9),
.player-times-system tr td:nth-child(10) {
	background: linear-gradient(90deg, #000, #000);

}

.player-times-system th.stage {
	width: auto;
}
.player-times-system th.difficulty {
	width: auto;
}
.player-times-system th.system {
	width: 9.5%;
}


#no-video {
	width: 363px;
	height: 140px;
	padding: 66px 0;
	border: solid 1px #666;
	text-align: center;
	font-size: 60px;
	line-height: 70px;
	font-weight: bold;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

#no-video.ge { background: url(/images/novideo-ge.jpg);}
#no-video.pd { background: url(/images/novideo-pd.jpg);}

#post-time-link,
#post-ssr-link {
	display: block;
	width: 110px;
	margin: 20px auto;
	color: #fff;
	font-size: 16px;
	padding: 5px 10px 5px 35px;
	background: #333 url(/favicon.ico) no-repeat 10px 50%;
	border: solid 1px #444;
	text-decoration: none;
	border-radius: 5px;
}

#post-time-link:hover,
#post-ssr-link:hover {
	background-color: #444;
	border-color: #555;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

#post-ssr-link {
	width: 220px;
}

/* Player times - adding */

.stage-selector {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.stage-selector.ge { height: 230px;}
.stage-selector.pd { height: 140px;}

.stage-selector li {
	float: left;
	padding: 5px;
	text-indent: -9999px;
	cursor: pointer;
}

.stage-selector.ge li { margin: 0 16px 5px 0;}
.stage-selector.pd li { margin: 0;}

.stage-selector.ge div {
	background: #151719 url(/images/ge-stages.jpg);
	border: solid 1px #333;
	width: 68px;
	height: 44px;
}

.stage-selector.pd div {
	background: url(/images/pd-stages.jpg);
	border: solid 1px #333;
	width: 56px;
	height: 36px;
}

.stage-selector li:hover {
	background: #333;
}

.stage-selector li.selected {
	background: #666;
}

/* Comparisons */

.compare-player-list {
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.compare-player-list li {
	padding: 3px 5px;
}

.compare-player-list li.me {
	background: #333;
}

/* Player leaderboards */

.progress-bar {
	border: solid 1px #999;
	position: relative;
	height: 20px;
	margin-bottom: 5px;
	background: #000 -webkit-gradient(linear, left top, left bottom, from(#000), to(#222));
	background: #000 -moz-linear-gradient(top, #000, #222);
}

.pb-label {
	position: absolute;
	z-index: 3;
	line-height: 20px;
	padding-left: 5px;
}

.pb-fill {
	height: 20px;
	background-color: #666;
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#555));
	background: -moz-linear-gradient(top, #666, #555);
	position: absolute;
	z-index: 1;
}

.pb-fill.good {
	background-color: #660;
	background: -webkit-gradient(linear, left top, left bottom, from(#660), to(#550));
	background: -moz-linear-gradient(top, #660, #550);
}

.pb-cutoff {
	background: #990;
	width: 1px;
	height: 20px;
	position: absolute;
	z-index: 2;
}

.pb-info {
	display: none;
	line-height: 20px;
	position: absolute;
	left: 260px;
	z-index: 3;
	background-color: #333;
	background: rgba(0,0,0,0.5);
	cursor: default;
	padding: 0 10px;
}

.progress-bar:hover .pb-info {
	display: block;
}

/* Player achievements */

.achievement-block-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.achievement {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #000;
	border-radius: 10px;
	width: 340px;
	min-height: 130px;
	padding: 10px;
	margin: 0 10px 10px 0;
	overflow: hidden;
}

.achievement-name {
	font-weight: bold;
	font-size: 16px;
	color: #ccc;
	vertical-align: middle;
}

.achievement-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	background-repeat: no-repeat;
}

.achievement-tag-row {
	margin-top: auto;
}

.achievement-tag {
	display: inline-block;
	border: 1px #4a431b;
	margin-right: 8px;
	padding: 2px 8px 2px 8px;
	border-radius: 4px;
	background-color: #ffe69e;
	color: #4a431b;
}

.achievement-tag.locked {
	border: 1px dashed #4a431b;
	background-color: transparent;
}

.achievement-icon-default {
	/* default icon */
	background-image: url(/images/icons/medal.png);
}
.achievement-icon-ge {
	/* goldeneye */
	background-image: url(/images/icons/achievement-ge.png);
}
.achievement-icon-pd {
	/* perfect dark */
	background-image: url(/images/icons/achievement-pd.png);
}
.achievement-icon-gepd {
	/* goldeneye + perfect dark */
	background-image: url(/images/icons/achievement-gepd.png);
}
.achievement-icon-ltk {
	/* ltk */
	background-image: url(/images/icons/achievement-ltk.png);
}
.achievement-icon-missing {
	background-image: url(/images/icons/achievement-missing.png);
}
.achievement-icon-slayer {
	background-image: url(/images/icons/achievement-skull-red.png);
}
.achievement-icon-system-slayer {
	background-image: url(/images/icons/achievement-skull-tan.png);
}
.achievement-icon-system-wr {
	background-image: url(/images/icons/achievement-ribbon-gray.png);
}
.achievement-icon-system-uwr {
	background-image: url(/images/icons/achievement-ribbon-blue.png);
}
.achievement-icon-mrrl {
	background-image: url(/images/icons/achievement-mrrl.png);
}
.achievement-icon-duel {
	background-image: url(/images/icons/achievement-duel.png);
}
.achievement-icon-duel-true {
	background-image: url(/images/icons/achievement-duel-true.png);
}
.achievement-icon-ssr1 {
	background-image: url(/images/icons/achievement-ssr1.png);
}
.achievement-icon-ssr-ge3 {
	background-image: url(/images/icons/achievement-ssr-ge3.png);
}
.achievement-icon-ssr-ge5 {
	background-image: url(/images/icons/achievement-ssr-ge5.png);
}
.achievement-icon-ssr-pd3 {
	background-image: url(/images/icons/achievement-ssr-pd3.png);
}
.achievement-icon-ssr8 {
	background-image: url(/images/icons/achievement-ssr8.png);
}
.achievement-icon-ltk-ge-1 {
	background-image: url(/images/icons/achievement-ltk-ge-1.png);
}
.achievement-icon-ltk-ge-2 {
	background-image: url(/images/icons/achievement-ltk-ge-2.png);
}
.achievement-icon-ltk-ge-3 {
	background-image: url(/images/icons/achievement-ltk-ge-3.png);
}
.achievement-icon-ltk-ge-4 {
	background-image: url(/images/icons/achievement-ltk-ge-4.png);
}
.achievement-icon-dltk-ge-1 {
	background-image: url(/images/icons/achievement-dltk-ge-1.png);
}
.achievement-icon-dltk-ge-2 {
	background-image: url(/images/icons/achievement-dltk-ge-2.png);
}
.achievement-icon-dltk-ge-3 {
	background-image: url(/images/icons/achievement-dltk-ge-3.png);
}
.achievement-icon-dltk-ge-4 {
	background-image: url(/images/icons/achievement-dltk-ge-4.png);
}
.achievement-icon-ltk-ge-master {
	background-image: url(/images/icons/achievement-ltk-ge-master.png);
}
.achievement-icon-ltk-pd-1 {
	background-image: url(/images/icons/achievement-ltk-pd-1.png);
}
.achievement-icon-ltk-pd-2 {
	background-image: url(/images/icons/achievement-ltk-pd-2.png);
}
.achievement-icon-ltk-pd-3 {
	background-image: url(/images/icons/achievement-ltk-pd-3.png);
}
.achievement-icon-ltk-pd-4 {
	background-image: url(/images/icons/achievement-ltk-pd-4.png);
}
.achievement-icon-dltk-pd-1 {
	background-image: url(/images/icons/achievement-dltk-pd-1.png);
}
.achievement-icon-dltk-pd-2 {
	background-image: url(/images/icons/achievement-dltk-pd-2.png);
}
.achievement-icon-dltk-pd-3 {
	background-image: url(/images/icons/achievement-dltk-pd-3.png);
}
.achievement-icon-dltk-pd-4 {
	background-image: url(/images/icons/achievement-dltk-pd-4.png);
}
.achievement-icon-ltk-pd-master {
	background-image: url(/images/icons/achievement-ltk-pd-master.png);
}
.achievement-icon-sun {
	background-image: url(/images/icons/achievement-sun.png);
}
.achievement-icon-snowflake {
	background-image: url(/images/icons/achievement-snowflake.png);
}
.achievement-icon-vs {
	background-image: url(/images/icons/achievement-vs.png);
}
.achievement-icon-ge-a-w {
	background-image: url(/images/icons/achievement-ge-a-w.png);
}
.achievement-icon-ge-a-y {
	background-image: url(/images/icons/achievement-ge-a-y.png);
}
.achievement-icon-ge-sa-w {
	background-image: url(/images/icons/achievement-ge-sa-w.png);
}
.achievement-icon-ge-sa-y {
	background-image: url(/images/icons/achievement-ge-sa-y.png);
}
.achievement-icon-ge-00-w {
	background-image: url(/images/icons/achievement-ge-00-w.png);
}
.achievement-icon-ge-00-y {
	background-image: url(/images/icons/achievement-ge-00-y.png);
}
.achievement-icon-ge-ge-w {
	background-image: url(/images/icons/achievement-ge-ge-w.png);
}
.achievement-icon-ge-ge-y {
	background-image: url(/images/icons/achievement-ge-ge-y.png);
}
.achievement-icon-pd-a-w {
	background-image: url(/images/icons/achievement-pd-a-w.png);
}
.achievement-icon-pd-a-y {
	background-image: url(/images/icons/achievement-pd-a-y.png);
}
.achievement-icon-pd-sa-w {
	background-image: url(/images/icons/achievement-pd-sa-w.png);
}
.achievement-icon-pd-sa-y {
	background-image: url(/images/icons/achievement-pd-sa-y.png);
}
.achievement-icon-pd-pa-w {
	background-image: url(/images/icons/achievement-pd-pa-w.png);
}
.achievement-icon-pd-pa-y {
	background-image: url(/images/icons/achievement-pd-pa-y.png);
}
.achievement-icon-pd-pd-w {
	background-image: url(/images/icons/achievement-pd-pd-w.png);
}
.achievement-icon-pd-pd-y {
	background-image: url(/images/icons/achievement-pd-pd-y.png);
}

.achievement-date {
	color: #ffffff;
	font-size: 10px;
}

.achievement-description {
	color: #666;
	font-size: 11px;
}

/* Related Links */

#related h2 {
	margin-bottom: 5px;
}

#related p {
	margin-top: 0;
}

/* RSS Feeds */

.rss-listing {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rss-listing li {
	background-image: url(/images/icons/rss.png);
	background-repeat: no-repeat;
	padding-left: 25px;
	margin-bottom: 5px;
}

/* Time history */

#time-history .wr a {
	color: #ffff80;
}

.history-div {
	margin: 10px 0;
}

/* Recent activity */

.feed-group {
	border-radius: 10px;
	border: solid 1px;
	border-color: #000 #222 #222 #000;
	background: #111;
	margin: 10px 0;
	padding: 10px;
}

.feed-group-author {
	font-size: 14px;
}

.feed-group .date {
	color: #999;
	float: right;
	margin-left: 20px;
}

.feed-title {
	font-weight: bold;
}

.feed-title .video-link {
	margin-right: 5px;
}

.feed-title .comment-link {
	margin-right: 5px;
}

.feed-title .achievement-link {
	margin-right: 5px;
}

.feed-title .ge-link {
	margin-right: 5px;
}

.feed-title .pd-link {
	margin-right: 5px;
}

.feed-title a {
	color: #fff;
}

.feed-title.wr,
.feed-title.untied,
.feed-title.wr a,
.feed-title.untied a {
	color: #ffff80;
}

.feed-item {
	margin: 10px 0;
}

.feed-item + .feed-item {
	border-top: solid 1px #222;
	padding-top: 10px;
}

.feed-item ul {
	font-size: 11px;
	list-style-type: square;
}

/* Proof policy table of contents */
#toc {
	border: solid 1px #666;
	padding: 5px;
}
#toc li {
	display: block;
}
#toc ol {
	counter-reset: item;
}
#toc li:before {
	content: counters(item, ".")". ";
	counter-increment: item;
}

.listlabel {
	margin-bottom: 0;
}
.listlabel + ul,
.listlabel + ol {
	margin-top: 0;
}

.onelinetext {
	display: block;
	max-width: 340px;
	position: relative;
	overflow: hidden;
	height: 1em;
	line-height: 1em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: middle;
}

/* In-page tabs */

.buttonselect {
	border: none;
	padding: 0;
	margin: 0 0 10px;
}
.buttonselect a,
.buttonselect button {
	display: inline-block;
	background-color: #222222;
	background-image: linear-gradient(to bottom, #222, #353535);
	color: #fff;
	border: none;
	font-family: inherit;
	font-size: 14px;
	padding: 0 10px;
	cursor: pointer;
	height: 32px;
	line-height: 32px;
	border-left: 1px solid #181818;
	border-right: 1px solid #181818;
	margin-right: -1px;
	text-decoration: none;
}
.buttonselect a:hover,
.buttonselect button:hover {
	background-image: linear-gradient(to bottom, #333, #454545);
}
.buttonselect a.active,
.buttonselect button.active {
	background-image: linear-gradient(to bottom, #666, #333);
}
.buttonselect a:first-of-type,
.buttonselect button:first-of-type {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.buttonselect a:last-child,
.buttonselect button:last-child {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.buttonselect fieldset {
	display: inline;
	border: none;
	padding: 0;
}

.hidden {
	display: none;
}

#header-past-container {
	display: flex;
	align-items: center;
	background-color: #476789;
	padding-left: 12px;
	padding-right: 12px;
}
#header-past-container .hpc-div {
	display: inline-block;
	vertical-align: middle;
	margin: 2px;
	flex-grow: 1;
}

.past {
	background: #000000;
	font-family: Eurostile, "Times New Roman", Arial, Serif;
	color: #ffffff;
}

#wr-table.past {
	font-size: 16px;
}

table.past {
	border: ridge 2px #ffd700;
	border-spacing: 0px;
}

#content.past th, #content .past td {
	background: #000000;
	border: solid 1px #606060;
	padding: 3px;
}

#content.past th.stage, #content .past th.difficulty {
	color: #ffa500;
}

#content #wr-table.past tr>th:first-child {
	color: #ffa500;
}

#content.past .stage-title a {
	color: blue;
	text-decoration: underline;
}

#content.past .stage-title a:hover {
	color: #ffd700;
	cursor: crosshair;
}

#content.past {
	font-size: 14px;
	margin: 0;
	padding-left: 20px;
	padding-right: 20px;
}

#content.past .stage-table th {
	color: #ffa500;
}

.unicode {
	font-family: Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,Android Emoji,EmojiSymbols,EmojiOne Mozilla,Twemoji Mozilla,Segoe UI Symbol,Noto Color Emoji Compat,emoji;
}
/* prevent vertical overflow */
.no-y {
	display: inline-block;
	overflow-y: hidden;
}

.f-h1 {
	font-weight: bold;
	font-size: 24px;
	line-height: 24px;
	padding: 4px;
}

.frow {
	display:flex;
	align-content:flex-start;
	justify-content: flex-start;
}

.underline {
	border-bottom: 1px solid #666;
}

.m-b20 {
	margin-bottom: 20px;
}