.nav-ui-wrap  {
  position: absolute;
  margin-left: 1%;
  margin-top: 0.5%;
}

.nav-ui-wrap div{
  border: 4px solid #5555ff;
}

.map-button {
  border: 1px solid #6d6f72;
  width: 24px;
  height: 24px;
  margin: 1px -6px 1px 1px;
  background-color: white;
  color: black;
  padding: 0;
  align-items: flex-start;
  text-align: center;
  cursor: default;
}

#nav-arrows {
  border: none;
  display: block;
  position: relative;
  margin-top: 15%;
}

#zoom {
  border: none;
  display: block;
  left: 35%;
  position: relative;
}

#zoom-in {
  border: 1px solid #6d6f72;
  margin: 1px;
  background-color: white;
  color: black;
  padding: 0;
  align-items: flex-start;
  text-align: center;
  cursor: default;
  display: block;
}

#zoom-out {
  margin-top: 3%;
  background-color: #ffffff;
  display: block;
}

#nav-up {
  position: relative;
  margin-bottom: 2.5%;
  left: 35%;
  background-color: #ffffff;
  display: block;

}

#nav-left {
  display: inline-block;
  background-color: #ffffff;
}
#nav-right {
  display: inline-block;
  background-color: #ffffff;
  margin-left: -1px;
}
#nav-down {
  /*position: relative;
  left: 14.25%;*/
  margin-left: -1px;
  display: inline-block;
  /*margin-top: -1%;*/
  background-color: #ffffff;
}

#nav-up > a, #nav-down > a, #nav-left > a, #nav-right > a {
  min-width: 100%;
  min-height: 100%;
}

#nav-up:hover, #nav-down:hover, #nav-left:hover, #nav-right:hover, #zoom-in:hover, #zoom-out:hover,
#nav-up:focus, #nav-down:focus, #nav-left:focus, #nav-right:focus, #zoom-in:focus, #zoom-out:focus {
  /*opacity: 0.3;*/
  background-color: #5555ff;
}

#nav-reset {
  display: inline-block;
  position: relative;
  margin-left: 36.5%;
  /*width: 32px;*/
  background-color: #ffffff;
  background-image: url(../gfx/icon_home.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110%;
}

#nav-reset:hover, #nav-reset:focus {
  /*opacity: 0.3;*/
  background-color: #5555ff;
}

#layer-toggle {
  width: 2em;
  height: 2em;
  margin-left: 30%;
  position: relative;
  display: none;
  background-color: #ffffff;
  /*background-image: url(../gfx/globe.svg);*/
  /*background-position: center;*/
  /*background-repeat: no-repeat;*/
  /*background-si1ze: 90%;*/
}

#layer-toggle:hover {
  background-color: #5555ff;
}

.map-legend {
  position: relative;
}
.map-legend button.legend {
  background-color: #000000;
  color: #ffffff;
}

.map-legend button.legend:hover, .map-legend button.legend:focus {
            background-color: #6d6f72;
            border: 1px solid #000000;
}

.map-legend-info {
  font-family: Metric, sans-serif;
  position: absolute;
  top: 10em;
  left: 0;
  height: 14em;
  background-color: #ffffff;
  width: 15%;
  min-width: 11em;
  text-align: left;
  padding: 10px;
}

.map-legend-info .icon {
  width: 20px!important;
  height: 20px!important;
  vertical-align: middle;
}

.map-legend-info .legend-title {
  /*
  .smallcaps {
  font-size: 75%;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase; }  */
  /* shadow-bottom= box-shadow: 0 6px 10px -8px #000;;*/
  font-size: 80%;
  position: relative;
  margin-left: -10px;
  padding-left: 10px;

  height: 30px;
  width: 90px;
  line-height: 32px;

  letter-spacing: 3px;

  background-color: #000000;
  color: #ffffff;
}

.map-legend-info .legend-title::after {
   position: absolute;
   left: 100%;
   top: 50%;
   content: ' ';
   pointer-events: none;
   height: 0;
   width: 0;
   border-color: rgba(105, 192, 186, 0);
   border-width: 15px;
   border-left: 10px solid #000000;
   margin-top: -15px;
}

.nav-ui-wrap #open-legend {
  background-color: #000000;
  color: #ffffff;
  position: relative;
  left: 35%;
  top: 1em;
}

.nav-ui-wrap #open-legend:hover {
  background-color: #ffffff;
  color: #000000;
}


.map-legend-info .closelegend {
  position: absolute;
  right: 5px;
  top: 5px;
}

.map-legend-info .closemenu {
  border: 0;
}

.map-legend-info .closemenu:hover, .map-legend-info .closemenu:focus {
  border: 0;
  background-color: transparent;
  color: #000000;
}

.map-legend-info .legend-row {
  font-size: 70%;
  margin-top: 10px;
}

