:root {
	--dark-blue: #334D55;
}

html {
	background-color: var(--dark-blue);
	scroll-behavior: smooth;
}

body {
	font: 100% Verdana, sans-serif, Arial, Helvetica;
	margin: 0;
	color: #000;
	line-height: 1.1;
	font-size: 14px;
}

h1 {
	font-variant-caps: small-caps;
	color: var(--dark-blue);
	font-size: 20px;
}

.hr {
	border-bottom: 1px solid gray;
}

a.no-link:hover {
	color: unset !important;
	background: unset !important;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

main {
	background-color: #FFF;
}

#accueil {
	margin: 2%;
	padding: 1rem;
	border: 1px var(--dark-blue) solid;
	border-radius: 5px;
	box-shadow: 3px 3px 50px -5px #000;
	text-align: center;
}

#accueil-title {
	font-variant-caps: small-caps;
	font-size: 1.4rem;
	border-bottom: 1px solid var(--dark-blue);
}

.card {
	margin: 2rem;
	padding: 1rem;
	border: 1px var(--dark-blue) solid;
	border-radius: 10px;
	box-shadow: 3px 3px 10px -5px #000;
}

.card-title {
	font-variant-caps: small-caps;
	font-size: 1.1rem;
	border-bottom: 1px solid var(--dark-blue);
}

.grid {
	display: inline-grid;
	grid-template-columns: repeat(2, 1fr);
}

.grid-item:nth-child(x) {
	grid-column: x;
}

.d-none {
	display: none;
}

.list {
	text-align: left;
	list-style: inside;
	padding-left: 1rem;
}

.list>li {
	margin-top: 3px;
	margin-left: 1.2rem;
}

/* ######################## Plan.php ######################## */

#plan {
	margin: 2%;
	padding: 1rem;
	border: 1px var(--dark-blue) solid;
	border-radius: 5px;
	box-shadow: 3px 3px 50px -5px #000;
	text-align: center;
}

#plan table {
	margin: 0 auto;
}

#menu_carto {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding-bottom: 5px;
	border-bottom: 1px solid #999;
}

#menu_carto input:last-child {
	position: absolute;
	right: 0;
	width: 30%;
	padding: 15px;
	border: none;
	font-weight: bold;
	font-variant-caps: small-caps;
}

#menu_carto img {
	display: flex;
	margin: 1px;
	padding: 5px;
}

#menu_carto img {
	width: 33px;
	cursor: pointer;
}

#menu_carto input[type=image] {
	width: 33px;
}

#plan table input[type=image]:not(#mapa) {
	width: 50px;
	transition: .4s;
	-webkit-transition: .4s;
}

#plan table input[type=image]:hover:not(#mapa) {
	width: 50px;
	filter: invert(50%);
}

#mapa {
	box-shadow: 3px 3px 50px -5px #000;
	background-color: #000;
}

.nav_carto {
	margin: 5px;
}

/* ##################### Style de la table uniquement recherche ##################### */

input[type=text],
select {
	width: 100%;
	padding: 12px 20px;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
	transition: .4s;
}

input[type=text]:focus,
select:focus {
	border: 1px solid #000;
}

input[type=text]:hover,
select:hover {
	border: 1px solid #000;
	cursor: pointer;
}

.table {
	width: 100%;
	margin: 0 auto;
	font-size: 16px;
	border-collapse: collapse;
	font-variant-caps: small-caps;
}

.table thead {
	background-color: var(--dark-blue);
	color: white;
	font-weight: bold;
}

.table tr:nth-child(even) {
	background-color: #f2f2f2;
}

.table tbody>tr:hover {
	background-color: #ddd;
	transition: .4s;
	-webkit-transition: .4s;
}

.table td {
	border: 1px solid gray;
	padding: 12px 0;
}

.colspan-left {
	border-right: unset !important;
}

.colspan-middle {
	border-right: unset !important;
	border-left: unset !important;
}

.colspan-right {
	border-left: unset !important;
}

.table a {
	text-decoration: none;
	color: blue;
	transition: .4s;
	-webkit-transition: .4s;
}

.table a:hover {
	color: #000;
	transition: .4s;
	-webkit-transition: .4s;
}

th {
	font-variant-caps: small-caps;
}

/* ######################### Buttons ######################## */

.red {
	background-color: red;
}

.green {
	background-color: green;
}

.button {
	display: inline-block;
	border-radius: 3px;
	border: none;
	color: #FFFFFF;
	text-align: center;
	font-size: 14px;
	padding: 10px;
	width: 100%;
	cursor: pointer;
	margin: 5px;
}

.button span {
	cursor: pointer;
	display: inline-block;
	position: relative;
	transition: .4s;
}

.return span:before {
	content: '\00ab';
	position: absolute;
	opacity: 0;
	top: 0;
	left: 20px;
	transition: .2s;
}

.return:hover span {
	padding-left: 25px;
}

.forward span:after {
	content: '\00bb';
	position: absolute;
	opacity: 0;
	top: 0;
	right: 20px;
	transition: .2s;
}

.forward:hover span {
	padding-right: 25px;
}

.return:hover span:before {
	transition: .4s;
	opacity: 1;
	left: 0;
}

.forward:hover span:after {
	opacity: 1;
	right: 0;
	transition: .4s;
}

.search {
	display: inline-block;
	border-radius: 3px;
	border: none;
	color: #000;
	text-align: center;
	font-size: 18px;
	padding: 10px;
	width: 100%;
	cursor: pointer;
	margin: 5px;
	transition: .4s;
}

.search:hover {
	background-color: #334D55;
	color: #FFF;
}

.fa {
	font-variant-caps: small-caps;
}

input.noselect {
	border-style: hidden;
	color: #334d55;
	font-size: 16px;
	font-weight: 700;
}

.noselect {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
	cursor: pointer !important;
	pointer-events: none !important;
}