@import url(https://fonts.googleapis.com/css?family=Raleway:100,400,700);

html,
body {
  margin: 0;
  /* font: 400 14px/1.55em 'Raleway', sans-serif; */
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: #333;
}

/* MAP */

#map {
  height: 540px;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  max-width: 250px;
}

span.sqr {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin: 10px 2px;
  border: 1px solid #ccc
}

span.sqr.solid {
  background-color: red;
}

.city {
  font-weight: 600;
  font-size: 1.1em;
}

button {
  width: 100%;
  padding: 5px;
  background: antiquewhite;
  border: none;
  margin-top: 5px;
  cursor: pointer;
}

span.tag {
  background-color: #ccc;
  padding: 4px 10px;
  margin-right: 10px;
  font-size: 0.9em;
}

.leaflet-control-layers-overlays>label>span>span {
  line-height: 30px;
}

.box {
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 5px;
}

/* LIST */

.tabset>input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset>input:first-child:checked~.tab-panels>.tab-panel:first-child,
.tabset>input:nth-child(3):checked~.tab-panels>.tab-panel:nth-child(2),
.tabset>input:nth-child(5):checked~.tab-panels>.tab-panel:nth-child(3),
.tabset>input:nth-child(7):checked~.tab-panels>.tab-panel:nth-child(4),
.tabset>input:nth-child(9):checked~.tab-panels>.tab-panel:nth-child(5),
.tabset>input:nth-child(11):checked~.tab-panels>.tab-panel:nth-child(6) {
  display: block;
}

.tabset>label {
  position: relative;
  display: inline-block;
  padding: 10px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 700;
  height: 40px;
}

input:focus-visible+label {
  outline: 2px solid rgba(0, 102, 204, 1);
  border-radius: 3px;
}

.tabset>label:hover,
.tabset>input:focus+label,
.tabset>input:checked+label {
  color: #06c;
}

.tabset>input:checked+label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panel {
  border-top: 1px solid #ccc;
}

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

body {
  padding: 10px;
}

#list {
  font-size: 14px;
}

.tabset {
  max-width: 100vw;
}

.control {
  box-sizing: border-box;
  clear: both;
  position: relative;
  text-align: inherit;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.result-box {
  background-color: #fff;
  box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
  color: #4a4a4a;
  display: block;
  padding: 1.25rem;
}

.result-item {
  margin: 7px 0;
  padding: 4px 0;
  cursor: pointer;
}

.result-item:hover {
  background: antiquewhite;
}

ul {
  list-style: none;
}

.control.is-loading::after {
  position: absolute !important;
  right: .625em;
  top: .625em;
  z-index: 4
}

#dropdown-menu {
  max-height: 50vh;
  overflow-y: auto;
  /* margin: 0 15px; */
}

#pointbox-container ul li {
  margin: 10px;
  border: 2px dotted #f23c32;
  padding: 10px;
  /* cursor: pointer; */
}

/* #pointbox-container ul li:hover {
  background: antiquewhite;
  border: 2px dotted antiquewhite;
}*/

li.office:before {
  content: url(../images/office.png);
  margin-right: 10px;
  vertical-align: -50%;
}

li.warehouse:before {
  content: url(../images/warehause.png);
  margin-right: 10px;
  vertical-align: -50%;
}

li.postbox:before {
  content: url(../images/postbox.png);
  margin-right: 10px;
  vertical-align: -50%;
}

#pointbox-container ul {
  padding-inline-start: 0;
}

#searchbox {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  color: #2b2b2b;
}

/* SCROLL */

body::-webkit-scrollbar,
#dropdown-menu::-webkit-scrollbar {
  width: 7px;
  background-color: #dadada;
}

body::-webkit-scrollbar-track,
#dropdown-menu::-webkit-scrollbar-track {
  background-color: #dadada;
}

body::-webkit-scrollbar-thumb,
#dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #2b2b2b;
  border: 1px solid #2b2b2b;
}

#pointbox-container ul {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-content: center;
}

@media screen and (min-width: 640px) {
  #pointbox-container ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  #pointbox-container ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* SPINNER */

.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #2b2b2b;
  border-color: #2b2b2b transparent #2b2b2b transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.invisible {
  display: none;
}