
body{
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--black);
}


.header h1{
  margin: 6px 30px;
  color: var( --red)
}

h1{
  font-size: 1.2em;
}

.footer{
  margin-top: 90px;
  font-size: 0.8em;
  text-align: center;
}


#foodCourtMapParent{
  position: relative; /* Allows to hide content outside */
  overflow: hidden;
  height: 100%;
  box-shadow: 0 0 10px var(--empty);
  border-radius: 3px;
  transition: 0.3s;
}

#foodCourtMapParent.zoomed #closeMapZoom{
  display: block;
  opacity: 1;
  color: rgba(0,0,0,0.3)
}
#foodCourtMapParent:not(.zoomed) #closeMapZoom{
  opacity: 0;
}
#closeMapZoom{
  z-index: 9;
  font-size: 0.8em;
  cursor: pointer;
  transition: 0.9s;
}

#foodCourtMap{
  /* display: block; */
  position: absolute;

  /* Ensure positions starts top left */
  /* left: 0;
  top: 0; */

  width: 100%;
  /* min-height: 250px; */
  background: #FFFFFF;
  /* border: 1px solid #D0D0D0; */
  overflow: scroll;
  transition: 0.3s;
}


/* When showing the cells and background image */
#foodCourtMap .boardCell{
  border-top: 1px solid rgba(0,0,0,0.1);
  border-left: 1px solid rgba(0,0,0,0.1);
  color: #6F6F6F;
  font-size: 0.6em;
}

#foodCourtMap #mapImage{
  width: 178%;
  margin-top: -404px;
  margin-left: -555px
}



/* Food Court Stalls */
#foodCourtMap .stallCell{
  border: 1px solid rgba(255,255,255,0.3); /* #AFAFAF */
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  transition: 0.6s;
}
#foodCourtMap .stallCell div.unitNumber{
  font-size: 0.6em;
}


/* highlights from tags */
#foodCourtMap .stallCell.highlight{
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  filter: brightness(0.6);
  z-index: 2;

  opacity: 1 !important;
}

#foodCourtMap.highlight-ongoing .stallCell{
  opacity: 0.3;
}


/* Focus from click */
#foodCourtMap .stallCell.focus{
  transform: scale(1.3);
  /* Opacity: we're not forcing it, so if highlighting a stall outside the ones highlighted from specialties, it will not change the opacity */
  /* opacity: 1 !important; */

  z-index: 3;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
}



.colorYellow{
  background-color: var( --yellow );
}
.colorGreen{
  background-color: var( --green );
}
.colorRed{
  background-color: var( --red );
}
.colorBlue{
  background-color: var( --blue );
}
.colorEmpty{
  background-color: var( --empty );
}

#stallHighlight{
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}


#blurBackground{
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  transition: 0.6s;
}

#stallCard{
  position: relative;

  /* As a popup */
  /* top: 200px;
  left: 50%;
  width: 70vw;
  margin-left: -35vw;

  background-color: white;
  z-index: 10;
  box-shadow: 0px 0px 10px 0px #000000; */

  /* As a main viewport element */
  

  border-radius: 3px;

  overflow: hidden;
  transition: 0.6s;
}

#stallCard .contentContainer{
  padding: 12px;
}

/* .boxPicContainer{
  width: 100%;
  position: relative;
}
.boxPicContainer img{
  width: 100%;
} */
#stallCard .boxPicContainerCover{
  width: 100%;
  height: 300px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  /* background-size: cover;
  background-color: red; */
  position: relative;
  box-shadow: 0 0px 10px 0px rgba(0,0,0,0.5);
}


#stallCard .boxPicContainerCover h1{
  color: #EAEAEA;
  text-shadow: 0 0 5px black;
  padding: 12px;
  bottom: 0;
  position: absolute;
}


#stallCard .stallPic{
  width: 300px;
  border-radius: 3px;
  margin: 3px;
}



#stallCard .specialties{
  margin: 12px 0;
}

#stallCard .specialty{
  /* background-color: var( --red );rgba( 50,10,120, 0.2 ); */
  padding: 3px 6px;
  margin-right: 6px;
  border: 1px solid var(--red);
  border-radius: 3px;
  display: inline-block;
}



/* Specialty Tag Cloud */
#specialtiesCloud ul{
  list-style-type: none;
  margin: 0!important;
  padding: 0;
}

#specialtiesCloud ul li{
  display: inline-block;
}

#specialtiesCloud .oneSpecialty{
  background-color: #FF8C8C;
  padding: 3px 6px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.6s;
}

#specialtiesCloud .oneSpecialty a{
  text-decoration: none;
  color: var(--black);
}

#specialtiesCloud .additionalTag{
  display: none;
}

#specialtiesCloud .show{
  display: inline-block;
}

#specialtiesCloud .more{
  background-color: unset;
  font-size: 0.8em;
  opacity: 1 !important;
}

#specialtiesCloud.highlight-ongoing .oneSpecialty{
  opacity: 0.3;
}

#specialtiesCloud .highlight{
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  font-weight: bold;
  display: inline-block!important;
  opacity: 1 !important;
}

#specialtiesCloud .remove{
  display: none;
  margin-left: 6px;
  padding-left: 6px;
  font-weight: normal;
  border-left: 1px solid var(--red);
}

#specialtiesCloud .highlight .remove{
  display: inline;
}
