div#bss-background {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

div#bss-background::-webkit-scrollbar {
  display: none;
}

.bss-map-fullscreen {
  min-width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border-radius: 4px;
  margin-left: 10px;
  border: 2px solid #8C9196;
}
.check-wrapper .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.social-media a {
  text-decoration: none;
}

.bss-store-image {
  max-width: 400px !important;
  max-height: 300px !important;
  display: flex;
  justify-content: center;
}

#bss-clear-filter {
  color: #2C6ECB;
  cursor: pointer;
}
#bss-clear-filter:hover {
  color: #004299
}

.search-bar-container.trial-7-day {
  opacity: 0.45 !important;
  pointer-events: none !important;
}

#bss-map-search-box::-webkit-scrollbar,
#store-locator-page::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar,
#bss-filter-tag-wrapper::-webkit-scrollbar,
#bss-filter-country-wrapper::-webkit-scrollbar {
  width: 7px;
}
#bss-map-search-box::-webkit-scrollbar-thumb,
#store-locator-page::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb,
#bss-filter-tag-wrapper::-webkit-scrollbar-thumb,
#bss-filter-country-wrapper::-webkit-scrollbar-thumb,
.filter-drop-down-select::-webkit-scrollbar-thumb {
  background:  #C4C4C4 !important;   
  border-radius: 8px;
  border: 2px solid #fff;
}
#bss-map-search-box::-webkit-scrollbar-thumb:hover,
#store-locator-page::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover,
#bss-filter-tag-wrapper::-webkit-scrollbar-thumb:hover,
#bss-filter-country-wrapper::-webkit-scrollbar-thumb:hover,
.filter-drop-down-select::-webkit-scrollbar-thumb:hover {
  background: #737373 !important;
  border: 2px solid #737373;   
}

.filter-drop-down-select {
  display: flex;
  height: 100%;
  align-items: center;
  overflow-x: auto;
  margin-right: 20px;
  gap: 4px;
}

.bss-menu-option .checkmark {
  top: 5px!important;
}
.check-wrapper.bss-menu-option {
  border-radius: 4px;
}
.gm-style-iw-d{
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  scrollbar-width: none;
  margin: 16px;
  width: -webkit-fill-available;
}
/* Dropdown */
.bss-menu {
  z-index: 200;
  margin-top: 40px;
  background-color: white;
  position: absolute;
  max-height: 216px;
  overflow-y: scroll;
  overflow-x: hidden;
  min-width: 155px;
}
.bss-menu-btn {
  font-size: 12px;
  padding: 6px 10px 6px 0;
  background-color: white;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  align-items: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  line-height: 22px;
}

.drop-down-icon {
  position: absolute;
  right: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 5px 2px;
}

/* The check-wrapper */
.check-wrapper {
margin-right: 16px;
display: flex;
flex-shrink: 0;
align-items: center;
position: relative;
padding-left: 40px;
padding-top: 3px;
padding-bottom: 3px;
cursor: pointer;
font-weight: 400;
font-size: 14px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.bss-shadow.bss-rounded.bss-menu .check-wrapper {
  margin-right: 0px;
}
.check-wrapper.bss-menu-option:hover{
  background-color: #F1F1F1;
}

#bss-numbers-of-stores {
  font-style: normal;
  display: block;
  padding: 10px 12px;
}
.gm-style-iw-c{
  padding: 0px !important;
}
.gm-style .gm-style-iw-c {
  border-radius: 4px !important;
  display: flex;
  align-items: end;
}

#bss-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  color: white;
  background-color: #000;
  border: 1px solid #232227;
  border-radius: 4px;
  padding: 0 8px;
}

.bss-wrapper-search-group {
  display: flex;
  gap: 10px;
  flex: 1 0 65%;
  max-height: 40px;
}

.bss-wrapper-search {
  flex-grow: 1;
  display: flex;
  border: solid 1px #c4c4c4;
  border-radius: 4px;
}

#bss-search-btn.bss-search-btn-combine {
  margin: 2px;
  color: #000;
  border: none;
  background-color: transparent;
}

#bss-search-btn:hover{
  box-shadow:2px 4px 8px 0 rgb(0 0 0 / 12%);
}

.get-direction-btn {
  --text-color: #616161;
  --icon-color: #616161;
  --bg-hover-color: rgba(118, 174, 151, 0.5);
  display: inline-flex;
  align-items: center;
  column-gap: 1px;
  border: 1px solid var(--icon-color);
  text-decoration: none;
  padding: 6px 8px 6px 8px;
  gap: 4px;
  border-radius: 4px;
}

