/* CSS Document */
html body {
  height: 100%;
}

body {
  margin:0px;
  padding:0px;
  font-family:Arial;
  font-size:11px;
  background-color:#555;
}

.spacer {
  clear:both;
  display:block;
}

#map_header {
  width:200px;
  height:125px;
  margin:auto;
  position:absolute;
  top:35px;
  right:25px;

  z-index: 500;
  border-radius: 5px;
  background-color:#555;
  opacity: 0.9;

  background: -moz-linear-gradient(top,  rgba(85,85,85,1) 0%, rgba(85,85,85,0.95) 50%, rgba(85,85,85,0.9) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(85,85,85,1)), color-stop(50%,rgba(85,85,85,0.95)), color-stop(100%,rgba(85,85,85,0.9)));
  background: -webkit-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: -o-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: -ms-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: linear-gradient(to bottom,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#e6555555',GradientType=0 );

    color:#fff;

  padding-bottom:10px;
}

#logo {
  /*float:left;*/
  height:50px;
  margin:4px;
  margin-top: 15px;
  margin-right:10px;
  margin-left:50px; /* 100 (moitié map_header) - 50*/
}

h1 {
  /*float:left;*/
  text-align: center;
  font-size:16px;
  padding:0px;
  margin:0px;
  margin-top:15px;
  color:#555;
  color:#fff;
  height:20px;
}

#map_conteneur {
  width:100%;
  /*height:800px;*/
  height: 100%;
  margin:auto;
  background-color:#555;

  position:absolute;
}

#map_loading {
  position:absolute;
  top:40%;
  left:50%;
  width:200px;
  margin-left:-100px;
  text-align:center;
  padding:5px;
  background-color:#555;
  opacity:0.8;
  color:#fff;
  font-size:11px;
  font-family:Arial;
  text-transform:uppercase;
  display:block;
}


#map_instructions {
  position:absolute;
  bottom:5%;
  left:5%;
  width:auto;
  height:auto;
  text-align:justify;
  padding:5px;
  padding-left:25px;
  background-color:#555;
  opacity:0.8;
  color:#fff;
  font-size:11px;
  font-family:Arial;
  font-style:italic;
  display:none;
  z-index:1001;

  background-image:url('images/picto_info.png');
  background-position: 3px 3px;
  background-repeat:no-repeat;
}

#map_precisions {
  position:relative;
  margin-top:-30px;
  width:auto;
  height:auto;
  text-align:right;
  float:right;
  padding:2px;
  padding-right:5px;
  background-color:#fff;
  opacity:0.8;
  color:#222;
  font-size:10px;
  font-family:Arial;
  display:block;
  z-index:1002;

}

#map {
  /*width:auto;*/
  min-height: 100%;
  /*height:800px;*/
  margin:auto;
  /*z-index: 400; /*z-index de menu filtre = 500*/
}
#map_filtres {
  width:200px;
  height:auto;
  margin:auto;
  position:absolute;
  top:180px;
  right:25px;

  z-index: 500;
  border-radius: 5px;
  background-color:#555;
  opacity: 0.9;

  background: -moz-linear-gradient(top,  rgba(85,85,85,1) 0%, rgba(85,85,85,0.95) 50%, rgba(85,85,85,0.9) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(85,85,85,1)), color-stop(50%,rgba(85,85,85,0.95)), color-stop(100%,rgba(85,85,85,0.9)));
  background: -webkit-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: -o-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: -ms-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  background: linear-gradient(to bottom,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.95) 50%,rgba(85,85,85,0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#e6555555',GradientType=0 );

    color:#fff;

  padding-bottom:10px;

}

#map_infos_ville {
  width:300px;
  height:100%;
  margin:auto;
  position:absolute;
  top:0px;
  left:-300px;
  /*
  background-color:#555;
  opacity: 0.9;
  */

