* {
  	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;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #435165;
  	height: 100%;
  	margin: 0;
  	min-width: 400px;
}


html {
	height: 100%;
	margin: 0;
	min-width: 400px;
}


a, a:visited, a:link {
	
	color: rgb(51, 102, 153);
	transition: color 0.2s;
}

a:hover {
	color: #444;
}

a>i {
	padding: 0 10px;
	cursor: pointer;
}

.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: #444;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}

.login .errormessage {
  	padding: 15px;
 	margin: 20px 20px 0 20px;
  	background-color: #F2F2F2;
  	border: 1px solid #FF6767;
  	font-weight: bold;
  	color: #FF6767;
}

.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: #4080bf;
  	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: #4080bf;
  	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%;
	position: fixed;
	border: 0;
	z-index: 10000; 
}
.navtop div {
	display: flex;
	margin: 0 0;
	width: 100%;
	height: 100%;
	padding: 0 5px 0 25px;
}
.navtop div h1, .navtop div a, .navtop span {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #c1c4c8;
	font-weight: normal;
}
.navtop div a, .navtop span {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}

.navtop span {
	font-weight:normal;
}

.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}



body.loggedin {
	background-color: #f3f4f7;
}


#page {
	min-height: 100%;
}


/* Für Ladeanimation */
#page.loading .modal {
    overflow: hidden;   
    display: block;
}
.modal {
    display:    none;  
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('./ajax-loader.gif') 
                50% 50% 
                no-repeat;
}







.content {
	width: auto;
	min-width: 380px;
	height: auto;
	min-height: 650px;
 	position: absolute; 
	top: 40px;
	bottom: 0px;
	left: 0;
	right: 0px;
 	margin: 15px; 
/*  	padding: 15px; */
}
.content h2,h3, .sidepanelcontent h3 {
	margin: 0;
	margin-top: 0 !important;
	padding: 15px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #444;
}

.content h3, .sidepanelcontent h3 {
	padding-top: 0px;
	margin-bottom: 15px;
}

.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 15px 0;
	padding: 15px;
	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: #444;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}



/* Tabs mit radio-Buttons */

.tabbed {
	width: 100%;
	height: auto;
	position: absolute;
 	top: 25px; 
	bottom: 0;
	margin: 0 !important;
}

.tabbed figure { 
   display: block; 
   margin-left: 0; 
   margin-right: 10px;
   margin-top: 16px;
   border-bottom: 1px solid #e0e0e3;
   clear: both;
   height: auto;
   position: absolute;
   top: 36px;
   bottom: 0;
   left: 15px;
   right: 10px;
}

.tabbed label.pointer {
	cursor: pointer;
}

.tabbed > input,
.tabbed figure > div { display: none;}


.tabbed figure > div {
  padding: 10px;
  width: 100%;
  height: 100%;
  border: 1px solid #e0e0e3;
  background: #fff;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: #444;
}

#tab1:checked ~ figure .tab1,
#tab2:checked ~ figure .tab2,
#tab3:checked ~ figure .tab3 { display: block; }


nav label {
   float: left;
   padding: 8px 15px;
   border-top: 1px solid #e0e0e3;
   border-right: 1px solid #e0e0e3;
   background: hsl(210,50%,50%);
   color: #eee;
}

nav label:nth-child(1) { border-left: 1px solid #e0e0e3; }
nav label:hover { background: hsl(210,50%,40%); }
nav label:active { background: #ffffff; }

#tab1:checked ~ nav label[for="tab1"],
#tab2:checked ~ nav label[for="tab2"],
#tab3:checked ~ nav label[for="tab3"] {
  background: white;
  color: #444;
  position: relative;
  border-bottom: none;
}

#tab1:checked ~ nav label[for="tab1"]:after,
#tab2:checked ~ nav label[for="tab2"]:after,
#tab3:checked ~ nav label[for="tab3"]:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  left: 0;
  bottom: -1px;
}



#filter {
	display: inline-block;
	float: right;
}

#export, #timeshift, #timefilter {
	display: inline-block;
}

.download {
	cursor: pointer;
	padding: 0px 15px;
	display: none;
}

.formlabel, .formlabel:hover, .formlabel:nth-child(1) {
	float: none;
	background: transparent;
	color: #444;
	border: none;
}

input[type=text] {
	width: 160px;
}


#mapwrap{
  position: relative;
  height: 100%;
  width: 100% !important;
}

#map {
          width: 100%;
          height: 100%;
}

#osm {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 5px 10px;
	padding: 5px 10px;
	background-color: rgba(242,242,242,0.6);
	z-index: 1000;
	font-size: 0.8em;
}

#osm a {
	font-size: 1em;
}


#canvaswrap{
  position: relative;
  height: 100%;
  width: 100% !important;
}

canvas {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	width: 100% !important;
         
}

#datatable {
	position: relative;
  height: 100%;
  width: 100% !important;
}



.col-1 {
	width: 50%;
	float: left;
	padding-right: 15px;
}


.col-2 {
	width: 50%;
	float: left;
	padding-left: 15px;
}

.clear {
	clear: both;
	text-align: right;
	background: #f3f4f7;
	padding: 15px;
}

#server-results {
	text-align: right;
	padding: 15px;
	margin: 15px 0;
	color: #1C7F00;
}

form label {
	display: inline-block;
	width: 20%;
	font-weight: bold;
}

form .settings label {
	width: 40%;
}

.mapcolors label {
	width: 5%;
}

form>div>div {
	margin: 15px 0;
}

form input[type=text] {
	width: 250px;
}

form .settings input[type=text] {
	width: 50px;
}

.input-group {
  	display: inline-table !important;  
 	width: 140px; 
}

.chartcolors .input-group,
.mapcolors .input-group {
 	margin-right: 50px;
}

.form-control {
	height: 38px !important;
}

table {
	margin-top: 10px;
	width: 100%;
}

td {
	vertical-align: top;
	font-size: 0.9em;
}

meter {
	width: 100%;
}

 /* The sidepanel menu */
.sidepanel {
  height: 100%; 
  width: 0; 
  position: fixed; 
  z-index: 10000; 
  top: 60px;
  left: 0;
  background-color: #b0bcbc; 
  overflow-x: visible; 
  transition: 0.5s; 
}


#togggleshipdata {
	position: absolute;
	left: 0px;
	top: 50%;
	font-size: 20px;
  	cursor: pointer;
  	color: #4080BF;
   	padding: 5px 0; 
  	border: none;
  	border-radius: 0 25px 25px 0;
  	background-color: #b0bcbc;
  	transition: 0.5s; 
}

#togggleshipdata:hover {
  background-color: #2f3947;
  color: white;
}
 
.closebtn {
	left: 300px !important;
	transition: 0.5s; 
}

#sidepanelcontent {
	width: 90%;
	overflow: hidden;
	margin: auto;
}