#map {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    max-height: 100vh;
    width: 100%;
}

.map-toggle {
  display: none !important;
}
.map-toggle.active {
  display: flex !important;
}
/** Some odd bulma number to keep the modal on
 *  on top of the map
 */
#file-upload {
    z-index: 1090;
}
#file-upload .modal-content {
    height: 300px;
}
#file-upload .dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3px;
    padding: 15px;
    min-height: 290px;
    border: 3px dashed #2109af;
}

#leaflet-map {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  flex-grow: 1;
  z-index: 0;
}

.leaflet-container {
    flex-grow: 1;
    width: 100%;
}

#right-container {
    position: fixed;
    right: 1%;
    top: 25%;
    vertical-align: middle;
    z-index: 1000;
}

#datagrid{
    position: fixed;
    width: 80%;
    top: 83%;
    left: 10%;
    right: 10%;
    background: #FFFFFF;
    z-index: 1000;
}

.Map-footer {
    flex-shrink: 1;
    overflow: hidden;
    z-index: 2;
    background: white;
}

.map-content-right {
  position: absolute;
  top: 55px;
  right: 0;
  height: auto;
  z-index: 1;

}

.is-loading {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4a4a4a;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}

#edit-general-layers textarea {
  height: 100%;
}
.leaflet-right {
  right: 55px !important;
}
.Map-footer.modal-active {
    z-index: 10000;
}

.leaflet-pane.leaflet-subcatchments-pane {
    z-index: 400;
}
.leaflet-pane.leaflet-conduits-pane {
    z-index: 402;
}
.leaflet-pane.leaflet-midpoints-pane {
    z-index: 406;
}
.leaflet-pane.leaflet-orifices-pane {
    z-index: 403;
}
.leaflet-pane.leaflet-outlets-pane {
    z-index: 404;
}
.leaflet-pane.leaflet-pumps-pane {
    z-index: 401;
}
.leaflet-pane.leaflet-weirs-pane {
    z-index: 405;
}
.leaflet-pane.leaflet-junctions-pane {
    z-index: 406;
}
.leaflet-pane.leaflet-outfalls-pane {
    z-index: 406;
}
.leaflet-pane.leaflet-dividers-pane {
    z-index: 406;
}
.leaflet-pane.leaflet-storages-pane {
    z-index: 406;
}
.leaflet-pane.leaflet-raingages-pane {
    z-index: 406;
}

.triangle-marker:before {
  display: block;
  content: ' ';
  width: 0 !important; 
  height: 0 !important; 
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent; 
  
  border-left:12px solid yellow; 
}

#leaflet-map.move-left .leaflet-control {
    right: 310px;
    margin-left: 320px;
}

#addressUpdatemodal .modal-content{
    height: 120px;
}

#newFeatureModal.modal {
    height: 200px;
    position: absolute !important;
    bottom: 0px;
    left: 60px;
    right: unset;
    top: unset;
    width: auto;
}
#newFeatureModal.modal.is-active {
  display: block;
}

#newFeatureModal.modal .modal-content,
#newFeatureModal.modal .modal-card {
  max-width: 300px;
  overflow: hidden;
}