::selection {
	background: #00ff00;
}

/* two column layout */

body,
a,
button {
	font-size: 13pt;
	font-family: monospace;
	color: white;
}

body {
	background-color: black;
}

h2 {
	font-size: 1.5em;
	margin-bottom: 1em;
}

.hidden {
	display: none;
}

.page-title {
	margin: 20px 0;
	display: inline-block;
	width: 100%;
	text-align: center;
	color: yellow;
}

#container {
	padding: 1em;
	margin-left: 50px;
}

#cmdline {
	outline: none;
	background-color: transparent;
	margin: 0;
	width: 100%;
	font: inherit;
	border: none;
	color: inherit;
}

#output {
	clear: both;
}

.prompt-input {
	display: block;
	white-space: nowrap;
	margin: 10px 0px;
}

.prompt-color {
	color: #00ff00;
}

.input-line {
	display: -webkit-box;
	-webkit-box-orient: horizontal;
	-webkit-box-align: stretch;
	display: -moz-box;
	-moz-box-orient: horizontal;
	-moz-box-align: stretch;
	display: box;
	box-orient: horizontal;
	box-align: stretch;
	clear: both;
}

.input-line>div:nth-child(2) {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

.row {
	padding-top: 50px;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	width: 100% !important;
	height: 100% !important;
}

.column {
	position: fixed;
	right: 0;
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
	height: 100%;
}

.double-column {
	display: inline;
	flex-direction: column;
	flex-basis: 100%;
	flex: 2;
	height: 100%;
}

.content {
	background-color: #121212;
	height: 100%;
	border-left: 1px solid white;
	width: 100%;
	overflow-y: scroll;
	padding-bottom: 50px;
}

.content h3 {
	margin-top: 0;
	margin-bottom: 5;
}

.content img {
	margin-left: auto;
	margin-right: auto;
	display: block;
	max-height: auto;
	width: auto\9;
	max-width: 500px;
}

.content>div {
	padding: 1em;
}

#imageviewer {
	border-bottom: 1px solid white;
}

#textviewer {
	height: 28%;
	border-bottom: 1px solid white;
}

#open {
	padding-left: 30px;
}

.cover {
	width: 100%;
	background-color: #ffffff;
	position: center;
}

#audioviewer {
	height: auto;
	bottom: 0;
}

.changepsw {
	position: relative;
	height: 80%;
	width: 99%;
	margin-top: 50px;
	z-index: 0;
}

#forgotpsw-form {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 100px;
	max-width: 400px;
	z-index: 0;
}

@media screen and (min-width: 640) {
	.column {
		flex: 1;
	}

	.double-column {
		flex: 2;
	}
}

/* SIDE NAV */

#sidenavBtn {
	position: absolute !important;
	padding: 2px !important;
	top: 0 !important;
	right: 7px !important;
	font-size: 35px !important;
	width: 40px !important;
}

#sidenav {
	height: 100%;
	width: 50px;
	position: fixed;
	z-index: 501;
	top: 0;
	left: 0;
	background-color: #242c35;
	opacity: 1;
	overflow-x: hidden;
	transition: 0.3s;
	padding-top: 60px;
}

@media screen and (min-width: 1200px) {
	.sidenav-items {
		display: none;
	}

	.sidenav-items {
		display: none;
	}
}

.sidenav-items a img {
	margin: auto;
	vertical-align: middle;
	display: inline-block;
}

#sidenav #profilePic {
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 100px;
	transition: 0.3s;
	opacity: 0;
}

#sidenav #profilePic:focus {
	outline: none;
}

#sidenav button {
	padding: 8px 8px 8px 32px;
	cursor: pointer;
	position: center;
	text-decoration: none;
	font-size: 15pt;
	color: white;
	display: block;
	transition: 0.3s;
	background: none !important;
	border: none;
}

#sidenav button:hover {
	color: #00ff00;
}

#sidenav a {
	padding: 8 8 8 32px;
	cursor: pointer;
	text-decoration: none;
	font-size: 15pt;
	color: white;
	display: block;
	transition: 0.3s;
	background: none !important;
	text-align: center;
	border: none;
}

#sidenav a {
	text-decoration: none;
}

#sidenav a:hover {
	color: #00ff00;
}

.sideButton {
	opacity: 0;
}

::selection {
	background: #00ff00;
	/* WebKit/Blink Browsers */
}

::-moz-selection {
	background: #00ff00;
	/* Gecko Browsers */
}

@media screen and (max-height: 450px) {
	body {
		font-size: 11pt;
	}

	#sidenav {
		padding-top: 15px;
	}

	#sidenav a {
		font-size: 13px;
	}
}

/* Mute and unmute */

input#un-mute {
	display: none;
}

.unmute img {
	display: none;
}

input#un-mute:checked~.unmute img {
	display: initial;
}

input#un-mute:checked~.mute img {
	display: none;
}

.audioc {
	position: fixed;
	bottom: 10px;
}

textarea {
	color: #fff;
	background: #363636;
	overflow-y: scroll;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	border-left: 1px solid white;
	width: 90%;
	resize: none;
	position: center;
	height: 75%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Top navbar */

/* The navigation bar */

.navbar {
	padding-left: 50px;
	background-color: #242c35;
	min-height: 49px;
	position: fixed;
	top: 0;
	width: 100%;
}

#navbarleaderboard {
	margin-left: 0;
}

