:root {
  --bs-secondary: #ff6347;
  /* Example: Change secondary color to Tomato */
}

/* Full height layout */
html,
body {
  font-size: 15px;
  line-height: 1.4285714286;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

input {
  color: #1b325f;
}

body,
input,
.hb {
  font-family: 'Ubuntu', sans-serif;
}

#map {
  height: 100%;
  width: 100%;

}

.sidebar {
  overflow: auto;
  position: fixed;
  top: 0;
  margin-top: 60px;
  left: -30%;
  width: 460px;
  /* width: 30%; */
  height: 100%;
  background-color: #f8f9fa;
  transition: left 0.3s ease;
  padding-top: 20px;
  z-index: 1000;
  background-color: #e9f2f9;
}

.description-links{
  color: rgb(0, 174, 239)
}

/* .description{
  font-family: monospace;
} */

@media only screen and (max-width: 800px) {
 

  .sidebar {
    
    width: 100%;
    /* width: 30%; */
    height: auto;
   
  }

  .sidebar-mobile{
    height: 100%;
  }
  

  .sidebar-data {
    overflow: auto;
    width: 100%;
    height: auto;
    padding-top: 20px;
    background-color: #e9f2f9;
  }

  .category-icon{
    display: none;
  }
  .category-description{
    display: none;
  }
  .category-detail
  {
        padding-bottom: 0px !important;
  }
  .category-button
  {
        margin-top: 0px !important;
  }



  .category-filter
  {
       display:flex;
       flex-wrap: wrap;
  }



  .category-data-filter-column{
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
}

.sidebar-data {
  overflow: auto;
  height: 100%;
  padding-top: 20px;
  background-color: #e9f2f9;
  position: relative
}

.sidebar.open {
  left: 0;
}

.content {
  padding-left: 250px;
}

.nav-item {
  margin-left: 15px;
}

.navbar-brand {
  margin: 0 2rem 0 1rem;
}

.tis-logo {
  margin: 0.25rem 0 0.25rem 0.75rem;
}

.navbar {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  z-index: 1200;
  position: sticky;
    left: 0;
    top: 0;
    width: 100%;

    background-color: white !important;
    box-shadow: 0 3px 2px 0 rgba(34, 36, 38, .15);
}

.languages>span {
  padding-right: 10px;
}

.languages {
  border-right: 1px solid #d6e6f2;
}

.nav-link:hover {
  color: rgb(0, 174, 239) !important;
}

.language:hover {
  color: rgb(0, 174, 239) !important;
  cursor: pointer;
}

/* Custom styles for the tooltip */
.custom-tooltip {
  /* background-color: white;
    color: black;
    /* padding: 10px; */
  /* border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0);
    white-space: nowrap; */
  width: 300px;
  padding: 10px;
  border-radius: 8px;
  display: block;
  line-break: auto;
  white-space: normal;

}

.popup-title {
  font-weight: bold;
  font-size: 15px;
}

.popup-subtitle {
  color: #777;
  font-size: 14px;
}



.rating-bar {
  background-color: #ff6666;
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
  width: fit-content;
  font-weight: bold;
}

.owner-info,
.commission-info {
  margin-top: 15px;
  width: fit-content;
}

.popup-btn {
  margin-top: 15px;
}

.card {
  border: none !important;
}

.card-body {
  padding: 0.25rem;
}

.leaflet-tooltip.custom-tooltip {
  /* Adjust the offset if necessary to position the tooltip */
  margin-bottom: 10px;
}

.container-filters {
  margin-top: 5px;
  /* padding-bottom: 15px; */
}

.category-filter {
  padding-bottom: 20px;
}

.category-detail{
  padding-bottom: 15px;
  display: flex;
}

#address{
  color: rgba(0, 0, 0, 0.507);
}

.category-filter .button {
  margin-bottom: 5px;
}

.search .input {
  display: flex;
}

.ui.search .prompt {
  border-radius: unset;
}

.container-filters .segment {
  padding: 0px;
}

.hp-image {
  width: 100%;
  height: 257px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 15px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .08) 0, rgba(0, 0, 0, .15) 15%, rgba(0, 0, 0, .08) 30%);
}

.map-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.container-full-height {
  background-color: #e9f2f9;;
}


.container-full-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.segment-data {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Apply greyscale filter to the tiles */
.leaflet-tile {
  filter: grayscale(0%);
}

#location-details{
  padding-top: 20px;
}

.leaflet-popup-content{
  min-height: 320px !important;
  margin: 13px 24px 13px 22px !important;
}

.gm-style-iw-d{
  min-height: 320px !important;
  margin: 0px 5px 0px 10px !important
}

.sources-links > a {
  display: block;
}

.popup-description
{
  overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    line-clamp: 8;
}
.gm-style-iw button.gm-ui-hover-effect {
  display: none !important;
}
/* 
  .search-bar {
        position: relative;
        width: 300px;
    }

    .search-results {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 0.25rem;
        display: none;
    }

    .search-item {
        display: flex;
        align-items: center;
        padding: 0.5rem;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        color: black;
    }

    .search-item:last-child {
        border-bottom: none;
    }

    .search-item:hover {
        background-color: #f8f9fa;
    }

    .badge {
        margin-right: 10px;
        font-size: 0.75rem;
        font-weight: 500;
        color: white;
        background-color: #6c757d;
        padding: 0.25rem 0.5rem;
        border-radius: 0.2rem;
    }

    .search-item small {
        display: block;
        color: #6c757d;
    }

    .highlight {
        color: #d9534f;
        font-weight: bold;
    } */