@import url('tipped.min.css');
@import url('../font/Stag.css');
@import url(../font/materialdesignicons/css/materialdesignicons.min.css);

html, body {
	height:100%;
}

body {
	background-color: #4a9228;
	/*font-family: 'Stag Sans', sans-serif;*/
	padding-top: 68px;
}
#logo {
  width: 100%;
  text-align:center;
}
#logo img{
  max-width: 100%;
  max-height: 32px;
}
#loginpanel{
  width:500px;
  margin-left: auto;
  margin-right: auto;  
}

.nav-brand{
  color:white!important;
  font-size:18px;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  display: block;
  text-align: center;  
}
a, a:hover {
	color: inherit;
	text-decoration: none;
}

#admincontent {
	margin-left: 270px;
	height:100%;
	/*padding: 10px;*/
}

#openmenu {
	float: left;
	display: none;
	padding: 24px 20px;
	cursor: pointer;
}

#openmenu:hover {
	background-color: rgba(0,0,0,0.05);
}

#openmenu div {
	position: relative;
	width: 30px;
	height: 20px;
}

#openmenu div:before, #openmenu div:after, #openmenu div span {
	content: "";
	background-color: #4a9228;
	width: 100%;
	height: 2px;
	position: absolute;
}

#openmenu div:before {
	top: 0;
}

#openmenu div span {
	top: calc(50% - 1px);
}

#openmenu div:after {
	bottom: 0;
}

#adminbar {
	width: 100vw;
	height: 68px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;

	background-color: #fff;
}

#adminbar:after {
	bottom: -5px;
	box-shadow: inset 0px 4px 8px -3px rgba(17, 17, 17, .06);
	content: "";
	height: 5px;
	left: 270px;
	opacity: 1;
	pointer-events: none;
	position: absolute;
	right: 0;
	width: 100%;
	z-index: 9;
}

#adminbar .brand {
	background-color: #4a9228;
	width: 270px;
	height: 68px;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	overflow: hidden;
	float: left;
}

#adminbar .brand a {
	max-height: 68px;
	display: block;
	padding: 18px 40px;
}

#adminbar .brand a:hover {
	background-color: rgba(0,0,0,0.1);
}

#adminbar .brand img {
	max-width: 100%;
	max-height: 32px
}

#adminbar .brand .icon, #adminbar .brand .logo-g {
	display: none;
}

#adminbar #user {
	display: none;
	width: 70px;
	height: 68px;
	cursor: pointer;
}

#adminbar #user img {
	border-radius: 50%;
	width: 40px;
	margin: 15px;
}

#adminbar .content {
	width: calc(100% - 270px);
	float: right;
	line-height: 28px;
	color: #4a9228;

	position: relative;
}

#adminbar .content .theboxdrop {
	display: flex;
	justify-content: space-between;
}

#adminbar .title, #adminbar .user, #adminbar .klima, #adminbar .right {
	padding: 20px 30px;
	max-height: 68px;
}

#adminbar .user:hover, #adminbar .klima:hover {
	background-color: rgb(250,250,250);
}

#adminbar .boxuser {
	background-color: #4a9228;
	color: #fff;
	padding: 0 10px;
	display: none;
}

#adminbar .title {
	font-weight: 500;
	letter-spacing: 2px;
}

#adminbar .usertitle {
	margin-top: 5px;
	padding: 15px 20px;
	line-height: 40px;
	display: none;
}

#adminbar .usertitle span {
	font-size: 20px;
}

#adminbar .usertitle .off {
	float: right;
	background-color: #4a9228;
	color: #fff;
	padding: 0 25px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
}

#adminbar .user .avatar {
	background-color: rgba(0,0,0,0.1);
	width: 40px;
	height: 40px;
	border-radius: 50%;

	margin: -6px 0;
	margin-right: 10px;

	float: left;
}

#adminbar .klima {
	display: flex;
}

#adminbar .klima .icon {
	background-color: rgba(0,0,0,0.1);
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	text-align: center;
	font-size: 24px;

	margin: -6px 10px;
}

#adminbar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-left: -20px;

	display: flex;
}

#adminbar ul li {
	margin-left: 20px;
}

#adminbar ul li span {
	display: none;
}

#adminbar ul img {
	width: 20px;
}

#adminbar .drop {
	position: relative;
}

#adminbar .drop .boxdrop {
	background-color: rgb(250,250,250);
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
	width: 260px;
	max-width: 100vw;
	position: absolute;
	top: 68px;
	right: 0;
	z-index: 99;

	visibility: hidden;
}

#adminbar .drop.selected .boxdrop {
	visibility: visible;
}

#adminbar .drop .boxdrop ul {
	display: block;
	padding-bottom: 10px;
}

#adminbar .drop .boxdrop ul li:hover {
	background-color: rgba(0,0,0,0.05)
}

#adminbar .drop .boxdrop ul li a {
	padding: 5px 15px;
	display: block;
}

/* Menu */

#adminmenuback {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1;

	box-shadow: 0 400px #4a9228;
}

#adminmenuwrap {
	position: relative;
	float: left;
}

