// hide the slider until it's working so ALL the slides don't show
.intranet-slider:not(.flickity-enabled) {
	visibility: hidden;
	height: 345px;
}
.intranet-slider {
	width: 100%;
	position: relative;
	font-size: 70%;
	max-height: 357px;
	margin-bottom: 15px;
	
	@media screen and (min-width: $bp-laptop) {
		font-size: 100%;
	}
	@media screen and (min-width: $bp-tablet) {
		font-size: 80%;
	}
}
.intranet-slide {
	position: relative;
	width: 100%;
	img {
		width: 100%;
		height: auto;
		display: block;
	}
}
.intranet-slide-title-container {
	background-color: $color-accent;
	width: 100%;
	a {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		display: block;
		z-index: 3;
	}
	.no-touch &:hover .intranet-slide-button {
		background-color: $color-primary;
		color: white;
	}
	@media screen and (min-width: $bp-tablet) {
		font-size: 80%;
		position: absolute;
		right: 0;
		bottom: 20px;
		width: 400px;
	}
	@media screen and (min-width: $bp-laptop) {
		font-size: 100%;
		width: 445px;
	}
}
.intranet-slide-title {
	padding: em(15);
	text-align: left;
	height: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	h2 {
		color: white;
		text-transform: uppercase;
		font-size: $font-medium;
		margin-bottom: 10px;
	}
	h3 {
		color: white;
		font-size: $font-xs;
		line-height: 1.2;
	}
	@media screen and (min-width: $bp-tablet) {
		display: block;
		height: auto;
		h2 {
			margin-bottom: 15px;
		}
	}
} 
.intranet-slide-button {
	width: 100%;
	display: block;
	padding: 10px 30px 10px 10px;
	text-align: right;
	background-color: $color-background;
	color: $color-primary;
	text-decoration: none;
	font-size: $font-xs;
	position: relative;
	text-transform: uppercase;
	transition: all .3s;
	&:after {
		@extend %pseudos;
		top: 0;
		bottom: 0;
		right: 15px;
		width: 5px;
		height: 10px;
		margin: auto;
		background-image: url('/img/icon-arrow.png');
		background-repeat: no-repeat;
		background-size: cover;
	}
}