
/* Navigation Links */
.breadcrumb-item a {
	color: white !important;
}

.treeview {
	list-style: none;
	padding-left: 0;
}

.treeview > li {
	margin-bottom: 0.5rem;
}

.treeview-label {
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.treeview-arrow {
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 0.5rem;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid currentColor;
	transform: rotate(-90deg);
}

.treeview-toggle:checked + .treeview-label .treeview-arrow {
	transform: rotate(0deg);
}
.treeview-toggle:checked + .treeview-label {
	color: var(--bs-primary);
	font-weight: bold;
}

.treeview-children {
	list-style: none;
	padding-left: 1.5rem;
	display: none;
}

.treeview-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
}

.treeview-link svg {
	margin-right: 0.5rem;
}

.treeview-toggle:checked + .treeview-label + .treeview-children {
	display: block;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.thumbnail-nav {
	max-height: 400px;
	overflow-y: auto;
}

.thumbnail-nav .nav-link {
	padding: 0.25rem;
	width: fit-content;
	display: flex;
}

.thumbnail-nav .nav-link.active {
	border: 2px solid var(--bs-primary);
	border-color: var(--bs-primary);
}

.thumbnail-nav img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.carousel-item img {
	max-height: 400px;
	object-fit: contain;
	width: 100%;
}

.lightbox {
	display: none;
	position: fixed;
	z-index: 1050;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
	margin: auto;
	display: block;
	width: 90%;
	max-width: 900px;
	max-height: 90%;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

.lightbox-close:hover {
	color: #bbb;
}
.carousel-control-next:hover,
.carousel-control-prev:hover {
	background-color: rgba(0, 0, 0, 0.3);
}

.avatar {
	object-fit: contain;
}

.nav-card {
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: rgba(0, 0, 0, 0);
	padding: 8px;
}

.nav-card:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.nav-card.active {
	background-color: var(--bs-primary);
}

.carousel-inner {
	background: transparent;
}

.container-fluid {
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
}

.nav-card .card-title {
	color: white;
	font-size: 0.9rem;
}

.nav-card .text-muted {
	color: rgba(255, 255, 255, 0.7) !important;
}
.object-fit-cover {
	object-fit: cover;
	height: 100%;
}
.side-card-img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	height: 104%;
	width: 104%;
	object-fit: cover;
}
.side-card-img-container {
	position: relative;
  	overflow: hidden;
	min-height: 175px;
}

.text-content {
	overflow: auto;
	hyphens: auto;
}

.text-content img {
	max-width: 100%;
	height: auto !important;
}

.text-content p:last-child {
	margin-bottom: 0 !important;
}

.text-content ul:last-child {
	margin-bottom: 0 !important;
}

.text-content p ul:last-child {
	margin-bottom: 0 !important;
}

.text-content ol:last-child {
	margin-bottom: 0 !important;
}

td ul:last-child {
	margin-bottom: 0;
}

td p:last-child {
	margin-bottom: 0;
}

td p ul:last-child {
	margin-bottom: 0;
}

.satellite-frequency-info p {
	margin-bottom: .5rem !important;
}

.satellite-frequency-info li {
	margin-bottom: .5rem !important;
}

.satellite-frequency-info > ul > li {
	margin-bottom: 0 !important;
}

.custom-navbar {
    height: var(--navbar-height);
    padding-top: 0rem;
    padding-bottom: 0rem;
    z-index: 1002;
    border: none; 
    background-color: white !important;
}

.nav-full-height.nav-link {
    color: inherit;
    padding-left: 1rem !important; 
    padding-right: 1rem !important; 
    padding-top: 12px;
    background-color: white; 
    margin-right: -1px;
}

.nav-full-height.nav-link:hover {
    color: white !important;; 
    background-color: var(--bs-primary); 
}

.nav-full-height.nav-link.active {
    color: white !important; 
    background-color: var(--bs-primary); 
}

.nav-full-height {
    display: flex;
    align-items: center;
    height: 100%;
}

.white-bg {
    background-color: #fff !important; 
}
.navbar-brand {
    margin-right: 1em;
}
.navbar {
    z-index: 1002;
}

.form-error-bar ul {
	margin-bottom: 0;
}

:root {
    --navbar-height: 44px;
}

#events-calendar .fc-toolbar-title {
	font-size: 1.1rem;
}

#events-calendar .fc-event.event-active {
	border: none;
}

#events-calendar .fc-bg-event.event-maintenance {
	background-color: rgba(220, 53, 69, 0.25);
}

#events-calendar .event-cancelled {
	opacity: 0.55;
}

.event-badge {
	font-weight: 500;
	letter-spacing: 0.01em;
}

.event-badge-auto-active {
	background-color: var(--bs-success);
	color: #fff;
}

.event-badge-auto-break {
	background-color: var(--bs-secondary);
	color: #fff;
}

.event-badge-auto-upcoming {
	background-color: var(--bs-info);
	color: #fff;
}

.cookie-banner {
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background-color: #1f2937;
	color: #f8fafc;
}

.cookie-banner a {
	color: #bfdbfe;
}

.event-badge-admin-delayed {
	background-color: var(--bs-warning);
	color: #1f1f1f;
}

.event-badge-admin-schedule_change {
	background-color: var(--bs-warning);
	color: #fff;
}

.event-badge-admin-cancelled {
	background-color: var(--bs-danger);
	color: #fff;
}

.event-calendar-badges {
	display: inline-flex;
	gap: 0.25rem;
	vertical-align: middle;
}

.status-steps {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	overflow-x: auto;
}

.status-step {
	position: relative;
	min-width: 150px;
	flex: 1 0 150px;
}

.status-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 10px;
	left: calc(50% - 10px);
	height: 2px;
	width: calc(100% + 20px);
	background: var(--bs-border-color);
}

.status-step.is-complete:not(:last-child)::after {
	background: var(--bs-success);
}

.status-step-marker {
	position: relative;
	left: calc(50% - 11px);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--bs-border-color);
	background: #fff;
	margin-bottom: 0.35rem;
	z-index: 2;
}

.status-step.is-complete .status-step-marker {
	background: var(--bs-success);
	border-color: var(--bs-success);
}

.status-step-label {
	font-weight: 600;
	line-height: 1.2;
}

.status-step-time {
	margin-top: 0.15rem;
	line-height: 1.2;
}

.alert-error {
	--bs-alert-color: white;
	--bs-alert-bg: #c42526;
	--bs-alert-border-color: #c42526;
}

@media (max-width: 767px) {
	.status-step {
		min-width: 170px;
		flex-basis: 170px;
	}
}
@media (max-width: 991px) {
	.server-status {
		display: none;
		height: 0;
	}
	.nav-full-height.nav-link {
		padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
		margin-right: 0;
		border: none !important;
	}
	.custom-navbar {
		height: auto;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

}