.card {
	position: relative;
    max-width: 300px;
	line-height: 1.8;
	background: var(--color-hovered);
	padding: 0.7rem 1rem;
	border-radius: 8px;
    box-shadow: 0px 8px 16px var(--color-box-shadow);
	word-break: break-word;
	overflow-wrap: break-word;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card.active {
	transform: scale(1.04);
	background: var(--color-flowchart-card-hovered);
}

.card__extra-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--color-dropdown-options);
    border: 2px solid var(--color-footer);
    border-radius: 8px;
    box-shadow: 0px 8px 16px var(--color-box-shadow);
    transition: all 0.4s ease;
    position: absolute;
    top: 100%;
    left: 5%;
    z-index: 1020;
    min-width: 90%;
    max-width: 90%;
    flex-direction: column;
}

.card__extra-info div, .card__extra-info a {
    display: block;
    color: #ffffff;
    padding: 4px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
    border-bottom: 1px dotted var(--color-footer);
}

.card__extra-info div:hover {
    background: var(--color-hovered);
}

.card__extra-info a:hover {
    background: var(--color-hovered);
}

.card:hover,
.card.active {
    z-index: 1010;
}

.card:hover .card__extra-info,
.card.active .card__extra-info {
    max-height: 50vh;
	opacity: 1;
	pointer-events: auto;
}

.card h3 {
    color: white;
    margin: 0px;
}

.card p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0px;
}

.container {
    margin-top: 7vh;
    width: 100%;
    max-width: 1000px;
    align-self: left;
    justify-self: left;
    height: auto;
	background: transparent;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	text-align: center;
}

.container svg {
	height: 3rem;
}

.container svg line {
	stroke: var(--color-flowchart-user);
	stroke-width: 0.2rem;
	stroke-linecap: round;
	stroke-dasharray: 2px 20px;
	animation: animateline 5s linear infinite;
}

.stroke-width-04rem svg line{
	stroke-width: 0.4rem !important;
}


.connectors {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.connectors span {
    font-size: 0.8rem;
    color: var(--color-h1);
}

@keyframes animateline {
	from {
		stroke-dashoffset: 0;
	}
	to {
		stroke-dashoffset: -5rem;
	}
}

.container__sources {
	display: grid;
	border-radius: 12px;
	padding: 0.7rem;
	background: var(--color-feature-item);
    border: 3px solid var(--color-h1);
	position: relative;
	justify-content: center;
	text-align: center;
	align-items: stretch;
}

.container__sources__3__cols {
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.horizontal-line-divider {
	width: 4rem;
    fill: var(--color-h1);
}

.horizontal-line-divider line {
	stroke-dasharray: 0 !important;
	animation: none !important;
    stroke: var(--color-h1) !important;
}

.container__sources::before {
	z-index: 1;
	position: absolute;
	top: -1.8rem;
	right: 0;
	color: var(--color-h1);
	font-size: 0.9rem;
	padding: 0.25rem 0.75rem;
    font-weight: bold;
	text-transform: uppercase;
}

.container__sources--source::before {
	content: 'Source System';
}

.container__sources--moqlero::before {
	content: 'Moqlero Server';
}

.container__sources--offline::before {
	content: 'Moqlero App';
}

.container__sources--terminal::before {
	content: 'Terminal Devices';
}

.user-arrow-wrap {
	display: flex;
	flex-direction: row;
    color: var(--color-flowchart-user);
	align-items: center;
	min-width: 10vw;
	max-width: 10vw;
	justify-content: right;
	justify-items: right;
}

.user-card {
    text-align: center;
    fill: var(--color-flowchart-user);
}

.margin-10vw-left {
    margin-left: 10vw;
}

.margin-5vw-right {
    margin-right: 5vw;
}

.horizontal-dash-arrow {
	stroke: var(--color-flowchart-user);
	fill: var(--color-flowchart-user);
}

.horizontal-dash-arrow line {
	stroke-dasharray: 0 !important;
	animation: none !important;
}

.row-container {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: center;
}

.flex {
	display: flex;
}


.flowchart-link {
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    color: white;
}

@media (max-width: 700px) {
	.container__sources__3__cols {
		grid-template-columns: 100%;
	}

	.container__sources > div {
		margin: 0 0;
	}

	.row-container {
		grid-template-columns: 100%;
	}

	.horizontal-line-divider {
		transform: rotate(90deg);
		justify-self: center;
	}
	.user-arrow-wrap {
        visibility: hidden;
		min-width: 0vw;
		max-width: 0vw;
	}
    .margin-10vw-left {
        margin-left: 0;
    }
    .margin-5vw-right {
        margin-right: 0;
    }
}