* {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans",
		"droid sans", "helvetica neue", Arial, sans-serif;
	font-size: 16px;
}

body {
	background-color: #435165;
}

a {
	color: #4a536e;
}

a:visited {
	color: #4a536e;
}

input, .input {
	height: 45px;
	font-size: 16px;
}

input, .input, .inputTextarea {
	width: 100%;
	outline: none;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding-left: 15px;
	border-bottom-width: 2px;
	transition: all 0.3s ease;
}

.inputTextarea {
	height: 120px;
	font-size: 12px;
}

input:focus, input:valid, .input:focus, .input:valid {
	border-color: #9b59b6;
}

.submit {
	height: 45px;
	margin: 45px 0;
}

.submit input {
	height: 100%;
	width: 100%;
	outline: none;
	color: #fff;
	border: none;
	font-size: 18px;
	font-weight: 650;
	border-radius: 5px;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #2f3947, #435165);
}

.submit input:hover {
	background: linear-gradient(-135deg, #2f3947, #435165);
}

.label {
	display: block;
	font-weight: 650;
	margin-bottom: 5px;
}

.login {
	width: 400px;
	background-color: #ffffff;
	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
	margin: 100px auto;
}

.login h1 {
	text-align: center;
	color: #5b6574;
	font-size: 24px;
	padding: 20px 0 20px 0;
	border-bottom: 1px solid #dee0e4;
}

.login form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 20px;
}

.login form label {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	background-color: #3274d6;
	color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"] {
	width: 310px;
	height: 50px;
	border: 1px solid #dee0e4;
	margin-bottom: 20px;
	padding: 0 15px;
}

.login form input[type="submit"] {
	width: 100%;
	padding: 15px;
	margin-top: 20px;
	background-color: #3274d6;
	border: 0;
	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
	transition: background-color 0.2s;
}

.login form input[type="submit"]:hover {
	background-color: #2868c7;
	transition: background-color 0.2s;
}

.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
	position: fixed;
	z-index: 1000;
}

.navtop div {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}

.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}

.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}

.navtop div a, .navside div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}

.navtop div a i, .navside div a i {
	padding: 2px 8px 0 0;
}

.navtop div a:hover {
	color: #eaebed;
}

.navside {
	height: calc(100% - 100px); /* 100% Full-height */
	width: 250px; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 1; /* Stay on top */
	top: 80px; /* Stay at the top */
	left: 8px;
	background-color: #2f3947; /* Black*/
	overflow-x: hidden; /* Disable horizontal scroll */
	padding-top: 20px; /* Place content 60px from the top */
	transition: 0.5s;
	background-color: #2f3947; /* 0.5 second transition effect to slide in the sidenav */
}

.navside div a {
	display: block;
	margin: 10px 10px;
}

.navside i {
	vertical-align: middle;
	margin-right: 8px;
}

.navside .bottom {
	position: fixed;
	bottom: 40px;
}

body.loggedin {
	background-color: #f3f4f7;
}

.content {
	position: relative; /* Stay in place */
	z-index: 3; /* Stay on top */
	top: 55px; /* Stay at the top */
	left: 100px;
	max-width: 1500px;
	/*width: 100%;*/
	margin: 0 auto;
}

.content>h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}

.content>p, .content>div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}

.content>p table td, .content>div table td {
	padding: 5px;
}

/*.content>p table td:first-child, .content>div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}*/

.content>div p {
	padding: 5px;
	margin: 0 0 10px 0;
}

.icon {
	cursor: pointer;
}

.tt_gebiete {
	display: grid;
	grid-template-columns: repeat(4, 270px);
}

.tt_gebiet {
	position: relative;
	width: 250px;
	height: 50px;
	margin: 10px 5px;
	padding: 15px 20px;
	background-color: rgba(47, 57, 71, 0.4);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	display: flex;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
}

.tt_gebiet a {
	position: absolute;
	top: 13px;
	left: 0;
	width: 100%;
	height: 100%;
	font-weight: bold;
	display: block; /* Stellt sicher, dass der Link den gesamten Raum einnimmt */
	text-decoration: none; /* Entferne die Standard-Link-Unterstreichung */
}

.tt {
	margin-top: 20px;
	max-height: 550px;
	overflow: scroll;
}

.tt_tech_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.tt_tech_buttons {
	position: relative;
	right: 0px;
}

.tt_tech_buttons i {
	margin-left: 10px;
}

.tt_tech a {
	color: #c1c4c8;
}

.tt_tech a:hover {
	color: #eaebed;
}

.tt_tech {
	border: 2px solid;
	border-color: black;
	background-color: rgba(47, 57, 71);
	color: #c1c4c8;
	padding: 5px 10px;
}

