/*
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13.08.2020, 08:30:03
    Author     : Felix
*/
html, body {
    height:100%;
    width: 100%;
	display: flex;
	flex-direction: row;
}


/*Sidebar und Content*/

.sidebar{
    background-color: #343a40;
    height: 100%;
    max-width: 300px;
    z-index: 10;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	padding:10px;
}

#logodiv{
    height: 80px;
    width: 300px;
	display: flex;
	justify-content: center;
}

#logo{
    max-height:77px;
}

#collapsebutton{
    position: fixed;
    top:70px;
    left: 270px;
    z-index: 11;
}

#collapsebutton > button{
    background-color: #343a40;
    color: white;
    border:  none;
}

#selection{
	display: flex;
	flex-direction: column;
}

#datatoggle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}


#datatoggle > ul > li{
    color: white;
	border: none;
	font-size: 16px;
	width: 300px;
	margin: 0px
}

#datatoggle > ul > li > label{
	margin: 0px
	
}

#datatoggle > ul > li > .datacheckbox {
	vertical-align: super;
}

#datatoggle > ul > li > label{
	line-height: 1;
}

.sidebar_tabs{
      position: absolute;
      background-color: #343a40;
      width: 40px;
      left: 0px;
      padding-top: 5px;
	  height:100%
}
.sidebar_tabs button{
	z-index:100;
	position: absolute;
	color: white;
	background-color: transparent;
	border:none;
	margin-left: 10px;	
	top: 100px;
	}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  width: 40px;
}

.sidebar  ul li {
    font-size: 25px;
    color: white;
}

.fa{
    color:white;
    height: 25px;
    font-size: 25px;

}

#transparencyDIV{
	color: white;
	font-size:15px;
}

#transparency{
	width: 80px;
	background-color: #343a40;
	border-width: 2px;
	border-color: white;
	color: white;
	margin-left: 7px;
	border-radius: 5px;
	font-size: 13px;
}

#background_data{
	color: white;
	font-size: 15px;
}

#background_data > label{
    margin-bottom: 0px;
	margin-right: 5px;
}

#bg{
	color: white;
    background-color: #343a40;
    border-width: 2px;
    border-color: white;
	border-radius: 5px;
}

/*/////////////////////////////////
//////// LEGEND //////////////////////
///////////////////////////////////*/
#legend{
    width: 270px;
    background-color: #343a40; 
    color:white;
    font-size: 12px;
	z-index: 10;
	padding: 10px;
	border-radius: 15px;
	display: flex;
	
}

#MinimizeLegendButton{
	position: fixed;
	float: right;
	right: 15px;
	border: none;
	color: transparent;
	background-color: transparent;
	z-index: 100;
}

#MinimizeLegendButton > .fa{
	color: white;
	}

#info{
    color: #33ccff;
    height: 10px;
    
}

#info > fa{
	font-size: 18px;
}

#Infobutton{
    color: transparent;
    background-color: transparent;
    border: none;
    position: relative;   
	float: right
}



#container_right{
	display:flex;
	position:absolute;
	right: 10px;
	top:10px;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
}


#minimizedLegend{
	display: none;
    background-color: #343a40;
    z-index: 20;
}

#LegendMinimized{
	position: relative;
	border: none;
	background-color: transparent;
	color: white;
}

#LegendMinimized > .fa{
	font-size: 30px;
}

.legend_icon{
	width:15px;
	height:15px;
}
/*/////////////////////////////////
//////// MAP //////////////////////
///////////////////////////////////*/


#map-copyright{
    position: absolute;
    z-index: 10000000;
    bottom: 2px;
    right: 2px;
    background-color: #dae0e5;
    color: black !important;
    padding: 2px 6px 2px 4px;
	font-size: 12px;
    }


.mapc{
    width: 100%;
    height:100%;
    position: relative;
    }

#mapcontainer {
    height:100%;
    display: flex;
    background-color: white;
	position: absolute;
}



#standortdiv{
    position: absolute;
    top: 10px;
	left: 50px;
    z-index:3;
    margin-left: 0.5%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	background-color: white;
	width: 9vw;
    box-shadow: 5px 5px 2px #383838;
	border-radius:10px;
}


#standort{
    background-color: white;
    border-radius: 10px;
    padding: 3px 3px 3px 10px;
    color: #000000;
    font-size: 1em;
	display: flex;
	width: 7vw;
	border: 0px;
}

#standort:focus{
	outline: none;
}

.locpin {
    width: 1.5vw;
	display: flex;
}

.locpinimg {
    width: 1.5vw;
	display: flex;
}        

.ol-control{
    background-color: transparent;
}

