/* Sticky footer styles
-------------------------------------------------- */
html {
	height: 100%;
	box-sizing: border-box;
}

body {
	/* Margin bottom by footer height */
	margin: 0;
	margin-bottom: 60px;
	background-color: #F0F3F4;

	position: relative;
	margin: 0;
	padding-bottom: 6rem;
	min-height: 100%;

}

.content-wrapper {
	margin: 0 auto;
	padding-top: 32px;
	max-width: 640px;
	width: 94%;
	margin-bottom: 50px !important;
}

footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem;
	background-color: #efefef;
	text-align: center;
}

/* Footer Fixes */
.js-wrapper--main {
	min-height: unset !important;
	margin-bottom: 50px;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: inherit;
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 60px;
	line-height: 60px;
	/* Vertically center the text there */
	background-color: #f5f5f5;
}

.navbar {
	background: #2B3034;
	padding: 13px 0 0px 0 !important;
	margin-bottom: 30px !important;
	height: 50px !important;
}

.navbar--container {
	width: 900px;
	margin: 0 auto;
	height: 50px;
}

.navbar-brand {
	padding-top: 3px !important;
}

.navbar-collapse {
	width: 250px;
	float: right;
}

.navbar-collapse {
	width: unset;
}

.siteHeader--details {
	margin-top: 4px;
}

.siteHeader--button {
	background: rgba(0, 0, 0, 0.2);
	border: 0;
	border-radius: 5px;
	text-decoration: none;
	font-size: 12px;
	text-transform: uppercase;
	padding: 8px 18px;
	color: #FFFFFF !important;
	margin-left: 10px;
}

.pagy-bootstrap-nav {
	margin: 0 auto;
}

/* Custom page CSS
  -------------------------------------------------- */
/* Not required for template or sticky footer method. */

body>.container {
	padding: 60px 15px 0;
	width: 900px !important;
	margin-top: 30px;
}

.footer>.container {
	padding-right: 15px;
	padding-left: 15px;
}

code {
	font-size: 80%;
}

.statusGroup--title {
	margin-bottom: 0px;
	font-size: 16px;
	color: #333;
	font-weight: 700;
	background-color: #e8e8e8;
	cursor: pointer;
	padding: 12px;
	font-family: inherit;
}

.statusList {
	padding: 0;
	margin-bottom: 0px;
}

.statusList--item {
	background-color: #FFF !important;
	font-size: 14px;
	width: 50%;
	float: left;
	height: 45px;
	padding: 13px 15px;
	margin-bottom: 1px !important;
}


.statusList--status {
	float: right;
	font-size: 12px;
}

ul {
	list-style: none;
}

.statusGroup {
	background-color: #e8e8e8;
	margin-bottom: 25px;
	padding: 1px;
}

.statusList--description {
	background: transparent url(/assets/york/question-b9b6b60….svg) 0 0/100% auto no-repeat;
	display: inline-block;
	height: 14px;
	margin-left: 5px;
	vertical-align: -1px;
	width: 14px;
}

.statusList--name {
	float: left;
	font-family: inherit;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 75%;
}

.statusList--name a {
	text-decoration: none;
	color: inherit;
}

.statusList--name i {
	color: #666;
	margin-right: 10px;
}

.statusGroup--header {
	cursor: pointer;
}

.statusList--services {
	margin: 0 !important;
	padding: 0px !important;
}

.affected-service--list-group,
.affected-service--list-group a,
.affected-service--list-group a:link {
	font-size: 14px !important;
	color: #606060;
	font-weight: bold;
}

.list-group {
	font-size: 15px;
}

.list-group-hosts {
	margin: 0px !important;
}

.ongoingIssues {
	margin-bottom: 15px;
}

/* Homepage Issue Banners */

.issueBanner:last-child {
	margin-bottom: 0;
}

.issueBanner--maint {
	background-color: #0d47a1;
	border: 2px #0d47a1 solid;
	color: #FFF !important;
}

.issueBanner--investigating {
	background: #d13943;
}

.issueBanner--maintenance {
	background: #2196F3;
	color: #ffffff;
}

.issueBanner {
	display: block;
	border-radius: 6px;
	text-decoration: none;
	padding: 13px 17px;
	margin-bottom: 15px;
	color: #FFF !important;
}

.issueBanner h2 {
	font-size: 16px;
	margin-top: inherit;
}

.issueBanner__state {
	float: right;
	font-weight: 600;
	font-size: 12px;
	margin-left: 15px;
}

.advertise--maint .issueBanner__services,
.advertise--issues .issueBanner__services {
	margin-top: 10px;
	margin-bottom: 10px;
}

.issueBanner__services {
	font-size: 14px;
	opacity: 0.7;
}

.issueBanner__services a {
	text-decoration: none;
	color: #FFF;
}

.issueBanner__services a:hover {
	font-weight: bold;
}

.advertise--issues {
	background-color: #b71c1c;
	border: 2px #b71c1c solid;
	color: #FFF;
}

.advertise--success {
	background-color: #28a745;
	border: 2px #28a745 solid;
}

.advertise--maint {
	background-color: #0d47a1;
	border: 2px #0d47a1 solid;
}

.advertise--upcoming-maint {
	background-color: #4a4a4a;
	border: 2px #4a4a4a solid;
}

/* Mobile / small screen view */

@media only screen and (max-width: 900px) {
	.statusList--item {
		float: none;
		width: 100%;
	}

	#button_legacy {
		display: none;
	}

	.incident-body {
		left: 15px;
	}
}

@media only screen and (max-width: 1092px) {
	.incident-body {
		left: 15px;
	}
}

@media only screen and (max-width: 575px) {
	.incident-body {
		left: 67px;
		width: 84%;
	}
}

