.Map {
  height: 500px;
  width: 100%;
  position: relative;
  display: grid;
  display: -ms-grid;
  grid-template-columns: auto min-content;
  grid-template-rows: min-content 0;
}

.Map .map {
  display: inline-block;
  height: 500px;
  width: 100%;
}

.Map .Actions {
  display: inline-block;
  width: 40px;
  height: 100%;
  background-color: navy;
}

.Map .Actions.Collapsed {
  width: 0px;
}

.Map .Actions.Collapsed .Layers,
.Map .Actions.Collapsed .Legend {
  display: none;
}

.Map .Actions .Layers,
.Map .Actions .Legend {
  display: block;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  border-bottom: 1px solid #FFFFFF;
  cursor: pointer;
}

.Map .Actions .Layers:hover,
.Map .Actions .Legend:hover {
}

.Map table {
  width: 100%;
}

.Map .Actions .Layers {
  background-image: url("UserInterface.Icon.Layers.svg");
}

.Map .Actions .Legend {
  background-image: url("UserInterface.Icon.Legend.svg");
}

.Map .ObjectInspector:not(:empty) {
  display: inline-block;
  z-index: 1;
  opacity: 1;
}

.Map .ObjectInspector table td:not(:first-child) {
  text-align: right;
}

.Map .ObjectInspector h1 {
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.Map .Legends svg text {
  fill: white;
}

.Map .LayerOptions,
.Map .Legends,
.Map .ObjectInspector {
  display: none;
  color: white;
  width: 20%;
  padding: 20px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.68);
  position: absolute;
  right: 40px;
}

.Map .Collapsed .LayerOptions,
.Map .Collapsed .Legends,
.Map .Collapsed .ObjectInspector {
  right: 0;
}

.Map .Actions .Components table tr,
.Map .Tooltip table tr {
  border-bottom: 1px solid white;
}

.Map .LayerOptions.expanded,
.Map .Legends.expanded,
.Map .ObjectInspector.expanded {
  display: inline-block;
}

.Map .Tooltip{
  display: block;
  background-color: rgba(0, 0, 0, 0.68);
  color: white;
}

.Map .Tooltip:not(:empty) {
  padding: 20px;
}

.Map .Legends svg {
	min-width: 200px;
	width: 100%;
	height: 25px;
	padding-left: 5px;
}

.Map .LayerOptions .Tristate {
  display: inline-block;
  background-color: #D2D2D2;
  width: 32px;
  height: 14px;
  margin: 2px;
  border-radius: 35%;
}

.Tristate .Enabled, 
.Tristate .Neutral,
.Tristate .Disabled {
  display: inline-block;
  height: 10px;
  width: 10px;
}

.Tristate.Enabled .Enabled,
.Tristate.Neutral .Neutral,
.Tristate.Disabled .Disabled {
  border-radius: 50%;
  border: 1px solid #AAAAAA;
  background-color: #FFFFFF;
}