.ol-control button{
    background-color: #343a40;
    padding-bottom: 5px;
}

 /*Overlay for Fotos/images*/
.overlay {
    background-color: transparent; 
    padding-bottom: 0px; 
    z-index: 8; 
    width: 250px; 
    max-height: 1000px;
    color: black;
}



.btn{
  border: none;
  color: white;
  width: 100%;
  padding: 5px 5px 5px 5px;
  height: 50px;
  cursor: pointer;
  font-size: 12px;
  background-color: #343a40;
}

.btn:active .btn.active{
  background-color:green;
  outline: none;
}

.btn:focus{
  background-color:green;
  outline: none;
}


#btn0:active{
    background-color: green;
}

#drawbuttons{
	margin-top: 10px;
	text-align: center;
}


.drawbtn{
	width: auto;
	height: auto;
	padding: 2px;
	background-color: #343a40;
	color:white;
	font-size: 15px;	
    border-width: 2px;
    border-color: white;
	margin-bottom: 5px;
}

#typeselect{
	display:none;
}


.minimize_Btn{
	float: right;
	right: 10px;
	position: absolute;
	top:5px;
	cursor: pointer;
	border: 1px solid grey;
	padding: 3px;
}


#drawing{
    width: 270px;
	background-color: #343a40;
	color: white;
	padding: 10px;
	border-radius: 15px;
	z-index: 10;
	display:flex;
	flex-direction: column;
	margin-top: 10px;
	align-items: center;
}

#drawing > p{
	font-size: 12px;
	margin-top:0px;
	margin-bottom:2px;
}

#drawing > h3{
	margin-bottom: 0px;
}


#graph_min{
	max-width:45px;
}


#calculating{
	width:35px;
	font-size: 25px;
	padding: 2px;
	position:absolute;
	right: 10px;
	margin-top:10px;
	vertical-align: center;
	text-align: center;
}

#calcsymbol{
	color: red;
}

.toprightzustand{
	background-color: transparent;
    max-width: 15px;
    z-index: 100;
    position: absolute;
    top: -20%;
    float: right;
    right: 0px;
}

.standby{
	background-color: #343a40;
}

.waitingForCalc{
	background-color: transparent;
	color: green;
}


#chartbtn_close{
	position: relative;
    background-color: transparent;
    right: 8px;
    z-index: 11;
    float: right;
	font-size: 22px;
	cursor: pointer;
}

#printChart{
	position: relative;
    background-color: transparent;
    z-index: 11;
    float: right;
	top: 3px;
	right: 25px;	
	cursor: pointer;
}


.chart{
	width: 100%;
    height: 100%;
    /* margin-top: 50px; */
    /* margin-left: 50px; */
    background-color: transparent;
    z-index: 10;
    position: absolute;
}

#HinweisCache{
	width: 600px;
	height: 160px;
	background-color:#343a40;
	position: absolute;
	margin-top: 300px;
	margin-left: 300px;
	z-index: 10;
	color: white;
	}
	
#HinweisCache > p{
	margin: 10px;
	margin-right: 30px;
	Font-Size: 22px;
}

#HinweisCacheClose{
	position: relative;
    background-color: transparent;
    right: 5px;
    z-index: 11;
    float: right;
	font-size: 20px;
	cursor: pointer;
}


#targetLocation{
	font-size: 15px;
}


/*

Impressum

*/
/* Modal backdrop */
  .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  /* Modal container */
  .modal {
	display:block;
    background-color: white;
    width: 70%;
    height: 80%;
    position: relative;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  /* Modal header */
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
  }

  /* Modal title */
  .modal-title {
    margin: 0;
    font-size: 1.5em;
  }

  /* Close button */
  .modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
  }
  
   /* Hyperlink-like text */
  .open-modal-link {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
  }
  
#impressum_content{
	position: absolute;
	max-height: 70%;
	overflow-y: auto;
	border:none;
}


@media (max-width: 1200px){
#chartcontainer{
	position: absolute;
    height: 70%;
    width: 800px;
    background-color: transparent;
    margin-top: 50px;
    margin-left: calc(50% - 400px);		
}
}
@media (max-width: 1400px) and (min-width: 1201px) {
#chartcontainer{
	position: absolute;
	width: 800px;
    height: 70%;
    background-color: transparent;
    margin-top: 50px;
    margin-left: calc(50% - 350px);
}	
}
@media (min-width: 1401px){
#chartcontainer{
	position: absolute;
    height: 70%;
    width: 800px;
    background-color: transparent;
    margin-top: 50px;
	margin-left: calc(50% - 550px);
}	
}	