.map-legend-info .legend-row div, .map-legend-info .legend-controls > div {
  display: inline;
}

.map-legend-info .legend-controls {
  font-size: 65%;
  margin: 20px 0 10px 0;
  padding: 20px 0;
  border-top: 1px solid black;
  height: 100px;
  text-align: center;
}

.map-legend-info .legend-control-icon {
  display: inline;
  vertical-align: middle;
}

.map-legend-info .legend-control-icon:first-of-type{
   width: 20px;
   height: 41px;
}
.map-legend-info .legend-control-icon:nth-of-type(2) {
   width: 61px;
   height: 41px;
}

#legend {
  display: none;
}

/*#legend {*/
  /*transform: translateY(52em);*/
  /*margin-left: 2%;*/
/*}*/

/*#legend-pre {*/
  /*display: inline-block;*/
  /*float: left;*/
  /*font-size: 120%;*/
  /*margin-top: 2.5%;*/
/*}*/

/*#legend-group {*/
  /*display: inline;*/
/*}*/

/*#legend-group div > div.colour-block {*/
  /*font-size: 1.5em;*/
  /*font-weight: 700;*/
  /*width: 16em;*/
  /*height: 2em;*/
  /*margin-top: 2%;*/
  /*border: 1px solid black;*/
  /*text-align: center;*/
  /*line-height: 2em;*/
  /*vertical-align: middle;*/
/*}*/

/*#legend-group div.legend-row-left {*/
  /*float: left;*/
  /*max-width: 50%;*/
  /*display: inline;*/
  /*margin-left: 5%;*/
/*}*/

/*#legend-group div.legend-row-right {*/
  /*float: right;*/
  /*max-width: 50%;*/
  /*display: inline;*/
  /*margin-right: 5%;*/

/*}*/

/*#legend-group div.legend-text {*/
  /*display: inline;*/
  /*width: 10em;*/
  /*line-height: 2em;*/
  /*font-size: 1.4em;*/
  /*vertical-align: middle;*/
/*}*/

/*.colour-block {*/
  /*border: 4px solid #5555ff!important;*/
/*}*/
/*.colour-block:focus, .colour-block:hover {*/
  /*background-color: #5555ff!important;*/
/*}*/

/*!* Portrait and Landscape *!*/
/*@media screen and (max-width: 768px) {*/

  /*#zoom-in, #zoom-out, #nav-up, #nav-down, #nav-left, #nav-right {*/
    /*width: 1em;*/
    /*height: 1em;*/
    /*background-repeat: no-repeat;*/
    /*background-position: center center;*/
    /*display: inline-block;*/
  /*}*/

  /*#zoom-out {*/
    /*margin-top: 0;*/
  /*}*/

    /*#nav-reset {*/
    /*width: 1.2em;*/
    /*height: 1.2em;*/
    /*margin-left: 0;*/
  /*}*/

  /*.nav-ui-wrap {*/
    /*transform: translateY(155%);*/
  /*}*/

  /*#nav-arrows {*/
    /*margin-top: 0;*/
    /*width: 50%;*/
    /*height: auto;*/
  /*}*/

  /*#zoom {*/
    /*display: inline;*/
    /*left: 0;*/
  /*}*/

  /*#nav-up {*/
    /*left: 0;*/
    /*margin-bottom: 0;*/
  /*}*/

  /*#legend {*/
    /*float: right;*/
    /*height: 0;*/
    /*width: 100%;*/
    /*text-align: center;*/
    /*transform: translateY(26.5em);*/
  /*}*/

  /*#legend-group div > div.colour-block  {*/
    /*width: 10%;*/
    /*font-size: 60%;*/
    /*margin-left: 5%;*/
    /*float: none;*/
    /*display: inline-block;*/
  /*}*/

  /*#legend-group div.legend-text {*/
    /*display: none;*/
  /*}*/

  /*#legend-group div.legend-row-left {*/
    /*margin-left: 0;*/
    /*float: none;*/
    /*}*/

  /*#legend-group div.legend-row-right  {*/
    /*float: none;*/
  /*}*/

  /*#legend-pre {*/
    /*display: none;*/
  /*}*/
/*}*/


/*@media screen and (min-width: 768px)*/
/*and (max-width: 1370px) {*/

  /*#cesiumContainer {*/
    /*width: 100%;*/
  /*}*/
  /*#legend {*/
    /*font-size: 65%;*/
    /*transform: translateY(53.5em);*/
  /*}*/

  /*#legend-pre {*/
    /*display: none;*/
  /*}*/
/*}*/

/*@media screen and (min-width: 1370px)*/
/*and (max-width: 1600px) {*/
  /*#legend {*/
      /*transform: translateY(44em);*/
  /*}*/

  /*#legend-group div.legend-text {*/
    /*font-size: 1em;*/
  /*}*/

/*}*/
