.n-storylines__heatmap-segment {
	text-decoration: none;
	width: 100%;
	margin-top: 10px;
	text-align: center;
	position: relative;
	@include oGridRespondTo($until: M) {
		min-width: 50px;

		&:first-of-type {
			margin-left: 25px;
		}

		&:last-of-type {
			padding-right: 25px;
		}
	}
}

.n-storylines__heatmap-segment-none {
	background: none;
	height: 50px;
}

.n-storylines__heatmap-segment-colour {
	background: oColorsGetPaletteColor('claret');
	height: 100%;
}

.n-storylines__summary {
		display: none;
		text-align: left;
		white-space: nowrap;
		position: absolute;
		top: 75px;
		transform: translate(-50%, -50%);
		padding: 8px 5px 0;
		font-size: 10px;
		line-height: 3px;
		background: white;
		border-radius: 2px;
		box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.5);
		z-index: 1;
		> .n-storylines__bold {
			font-weight: bold;
		}
}

.n-storylines__heatmap-segment-colour--background {
	height: 50px;
	background: $background;
	border: 0;
	box-sizing: border-box;
	&.n-storylines__heatmap-segment--all {
		&:hover,
		&:focus {
			border: 1px solid;
			cursor: pointer;
			+ .n-storylines__summary {
				@include oGridRespondTo(M) {
					display: inline-block;
				}
			}
		}
	}
}


.n-storylines__heatmap-segment-name {
	@include oTypographySans(-2);
	color: $opaque;
	position: relative;
	margin: 10px 0 5px;
	@include oGridRespondTo($until: M) {
		&::before {
			counter-increment: dot;
			content: '';
			position: absolute;
			top: -95%;
			left: 45%;
			background-color: $background;
			border: 1px solid $opaque;
			border-radius: 100%;
			height: 9px;
			width: 9px;
		}
	}
}

.no-articles {
	opacity: 0.6;
}
