
legenda {
	display: block;
	position: fixed;
	top: 69%;
	transform: translateY(-50%);
	z-index: 20;
	transition: right 0.3s ease;
}

.legenda-card {
	display: flex;
	flex-direction: row;
	width: 420px;
	background: #fff;
	border: 1px solid #6dcff6;
	border-radius: 0.25rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.legenda-header {
	width: 35px;
	flex-shrink: 0;
	padding: 0;
	background-color: #6dcff6;
	color: #fff;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	writing-mode: vertical-lr;
	text-orientation: upright;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.legenda-body {
	padding: 0.25rem 0.75rem;
	flex: 1;
}

.legenda-body .table th,
.legenda-body .table td {
	padding: 0.25rem;
}

.legenda-cor {
	width: calc(28px - 0.25rem);
	height: calc(28px - 0.25rem);
	border-radius: 2px;
}

.legend-color {
	width: 25px;
	height: 25px;
	border-radius: 2px;
}


.bg-card-offline {
	background-color: #767070;
}
.bg-card-online {
	background-color: #06B558;
}
.bg-card-yellow {
	background-color: #E4C53A;
}
.bg-card-orange {
	background-color: #EC8E22;
}
.bg-card-red    {
	background-color: #EC1C24;
}


.bg-alarme-baixo {
	background-color: #00b54b;
}

.bg-alarme-medio {
	background-color: #f6c800;
}

.bg-alarme-alto {
	background-color: #fb4100;
}