@media only screen and (max-width: 400px) {
	.incident-body {
		left: 67px;
		width: 80%;
	}
}

/* Status Tables */

.status-table-0 {
	border-left: 5px #28a745 solid;
}

.status-table-1 {
	border-left: 5px #dc3545 solid;
}

.status-table-2 {
	border-left: 5px #17a2b8 solid;
}

.status-table-255 {
	border-left: 5px #3b3b3b solid;
}

.shared-partial.uptime-90-days-wrapper svg {
	margin: 0;
	padding: 0;
	height: 34px;
	width: 97%;
	overflow: visible;
}

.tippy-content {
	overflow: visible !important;
	white-space: initial !important;
	text-overflow: initial !important;
	max-width: 100% !important;
}

.tooltip-inner {
	max-width: 200px;
	padding: 15px;
	color: #333;
	text-align: center;
	background-color: #f2f2f2 !important;
	border-radius: .25rem;
}

.form-error {
	border: 1px red solid;
}


/* Colours */

.st-colour-0 {
	color: #28a745;
}

.st-colour-1 {
	color: #dc3545;
}

.st-colour-2 {
	color: #ffc107;
}

.st-colour-3 {
	color: #3b3b3b;
}

.st-colour-4 {
	color: #17a2b8;
}


/* Timeline */

.timeline .content-wrapper {
	margin-top: 40px;
	margin-bottom: 40px
}

.timeline .content-wrapper.content-wrapper--full {
	max-width: 100%;
	width: 100%;
}

.timeline .content-wrapper.content-wrapper--full .row.event > .col-sm-1 {
	width: 60px;
	max-width: 60px;
}

.timeline .content-wrapper.content-wrapper--full .row.event > .incident-body {
	width: calc(100% - 60px);
	left: 0;
}

.timeline-incident-title {
	font-size: 30px;
	font-weight: 700;
	margin: -10px -14px 20px;
	padding: 20px 14px;
	color: #222;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.timeline h3 {
	margin-top: 30px;
	margin-bottom: 40px;
	font-size: 22px
}

.timeline h3 small {
	margin-left: 15px
}

.timeline .list-group.components .panel-body h1,
.timeline .panel .panel-body h1 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 2em
}

.timeline .list-group.components .panel-body h2,
.timeline .panel .panel-body h2 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 1.8em
}

.timeline .list-group.components .panel-body h3,
.timeline .panel .panel-body h3 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 1.6em
}

.timeline .list-group.components .panel-body h4,
.timeline .panel .panel-body h4 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 1.4em
}

.timeline .list-group.components .panel-body h5,
.timeline .panel .panel-body h5 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 1.2em
}

.timeline .moment .list-group.components .panel-body p,
.timeline .moment .list-group.components .panel-heading strong,
.timeline .moment .panel .panel-body p,
.timeline .moment .panel .panel-heading strong {
	font-size: 1.1em
}

.timeline .list-group.components .panel-body p,
.timeline .moment .panel .panel-body p {
	margin: 0
}

.timeline .moment {
	width: 100%;
	padding-bottom: 10px;
	position: relative
}

.timeline .moment.first:before {
	top: -5px
}

.timeline .moment:before {
	content: '';
	position: absolute;
	left: 20px;
	top: -5px;
	width: 2px;
	height: 100%;
	background: #616161;
}

.timeline .moment .status-icon {
	background: #fff;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	border: 1px solid #e8e8e8;
	position: absolute;
	left: 18px;
	top: 14px
}

.timeline .moment .status-icon .icon {
	position: absolute;
	top: -1px;
	left: -1px;
	font-size: 36px;
}

.timeline .moment .status-icon .icon.ion-alert {
	left: 15px
}

.timeline .moment .status-icon.status-0 {
	color: #b23f73
}

.timeline .moment .status-icon.status-1 {
	color: #f80
}

.timeline .moment .status-icon.status-2 {
	color: #F7CA18
}

.timeline .moment .status-icon.status-3 {
	color: #3498db
}

.timeline .moment .status-icon.status-4 {
	color: #7ED321
}

.timeline .moment.last:before {
	background: #fff
}

.timeline .moment .list-group.components,
.timeline .moment .panel {
	margin: 0;
	border-radius: 2px
}

.timeline .moment .panel-message.list-group.components,
.timeline .moment .panel.panel-message {
	border: 1px solid #e8e8e8
}

.timeline .moment .panel-message.list-group.components:before,
.timeline .moment .panel.panel-message:before {
	position: absolute;
	top: 12px;
	left: 1px;
	display: inline-block;
	border-top: 15px solid transparent;
	border-left: 0 solid #e8e8e8;
	border-right: 15px solid #e8e8e8;
	border-bottom: 15px solid transparent;
	content: " "
}

.timeline .moment .panel-message.list-group.components:after,
.timeline .moment .panel.panel-message:after {
	position: absolute;
	top: 13px;
	left: 2px;
	display: inline-block;
	border-top: 14px solid transparent;
	border-left: 0 solid #fff;
	border-right: 14px solid #fff;
	border-bottom: 14px solid transparent;
	content: " "
}

.timeline .moment .list-group.components .panel-body,
.timeline .moment .panel .panel-body {
	border-top: 1px solid #eee
}

.timeline .moment .panel .panel-body,
.timeline .moment .panel .panel-body p {
	font-size: 15px;
}

.timeline .moment .list-group.components .panel-body p:not(:last-child),
.timeline .moment .panel .panel-body p:not(:last-child) {
	margin-bottom: 10px
}

.incident {
	background-color: #FFFFFF;
	border-color: #e5e5e5;
}

.status-icon {
	background-color: #FFFFFF;
	border-color: #e5e5e5;
}

