html,
body,
div,
span,
applet,
object,desktop-zoom
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 */

#poool-widget {
	top: 20vh;
	position: absolute;
	z-index: 9999;
	width: 95vw;
}

* {
	box-sizing: border-box;
}


/******** End reset *********/

html {
	position: fixed;
	width: 100%;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #156131;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
	z-index: 200;
	position: relative;
}

body {
	line-height: 1;
	font-family: 'Titillium Web', sans-serif;
}

#map {
	width: 100%;
	height: 100vh;
}

#mapboxgl-canvas {
	height: 100vh !important;
}

.mapboxgl-map {
	height: 100vh !important;
}

#loader{
	position: absolute;
	background-color: rgba(255,255,255,0.8);
	z-index: 500;
	min-width: 100%;
}

#loader img {
	display: block;
	margin: 25vh auto 0px auto;
	/*position: absolute;
	left:30vw;*/ 
	/*top:25vh;*/
	/*height: auto;*/
	z-index: 1000;
}

#geocoder {
	margin-top: 10px;
	width: 100%;
	
}
#mobile-zoom{
	display:none;
}
#desktop-zoom{
	
	margin-top: 5px;
	display:block;
	font-size: 1.3vw;
	
	text-align: center;
	animation-name: desktop-zoom;
  animation-duration: 1s;
	animation-duration: 2s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}



@keyframes desktop-zoom {
  0% {transform: scale(1);}
  50% {transform: scale(1.1);}
  100% {transform: scale(1);}
}



.intro h4{
	margin-top: 2px;
	margin-bottom: 50px;
}

.intro h2{
	margin-top: 2px;
	text-align: left;
}

.publishdate {
	font-size: 14px;
	color: #333;
	text-align: center;
	padding: 1em;
}

h1 {
	font-family: 'Abel', sans-serif;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 50px;
	text-shadow: 2px 2px 4px #111;
}

.fb-share-button {
	padding-right: 20px;
}

strong {
	font-weight: bold;
}

.mapboxgl-popup {
	z-index: 999;
}

.mapboxgl-popup-content {
	max-width: 600px;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8) !important;
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 16px;
	/*background: #fff;*/
	bottom: -2px;
	top: auto;
	transition: 1s;
	/*background-image: url(../img/popup.jpg);*/
	background-repeat: no-repeat;
	background-position: bottom center;
	padding: 5px !important;
}

.mapboxgl-popup-content:hover {
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.8) !important;
	border-width: 0 0 10px;
	margin-bottom: 5px;
	transition: 0.5s;
}

.mobile-content-container {
	border-radius: 0 0 30px 30px;
	font-family: 'Titillium Web', sans-serif !important;
	background: #fff;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
	display: none;
	font-size: 12px;
	max-height: 50vh;
	overflow-y: auto;
	position: relative;
	z-index: 100;
}

.mobile-content-container-inner.tapped {
	background: url(../img/tap.png) no-repeat !important;
	background-size: 10% !important;
	background-position: bottom right!important;
	overflow: hidden;
}

.mobile-content-container-inner p,
.mapboxgl-popup-content p {
	line-height: 1.2em;
	padding: 5px;
}

.description-inner {
	padding: 10px 10px 10px 0px;
	background-color: white;
}

.boite-oui {
	color: #54AC3A;
}

.boite-non {
	color: #F29400;
}

.sonar-emitter {

	display: block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 0 rgba(80, 175, 65, 0.4);
	animation: pulse 2s infinite;
	position: absolute;
	bottom: 20px;
	right: 25px;
}

.mapboxgl-popup-close-button {
	padding-top: 5px !important;
	padding-right: 5px !important;
}

.mapboxgl-popup-content h2 {
	font-size: 26px;
}

.googft-legend-swatch {
	/*border: 1px solid;*/
	float: left;
	height: 18px;
	margin-right: 8px;
	width: 20px;
}

.googft-legend-range {
	line-height: 12px;
}

.legend-items {
	margin-bottom: 5px;
}

#legend {
    max-height: 80%;
    font-size: 1.1vw;
    line-height: 1.1vw;
    box-sizing: content-box;
    color: black;
    background-color: white;
    border-top: 1px solid #eee;
    margin-top: 15%;
    padding: 10px;
}

#legend h3 {
	color: black;
}

@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(214, 58, 118, 0.4);
	}
	70% {
		-webkit-box-shadow: 0 0 0 30px rgba(214, 58, 118, 0);
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 rgba(214, 58, 118, 0);
	}
}

