div#carrousel {
	&:first-child {
		margin-top: -2rem;
	}
	border: none;
}

div.carrousel-content {
	position: relative;
	height: 550px;
	@media screen and (max-width: $desktop-limit) {
		height: 300px;
	}
	overflow: hidden;
	input {
		visibility: hidden;
	}
	input + div {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		pointer-events: none;
		transition: opacity ease 0.5s;
		div.carrousel-item {
			display: table;
			position: relative;
			background-position: center center;
			width: 100%;
			height: 100%;
			background-size: cover;
			padding: 10px;
			&::after {
				content: "";
				display: block;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
				position: absolute;
				background: black;
				opacity: 0.3;
			}
			div.carrousel-item-content {
				display: table-cell;
				vertical-align: middle;
				position: relative;
				z-index: 100;
				line-height: 110%;
				* {
					max-width: 600px;
					margin-left: auto;
					margin-right: auto;
				}
			}
			@media screen and (max-width: $desktop-limit) {
				padding-top: 10px;
			}
			color: white;
			font-size: 120%;
			h2, h2:first-child {
				line-height: 125%;
				text-transform: uppercase;
				background: transparent;
				font-size: 2rem;
				line-height: 120%;
				@media screen and (min-width: $desktop-limit) {
					font-size: 3rem;
				}
				font-weight: bold;
				color: $red;
				&:first-line {
					color: white;
				}
			}
			p {
				text-transform: none;
			}
			text-align: center;
		}
	}

	input:checked + div {
		opacity: 1;
		pointer-events: auto;
	}

	div.carrousel-nav {
		position: absolute;
		bottom: 10px;
		text-align: center;
		width: 100%;
		height: 20px;
		z-index: 100;
		label {
			display: inline-block;
			margin: 0 10px;
			width: 10px;
			height: 10px;
			border: 1px solid #fff;
			border-radius: 50%;
			cursor: pointer;
			transition: background-color 0.25s;
			&:focus {
				outline: 1px dotted #aaa;
			}
		}
	}
	a.carrousel-left,
	a.carrousel-right {
		display: block;
		position: absolute;
		top: calc(50% - 3rem);
		color: white;
		height: 6rem;
		line-height: 6rem;
		width: 6rem;
		cursor: pointer;
		z-index: 1000;
		text-align: center;
		&::after {
			font-family: FontAwesome;
			font-size: 1.5rem;
		}
		&.carrousel-left {
			left: 1ex;
			&::after {
				content: "\f053";  // chevron-left;
			}
		}
		&.carrousel-right {
			right: 1ex;
			&::after {
				content: "\f054";  // chevron-right;
			}
		}
		@media screen and (max-width: $desktop-limit) {
			display: none;
		}
	}

	@for $i from 1 through 10 {
		.carrousel-radio-#{$i}:checked ~ .carrousel-nav label.carrousel-label-#{$i} {
			background-color: $red;
		}
	}

}

@media screen and (max-width: $desktop-limit) {
	div#content.gru-content div#carrousel {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
	}
}
