/* ------ Interactive France Map
-----------------------------------------------*/

/* Phone link above map */
#tel_carteFrance {
  display: block;
  text-align: center;
  margin: 10px auto 15px;
  font-size: 17px;
  color: #000;
}

/* Main carte_france wrapper */
#carte_france {
  width: 100%;
  display: flex;
  justify-content: center;
}

#carte_france svg {
  max-width: 100%;
  height: auto;
}

/* ScaleRaphael wrapper - created dynamically inside #Cmap */
.mapWrapper {
  margin: 0 auto !important;
  float: none !important;
  display: block;
}

/* Map block container */
.mapBlock {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Cmap - where Raphael renders */
#Cmap {
  text-align: center;
  display: flex;
  justify-content: center;
  position: relative;
}

#Cmap svg {
  display: block;
  margin: 0 auto;
}

/* #container div */
#container {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Hide the legacy #text div - unused in modern layout */
#text {
  display: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Tooltip on hover */
.point {
  position: fixed;
  display: none;
  padding: 5px 10px;
  background: #ffffff;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #262626;
  border-radius: 4px;
  z-index: 999;
  max-width: calc(100vw - 20px);
}

/* Legacy image styles */
.mapBlock img {
  padding-right: 5px;
  padding-top: 2px;
  max-width: 100%;
  height: auto;
}

.mapBlock ul {
  margin-left: 30px;
}

/* ---- Mobile ---- */
@media only screen and (max-width: 800px) {
  #tel_carteFrance {
    display: block;
    margin: 0 auto 15px;
    text-align: center;
    font-size: 17px;
  }
}

@media only screen and (max-width: 500px) {
  #carte_france {
    margin-bottom: 0;
  }
}
