/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	box-sizing: border-box;
}
/******** End reset *********/

body {
	font-family: 'Titillium Web', sans-serif;
}

#map {
	width: 100%;
	height: 500px;
}
header {
	display: flex;
	background: rgb(172,7,22);
	background: -moz-linear-gradient(top, rgba(172,7,22,1) 0%, rgba(107,2,12,1) 100%);
	background: -webkit-linear-gradient(top, rgba(172,7,22,1) 0%,rgba(107,2,12,1) 100%);
	background: linear-gradient(to bottom, rgba(172,7,22,1) 0%,rgba(107,2,12,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ac0716', endColorstr='#6b020c',GradientType=0 );
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #fff;
}
.logo_ave {
	max-width: 200px;
	padding-left: 20px;
}
.fb-share-button {
	padding-right: 20px;
}
strong {
	font-weight: bold;
}
nav {
	background: #54ac3a;
	padding: 5px 20px;
	display: flex;
	justify-content: space-between;
}
nav img {
	height: 40px;
}
.flex-container {
	display: flex;
}
h1 {
	font-family: 'Abel', sans-serif;
	text-align: center;
	text-shadow: 3px 2px 0 #640408 ;
	position: relative;
	font-weight: bold;
	font-size: 56px;
	padding: 10px 0;
	padding-top: 0;
	color: #FFF;
	z-index: 10
}
h1:after {
  content:" Les vignettes à ne surtout pas oublier ";
  position: relative;
  margin-top: -51px;
  margin-left: -52px;
  background-image: -webkit-linear-gradient(left top, transparent 0%, transparent 25%, #555 25%, #555 50%, transparent 50%, transparent 75%, #555 75%);
  background-size: 4px 4px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1;
  display: none;
  text-shadow: none;
}
.mapboxgl-popup-content  h3,h4 {
	font-family: 'Abel', sans-serif;
	/*text-shadow: #640408 3px 2px 0;*/
	position: relative;
	font-size: 24px;
	margin: 5px 0;
	color: #FFF;
}
.mapboxgl-popup-content  {
	max-width: 600px;
	border-radius: 30px !important;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8) !important;
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 16px;

}
.mobile-content-container {
	border-radius: 0 0 30px 30px;
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 16px;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
	background: #fff;
}
.mapboxgl-popup-close-button {
	padding-top: 13px;
	padding-right: 21px;
	font-size: 30px;
	z-index: 1000;
}
.mapboxgl-popup-content h3, .mobile-content-container h3 {
	text-align: center;
	border-bottom: 2px solid #111;
	padding-bottom: 5px;
	margin-bottom: 20px;
	font-size: 32px;
	padding-right: 42px;
	padding-left: 10px;
	color: #111;
}
.map-container {
	position: relative;
}
.filter-container {
	position: absolute;
	top: 5px;
	left: 5px;
	background: rgb(60,60,60);
	background: -moz-linear-gradient(top, rgba(60,60,60,1) 0%, rgba(38,38,38,1) 100%);
	background: -webkit-linear-gradient(top, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%);
	background: linear-gradient(to bottom, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%);
	z-index: 1000;
	border-radius: 30px;
	padding: 20px;
	cursor:move;
	box-shadow: 0px 10px 1px #111, 0 10px 20px #222;
}
.mapboxgl-popup-content tr:last-of-type, .mobile-content-container tr:last-of-type {
	border: 0;
}
.mapboxgl-popup-content td, .mobile-content-container td {
	padding: 5px 0;
}
.mapboxgl-popup-content tr td:nth-child(2), .mobile-content-container tr td:nth-child(2) {
	max-width: 300px;
	padding-left: 10px;
}
.mapboxgl-popup-content table, .mobile-content-container table {
	line-height: 1.2em;
	color: #fff !important;
}
.mapboxgl-popup-content a, .mobile-content-container a {
	color: rgba(125,185,232,1);
	font-weight: bold;
}
.mobile-content-container {
	display: none;
	font-size: 12px;
	max-height: 50vh;
	overflow-y: auto;
	position: relative;
	z-index: 100;
}
.filter-item.inline {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.mapboxgl-ctrl-geocoder {
	min-width: 0 !important;
	width: 127px !important;
}
@media screen and (max-width: 800px) {
	header {
		flex-direction: column;	
		padding: 10px;
	}
	h1 {
		font-size: 32px;
		padding-bottom: 10px;
	}
	h1:after {
		display: none;
	}
	#map {
		margin-top: -20px;
		z-index: 10;
	}
	.mobile-content-container {
		display: none;
		padding: 10px 20px;
	}
	.mobile-content-container h3 {
		text-align: center;
		color: #000;
	}
	.mapboxgl-popup-content tr td:nth-child(2) {
		max-width: 200px;
		padding-left: 10px;
	}
	.filter-container {
    position: relative;
    top: 0;
    left: 0;
    background: -moz-linear-gradient(top, rgba(60,60,60,1) 0%, rgba(38,38,38,1) 100%) !important;
	background: -webkit-linear-gradient(top, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%) !important;
	background: linear-gradient(to bottom, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%) !important;
    z-index: 1000;
    border-radius: 0 0 30px 30px;
    padding: 20px;
    cursor: default;
    box-shadow: 0px 10px 1px #111, 0 10px 20px #222;
		display:flex; 
		justify-content: space-between;
}
	.filter-item:last-of-type {
		padding-left: 10px;
	}
	.mapboxgl-popup-content {
		max-width: 80% !important;
	}
	.logo_ave {
		max-width: 150px;
		padding-left: 0;
	}
	.fb-share-button { padding-right: 0; z-index: 1000;}
	.mapboxgl-popup-content  {
	max-width: 600px;
	border-radius: 30px !important;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8) !important;
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 16px;
	background: -moz-linear-gradient(top, rgba(60,60,60,1) 0%, rgba(38,38,38,1) 100%) !important;
	background: -webkit-linear-gradient(top, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%) !important;
	background: linear-gradient(to bottom, rgba(60,60,60,1) 0%,rgba(38,38,38,1) 100%) !important;
}
	.filter-item.inline {
		flex-direction: column;
	}
	.filter-container {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.filter-container select {
		    height: 40px;
    	border-radius: 5px;
	}
	.mapboxgl-ctrl-top-right {
		top: 25px !important;
	}
	#map {
		height: 90vh !important;
	}
}