.panel.panel-message:before {
	border-left-color: #e8e8e8 !important;
	border-right-color: #e8e8e8 !important;
}

.panel.panel-message:after {
	border-left-color: #FFFFFF !important;
	border-right-color: #FFFFFF !important;
}

.panel-body {
	padding: 15px
}

.panel-body:after,
.panel-body:before {
	content: " ";
	display: table
}

.panel-heading {
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
	border-top-right-radius: 2px;
	border-top-left-radius: 2px
}

.panel-title {
	margin-top: 0;
	font-size: 16px
}

.panel-footer {
	padding: 10px 15px;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	border-bottom-right-radius: 2px;
}

.incident-card {
	margin-bottom: 20px;
	text-align: center;
	;
}

/* York Overrides */
.u-link,
a {
	text-decoration: inherit;
}

.c-breadcrumb {
	font-size: 14px;
}

.c-nav__item--more .c-nav__link,
.c-nav__item--more .c-nav__link:hover {
	background-color: unset;
	border-right: 1px solid #5a5a5a;
	border-left: 1px solid #5a5a5a;
}

.c-nav__item {
	font-weight: 100 !important;
}

.c-nav__selected {
	color: #e2e2e2;
	background-color: #0c5a73;
}

.c-breadcrumb {
	margin-bottom: 25px;
}

*,
::after,
::before {
	box-sizing: unset;
}

/* Other */

.ind-banner {
	height: 200px;
	display: flex;
	border-radius: 5px;
	border: 1px transparent;
	margin-bottom: 25px;
	background: url("/status/img/default.jpg");
	background-position: center;
	background-size: cover;
	background-position-y: 33%;
}

.home-banner {
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/status/img/home-banner.jpg");
	background-position: center;
	background-size: cover;
	background-position-y: 64%;
}

.itservices-ind-banner-1,
.ind-banner-1 {
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/status/img/banner.jpg");
	background-position: center;
	background-size: cover;
}

.itservices-ind-banner-2,
.ind-banner-2 {
	background: url("/status/img/banner-2.jpg");
	background-size: cover;
	background-position-y: 30%;
	background-repeat: no-repeat;
}

.itservices-ind-banner-3,
.ind-banner-3 {
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/status/img/banner-3.jpg");
	background-size: cover;
	background-position-y: 30%;
	background-repeat: no-repeat;
}

.estates-ind-banner-1 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/estates-banner.jpg");
	background-position: center;
	background-size: cover;
	background-position-y: 74%;
}

.estates-ind-banner-2 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/estates-banner-2.jpg");
	background-size: cover;
	background-position-y: 70%;
	background-repeat: no-repeat;
}

.estates-ind-banner-3 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/estates-banner-3.jpg");
	background-size: cover;
	background-position-y: 86%;
	background-repeat: no-repeat;
}

.library-ind-banner-1 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/library-banner.jpg");
	background-position: center;
	background-size: cover;
	background-position-y: 67%;
}

.library-ind-banner-2 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/library-banner-2.jpg");
	background-size: cover;
	background-position-y: 99%;
	background-repeat: no-repeat;
}

.library-ind-banner-3 {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/status/img/library-banner-3.jpg");
	background-size: cover;
	background-position-y: 24%;
	background-repeat: no-repeat;
}


.service-title {
	text-align: center;
	top: 100px;
	padding: 10px;
	color: #FFF;
	margin: auto;
}

.service-description {
	text-align: center;
	font-style: italic;
	font-size: 14px;
}

.ind-banner-2 .service-title,
.ind-banner-3 .service-title {
	background-color: #00000063;
	border-radius: 10px;
}

/* Quick Fix for small bootstarap buttons */

.btn-group-xs>.btn,
.btn-xs {
	padding: .25rem .4rem;
	font-size: .875rem;
	line-height: .5;
	border-radius: .2rem;
}

.homepage--card {
	padding: 0px;
	font-size: 14px;
}

.homepage--card-header a {
	text-decoration: none;
	color: #FFF;
}

.homepage--maintenance-card .row {
	margin-top: 5px;
}

.homepage--maintenance-card .time,
.homepage--incidents-card .time {
	color: #AAA;
	font-size: 13px !important;
}

.homepage--incidents-card .row {
	margin-top: 5px;
}

.service--list {
	padding-left: 39px;
	margin-top: 5px;
}

.service--list .more,
.service--list .more a,
.service--list .more a:link {
	font-size: 12px;
	color: #AAA;
	font-weight: bold;
	font-style: italic;
}

.homepage--card hr {
	color: #eee !important;
}

.homepage--card .date--status {
	border-top: 1px #ddd dashed;
	padding-top: 12px;
}

.service--list li {
	font-size: 12px;
	color: #aaa;
	list-style: square;
	padding-left: 5px;
}

/* Incident Hover Modal */
.incident-hover-modal {
	max-width: 400px;
	min-width: 300px;
	padding: 0px 15px 15px 15px;
}

.incident-hover-modal .fa-exclamation-triangle {
	color: #b71c1c;
}

.incident-hover-modal .fa-clock {
	color: #0d47a1;
}

.incident-hover-modal .date {
	font-weight: bold;
	text-align: center;
	padding: 15px;
}

.incident-hover-modal .api-incidents {
	font-weight: bold;
	padding: 10px;
}

.incident-hover-modal .api-incidents h6 {
	font-size: 12px;
	margin-left: 7px;
	margin-bottom: 2px !important;
	color: #BBB;
}

.incident-hover-modal .api-incidents .api-downtime-banner {
	padding: 10px;
	background-color: #EEE;
	margin-left: 5px;
	margin-bottom: 15px;
	border-radius: 5px;
}

.incident-hover-modal .api-incidents span {
	font-size: 12px;
	text-align: center;
	font-weight: normal;
	font-style: italic;
	display: block;
}

