.store-map-block {
	position: relative;
	background-color: #405465;
}

.store-map-block #map-block {
	height: 100vh; /* The height is 400 pixels */
	max-height: 600px;
	width: 100%; /* The width is the width of the web page */
	opacity: 0.5;
	transition: opacity ease-in-out 1s;
  }

.store-search {
	background-color: #1639ab;
    border-radius: 1em;
    max-width: 900px;
    margin: auto;
	padding: 1rem;
	z-index: 2;
    position: absolute;
	width: 90%;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	transition: top 1s ease-in-out;
}
.store-search h3 {
	color: #ffffff;
}

#map-results {
	position: absolute;
	left: -100%;
	top: 0;
	bottom: 0;
	height: 100%;
	max-width: 800px;
	transition: left 1s ease-in-out;
	background: rgb(0,0,0);
	background: linear-gradient(90deg, rgba(0,0,0,0.5046393557422969) 0%, rgba(0,0,0,0) 100%);
}

.map-results-container {
	height: calc(100% - 100px);
	margin-top: 100px;
	width: 100%;
	overflow-y: scroll;
	padding-top: 2em;
	padding-bottom: 2em;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.results #map-results {
	left: 0%;
}

#store-map-block-error {
	display: none;
}

.error #store-map-block-error {
	display: block;
}

.store-result {
	display: flex;
	position: relative;
	background-color: #ffffff;
}

.results .store-search {
	top: 2rem;
}

.store-map-block.results #map-block {
	opacity: 1;
}

.store-address {
	font-size: 0.75rem;
}

.store-distance {
	top: 0;
	right: -0.5em;
	font-size: 0.75rem;
}

.store-delivery a {
	text-decoration: none;
   }

.store-delivery svg {
 height: 2rem;
 width: auto;
 margin-left: 4px;
}

/* Works on Firefox */
.map-results-container {
	scrollbar-width: thin;
	scrollbar-color: #0939A3 transparent;
  }
  
  /* Works on Chrome, Edge, and Safari */
  .map-results-container::-webkit-scrollbar {
	width: 12px;
  }
  
  .map-results-container::-webkit-scrollbar-track {
	background: transparent;
  }
  
  .map-results-container::-webkit-scrollbar-thumb {
	background-color: #0939A3;
	border-radius: 20px;
	border: 3px solid transparent;
  }

  .store-services svg,
  .store-services img {
	height: 3rem;
  }
  .store-services h5 {
	font-size: 1rem;
  }

  .store-map {
	height: 200px;
  }

  /* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.results #map-results {
		min-width: 400px;
	}

	.store-delivery svg {
		height: 1.5rem;
		margin-left: 3px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.results #map-results {
		min-width: 500px;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.results #map-results {
		min-width: 550px;
	}
}

.storeaddress span::before { 
	content: "\a";
    white-space: pre;
}

.filtericon svg {
	height: 1em;
}

#offcanvasFilter .form-switch .form-check-input {
	font-size: unset !important;
}