#carrousel
{
	position: relative;
	left: 0;
	right: 0;
	height: 500px;
	opacity: 1;
}

#carrousel div
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0;
	opacity: 0;
	-webkit-animation: dissolve 20s linear infinite;
	-moz-animation: dissolve 20s linear infinite;
	-ms-animation: dissolve 20s linear infinite;
	animation: dissolve 20s linear infinite;
}

#carrousel div:nth-of-type(2)
{
	-webkit-animation-delay: 5s;
	-moz-animation-delay: 5s;
	-ms-animation-delay: 5s;
	animation-delay: 5s;
}

#carrousel div:nth-of-type(3)
{
	-webkit-animation-delay: 10s;
	-moz-animation-delay: 10s;
	-ms-animation-delay: 10s;
	animation-delay: 10s;
}

#carrousel div:nth-of-type(4)
{
	-webkit-animation-delay: 15s;
	-moz-animation-delay: 15s;
	-ms-animation-delay: 15s;
	animation-delay: 15s;
}

@keyframes dissolve
{
	0% { opacity: 0; }
	10% { opacity: 1; }
	30% { opacity: 1; }
	40% { opacity: 0; }
	100% { opacity: 0; }
}

h1
{
	margin-bottom: 20px;
	font-size: 2.25em;
	color: var(--jaune);
}

h2
{
	margin-bottom: 50px;
	font-size: 1.75em;
	color: var(--bleu);
}

#service
{
	padding: 100px;
	text-align: center;
}

#service p
{
	margin-top: 10px;
}

#service p:first-of-type
{
	font-size: 1.7em;
}

#service p:last-of-type
{
	margin-bottom: 40px;
}

#service a.vignette
{
	display: inline-block;
	width: 180px;
	height: 70px;
	padding: 180px 10px 0 10px;
	margin: 0 30px;
	text-decoration: none;
	color: #FF0000;
	background: top left 13px no-repeat;
	background-size: 354px 177px;
	vertical-align: top;
}

#service a.contenu
{
	display: none;
	position: relative;
	left: 0;
	right: 0;
	min-height: 200px;
	padding: 100px 300px 100px 100px;
	text-align: left;
	text-decoration: none;
	color: inherit;
	font-size: 1.1em;
	background: #DDDDDD center right 100px no-repeat;
	background-size: 200px auto;
}

#service a.contenu span
{
	display: block;
	margin-top: 20px;
	font-size: 0.9em;
}

#service a.vignette:target + a.contenu
{
	display: block;
}

#service a.vignette:hover
{
	background-position: top right 10px;
}

#service a:first-of-type
{
	background-image: url('../img/pont1.png');
}

#service a:nth-of-type(2)
{
	background-image: url('../img/roue1.png');
}

#service a:nth-of-type(3)
{
	background-image: url('../img/huile1.png');
}

#service a:nth-of-type(4)
{
	background-image: url('../img/ordi1.png');
}

#service a:nth-of-type(5)
{
	background-image: url('../img/clim3.png');
}

#service a:nth-of-type(6)
{
	background-image: url('../img/batterie2.png');
}

#rdv
{
	padding: 100px 50px;
	text-align: center;
	background: rgb(246, 246, 246);
}

#rdv div, #rdv form
{
	display: inline-block;
	width: 400px;
	margin: 0;
	vertical-align: top;
}

#rdv div
{
	padding: 15px 50px 50px 50px;
	line-height: 100px;
	font-size: 3em;
	color: #FF0000;
}

#rdv div a
{
	color: inherit;
	text-decoration: none;
}

#rdv form
{
	padding: 50px;
	border: solid 1px var(--bleu);
}

#rdv form span
{
	display: inline-block;
	padding: 5px 10px;
	color: #FF0000;
	border: solid 1px #FF0000;
	background: #FFFFFF;
}

#rdv form p
{
	display: inline-block;
	padding: 5px 10px;
	color: var(--vert);
	border: solid 1px var(--vert);
	background: #FFFFFF;
}

label
{
	display: inline-block;
	width: 150px;
	margin: 20px 20px 0 0;
	text-align: right;
	vertical-align: middle;
}

input, select
{
	width: 200px;
	margin-top: 20px;
	font-size: 1em;
	vertical-align: middle;
}

input[required]
{
	border-bottom: solid 1px #FF0000;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

input[type="submit"]
{
	width: 200px;
	margin: 30px 0 0 0;
}

#acces
{
	padding: 50px;
	text-align: center;
}

#acces div span
{
	font-weight: bold;
}

a#plan, a#zoom
{
	height: 500px;
	padding-top: 20px;
	margin: 20px 0;
	color: #000000;
	text-decoration: none;
	text-align: left;
}

a#plan
{
	display: block;
	background: url("../img/plane.jpg") bottom center no-repeat;
	background-size: contain;
}

a#zoom
{
	display: none;
	background: url("../img/planp.jpg") center no-repeat;
	background-size: contain;
}

a#zoom:target
{
	display: block;
}

a#zoom:target + #plan
{
	display: none;
}
