.leaderboard {
	font-family: Lato, Arial, Helvetica, sans-serif;
}

.leaderboard__h1 {
	margin: 16px 0 16px 12px;
	display: inline-block;
}

.leaderboard__select {
	float: right;
	display: inline-block;
	margin-top: 28px;
	margin-right: 10%;
	background-color: black;
	color: white;
	font-weight: 700;
}

.leaderboard__table {
	width: 100%;
	margin: auto;
	border-spacing:0;
	border-collapse: collapse;
}

.leaderboard__table thead {
	background: #202833;
}

.leaderboard__table thead th {
	text-align: center;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #ffffff;
	line-height: 1.2em;
	cursor: pointer;
	padding: 20px 5px;
}

.leaderboard__table thead th:nth-child(2) {
	padding-left: 0;
}

.leaderboard__categories {
	line-height: 2.5;
}

.leaderboard__icon {
	width: 20px;
	position: relative;
	top: 5px;
	margin: 0 12px;
}

.leaderboard__title {
	margin-right: 12px;
}

.leaderboard__divider {
	display: inline-block;
	position: relative;
	top: 4px;
}

.leaderboard__divider--elite {
	width: calc(100% - 200px);
}

.leaderboard__divider--rising {
	width: calc(100% - 183px);
}

.leaderboard__table tbody .leaderboard__td {
	font-size: 16px;
	line-height: 1.4em;
	padding: 8px 5px;
	text-align: center;
}

.leaderboard__table tbody .leaderboard__td a {
	color: #555555;
}

.leaderboard__table tbody .leaderboard__td a:hover {
	color: #41b03c;
}

.leaderboard__table tbody .leaderboard__td:first-child {
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.leaderboard__table .leaderboard__td:nth-of-type(1):before { content: none; }
.leaderboard__table .leaderboard__td:nth-of-type(2):before { content: none; }
.leaderboard__table .leaderboard__td:nth-of-type(3):before { content: none; }
.leaderboard__table .leaderboard__td:nth-of-type(4):before { content: none; }
.leaderboard__table .leaderboard__td:nth-of-type(5):before { content: none; }

.leaderboard__info {
	text-align: center;
}

@media (max-width: 700px) {
	.leaderboard__table {
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.leaderboard__select {
		float: right;
		display: inline-block;
	}

	.leaderboard__table table, .leaderboard__table thead, .leaderboard__table tbody, .leaderboard__table th, .leaderboard__table .leaderboard__td, .leaderboard__table .leaderboard__tr {
		display: block;
	}

    .leaderboard__table thead {
		display: none;
	}

    .leaderboard__table tbody {
		border-bottom: none;
	}

    .leaderboard__table .leaderboard__tr {
		border: none;
		border-bottom: 1px solid #cccccc;
	}

	.leaderboard__categories td {
		position: relative;
		/* padding-right: 50%; */
		width: 20%;
		border-top: 2px solid black;
		border-bottom: 2px solid black;
	}

	.leaderboard__categories hr {
		display: none;
	}

    .leaderboard__table tbody .leaderboard__td {
		border: none;
		border-bottom: 1px solid #eeeeee;
		position: relative;
		padding-left: 62%;
		text-align: left;
	}

    .leaderboard__table tbody .leaderboard__td:before {
		width: 51%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		padding: 5px 10px 0 4%;
		white-space: nowrap;
		font-family: Lato, Arial, Helvetica, sans-serif;
		color: #555555 !important;
		border-right: 1px solid #eeeeee;
		z-index: 10;
	}


	.leaderboard__table .leaderboard__td:nth-of-type(1):before { content: "Rank"; }
	.leaderboard__table .leaderboard__td:nth-of-type(2):before { content: "Name"; }
	.leaderboard__table .leaderboard__td:nth-of-type(3):before { content: "Clicks"; }
	.leaderboard__table .leaderboard__td:nth-of-type(4):before { content: "Conversion Rate"; }
	.leaderboard__table .leaderboard__td:nth-of-type(5):before { content: "Commission (USD)"; }
}
