html {
  color: #404040!important;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0px;
    padding: 0px;
  }

  * {
    font-family: 'Montserrat', sans-serif;
  }
p, a, h1, h2, h3, h4 {
  color: #404040!important;
  font-family: 'Montserrat', sans-serif!important;
}
h4 {
  font-weight: 500;
}

.uk-tab .uk-active{
  /* border-bottom: 2px solid !important; */
}

.uk-tab {
  font-weight: 600!important;
}

.uk-switcher a:hover{
  /* font-weight: 600; */
  text-decoration: none;
  color: #1f7342!important;
}

.laville-info h4 {
  margin-top: 0px!important;
}

#ateliers-main a {
  font-weight: 500;
}

.back-forward {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
  
/* UIKIT */
.uk-offcanvas-container, .uk-offcanvas-page {
  overflow-x: visible!important;
}
.uk-offcanvas-overlay {
  display: none!important;
}
.uk-offcanvas-bar {
  /* left: 33vw!important; */
  width: 30vw!important;
  min-width: 480px;
  background: white!important;
  color: #404040;
}
.uk-offcanvas-bar a , .uk-tab li a, .uk-offcanvas-bar .uk-tab > * > a:hover, .uk-offcanvas-bar .uk-close{
  color: #404040!important;
}
.uk-offcanvas-bar hr {
  border-top-color: #404040;
} 
.uk-offcanvas-bar .uk-tab > .uk-active > a, .uk-offcanvas-bar .uk-tab {
  color: #404040;
  border-color: #404040;
}

.uk-divider-small::after {
  border-top: 2px solid #404040!important;
}
.uk-button-default {
  background-color: white!important;
  border-color: white!important;
}
.uk-tab::before {
border-bottom: none!important;
}
.uk-tab > .uk-active > a {
  border-color: #404040!important;
  border-bottom: 2px solid #404040!important;

}
.uk-button {
  padding: 15px!important;
}

/*  */

.mapboxgl-popup {
  max-width: 325px!important;
}
.mapboxgl-popup-content {
 /* max-width: 400px; */
 display: flex;
}
.mapboxgl-popup-content img {
  /* max-width: 25%!important; */
  margin-right: 10px;
}
.popup-img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 25%!important;
    margin-right: 10px;
}
.popup-img img {
  flex-shrink: 0;
  object-fit: cover;
  height: 100px;
  min-width: 100%;
  max-height: 100%
}

.mapboxgl-popup-content {
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 15px;
}

.biodiv-logo {
  display: flex;
  justify-content: center;
}
.biodiv-logo img{
  vertical-align: middle;
  max-width: 250px;
}
.logos {
  display: inline-block;
  text-align: center;
}

.logos img {
  max-width: 120px;
  margin: 5px;
}

.atelier-content p {
  margin-top: 0px!important;
}

.atelier-content h4 {
  margin: 0 0 10px 0;
}

#application-sp a {
  font-weight: 500;
}

#application-sp .logos {
  width: 100%;
}
#application-sp .logos img {
  max-width: 75px;
  max-height: 100px;
  width: auto;
}

#infobar {
  width: 33vw;
  height: 100vh;
  position: absolute;
  z-index: 10;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    /* width: 66%; */
  }

  .mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    }

#legende-container {
  background-color: white;
  padding: 20px;
  position: fixed;
  width: 260px;
  height: 300px;
  right: 0;
  bottom: -276px;
  z-index: 1000;
  -webkit-transition-duration: 0.5s;
  transition: .5s;
}

#legende-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  font-weight: 600;
}

.legende-contents {
  line-height: 30px!important;
}

.legende-active {
  bottom: 0;
}

.legende-hidden {
  bottom: 0px!important;
  -webkit-transition-duration: 0.5s;
  transition: .5s;
}

#info-section {
  position: fixed;
  background-color: white;
  width: 400px;
  padding: 40px;
  height: 100vh;
  left: -480px;
  z-index: 1000;
  -webkit-transition-duration: 0.5s;
  transition: .5s;
  overflow: auto
}

.info-section-active {
  left: 0px!important;
  -webkit-transition-duration: 0.5s;
  transition: .5s;
}

.info-graphic {
  position: absolute;
  display: inline-block;
  text-align: center;
  width: 400px;
  bottom: 100px;
}
.info-graphic img {
  bottom: 0;
  /* width: 120px; */
  height: 5vh;
}