/* Structure */
* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #000000;
	background-image: url(/img/background.jpg);
	background-repeat: round;
	font: Verdana, Tahoma, Arial, sans-serif;
	color: #333;
	text-align: center;
}

#content-container {
	max-width: 820px;
	background-color: #bfbfbf;
	margin: 24px auto;
	padding: 12px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	text-align: left;
}

header {
	max-width: 820px;
	position: relative;
	background: -webkit-linear-gradient(left, #424242, #000000);
	background: -moz-linear-gradient(left, #424242, #000000);
	background: linear-gradient(to right, #424242, #000000);
	padding: 0;
	font-size: 14px;
	color: #FFF;
	padding: 25px 15px;
}

/* Ruhiges, statisches Leuchten für das Site-Logo */
.logo {
	color: #fb741c;
	font-size: 1.5rem;
	/* ruhiges, statisches Leuchten */
	text-shadow: 0 0 10px rgba(251, 116, 28, 0.7), 0 0 18px rgba(251, 116, 28, 0.45);
}

.connect-with-twitch {
	padding: 5px 10px;
	background-color: #624693;
	border-radius: 5px;
	color: #ffffff;
}

.connect-with-twitch svg {
	vertical-align: middle;
	margin-right: 5px;
}

.btn {
	padding: 5px 15px;
	border-radius: 5px;
	color: #fff;
}

.btn-glow {
	text-decoration: none;
	box-shadow: 0 0 10px #fb741c;
	transition: box-shadow 0.3s ease-in-out;
}

.user-info {
	border: 1px solid #555555;
	padding: 5px 10px;
	border-radius: 20px;
	margin-right: 10px;
}

#taskinfo {
	background-color: #222222;
	color: #ffffff;
	padding: 10px 15px;
	font-size: 14px;
	text-align: center;
	border-top: 1px solid #fb741c;
	border-bottom: 1px solid #fb741c;
}

#main-content {
	clear: both;
	width: 820px;
	padding: 0;
	margin: 0 auto;
	display: flex;
	background-color: #333333;
}

#sidebar {
	width: 200px;
}

#main {
	flex-grow: 1;
	background-color: #333333;
	min-height: 600px;
	margin-right: 20px;
}

.sidebar-nav {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 200px;
	background-color: #000000;
}

.sidebar-nav li {
	padding: 10px 25px;
	background-color: #333333;
	border-bottom: 1px solid #555555;
	border-right: 1px solid #555555;
}

.sidebar-nav li.active {
	border-left: 10px solid #fb741c;
	padding-left: 15px;
}

.sidebar-nav li a {
	color: #ffffff;
	text-decoration: none;
	display: block;
}

h1 {
	margin-top: 10px;
	margin-bottom: 10px;
	color: #fb741c;
	padding: 5px 0 5px 25px;
	border-bottom: 1px solid #fb741c;
}

h2 {
	margin-top: 10px;
	margin-bottom: 10px;
	color: #fb741c;
	padding: 5px 0 5px 25px;
	border-bottom: 1px solid #fb741c;
}

progress {
	height: 2px;
    width: 90%;
	background: green;
}

.box {
	background-color: #000000;
	border: 1px solid #555555;
	border-radius: 5px;
	padding: 5px;
	display: inline-block;
}

.box.crafting {
	max-width: 45%;
	margin-left: 10px;
}

.box .box-title {
	font-weight: bold;
	color: #ffffff;
	text-align: center;
}

.box .box-content {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.box .actionbar {
	margin-top: 15px;
	text-align: center;
	margin-bottom: 10px;
}

.box .crafting-information {
	display: inline-block;
	color: #ffffff;
	padding: 10px 20px;
}

.box .crafting-information > div:nth-child(1) {
	margin-bottom: 20px;
}

.icon {
	border-radius: 5px;
	background-color: #333333;
	border: 1px solid #555555;
	padding: 5px;
	display: inline-block;
}

.icon>img {
	width: 64px;
	height: 64px;
	vertical-align: middle;
}

/* Center image inside inventory icon containers */
.inventory-icon {
	display: inline-block;
	justify-content: center;
	/* ensure the icon doesn't overflow its box */
	overflow: hidden;
	border-radius: 5px;
	background-color: #333333;
	border: 1px solid #555555;
	padding: 5px;
	width: 64px;
	height: 64px;
	color: #ffffff;
	text-align: center;
	margin-left: 5px;
	margin-bottom: 5px;
}

.inventory-icon > img {
	display: block;
	width: 48px;
	height: 48px;
	margin: auto;
}

.task-description {
	width: 200px;
	display: inline-block;
	color: #ffffff;
	padding: 10px 20px;
}

footer>span {
	color: #ffffff;
	width: 820px;
	margin-left: auto;
	margin-right: auto;
	height: 55px;
	text-align: center;
	font-size: 80%;
	text-decoration: none;
	font-weight: bold;
}

footer a {
	color: #fb741c;
	text-decoration: none;
}

p {
	margin-bottom: 10px;
	color: #ffffff;
	padding: 0 25px;
}

p>a{
	color: #fb741c;
	text-decoration: none;
}

#inventory-box {
	position: relative;
	height: auto;
}

