/*
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, Ursula
*/
body {
    height:100%;
    width: 100%;
    margin: 0px;
    display: flex;
	font-size: 12px;
}


html * {
  font-family: sans-serif;
}



/*

Landingpage 

*/

#landingpage_withBG{
    z-index: 25;
    background-color: #000000d1;
    position: absolute;
    width: 100%;
    height: 100%;
}

#landingpage{
    position: absolute;
    z-index: 25;
    background-color: white;
    width: 65%;
	top: 17.5%;
	left: 17.5%;
    border-radius:15px;
	padding: 5px;
	overflow-y: auto;
}

#closeLanding{
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 2.5em;
    z-index:10;
	cursor: pointer;
}

#closeLanding > i{
        color: #383838;
}

#SwitchToEN{
	float: right;
	height: 40px;
	max-width: 120px;
	margin-top:5px;
	margin-right: 50px;
	background-color: lightgrey;
	cursor: pointer;
}

#SwitchToEN > img{
	max-height: 100%;
	position: relative;
}
/*
#landingpage_lup_logo{
	height: 60px;
	position: absolute;
	left: 10px;
}*/

#landingpage_mfund_logo{
	height: 120px;
	position: absolute;
	left: 55%;
}

#landingpage_BMDV_logo{
	height: 120px;
	position: absolute;
	left: 40%;
}
/*
#landingpage_lup_logo > img{
	max-width: 100%;
}
*/
#landingpage > h2 {
	margin-top: 10px;
	text-align: center;
}

#landingpage >h1 {
	margin: 5px;
	font-size: 40px;
	text-align: center;
}

#landingpage > p {
	margin-left: 10px;
	margin-right:10px;
	margin-top: 2px;
	margin-bottom: 2px;
	text-align: justify;
}

#landingpage_header{
    height: 80px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* width: 90%; */
    width: 80%;
    margin-left: 10%;
}

.landingpage_logo{
    height: 40px;
}

#landingpage_header > h1{
	position: relative;
	width: 200px;
	display: inline-block;
	margin: 0px;
}
/*
#landingpage_header > img{
	position: relative;
	height: 100%;
	vertical-align: center;
}
*/
#landingpage_text{
    color: #383838;
	margin-left: 40px;  
	font-size: 1.5em;
}

#landingpage_imgs{
	width:90%;
	left: 6%;
	position: absolute;
}
	
.landingpage_img{
	height: 150px;
	margin-left: 1%
}

#landingpage_BtnToViewer{
    position: absolute;
    bottom: 10px;
    width: 30%;
	left:40%;
}

#landingpage_BtnToViewer > button{
    font-size: 2.3em;
    border-radius:10px;
    color: #383838;
    border-color: #383838;
}

/*

Viewer 

*/



#topbuttons{
    position:fixed;
    top: 1%;
    margin-left:0.5%;
    z-index: 2;
    height: 9%;
}

#logobutton{
}


#standortdiv{
    position: absolute;
    top: 9.5%;
    z-index:3;
    margin-left: 0.5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    background-color: white;
    width: 9%;
    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;
}        

.layerbuttongroup{
    position:relative;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
}

#layerbuttongroup_right{
    float: right;
}

#layerbuttongroup_left{
    float: left;
}


.openselect > img{
    height:90%;
    border-radius: 10px;   
}

#yearselect {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.selectform{
    width: 100%;
    font-size: 1.5em;
    border-radius: 10px;
    height: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
	border: 0px;
}

#quarterselect {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.borderClass{
  border-left:3px solid #383838;
  border-right:3px solid #383838;
}


.normalBorder{
  border: 1px solid transparent;
}

.highlightedBorder{
  border: 2px solid red;
}

.openselect{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-right: 0.75em;
    width: 11em;
    max-height: 3em;
    background-color: white;
    border-radius: 10px;
    box-shadow: 5px 5px 2px #383838;
    cursor:pointer;
    padding: 0.2%;
}


.layericon{
    width: 4em;
    height: 100%;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}


.layericon > img{
    width: 100%;
}

.layertitle{
    width: 97.5%;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
}



/*

Klick auf Layergroupbutton

*/

.layerselector{
    display: none;
    z-index: 3;
    position: absolute;
    background-color: white;
    border-radius: 10px;
    max-width: 20%;
    padding: 0.5%;
}

.layerselector > h3{
    margin-top: 0.2%;
    margin-bottom:0.2%;
}

.header_info{
    position: relative;
    float: left;
    margin: 2px;
}

.infobutton_info{
    position: relative;
    float: right;
	cursor:pointer;
	height: 1.7em;
	margin-left: 5px;
}

.infobutton_info > img{
    height: 20px;   
}

.infobutton_close{
    position: relative;
    float: right;
    margin: 2px;
	cursor:pointer;
	font-size:1.5em;
	color: #c1baba;
}


