div {
  display: flex;
}

.map {
  max-width: 100%;
  max-height: 100%;
  flex-grow: 1;
  margin-right: 15px;
}

.address {
  align-items: center;
}

.address-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 15px;
}

.selected-box-address {
  overflow-y: auto;
  margin-right: 10px;

  flex-direction: column;
  height: 100%;
  display: flex;
  /* justify-content: space-between; */
}

.picture {
  justify-content: center;
  width: 100%;
  height: 100%;
}

.picture_wrapper {
  flex: 33%;
  width: 100%;
  height: 95%;
  /* display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; */
  margin: 10px 5px;
}

.opening_hours {
  flex: 34%;
  flex-direction: column;
  justify-content: right;
  display: flex;
  overflow: auto;
  margin-top: 10px;
  align-items: center;
}

.opening_hours_list {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
}

.opening-hours-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 2px 0;
}

.opening-hours-day {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  width: 60px;
  text-transform: capitalize;
}

.opening-hours-day-line {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  width: auto;
  margin-left: 5px;
}

.oH-closed {
  color: var(--text-color-warning);
}

.page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
}

.main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgba(0, 0, 0);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background-color: white;
  z-index: 999999;
}

.main.embedded {
  width: 100vw;
  height: 100vh;
}

.button-size {
  width: 35px;
  height: 35px;
}

.geolocation-btn {
  background-image: url('../../public/geolocation-icon.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  border: none;
  background-color: var(--button-color);
  cursor: pointer;
}

.search-button {
  background-image: url('../../public/search-icon.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  border: none;
  background-color: var(--background-color-light);
  cursor: pointer;
}

.close-button {
  background-image: url('../../public/close-icon.svg');
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--button-color);
  border-radius: 30px;
  color: var(--primary-color);
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.overleaf-map {
  flex: 73%;
  flex-direction: column;
  background: var(--background-color-dark);
}

.places-list {
  flex: 27%;
  height: 100%;
  flex-direction: column;
}

.scrollable {
  overflow-y: scroll;
  margin: 0 10px 10px 10px;
}

.list-elem-wrapper {
  width: 100%;
  flex-direction: column;
  height: max-content;
}

.list-elem-dist-wrapper {
  display: flex;
  align-items: center;
  margin: 5px;
}

.list-elem {
  display: flex;
  margin: 0px 10px;
  padding: 15px 0px;
  height: auto;
  min-height: 50px;
  border-bottom: 1px solid #dbdbdb;
  justify-content: space-between;
  cursor: pointer;
}

.list-elem-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
}

.list-elem-address {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  width: 100%;
}

.list-elem-img-wrapper {
  display: flex;
  align-items: flex-start;
}

.list-elem-img {
  display: flex;
  width: 35px;
}

.list-elem:hover {
  background-color: #f5f5f5;
}

.logo {
  margin: 15px;
  padding-left: 5px;
}

.search-wrapper {
  padding: 2px;
  margin-right: 10px;
}

.search-base {
  color: var(--button-color);
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--background-color-light);
  width: 350px;
}

.search-wrapper-expand {
  width: 100%;
  justify-content: space-between;
  margin: 5px 15px;
  height: 45px;
}

.info-address {
  margin: 10px;
  max-width: 450px;
  flex-direction: row;
  flex: 38%;
  flex-direction: column;
  justify-content: space-between;
}

.address-wrapper .logo {
  display: none;
}

.expand-search {
  display: flex;
  position: absolute;
  top: 65px;
  z-index: 10000;
  width: 100%;
  height: 80px;
  display: none;
  background-color: var(--background-color-dark);
  background: var(--background-color-dark);
  align-items: center;
}

.expand-location-list {
  position: relative;
  align-items: center;
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 30px;
  bottom: 10px;
  justify-content: center;
  z-index: 100000;
  display: none;
  border-radius: 30px;
}

.hide-item {
  display: none;
}

.visible-item {
  display: flex;
}

.expand-search-btn {
  display: none;
}

.selected-box-info {
  flex-direction: row;
  height: 32%;
  margin: 10px;
}

.box-info-buttons {
  display: none;
  height: 50px;
  margin: 10px;
  justify-content: space-between;
}

.picture img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.selected-box-title {
  display: flex;
  color: black;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.selected-box-cod {
  margin-bottom: 10px;
  color: var(--text-color);
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
}

.selected-box-description {
  color: var(--text-color);
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  height: auto;
}

.opening-hours-header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
}

.image-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000000;
  justify-content: center;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.instant-search-popup {
  background: #fff;
  position: absolute;
  margin-top: 45px;
  height: auto;
  max-height: 300px;
  width: 350px;
  background: #fff;
  z-index: 100000000;
}
.listpopup .list-elem {
  height: auto;
  min-height: auto;
}
.listpopup .list-elem:focus {
  background-color: #f5f5f5;
  border: none;
  text-decoration: none;
  outline: none;
}
.listpopup {
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.list-elem-address div {
  color: var(--text-color);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

.list-elem-distance {
  height: 25px;
  width: 65px;
  display: flex;
  align-items: center;
  background: var(--button-color);
  color: var(--primary-color);
  padding: 5px;
  font-weight: 799;
  font-size: 12px;
  line-height: 18px;
  justify-content: center;
}

input[type='search'] {
  border: none;
  background: transparent;
  margin: 0;
  padding: 7px 8px;
  font-size: 16px;
  color: inherit;
  border: 1px solid transparent;
  border-radius: inherit;
  width: 85%;
}
input {
  color: var(--text-color);
}
input[type='search']::placeholder,
input[type='search']::-moz-placeholder {
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  opacity: 1;
}

.search-btn-icon {
  text-indent: -999px;
  overflow: hidden;
  width: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: transparent url('../../public/search-icon.svg') no-repeat center;
  background-size: 18px 18px;
  cursor: pointer;
  opacity: 0.7;
}

.empty-list-elem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px;
  height: 90%;
  width: 90%;
}

.centered-text {
  text-align: center;
}

.search-btn-icon:hover {
  opacity: 1;
}

.search-btn-icon:focus,
input[type='search']:focus {
  outline: none;
}

.expand-el-list-btn {
  background-image: url('../../public/expand-icon.svg');
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  background-color: var(--primary-color);
  border: none;
}

.select-box-btn {
  background-color: var(--sps-color);
  width: 200px;
  height: 50px;
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  border: 0;
  /* margin: 0 10px; */
  cursor: pointer;
}

.select-box-back-btn {
  width: 50px;
  height: 50px;
  border: 0;
  font-size: x-large;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--button-color);
  background-image: url('../../public/back-icon.svg');
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.selected-addr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* margin: 10px; */
  margin-right: 10px;
}

.selected-addr-wrapper {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}

.selected-box-address {
  color: var(--text-color);
}

.selected-addr-descr {
  display: flex;
  flex-direction: column;
  /* margin: 10px; */
  /* overflow: auto; */
  color: var(--text-color);
  height: 50px;

  margin-right: 10px;
}

.date-line {
  width: 45px;
}

.list-elem.selected .list-elem-address {
  color: var(--sps-color);
}

.list-elem.selected .list-elem-dist-wrapper span {
  background: var(--sps-color);
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  flex-direction: column;
}
