/* Basic reset for box-sizing */
* {
    box-sizing: border-box;
    font-family: Jokker;
  }


@font-face {
    font-family: Jokker;
    src: url(assets/font/JokkerTRIAL-Regular.otf);
    font-weight: 400;
}
@font-face {
    font-family: Jokker;
    src: url(assets/font/JokkerTRIAL-Medium.otf);
    font-weight: 500;
}
@font-face {
    font-family: Jokker;
    src: url(assets/font/JokkerTRIAL-Semibold.otf);
    font-weight: 600;
}
@font-face {
    font-family: Jokker;
    src: url(assets/font/JokkerTRIAL-Bold.otf);
    font-weight: 700;
}@font-face {
  font-family: Jokker;
  src: url(assets/font/JokkerTRIAL-Heavy.otf);
  font-weight: 800;
}


  
  /* Base body styles */
  body {
    color: #404040;
    font-family: Jokker;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Heading style */
  h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
  }
  
  /* Anchor tag styles */
  a {
    color: #404040;
    text-decoration: none;
  }
  
  a:hover {
    color: #101010;
  }









  .prodejci-wrapper {
    margin-top: 52rem;
    padding: 2rem 4rem 2rem 4rem;
    width: 100%;
    display: flex;
    justify-content: left;
    max-width: 90rem;
    margin-inline: auto;
    gap: 4rem;
    flex-wrap: wrap;
  }

  .prodjeci-item {
    width: 29%;
    max-width: 25rem;
  }

  .prodejci-img {
    width: 112px;
    height: 112px;
    object-fit: cover;
  }

  .prodejci-nadpis {
    color: #263878;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;

    margin-top: -0.7rem;
    padding-bottom: 0.5rem;
  }

  .prodejci-nadpis2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 8px;
    
    margin-bottom: 0px;
  }

  .prodejci-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    padding-bottom: 35px;
  }

  .prodejci-p {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
  }

  .icon-wrapper {
    height: 1.2rem;
    margin-bottom: 0.9rem;
    display: flex;
    gap: 12px;
  }

  .icon-wrapper img {
    width: 21px;
    height: 21px;
  }

  .icon-wrapper p {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    margin-top: 0;
  }

  .prodejci-temporary {
    height: 30.5rem;
    display: flex;
    gap: 4rem;
    padding: 4rem 0rem 1rem 0rem;
    margin-top: 50rem;
    width: 180rem;
  }

  .prodejci-temporary > div {
    width: 20rem;
    height: 100%;
  }

  .scroll {
    max-width: 100vw;
    overflow: auto;
  }

  .legend-div {
    display: flex;
    align-items: top;
    gap: 0.4rem;
  }

  .legend-div > div {
    width: 0.8rem;
    height: 0.8rem;
    background-color: #263878;
    border-radius: 3rem;
    margin-top: -0.2rem;
  }


  @media (width < 1300px) {
    .prodjeci-item {
      width: 28%;
      max-width: 100rem;
    }
  }

  @media (width < 980px) {
    .prodjeci-item {
      width: 43%;
      max-width: 100rem;
    }
  }

  @media (width < 650px) {
    .prodjeci-item {
      width: 100%;
    }
    .prodejci-wrapper {
      padding: 2rem;
    }
  }



  #btn {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 20000;
  }






  
  /* Sidebar styles */
  .sidebar {
    position: absolute;
    width: 33.3333%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    z-index: 10000;
    background-color: white;
  }
  
  /* Map styles */
  .map {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;

    max-height: 50rem;
  }
  
  /* Header within the sidebar */
  .heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 60px;
    line-height: 60px;
    padding: 0 10px;
  }
  
  /* Listing styles */
  .listings {
    height: calc(100% - 60px); /* Adjusted height calculation */
    overflow: auto;
    padding-bottom: 60px;
  }
  
  .listings .item {
    border-bottom: 1px solid #eee;
    padding: 10px;
    /*cursor: pointer;*/
  }
  
  .listings .item:last-child {
    border-bottom: none;
  }
  
  .listings .item .title {
    display: block;
    color: #69879D;
    font-weight: 700;
  }
  
  .listings .item.active,
  .listings .item:hover .title {
    background-color: #f8f8f8;
    color: #8FA5B6; /* This will override the color for hovered and active titles */
  }
  
  /* Scrollbar styling for webkit browsers */
  /*
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1);
  }

  ::-webkit-scrollbar-track {
    background: none;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #69879D;
    border-radius: 0;
  }
  */
  /* Popup styling adjustments */
  .mapboxgl-popup-close-button {
    display: none;
  }
  
  .mapboxgl-popup-content {
    font: inherit;
    padding: 12px;
    width: 180px;
    width: 15rem;
    padding-bottom: 0;
  }
  
  .mapboxgl-popup-content h3 {
    background: #69879D;
    color: #fff;
    margin: 0;
    padding: 12px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: -38px;
    width: 15rem;
    margin-left: -22px;
  }
  
  .mapboxgl-popup-content h4 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 0.9rem;
  }
  
  .mapboxgl-popup-content div {
    padding: 0px;
    padding-block: 5px;
  }
  
  .mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
  }
  
  .mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #69879D;
  }



  .fixed-widget {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  #acond-centra {
    border: 3px solid #b4c2ce;
    background-color: white;
    padding: 1.2rem;
    padding-bottom: 0.5rem;
  }

  #acond-centra h1 {
    padding-top: 0;
    font-size: 1rem;
    font-weight: 700;
    padding-bottom: 1.5rem;
  }

  #acond-centra p {
    margin-top: -4px;
    padding-bottom: 0;
    /*cursor: pointer;*/
    font-size: 0.8rem;
    font-weight: 500;
  }

  #unzoom-map {
    background-color: #263878;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 0.6rem;
    border-radius: 3rem;
    font-size: 0.8rem;
    cursor: pointer;
  }