#inventory-btn {
	position: absolute;
	height: 100%;
	right: 0;
	background-color: #222222;
	color: #ffffff;
	border-left: 1px solid #fb741c;
	cursor: pointer;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	/* stack characters vertically, one per line */
	writing-mode: vertical-rl;
	text-orientation: upright;
	line-height: 1;
	white-space: nowrap;
	padding: 0 3px;
}

#inventory {
	/* keep element in flow for animation (use opacity/transform to hide)
	   starting hidden so transitions work even when toggled */
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 100%;
	background-color: #000000;
	border-left: 1px solid #555555;
	pointer-events: none;
	overflow: hidden;
	will-change: width;
	transition: transform 260ms cubic-bezier(.2,.9,.2,1), width 260ms ease;
	transform-origin: right center;
}

/* open state: visible and interactive */
#inventory.open {
	width: 286px;
	pointer-events: auto;
}





.d-none {
	display: none;
}



ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Nav */
a,
a:visited {
	text-decoration: none;
	background: inherit;
}

nav li.active {
	text-shadow: none;
}

nav li {
	display: inline;
}

nav li a {
	display: block;
	float: left;
	padding: 0 8px;
	color: #FFF;
	text-decoration: none;
}

nav li a:hover {
	background-color: #ECECEC;
	color: #333;
}

nav li.active a {
	background-color: #FFF;
	color: #333;
	text-shadow: none;
}



/* Inputs */
input[type="text"] {
	padding: 2px;
	border: 1px solid #999;
	font: normal normal normal 1em Verdana, sans-serif;
	color: #000;
}

.error input[type="text"],
.error input[type="password"] {
	padding: 2px;
	border: 1px solid #ff0000;
	font: normal normal normal 1em Verdana, sans-serif;
	color: #000;
}

.error .error-message {
	display: block;
	color: #ff0000;
	font-weight: bold;
}

input[type="submit"] {
	display: inline-block;
	min-width: 10em;
	width: auto;
	height: auto;
	margin: 0;
	padding: 3px 6px;
	border: 1px solid #999;
	cursor: pointer;
	background: -webkit-linear-gradient(top, #f3f3f3, #eeeeee);
	background: -moz-linear-gradient(top, #f3f3f3, #eeeeee);
	background: linear-gradient(to bottom, #f3f3f3, #eeeeee);
	color: #333;
	text-align: center;
	text-decoration: none;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	transition: all 0.2s ease 0.1s;
	-moz-transition: all 0.2s ease 0.1s;
	-webkit-transition: all 0.2s ease 0.1s;
	-ms-transition: all 0.2s ease 0.1s;
	-o-transition: all 0.2s ease 0.1s;
	-webkit-touch-callout: none;
}

/* Special */
.parking {
	width: 100%;
	height: 460px;
	background: url(/img/parking.jpg);
}

.parking-spots {
	padding: 22px 18px 0 22px;
}

.parking-spots>div {
	display: inline-block;
	width: 56px;
}

.parking-spots img {
	margin: 7px;
}

.parking-spots img.bottom {
	rotate: 180deg;
	margin-top: 135px;
}

/* Dialog */
dialog {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
}


/* */
.profil-img>img {
	width: 150px;
}

.center-content {
	display: flex;
	justify-content: center;
	/* Horizontale Zentrierung */
	align-items: center;
	/* Vertikale Zentrierung */
}

/* OLD */

.badge {
	display: inline-block;
	min-width: 10px;
	padding: 3px 7px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	background-color: #777;
	border-radius: 10px;
}