@keyframes pulse {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(214, 58, 118, 0.4);
		box-shadow: 0 0 0 0 rgba(214, 58, 118, 0.4);
	}
	70% {
		-moz-box-shadow: 0 0 0 30px rgba(214, 58, 118, 0);
		box-shadow: 0 0 0 30px rgba(214, 58, 118, 0);
	}
	100% {
		-moz-box-shadow: 0 0 0 0 rgba(214, 58, 118, 0);
		box-shadow: 0 0 0 0 rgba(214, 58, 118, 0);
	}
}

.mapboxgl-popup-close-button {
	padding-top: 13px;
	padding-right: 21px;
	font-size: 30px;
	color: #000;
	z-index: 1000;
}

.mapboxgl-popup-content h3,
.mobile-content-container h3 {
	font-family: 'Abel', sans-serif;
	padding: 0;
	margin: 0;
	position: relative;
	font-weight: bold;
	width: 100%;
	text-align: left;
	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;
	height: 100vh;
	margin-left: 20vw;
	margin-top: 7vh;
}

.intro {
	display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	border-top-right-radius: 50px 50px;
	width: 20vw;
	height: 100vh;
	position: absolute;
	min-width: 250px;
	max-width: 1200px;
	/* margin: auto; */
	font-size: 1em;
	padding: 0px;
	text-align: center;
	left: 0;
	z-index: 990;
	background-color: #54AC3A;
	color: black;
}

.intro h2 {
	padding-top: 10px;
}

.logo_ave {
    height: 80%;
    max-width: 200px;
	position: relative;
    top: 50%;
    transform: translateY(-50%);
}


#ave-container {
	width: 20vw;
    align-self: center;
    display: flex;
    height: 100%;
}
#ave-container a {
	justify-content: center;
	width:100%;
    align-self: center;
    display: flex;
    height: 100%;
	/**/
	-webkit-transform-style: preserve-3d;
  	-moz-transform-style: preserve-3d;
  	transform-style: preserve-3d;
}
.logo-container {
	z-index: 991;
	top: 0px;
	left: 0px;
	text-decoration: none;
	vertical-align: middle;
	text-align: center;
	display: inline-flex;
	width: 100vw;
	position: absolute;
	background-color: white;
	height: 7vh;
	border-bottom-left-radius: 20px 20px;
	-webkit-box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.75);
	box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.75);
}

.logo-container h1 {

	width: 80vw;
	text-align: center;
	color: #000;
	vertical-align: middle;
	margin-left: 0vw;
	text-shadow: none;
	line-height: 7vh;
}
#search-container{
	
    height: 20%;
}
.mobile-flex {
		margin-bottom: 10%;
		height: 70%;
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		margin-top: 15%;
		padding: 1em;
		text-align: justify;
		color: white;
}

.mobile-flex h2 {
	margin-top: 10px;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
}

.mobile-flex h3 {

}

.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: #fff;
	font-weight: bold;
	background-color: #d63a76;
	border-radius: 5px;
	padding: 5px 10px;
	display: inline-block;
	text-decoration: none;
	transition: 0.5s;
}

.mapboxgl-ctrl-geocoder {
	min-width: 0 !important;
	width: 100%;
}

.remarque-mobile {
	display: none;
}

.remarque-desktop {
	font-size: 1.1vw;
    height: 20%;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0.5em;
}

#icon {
	display: none;
}

#remarque {
	width: 100%;
	margin-top: 5px;
	margin-left: 25px;
	text-align: left;
	align-self: left;
	color: #D43975;
	font-size: 0.9em;
}

#twitter-widget-0 {
	margin-right: 1em;
}
.mapboxgl-ctrl-geocoder input[type='text'] {
    	font-size: 1.2em !important;
	}
