body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #181a1b;
	color: #e8e6e3;
	border-color: #736b5e;
	scrollbar-color: #202324 #454a4d;
}

#wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.topnav {
  /*overflow: hidden;*/
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 9px 16px 8px;
  text-decoration: none;
  font-size: 22px;
  white-space: nowrap;
}

.topnav .nav-full a:hover {
  background-color: #111;
}

.topnav .nav-full.show li.right {
	float: none
}

.topnav a.logo {
	color: white;
	padding: 2px 2px;
	margin-top: 3px;
}

.topnav .icon {
  display: none;
}

.topnav .right {
	float: right;
}

.topnav .nav-icons {
	display: none;
}

.topnav .nav-full ul {
	margin: 0;
	display: block;
}

.topnav .nav-full img {
	height: 40px;
}

.topnav .nav-dropdown {
	position: relative;
	display: inline-block;
	float: left;
}

.topnav .nav-dropdown a {
	float: none;
	text-align: left;
}

.topnav .nav-dropdown li:last-child a {
	border-radius: 0px 0px 6px 6px;
}

.topnav .nav-dropdown-content {
	position: absolute;
	background-color: #333;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	border-radius: 0px 0px 6px 6px;
	visibility: hidden;
	opacity: 0;
	transition: all 0.15s;
}

.topnav .nav-dropdown-content ul {
	padding: 0;
	margin-bottom: 0;
}

.topnav .nav-dropdown-content a {
	margin-left: 0 !important;
}

.topnav .nav-dropdown:hover .nav-dropdown-content {
	visibility: visible;
	opacity: 1;
}

.topnav .avatar {
	box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
	border-radius: 32px;
	border: 1px solid #000000;
}

@media (min-width: 1540px) and (orientation:landscape) {
        .topnav .nav-full ul {
                display: block !important;
        }
}

@media (min-width: 1032px) and (orientation:landscape) {
	.topnav .nav-full ul {
		display: block !important;
	}
}

@media screen and (max-width: 1280px) {
	.topnav a {
    	padding: 9px 7px 8px;
	}
}

@media screen and (max-width: 1154px) {
	.topnav a {
    	font-size: 18px;
	}
}

@media screen and (max-width: 1031px) {
	.topnav ul {
		display: block;
	}
}

@media screen and (max-width: 1031px) {

  .topnav {
    position: absolute;
    left: 0;
    right: 0;
  }

  .topnav-extra-spacing {
    height: 12vw;
  }

  .topnav .nav-icons {
    display: block;
  }

  .topnav .nav-icons a {
    display: block;
  }

	.topnav a.logo {
		margin-top: 0px;
		padding: 6px 6px;
	}

	.topnav a.logo img {
		width: 18vw;
		height: auto;
		max-width: 150px;
	}

	.topnav a {
		font-size: 17px;
	}

	.topnav .nav-icons a img {
			width: 7vw;
			height: auto;
			max-width: 60px;
	}

	.topnav .nav-menu {
			width: 10vw;
			height: auto;
			padding-left: 0.5em;
			float: right;
			font-size: 20px;
	}

	.topnav .nav-full ul {
		display: none;
	}

	.topnav .nav-full.show ul {
		clear: both;
		padding: 5px 0px 0px 0px;
		margin: 0;
		display: none;
		position: absolute;
		top: 9.6vw;
		min-width: 250px;
		background: #333;
		border-radius: 0px 0px 0px 6px;
		right: 0;
	}

	.topnav .nav-full.show a {
		float: none;
		display: block;
		text-align: left;
	}

	.topnav .nav-full.show .nav-dropdown {
		display: block;
		float: none;
	}

	.topnav .nav-full.show .nav-dropdown-content ul {
		padding: 0px 0px 0px 0px;
		position: relative;
		top: 0;
	}

	.topnav .nav-full.show .nav-hidden {
		display: none;
	}

	.topnav .nav-full.show .nav-dropdown-content {
		position: relative;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
	}

}

#topButton {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	padding: 15px;
	border: none;
	outline: none;
	color: white;
}

.main {
	margin: 10px auto 10px auto;
	text-align: center !important;
	margin-bottom: 20px;
}

.main a, .footer a {
	color: white;
	font-weight: bold;
	text-decoration: none;
}

.main a:hover, .footer a:hover {
	text-decoration: underline;
}

.main p {
	margin-bottom: 20px;
}

.main img {
	max-width: 100%;
	max-height: 600px;

}

.formation {
	position: relative;
	text-align: center;
	border: 1px solid grey;
}

.top-center {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translate(-50%, -50%);
}

.top-right {
	position: absolute;
	top: 5px;
	right: 30px;
	background: rgba(0, 0, 0, 0.5);
	font-weight: bold;
}

.bottom-center {
	position: absolute;
	bottom: -24px;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.5);
	font-weight: bold;
}