.infotext_layers{
    background-color: white;
    border: 1px solid #383838;
    border-radius: 10px;
    max-width: 25%;
    
}


.infopanel{
    display:flex;
    background-color: white;
    border-radius: 10px;
    z-index:2;
    padding: 5px;
    margin-top: 4px;
}

.infopanel > p{
	margin: 2px;
}

#legend_risiko{
    display: flex;
}

#risk_layers {
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}


.risklayer{
    display: flex;
    border: 2px solid #383838;
    border-radius: 10px;
    margin: 5px;
    padding: 5px;
    font-size: 1.5em;
}


.layerclicks{
    display: flex;
}

.layerclick{
    width: 30%;
    height: 3%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
    margin: 5px;
    padding: 3px;
    box-shadow: 5px 5px 1px;
   
    font-size: 1em;
	cursor: pointer;
}
/*


Legenden rechts angepinnt

*/
#legendsright{
    z-index: 2;
    display: flex;
    float: right;
    flex-wrap: nowrap;
    flex-direction: column;
    width: 20%;
    max-height: 80%;
    overflow-y: auto;
    position: absolute;
    right: 0.5%;
}


.legend{
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    margin: 5px 2px;
    padding: 0.5em;;
}

.legend.hidden{
    display:none;
}

.legend > h3{
    margin: 0.1em;
	font-size: 1em;
}

.legend > h5{
    margin: 0.1em;
	font-size: 0.75em;
}
.legend_icon{
    width: 0.75em;
    height: 0.75em;
}


#legendsholder{
    display: none;
}
/*

Karte


*/

.map{
    width: calc(100% - 6px);
    height:calc(100% - 6px);;
    position:relative;
    float: left;
    display: flex;
    border: 3px solid #383838;
}

.map-hidden{
    display: none;
}



.ol-zoom{
    bottom: 0.5em;
    top: auto;
}
.ol-control button{
	width:1.5em;
	height: 1.5em;
}


.mapselectors{
    width: 2.5em;
    height: 2.5em;
    z-index: 2;
    background-color: #383838;
    border: 0.3% solid #ffffff;
    border-radius: 10px;
    display: flex;
    position: absolute;
    bottom: 5em;
    left: 0.5em;
	cursor: pointer;
}

.mapselectors > i{
    color: white;
    background-color: #00000069;
    width: 100%;
    height: 100%;
    font-size: 1.5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.mapselectors_open{
    display: none;
    border: 0px;
    z-index:2;
    background-color: transparent;
    position: absolute;
    bottom: 11%;
    left: 3.5em;
}


.basemapselectorrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top:5px;
}

.basemapselectorcolumn {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    margin-right: 0.5%;
    max-width: 8em;
}


.basemap{
    width: 5em;
    height: 5em;
    background-color: white;
    border: 0.3em solid #ffffff;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;  
    display:flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0.2em 0.2em 0.2em black;
}

.vector{
    width: 5em;
    height: 5em;
    background-color: white;
    border: 0.3em solid #ffffff;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;  
    display:flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0.2em 0.2em 0.2em black;
}


.basemapimg{
    width: 2.5em;
    height: 1em;
    border: 0px;
    border-radius: 10px;
    background-color: green;
}

.basemapimg > img{
    width: 100%;
}

.basemapname{
    width: 5em;
    height: 2em;
    border: 0px;
    background-color: white;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.deactivated{
    background-color: darkgrey;
    pointer-events:none;
}

.active{
    background-color: #cc7e2e;
    color:white;
    box-shadow: 5px 5px 5px black;
}


.activeBorder{
    border: 3px solid #7a2461;
}

/*


LAYERLIST

*/
.layerlist{
    display: flex;
    background-color: transparent;
    position: absolute;
    z-index: 2;
    top: 14%;
    left: 0.5%;
    flex-direction: column;
    
}

.layer{
    height: 3em;
	width: 23em;
    display: flex;
    background-color: #00000069;
    margin: 5px 0px;
    border-radius: 10px;
    flex-direction: row;
    padding: 2px 5px;
	z-index:1;
}

.sorting{
    display: flex;
    margin: 0px 0.75em 0px 0px;
    flex-direction: column;
    justify-content: space-around;
}

.sort{
    display: flex;
    width: 1.25em;
}

.sort > img{
    width: 100%;
}

.fa-sort-down{
    display: flex;
    flex-direction: column-reverse;
}

.visibility{
    width: 2.5em;
    height: 2.5em;
    background-color: transparent;
    display: flex;
    border: 3px solid white;
    border-radius: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}


.visibility > i{
    display: flex;
    font-size: 2em;
    color: white;
    justify-content: center;
}

.layername_transparency{
    margin-left: 4px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
}

.layername{
    display: flex;
    font-size: 1.25em;
    color: white;
}

.layertransparency{
    display: flex;
    width: 13vw;
    font-size: 1em;
    background-color: transparent;
}

.slider{
	width: 9vw;
}

input[type="range"]{
	width: 9em;
	height: 0.5em;
	background-color: linear-gradient(to right, #363636, #363636);
	border: none;
	outline: none;
}

.layerremovebutton{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    color: white;
    margin-left: auto;
	order:2;
	position: relative;
	right: 5px;
}


/*

Bottomrow

*/
.bottomrow{
    position: absolute;
    display: flex;
    height: 2%;
    left: 3em;
    bottom: 0.5em;
    flex-direction: row;
    align-items: center;
    padding: 5px;
}


#vergleich{
    display: flex;
    width: 8em;
    z-index: 2;
    background-color: white;
    height: 2em;
    border-radius: 10px;
    margin-right: 10px;
}

.vergleichbtn{
    width: 97.5%;
    font-size: 1.25em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;    
	cursor:pointer;
}

#vergleichSingle{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: 2px solid #383838;
}

