﻿#mode-competition-chooser {
	margin-bottom: 20px;
}

#mode-competition-chooser ol {
	margin-right: 20px;
}

ol.period-select {
	line-height: 2;
	font-size: 15px;
	margin-left: 0;
	margin-bottom: 10px;
}

.period-select li {
	display: inline-block;
	border-width: 1px 1px 1px 0;
	margin-top: 0;
}

.period-select li a {
	color: #666;
	padding: 3px 16px;
	display: inline-block;
}

.period-select li:first-child {
	border-left-width: 1px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.period-select li:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.period-select li.selected {
	background-color: #006085;
	border-color: #006085;
}

.period-select li.selected a {
	color: white;
}

.leaderboard-stats {
	text-align: center;
	color: #343434;
	float: left;
}

.leaderboard-stats th {
	border: 1px solid #0192b7;
	padding: 4px 8px;
}

.leaderboard-stats tbody {
	border: 1px solid #E5E5E5;
}

.leaderboard-stats td {
	border: none;
	vertical-align: middle;
}

#viewers-stats {
	width: 180px;
	max-width: 180px;
	margin-right: 20px;
}

#viewers-stats td {
	padding: 2px 8px;
}

#viewers-stats .small-stat {
	font-style: italic;
	text-align: left;
}

#viewers-stats .superscriptsmall {
	font-size: xx-small;
	line-height: 21px;
}

#competition-rollups {
	width: 480px;
	max-width: 480px;
}

#competition-rollups tbody tr {
	height: 63px;
}

#competition-rollups .statvalue {
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
}

#competition-rollups .statlabel {
	font-size: 13px;
	line-height: 1;
	padding-top: 4px;
}

table.leaderboard {
	vertical-align: middle;
	text-align: center;
}

table.leaderboard th {
	vertical-align: bottom;
}

table.leaderboard th.sortable {
	background-image: url('../img/icons/sort-arrow-bg.gif');
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
	text-align: left;
	padding-right: 14px;
}

table.leaderboard th.sortable.header-tall {
	background-position: 100% 80%;
}

table.leaderboard th.sortable.sortAscending {
	background-image: url('../img/icons/sort-arrow-asc.gif');
}

table.leaderboard th.sortable.sortDescending {
	background-image: url('../img/icons/sort-arrow-desc.gif');
}

table.leaderboard th.left-align {
	text-align: left;
}

table.leaderboard td img {
	vertical-align: middle;
	text-align: center;
	display: inline-block;
	border-radius: 3px;
}

table.leaderboard td, table.leaderboard th {
	padding: 6px 7px;
}

table td.td-name {
	overflow: hidden;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 32px;
	max-width: 200px;
	text-align: left;
}

table.leaderboard td.td-name.secondary {
	font-size: 14px;
}

table.leaderboard tr.selected {
	font-weight: bold;
}

table .td-name img {
	margin-right: 10px;
	float: left;
}

.current-rank {
	margin: -10px 0 10px;
	font-size: 16px;
	font-style: italic;
}