@media screen and (min-width: 1600px) {
	.remarque-desktop {
    font-size: 1vw;
	}
	#desktop-zoom {
    font-size: 1.1vw;
	}
	#legend {
    font-size: 1vw;
	}
}
@media screen and (max-width: 800px) {
	#ave-container {
	width: auto;
	}
	html {
		position: relative;
		overflow-x: hidden;
	}
	body {
		max-width: 100%;
		max-height: 100%;
		height: auto;
		overflow-x: hidden;
	}
	#defaultCanvas0 {
		height: 100% !important;
	}
	.mobile-content-container {
		top: 7vh;
		z-index: 22;
		display: none;
		position: absolute;
		padding: 10px 20px;
		left: 0;
		right: 0;
		max-width: 100%;
		box-sizing: content-box;
		padding-left: 10px;
		padding-right: 10px;
		margin: 0;
		border-radius: 0px;
	}
	.mobile-content-container h3 {
		text-align: left;
		font-size: 2em;
	}
	.mobile-content-container p {
		font-size: 1em;
	}
	#mycontent {
		margin-left: 0;
		font-size: 1em;
		margin-top: 4vh;
		/* height: 80vh; */
	}
	header {
		flex-direction: column;
		padding: 0;
		margin: 0;
		height: 100%;
		margin-top: 0px;
		border: none;
		z-index: 200;
	}
	h1 {
		font-size: 24px;
		padding: 0 20px;
		padding-bottom: 10px;
	}
	h1:after {
		display: none;
	}
	#loader{
		z-index: 45;
	}

	#geocoder {
		top: 10px;
		position: absolute;
		max-width: 90%;
		margin: auto;
	}
	.mobile-flex {
		height: auto;
    
    display: block;
    padding-top: 0px;
    margin-bottom: 0%; 
    margin-top: 11%;
    padding: 1em;
    text-align: justify;
    color: white;
	}
	.mapboxgl-control-container{
		display: none;
	}
	.mobile-text {
		margin-top: 0px;
		margin-bottom: 25px;
	}
	.mapboxgl-canvas, #map{
		cursor: zoom-in;
	}
	.mapboxgl-ctrl-geocoder input[type='text'] {
    	font-size: 1.2em !important;
	}
	#map {
		position: relative;
		width: 100%;
		height: calc(100vh - 160px) !important;
		z-index: 0;
		
	}
	.intro {
		display: block;
		border-top-right-radius: 0px 0px;
		top: 80vh;
		width: 100vw;
		height: auto;
		position: absolute;
		min-width: 250px;
		max-width: 1200px;
		font-size: 1em;
		padding: 0px;
		text-align: center;
		left: 0;
		z-index: 999;
		background-color: #54AC3A;
	}
	.intro h2 {
		display: none;
		margin: 0;
	}
	.remarque-desktop {
    font-size: 100%;
    height: auto; 

    display: block;

    width: 100%; 
     padding: 0em; 

	}
	.fb-share-button {
		margin-top: 0 !important;
		display: inline-block;
		position: relative;
		padding-right: 0;
		margin-top: 10px;
		z-index: 1000;
	}
	#twitter-widget-0 {
		margin-right: 10px;
	}
	.mobile-content-container {
		display: none;
		padding: 10px 20px;
	}
	.mobile-content-container h3 {
		text-align: center;
		/*color: #D63A76;*/
		/*border-bottom: 2px solid #D63A76;*/
		padding: 5px 10px;
	}
	.mapboxgl-popup-content tr td:nth-child(2) {
		max-width: 200px;
		padding-left: 10px;
	}
	.mapboxgl-popup {
		max-width: 90%;
	}
	.mapboxgl-popup-content {
		max-width: 100% !important;
	}
	.logo_ave {
    height: 7vw;
    max-width: 100%; 
    padding-left: 10px;
    padding-top: 0px; 
     margin-top: 0vh; 

	}
	.mapboxgl-popup-content h3,
	.mobile-content-container h3 {
		font-size: 24px;
		margin-bottom: 5px;
	}
	.mapboxgl-popup-content {
		max-width: 100vw;
		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;
	}
	.mapboxgl-ctrl-top-right {
		top: 25px !important;
	}
	.remarque-mobile {
		width: 100%;
		text-align: center;
		margin: 1% auto;
		display: inline-block;
	}
	.remarque-mobile p {
		color: grey;
		vertical-align: super;
		display: inline-block;
		margin-left: 1%;
		z-index: 999;
	}
	#defaultCanvas0 {
		height: 100%;
	}
	#icon {
		display: none;
		position: absolute;
		min-width: 50px;
		width: 15vw;
		bottom: 0;
		left: 0;
		z-index: 99999;
	}
	#icon:focus {
		display: none;
	}
	.check-outer {
		display: flex;
	}
	.check-container {
		padding-right: 15px;
	}
	#legend {
		
    	
    font-size: 100%; 
    line-height: 100%;
    box-sizing:inherit;
    color: black;
    background-color: white;
    border-top: 1px solid #eee;
   
    padding: 10px;
	}
	#remarque {
		flex: 1 0 100%;
		margin-left: 0px;
	}
	.logo-container {
		z-index: 55;
		border-bottom-left-radius: 20px 20px;
		top: 0;
		height: 9vh;
	}
	.logo-container h1 {
	margin-top: 2vh;
    font-size: 5vw;
    margin-left: 0vw;
    line-height: 2.5vh;
	}
	#mobile-zoom{
		    display: block;
    	font-size: 4.9vw;
	}
	#desktop-zoom{
		display:none;
	}
	.intro h4 {
     margin-top: 0px; 
     margin-bottom: 0px; 
}
	#search-container{
    height: none;
}
}
