.leaflet-container {
}

.leaflet-container .state-shape {
  fill: #c1c9e0;
  stroke-width: 1;
  stroke: #040d58;
  fill-opacity: 1;
}

.leaflet-container .state-shape.inactive {
  stroke: #1c2e6c;
  fill: #3e4d84;
}


.leaflet-container .state-shape.no-goal {
  fill: #c1c9e0;
}

.leaflet-container .state-shape.no-goal.inactive {
  fill: #3e4d84;
}

.leaflet-container .state-shape.codified-goal {
  fill: #8cc63e;
}

.leaflet-container .state-shape.codified-goal.inactive {
  fill: #334b63;
}


.leaflet-container .state-shape.uncodified-goal {
  fill: #3fa9f5;
}

.leaflet-container .state-shape.uncodified-goal.inactive {
  fill: #244787;
}

.leaflet-container .lease-area-shape {
  stroke-width: 1;
  fill: transparent;
}

/* Lease area strokes */
.leaflet-container .lease-area-shape.call-area {
  stroke: #ab36ff;
}

.leaflet-container .lease-area-shape.wind-energy-area {
  stroke: #e84b83;
}

.leaflet-container .lease-area-shape.auction-area {
  stroke: #f9d53d;
}

.leaflet-container .lease-area-shape.lease-area {
  stroke: #9bcc46;
}

.leaflet-container .lease-area-shape.withdrawn-area {
  stroke: #c1c9e0 !important;
  fill: url(#diagonalHatch);
}

.leaflet-marker-icon {
  /*width: 20px !important;*/
  /*height: 20px !important;*/
  margin-top: inherit !important;
  margin-left: inherit !important;


}
.leaflet-marker-icon.under-threat,
.filterrow img.under-threat {
  background: url('/themes/custom/osw/images/mapicons/under-threat.svg') center/contain no-repeat;
  padding: 6px !important;
  border-radius: 50%;
  box-sizing: content-box;
}

.mapfields {
  display: block;
  opacity: 1;
}



/* Move to map.css */
/* Popup window */
.leaflet-container a.leaflet-popup-close-button {
  background: #eb5e6f;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  color: white !important;
  font-weight: bold;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  background: #011055;
  color: white !important;
}

.latlon {
  display: none;
}

.node-map .leaflet-container {
  height: 402px !important;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}
.node--state .leaflet-container {
  height: 100% !important;
}
.leaflet-popup-content-wrapper {
  font-family: 'Chillax';
  color: #011055;
}

.leaflet-popup-content-wrapper .under-threat {
  background-color: #fbb03b;
  border-radius: 5px;
  padding: 10px;
  margin: 5px 0 10px 0;
}

.leaflet-popup-content-wrapper .under-threat h5 {
  margin: 0;
  padding: 0;
}

.linkedrowitem.contracting-stage {
  font-weight: 600;
}

.leaflet-container a {
  color: inherit;
}


.leaflet-popup-content {
  margin: 10px 10px 10px 15px;
  line-height: 1em;
  font-size: 13px;
  font-size: 1em;
  min-height: 1px;
}


.leaflet-popup-content {
  margin: 10px 10px 10px 15px;
  line-height: 1em;
  font-size: 13px;
  font-size: 1em;
  min-height: 1px;
  width: auto!important;
  width: 100%!important;
  max-width: 75%!important;
}

@media screen and (max-width: 479px){
  .node--state .leaflet-container{
    height: 402px !important;
    max-height: 400px!important;
  }
}
.node-type-project .node-map .leaflet-container{
  height: auto!important;
}