.navbar-items {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.donor {
	color: #ffff00;
}

/* Links inside the navbar */

.navbar-items a,
.dropdown-button {
	color: #f2f2f2;
	padding: 0px 14px;
	display: inline-block;
	text-decoration: none;
	line-height: 51px;
}

.navbar-items a {
	font-size: 0.9em;
}

.dropdown-button {
	font-size: 0.9em;
}

.navbar-items a img {
	margin: auto;
	vertical-align: middle;
	display: inline-block;
}

.donate {
	margin-left: 14px;
}

#imglink {
	padding: 0px 0px;
}

.logo-image {
	float: left;
	height: 48px;
}

.navbar .nav-link:hover {
	background: #121212;
	color: #00ff00;
}

.navbar-items .community-link {
	color: yellow;
}

.level-selector .dropdown-button {
	background-color: #4caf50;
	color: white;
}

.level-selector .dropdown-button.finished-last-level {
	background-color: #ffca29;
	color: #614902;
}

.dropdown-button {
	background-color: transparent;
}

.dropdown-container {
	position: relative;
	display: inline-block;
	padding: 0 14px;
}

.level-selector .dropdown-body {
	height: 555px;
	overflow-y: scroll;
}

.dropdown-body {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	width: 82%;
}

.dropdown-body .dropdown-item {
	color: black;
	padding: 3px 15px;
	display: block;
	font-size: 0.8em;
	text-align: center;
	z-index: 11;
}

.dropdown-body .dropdown-item:hover {
	background-color: #ddd;
	color: #188218;
}

.dropdown-container .dropdown-button:after {
	color: #fff;
	content: " ▾";
}

.dropdown-container:hover .dropdown-body {
	display: block;
}

.dropdown-container:hover .dropdown-button {
	background-color: #3e8e41;
}

.dropdown-container:hover .dropdown-button.finished-last-level {
	background-color: #cca515;
}

/* Responsiveness of navbar-items */

.responsive {
	display: none;
}

@media screen and (max-width: 1200px) {
	.navbar-items .nav-link {
		display: none;
	}

	.navbar-items #imglink {
		display: block;
	}

	.navbar-items #level-selector {
		display: block;
	}
}

/* Main content */

.main {
	margin-top: 30px;
	/* Add a top margin to avoid content overlay */
}

/* Login */

/*set border to the form*/

/*assign full width inputs*/

input[type="text"],
input[type="password"],
input[type="email"] {
	width: 100%;
	padding: 8px 10px;
	margin: 4px 0;
	display: inline-block;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

/*set a style for the buttons*/

button {
	background-color: #4caf50;
	color: white;
	padding: 14px 20px;
	margin: 0;
	border: none;
	cursor: pointer;
	width: 100%;
}

/* set a hover effect for the button*/

button:hover {
	opacity: 0.8;
}

/*set extra style for the cancel button*/

.cancelbtn {
	width: auto;
	padding: 10px 18px;
	background-color: #f44336;
}

/*centre the display image inside the container*/

.imgcontainer {
	text-align: center;
	margin: 12px 0 12px 0;
	position: relative;
}

/*set image properties*/

img.avatar {
	width: 40%;
}

/*set the forgot password text*/

span.psw {
	float: right;
	display: none;
}

.modal {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
	padding-top: 20px;
}

.modal-content {
	background-color: #242c35;
	margin: 5% auto 5% auto;
	width: 400px;
	position: relative;
}

.container {
	padding: 8px;
}

#campaignmodal .modal-content {
	width: 40%;
}

/*style the close button*/

.close {
	position: absolute;
	right: 25px;
	top: 0;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: red;
	cursor: pointer;
}

/* add zoom animation*/

.animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
	from {
		-webkit-transform: scale(0);
	}

	to {
		-webkit-transform: scale(1);
	}
}

@keyframes animatezoom {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

@media screen and (max-width: 300px) {
	span.psw {
		display: block;
		float: none;
	}

	.cancelbtn {
		width: 100%;
	}
}

/* Leaderboard */

.page-section {
	margin: 4em auto;
	padding: 1em 1em 1em 1em;
	background-color: #242c35;
	border-radius: 3px;
	width: 50%;
}

@media screen and (max-width: 600px) {
	.page-section {
		width: 90%;
	}
}

.profile {
	width: 60%;
}

.table-description {
	text-align: center;
}

.table {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 97%;
	margin: 10px auto;
	table-layout: fixed;
}

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

#leaderboard th:nth-child(1) {
	width: 15%;
	max-width: 50px;
}

#leaderboard th:nth-child(3) {
	width: 17%;
}

#leaderboard th:nth-child(2) {
	width: 70%;
}

#leaderboard td,
#leaderboard th {
	padding: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* .table td, .table th {
	padding: 8px;
} */

.table tr:nth-child(even) {
	background-color: #101418;
}

.table tr:hover {
	background-color: #000;
}

.table th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #4caf50;
	color: white;
}

.donate {
	height: 100%;
	margin-block-end: 0em;
	position: center;
}

#paypalimg {
	margin-top: 0.6em;
}

#contact-message {
	height: 100px;
	width: 100%;
	background: #fff;
	color: #000;
	padding: 8px;
}

option {
	color: #00ff00;
	background-color: #242c35;
}

select {
	color: white;
	background-color: #242c35;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 15;
	margin: 0;
	padding: -5;
	border-color: #242c35;
}

.profile-form {
	width: 50%;
}

.profile-form input {
	height: 1.8em;
	width: 68%;
	padding: 0;
	margin-top: 15px;
}

.profile-form button {
	margin-top: 15px;
}

.profile-form label {
	width: 30%;
	display: inline-block;
}

.errors {
	color: #ff2c2c;
}

strong {
	font-weight: bold;
	color: red;
}