.get-direction-btn span {
  font-size: 14px;
  color: var(--text-color);
  font-weight: bold;
}

.get-direction-btn svg {
  width: 21px;
  fill: var(--icon-color);
}

.bss-map-fullscreen>h1, #locator-title {
  text-align: center;
}

.bss-store-result > img {
  max-width: 100%!important;
  max-height: 200px;
  object-fit: cover;
}

.bss-store-result div[id^=bss-store-name] a{
  cursor: default;
}

/* Hide the browser's default checkbox */
.check-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* On mouse-over, add a grey background color */
.check-wrapper:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check-wrapper input:checked ~ .checkmark {
  background-color: #2C6ECB;
  border: 2px solid #2C6ECB;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-wrapper input:checked ~ .checkmark:after {
  display: block;
}

.bss-store-result.store-active {
  background: #f1f1f1 !important;
}

#bss-search-result > .bss-store-result:hover {
  background: #F1F1F1;
}

.bss-d-none {
  display: none;
}

.bss-shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important
}

.gm-svpc img {
  max-width: unset;
}

.store-locator-page-parent-popup #bss-filter-country-wrapper span, .bss-bg-none {
  color: #fff;
}

.custom-select {
  position: relative;
  height: 100%;
  padding: 0px 8px;
  font-weight: bold;
  font-size: 14px;
  color: #202223;
  cursor: pointer;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.custom-select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-options {
  display: none;
  position: absolute;
  width: 100%;
  top: 42px;
  left: 0px;
  background: #fff;
  z-index: 10;
  box-shadow: 0px 1px 0 0 #00000021;
  border: 1px solid #C4C4C4;
  border-radius: 4px;
  color: #202223;
  min-width: 100px;
}

#bss-filter-tag-wrapper, #bss-filter-country-wrapper {
  overflow: hidden;
}

.store-locator-page-parent-popup #bss-filter-country-wrapper span, .store-locator-page-parent-popup #bss-filter-tag-wrapper span {
  color: #fff;
}

#bss-tab-wrapper, .bss-bg-none{
  color: #000;
}

.gm-style-iw.gm-style-iw-c:has(#bss-content) .gm-ui-hover-effect {
  display: none !important;
}
.gm-style-iw-d:has(#bss-content) {
  margin: 4px;
}
#bss-map-wrapper > div > div.gm-style > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(4) > div:has(#bss-content) {
  z-index: -9999 !important;
}
button.gm-ui-hover-effect {
  width: 25px !important;
  height: 30px !important;
}
button.gm-ui-hover-effect span {
  margin: 0px !important;
}
div#bss-content {
  margin: 12px;
}

#bss-wrapper-radius-value {
  margin: auto;
  display: flex;
  justify-content: end;
  flex-shrink: 0;
  min-width: 60px;
}

.store-list-button {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0px 10px;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  cursor: pointer;
}

.store-list-button.left {
  left: 10px !important;
}

.store-list-button.right {
  top: 60px !important;
  left: unset !important;
  right: 60px !important;
}

.store-list-button-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(180deg);
}

.store-list-button-icon.rotate {
  transform: rotate(0deg);
}

.store-list-button.show-on-desktop {
  display: flex;
}

.find-my-location-button-on-map {
  display: flex;
  margin-right: 10px !important;
  padding: 8px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  color: #666;
}

.find-my-location-button-on-map:hover {
  color: #000;
}

#bss-map-search-box.page-locator-layout.combine {
  position: absolute;
  top: 90px;
  width: 80%;
  max-width: 400px;
  max-height: 500px;
  background-color: #fff;
  border: solid 1px #C4C4C4;
  box-shadow: 0px 4px 4px 0px #00000040; border-radius: 4px;
  overflow-y: scroll;
  text-align: left !important;
}

#bss-map-search-box.page-locator-layout.combine.right {
  right: 60px;
}

#bss-map-search-box.page-locator-layout.combine.left {
  left: 10px;
}

#bss-map-search-box.page-locator-layout.split {
  position: relative;
  height: 620px;
  width: 80%;
  max-width: 400px;
  background-color: #fff;
  border-right: solid 1px #C4C4C4;
  border-top: solid 1px #C4C4C4;
  border-bottom: solid 1px #C4C4C4;
  overflow-y: scroll;
}

.search-bar-above-map {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin:auto;
  border-top: 1px solid #c4c4c4;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  background: #fff;
}

.search-bar-top-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 16px 12px;
  border-bottom: solid 1px #C4C4C4;
  gap: 10px;
}