.incident-hover-modal h5 {
	font-size: 14px;
	color: #BBB;
}

.incident-hover-modal .related-incidents {
	padding: 10px;
}

.global-incident {
	border-radius: 100%;
	text-align: center;
	height: 120px;
	width: 120px;
	display: table;
	overflow: hidden;
	color: #FFF;
	font-weight: bold;
	font-size: 40px !important;
	margin: 0 auto;
}

.global-incident--ok {
	background-color: #28a745;
	border: 2px #28a745 solid;
}

.global-incident--issues {
	background-color: #b71c1c;
	border: 2px #b71c1c solid;
}

.global-incident--maint {
	background-color: #0d47a1;
	border: 2px #0d47a1 solid;
}

.global-incident .text {
	display: table-cell;
	vertical-align: middle;
}

.global-incident-wrapper .label {
	padding: 10px;
	text-align: center;
	font-weight: bold;
	color: #BBB;
}

/* Incident Streams */

.maintenance-stream-container,
.incident-stream-container {
	padding: 0px 6px 0px 6px;
	margin-left: 9px;
}

.maintenance-stream-wrap,
.incident-stream-wrap {
	padding: 0px;
	font-size: 14px;
}

.mnx-stream,
.anx-stream {
	padding: 10px;
	border-bottom: 1px #eee solid;
}

.anx-stream-status-0 {
	border-left: 3px #8bc34a solid;
}

.anx-stream-status-1,
.anx-stream-status-2 {
	border-left: 3px #dc3545 solid;
}

.anx-stream-status-4 {
	border-left: 3px #17a2b8 solid;
}

.mnx-stream-status-0 {
	border-left: 3px #17a2b8 solid;
}

.mnx-stream-status-1 {
	border-left: 3px #ffc107 solid;
}

.mnx-stream-status-2 {
	border-left: 3px #8bc34a solid;
}

.mnx-stream:last-child,
.anx-stream:last-child {
	border-bottom: unset;
}

.mnx-stream a:hover,
.anx-stream a:hover {
	text-decoration: none;
}

.mnx-stream .text,
.anx-stream .text {
	color: #BBB;
}


.service-info-data {
	min-height: 110px;
}

.service-info-data span {
	margin-top: 15px;
}

/* 30 Day Snapshot */

.service-timeline-wrap {
	direction: rtl;
}

.service-timeline {
	height: 70px;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	justify-content: space-between;
}

.service-timeline .day {
	width: 8px;
	height: 30px;
	background-color: #43a047;
	margin: 0px 3px 0px 3px;
	flex: 0 0 auto;
	cursor: pointer;
}

.service-timeline .day:hover {
	background-color: #1b5e20;
}

.service-timeline .active-anx {
	background-color: #f44336;
	height: 40px;
	width: 8px;
	margin-top: 10px !important;
}

.service-timeline .active-anx:hover {
	background-color: #b71c1c;
}

