@import url(lato/lato.css);

:root {
  --width: calc(105mm);
  --bg-color: #0000b4;
  --font: "Lato";
}

html,
body,
#map {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

#map {
  margin-left: var(--width);
}

.ouvert {
  margin-left: 0px !important;
}

.menu {
  display: block;
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: auto;
  width: var(--width);
  height: auto;
  overflow: auto;
  background-color: var(--bg-color);
  color: white;
  font-family: var(--font);
  
}

.menu-marge {
  padding: 19px;
}

.menu-chapo {
  font-size: 14pt;
  line-height: 130%;
  /* text-wrap: pretty; */
}

h4 {
  font-size: 14pt;
  line-height: 100%;
  text-decoration: underline;
  text-wrap: balance;
  margin-bottom: calc(1.33em * 1);
  /* margin-bottom: 2mm; */
}

p:first-child {
  margin-top: 0;
}

p.small {
  font-size: 9pt;
  font-style: italic;
  line-height: 120%;
  margin-top: calc(1.33em * 2);
}

ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  /* margin-bottom: calc(1.33em * 2); */
  margin-bottom: 2mm;
}

li {
  font-size: 12pt;
  line-height: 120%;
  margin-bottom: 2.5mm;
  text-wrap: pretty;
  /* text-wrap: balance; */
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.leaflet-top{
    display:flex;
    flex-direction: column;    
}

.BtnHome a {
    order: 1;
  }

.leaflet-control-zoominfo{
    order: 3;
}

.leaflet-control-fullscreen{
    order: 2;
}
.btn_menu{
    order: 4;
}

/* masque le credit leaflet */
.leaflet-control-attribution {
  display: none;
}

/* permet une transition animée */
.fluide {
  -webkit-transition: all 0.5s ease-out;
  -khtml-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

/* affiche l'icone menu */
.btn_menu a {
  background: #fff url(square-menu.svg) no-repeat center center;
  background-size: 25px 25px;
}

.BtnHome a {
    background: #fff url(house.svg) no-repeat center center;
    background-size: 25px 25px;
  }


