:root {
	--trans-col: 0.3s;
	--slideout-h: 20em;
}

.slideout {
	width: 80%;
	height: 2em;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(2px);
	border: 1px solid rgba(44, 204, 196, 0.2);
	border-radius: 0 0 1em 1em;

	transition:
		var(--trans-col) background-color,
		0.5s height cubic-bezier(.73,.32,.34,1.5);
	overflow-y: hidden;
	position: absolute;
	left: 50%; transform: translateX(-50%);

	z-index: 3;
}

.slideout:hover {
	background: none;
	backdrop-filter: blur(10px) ;
	z-index: 4;
	height: calc(min(90vh,var(--slideout-h)));
	transition:
		var(--trans-col) background-color,
		0.5s height cubic-bezier(.73,.32,.34,1.5);
}

.slideout.bottom {
	top: auto;
	border-width: 1px;
	border-bottom-width: 0;
	bottom: 0;
	border-radius: 1em 1em 0 0;
	--trans-col: 4s;
	--slideout-h: 35em;
}
.slideout .scrollable {
	height: 100%;
	overflow-y: auto;
}

.slideout:hover.bottom{
	background: rgba(0, 0, 0, 0.8);
	height: calc(min(90vh,var(--slideout-h)));
}

.slideout .hideonclose{
	display: inline;
}
.slideout:hover .hideonclose{
	display: none;
}

.slideout .tablabel{
	bottom: 0;
	margin: 0.5em;
	padding: 0;
	position: absolute;
	left: 50%; transform: translateX(-50%);
	visibility: visible;
	font-size: 1rem;
	font-weight: lighter;
}
.slideout.bottom .tablabel {
	bottom: auto;
	top: 0;
}

.slideout > * {
	padding: 15px;
	color: #ffffff;
	transition: var(--trans-col) color, var(--trans-col) background-color;
}

.slideout:hover > * {
	padding: 15px;
	color: #ffffff;
	transition: var(--trans-col) color, var(--trans-col) background-color;
}
