/* Mobile */
@media screen and (max-width: 768px) {

    .div_resto{
      max-height: 160px;
      margin: 1px;
        -webkit-box-shadow: 1px 2px 2px 1px rgba(5,5,5,0.35);
    -moz-box-shadow: 1px 2px 2px 1px rgba(5,5,5,0.35);
    box-shadow: 1px 2px 2px 1px rgba(5,5,5,0.35);
    border: solid 1px rgba(5,5,5,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,.3);
    width: 100%;
    }
    .div_logo{
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      height: 35px;
      width: 35px;

    }
td{
  padding: 1px 2px;
  text-align: left;
}
.modal-dialog{
  margin-left: 1px;
  margin-right: 1px;
}
.resto_coordonnees{
  width: 100%;
  display: flex;
  padding-top: 10px;
  border-top: solid 1px rgba(30,30,30,0.1);
  margin-top: 5px;
}
.div_phone, .div_website{
  margin: 5px auto;
  width: 50%;
  overflow: hidden;
}

#btn_filtre_open_modal_toc{
  border-right: solid 1px rgba(200,200,200,0.5);
  border-left: solid 1px rgba(200,200,200,0.5);  
}
#btn_filtre_toc_mobile, #btn_filtre_mdp_mobile, #btn_filtre_open_modal_map{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 9px;
    font-size: 14px;
    text-align: center;
    font-weight: 100;
    margin-left: auto;
    margin-right: auto;
  }
#btn-filtre-mdp-text, #btn-filtre-toc-text, #btn_filtre_open_modal_map{
  margin: auto;
  font-size: 9px;
}
}
/* ---------------------------------------------------------            Grands écrans                  ----------------------------------------- */
@media screen and (min-width: 768px) {
    .div_resto{
    /*
    width: calc(50% - 6px);
    width: 290px;
    */
    width: calc(100% - 2px);
    margin: 2px;
    }
    .div_logo{
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      height:55px;
      width: 55px;

    }
#btn_filtre_open_modal_mdp, #btn_filtre_open_modal_toc{
    display: flex;
  margin-left: 3px;
    margin-right: 3px;
    margin-top: 1px;
    margin-bottom: 1px;
    border-radius: 2px;
    min-width: 150px;
}
#btn_filtre_toc_desktop, #btn_filtre_mdp_desktop{
    display: flex;
    padding: 6px 9px;
    font-size: 14px;
    text-align: center;
    font-weight: 100;
}
td{
  padding: 1px 4px;
}
.div_phone, .div_website{
  margin: 3px;
  width: 250px;
  overflow: hidden;
}
.div_info_resto{
}
}

/* ---------------------------------------------------------            Tous les écrans                  ----------------------------------------- */
.list_box_desktop{
  max-height: 40vh;
  overflow-y: auto;
}
.titre_section_liste_restaurants{
 font-size: 13px;  
  background-color: rgb(233,84,32);
  border-radius: 2px;
  color: white;
  margin-right: 2px;
  padding: 2px 5px;
  margin-left: 5px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.div_resto{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
    padding: 7px;
    border-radius: 4px;
    background-color: rgb(241,245,249);
}
.toc_choice:hover, .mdp_choice:hover{
  background-color: rgb(233,84,32);
  color: white;
  cursor: pointer;
}
.div_resto:hover{
  transform: scale(1.01);
        -webkit-box-shadow: 1px 3px 2px 1px rgba(5,5,5,0.45);
    -moz-box-shadow: 1px 3px 2px 1px rgba(5,5,5,0.45);
    box-shadow: 1px 3px 2px 1px rgba(5,5,5,0.45);
    box-shadow: 0 2px 2px rgba(0,0,0,.45);
    cursor: pointer;
}

  #h1{
    color: #eee;
    font-size: 14px;
    line-height: 1.1;
    text-align: center;
  }
/*
.horaires_open{
  background-color: #5cb85c;
}
.horaires_close{
  background-color: #d9534f;
}
.horaires_not_defined{
  background-color: #999;
}
*/
.resto_addresse{
  font-size: 10px;
  line-height: 1;
  font-weight: 100;
  color: #777;
  font-style: italic;
}
.map-marker{
  position: fixed;
  top: 0;
  left: 0;
}
.resto_name{
  padding-top: 5px;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 700;
  color: #555;
  line-height: 1;
  margin-bottom: 0px; 
  margin-top: 0px;
}
#div_1-1{
  background-color: rgb(241,245,249);
  background-color: #262626;
}
.resto_horaires{
  font-size: 12px;
  margin-right: 3px;
}
.div_image_principale{
  width: 150px;
  height: 75px;
  margin: 0px 5px 5px 5px;
  background-size: contain;
  background-size: cover;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}
.horaires_link{
    background-color: rgb(233,84,32);
    padding: 2px 3px;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
    line-height: 1.1;
}
.div_resto_label{
  display: flex;
  flex-wrap: wrap;
}
  .mdp_choice, .toc_choice{
    display: none;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    font-size: 10px;
    padding: 4px;
  }
  .label_toc{
    padding: 2px 3px;
    font-weight: 100;
    line-height: 1;
    color: #fff;
    text-align: center;
    background-color: rgb(233, 84, 32);
    background-color: #5bc0de;
    font-size: 11px;
    margin-right: 5px;
    margin: 1px;
  }
#btn_filtre_open_modal_mdp:hover, #btn_filtre_open_modal_toc:hover{
  cursor: pointer;
}
.section_liste_restaurants{
  width: 100%;
  display: flex; 
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 20px;
}
.number_map{
  position: absolute;
  top: 0;
  right: 0;
  height: 18px;
  width: 18px;
  text-align: center;
  background-color: rgb(233,84,32);
color: white;
margin: 3px;
  border: solid 1px rgb(233,84,32);
  border-radius: 50%;
  font-size: 12px;

}
#div_opacity{
  background-color: rgba(55,55,55,0.5);
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 1040;
  display: none;
}
#mdp_content, #toc_content{
  padding: 5px;
  border-radius: 3px;
}
.label_mdp{
  display: flex;
  align-items: center;
  font-size: 10px;
}
.resto_coordonnees{
  text-align: center;
}
.tableau_horaires{
  max-width: 400px;
  text-align: center;
  margin: auto;
}