.service-timeline .active-both {
	background: #f44336;
	/* Old browsers */
	background: -moz-linear-gradient(top, #f44336 0%, #f44336 50%, #2196f3 51%, #2196f3 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(top, #f44336 0%, #f44336 50%, #2196f3 51%, #2196f3 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #f44336 0%, #f44336 50%, #2196f3 51%, #2196f3 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f44336', endColorstr='#2196f3', GradientType=0);
	/* IE6-9 */
	height: 40px;
	width: 8px;
	margin-top: 10px !important;
}

.service-timeline .active-both:hover {
	background: #b71c1c;
	/* Old browsers */
	background: -moz-linear-gradient(top, #b71c1c 0%, #b71c1c 50%, #0d47a1 51%, #0d47a1 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(top, #b71c1c 0%, #b71c1c 50%, #0d47a1 51%, #0d47a1 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #b71c1c 0%, #b71c1c 50%, #0d47a1 51%, #0d47a1 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b71c1c', endColorstr='#0d47a1', GradientType=0);
	/* IE6-9 */
}

.service-timeline .active-mnx {
	background-color: #2196f3;
	height: 40px;
	width: 8px;
	margin-top: 10px !important;
}

.service-timeline .active-mnx:hover {
	background-color: #0d47a1;
}

.service-timeline .active-incident:hover {
	background-color: #d29f06;
}

/* Emergency Banner */
.emergency-banner {
	position: relative;
	background: linear-gradient(135deg, #b71c1c 0%, #8e0e00 100%);
	color: #fff;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 16px 0 20px;
	box-shadow: 0 8px 20px rgba(183, 28, 28, 0.35);
}

.emergency-banner .title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.emergency-banner .icon-wrap {
	position: relative;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 8px;
}

.emergency-banner .icon-wrap i {
	color: #fff;
}

.emergency-banner .pulse-dot {
	position: absolute;
	right: -6px;
	top: -6px;
	width: 10px;
	height: 10px;
	background: #ffeb3b;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
	animation: pulse 1.8s infinite;
}

.emergency-banner .text-wrap .heading {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.emergency-banner .text-wrap .subtitle {
	font-size: 12px;
	opacity: 0.85;
	margin: 0;
}

.emergency-banner .emergency-items {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
}

.emergency-banner .emergency-item {
	padding: 8px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.emergency-banner .emergency-item:first-child {
	border-top: 0;
}

.emergency-banner .item-main {
	display: flex;
	align-items: center;
	gap: 8px;
}

.emergency-banner .item-link {
	color: #fff;
	text-decoration: underline;
	font-weight: 600;
}

.emergency-banner .item-link:hover {
	text-decoration: none;
}

.emergency-banner .badge-glass {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 10px;
	text-transform: capitalize;
}

.emergency-banner .item-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	margin-top: 8px;
}

.emergency-banner .item-meta .meta-row {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}

.emergency-banner .item-meta .meta-row i {
	width: 12px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	flex-shrink: 0;
}

.emergency-banner .emergency-live-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 14px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #b71c1c;
	background: #fff;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	transition: background 0.15s, color 0.15s;
}

.emergency-banner .emergency-live-btn:hover {
	background: #fce4e4;
	color: #8e0e00;
	text-decoration: none;
}

.emergency-banner .item-message {
	position: relative; 
	margin: 16px 0 16px 14px;
	padding: 0 0 0 12px;
	border: 0 !important;
	border-left: 3px solid rgba(255,255,255,0.35);
	border-radius: 0 !important;
	background: none !important;
	font-size: 14px;
}

.emergency-banner .item-message::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -12px;
	width: 8px; 
	border-radius: 2px;
	background: linear-gradient(180deg, rgba(255,235,59,0.95), rgba(255,193,7,0.95));
	box-shadow: 0 0 0 1px rgba(0,0,0,0.06) inset, 0 2px 6px rgba(0,0,0,0.15);
}
.emergency-banner .item-message p { margin: 0 0 6px; }
.emergency-banner .item-message p:last-child { margin-bottom: 0; }
.emergency-banner .item-message ul,
.emergency-banner .item-message ol {
  margin: 6px 0 6px 18px;
}
.emergency-banner .item-message a { color: #fff; text-decoration: underline; }

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(255, 235, 59, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
	}
}

.global-overview-header {
	background-color: #404040;
    color: #fff;
}

/* Feed Panels */
.feed-panel {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
}

.feed-panel .panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	color: #fff;
	cursor: pointer; /* allow header click to toggle collapse */
}

.feed-panel--issues .panel-heading {
	background: linear-gradient(135deg, #b71c1c 0%, #8e0e00 100%);
}

.feed-panel--maint .panel-heading {
	background: linear-gradient(135deg, #0d47a1 0%, #07326f 100%);
}

.feed-panel--service .panel-heading {
	background-color: #404040;
	color: #fff;
}

.feed-panel--context .panel-heading {
	background-color: #404040;
	color: #fff;
}

.feed-panel--neutral .panel-heading {
	background-color: #404040;
	color: #fff;
}

.feed-panel--resolved .panel-heading {
	background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
	color: #fff;
}

.feed-panel .panel-heading .title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.feed-panel .panel-heading .title a {
	text-decoration: none;
	color: #FFF;
}

.feed-panel .panel-heading .live {
	display: flex;
	align-items: center;
	gap: 8px;
}

.feed-panel .panel-heading .live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
	animation: pulse 2s infinite;
}

.feed-panel .panel-heading .count-badge {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
}

.feed-panel .panel-body {
	padding: 10px 14px 14px;
}

/* Collapsible feed-panels */
.feed-panel.is-collapsed .panel-body { display: none; }
.feed-panel.is-collapsed .panel-heading { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }

.feed-panel .feed-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.feed-panel .feed-item {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.feed-panel .feed-item:last-child {
	border-bottom: 0;
}

.feed-panel .item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.feed-panel .item-row .left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.feed-panel .item-row .right {
	margin-left: 8px;
}

.badge-context {
	background: #f0f0f0;
	color: #333;
	border: 1px solid #e2e2e2;
	font-size: 10px;
	border-radius: 6px;
	padding: 2px 6px;
	white-space: nowrap;
}

.item-link {
	color: #333;
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
}

.item-title {
	color: #333;
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
}

.item-link:hover {
	text-decoration: underline;
}

.badge-glass {
	background: rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #333;
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 10px;
	text-transform: capitalize;
}

.meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #666;
	font-size: 12px;
	margin-top: 6px;
}

.chip-glass {
	background: #f7f7f7;
	border: 1px solid #eee;
	border-radius: 999px;
	font-size: 10px;
	padding: 2px 8px;
	margin-right: 4px;
	color: #555;
}

/* Enhancements: ensure time doesn’t get cut off and add spacing around chips in feed lists */
.feed-panel .meta-row {
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 6px 0;
}

.feed-panel .meta-row .chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.feed-panel .chip-glass {
	margin-bottom: 6px;
}

.feed-panel .meta-row .time {
	margin-left: auto;
	white-space: nowrap;
	flex-shrink: 0;
	padding-left: 8px;
}

.feed-panel .panel-more {
	text-align: center;
	border-top: 1px solid #eee;
	padding: 5px 0 0px;
	margin-top: 8px;
}

.feed-panel .panel-more a {
	font-size: 14px;
	display: inline-block;
	padding-top: 6px;
	background: #fff;
	color: #333;
	text-decoration: none;
}

/* Chips by type */
.chip-incident {
	background: #fdecea;
	border-color: #f5c2c7;
	color: #842029;
}

.chip-maint {
	background: #e7f1ff;
	border-color: #b6d4fe;
	color: #0a58ca;
}

/* Automatic chip variant */
.chip-auto {
  background: #fff7e6; /* soft amber */
  border-color: #ffe0b3;
  color: #8a5a00;
}
.chip-auto i { margin-right: 4px; }

/* Link-able chips */
.chip-link {
	text-decoration: none;
	display: inline-block;
	margin: 2px 4px;
}

.chip-link:hover {
	text-decoration: underline;
}

.panel-empty {
	text-align: center;
	font-size: 14px;
}

.google-promo,
.microsoft-promo,
.slack-promo {
	font-size: 14px;
  color: #333;
}

/* Category Panels and Service Grid (context page) */
.category-panel {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
}

.category-panel .panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px #eeeeee solid;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	background-color: #404040;
	color: #fff;
}

.category-panel .panel-heading .title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.category-panel .panel-heading .meta .count-badge {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
}

.category-panel .panel-body {
	padding: 10px 14px 14px;
}

.service-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 10px;
}

