html, body {
  height: 100%;
  margin: 0;
}

.erreur {
  z-index: 1000;
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  font-size: 30px;
  text-align: center;
}

.menu {
  position: fixed;
  top: 0;
  right:0;
  height: 50px;
  width: 50px;
  z-index: 1000;
}

#map {
  height: 100%;
  width: 100%;
  background: lightblue;
}

#formAjout {
  padding: 20px;
  display: none;
  z-index: 1000; 
  position: fixed;
  top: 100px;
  left: 250px;
  background-color: #cdd3e3;
  border: 2px #b9b939 solid;
  border-radius: 20px;
}

#formAjout div {
  display: block;
  width: 50	px;
  height: 45px;
}

#formAjout div label {
  display: inline-block;
  width: 80px;
  padding-right: 10px;
}

#formAjout div:last-child {
  display: inline-block;
  height: 20px;
}

#formAjout div:last-child input {
  margin-left: 10px;
  left: 120px;
  position: relative;
}

#formAjout span {
  display: block;
  color: red;
  margin-top: -15px;
  margin-bottom: 5px;
}

#formAjout select {
  width: 160px;
}

.messageOK, .messageKO {
  position: fixed;
  width: 500px;
  height: 40px;
  z-index: 1000;
  top: 30px;
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
  padding-left: 40px;
  padding-top: 10px;
  border-radius: 19px;
  font-size: 20px;
  animation: slide 1s ease-in-out 3s forwards;
}

@keyframes slide {
  from {opacity: 1;}
  to {opacity: 0;}
}

.messageOK {
  background-color: lightgreen;
}	

.messageKO {
  background-color: red;
  width: 300px;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.popup .leaflet-popup-content {
	  font-size: 50px;  background: url("IMG/homepage.jpg") no-repeat;
	}
}

/* Desktops and laptops ----------- */

#formAjout span {
  display: block;
  color: red;
  margin-top: -15px;
  margin-bottom: 5px;
}@media only 
screen 
and (min-width : 1224px) {
	.popup .leaflet-popup-content {
	  font-size: 18px; 
	}
}


