body {
    margin:0 auto;
    min-width:375px;
    text-align: centre;
    padding:0px;
    background-color: #06402b;
}

button{
  font-weight: bold;
}

.logo {
  width:240px;
  float:right;
}

#map {
    margin:auto;
    height: 100%;
    border:1px solid #005a00;
    position: relative;
}

.legend {
    width:260;
    background-color: #999;
    padding: 5px;
    margin: 0px;
    z-index: 500;
    border:1px solid #000;
    border-radius:5px;

}

.fe_legend {
  width:260;
  background-color: #000;
  padding: 10px;
  margin: 0px;
  z-index: 500;
  border:1px solid #fff;
  border-radius:5px;
}

.fe_homepage_legend {
  width:300;
  height:100px;
  background-color: #000;
  padding: 10px;
  margin: 0px;
  z-index: 500;
  border:1px solid #000;
  border-radius:5px;
  margin: auto;
  border-radius: 5px;
  border: 1px solid #fff;
  margin-top:20px;
  font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;
}

.main_statistics {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  width:260;
  background-color: #fff;
  padding: 10px;
  margin: 0px;
  z-index: 500;
  border:1px solid #000;
  border-radius:5px;
}

.reload_reminder {
  margin-left:10px;
  display:inline;
  width:40px;
  background-color: #666;
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.legenditem {
    color: #000;
    line-height: .5em;
    float:none;
    padding:3px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 5px;
    border:1px solid #000;
}

.leaflet-control-scale-line   {
    border:2px solid #000;
    border-top: 0px;
}

.leaflet-left .leaflet-control-scale  {
    margin-left:10px;
}

.leaflet-bar a {
    border-color:#000;
}

.rasterbuttons{
    background-color: rgba(255, 0, 0, 0);
    text-align:right;
    margin-right: 10px;
}

.leaflet-top .leaflet-control{
    margin-top:10px;
}

.leaflet-bottom .leaflet-control {
  margin-top: -5px;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#charts_holder {
  width:98%;
  height:230px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #000;
  position: absolute;
  bottom: 20;
  right: 0;
  top:auto;
  left:0;
  z-index: 4000;
  margin:auto;
  padding:10px;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top:0px;

}

h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin-top:10px;
  text-decoration: underline;
}

.tagline{
  color:white;
  float:right;
  font-size:1.3em;
}
.buttons{
  width:200px;
  margin-bottom:10px;
}

@media only screen and (max-width: 600px) {
  #charts_holder {
    width:100%;
    position: absolute;
    bottom: 0;
    right: 0;
    top:auto;
    left:auto;
  }
  #btn {
    padding:0px;
  }
  .main_statistics {
    width:170px;
  }
  .logo{
    width:150px;
  }
  .fe_legend{
    width:170px;
  }
  .tagline{
    color:white;
    float:right;
    font-size:1em;
  }
  .legenditem, .legendtxt{
    display:none;
  }
  .legend {
    width:170px
  }
  .buttons{
    width:140px;
    font-size: 1em;
  }

  .graphbtn {
    width: 100px; /* fixed width */
    white-space: nowrap; /* prevents text from wrapping */
    overflow: hidden; /* hides overflowed text */
    text-overflow: ellipsis; /* adds ellipsis */
    display: inline-block; /* ensures it's treated like a block for overflow to work */
  }
  
}

#shapebrowser {
  z-index:5000;
  position: relative;
  background-color: #eee;
  padding:0px;
  border:1px solid #000;
  border-radius: 10px;
  margin: 10px;
  float:right;
}


.pulse-once {
  animation: pulse-once 1s ease-in-out 1;
}


@keyframes pulse-once {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


