* {
  box-sizing: border-box;
}

.title{
  height:90px;
  background-color: #5b5b5b;
  background-size: 100%;
  border: 6px solid #cccccc;
  border-radius: 15px;
  width: 90%;
  margin:5px;
  margin-bottom:0px;
  padding: 10px;
  background: url(../images/header.png) no-repeat;
  text-align:center;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
}

.title span {
  background-color: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border-radius: 15px;
}

body {
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #dcf9f8;
  text-align: center;
}

#Export_graph{
margin-bottom : 10px;
float: right;
}

#Legend_dis{
margin-bottom : 10px;
float: left;	
}

#parameter_choice{
  width:100%;
  font-size: 18px;
  font-weight: bold; 
  background-color: #c6e0df; 
  border: 6px solid #cccccc;
  border-radius: 15px;
  padding: 10px;
  text-align:left;
}

#legend{
  width:100%;
  text-align:center;
  background-color: #c6e0df;
  margin-top:0px;
}

#img_legend_surge {
  width: 90%;
  margin-top: 20px;
}

#side_panel{
width:40%;
float:right;
margin: 0px 5px;
}

#chartdiv{
  border: 6px solid #cccccc;
  border-radius: 15px;
  margin: 0px 10px;
  height:30%;
  width:100%;
  padding:20px;
  background-color: white;

}

/* Style the side navigation */
.sidenav {
  z-index: 1;
  float : right;
  background-color: #66b3ff;
  overflow-x: hidden;
  border: 6px solid #cccccc;
  border-radius: 15px;
  margin:5px 10px;
}

#loading {
  border: 0;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

#overlay img {
    width: 75%;
    height: auto;
}

#selection_couches{
  border: 6px solid #cccccc;
  border-radius: 15px;
  margin-bottom: 5px;
  padding: 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background-color: #c6e0df;
}

#submit_button {
  margin: 20px;
}

footer {
  text-align: center;
  margin: 20px;
  width:100%;
  height:100px;
  margin: 10px 10px 10px 10px;
}

h1 {
  vertical-align: top;
  margin: 5px;
  margin-top:2px;
  text-align: center;
  color: white;
}

h2 {
  text-align: center;
  border: 6px solid #737373;
  margin: 10px 10px 10px 10px;
  border-radius: 15px;
}

h3 { 
  color: blue;
  font-size: 14px;
  font-weight:bold;
  margin-bottom: -10px;
}

#counters { 
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 1px;
  color: black;
  font-size: 20px;
  border: 6px solid #737373;
  border-radius: 15px;
  padding: 2px;
  font-weight: bold;
  max-width: 640px;
}



.selector {
  text-align: center;
  border: 6px solid #737373;
  margin: 5px 10px 10px 10px;
  padding: 40px 30px 0px;
  border-radius: 15px;
  background-color: #dcf9f8;
}

.selector-notooltip {
  text-align: center;
  border: 6px solid #737373;
  margin: 5px 10px 10px 10px;
  padding: 10px 30px 0px;
  border-radius: 15px;
  background-color: #dcf9f8;
}

#slider_direction {
    margin-left: auto;
    margin-right: auto;
}

.selector-round {
  text-align: center;
  border: 6px solid #737373;
  margin:5px 30px 10px; 
  padding:10px;
  border-radius: 15px;
  background-color: #dcf9f8;
}


.legend{
  margin: 50px 5px 5px 5px;
  font-weight: bold;
  font-size: 15px;
  width: 100%;
}


.legend-round{
  margin: 10px 5px 5px 5px;
  font-weight: bold;
  font-size: 15px;
}

header {
    height: 138px;
    margin-top:-18px;
    background: url(/images/header.png) no-repeat;
    background-size: 100%;
}

.panel{
margin:5px;
}

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  font-size: small;
}
#map {
  height: 90%;
  margin: 5px;
  width:100%;
  margin-top: 5px;
  border: 6px solid #cccccc;
  border-radius: 15px;
}

#left_side {
  height: 90%;
  width: 95%;
  text-align: center;
  display: inline-block;
}

.ol-popup {
display: none;
position: absolute;
background-color: #cce6ff;
-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
padding: 5px;
border-radius: 10px;
border: 5px solid #66b3ff;
bottom: 12px;
left: -50px;   
height: auto;
width: auto;
min-width: 250px;     
}

.ol-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.ol-popup-closer:after {
content: "";
}


.ol-dragbox {
  background-color: rgba(255,255,255,0.4);
  border-color: rgba(240,52,52,1);
  border-width: 3px;
}

/* Style the content */
.content {
  margin-left: 200px;
  padding-left: 20px;
}

.centered {
	text-align: center
}


#indic_max{
  font-weight: bold;
  color: black;
  font-size: 20px;
  margin: 10px 5px 10px 10px;
}


/*
BUTTON STYLE
*/
.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: .6em 1.4em .5em 1.4em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
}

.button_blue {
  background-color: white; 
  color: black; 
  border: 4px solid #008CBA;
  border-radius: 8px;
}

.button_blue:hover {
  background-color: #008CBA;
  color: white;
  border-radius: 8px;
}


/*
SELECT STYLE
*/

.select-css {
	display: inline;
	font-size: 16px;
	line-height: 1.3;
	font-weight: bold;
	padding: .6em 1.4em .5em .8em;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: white; 
    color: black; 
    border: 4px solid #cccccc;
    border-radius: 8px;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat, repeat;
	background-position: right .4em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
  display: none;
}
.select-css:hover {
  border: 4px solid #008CBA;
}
.select-css:focus {
  border: 4px solid #008CBA;
}
/*
.select-css option {
  font-weight:bold;
  background-color: #008CBA;
  color: white;
}
*/


/*
LOADING CSS
*/


#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
  text-align: center;
  background-image: url('../images/logo_MF_Large.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top; 
}

#loading-image {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -128px;
  margin-left: -128px;
  z-index: 100;
}