.box {
	background: #131516;
	border-radius: 25px;
	display:inline-block;
	padding: 10px 20px 10px 20px;
	margin: 5px 0 5px 0;
}

.box hr {
	margin: 0;
}

.box ul, li {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.upload-failed {
	color: red;
	font-weight: bold;
	font-size: 25px;
}

.upload-successful {
	color: green;
	font-weight: bold;
	font-size: 25px;
}

.main .box .chapter, .stage, .floor {
        display: inline-block;
}

.tooltips {
	position: relative;
	display: inline-block;
	color: #fff;
}

.tooltips .tooltipstext {
	visibility: hidden;
	width: 200px;
	background-color: black;
	color: #fff;
	text-align: center;
	padding: 5px 5px;
	border-radius: 6px;
	position: absolute;
	z-index: 10;
	top: 100%;
	margin-left: -100px;
	box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
	border: 1px solid #202324;
}

.tooltips:hover .tooltipstext {
	visibility: visible;
}

.footer {
	margin-top: auto;
	width: 100%;
	background-color: #333;
	color: white;
	text-align: center;
}

.footer p {
	margin-top: 10px;
	margin-bottom: 10px;
}

.select2 {
	min-width: 60px !important;
}

.select2-container {
	width: auto !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	display: inline !important;
	color: white !important;
}

.select2-container--default .select2-selection--single, .select2-search, .select2-results {
	background-color: rgb(24, 26, 27);
	border-color: rgb(72, 78, 81)
}

.select2-container--default .select2-selection--single {
	height: 50px;
	font-size: 26px;
	line-height: 1.7;
}

.alwaysShowAll {
	width: 180px;
}

.form-check-input:checked {
  background-color: #fba635;
  border-color: #fba635;
}

.afkbuilder-display {
	display: none;
	padding: 5px;
	padding-top: 10px;
}

.afkbuilder-display.shown {
	display: block;
}

.copy-button {
	border: 1px solid white;
	border-radius: 0.25rem;
	background-color: transparent;
	color: white;
	display: inline-block;
	font-weight: bold;
	margin-bottom: 3px;
	max-width: 190px;
	outline: none;
	overflow: hidden;
	padding: 3px;
	text-overflow: ellipsis;
	transition: all 0.2s;
	white-space: nowrap;
}

.copy-button:hover {
	color: black;
	background-color: white;
	text-decoration: underline;
}

.afkbuilder-button {
	border: 1px solid white;
	border-radius: 0.25rem;
	background-color: transparent;
	color: white;
	display: inline-block;
	font-weight: bold;
	margin-bottom: 3px;
	max-width: 190px;
	outline: none;
	overflow: hidden;
	padding: 3px;
	text-overflow: ellipsis;
	transition: all 0.2s;
	white-space: nowrap;
}

.afkbuilder-button:hover {
	color: black;
	background-color: white;
	text-decoration: underline;
}

.afkbuilder-text {
	display: inline-block;
	font-weight: bold;
	margin-left: 10px;
}

#copy-confirm {
	background-color: #000000;
	color: white;
	font-weight: bold;
	padding: 5px;
	border-radius: 0.25rem;
	position: fixed;
	top: 100px;
	left: 50%;
	opacity: 0;
	transform: translateX(-50%);
	transition: all 0.2s;
	user-select: none;
	visibility: hidden;
}

#copy-confirm.open {
	visibility: visible;
	opacity: 1;
}

#copy-confirm.error {
	background-color: rgba(255, 0, 0, 0.5);
}

.tag {
	padding: 4px 8px 4px 8px;
	border: 2px solid #444;
	margin: 2px 2px 2px 2px;
	border-radius: 24px;
	font-size: 12px;
	display: inline-block;
}

#tag-filter {
	max-width: 350px;
	margin: 5px 0 10px 0;
	display: inline-block;
}

#tag-filter .tag {
	cursor: pointer;
}

#tag-filter .tag:hover {
	border: 2px solid #888;
}

#tag-filter .tag.selected {
	border: 2px solid green;
}

#settings-table {

}

#settings-table td.name {
	text-align: left;
}

#settings-table td.value {
	padding: 2px 0 2px 25px;
}

.box #interaction-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	margin: 5px 0 0 0;
	padding: 5px 0 0 0;
}

.box .expanded #interaction-container {
	border-top: 1px solid #999;
}

.box #interaction-container button {
	flex: 0 0 50px;
	margin: 0 1px 0 1px;
}

.box #interaction-container #votes-down.voted,
.box #interaction-container #votes-up.voted {
	background-color: #fff;
	color: #000;
}

.box #interaction-container button[disabled="disabled"] {
	color: gray;
	border: none;
}

.box #interaction-container button[disabled="disabled"]:hover {
	background-color: transparent;
	text-decoration: none;
}