:root {
	--clr: hsl(207, 68%, 42%);
}

#timer {
	color: red;
	position: fixed;
	right: 0;
	top: 0;
}
#timer a:link,
#timer a:visited {
	color: red;
}


#lockreason {
	display: inline-block;
	width: 22em;
	height: 1.5em;
}

#search_aire {
	display: block;
	margin: 1em;
}

#search_aire::before {
	content: '\e8b6';
}

body {
	font-family: arial;
	font-size: 16px;
}

*:disabled {
	color: 	hsl(0, 0%, 33%);
}

#id + input {
	margin-right: 1em;
}

#main {
	padding: 1em 10em;
	background: linear-gradient(to bottom, hsl(60, 100%, 97%), hsl(180, 33%, 80%));
	background-attachment: fixed;
}

#help {
	color: green;
	text-decoration:none;
	padding: .2em;
	border: 1px solid green;
}
#help:hover {
	color: black;
	border-color: black;
}
.help {
	display: none;
	margin: 1em;
	color: green;
}
.help.show {
	display: block;
}

.img-icon {
	filter: invert(1) sepia() saturate(10000%) brightness(28%) hue-rotate(182deg);
	background-size: 1.2em;
	position: relative;
	left: 2px;
}
.font-icon {
	color: hsl(245, 41%, 38%);
}

#info-map {
	top: 16rem;
	left: 50%;
}

#main select, form input, #main textarea {
	border-radius: 8px;
	border-color: lightgray;
	margin: .5em;
}

form > input, #adresse, #pays {
	width: 14em;
}

/* NOUVEAU LOGO */
.new {
	display: none;
	width: 60px;
	vertical-align: middle;
}

.required {
	font-weight: bold;
}
.required::before {
	content: '*';
}

#visible-label {
	vertical-align: super;
}
#visible {
	height: 2em;
}

#ddlat, #ddlng,
#dmslat, #dmslng {
	width: 12em;
}

#pays, #pays_fixe, #pays_mobile {
	text-transform: capitalize;
}
#monnaie {
	text-transform: uppercase;
}

h1 {
	font-size: 1.5em;
	display: inline-block;
	margin: .5em 6%;
}
h2 {
	margin-top: 2em;
	font-size: 1.2em;
}
header h3 {
	display: inline-block;
	margin: 0 0 1em 1em;
	font-size: 1.0em;
}
#tarifs h3 {
	display: inline-block;
	margin-right: 1em;
}

h1, h2, h3 {
	text-transform: uppercase;
	font-weight: normal;
}

label, h1, h2, h3 {
	color: hsl(0, 0%, 20%);
}

a#email, a#site {
	font-size: .8em;
	vertical-align: top;
}
#site {
	width: 25em;
	height: 2.5em;
}

.warn{
	font-weight: bold;
	margin: 1em 0;
	color: red;
	font-size: smaller;
}

#commune {
	text-transform: uppercase;
}

input:invalid {
	border-color: gray;
	border-style: groove;
}

.typeAire {
	margin: 1em 0;
}
.typeAire img {
	width: 20px;
}
.typeAire > img {
	vertical-align: middle;
}
div.dyn {
	margin: 0;
}

#nomAire {
	width: 20em;
}

form > label {
	display: inline-block;
	width: 10em;
}

.coord {
	margin-top: .5em;
}

form > div > label {
	font-weight: bold;
}

input.small {
	display: inline-block;
	width: 4em;
	height: 2em;
}

input[name=typeAire]:checked ~ #form {
	border: 2px dashed lightblue;
	display: block;
}
#form {
	padding: 0 1em;
	display: none;
}

#form input[type=radio] {
	margin-left: 1.5em;
}
#main #ampere, #main #duree, #main #dateDebut {
	margin-right: 2em;
}
.ou {
	font-weight: bold;
	margin: 0 1em;
}

#places, #dureeMaxi {
	margin: 1em;
}

input#acAire[name=typeAire]:checked ~ #form .dureeMaxi,
input#acsAire[name=typeAire]:checked ~ #form .dureeMaxi,
input#asAire[name=typeAire]:checked ~ #form .dureeMaxi,
input#acfAire[name=typeAire]:checked ~ #form .dureeMaxi {
	display: none;
}
input#asAire[name=typeAire]:checked ~ #form .places {
	display: none;
}

#annee:checked ~ #dates,
#inconnue:checked ~ #dates {
	display: none;
}
#gratuitInconnu:checked ~ #payant,
#gratuitOui:checked ~ #payant {
	display: none;
}
#euro:checked ~ #monnaie {
	display: none;
}
#electricite:not(:checked) ~ label + span {
	display: none;
}
#eau:not(:checked) ~ label + span {
	display: none;
}
#wifi:not(:checked) ~ label + span {
	display: none;
}

form .multi-select-button {
	max-width: unset;
}

#typePrixElec1:not(:checked) ~ .elecType1,
#typePrixElec2:not(:checked) ~ .elecType2,
#tarifs input[name=tarif]:not(:checked) ~ *,
#tarifs input[type=checkbox]:not(:checked) ~ * {
	color: grey;
}
#tarifs input[name=tarif]:not(:checked) + label ~ *,
#tarifs input[type=checkbox]:not(:checked) + label ~ * {
	display: none;
}
#divElec div {
	margin: 0 0 0 7em;
}

#commentaire, #complementaires, #commentairesGest {
	display: block;
	width: 30em;
	height: 5em;
}

iframe {
	border: none;
	width: 100%;
	height: 65em;
}

.add-post {
	display: block;
	width: 12em;
	padding: 1em;
	margin: auto;
	text-align: center;
	font-weight: bold;
	color: darkblue;
	text-decoration: none;
	border: 1px dashed darkblue;
}
.add-post:hover {
	color: white;
}

.modified {
	outline: 3px solid red;
}

#print {
	font-weight: bold;
	padding: 1em;
	color: white;
	background: green;
}

@media screen and (max-width: calc(1280px - 1px - 8px)) {	/* 8px for Edge margins */
	* {
		text-shadow: none;
	}

	body {
		margin: 0;
	}

	h1 {
		margin: .5em;
	}

	h3 {
		font-size: .9em;
	}

	#main {
		padding: 1em;
	}

	#commentaires, #commentairesGest {
		width: 100%;
	}
}

@media print {
	#ads, #menu, #submenu, .id, #mapDiv, #print {
		display: none;
	}
	.typeAire:has(> input:not(:checked)) {
		display: none;
	}

	#main {
		padding: 0;
	}

	#nomAire, #adresse, #commune, #email, #site {
		width: 30rem;
	}
	#site {
		height: 5rem;
	}

}
