
.map-container{
  position: relative;
  min-height: 550px;
  height: 70vh;
  overflow: hidden;
}

.map-img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;

  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;

  transition: 0.5s;
  -webkit-transition:0.5s;
}

.messagecarte{
  position: absolute;
  display: inline-block;
  text-align: center;
  color: #fff;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);

  height: 100%;
  width: 100%;

  transition: 0.5s;
  -webkit-transition:0.5s;
}

.messagecarte div{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 25px;
  width: 75%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}


.map-container:hover .messagecarte{
  transition: 0.5s;
  -webkit-transition:0.5s;
  opacity: 1;
}

.map-container:hover .map-img{
  transition: 0.5s;
  -webkit-transition:0.5s;
  transform: scale(1.2);
}






.map-container:after{
  position: absolute;
  content: '';
  background-image: url(img/gouttes.svg);
  width: 564px;
  height: 227px;
  right: -366px;
  bottom: 0;
}


#block-popup{
  position: absolute;
  right: 50px;
  top: 180px;
  width: 0;
  height: 0;
  overflow: hidden;
  transition: 0.5s;
  -webkit-transition:0.5s;
  opacity: 0;
}
#block-popup.open{
  opacity: 1;
  width: 300px;
  height: 400px;
  z-index: 75;
}

.liste_popup{
  position: relative;
  height: 360px;
  top: 30px;
}
.popup_commune{
  /*position: absolute;
  right: 50px;
  top: 50%;*/
  transform: translatex(-110%);
  /*height: 50%;
  width: 20%;*/
  background-color: #fff;
  transition: 0.5s;
  -webkit-transition:0.5s;
  position: absolute;
  height: 100%;
  top:0px;
  width: 100%;
}

.popup_commune.active{
  transform: translatex(0%);
  z-index:10;
}

.popup_commune-close-btn{
  background-color: #e82e7b;
  width: 50px;
  height: 50px;
}

.popup_commune-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    size: 16px;
    height: 30px;
    width: 30px;
    box-sizing: border-box;
    line-height: 16px;
    display: inline-block;
    cursor: pointer;
}
.popup_commune-close-btn:before, .popup_commune-close-btn:after {
        width: 16px;
        height: 2px;
        transform: rotate(-45deg);
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -1px;
        margin-left: -8px;
        display: block;
        height: -16px;
        width: -16px;
        background-color: #FFF;
        transition: all 0.25s ease-out;
}

.popup_commune-close-btn:after {
  transform: rotate(-135deg);
}

.popup_commune-close-btn:hover:before, .popup_commune-close-btn:hover:after {
  transform: rotate(0deg);
}

.popup_commune .commune-image{
  height: 120px;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.popup_commune .commune-detail{
  width: 100%;
  padding: 7px 20px;
  font-family: 'Montserrat', sans-serif;
  height: 240px;
  overflow-y: auto;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.popup_commune .commune-detail::-webkit-scrollbar {
  display: none;
}

.popup_commune .commune-title{
  color: #e82e7b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 18px;
  margin-top: 10px;
}

.popup_commune .commune-description{
  margin-top: 12px;
  color: #00499a;
  font-size: 14px;
}

.popup-open .map-container #spot{
  display: block;
}


.map-container #spot{
  display: none;
}

#map{
  cursor: pointer;
}
