#map {
/*
    width: 100%;
    height: 90%;
    position: absolute;
*/
    height: 100%;
    width: 100%;
}

/*
body {
            padding: 0;
            margin: 0;
        }
html, body, #map {
            height: 100%;
            width: 100%;
        }
*/

html,body {
    font-size: 16px;
    line-height: 1.6;
    font-family: Arial,Helvetica,sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 0
    height: 100%;
    width: 100%;
}

/*
#info {
    z-index: 9;
    top: 90px; 
    left: 270px;
    position:absolute;
    background-color: white;
}
*/

/*
#info {
    z-index: 9;
    /*top: 90px; 
    left: 270px;
    background-color: white;
    position:absolute;
    width: 200px;
}

#infoclose {
    margin-left: 10px;
    margin-bottom: 10px;
}
*/

#search {
    z-index: 9;
    width: 220px;
    height: 30px;
    /*bottom: 0px;*/
    top: 100px; 
    left: 40px;
    /*position:relative;*/
    position:absolute;
}

.ol-overviewmap {
    left: 5px;
    bottom: 55px;
}

.ol-scale-line {
    background: gray;
    bottom: 30px;
    left: auto;
    z-index: 9;
    right: 20px;
    /*width: 110px;
    display: block;*/
    position:absolute;
}

.layer-switcher {
    top: 100px;
}

/* Set the maxmimum height of the layerswitcher when it's shown */
.layer-switcher.shown {
    max-height: 300px;
    bottom: 3em;
}

.ol-zoom {
    left: 3px;
    top: 100px;
    padding: 0;
    font-size: 1.0em;
    margin: 0;

}

.ol-control button {
    line-height: 1.0em !important;
    font-size: 1.3em !important;
    font-weight: 700 !important;
}

#legend_container {
    z-index: 9;
    top: 180px;
    width: 120px;
    left: 5px;
    /*position:relative;*/
    position:absolute;
    background-color: white;
    padding-left: 5px;
}

.legend {
    border: 2px solid #ccc;
    background-color: white;
    border-radius: 16px;
    padding: 5px;
}

#form1Label {
    width: 80px;
    margin-top: 4px;
    float:left;  
}

#form2Label {
    width: 100px;
    margin-top: 4px;
    float:left;  
}

#clearButton {
    display: inline-block;
}

.mt-3 {
    position:absolute;
    width: 400px;
    top: 200px;
    right: 10px;
}

.coll_container {
    z-index: 9;
    top: 100px;
    width: 350px;
    right: 10px;
    position:absolute;
}

.btn-shade-1 {
      background-color: #cce5ff;
      color: #004085;
    }

.btn-shade-2 {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-3 {
      background-color: #3399ff;
      color: white;
    }

.btn-shade-surface_fr {
      background-color: #cce5ff;
      color: #004085;
    }

.btn-shade-river_fr {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-coast_fr {
      background-color: #3399ff;
      color: white;
    }
.btn-shade-all_fr {
      background-color: #1155ff;
      color: white;
    }

.btn-shade-freshwater {
      /*background-color: #cce5ff;*/
      background-color: #4070C2;
      /*color: #004085;*/
      color: white;
    }

.btn-shade-coastal {
      /*background-color: #99ccff;*/
      background-color: #37D6DB;
      color: #004085;
    }

.btn-shade-woodland {
      /*background-color: #ace1af;*/
      background-color: #297546;
      /*color: #004085;*/
      color: white;
    }

.btn-shade-cropland {
      /*background-color: #8fbc8f;*/
      background-color: #C26E32;
      /*color: #004085;*/
      color: white;
    }

.btn-shade-grassland {
      /*background-color: #4f7942;*/
      background-color: #BDC724;
      /*color: white;*/
      color: #004085;
    }

.btn-shade-moorland {
      /*background-color: #006600;*/
      background-color: #7D36B3;
      color: white;
    }

.btn-shade-coverage {
      /*background-color: #ffcc99;*/
      background-color: #797979;
      /*color: #003366;*/
        color: white;
    }
.btn-shade-eunis {
      background-color: #cce5ff;
      color: #003366;
    }
.btn-shade-ncai {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-boundary {
      background-color: #797979;
        color: white;
    }

.btn-shade-flow_average {
      background-color: #cce5ff;
      color: #004085;
    }

.btn-shade-flow_scarcity {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-level_average {
      background-color: #cce5ff;
      color: #004085;
    }

.btn-shade-level_scarcity {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-soils_group {
      background-color: #cce5ff;
      color: #004085;
    }

.btn-shade-soils_depth {
      background-color: #99ccff;
      color: #003366;
    }

.btn-shade-soils_texture {
      background-color: #3399ff;
      color: white;
    }

.btn-shade-blue_spaces {
      background-color: #3399ff;
      color: white;
    }
.btn-shade-green_spaces {
      background-color: #198754;
      color: white;
    }

.btn-complement {
      background-color: #ffcc99;
      color: #663300;
    }

.btn.active {
      outline: 2px solid #333;
      box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.25);
    }

.btn {
      padding: 0.5rem 1rem; /* Small padding all around */
    }

#censusbtns {
    display: none;
}

#frbtns {
    display: none;
}

#flowbtns {
    display: none;
}

#levelbtns {
    display: none;
}