.tt_depth1 {
	margin-left: 20px;
	border-top: 0px;
}

.tt_depth2 {
	margin-left: 40px;
	border-top: 0px;
}

.tt_depth3 {
	margin-left: 60px;
	border-top: 0px;
}

.tt_depth4 {
	margin-left: 80px;
	border-top: 0px;
}

.tt_depth5 {
	margin-left: 100px;
	border-top: 0px;
}

.tt_depth6 {
	margin-left: 120px;
	border-top: 0px;
}

.tt_depth7 {
	margin-left: 140px;
	border-top: 0px;
}

.tt_depth8 {
	margin-left: 160px;
	border-top: 0px;
}

.tt_Warlord {
	background-color: #e50000;
}

.tt_Freelancer {
	background-color: #005aff;
}

.tt_Trader {
	background-color: #109410;
}

.tt_Rasse {
	background-color: #d9a706;
	color: black;
}

.tt_Rasse .tt_bonus {
	color: #005aff !important;
}

.tt_tech_name {
	font-weight: bold;
	font-size: 13pt;
}

.tt_tech_beschreibung {
	margin-top: 5px;
	font-size: 10pt;
}

.tt_hide {
	display: none;
}

.tt_tech_module {
	margin-left: 2px;
	padding: 5px;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tt_module {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 5px;
}

.tt_tech_module a {
	display: flex;
	align-items: center;
	text-decoration: none; /* Optional: Entfernt die Standard-Link-Unterstreichung */
}

.tt_tech_module_buttons {
	position: relative;
	right: 0px;
	display: flex;
	align-items: center;
}

.tt_tech_module_buttons i {
	margin-left: 10px;
}

.tt_module_img {
	margin-right: 5px;
}

.tt_module_img_small {
	width: 25px;
	height: 25px;
}

.tt_tech_module_level, .tt_tech_module_name {
	margin-left: 5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tt_tech_bonus {
	margin-top: 5px;
}

.tt_bonus {
	margin-left: 5px;
	font-weight: 600;
	color: orange;
}

/* Stil für das modale Popup */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

.modal-content {
	background-color: #fafafa;
	margin: 10% auto;
	padding: 10px 20px;
	border: 1px solid #888;
	border-radius: 5px;
	width: 80%;
}

.modal-content-small {
	background-color: #fafafa;
	margin: 10% auto;
	padding: 10px 20px;
	border: 1px solid #888;
	border-radius: 5px;
	width: 400px;
}

.modal-content-mid {
	background-color: #fafafa;
	margin: 10% auto;
	padding: 10px 20px;
	border: 1px solid #888;
	border-radius: 5px;
	width: 800px;
}

.modal-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-header>h2 {
	margin: 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}

.modal-input-fields {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 20px 0 12px 0;
}

.modal-input-fields .modal-input-box-2-rows {
	margin-bottom: 15px;
	width: calc(100%/ 2 - 20px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.modal-input-box-1-cols {
	margin-bottom: 15px;
	width: calc(100% - 20px);
}

.modal-input-box-2-cols {
	margin-bottom: 15px;
	width: calc(100%/ 2 - 20px);
}

.modal-input-box-3-cols {
	margin-bottom: 15px;
	width: calc(100%/ 3 - 20px);
}

.modal-input-box-4-cols {
	margin-bottom: 15px;
	width: calc(100%/ 4 - 20px);
}

.modal-input-box-5-cols {
	margin-bottom: 15px;
	width: calc(100%/ 11 - 20px);
}

.modal-input-fields .modal-input-box .label {
	display: block;
	font-weight: 650;
	margin-bottom: 5px;
}

.modal-input-fields .modal-input-box label {
	font-weight: 650;
	margin-bottom: 5px;
}

.modal-input-fields .modal-input-box input, .modal-input-fields .modal-input-box .input {
	height: 45px;
	font-size: 16px;
}

.modal-input-fields .modal-input-box .inputTextarea {
	height: 120px;
	font-size: 12px;
}

.modal-input-fields .modal-input-box input, .modal-input-fields .modal-input-box .input, .modal-input-fields .modal-input-box .inputTextarea
	{
	width: 100%;
	outline: none;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding-left: 15px;
	border-bottom-width: 2px;
	transition: all 0.3s ease;
}

.modal-input-fields .modal-input-box .level {
	width: 75px;
}

.modal-input-fields .modal-input-box input:focus, .modal-input-fields .modal-input-box input:valid,
	.modal-input-fields .modal-input-box .input:focus, .modal-input-fields .modal-input-box .input:valid {
	border-color: #9b59b6;
}

.modal-submit {
	height: 45px;
	margin: 45px 0;
}

.modal-submit input {
	height: 100%;
	width: 100%;
	outline: none;
	color: #fff;
	border: none;
	font-size: 18px;
	font-weight: 650;
	border-radius: 5px;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #2f3947, #435165);
}

.modal-submit input:hover {
	background: linear-gradient(-135deg, #2f3947, #435165);
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.routing-data {
	width: 100%;
	display: flex;
}

.routing-data-input {
	flex: 0 0 calc(25% - 10px);
	margin: 5px; /* Fügen Sie einen kleinen Abstand zwischen den Elementen hinzu */
	box-sizing: border-box; /* Stellen Sie sicher, dass der Abstand Teil der Breite ist */
}

.routes {
	margin-top: 20px;
	max-height: 550px;
	overflow: scroll;
	display: flex;
	flex-wrap: wrap; /* Ermöglicht das Umbruch von Elementen */
}

.routes .route {
	display: block;
	flex: 0 0 calc(33.33% - 10px);
	/* Jedes Element soll maximal 33,33% der Breite einnehmen, abzüglich eines Abstands von 10 Pixeln */
	margin: 5px; /* Fügen Sie einen kleinen Abstand zwischen den Elementen hinzu */
	box-sizing: border-box; /* Stellen Sie sicher, dass der Abstand Teil der Breite ist */
}

.routing-table-route {
	display: flex;
}

.routing-table-route div {
	margin-left: 5px;
	box-sizing: border-box;
}

.routing-table-ressource {
	color: purple;
	font-weight: 650;
}

.gvg-red {
	color: red;
	font-weight: 650;
}

.gvg-blue {
	color: blue;
	font-weight: 650;
}

.gvg-green {
	color: green;
	font-weight: 650;
}

.gvg-data {
	width: 100%;
	display: flex;
}

.gvg-data-input {
	flex: 0 0 calc(50% - 10px);
	margin: 5px; /* Fügen Sie einen kleinen Abstand zwischen den Elementen hinzu */
	box-sizing: border-box; /* Stellen Sie sicher, dass der Abstand Teil der Breite ist */
}

.gvgtable {
	width: 800px;
}

.wormhole {
	position: relative;
}

.wormhole-toolbar, .wormhole-toolbar form {
	display:flex;
	flex-flow: row wrap;
	gap: 1em 2em;
}

.wormhole-toolbar input {
	width: 250px;
}

.wormholestable {
	margin-top: 40px;
	min-width: 800px;
}

.wormholestable th {
	padding: 0 15px;
}

.wormholestable td {
	padding: 3px 10px !important;
}

.wormholestable .grey {
	background-color: #E2E2E2;
}

.wormholeDelete-trigger {
	margin-left: 10px;
}

.button {
	background-color : #3498db; /* Hintergrundfarbe des Buttons */
	border: none; /* Keine Rahmenlinie um den Button */
	color: white; /* Schriftfarbe */
	font-weight: 650;
	padding: 15px 32px; /* Innenabstand */
	text-align: center; /* Ausrichtung des Textes */
	text-decoration: none; /* Keine Unterstreichung des Textes */
	display: inline-block; /* Anzeige als Inline-Block */
	font-size: 16px; /* Schriftgröße */
	margin: 4px 2px; /* Abstand zu anderen Elementen */
	cursor: pointer; /* Mauszeiger verwandelt sich in Hand-Zeiger, wenn man über den Button fährt */
	border-radius: 10px; /* Rundungen an den Ecken des Buttons */
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background-color: #3498db; /* Schatten */
}

.button:hover {
	background-color: #3cb0fd; /* Hintergrundfarbe ändert sich, wenn man den Mauszeiger über den Button bewegt */
}

.button:active {
	background-color: #2980b9; /* Hintergrundfarbe ändert sich, wenn der Button geklickt wird */
}

.scans-data {
	width: 100%;
	display: flex;
}

.scans-data-input {
	flex: 0 0 calc(25% - 10px);
	margin: 5px; /* Fügen Sie einen kleinen Abstand zwischen den Elementen hinzu */
	box-sizing: border-box; /* Stellen Sie sicher, dass der Abstand Teil der Breite ist */
}

.order_tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.order_tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

.order_tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.order_tab button.active {
  background-color: #ccc;
}

.order_tabcontent {
	/* margin-top: 45px;*/
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}

.order_tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.order_table th {
	padding: 3px 15px;
	text-align: left;
}

.order_table td {
	padding: 3px 15px !important;
}

td .orderPopup-trigger {
	margin-right: 15px;
}

td .orderGiveBack-trigger {
	margin-right: 15px;
}