/* 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 *********/
.filter-container .search-container {
	
  float: top;
}
.filter-container .search-container input{
	
  width:100%;
}
.filter-container .search-container button:hover {
  background: #ccc;
}

.filter-container input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
}

.filter-container .search-container button {

  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
#txt-searchautocomplete-list
{
	
	z-index: 9999;
	width:100%;
	height: 100%;
	background-color: white;
	color:grey;
	
}

.autocomplete-items
{
	width:100%;
	height:100%;
	font-size: 1.2em;
	padding: 0.5em;
}
.autocomplete-items div{
		padding: 0.5em;
	}
body {
	font-family: 'Titillium Web', sans-serif;
}

#map {
	width: 100%;
	height: 500px;
}
header {
	display: flex;
	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;
    color: #111;
    font-weight: bold;
    font-size: 50px;
    text-align: center;
    color: #54AC3A;
    -webkit-text-stroke: inherit;
    -webkit-text-fill-color: inherit;
    color: #ff9920;
    background: -webkit-linear-gradient(left, #ff9920, #e535f9 40%, #e535f9 60%, #25dce8);
    background-size: 200% 100%;
    background-position: right 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-transition: background .6s;
    border: 2px solid transparent;
    -webkit-animation: in .3s;
	padding: 30px 0;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
}
h1:hover {
    background-position: 0 0;
    background: -webkit-linear-gradient(left, #ff9920, #e535f9 40%, #e535f9 60%, #25dce8);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-transition: background 0.6s;
}
.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;
	background: rgb(60,60,60);
	background: -moz-linear-gradient(top, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	background: -webkit-linear-gradient(top, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	background: linear-gradient(to bottom, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	color: #fff;

}
.mobile-content-container {
	border-radius: 0 0 30px 30px;
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 16px;
	background: rgb(60,60,60);
	background: -moz-linear-gradient(top, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	background: -webkit-linear-gradient(top, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	background: linear-gradient(to bottom, rgb(45, 150, 156) 0%,rgb(56, 203, 234) 100%) !important;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
}
.mapboxgl-popup-close-button {
	padding-top: 13px;
	padding-right: 21px;
	font-size: 30px;
	color: #fff;
	z-index: 1000;
}
.mapboxgl-popup-content h3, .mobile-content-container h3 {
	text-align: center;
	border-bottom: 2px solid #FFF;
	padding-bottom: 5px;
	margin-bottom: 20px;
	font-size: 32px;
	padding-right: 42px;
	padding-left: 10px;
	line-height: 1em;
}
.map-container {
	position: relative;
}

/*
*
*
*
*
*
*
*
*
*
*
*/
.filter-container {
	/*width:20%;*/
	position: absolute;
	top: 0px;
	left: 0px;
	background: rgba(232,16,164,1);
	background: -moz-linear-gradient(45deg, rgba(232,16,164,1) 0%, rgba(234,15,88,1) 100%) !important;
	background: -webkit-linear-gradient(45deg, rgba(232,16,164,1) 0%, rgba(234,15,88,1) 100%) !important;
	background: -o-linear-gradient(45deg, rgba(232,16,164,1) 0%, rgba(234,15,88,1) 100%) !important;
	background: -ms-linear-gradient(45deg, rgba(232,16,164,1) 0%, rgba(234,15,88,1) 100%) !important;
	background: linear-gradient(45deg, rgba(232,16,164,1) 0%, rgba(234,15,88,1) 100%) !important;
	z-index: 1000;
	border-radius: 0px;
	padding: 20px;
	cursor:move;
	box-shadow: 10px 10px 1px rgba(255,255,255,0.1), 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: #0d5c6d;
	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;
}

/*
*
*
*
*
*
*
*
*
*/



option{
	min-height: 48px;	
}

.filter-item .all, .filter-item .semaines{
	
}

.filter-container label,.filter-container select {
		    width: 100%;
    		border-radius: 0px;
			background-color: #fff;
			border-color: #fff;
			margin-top: 1%;
			cursor: pointer;
	}

.filer-item{
	cursor: pointer;
}

#select_province, #select_mois, #select_semaine{
	min-height: 48px;
	
}

#select_province *{
	font-weight: 48px;
	cursor: pointer !important;
}

/*--- select style from : https://stackoverflow.com/users/3709775/steven-iseki ---*/

select{
	-webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem;
}

.remarque-mobile{
	display: none;
}

.remarque-desktop{
	display: block;
}

#icon{
	display:none;
}
.logo_ave {
	width: 200px;
	height: 46px;
}
/*
*
*
*
*
*
*
*
*
*
*
*
*
*/
@media screen and (max-width: 800px) {

	body{
		max-width: 100%;
		max-height: 100%;
		height: auto;
		overflow-x: hidden;
	}
	#defaultCanvas0{
		height:100% !important;
	}
	
	.mobile-content-container{
		position:absolute;
		top:0;
		left:0;
		right:0;
		widht:100vh;
		max-width: 100%;
		box-sizing: content-box;
		padding: 0;
		padding-left:10px;
		padding-right:10px;
		margin:0;
		border-radius: 0px;
	}
	
	.mobile-content-container h3{
		font-size: 2em;
	}
	
	.mobile-content-container p{
		font-size: 1em;
	}
	
	#mycontent{
		font-size: 1em;
	}
	

	header {
		
		flex-direction: column;	
		padding: 0;
		margin:0;
		height: 100%;
		min-height: 100px;
		margin-top: 10px;
		border: none;
		z-index:999;
	}
	h1 {
		font-size: 32px;
		padding-bottom: 10px;
	}
	h1:after {
		display: none;
	}
	
	#map {
	position: relative;
	width: 100%;
	height: 100%x;
	max-height: 60vh;
	z-index: 0;	
	}
	
	.mobile-content-container {
		display: none;
		padding: 10px 20px;
	}
	.mobile-content-container h3 {
		text-align: center;
		color: #fff;
	}
	
	.mapboxgl-popup-content tr td:nth-child(2) {
		max-width: 200px;
		padding-left: 10px;
	}
	
	.filter-container {
	
	text-align: center;
    position: absolute;
    top: 100%;	
    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 0px 0px;
    cursor: default;
    box-shadow: 0px 10px 1px #111, 0 10px 20px #222;
		display:flex; 
		justify-content: space-between;
	}
	
	.filter-container {
		padding-bottom: 10%!important;
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		
		
	}
	.filter-container h4{
		width:100%;
	}
	
	.filter-container select {
			width: 100%;
		    height: 40px;
    		border-radius: 5px;
	}
	
	.filter-container label,.filter-container select {
		    width:250px;
    		
	}
	
	.mapboxgl-popup-content {
		max-width: 80% !important;
	}
	.logo_ave {
		max-width: 150px;
		padding-left: 0;
	}
	
	.filter-container .search-container input{
	
  	width:250px;
	}
	
	#txt-search{
		border-radius: 0;
	}
	#txt-searchautocomplete-list
	{
	
		z-index: 9999;
		width:100%;
		height: 100%;
		background-color: white;
		color:grey;
		padding-top: 0;
		margin-top: 0;

	}
	.search-container{
		z-index: 9999;
		overflow: hidden;
		padding-top: 0;
		margin-top: 0;
	}
	.autocomplete-items
	{
		z-index: 9999;
		width:100%;
		height:100%;
		font-size: 1.5em;
		padding: 1em;
		padding-top: 0;
		margin-top: 0;
		padding-bottom: 0.1em;
		margin-bottom: 1em;
	}
	.autocomplete-items div{
		z-index: 9999;
		font-size: 1.5em;
		padding: 0.5em;
	}
	.mapboxgl-popup-content  {
	max-width: 600px;
	border-radius: 0px !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;
	}
	
	.mapboxgl-ctrl-top-right {
		top: 25px !important;
	}
	
	.remarque-desktop{
		display: none;
	}
	
	.remarque-mobile{
		width:100%;
		text-align: center;
		margin: 1% auto;
		display: inline-block;
	}

	.fb-share-button { 
		display: inline-block;
		position:relative;
		padding-right: 0;
		margin-top: 10px;
		z-index: 1000;
	}
	
	.remarque-mobile p {
		color:grey;
		vertical-align:super;
		display: inline-block;
		margin-left: 1%;
		z-index: 990;
	}
	
	#defaultCanvas0{
		height:100%;
	}
	
	#icon{
		display: block;
		position: absolute;
		min-width:50px;
		width:15vw;
		bottom:0;
		left:0;
		z-index: 990;
	}
	
	#icon:focus{
		display:none;
	}
	


	
}