background: -moz-linear-gradient(top,  rgba(85,85,85,1) 0%, rgba(85,85,85,0.9) 50%, rgba(85,85,85,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(85,85,85,1)), color-stop(50%,rgba(85,85,85,0.9)), color-stop(100%,rgba(85,85,85,1)));
background: -webkit-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.9) 50%,rgba(85,85,85,1) 100%);
background: -o-linear-gradient(top,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.9) 50%,rgba(85,85,85,1) 100%);
background: -ms-linear-gradient(top,  rgba(85,85,85,1) 0%,rfgba(85,85,85,0.9) 50%,rgba(85,85,85,1) 100%);
background: linear-gradient(to bottom,  rgba(85,85,85,1) 0%,rgba(85,85,85,0.9) 50%,rgba(85,85,85,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#555555',GradientType=0 );


  color:#fff;

  padding:0px;
  display:none;
  z-index:1000; /* Doit être supérieur a celui de la map */

}


.map_volet_contenu {
  margin:10px;
  height: 100%;
}
.map_volet_contenu a {
  color:#fff;
}
.map_volet_contenu img {
  max-width:200px;
}

.map_volet_titre {
  font-weight:bold;
  background-color:#aa0000;
  color:#fff;
  margin-bottom:5px;
  text-align:center;
  padding: 2px 5px 2px 5px;
  width: auto;

}

.map_volet_text {
  width:95%;
  margin:auto;
}

.map_volet_tableau_logements {
  width:100%;
}

.map_volet_tableau_logements td {
  padding:2px;
  margin:0px;
  border-bottom:1px dotted #fff;
}

.map_filtres_titre {
  font-weight:bold;
  /*border-bottom:1px solid #fff;  BARRE NOIRE SOUS LE TITRE*/
  text-align:center;
  text-transform:uppercase;
  font-size:11px;
  font-family:Arial;
  margin: 15px;
  /*margin-bottom:5px;*/
}
.map_filtres_elements {
  width:auto;
  margin:auto;
  text-align:center;
  height:auto;
  margin-bottom:5px;
  margin-top:5px;
}

.map_bouton, .map_bouton_off {
  border-radius : 3px;

  color:#fff;
  text-align:center;
  font-size:11px;
  font-family:Arial;
  margin:2px;
  padding:5px;

  width:auto;
  display:block;
}
.map_bouton {
  background-color:#6BCA26;
  cursor:pointer;
  text-decoration:none;
}

.map_bouton:hover {
  background-color:#56A21E;
  text-decoration:none;
}

.map_bouton_off {
  background-color:#999;
}

.map_volet_fermer {
  position:absolute;
  bottom:5px;
  right:5px;

  background-color:#6BCA26;
  color:#fff;
  text-align:center;
  font-size:10px;
  font-family:Arial;
  text-transform:uppercase;
  padding:4px;
  cursor:pointer;
}
.map_volet_fermer:hover {
  background-color:#56A21E;
}

.map_filtre_element {
  margin:2px;
  margin-top:4px;
}
.map_select {
  font-size:11px;
  font-family:Arial;
  padding:2px;
  background-color:#eee;
  border:0px;
  margin:0px;
  margin-top:5px;
  margin-bottom:5px;
  width:100%;
}

.map_filtre_type_bat {
  font-size:11px;
  font-family:Arial;
  text-align:left;
  padding-left:24px;
  background-repeat:no-repeat;
  height:20px;
  margin:2px;
  padding-top:2px;

}
.map_filtre_type_bat_checkbox {
  float:right;
}
.map_filtre_type_bat label {
  cursor:pointer;
}

.map_volet_contenu_tableau th {
  border-bottom:1px solid #fff;
  color:#fff;
  text-align:center;
  padding:4px;
  margin:10px;

}
.map_volet_contenu_tableau td {
  border-bottom:1px dotted #fff;
  color:#fff;
  text-align:center;
  padding:4px;
  margin:0px;
}

.map_volet_contenu_nbl {
  text-align:center;
  font-style:italic;
}

.map_volet_contenu_offre {
  margin:5px;
  margin-top:10px;
  background-color:#B361D2;
  color:#fff;
  padding:5px;
  padding-left:30px;
  font-size:weight;

  background-image:url('images/picto_a_louer.png');
  background-position: 5px 8px;
  background-repeat:no-repeat;
  text-decoration:none;
  display:block;
}
.map_volet_contenu_offre:hover {
  text-decoration:none;
  background-color:#fff;
  color:#222;
}

.map_volet_contenu_autres {
  max-height:500px;
  overflow-y:auto;
  width:100%;
}

#map_volet_photo {
  width:100%;
  height:auto;
  margin:10px auto;
  text-align:center;
}
#map_volet_photo img {
  max-width:100%;
}


/*********** RESPONSIVE ***********/
@media (max-width: 650px) {
/*** OPTIONS CARTE ***/
  #map_filtres {
      width: 98%;
      height: auto;

      left: 0px;
      right: 0px;

      top: auto;
      bottom: 3%;
      box-shadow: 1px 1px 12px #aaa;
  }

/* CHOIX DU TYPE DE LOGEMENT */
  .map_filtrage{
  margin-top: auto;
  margin-left: auto;
  }

/* BOUTONS ET LISTE DES VILLES */
  .map_actions{
  width: 50%;
  }

  .map_volet_contenu{
    display: flex;
  }

/*** LOGO ***/
  #map_header{
    top:1.5%;
    right:2%;
    width:125px;
    height:auto;

    background: none;
  }

  #logo {
  margin-top: 15px;
  margin-right:10px;
  margin-left:15px; /*A REGLER POUR CENTRER */
  box-shadow: 2px 2px 12px black;
  }
  h1 {
    display: none;
  }

/*** MESSAGE AVERTISSEMENT ***/
  #map_precisions{
    display: none;
  }


} /* MEDIA QUERY */
