

* {
  box-sizing: border-box;
  font-size: 16px;
}

.dish_infos p {
  font-size: 0.8em;
  margin-top: 2px;
  width: 60%;
  text-align: left;
}

.link_wrapper{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	min-height: 30px;
	height: auto;
}

.link { font-size: 1.2em; }

.contact_details_row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

.algolia-places {
  width: auto !important;
}

.contact_details_row span {
     width: 40%;
}


/*  Switch façon apple  */
input.apple-switch {
  position: relative;
  -webkit-appearance: none;
  outline: none;
  width: 25px;
  height: 15px;
  background-color: #fff;
  border: 1px solid #D9DADC;
  border-radius: 25px;
  box-shadow: inset -10px 0 0 0 #fff;
  cursor: pointer;
}

input.apple-switch:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  background: transparent;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
}

input.apple-switch:checked {
  box-shadow: inset 10px 0 0 0 #4ed164;
  border-color: #4ed164;
}

input.apple-switch:checked:after {
  left: 10px;
  box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}

.request_notif_pending {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
  background-color: #FF0000;
  color: #FEFEFE;
  width: 100%;
  padding: 4px;
}

.request_notif_ok {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
  background-color: #46A049;
  color: #FEFEFE;
  width: 100%;
  padding: 4px;
}

.table_free {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
  background-color: #EFEFEF;
  color: #666;
  width: 100%;
  padding: 4px;
}

.table_occupied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
  background-color: #BE4BDB;
  color: #FFF;
  width: 100%;
  padding: 4px;
}

.carte_style_field {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

  /*  Responsive styling       */
  @media only screen and (max-width:700px) {

      .link_wrapper { flex-direction: column; }

      .link {font-size: 0.4em;}

      .contact_details_row { flex-direction: column; }

      .contact_details_row span {width: 100%;
    }

    .carte_style_field {
      width:  100%;
      max-width: 600px;
      margin: auto;
      margin-bottom: 10px;
      flex-direction: column;
    }
}