section
{
	padding: 50px;
}

h2 ~ a
{
	display: inline-block;
	margin: 10px 0 20px 0;
}

h2 + h3
{
	margin: 20px 0 30px 0;
}

h3
{
	margin: 0 0 20px 0;
	font-size: 1.2em;
	font-weight: normal;
	color: var(--bleu);
	clear: both;
}

h3 ~ a
{
	padding: 10px;
	margin: 20px 30px 0 0;
	border: solid 2px var(--bleu);
	border-radius: 10px;
	text-decoration: none;
	color: var(--bleu);
}

h3 ~ a:nth-of-type(3), h3 ~ a:nth-of-type(4)
{
	border: solid 2px var(--rouge);
	color: var(--rouge);
}

a.bouton
{
	border: 0;
}

a.fermer
{
	display: block;
	width: 80px;
	padding: 5px;
	margin: 40px auto 0 auto;
	text-align: center;
}

.bleu
{
	color: var(--bleu);
}

.sr
{
	color: var(--rouge);
}

section > p
{
	padding: 50px;
	margin: 50px;
	background: var(--bleu);
	color: var(--blanc);
}

p.msg
{
	padding: 20px;
	margin: 0;
	background: var(--bleu);
	color: var(--blanc);
}

section > p > a
{
	display: block;
	width: 160px;
	padding: 10px;
	margin: 20px auto;
	background: var(--rouge);
	color: var(--blanc);
	text-decoration: none;
	border-radius: 10px;
}

section > a
{
	display: inline-block;
	width: 279px;
	height: 25px;
	line-height: 25px;
	padding: 10px;
	background: var(--beige);
	border-radius: 25px 25px 0 0;
	border-bottom: solid 1px var(--bleuclair);
	text-decoration: none;
}

section > a:nth-of-type(2n)
{
	display: none;
}

section > a:first-of-type, section > a:nth-of-type(2)
{
	margin-right: 2px;
}

section > a:nth-of-type(2), section > a:nth-of-type(3)
{
	background: var(--bleu);
	color: var(--blanc);
}

#connect:target, #connect:target + a + a, #new:target + a + a, #new:target + a + a + a + a
{
	display: inline-block;
}

#connect:target + a, #connect:target + a + a + a, #new:target + a, #new:target + a + a + a
{
	display: none;
}

.partie
{
	display: none;
	padding: 30px;
	margin-top: 20px;
	background: var(--beige);
}

.partie:target
{
	display: block;
}

form
{
	width: 500px;
	padding: 50px;
	margin: 0 auto;
	background: var(--beige);
}

#sec > form + form, #connect:target ~ form:nth-of-type(2), #new:target ~ form:first-of-type
{
	display: none;
}

#connect:target ~ form:first-of-type, #new:target ~ form:nth-of-type(2)
{
	display: block;
}

div > form
{
	width: auto;
}

label
{
	display: inline-block;
	width: 300px;
	margin-bottom: 5px;
}

input
{
	width: 280px;
	padding: 2px 10px;
	margin-bottom: 30px;
	font-size: 1em;
	border: none;
	border: solid 2px transparent;
	outline: 0;
}

input:invalid
{
	outline: double 3px var(--rouge);
}

input:focus
{
	border-bottom: solid 2px var(--bleu);
}

input:required:focus
{
	border-bottom: solid 2px var(--rouge);
}

input[type="submit"]
{
	width: 180px;
	height: 34px;
	border: solid 2px var(--rouge);
	background: var(--beige);
	border-radius: 8px;
}

input[type="submit"]:focus
{
	background: var(--rouge);
	color: var(--blanc);
}

input[type="button"]
{
	width: auto;
	height: 34px;
	margin: 0 0 0 20px;
	border: solid 2px var(--bleu);
	background: var(--beige);
	border-radius: 8px;
	font-size: 1em;
}

input:disabled
{
	border: solid 2px var(--blanc);
	color: var(--blanc);
}

input + span
{
	display: block;
	color: var(--rouge);
}

img
{
	width: 150px;
	margin: 0 20px 30px 0;
	vertical-align: middle;
}

select
{
	margin-bottom: 30px;
	font-size: 1em;
}

#compte, form#deconnexion
{
	display: block;
	width: auto;
	margin: 0 50px;
	text-align: left;
}

form#deconnexion
{
	text-align: center;
}

#compte p
{
	margin-top: 20px;
}

#compte p input
{
	width: auto;
	margin: 10px 0 0 20px;
	vertical-align: baseline;
}

#compte p a input
{
	margin: 20px 0 0 0;
}

#compte p input[type="submit"]
{
	margin: 80px 0 0 0;
}

a.abonnement
{
	display: inline-block;
	width: 200px;
	padding: 25px;
	margin: 20px;
	background: var(--rouge);
	border-radius: 10px;
	text-decoration: none;
	color: var(--blanc);
	font-size: 1.2em;
	cursor: pointer;
}

#abo
{
	padding: 20px 70px;
	margin-top: 50px;
	margin-bottom: 50px;
	background: var(--rouge) url('../img/conseil.png') center left 10px no-repeat;
	background-size: 50px;
	color: var(--blanc);
}

ul
{
	padding: 40px 50px;
	margin-top: 20px;
	background: var(--beige);
	list-style: url('../img/cadenas.png');
	text-align: center;
}

li
{
	margin-top: 15px;
	text-align: left;
}

p#m, p#mp
{
	display: inline-block;
}

@keyframes apparition
{
  from { background-color: var(--rouge); }
  to { background-color: var(--beige); }
}

#verrou
{
	margin-bottom: 50px;
}

#abonnements > p:first-of-type, #verrou > p:first-of-type
{
	padding: 20px;
	text-align: center;
	background: var(--blanc);
}

#abonnements img
{
	display: inline-block;
	width: 50px;
	margin: 0 10px 0 0;
	vertical-align: middle;
}

#verrou input
{
	width: auto;
	margin: 10px 0 0 20px;
	vertical-align: baseline;
}

#verrou input[type="submit"]
{
	display: block;
	padding: 0 20px;
	margin: 80px auto 0 auto;
}

#facture
{
	padding: 20px;
	margin: 20px 0 50px 0;
	border: solid 1px var(--sombre);
}

#facture ul
{
	padding: 0 20px;
	margin-top: 0;
	list-style: disc;
	background: none;
}

li
{
	margin-top: 15px;
}

table
{
	margin: 20px 0;
	background: var(--blanc);
}

tr:nth-of-type(2n+1)
{
	background: var(--beige);
}

td
{
	padding: 5px;
	border-top: solid 1px var(--blanc);
	border-bottom: solid 1px var(--blanc);
}

td:nth-of-type(5), td:nth-of-type(6)
{
	text-align: right;
}

td:nth-of-type(7)
{
	text-align: center;
	background: var(--blanc);
}

td:nth-of-type(7) a
{
	color: var(--rouge);
}

tr:nth-of-type(2n+1) td
{
	border-top: solid 1px var(--beige);
	border-bottom: solid 1px var(--beige);
}

tr:first-of-type td
{
	text-align: center;
	background: var(--bleu);
	color: var(--blanc);
	border: 0;
}