:root {
  --body-color: white;
  --font-color: #1f1f1f;
  --input-color: #202124;
  --odd-row-color: #eaeaea;
  --shadow-color: #a0a0a0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --body-color: black;
    --font-color: white;
    --input-color: #eaeaea;
    --odd-row-color: #1f1f1f;
    --shadow-color: #2f2f2f;
    color-scheme: dark;
  }
}

.bp-clickable {
  cursor: pointer;
}


.bp-searchbox {
  background: var(--body-color);
  margin: 16px;
  border-radius: 16px 16px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 3px 3px 5px var(--shadow-color);
  color: var(--font-color);
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.00625rem;
  line-height: 1.25rem;

}

.bp-topbox {
  width: 100%;
  font-size: 24px;
  left: 0;
  right: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-bottom: 1px solid #d0d0d0;

}

.bp-ibox {
  padding: 12px 54px;
  outline: none;
  border: 0;
  resize: none;
  width: 100%;
  vertical-align: top;
  background-color: transparent;
  font-size: 20px;
  line-height: 28px;
  color: var(--input-color);
  height: auto;
}

.bp-right-icon {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  line-height: 28px;
  color: var(--input-color);
  padding: 12px 10px;
}

.bp-topbox>input[type=text]:focus {
  outline-offset: 0;
  padding: 0px;
}

.bp-sbutton:active {
  box-shadow: 0px 0px 5px 2px #00a7e5;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #00a7e5;
}

#bp-ocbox {
  display: none;
}

#bp-drop {
  border-top: 1px solid #d0d0d0;
  -moz-transition: height .35s;
  -ms-transition: height .35s;
  -webkit-transition: height .35s;
  transition: height .35s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  width: 100%;
  height: 0;
  overflow: auto;
}

#bp-drop-inner {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);

}

.bp-logo {
  position: absolute;
  left: 0;
  top: 0;
  background: url(/images/icon.svg) no-repeat center;
  height: 54px;
  width: 54px;
}

#bp-options {
  text-align: right;
  margin: 12px 24px;
  font-size: 18px;
  color: var(--font-color);
}

#bp-results {
  display: table;
  width: 100%;
  overflow: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-collapse: separate;
  border-spacing: 0;
  border: 8px solid transparent;

}

.bptest {
  width: 250px;
  height: 100px;
}

.bp-result {
  display: table-row;
  width: 100%;
  cursor: pointer;
}

.bp-result:nth-child(even) {
  background: var(--odd-row-color);
}

.bp-result>.num {
  font-size: 36px;
  text-align: center;
  width: 48px;
  display: table-cell;
  vertical-align: middle;
}

.bp-result>.addr {
  padding-left: 8px;
  display: table-cell;
}

.tinfo>.prods {
  color: var(--font-color);
  text-align: right;
  font-size: 0.8em;
  white-space: nowrap;
}

.tinfo>.prods>ul {
  margin: 0 8px 0 0;
}

.tinfo>.dist {
  white-space: nowrap;
  font-size: 18px;
  color: gray;
  vertical-align: middle;
  padding-left: 8px;
}

.bp-result>.tinfo {
  width: 72px;
  text-align: right;
  display: table-cell;
}



#bp-ocbox:checked~label {
  -ms-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

#bp-more {
  background: url(https://www.bancpass.com/more.png) no-repeat center;
  height: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-transition: .35s all;
  -moz-transition: .35s all;
  -ms-transition: .35s all;
  transition: .35s all;
  display: inline-block;
}

/* mobile phone */
@media all and (max-width: 479px) {
  .bp-searchbox {
    margin: 8px;
    right: 0;
  }
}




.bp-infowindow-logo {
  width: 100px;
  margin: 0 auto 8px;
  background-color: white;
  border-radius: 4px;
  display: block;
  padding: 8px;
}

.bp-infowindow-name {
  font-weight: bold;
}

/*.bp-infowindow-addr {
}*/

/* The popup bubble styling. */
.popup-bubble {
  /* Position the bubble centred-above its parent. */
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -100%);
  /* Style the bubble. */
  background-color: var(--body-color);
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.5);
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.00625rem;
  line-height: 1.25rem;
}

/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
  /* Position the div a fixed distance above the tip. */
  position: absolute;
  width: 100%;
  bottom: 8px;
  left: 0;
}

/* This element draws the tip. */
.popup-bubble-anchor::after {
  content: "";
  position: absolute;
  top: -1;
  left: 0;
  /* Center the tip horizontally. */
  transform: translate(-50%, 0);
  /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
  width: 0;
  height: 0;
  /* The tip is 8px high, and 12px wide. */
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--body-color);
}

/* JavaScript will position this div at the bottom of the popup tip. */
.popup-container {
  cursor: auto;
  height: 0;
  position: absolute;
  /* The max width of the info window. */
  width: 200px;
}