body {
  margin: 0 auto;
  height: auto;
  font-family: sans-serif;
  background-color: #e5e5e5;
}
.loading {
  height: 100%;
  background-color: white;
  font-size: 48px;
}
#root {
  height: 100vh;
}
.header-navbar {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  z-index: 99 !important;
  background-color: #3b6064;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
#singlepage {
  height: 100vh;
  background-color: #e5e5e5;
}
/** Logo */
.logo {
  flex-grow: 0.5;
  width: 50px;
  height: 50px;
}

/** Percolate phrase*/
.oursite {
  font-size: 2rem;
  font-weight: bold;
  margin: auto 20px auto 5px;
  color: #c9e4ca;
  display: flex;
  text-align: center;
}
.oursite:hover{
  cursor: pointer;
}
.brand {
  margin-top: 5px;
}

/** Space between search bar*/
.blank {
  flex-grow: 1;
  display: flex;
}

/** The products button*/

.about {
  flex-grow: 0.5;
  color: #c9e4ca;
  height: 30%;
  border-radius: 10px;
  padding: 5px;
  margin: auto;
}
.about:hover {
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.space {
  flex-grow: 1;
}

/** ======= SEARCH BAR ======= */

.search {
  flex-grow: 3.5;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 1.25px solid rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border-radius: 25px;
  padding: 5px;
  margin: 10px;
  text-align: left;
}

.search-input {
  left: 5px;
  margin: 2px;
  margin-left: 10px;
  width: 90%;
  height: 100%;
  border: 0;
}

.search-label {
  margin-right: 10px;
}
/** ======= Profile  ======= */

.loginBox {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.profPic {
  background-color: #c9e4ca;
  margin-top: 5px;
  margin-right: 5px;
  width: 35px;
  height: 35px;
  align-self: center;
  overflow: hidden;
  object-fit: cover;
  box-shadow: 0 0px 0px 1px white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.username {
  margin-right: 5px;
  color: #c9e4ca;
}
.signoutButton {
  cursor: pointer;
  padding: 5px;
  color: #c9e4ca;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid white;
}

/* ===================Home page================== */

.home {
  display: flex;
  text-align: center;
  justify-content: space-around;
  border-radius: 3px;
  padding: 10px;
}
.leftSide {
  flex-grow: 1;
  margin: 5px;
  margin-right: 10px;
  display: flex;
  justify-content: start;
  flex-flow: column;
  align-items: center;
}
.self {
  display: flex;
  flex-flow: column;
  background-color: white;
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
  width: 100%;
  margin: 5px;
}
.middlePieceOfcard {
  display: flex;
  background-color: white;
  flex-flow: column;
  border-radius: 10px;
}
.rightSide {
  flex-grow: 1;
  margin-top: 5px;
  margin-left:0;
  margin-right: -5px;
  margin-bottom: 5px;
  display: flex;
  flex-flow: column;
  height: 100vh;
  overflow-y: scroll;
  scrollbar-width: none;
  align-items: center;
}
.rightSide::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
.rightsideBar {
  background-color: white;
  width: 100%;
  border-radius: 10px;
  margin-top:5px;
  margin-bottom: 5px;
}
.centerBody {
  flex-grow: 3;
  margin-right: 10px;
  margin-left: 10px;
  display: flex;
  justify-content: start;
  flex-flow: column;
  align-items: center;
  height: 100vh;
  overflow-y: scroll;
  scrollbar-width: none;
  margin-top: 10px;
}
.centerBody::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

.feeding {
  height: auto;
}
.top {
  margin-top: 10px;
  border-radius: 10px 10px 0 0;
}
.bottom {
}
.headNPost {
  display: flex;
  padding: 5px;
  justify-content: flex-start;
  align-items: center;
  background-color: white;
}
.commentImage {
  flex-grow: 0.1;
}
.productAndBusiness {
  display: flex;
  flex-flow: column;
  background-color: white;
  padding: 10px 0px 10px 10px;
  border-radius: 10px;
  width: 100%;
  margin: 5px;
}
.businessSideBar {
  padding: 5px;
  display: flex;
  flex-flow: column;
  border-top: solid 1px grey;
}
.businessSideBar:hover {
  background-color: lightgray;
  cursor: pointer;
}

.writepost {
  color: black;
  font-size: 1rem;
  padding-left: 5px;
}
.nameAndTime {
  display: flex;
  flex-flow: column;
}
.ago {
  font-size: 10px;
}
.post {
  display: flex;
}
.postHead {
  height: 50px;
  width: 50px;
}
.postNow {
  flex-grow: 0.5;
  width: 60px;
  height: 35px;
  background-color: #3b6064;
  border-radius: 20px;
  border: 0;
  font-size: 20px;
  color: #c8d6cf;
}
.postNow:hover {
  background: #2c484b;
  cursor: pointer;
}
.textarea {
  background-color: rgb(228, 227, 227);
  max-width: 100%;
  overflow: hidden;
  font-size: 18px;
  height: auto;
  display: block;
  resize: both;
  min-height: 40px;
  line-height: 20px;
  resize: none;
  border: 0;
  flex-grow: 3;
  padding-top: 5px;
  border-radius: 20px;
  font-family: inherit;
  font-size: inherit;
}
.textarea:focus {
  border: 0 none;
  overflow: hidden;
  outline: none;
}

p strong {
  display: block;
}

.ais-SearchBox-input {
  left: 5px;
  margin: 2px;
  margin-left: 10px;
  width: 90%;
  height: 100%;
  border: 0;
}

.ais-SearchBox-reset{
  display:none
}
.ais-SearchBox-submit{
  margin-right: 5px;
}

.ais-SearchBox-form {
  flex-grow: 3.5;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 1.25px solid rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border-radius: 25px;
  padding: 5px;
  margin: 10px;
  text-align: left;
}

.search-results:not(:empty) {
  position: absolute;
  top: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  background-color: white;
  overflow-y: scroll;
  max-height: 50vh;
  z-index: 100;
  width: 40%;
  border-radius: 0 0 2% 2%;
  box-shadow: black 0px 1px 1px 1px;
}

.hit-photo {
  width: 50px;
  max-height: 60px;
  margin-right: 15px;
}

.ais-Hits {
  display: flex;
  flex-direction: column;
  width: 98%;
  border-top: solid black 2px;
}

.ais-Hits-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

.ais-Hits-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  border-bottom: solid grey 1px;
  align-items: center;
}
.ais-Hits-item:hover {
  background-color: lightgray;
  cursor: pointer;
}
.results {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
}

.header-left {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-left: 10px;
}
.header-middle {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.header-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-right: 10px;
}

.ais-SearchBox {
  align-self: center;
}

.ais-SearchBox-form {
  align-self: center;
}
.cardUpAdjustment {
  margin-top: 0px;
  margin-bottom: 1px;
  border-radius: 0;
}

.cardUp {
  margin-top: 0px;
  margin-bottom: 1px;
  border-radius: 0px;
  flex-flow: row;
  justify-content: space-around;
  align-items: center;
}
.cardUptwo {
  margin-top: 0px;
  border-radius: 0px 0px 10px 10px;
  background-color: white;
}
.heart {
  height: 20px;
  width: auto;
}
.likes {
  flex-grow: 2;
  display: flex;
  align-items: center;
}
.likes p {
  padding-left: 10px;
}
.flip {
  color: gray;
  transform: scaleX(-1);
}
.comments {
  flex-grow: 1;
  display: flex;
}
.comments p {
  padding-left: 10px;
}
.feedcard {
  width: 100%;
  margin: 0 auto;
  padding: 0 auto;
}
.cardRound {
  width: 100%;
  background-color: white;
  color: gray;
  border-radius: 10px;
  margin-bottom: 5px;
  margin-top: 10px;
  padding-bottom: 10px;
}
.newCoffee {
  width: fit-content;
  font-size: 18px;
}
.cardDown {
  margin-bottom: 1px;
  border-radius: 20px 20px 0px 0px;
}
.card {
  flex-flow: row;
  margin-top: 1px;
  border-radius: 0;
  justify-content: flex-start;
}
.card .favCoffee{
  margin-right: 15px;
  margin-left: 10px;
}
.coffeeInfo {
  text-align: left;
}
.show {
  display: block;
}
.noShow {
  display: none;
}
.insideComment {
  margin: 0;
  padding: 0;
  width: inherit;
  word-wrap: break-word;
}
.commentContent {
  flex-grow: 5;
}
.commentPadding {
  padding-left: 15px;
  padding-right: 15px;
  text-align: start;
}
#map {
  min-height: 300px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

/* rating stars ===============================*/
.rating_heart {
  width: auto;
  height: 60px;
  background: url("/gray-bean.png");
  background-size: contain;
}
.rating {
  width: 150px;
  height: 50px;
  padding: 5px 10px;
  background: #fff;
  display: block;
  overflow: hidden;
  unicode-bidi: bidi-override;
  direction: rtl;
}
/* hide circular selection dots */
.rating:not(:checked) > input {
  display: none;
}

/* - - - - - LIKE */
#rate {
  bottom: -65px;
}
#rate:not(:checked) > label {
  cursor: pointer;
  float: right;
  width: 30px;
  height: 48px;
  display: block;

  color: rgba(233, 54, 40, 0.4);
  line-height: 33px;
  text-align: center;
}
#rate:not(:checked) > label:hover,
#rate:not(:checked) > label:hover ~ label {
  background: url("/color-bean.png");
}
#rate > input:checked + label:hover,
#rate > input:checked + label:hover ~ label,
#rate > input:checked ~ label:hover,
#rate > input:checked ~ label:hover ~ label,
#rate > label:hover ~ input:checked ~ label {
  background: url("/color-bean.png");
}
#rate > input:checked ~ label {
  background: url("/color-bean.png");
}

.ratingBox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.marker-hover div {
  display: none;
  position: absolute;
  background: lightgray;
  color: black;
  font-size: 15px;
}

.marker-hover:hover div {
  display: flex;
  cursor: pointer;
}
#txt {
  padding-left: 20px;
  padding-right: 20px;
}

.imageBox{
  margin-right:10px;
}

.feedcardCss{
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 15px;
}

.marker{
  height: 25px;
}

.favoriteTitle{
  margin-bottom: 0;
}

#add-review-text{
  padding-left: 15px;
  padding-right: 15px;
}

#commentImage{
  margin-right: 10px;
}

.singleComment{
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 100%
}
.commentName{
  text-align: left;
}
.commentContentImage{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%
}

.headNPost{
  border-bottom: 1px solid lightgray;
}