#vergleichSplit{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.vergleichbtn.btnactive{
    background-color: #cc7e2e;
    color:white;
}

.vergleichbtn.btninactive{
    background-color: white;
    color: #383838;
}



.mapactive{
    width: 2%;
    height: 2%;
    z-index: 2;
    background-color: white;
    color: #383838;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.mapactive.hidden{
    display:none;
}

.mapactive.active{
    background-color: #cc7e2e;
    color:white;
}

.splitscreenicon{
    max-width: 100%;
    max-height:100%;
}

.activeMap{
    border: 5px solid orange;
}

/*

Zeichnen der Polygone

*/
#select_timeseries{
    max-width: 30%;
    padding: 0.5%;
}

#drawbuttons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;  
}

.drawbtn{
    display: flex;
    width: 8em;
    font-size: 1.25em;
    justify-content: center;
    margin: 0.5%;
    box-shadow: 4px 2px 2px black;
    border: 0px;
    border-radius: 0.5em;
	cursor:pointer;
	background-color: white;
}

#chartcontainer{
    display: none;
    width: 60%;
    height: 60%;
    z-index: 10;
    background-color: white;
    border-radius: 10px;
    box-shadow: 5px 5px 2px;
    border: 0px;
    left: 5%;
    bottom: 20%;
    position: absolute;
}

#close_chartcontainer{
    z-index:15;
    float: left;
}




.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    grid-gap: 10px; /* Gap between grid items */
    width: 100%; /* Optional: adjust as needed */
    max-width: 600px; /* Optional: for responsive behavior */
}






/*

Slider 


#slider_changeStart{
    margin-top: 5px;
}


#slider_changeStart .ui-slider-handle {
  outline: 0;
  background: #800000;
  border-radius: 3px;
}

#slider_changeStart .ui-slider{
}


#slider_changeStart .ui-slider-handle::-

*/

/*

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 {
    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: 90%;
	overflow-y: auto;
}



#map-copyright{
    position: absolute;
    z-index: 20;
    bottom: 1%;
    right: 1%;
    background-color: #dae0e5;
    color: black !important;
    padding: 2px 6px 2px 4px;
	font-size: 0.85em;
	border-radius: 10px;
    }
	
#lup_logo{
	position: absolute;
	width: 8%;
	top: 1%;
	right: 1%;
	z-index:19;
	background-color:transparent;
	padding: 5px;
}


#lup_logo > img{
	width: 100%;
}


#mobile{
	display: none;
	position: absolute;
	background-color: white;
	height: 50%;
	top: 25%;
	width: 50%;
	left: 25%;
	border-radius: 20px;
	border: 5px solid black;
	z-index: 30;
	padding: 20px;
	text-align: center;
}


#mobile > p{
		font-size: 20px;
}	

#mobile > button{
	width:50%;
	height: 20%;
	font-size: 30px;
	margin-top: 20px;
	border-radius: 0.5em;
	box-shadow: 4px 2px 2px black;
    border: 1px solid black;
	cursor:pointer;
	background-color: white;
}


@media screen and (max-width: 1000px){
	#mobile{
		display: block;
	}
	
	#landingpage_withBG{
		display: none;
	}
	
}

@media(max-width: 800px){
	body{
		font-size: 6px;
	}
	
	.legend > table > tbody > tr > td{
		font-size: 5px;
	}

}

@media(min-width:801px) and (max-width:1000px){
	body{
		font-size: 8px;
	}
	
	.legend > table > tbody > tr > td{
		font-size: 8px;
	}
}

@media(min-width:1001px) and (max-width:1200px){
	body{
		font-size: 10px;
	}
	.legend > table > tbody > tr > td{
		font-size: 10px;
	}
}

@media(min-width:1201px) and (max-width: 1400px){
	body{
		font-size: 12px;
	}
	.legend > table > tbody > tr > td{
		font-size: 12px;
	}
}

@media(min-width:1401px){
	body{
		font-size: 14px;
	}
	.legend > table > tbody > tr > td{
		font-size:14px;
	}
}