@font-face {
    font-family: 'Zuume Cut';
    src: url('../fonts/ZuumeCut-Bold.woff2') format('woff2'),
        url('../fonts/ZuumeCut-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zuume';
    src: url('../fonts/Zuume-Medium.woff2') format('woff2'),
        url('../fonts/Zuume-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zuume';
    src: url('../fonts/Zuume-Regular.woff2') format('woff2'),
        url('../fonts/Zuume-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
  
  
body {
    font-family: 'Zuume';
    font-weight: 500;
    font-style: normal;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 1;
  background-color: #000;
  z-index: 999;
}

#loading-image {
  position: absolute;
  margin: 0 auto;
  vertical-align: middle;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 20vw;
  z-index: 1000;
}
#spinner {
  position: absolute;
  top: 49%;
  left: 47%;
  width: 3.5rem;
  height: 3.5rem;
  /* transform: translate(-50%, -50%); */
  /* new code */
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

#spinner.hidespinner {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}
* {
box-sizing: border-box;
}
#logo {
    position: absolute;
    z-index: 100;
    width: 12.6vw;
    height: 10vw;
    left: 50px;
    top: 50px;
    opacity: 0.9;
    background-image: url('../img/logo_34final_2.svg');
    background-size: cover;
}
.mapboxgl-map {
font-family: 'Zuume';
font-weight: 500;
font-style: normal;
 }
.sidebar {
position: absolute;
max-width: 30vw;
height: 80vh;
top: 10vh;
right: 5vw;
overflow: hidden;
z-index:100;
border: 10px solid rgb(0 0 0 / 25%);
}
.map {
position: absolute;
width: 100%;
height: 100%;
top: 0;
}
.listings .item:last-child {
border-bottom: none;
margin-bottom: 5vh;
}  
  
@media only screen and (max-width: 900px) {
#logo {
    width: 26vw; 
    height: 20vw;
    right: 4%; 
    top:4%;
    opacity: 0.9;
}
  .sidebar {
  position: absolute;
  width: 100vw;
  max-width: 100vw;
  top: auto!important;
  bottom: 0!important;
  left: 0vh!important;
  height: 45vh!important;
  z-index:100;
  border: 0px solid rgb(0 0 0 / 25%);
  }
  .map {
  position: absolute; 
  width: 100%;
  height: 100vh;
  top: 0vh!important;
  }
  .listings {
   height: 100%!important; 
  }
}
 
h1 {
font-size: 3em;
margin: 0;
font-weight: 400;
line-height: 0.9em;
padding: 20px 2px;
font-family: 'Zuume Cut';
font-weight: bold;
letter-spacing: 0.02em;
}
 
a {
color: #404040;
text-decoration: none;
}
 
a:hover {
color: #101010;
}
 
.heading {
background: #fff;
border-bottom: 1px solid #eee;
min-height: 60px;
line-height:;
padding: 0 10px;
background-color: #E11F13;
color: #fff;
text-align: center;
}
 
.listings {
background-color: #fff;
height: 80vh;
overflow: auto;
padding-bottom: 60px;
}
 
.listings .item {
font-size: 1.6em;
display: block;
border-bottom: 2px solid #eee!important;
padding: 10px 23px;
text-decoration: none;
width: 100%;
vertical-align: middle;
}
.listings .item .desc {
padding: 3px 0px;
}
.listings .item .desc { 
 border-left: 2px solid rgba(0, 0, 0, .3);
 padding-left: 8px;
}

.listings .item .title {
font-size: 1.4em;
vertical-align: middle;
color: #000;
font-weight: 700;
}
 
.listings .item .title small {
font-size: 1.2em;
font-weight: 400;
}
 
.listings .item.active .title,
.listings .item .title:hover {
color: #E11F13;
}
 
.listings .item.active {
background-color: #eee;
} 
 
::-webkit-scrollbar {
width: 10px;
height: 3px;
border-left: 0;
background: rgb(0 0 0 / 10%);
}
 
::-webkit-scrollbar-track {
background: none;
}
 
::-webkit-scrollbar-thumb {
background: #E11F13;
border-radius: 0;
}
 
.marker {
display: block;
border: none;
cursor: pointer;
padding: 0;
}
.marker-wosp {
background-image: url(../img/wosp.svg);
width: 42px;
height: 40px;
z-index: 12;
}
.marker-oferta {
background-image: url(../img/ok.svg);
width: 42px;
height: 40px;
}
.marker-sklepik {
background-image: url(../img/sklepik.svg);
width: 42px;
height: 40px;
}
.marker-wspierajanas {
background-image: url(../img/wspieraja.svg);
width: 31.5px;
height: 30px;
}
.marker-impreza {
background-image: url(../img/impreza.svg);
width: 45px;
height: 45px;
}
  .text-bg-sklepik {
background-color: #941b80;
  }
  .text-bg-oferta {
background-color: #13a438;
  }
  .text-bg-wspierajanas {
background-color: #004f9f;
  }
.text-bg-wosp {
background-color: #E11F13;
}
.text-bg-impreza {
background-color: #E6007E;
}
 
/* Marker tweaks */
.mapboxgl-popup {
padding-bottom: 50px;
}
 
.mapboxgl-popup-close-button {
display: none;
}
 
.mapboxgl-popup-content {
padding: 0;
width: 180px;
}
 
.mapboxgl-popup-content h3 {
background: #E11F13;
color: #fff;
margin: 0;
padding: 10px;
border-radius: 3px 3px 0 0;
font-weight: 700;
margin-top: -15px;
font-size: 1.4rem;
line-height: 1.3rem;
text-align: center;
}
 
.mapboxgl-popup-content h4 {
font-size: 1.4em;
margin: 0;
padding: 10px;
font-weight: 400;
text-align: center;
}
 
.mapboxgl-popup-content div {
padding: 10px;
}
 
.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
margin-top: 15px;
}
 
.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
border-bottom-color: #91c949;
}
