#all-content {
  padding-bottom: 0;
}

.footer-layout1 {
  margin-top: 0;
  z-index: 2;
}

:root{
  --main-color: #C80000;
}

*,
:after,
:before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
  overflow: hidden;
}

body,
html,
#map {
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  overflow-x: hidden;
}

.shop {

img {
  display: block;
  width: 100%;
  height: auto;
}

#export {
  position: absolute;
  right: 10px;
  z-index: 99999;
  background: white;
  color: black;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
}

#export {
  top: 10px;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px!important

}

.leaflet-popup-content {
  width: 222px !important;
}

.info-shop {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.info-description {
  max-width: 300px;
  overflow: hidden;
  max-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-logo {
  display: flex;
  align-items: center;
  width: 100%;
  
}
.info-logo img{
  width:100%;
}


.info-button button {
  padding: 10px 15px;
  border: 0;
  margin-top: 10px;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
  font-size: 90%;
  background: var(--main-color);
  border-radius: 25px;
}

.info-button button:hover {
  background: #AA0000;
}

&.shop {
  z-index: 1;
  position: relative;
  display: flex;
  height: calc(100% - 72px);
  overflow: hidden;
}

.autocomplete {
  background: #fff;
  height: 100%;
  width: 320px;
  padding: 15px 20px;
  padding-top: 50px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  right: -320px;
  z-index: 1000;
  transition: right 300ms ease-in;
}

.autocomplete.open {
  right: 0px;
}

@media screen and (max-width: 700px) {
  .autocomplete {
    width: 100%;
    top: 50%;
    width: 100%;
    right: -100%;
    padding-top: 15px;
  }

  .autocomplete.open {
    right: 0;
  }
}

.search-shop,
#category-select, #search-description, #level-select, .select {
  border: 1px solid #d7d7d7;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 16px;
  padding: 8px 10px !important;
  margin-bottom: 15px;
  border-top: 1px solid #cccccc;
  width: 100%;
  /* text-transform: ; */
}

option {
  text-transform: capitalize;
}

.search-shop:focus {
  border: 1px solid #858585;
  outline: none;
}

.shops-list {
  margin: 0;
  padding: 0 10px 0 0;
  list-style: none;
  overflow: auto;
  max-height: 100%;
}

.shops-list::-webkit-scrollbar {
  width: 10px;
}
.shops-list::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 5px;
}

.shop-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 10px 10px 5px;
  font-size: 80%;
  cursor: pointer;
}

.shop-item:hover {
  background: #f3f3f3;
}

.shop-item .name {
  text-transform: uppercase;
  font-weight: bold;
  font-size: large;
}

.info-name{
  /*display: none;*/
  font-size: 30px;
  text-transform: uppercase;
}

.shop-category {
  text-transform: uppercase;
  font-weight: bold;
  padding: 4px;
  margin-left: 3px;
  font-size: 10px;
  color: #880000;
  border: 1px solid #b47157;
  border-radius: 99px;
  max-width: fit-content;
  cursor: pointer;
}

.shop-color {
  width: 10px;
  min-width: 10px;
  height: 10px;
  border-radius: 50%;
}

.active-shop {
  background: #b9b6b6 !important;
  color: #fff;
}

#pagination {
  display: flex;
  align-items: center;
  padding: 4px 0px;
  gap: 8px;
}

#pagination p {
  font-size: 18px;
}

#pagination select {
  padding: 4px 0px;
}

#pagination button {
  border: none;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 14px;
  background-color: #292929 !important;
  color: white;
}

@media screen and (max-width: 700px) {
  &.shop {
    flex-direction: column;
    height: 100vh;
  }

  /* .leaflet-popup-close-button {
    top: 20px !important;
    right: 10px !important;
  } */


  .leaflet-pane {
    top: 30px !important;
  }
}

.leaflet-container .leaflet-control-attribution{
  display: none;
}

.leaflet-interactive:hover {
  stroke-width: 2px;
  stroke: #880000;
  stroke-dasharray: 5;
}

@media screen and (max-width: 480px) {
  .leaflet-top .leaflet-control {
    margin-top: 10px !important;
  }
  .leaflet-popup {
    /* bottom: -35px !important; */
  }
}

.side-bar {
  position: absolute;
  overflow: none;
  top: 0;
  right: 0;
  /* Hidden by default */
  width: 300px;
  max-width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  /* Smooth animation */
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.side-bar.close {
  right: -300px;
  /* Show the sidebar */
  position: absolute;
  top: 0;

  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  /* Smooth animation */
  z-index: 1000;
}


#toggle-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2000;
  background-color: #880000;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
  height: 39px;
  width: 39px;
}

.autocomplete {
  padding-top: 60px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

#toggle-sidebar:hover {
  background-color: #aa0000;
}

@media screen and (max-height: 500px) {
  .side-bar {
    overflow-y: auto;
  }

  .shops-list {
    height: calc(100% - 30px);
  }
}


.hidden {
  display: none;
}




/* current location styles*/
.located-animation {
  width: 17px;
  height: 17px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #880000;
  animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.locate-active {
  fill: #880000;
}

.locate-button {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  z-index: 999;
  cursor: pointer;
  display: none;
  padding: 5px;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgb(0 0 0 / 65%);
}

.leaflet-touch .locate-button {
  width: 34px;
  height: 34px;
}

 .leaflet-container a.leaflet-popup-close-button {
  background: #aa0000 !important;
  margin: 4px !important;
  border-radius: 8px !important;
  color: white !important;
}
}

.header-top {
  display: none;
}
main {
  overflow-y: hidden !important;
}

@media only screen and (max-width: 1360px) {
  .shop {
    height: calc(100% - 120px) !important;
  }
}

.leaflet-control-zoom {
  margin-left: 60px !important;
}