#soilbtns {
    display: none;
}

#habsbtns {
    display: none;
}

#ttbtns {
    display: none;
}

.toggle-btn {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
}

.btn-icon {
            margin-right: 8px;
}

#catform {
    display: none;
}

#tagform {
    display: block;
}

.choose_label{
    top: 20px;
    padding-top: 5px;
    font-size: 14px;
    text-align: center;
}

.icon-input-btn{
        display: inline-block;
        position: relative;
        padding-top: 20px;
}
    
.icon-input-btn input[type="submit"]{
        padding-left: 2em;
        padding-right: 2em;
}

.icon-input-btn .bi{
        display: inline-block;
        position: absolute;
        left: 1.0em;
        top: 57%;
        color: white;
        font-weight: bold;
        font-size: 1.4em;
}

i.bi.bi-play-circle.btn-icon
{
    pointer-events: none;
    margin-right: 0px;
}

i.bi.bi-plus-circle.btn-icon
{
    pointer-events: none;
    margin-right: 0px;
}

i.bi.bi-trash.btn-icon
{
    pointer-events: none;
    margin-right: 0px;
}

i.bi.bi-arrow-down-up.btn-icon
{
    pointer-events: none;
    margin-right: 0px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 20%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* data popup on click features */

.ol-popup {
        position: absolute;
        background-color: white;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
        padding-top: 30px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        border-radius: 10px;
        border: 1px solid #cccccc;
        bottom: 12px;
        left: -50px;
        min-width: 280px;
      }
.ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
      }
.ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
      }
.ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
      }
.ol-popup-closer {
        text-decoration: none;
        position: absolute;
        top: 5px;
        right: 8px;
        color: #454545;
        font-weight: bold;
        font-size: 1.4em;
      }
.ol-popup-closer:after {
        /*content: "✖";*/
      }

i.bi.bi-link{
        color: #454545;
        font-weight: bold;
        font-size: 1.6em;
}

#exportMapDiv {
    z-index: 9;
    width: 100px;
    height: 30px;
    top: 140px; 
    left: 40px;
    position:absolute;
}


#f2oaoiDiv {
    z-index: 9;
    width: 50px;
    height: 30px;
    top: 140px; 
    left: 130px;
    position:absolute;
    display: none;
}

#switchLayersDiv {
    /*z-index: 9;
    width: 100px;
    height: 30px;
    top: 140px; 
    left: 180px;
    position:absolute;*/
    display: none;
}

.search-closer {
        z-index: 11;
        text-decoration: none;
        position: absolute;
        top: 55px;
        right: 8px;
        color: #454545;
        font-weight: bold;
        font-size: 1.4em;
}

#splash {
        z-index: 12;
        position : fixed;
        top : 50%;
        left : 50%;
        transform : translate(-50%,-50%);
        transition : all ease-in-out 600ms;
        background-color: white;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
        padding-top: 30px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        border-radius: 10px;
        border: 1px solid #cccccc;
}

#splash-closer {
        text-decoration: none;
        position: absolute;
        top: 5px;
        right: 8px;
        color: #454545;
        font-weight: bold;
        font-size: 1.4em;
}


#splashLogo {
        position: absolute;
        top: 5px;
        left: 5px;
}

#splashContent {
    /*position: relative;*/
    margin-top: 35px;
    width: 300px;
    color: #454545;
    top: 40px;
}

/* =========================
   MOBILE RESPONSIVE STYLES
   ========================= */
@media screen and (max-width: 768px) {

    /* Collapsible search window */
    .coll_container {
    z-index: 9;
    top: 100px;
    width: 300px;
    right: 10px;
    position:absolute;
    text-align: right;
    }
   
}