#adminmenuback, #adminmenuwrap, ul#adminmenu {
	background-color: #4a9228;
	width: 270px;
}

ul#adminmenu {
	list-style: none;
	margin: 0;
	padding: 0;

	margin-top: 68px;
}

ul#adminmenu li {
	border-bottom: 1px solid rgba(255,255,255,0.5);
	line-height: 20px;
	text-transform: uppercase;
	position: relative;
}

ul#adminmenu li.active {
	background-color: #6dcc40;
}

ul#adminmenu li a {
	color: #fff;
	padding: 17px 20px;
	padding-top: 22px;
	display: block;
}

ul#adminmenu li a:hover {
	background-color: rgba(0,0,0,0.1);
}

ul#adminmenu li .icon {
	float: left;
	width: 20px;
	height: 20px;
	margin-right: 20px;
}

ul#adminmenu li .icon img {
	max-width: 100%;
	margin-top: -4px;
}

ul#adminmenu li .name .mdi {
	font-size: 24px;
	float: right;
}

ul#adminmenu li.active .name .mdi {
	transform: translateY(-3px) rotate(90deg) !important;
}

ul#adminmenu li ul {
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: #58ae2f;
	position: relative;
	z-index: 2;
	height: 0;
	overflow: hidden;
	transition: 0s;
}

ul#adminmenu li.selected ul {
	height: auto;
}

ul#adminmenu li ul span {
	color: #fff;
	padding: 15px 20px;
	display: none;
}

ul#adminmenu li ul li {
	border: none;
	font-size: 14px;
}

ul#adminmenu li ul li {
	height: 0;
	transition: height 0.2s;
}

ul#adminmenu li.selected ul li {
	height: 50px;
}

ul#adminmenu li ul a {
	color: rgba(255,255,255,0.8);
	padding: 15px 20px;
}


.panel {
	background-color: #fff;
	padding: 20px;
	margin: 20px;
}
#adminbody{
  height:100%;
}
#nmmap {
	background-color: #fff;
	/*padding: 20px;*/
	height:100%;
}

#mapchartcontainer {
	background-color: #fff;
	border-radius:5px;
	/*padding: 20px;*/
	width:500px;
	height:200px;
	position:absolute;
	margin-left:100px;
	display:block;
	bottom:20px;
	padding:20px;
}

#mapchart {
margin: 0 auto; /* NEW */
position: absolute;

}
.mapcharttooltip {
  background: #eee;
  box-shadow: 0 0 5px #999999;
  color: #333;
  display: none;
  font-size: 12px;
  left: 130px;
  padding: 10px;
  position: absolute;
  text-align: center;
  top: 95px;
  width: 100px;
  z-index: 10;
}

.mapchartcockpit{
  color: #333;
  display: block;
  font-size: 14px;
  left: 30px;
  padding: 10px;
  position: absolute;
  text-align: center;
  top: 30px;
  width: 100px;
  height:100px;
  /*z-index: 9;*/
}
.mapchartcockpit > .year{
  font-size: 20px;
  font-weight:bold;
}
.mapchartlegend {
font-size: 14px;
}
.mapchartlegend > rect {
  cursor: pointer;                                              /* NEW */
  stroke-width: 2;
}
.mapchartlegend > rect.disabled {                                                 /* NEW */
  fill: transparent !important;                                 /* NEW */
}   

/*Timeline*/
.TimelineYear{
	top:00px;	
	width: 50px;
	height: 20px;
	position: absolute;
	color:#000000;
	margin-left:-25px;
	font-weight:bold;	
	font-size:16px;
	text-align:center;
}
.TimelineMonth{
	top:40px;	
	width: 20px;
	height: 20px;
	position: absolute;
	color:#9e9e9e;
	margin-left:-10px;	
}
.TimelineMonthLine{
	top:32px;	
	width: 1px;
	height: 8px;
	position: absolute;
	background-color:#9e9e9e;
	margin-left:-1px;	
}
.TimeLineSeparator{
	top: 0px;
	height: 40px;
}
.TimeLineBackground{
	top: 80px;
	height: 20px;
	width: 100%;
	position: absolute;
	background-color:#e1e1e1;
}
.TimeLineItem{
	top: 80px;
	height: 20px;
	position: absolute;
	background-color:#e1e1e1;
	text-align:center;
	overflow:hidden;
}
@media (max-width: 1200px) {

	body {
		box-shadow: inset 60px 0 #4a9228;
	}

	#adminbar:after {
		left: 60px;
	}

	#adminbar .brand {
		width: 60px;
	}

	#adminbar .brand a {
		padding: 18px 15px;
	}

	#adminbar .brand .logo {
		display: none;
	}

	#adminbar .brand .icon {
		display: block;
	}

	#admincontent {
		margin-left: 60px
	}

	#adminbar .content {
		width: calc(100% - 60px);
	}

	#adminmenuback, #adminmenuwrap, ul#adminmenu {
		width: 60px;
	}

	ul#adminmenu li .name {
		display: none;
	}

	ul#adminmenu li .icon {
		float: none;
	}

	ul#adminmenu li ul {
		padding: 0;
	}

	ul#adminmenu li.selected ul {
		width: 200px;
		position: absolute;
		left: 100%;
		top: 0;
	}

	ul#adminmenu li.selected ul li {
		height: 40px;
	}

	ul#adminmenu li ul span {
		display: block;
	}

	ul#adminmenu li ul a {
		padding: 10px 15px;
	}

}

