.legendContainer{
	position: absolute;
	width: 95%;
	bottom: 1em;
	background-color: white;
	display: flex;
	align-items: flex-start;
	border: 0.2em solid rgb(255,255,255, 1);
	justify-content: flex-start;
	flex-direction: column;
	border-radius: 0.5em;
	box-shadow: 0 0.3em 0.5em 0 rgba(0, 0, 0, 0.2), 0 0.4em 1.2em 0 rgba(0, 0, 0, 0.19);
	z-index: 3999;
	overflow-x: scroll;
}


.legendContentContainer{
	margin: 1em;
	display: flex;	
	justify-content: flex-start;
	flex-flow: column;
}

.legendCollapsed{
	height: 2.3em;
	overflow: hidden;
}

.legendControlBtn{
	position: sticky;
  left: 0;
	width: 100%;
	line-height: 2em;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 9999;
	border-radius: 0.2em;
}

.legendControlBtn:hover{
	background: rgba(239,248,242,1);
	background: linear-gradient(0deg, rgba(239,248,242,0) 0%, rgba(229,255,239,1) 38%, rgba(223,246,232,1) 100%);
}



.legendControlArrowCollapsed{
	-webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

.legendControlArrow{
  width: 0;
  height: 0; 
  border-left: 0.4em solid transparent;
  border-right: 0.4em solid transparent; 
  border-bottom:0.4em solid black;

  transition: all 0.3s ease;

}

.legendContentRow{
	display: flex;

}

.legendContentRow>div{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-flow: column;
	/**width: 5em;  width per block **/
	padding: 0 0.2em;
}


.legendFormationRow span{
	position: absolute;
	font-weight: 300;
	font-size: 11px;
	bottom: 0;
}

.legendFormationRow{
	margin-top: 0.2rem;
}

.legendAgePeriod{
	width: 100%;
	height: 50%;
	border-top: 2px solid rgb(71, 62, 41);
	border-left: 2px solid rgb(71, 62, 41);
	border-right: 2px solid rgb(71, 62, 41);
	border-top-left-radius: 0.3em;
	border-top-right-radius: 0.3em;
}

.agePeriod{
	font-weight: 500;
	font-style: italic;
}

.legendBlock{
	width: 100%;
	height: 3em;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	margin-top: 0.3em;
	border: 2px solid rgb(71, 62, 41);
	border-radius: 0.2em;
}

.legendBlockSlash{
	border-bottom: 5px solid rgb(231,117,201);
	transform: rotate(-45deg);
	height: 100%;
	width: 60%;
	margin-top: -50%;
	margin-left: -50%;
}

.legendBlockDotted{
	background-image: radial-gradient(rgb(245,173,0) 30%, transparent 30%), radial-gradient(rgb(245,173,0) 30%, transparent 30%);
	background-color: rgb(255, 255, 255);
	background-position: 0 0, 0.6em 0.6em;
	background-size: 1.2em 1.2em;
}
