﻿/* main-body */
.main-body {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  padding: 0px;
}
.nearby_sidenav {
  max-width: 383px;
  width: 100%;
  z-index: 1;
  background-color: #EDECE8;
  overflow-x: hidden;
  transition: 0.5s;
  height: 100vh;
  overflow: auto;
}
.wrapper {
  max-width: calc(100% - 383px);
  width: 100%;
  height: 100vh;
  overflow: auto;
  margin-right: -15px;
}
/* Map */
#map {
  height: 100vh;
}
/* Sidebar nav */
.input-group {
  padding: 16px 9px 0px 9px;
}
#basic-search {
  background: #fff;
  border: none;
  height: 50px;
  color: #595959;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  padding-left: 14px;
  cursor: pointer;
}
.search-bar input {
  background: #fff;
  border: none;
  height: 50px;
  color: #595959;
  border-radius: 4px;
  padding-left: 14px;
}
.accordion-button {
  border-radius: 4px !important;
  border: none;
  padding: 1rem 0.85rem;
  text-transform: inherit !important;
  color: black !important;
  font-size: 18px;
}
.accordion-button::after {
  background-image: url(../../assets/images/accordion-open-black.svg);
}
#basic-search img {
  width: 16px;
}
.collapse-text {
  color: #38312D !important;
  font-size: 16px;
  font-weight: bold;
}
.custom-accodion {
  border-radius: 5px;
  margin: 5px 0px;
  padding: 0px 8px 0px 8px;
}
.accodion-icon {
  position: absolute;
  right: 13px;
}
.custom-accodion .accordion-body {
  padding: 0.6rem 0.45rem;
  background-color: #fff;
}
.main {
  display: flex;
  justify-content: space-between;
}
.main div {
  width: 100%;
  position: relative;
}
select.form-select {
  width: 100%;
  height: 37px;
  background-color: #EDECE8;
  border: none;
  border-radius: 5px;
  padding: 0 5px;
  margin: 5px 0;
  font-size: 14px;
  color: #595959;
}
/*.accordion-button:focus, .form-select:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
    color: black;
}

.accordion-button:not(.collapsed) {
    color: #333333;
}*/
.accordion-button:not(.collapsed) {
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.restaurant-detail {
  background: white;
  padding: .75rem 0.65rem;
  border-radius: 4px;
  margin: 5px 8px 5px 8px;
}
.restaurant-detail .title {
  color: #38312D;
  font-weight: bold;
  font-size: 16px;
}
.restaurant-detail-top-bar {
  padding: 3px 0 10px;
  position: relative;
}
.restaurant-detail-top-bar div {
  font-size: 13px;
  color: #595959;
  line-height: 24px;
}
.restaurant-detail-top-bar:after {
  content: '';
  border-bottom: 1px solid;
  bottom: 0;
  position: absolute;
  z-index: 31;
  left: -14px;
  right: -14px;
  opacity: 0.2;
}
.select-restaurant-src {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.select-restaurant-src div img {
  width: 12px;
}
.select-restaurant-src div {
  font-size: 12px;
  color: #38312D;
  line-height: 2;
  width: 50%;
}
.restaurant-detail-top-bar div img {
  width: 12px;
  margin-right: 5px;
}
.action-btns button.btn-primary img {
  width: 16px;
  margin-right: 5px;
  position: relative;
  top: -2px;
}
.action-btns {
  padding: 10px 0;
}
.action-btns button {
  background: #EDECE8;
  width: 100%;
  height: 45px;
  border-radius: 6px;
}
.action-btns button.btn-primary {
  background: #ffc600;
  width: 100%;
  height: 45px;
  border-radius: 6px;
}
.action-btns button.btn-primary:hover {
  background: #EDECE8;
  color: #38312D;
  border-color: transparent;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}
.action-btns img {
  width: 10px;
  margin-right: 7px;
  position: relative;
  top: -2px;
}
.mobile-view {
  display: none;
}
/* The checkbox-design */
.checkbox-design {
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 27px;
    line-height: 1.7;
    font-size: 14px;
    color: #38312D;
}


.checkbox-design input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
    position: absolute;
    top: 0px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #DDDDDD;
}
.checkbox-design:hover input ~ .checkmark {
  background-color: #ccc;
}
.checkbox-design input:checked ~ .checkmark {
  background-color: #FFC600;
  border: #FFC600 !important;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-design input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-design .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid #38312D;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
@media (max-width:767px) {
  .accordion-item {
    padding-right: 0px;
  }
  .main-body {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
  .nearby_sidenav {
    max-width: 100%;
    position: relative;
    height: auto;
    overflow: auto;
    order: 2;
  }
  .wrapper {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    z-index: 1;
    height: 260px;
  }
  #map {
    height: 260px;
  }
  .mobile-view {
    display: block;
  }
}