@media (min-width: 1200px) {

	ul#adminmenu li.active:before {
		content: "";
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 15px 15px 15px 0;
		border-color: transparent rgb(225,225,225) transparent transparent;
		position: absolute;
		right: 0px;
		top: 15px;
	}

	ul#adminmenu li.active ul {
		box-shadow: none;
		padding: 0;
		width: auto;
		visibility: visible;
		position: relative;
		left: 0;
		z-index: 1;
	}

}

@media (max-width: 1000px) {
	#adminbar .klima {
		display: none;
	}

	#adminbar .drop .boxdrop {
		right: auto;
		left: 0;
	}

}

@media (max-width: 800px) {

	body {
		box-shadow: none;
	}

	#admincontent {
		margin: 0;
		padding: 0;
	}

	#adminbar:after {
		left: 0;
	}

	#adminbar .brand {
		background-color: inherit;
		width: calc(100% - 140px);
		border-bottom: none;
	}

	#adminbar .brand .logo {
		display: none;
	}

	#adminbar .brand .logo-g {
		display: block;
	}

	#adminbar .brand .icon {
		display: none;
	}

	#adminbar .brand a:hover {
		background-color: rgba(0,0,0,0.05);
	}

	#openmenu {
		display: block;
	}

	#adminbar .boxuser {
		display: block;
	}

	#adminbar .content .title {
		display: none;
	}

	#adminbar .usertitle {
		display: block;
	}

	#adminbar #user {
		display: block;
	}

	#adminbar #user:hover {
		background-color: rgba(0,0,0,.05);
	}

	#adminbar .content {
		width: 70px;
	}

	#adminbar .content #user.selected ~ .theboxdrop {
		display: block;
	}

	#adminbar .content .theboxdrop {
		position: absolute;

		background-color: rgb(255,255,255);
		box-shadow: 0 2px 10px rgba(0,0,0,0.2);
		width: 100vw;
		max-width: 320px;
		top: 68px;
		right: 0;

		display: none;
	}

	#adminbar .title, #adminbar .user, #adminbar .klima, #adminbar .right {
		padding: 15px 20px;
		max-height: inherit;
	}

	#adminbar ul {
		display: block;
		margin: 0 10px;
	}

	#adminbar ul img {
		float: left;
		margin-right: 20px;
	}

	#adminbar ul li {
		line-height: 20px;
		margin: 0;
	}

	#adminbar ul li span {
		display: block;
	}

	#adminbar ul li a {
		display: block;
		padding: 15px 0;
	}

	#adminbar .drop .boxdrop {
		background-color: inherit;
		box-shadow: inherit;
		position: relative;
		width: 100%;
		top: 15px;
		height: 0;
	}

	#adminbar .drop.selected .boxdrop {
		height: auto;
	}

	#adminbar .drop .boxdrop ul {
		margin: 0;
	}

	#adminbar .logout {
		display: none;
	}

	ul#adminmenu li.selected ul {
		width: auto;
		position: relative;
		left: 0;
	}

	ul#adminmenu li.selected .name .mdi {
		transform: translateY(-5px) rotate(180deg);
	}

	#adminmenuback .menuoverlay {
		background-color: rgba(0,0,0,0.6);
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease-in-out, left 0.2s ease-in-out;
	}

	#adminmenuback.active .menuoverlay {
		left: 270px;
		opacity: 1;
		visibility: visible;
	}

	#adminmenuback {
		left: -270px;

		transition: left 0.2s ease-in-out;
	}

	#adminmenuback.active {
		left: 0;
	}

	#adminmenuback, #adminmenuwrap, ul#adminmenu {
		width: 270px;
		max-width: 100%;
	}

	ul#adminmenu li a {
		padding: 13px 20px;
		padding-top: 18px;
	}

	ul#adminmenu li .name {
		display: block;
	}

	ul#adminmenu li .icon {
		float: left;
	}

	ul#adminmenu li:hover ul {
		visibility: hidden;
	}

	ul#adminmenu li:hover ul {
		transition: 0s;
	}

	ul#adminmenu li ul {
		box-shadow: none;
		padding: 0;
		width: auto;
		position: relative;
		height: 0;
		left: 0;
		z-index: 1;
	}

	ul#adminmenu li.selected ul {
		visibility: visible;
		height: auto;
	}

	ul#adminmenu li.active ul {
		box-shadow: none;
		padding: 0;
		width: auto;
		height: auto;
		visibility: visible;
		position: relative;
		left: 0;
		z-index: 1;
	}

	ul#adminmenu li ul span {
		display: none;
	}

  #mapchartcontainer {
    margin-left:0px;

  }	
}

@media (max-width: 550px) {
	#adminbar .user span {
		display: none;
	}
  #mapchartcontainer {
    width:100%;
    overflow:hidden;
    bottom:0px;
  }	
  
  #loginpanel{
    width:100%;
  }  
}