.service-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 10px 12px;
	transition: box-shadow .2s ease, transform .1s ease;
}

.service-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.service-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.service-name {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 14px;
}

.service-status .status-badge {
	background: #f5f5f5;
	border: 1px solid #eaeaea;
	color: #333;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
}

/* Keep existing left border color semantics from status-table-* classes */
.service-card.status-table-0 {
	border-left: 5px #28a745 solid;
}

.service-card.status-table-1 {
	border-left: 5px #dc3545 solid;
}

.service-card.status-table-2 {
	border-left: 5px #17a2b8 solid;
}

.service-card.status-table-255 {
	border-left: 5px #3b3b3b solid;
}

/* Fix: allow tooltips to overflow category panel and improve service-card vertical centering */
.category-panel {
	overflow: visible;
}

.service-card {
	display: flex;
	align-items: center;
	min-height: 32px;
}

.service-top {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.service-name {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}

.service-name .item-link {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.2;
	line-clamp: 2;
}

.service-status {
	flex-shrink: 0;
	align-self: center;
}

/* Ensure tooltips render above panels and are not clipped */
.tooltip,
.tippy-box {
	z-index: 9999 !important;
}

@media (max-width: 900px) {
	.service-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.service-card {
		min-height: 56px;
	}
}

/* Readability tweaks for compact mixed feeds */
.feed-panel .feed-item { padding: 14px 5px 0px 5px; }
.feed-panel .item-row { margin-bottom: 4px; }
.feed-panel .item-row .left { gap: 10px; }
.feed-panel .meta-row { margin-top: 8px; gap: 8px 0; }
.feed-panel .meta-row .chips { gap: 8px; }
.feed-panel .chip-glass { margin-bottom: 8px; }
.item-link, .item-title { line-height: 1.3; }

/* Status themed headers to match timeline icon colours */
/* Announcement statuses (anx): 0=resolved, 1=investigating, 2=identified, 4=monitoring */
.status-theme-0 .panel-heading {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: #fff;
}

.status-theme-1 .panel-heading {
	background: linear-gradient(135deg, #b71c1c 0%, #8e0e00 100%);
	color: #fff;
}

.status-theme-2 .panel-heading {
	background: linear-gradient(135deg, #b71c1c 0%, #8e0e00 100%);
	color: #fff;
}

.status-theme-4 .panel-heading {
	background: linear-gradient(135deg, #17a2b8 0%, #0d6efd 100%);
	color: #fff;
}

/* Maintenance statuses (mnx): 0=upcoming, 1=in-progress, 2=complete */
.status-theme-0.feed-panel--maint .panel-heading {
	background: linear-gradient(135deg, #0d47a1 0%, #07326f 100%);
	color: #fff;
}

.status-theme-1.feed-panel--maint .panel-heading {
	background: linear-gradient(135deg, #ffc107 0%, #d29f06 100%);
	color: #333;
}

.status-theme-2.feed-panel--maint .panel-heading {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: #fff;
}

/* Ensure date text inside headings remains readable */
.panel-heading .date,
.panel-heading small,
.panel-heading time {
	color: currentColor;
	opacity: 0.9;
}

/* Timeline panel-heading colour mapping per update */
.panel.panel-message.incident .panel-heading.heading--incident {
	background: linear-gradient(135deg, #b71c1c 0%, #8e0e00 100%);
	color: #fff;
}

.panel.panel-message.incident .panel-heading.heading--monitoring {
	background: linear-gradient(135deg, #17a2b8 0%, #0d6efd 100%);
	color: #fff;
}

.panel.panel-message.incident .panel-heading.heading--resolved {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: #fff;
}

/* Timeline heading colours for Maintenance */
.panel.panel-message.incident .panel-heading.heading--maint-open {
	background: linear-gradient(135deg, #0d47a1 0%, #07326f 100%);
	color: #fff;
}

.panel.panel-message.incident .panel-heading.heading--resolved {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: #fff;
}

.panel.panel-message.incident .panel-heading.heading--maint-open .date,
.panel.panel-message.incident .panel-heading.heading--resolved .date {
	color: rgba(255, 255, 255, 0.95);
}

/* Utility: maintenance brand color for icons/text */
.text-maintenance {
	color: #0d47a1 !important;
}

/* Match timeline arrow to heading color (announcements) */
.panel.panel-message.incident:has(.panel-heading.heading--incident)::before,
.panel.panel-message.incident:has(.panel-heading.heading--incident)::after {
	border-right-color: #b71c1c !important;
	/* incident red */
	border-left-color: #b71c1c !important;
}

.panel.panel-message.incident:has(.panel-heading.heading--monitoring)::before,
.panel.panel-message.incident:has(.panel-heading.heading--monitoring)::after {
	border-right-color: #17a2b8 !important;
	/* monitoring teal */
	border-left-color: #17a2b8 !important;
}

.panel.panel-message.incident:has(.panel-heading.heading--resolved)::before,
.panel.panel-message.incident:has(.panel-heading.heading--resolved)::after {
	border-right-color: #28a745 !important;
	/* resolved green */
	border-left-color: #28a745 !important;
}

/* Match timeline arrow to heading color (maintenance) */
.panel.panel-message.incident:has(.panel-heading.heading--maint-open)::before,
.panel.panel-message.incident:has(.panel-heading.heading--maint-open)::after {
	border-right-color: #0d47a1 !important;
	/* maintenance blue */
	border-left-color: #0d47a1 !important;
}

/* Match timeline arrow to heading color (maintenance scheduled) */
.panel.panel-message.incident:has(.panel-heading.heading--maint-scheduled)::before,
.panel.panel-message.incident:has(.panel-heading.heading--maint-scheduled)::after {
  border-right-color: #0d47a1 !important; /* maintenance blue, same family as maint headings */
  border-left-color: #0d47a1 !important;
}

/* Timeline gap between updates */
.timeline-gap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 8px 0 12px;
	color: #666;
	font-size: 12px;
	font-style: italic;
	position: relative;
}

.timeline-gap::before {
	content: '';
	position: absolute;
	left: 20px;
	top: -5px;
	bottom: -5px;
	width: 2px;
	background: #616161;
}

.timeline-gap__line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}

.timeline-gap__label {
	background: #fff;
	border: 1px solid #e8e8e8;
	padding: 3px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Modern Pagy styles */
.pagy-modern { 
  display: flex; 
  justify-content: center; 
  margin: 22px 0 12px; /* more vertical spacing */
}
.pagy-modern .pagination { 
  display: inline-flex; 
  gap: 10px; /* a bit more spacing between items */
  background: #fff; 
  border: 1px solid #e8e8e8; 
  border-radius: 12px; /* less round */
  padding: 8px; /* a touch more breathing room */
  box-shadow: 0 8px 20px rgba(0,0,0,0.04); 
}
.pagy-modern .page-item .page-link { 
  border: 0; 
  border-radius: 8px !important; /* less round */
  padding: 10px 14px; /* a bit more padding */
  font-size: 13px; 
  color: #495057;
}
.pagy-modern .page-item.active .page-link { 
  background: linear-gradient(135deg, #2b7cff 0%, #175bdd 100%); 
  color: #fff; 
  box-shadow: 0 6px 14px rgba(23, 91, 221, 0.25);
}
.pagy-modern .page-item.disabled .page-link { 
  color: #adb5bd; 
  background: transparent; 
}
.pagy-modern .page-link:hover { 
  background: #f2f6ff; 
  text-decoration: none; 
}
.pagy-modern .page-item:first-child .page-link,
.pagy-modern .page-item:last-child .page-link { 
  padding: 10px 12px; 
}
.pagy-modern .page-item { 
  margin: 0;
}


.feed-panel .feed-item.is-incident {
	border-left: 4px solid #b71c1c;
	padding-left: 10px;
	background-color: rgba(183, 28, 28, 0.06); /* solid tint, no gradient */
}
.feed-panel .feed-item.is-maint {
	border-left: 4px solid #0d47a1;
	padding-left: 10px;
	background-color: rgba(13, 71, 161, 0.06); /* solid tint, no gradient */
}

.type-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  color: #555;
  font-size: 10px;
  flex: 0 0 18px;
}
.type-tag i { font-size: 10px; line-height: 1; }
.type-tag.type-incident { border-color: #f5c2c7; color: #842029; background: #fdecea; }
.type-tag.type-maint { border-color: #b6d4fe; color: #0a58ca; background: #e7f1ff; }

.feed-panel .item-row .left .item-link,
.feed-panel .item-row .left .item-title {
  flex: 1 1 auto;
  min-width: 0; 
}

.badge-success {
  background-color: #146c43 !important;
  color: #ffffff !important;
  border: 1px solid #0f5132;
}

.btn-primary {
  background-color: #0a58ca !important;
  border-color: #0a58ca !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #084298 !important;
  border-color: #084298 !important;
  color: #ffffff !important;
}
.btn-primary:focus-visible {
  outline: 3px solid rgba(13,110,253,0.45);
  outline-offset: 2px;
}

.ind-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ind-banner .service-title {
  position: static;
  top: auto;
  margin: 0;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.badge-info {
  background-color: #0d47a1 !important;
  color: #ffffff !important;
  border: 1px solid #07326f;
}

/* Hide phone number on small screens to avoid overlapping nav */
@media (max-width: 768px) {
  .c-nav.c-nav--main .c-nav__item--more { display: none !important; }
}

/* Timeline alignment & link visibility overrides */
.timeline { position: relative; }
/* Use block layout and offset panels to clear the icon/line */
.timeline .moment { display: block; }
/* Remove override that misaligned arrows on incident/maintenance timelines */
/* .timeline .moment .panel { margin-left: 60px; } */
/* Fallback: colored inner dot using currentColor when icon font missing */
/* Remove fallback dot to prevent overlaying icon centers */
/* .timeline .moment .status-icon::after { ... } */
.panel.panel-message .panel-heading .panel-title .item-link,
.panel.panel-message .panel-heading .panel-title .item-title {
	color: #fff; /* ensure contrast against gradient headings */
	text-decoration: underline;
	font-weight: 600;
}
.panel.panel-message .panel-heading.heading--resolved .panel-title .item-link,
.panel.panel-message .panel-heading.heading--resolved .panel-title .item-title,
.panel.panel-message .panel-heading.heading--incident .panel-title .item-link,
.panel.panel-message .panel-heading.heading--incident .panel-title .item-title,
.panel.panel-message .panel-heading.heading--monitoring .panel-title .item-link,
.panel.panel-message .panel-heading.heading--monitoring .panel-title .item-title,
.panel.panel-message .panel-heading.heading--maint-open .panel-title .item-link,
.panel.panel-message .panel-heading.heading--maint-open .panel-title .item-title { color: #fff; }

/* Make disabled next button visually distinct */
.btn.disabled,
.btn:disabled { opacity: 0.6; pointer-events: none; }

/* Fresh timeline styles */
.timeline-modern {
	position: relative;
	padding-left: 42px; /* space for line + dot */
}
.timeline-modern::before {
	content: '';
	position: absolute;
	left: 22px; /* centered under dot (dot size 14 + border) */
	top: 0;
	bottom: 0;
	width: 2px;
	background: #d0d0d0;
}
.timeline-modern__item {
	position: relative;
	margin: 14px 0;
}
.timeline-modern__dot {
	position: absolute;
	left: 15px;
	top: 6px; /* aligns with summary content */
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #999;
	border: 3px solid #fff; /* ring for contrast */
	box-shadow: 0 0 0 1px rgba(0,0,0,0.12); /* subtle outline */
}
.timeline-modern__card {
	margin-left: 24px; /* clear dot */
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}
.timeline-modern__card > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
}
.timeline-modern__card[open] > summary { border-bottom-color: transparent; }
.timeline-modern__card > summary::-webkit-details-marker { display: none; }
.timeline-modern__time {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #495057;
}
.timeline-modern__service {
	color: #0a58ca;
	text-decoration: underline;
	font-weight: 600;
}
.timeline-modern__service:hover { color: #084298; }
.timeline-modern__label {
	margin-left: auto;
	font-size: 12px;
	color: #6c757d;
	background: #f1f3f5;
	border: 1px solid #e9ecef;
	padding: 2px 8px;
	border-radius: 999px;
}
.timeline-modern__body { padding: 12px; color: #333; }

/* Status colours applied to dot and card accent */
.timeline-modern__item.status-0 .timeline-modern__dot { background: #28a745; }
.timeline-modern__item.status-1 .timeline-modern__dot { background: #b71c1c; }
.timeline-modern__item.status-2 .timeline-modern__dot { background: #ff9800; }
.timeline-modern__item.status-3 .timeline-modern__dot { background: #0d6efd; }
.timeline-modern__item.status-4 .timeline-modern__dot { background: #17a2b8; }

/* Gap separator */
.timeline-modern__gap {
	position: relative;
	margin: 10px 0;
	padding: 6px 0;
}
.timeline-modern__gap::after { content: none; }
.timeline-modern__gap-label {
	display: inline-block;
	margin-left: 24px;
	background: #fff;
	border: 1px solid #e8e8e8;
	color: #6c757d;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Responsive tweaks */
@media (max-width: 575px) {
	.timeline-modern { padding-left: 36px; }
	.timeline-modern__dot { left: 12px; }
	.timeline-modern::before { left: 20px; }
	.timeline-modern__card > summary { flex-wrap: wrap; gap: 6px; }
	.timeline-modern__label { margin-left: 0; }
}

/* Legend styles */
.timeline-modern__legend { display: flex; gap: 12px; align-items: center; margin: 8px 0 16px; }
.timeline-modern__legend-item { display: inline-flex; align-items: center; gap: 8px; color: #6c757d; font-size: 13px; }
.timeline-modern__legend-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }

/* Horizontal Incident Stream tweaks: ensure wrapper scrolls and dragging cursor */
.incident-stream-container { margin: 8px 0 18px; }
.incident-stream-wrap { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.incident-stream-wrap.dragging { cursor: grabbing; }
.incident-stream-wrap .anx-stream { display: inline-flex; align-items: center; margin-right: 12px; }

/* 12-month timeline axis and items */
.timeline-12m-container { margin: 10px 0 20px; }
.timeline-12m-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; cursor: grab; }
.timeline-12m-wrap.dragging { cursor: grabbing; }
.timeline-12m-axis { position: relative; height: 48px; border-bottom: 1px solid #e5e5e5; }
.timeline-12m-month { position: absolute; top: 0; width: 1px; height: 48px; background: #eee; }
.timeline-12m-month .label { position: absolute; top: 8px; left: 8px; color: #6c757d; font-size: 12px; white-space: nowrap; }
.timeline-12m-month-seps { position: absolute; top: 48px; left: 0; height: 320px; width: 100%; z-index: 1; pointer-events: none; }
.timeline-12m-month-sep { position: absolute; top: 0; width: 1px; height: 320px; background: rgba(0,0,0,0.16); }
.timeline-12m-weeks { position: absolute; top: 48px; left: 0; height: 320px; width: 100%; z-index: 0; pointer-events: none; }
.timeline-12m-week { position: absolute; top: 0; height: 320px; background: rgba(0,0,0,0.02); border-left: 1px solid rgba(0,0,0,0.03); border-right: 1px solid rgba(0,0,0,0.03); }
.timeline-12m-week.alt-1 { background: rgba(0,0,0,0.045); }
.timeline-12m-week .day-label { position: absolute; bottom: 6px; left: 6px; font-size: 12px; color: #6c757d; }
.timeline-12m-items { position: relative; height: 320px; z-index: 2; }
.timeline-12m-item { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #0d6efd; border-radius: 6px; padding: 6px 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); height: 32px; white-space: nowrap; }
.timeline-12m-item .time { font-size: 12px; color: #6c757d; }
.timeline-12m-item .text { font-size: 13px; color: #333; }
/* Filter modes for timeline */
.timeline-12m-items[data-mode="incidents"] .kind-maint { display: none; }
.timeline-12m-items[data-mode="maintenance"] .kind-incident { display: none; }
/* Pins removed */
/* .timeline-12m-pins, .timeline-12m-pin removed per design */
/* (cleanup) remove ::after blob */
/* Color variants via existing anx-stream-status-* classes */
.timeline-12m-item.anx-stream-status-0 { border-color: #28a745; }
.timeline-12m-item.anx-stream-status-1 { border-color: #b71c1c; }
.timeline-12m-item.anx-stream-status-2 { border-color: #ff9800; }
.timeline-12m-item.anx-stream-status-3 { border-color: #0d6efd; }
.timeline-12m-item.anx-stream-status-4 { border-color: #17a2b8; }

/* Hide horizontal scrollbar but keep scroll/drag behavior */
.timeline-12m-wrap { scrollbar-width: none; -ms-overflow-style: none; }
.timeline-12m-wrap::-webkit-scrollbar { display: none; }