.store-locator-popup-container {
  background: #fff;
  padding: 40px 10px;
  position: relative;
  margin-top: 80px;
}

.close-button-map-popup {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
}

.close-button-map-popup:hover {
  opacity: 0.8;
}

#bss-wrapper-button {
  display: flex;
  flex: 1 0 25%;
  flex-wrap: wrap;
  gap: 20px;
}

#bss-wrapper-country {
  position: relative;
  width: 100%;
}

#bss-select-search-option {
  display: inline-flex;
  border-right: solid 1px #c4c4c4;
  max-height: 40px;
}

#bss-select-search-option .custom-option {
  font-weight: 400;
  padding: 4px 10px;
  cursor: pointer;
}

#bss-select-search-option .custom-option:hover{
  background-color: #F1F1F1;
}

#bss-wrapper-radius {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  margin: auto;
  min-height: 40px;
}

.bss-wrapper-radius-value-cover {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

#bss-wrapper-radius label {
  font-weight: bold;
  margin: auto 0px;
  margin-right: 8px;
  font-size: 14px;
  color: #000;
  word-break: break-all;
}

#bss-radius-filter {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  height: 4px;
}

.filter-group {
  width: 100%;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 10px;
}

.bss-wrapper-tag-cover, .bss-wrapper-country-cover {
  position: relative;
  width: 100%;
  flex: 1;
}

.filter-drop-down-select::-webkit-scrollbar {
  width: 2px;
  height: 6px;
}

#dropdown-tag {
  display: block;
  width: 100%;
  max-height: 216px;
  position: absolute;
  left: 0;
  top: 4px;
  color: #202223;
  border: 1px solid rgb(196, 196, 196);
  padding: 0 0 0 7px;
  scrollbar-gutter: stable;
}

.ggm-iw-con__image {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.ggm-iw-con__image img {
  width: 100%;
  max-width: 250px;
  object-fit: scale-down;
}

.ggm-iw__content--store-name {
  font-weight: bold;
  font-size: 20px;
  padding: 8px 0;
  color: #000000;
  text-align: center;
}

.ggm-iw__content--des {
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

.store-field-schedule {
  margin-bottom: 8px;
  align-items: center;
}

.store-field-info {
  margin-bottom: 8px;
  line-height: 22px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-align: left !important;
}

.text-single-line {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.store-field-info svg {
  flex-shrink: 0;
}

#bss-wrapper-clear {
  text-align: left;
}

.store-field-info a {
  word-break: break-word;
}

#bss-wrapper-header {
  display: flex;
  gap: 10px;
  width: 100%;
}

#bss-map-search-box[isOpen="0"] {
  display: none;
}

#bss-map-search-box[isOpen="1"] {
  display: block;
}

#bss-search-input {
  width: 100% !important;
  padding: 10px 4px;
  box-shadow: none;
  outline: none;
  border: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

@media only screen and (max-width: 700px) {

  #bss-wrapper-header {
    flex-direction: column;
  }

  .filter-categories {
    flex-direction: column;
  }

  .store-list-button {
    display: flex;
  }
  
  .store-list-button.right {
    right: unset !important;
    left: 10px !important;
  }

  #bss-map-search-box.page-locator-layout.split {
    position: absolute;
    max-height: 500px;
    top: 90px;
    z-index: 100;
  }

  #bss-map-search-box.page-locator-layout{
    left: 10px !important;
    right: unset !important;
  }

  div#bss-btn-wrapper {
      order: 1;
  }

  #bss-tab-wrapper{
      display: flex !important;
  }

  #bss-map-wrapper{
      width: 100% !important;
  }


  #bss-map-search-box img{
      width: 100%;
      height: auto;
  }

  .bss-map-search-box-hidden{
      display: none !important;
  }

  .bss-map-search-box-show{
      display: inherit !important ;
  }
}


/* set the marker animation */
@keyframes drop {
  0% {
      transform: translateY(-200px) scaleY(0.9);
      opacity: 0;
  }
  5% {
      opacity: 0.7;
  }
  50% {
      transform: translateY(0px) scaleY(1);
      opacity: 1;
  }
  65% {
      transform: translateY(-17px) scaleY(0.9);
      opacity: 1;
  }
  75% {
      transform: translateY(-22px) scaleY(0.9);
      opacity: 1;
  }
  100% {
      transform: translateY(0px) scaleY(1);
      opacity: 1;
  }
}

@keyframes bounce {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
  100% {
      transform: translateY(0);
  }
}

.bounce {
  animation: bounce 0.7s linear infinite;
}
.drop {
  animation: drop 0.3s linear forwards;
}