.btn {
	cursor: pointer;
	border: 0;
	background-color: #09f;
	color: #fff;
	border-radius: 4px;
	min-width: 60px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	transition: all 0.4s;
	font-family: Arial, Helvetica, sans-serif;
	padding: 8px 10px;
	font-size: 1rem;
	letter-spacing: .05em;
	background-size: 200%;
	background-position: 50%;
}
.btn:hover {
	background-color: #1688e3;
}

.btn:not([disabled]):active {
	background-color: #09f;
	background-image: radial-gradient(circle, #1688e3 10%, #09f 11%);
	background-repeat: no-repeat;
	background-size: 1000%;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.popupWrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}

.popup {
	font-family: Arial, Helvetica, sans-serif;
	background: #000;
	color: #fff;
	position: fixed;
	left: 50%;
	top: 50%;
	box-shadow: 0 0 20px #000;
	border-collapse: separate; /* IE9 */
	text-align: center;
}

.popup.white {
	text-align: left;
	background: #fff;
	color: #000;
}

.popup .title {
	background: #eee;
	text-align: center;
	font-size: 24px;
	line-height: 32px;
	font-weight: bold;
	color: #000;
}

.popup .close {
	position: absolute;
	width: 34px;
	height: 34px;
	cursor: pointer;
	background: url(close.png) 0 0 no-repeat;
	background-size: 34px 34px;
}

.popup a:link, .popup a:visited {
	color: yellow;
}

/* Hiscore stuff */

.hiscore * {
	box-sizing: border-box;
}

.hiscore input, .hiscore button {
	font-family: inherit;
	font-size: inherit;
}

.hiscore h1, .hiscore h2, .hiscore h3 {
	border-bottom: 1px solid #ccc;
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.hiscore h1 {
	font-size: 2rem;
}

.hiscore h2 {
	font-size: 1.25rem;
}

.hiscore h3 {
	font-size: 1.1rem;
}

.hiscore a {
	color: blue;
}

.hiscore label {
	font-weight: bold;
	display: block;
	margin: 0.25em 0;
}
.hiscore input {
	border: none;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom: 2px solid #8f8f8f;
	padding: 1em;
	background-color: #f5f5f5;
	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
}
.hiscore input:focus {
	background-color: #dbdbdb;
	border-bottom: 2px solid #09f;
	outline: none;
}

.hiscore input.error {
	border-bottom: 2px solid #f00;
}

table.hiscores {
	border-collapse: collapse;
	width: 100%;
	border-spacing: 0;
	table-layout: auto;
}

table.hiscores td {
	border: 1px solid #eee;
	padding: .5em;
	color: #000;
}
table.hiscores td:first-child, table.hiscores td:nth-child(3) {
	text-align: right;
}

table.hiscores th {
	background-color: #fafafa;
	color: #616161;
	border-top: 1px solid #e5e5e5;
	text-align: left;
	padding: .5em;
	border: 1px solid #e5e5e5;
}

#tabs {
	overflow-y: hidden;
	padding: 0;
	margin: 0;
	min-width: 100%;
	height: 55px;
	white-space: nowrap;
}
#tabs li {
	display: inline-block;
	list-style: none;
}
#tabs li a {
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	float: left;
	padding: 2px 10px;
	font-size: .875rem;
	line-height: 2.25rem;
	font-weight: 500;
	letter-spacing: .075em;
	border-bottom: 2px solid transparent;
}

#tabs li a:hover { background-color: #e5e5e5; }

#tabs li.current a {
	color: #09f;
	border-bottom: 2px solid #09f;
}

#content > div:not(.current) {
	display: none;
}

#content {
	width: calc(100% - 20px) !important;
}

.social {
	display: inline-block;
	width: 64px;
	height: 64px;
	background-repeat: no-repeat;
	background-size: 64px 64px;
	background-position: 50% 50%;
	border: 1px solid transparent;
	cursor: pointer;
}

.hiscore .social {
	width: 48px;
	height: 48px;
	background-size: 48px 48px;
}

.social:hover {
   background-color: #eee;
   border-radius: 10px;
   border: 1px solid #555;
}

.twitter {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath d='M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23z' fill='%231da1f2'/%3E%3Crect x='0' y='0' width='24' height='24' fill='rgba(0, 0, 0, 0)' /%3E%3C/svg%3E");
}

.facebook {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath d='M17 2v4h-2c-.69 0-1 .81-1 1.5V10h3v4h-3v8h-4v-8H7v-4h3V6a4 4 0 0 1 4-4h3z' fill='%234267b2'/%3E%3Crect x='0' y='0' width='24' height='24' fill='rgba(0, 0, 0, 0)' /%3E%3C/svg%3E");
}

.pinterest {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1em' height='1em' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath d='M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2A10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34c-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41c.86 0 1.26.63 1.26 1.44c0 .86-.57 2.09-.86 3.27c-.17.98.52 1.84 1.52 1.84c1.78 0 3.16-1.9 3.16-4.58c0-2.4-1.72-4.04-4.19-4.04c-2.82 0-4.48 2.1-4.48 4.31c0 .86.28 1.73.74 2.3c.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11c-1.28-.56-2.02-2.38-2.02-3.85c0-3.16 2.24-6.03 6.56-6.03c3.44 0 6.12 2.47 6.12 5.75c0 3.44-2.13 6.2-5.18 6.2c-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03z' fill='%23e60023'/%3E%3Crect x='0' y='0' width='24' height='24' fill='rgba(0, 0, 0, 0)' /%3E%3C/svg%3E");
}

.whatsapp {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1em' height='1em' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath d='M16.75 13.96c.25.13.41.2.46.3c.06.11.04.61-.21 1.18c-.2.56-1.24 1.1-1.7 1.12c-.46.02-.47.36-2.96-.73c-2.49-1.09-3.99-3.75-4.11-3.92c-.12-.17-.96-1.38-.92-2.61c.05-1.22.69-1.8.95-2.04c.24-.26.51-.29.68-.26h.47c.15 0 .36-.06.55.45l.69 1.87c.06.13.1.28.01.44l-.27.41l-.39.42c-.12.12-.26.25-.12.5c.12.26.62 1.09 1.32 1.78c.91.88 1.71 1.17 1.95 1.3c.24.14.39.12.54-.04l.81-.94c.19-.25.35-.19.58-.11l1.67.88M12 2a10 10 0 0 1 10 10a10 10 0 0 1-10 10c-1.97 0-3.8-.57-5.35-1.55L2 22l1.55-4.65A9.969 9.969 0 0 1 2 12A10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8c0 1.72.54 3.31 1.46 4.61L4.5 19.5l2.89-.96A7.95 7.95 0 0 0 12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8z' fill='%2300e676'/%3E%3Crect x='0' y='0' width='24' height='24' fill='rgba(0, 0, 0, 0)' /%3E%3C/svg%3E");
}

