:root {
  --jumbotron-padding-y: 3rem;
}

html, body {
      height: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
      line-height: 1.2;
      background-color: #f5f7fa;
      font-family: Arial, Helvetica, sans-serif;
  }

.gallery-item {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.datepicker-dropdown {
  position: fixed !important;
  top: 40% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
}

.datepicker-months .close, .prev, .next {
  padding: 0px !important;
}

.datepicker-days .prev {
  left: 5px !important;
}

.datepicker-days .next {
  right: 5px !important;
}

#allow-post-mobile-btn, #delete-post-mobile-btn, #edit-post-mobile-btn {
  display: none;
}

/* City search */

.city-search-container {
  position: relative;
  display: inline-block;
}

#searchToggleBtn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

#citySearchBox {
  display: none;
  margin-top: 10px;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  left: 0px;
  border-radius: 7px;
}

#citySearchBox #suggestions {
  color: black;
}

#cityInput {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}

#suggestions {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  margin-top: 5px;
}

#suggestions div {
  padding: 6px;
  cursor: pointer;
}

#suggestions div:hover {
  background-color: #eee;
}

#changeCityBtn {
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 6px;
}

#changeCityBtn:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

/* City search end */

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#photo-mobile-credit {
  display: none;
}
#photo-desktop-credit {
  display: block;
}

.post-approve-mobile {
  display: none;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
}

.close, .prev, .next {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.close { top: 20px; right: 20px; }
.prev { left: 20px; }
.next { right: 20px; }


.main-content {
  flex: 1;
}

.lead {
  font-size: 1.4rem !important;
}

.no-margin-padding {
    margin: 0;
    padding: 0;
}

/* Add this to your existing styles */
.post-gallery-thumbnail {
  width: 200px;            /* Set width to 200px */
  height: 200px;           /* Set height to 200px */
  object-fit: cover;       /* Make sure the image covers the area without distortion */
  margin: 5px;             /* Add some margin between images */
  border-radius: 5px;      /* Optional: Adds rounded corners to the images */
  cursor: pointer;        /* Show pointer cursor on hover */
  transition: transform 0.2s ease-in-out; /* Optional: Smooth hover effect */
}

/* Optional: Apply a scaling effect on hover for better UX */
.post-gallery-thumbnail:hover {
  transform: scale(1.1);
}

.notification-card {
  border-left: 4px solid #007bff;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}
.notification-card:hover {
  background-color: #f8f9fa;
}
.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.base-container {
    max-width: 50% !important;
}

.shrink-img {
  width: 70% !important;
}

.prettify-input-field {
  margin-bottom: 15px;
  height: 36px;
  border-radius: 5px;
  width: 100%;
}

.index-location-dropdown {
    max-height: 300px;
    overflow-y: auto;
}

.instruction-box {
  position: absolute;
  width: 130%;
  top: 0px;
  left: 115%;
  padding: 10px;
  border-radius: 5px;
  border: 0.5px solid black;
  -webkit-box-shadow: 12px 8px 18px -10px rgba(110,104,110,0.52);
  -moz-box-shadow: 12px 8px 18px -10px rgba(110,104,110,0.52);
  box-shadow: 12px 8px 18px -10px rgba(110,104,110,0.52);

}

/* Custom scrollbar styling (for Webkit browsers) */
.index-location-dropdown::-webkit-scrollbar {
    width: 8px;  /* Width of the scrollbar */
}

.index-location-dropdown::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

.index-location-dropdown::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.demo-box {
  position: absolute;  /* Positioning it relative to the h1 */
  top: -0.1em;         /* Slightly above the last letter */
  right: -80px;            /* Align with the end of the heading */
  background-color: #000; /* Bootstrap has bg-dark, but custom bg color is used here */
  color: #fff;         /* White text color */
  padding: 0.2em 0.5em; /* Small padding */
  font-size: 0.55em;    /* Tiny font size */
  border-radius: 5px;  /* Optional: rounded corners */
}

#share-container span {
  display: block;
  margin: 3rem auto;
  font-size: 50px;
  padding: 1rem;
  margin: 1rem;
}
#share-buttons i {
  font-size: 100px;
  margin: 20px;
}
.facebook {
      color: #3b5998 !important;
}
.twitter {
    color: #55acee !important;
}
.linkedin {
    color: #0077b5 !important;
}
.reddit {
    color: #cb2027 !important;
}
.whatsapp {
    color: #25D366 !important;
}
.telegram {
    color: #229ED9 !important;
}
.facebook, .twitter, .linkedin, .reddit, .whatsapp, .telegram {
  opacity: 0.6;
}
.facebook:hover, .twitter:hover, .linkedin:hover, .reddit:hover, .whatsapp:hover, .telegram:hover {
  opacity: 0.9;
}

.jumbotron {
  background: url('https://storage.googleapis.com/bucket-hike-list-cloud-storage/photos/zaracka_krnjajaRqN6NKiJFOXu') center/cover no-repeat;
  padding-top: var(--jumbotron-padding-y);
  padding-bottom: var(--jumbotron-padding-y);
  margin-bottom: 0;
  background-color: #fff;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.bottom-right {
    position: fixed;
    bottom: 150px; /* Adjust this value to change the distance from the bottom */
    right: 8%; /* Adjust this value to change the distance from the right */
    z-index: 999; /* Set the z-index to ensure it appears above other content */
}

/* .dropdown-item {
  font-family: Roboto !important;
} */

[data-initials]:before {
    background: #099bdd;
    color: white;
    opacity: 1;
    content: attr(data-initials);
    display: inline-block;
    font-weight: bold;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.5em;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.img-close-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    cursor: pointer;
    z-index: 1000;
    color: white;
    font-weight: bold;
}

#select-img-container {
    position: fixed;
    top: 60px;
    left: 20px;
    z-index: 9999; /* Adjust the z-index to ensure it appears above other elements */
    display: none;

}

#select-img-container img {
    max-width: 340px; /* Adjust the max width of the image */
    border-radius: 10px;
    width: 340px;
}

.dropdown-toggle::after {
  position: relative !important;
  top: 2px !important;
}


figcaption {
  position: relative;
  bottom: 30px !important;
  z-index: 999 !important;
  left: 20px !important;
  color: white;
  max-width: 400px;
  font-size: 10px;
  display: block;
  float: left;
  bottom: 60px;
} 

.notification {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #007bff;
  color: white;
  padding: 15px;
  border-radius: 10px;
  z-index: 9999;
}

.fa-heart, .fa-pen-to-square {
    color: 	#1877F2;
    z-index: 999
  }

.notification .message {
  font-size: 1.2em;
  font-weight: bold;
}


.m-name {
  font-weight: 600;
}

.img-large-container {
  z-index: 999; 
  width: 800px;
  height: 700px;
  max-height: 800px !important; 
  position: fixed; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  cursor: default;
}

.btn-dark:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.img-container {
  padding-left: 0px;
  padding-right: 0px;
}

textarea, input, select {
  background-color: #F0F0F0;
  border: 1px solid;
  border-radius: 5px;
}

#placeholder-countdown {
  min-width: 250px;  /* Minimum space needed for the smallest value */
  text-align: center;
  overflow: hidden;  /* Prevents any content from overflowing */
  white-space: nowrap;  /* Keeps everything on a single line */
}

.img-info {
  /* display: none; */
  /* position: absolute;
  z-index: 999;
  bottom: 20px;
  left: 20px; */
  color: white;
}

.center-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: flex-start; /* Aligns items at the start (top) */
  align-items: center;         /* Centers items horizontally */
  padding-top: 40%;
}

.img-text {
  width: 90%;
  overflow: hidden;
  line-height: 1;
  padding-left: 20px;
  z-index: 999;
  padding-top: 8px;
  opacity: 0.8;
}

#single-pic .img-text {
  opacity: 1;
}

.img-wrap:hover .img-text{
    max-height: 200px;
    display: block !important;
    background-color: white;
    border-radius: 6px;
}

.navbar-brand {
  margin-right: 0.5rem !important;
}

figure {
  margin: 0px !important;
}

.m-name {
  margin-bottom: 0.2rem;
}

#index-subheading {
  font-size: 1.6rem !important;
  color: white !important;
}

#account-delete:hover {
  background-color:#dc3545!important;
  color: white !important;
}

.img-wrap {
  width: 100%; 
  max-height: 200px; 
  height: 260px;
  background-color: #cccccc;
  border-radius: 5px;
}

.slide-img {
   width: 300px;
   height: auto;
}

.carousel-inner .carousel-item {
  transition: -webkit-transform 2s ease;
  transition: transform 2s ease;
  transition: transform 2s ease, -webkit-transform 2s ease;
}

.form-group.required .control-label:after {
   content:"*";
   color:red;
}

.title {
  font-weight: 600;
  font-size: 1.2rem !important;
  opacity: 0.8;
  color: black;
  font-family: "Poppins", sans-serif;
}

.disp {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.close-icon {
  cursor: pointer;
}

.control-label {
    font-weight: bold;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.activity-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-custom {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

/* Use flexbox for multi-column layout */
.location-list {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    gap: 10px; /* Adjust gap between items */
}

/* Set width and adjust as needed */
.form-check {
    flex: 1 0 200px; /* Each item takes up equal width, change 200px as needed */
    /* Optionally adjust other styles as needed */
}

.big-margin {
  margin-top: 55px !important;
}

.navbar-toggler-icon {
    height: 1.9rem
}


/* .small-margin {
  margin-top: 55px !important; 
} */

.light-dark {
  color: black;
}

#editor-container {
  min-height: 200px;  /* Set the initial height */
  resize: vertical;   /* Allow vertical resizing */
  overflow: auto;     /* Make sure content scrolls when it's too large */
  border: 1px solid #ccc; /* Optional: adds a border around the editor */
  padding: 10px;      /* Optional: add some padding */
  margin-bottom: 10px;
  background-color: white;
}

#hikes-map {
  height: 100%;
}

#hikes-map {
  margin-top: 50px !important;
 }

ul.multiselect-container.dropdown-menu {
  height: 300px !important;
  overflow: scroll !important;

}
.break-word {
  word-wrap: break-word; /* Works in most browsers */
  overflow-wrap: break-word; /* Modern alternative */
}

.cancel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none; /* Allow interactions with card if needed */
}

.cancel-text {
  color: lightgray;
  font-size: 2rem;
  font-weight: bold;
  transform: rotate(-45deg);
  opacity: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-btn {
  display: none;
  width: 100%;
  margin-top: 15px;
}

.form-control {
  background-color: #F0F0F0;
}

.search-friend{
  max-width: 380px !important; 
  margin: 100px auto; 
  position: relative;
}

.filter-panel {
  position: fixed;
  top: 60px;
  right: 10px;
  background: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  z-index: 1000;
}

.filter-header {
  background-color: #28a745;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media (min-width: 768px) {
  .jumbotron {
    padding-top: calc(var(--jumbotron-padding-y) * 1);
    padding-bottom: calc(var(--jumbotron-padding-y) * 1);
  }
}

.leaflet-popup-content {
  max-height: 500px;
  overflow-y: auto;
}


.popup-content img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Add this to your CSS file */
.hike-marker {
  background-color: rgba(255, 0, 0, 0.7); /* Red background */
  border-radius: 50%;
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5px;
  width: 30px;
  height: 30px;
}

.marker-label {
  font-weight: bold;
  font-size: 12px;
}

.close-filter {
  display: none;
}

#lang-select {
  width: 42px;
  cursor: pointer;
}

#language-select {
  width: 42px;
}

#tigil-logo {
  width: 80px;
  height: auto;
  margin-top: 8px;
  margin-bottom: 5px;
}

.event-detail-container {
  max-width: 1240px !important;
}

@media (max-width: 800px) {
  #citySearchBox {
    left: -140px;
  }
  #photo-mobile-credit {
    display: block;
  }
  #photo-desktop-credit {
    display: none;
  }
  .post-approve-mobile {
    display: block;
  }
  .glightbox-clean .gprev, .glightbox-clean .gnext {
    top: 50% !important;
  }

    #lang-select {
      display: None !important;
    }
    #language-select {
      display: None;
    }

    .my-results-container {
      text-align: center;
    }

    .subnav-fixed {
      top: 55px;
      background-color: white;
      position: fixed;
      right: 0;
      left: 0;
      z-index: 1000;
    }

    .jumbotron {
      background: url('https://img.freepik.com/free-photo/vertical-shot-hiker-hardergrat-trail-swiss-alps_181624-39720.jpg?uid=R30979714&ga=GA1.1.444105063.1736724618&semt=ais_hybrid') center/cover no-repeat;
      padding-top: var(--jumbotron-padding-y);
      padding-bottom: var(--jumbotron-padding-y);
      margin-bottom: 0;
      background-color: #fff;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0px !important;
    }

  #website-main {
    padding-top: 45px !important;

  }

  #website-main-no-auth {
    margin-top: 0px !important;
    padding-top: 55px;
  }

  .filter-panel {
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    padding: 20px;
    box-shadow: none;
    overflow-y: auto;
    display: none;
    z-index: 1999;
  }

  .filter-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .close-filter {
    display: block;
    text-align: right;
    margin-bottom: 10px;
  }

  #close-filter-panel {
    display: inline-block !important;
  }

  .search-btn {
    display: block;
  }

  #map {
    height: 300px !important;
  }

  .smaller {
    font-size: 1rem;
  }

  #hikes-map-btn {
    display: none;
  }

  #hikes-map {
    margin-top: 50px !important;
  }

  .mobile-no-padding {
    padding: 0px !important;
  }
  .event-detail-left-col {
    display: none !important;
  }
  .instruction-box {
    display: none !important;
  }

  .light-dark {
    color: white !important;
  }

  #quiz-friends {
    background-color: #f9f9f9;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    margin-top: 0px;
    border-radius: 5px;
  }
  .img-fluid-quiz-add {
    max-width: 140px !important;
    opacity: 0.8 !important;
  }
  #correct-check-text {
    display: none;
  }
  #correct-check {
    z-index:999 !important;
  }

  #incorrect-check {
    z-index:999 !important;
  }

  #incorrect-check-text {
    z-index:999 !important;
  }

  #img-text {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .info-show-hide {
    display: block !important;
  }

  #img-text-title {
    display: none;
  }
  #img-text-title-text{
    display: none;
  }
  #img-text-author{
    display: none;
  }

  #img-source-url {
    display: none;
  }

  #img-source-url-text {
    display: none;
  }

  #img-licence {
    display: none;
  }

  #img-licence-text {
    display: none;
  }
    
  #img-text-author-text{
    display: none;
  }

  #img-text-source-text {
    display: none;
  }

  #img-source-url {
    display: none;
  }

  #img-source-url-text {
    display: none;
  }

  #img-licence {
    display: none;
  }

  #img-licence-text {
    display: none;
  }

  #location-section {
    display: none;
  }
  #stats-btn {
    display: none;
  }
  
  .chart-title {
    font-size: 2rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: inherit !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
  }

  #left-sidebar-add {
    display: none;
  }
  #ts-logo-wrapper {
    display: none;
  }
  .bottom-right {
    position: fixed;
    bottom: 20px; /* Adjust this value to change the distance from the bottom */
    right: 8%; /* Adjust this value to change the distance from the right */
    z-index: 999; /* Set the z-index to ensure it appears above other content */
  }
  .card-img-top {
    border-radius: 0px !important;
  }

  .card-body {
    text-align: center;
  }

  .col-md-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .input-group>.custom-select{
    width: 60%;
  }

  .mtop {
    margin-top: 0.5rem!important;
  }

  .disp {
    display: block;
  }

  .popup {
    padding-top: 0px !important;
    padding-bottom: 20px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  #dropdown-wrapper {
    padding-bottom: 0px !important;
  }

  #nav-top {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  #navbar-toggler-btn {
    display: block !important;
  }

  #authentication-btns {
    display: none !important;
  }
  
  #mountain-huts-btn, #hiking-websites-btn, #about-us-btn {
    display: none;
  }

  #hiking-huts-btn-mobile, #hiking-websites-btn-mobile {
    padding: 0px !important;
  }
  
  .all_hikes_legend {
    display: none;
  }

  .title {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    opacity: 0.8;
    color: black;
    margin-bottom: 0.5rem !important;
  }

  
  .text-container {
    width: 200px !important;
    display: flex;
  }



  .text-container-bottom-mobile {
    width: 100% !important;
    display: flex;
  }
  
  .text-container p {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  #allow-post-mobile-btn, #delete-post-mobile-btn, #edit-post-mobile-btn {
    display: block;
  }

  .search-friend {
    max-width: 90%; 
    margin: 100px auto; 
    position: relative;
  }

  /* .notification-bell {
    background-color: #555;
    color: white;
    text-decoration: none;
    padding: 15px 26px;
    position: relative;
    display: inline-block;
    border-radius: 2px;
  }
  
  .notification-bell:hover {
    background: red;
  }
  
  .notification-bell .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background: red;
    color: white;
  } */



  .jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .jumbotron .container {
    position: relative;
    z-index: 1;
  }

  .input-container {
    margin-left: auto;
    margin-right: auto;
  }

  #upload-form {
    margin-right: auto;
    margin-left: auto;
  }

  #citydropdownMenuButton {
     color: white !important;
  }

  .album {
    padding-top: 2rem!important;
  }

  .album-card {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    text-align: center;
    width: 200px;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .album-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }

  .album-title {
    margin-top: 8px;
    font-size: 1.1em;
  }

  .day_all_hikes {
    margin-bottom: 3px !important;
  }

  .dropdown-menu {
    /* right: -73px; */
    left: -120px;
  }

  .img-large-container {
    z-index: 999; 
    width: 100% !important;
    height: 300px !important;
    max-height: 800px !important; 
    position: fixed; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    cursor: default;
  }

  .img-lg {
    z-index: 999; 
    width: 100%;
    height: 100% !important;
    max-height: 800px !important; 
    position: relative; 
    left: 50%; 
    top: 50%; 
    border-radius: 10px;
    transform: translate(-50%, -50%); 
    cursor: default;
  }

  .g-card-img-top {
    max-height: 260px;
    /* max-height: 100px;
    object-fit: cover; */
    height: 260px;
    /* max-height: 100px; */
    width: 320px;
    object-fit: cover;
    background-color: lightgray;
    cursor: pointer;
  }

  .jumbotron-heading {
    color: white;
    padding-right: 10%;
    padding-left: 10%;
    font-weight: 600 !important;
    font-size: 2.6rem !important;
  }

  .lean {
    width: 90% !important;
  }

  .month-mobile {
    font-weight: 600 !important;
  }
  .hike-row {
    border-radius: 5px;
    border-left: 0px !important;
    border-right: 0px !important;
    border-top: 0px !important;
    border-top: 1px solid rgba(86, 61, 124, .2) !important;
    border-bottom: 0px !important;
    margin-bottom: 10px !important;
  }
  .register-btn-left span.a:hover {
    color: white !important;
  }

  .register-btn-right span.a:hover {
    color: white !important;
  }

  .bb-cust {
      border-bottom: 1px dotted black;
      margin-bottom: 10px;
  }
  .all-hikes {
    font-family: monospace;
  }
  #glightbox-slider img {
    width: 100%;
  }

  .hike-row .col-md-6 {
    font-size: 1rem;
    font-weight: 500 !important;
  }

  .club_name-col a {
    color: lightcoral !important;
  }
  .hike-header{
    display: none;
  }
  .v-title {
    display: block !important;
  }
  .register {
    width: 100% !important;
    height: 100% !important;
  }
  .guide-col {
    margin-bottom: 10px;
    font-weight: 600 !important;
    display: none;
  }
  .logo-col {
    text-align: center !important;
  }
  .club_name-col {
    text-align: center !important;
  }

  .jumbotron {
    /* background-size: initial !important; */
    margin-top: -2px !important;
  }

  .upper-el {
    margin-bottom: 16px !important;
  }
}

.jumbotron {
  background-size: cover;
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron-heading {
  font-weight: 600;
}

.jumbotron .container {
  max-width: 40rem;
}

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

footer p {
  margin-bottom: .25rem;
}

#page-top{
  bottom: 90px;
  position: relative;
}

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.text-themecolor {
  color: #316ce8;
}

.hike-club {
    text-decoration: none;
}

.form-signin {
  width: 100%;
  max-width: 460px;
  padding: 15px;
  margin: 0 auto;
}

.styled-link {
  display: inline-block; /* Makes it more button-like */
  padding: 10px 15px; /* Adds some space around the text */
  font-size: 16px; /* Adjusts text size */
  color: #ffffff; /* Sets text color to white */
  background-color: #007bff; /* Adds a blue background */
  text-decoration: none; /* Removes underline */
  border-radius: 5px; /* Rounds the corners */
  transition: background-color 0.3s, transform 0.2s; /* Smooth hover effect */
}

.styled-link:hover {
  background-color: #0056b3; /* Darkens background on hover */
  transform: scale(1.05); /* Slight zoom on hover */
  text-decoration: underline; /* Optionally add underline back */
}

.styled-link:active {
  background-color: #003f7f; /* Even darker background on click */
  transform: scale(0.95); /* Slight shrink effect */
}

.mtop {
  margin-top: 0rem!important;
}

.form-add-hike {
  width: 100%;
  max-width: 660px;
  padding: 25px;
  margin: 0 auto;
  border-radius: 8px;
}

.form-signin .checkbox {
  font-weight: 400;
}

.required-field:after {
  content: "*";
  color: red;
}

#map {

  height: 400px;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin .custom-select{
  padding: 10px;
  font-size: 16px;
  height: unset !important; 
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
}

.popup {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
}

.control-label {
    font-weight: normal !important;
}

/* Style for the close button */
.close-btn {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
}

/* Style for the close button on hover */
.close-btn:hover {
  color: black;
  cursor: pointer;
}

.hike-row {
  border-bottom: 1px solid rgba(86, 61, 124, .2);
  margin-bottom: 0.5rem!important;
  border-radius: 5px;
}

.hike-row .col-md-6 {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500 !important;
}

.hike-title {
    font-size: 1.1rem !important;
}

.hike-row:hover {
  background-color: #e9ecef;
}

.hike-row div, .hike-header div {
  text-align: center;
}

#button-back_to_top {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button-back_to_top::after {
  content: "\f077";
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#button-back_to_top:hover {
  cursor: pointer;
  background-color: #333;
}

#button-back_to_top:active {
  background-color: #555;
}

#button-back_to_top.show {
  opacity: 1;
  visibility: visible;
}
.img-lg {
  z-index: 999; 
  width: 100%;
  height: 100% !important;
  max-height: 800px !important; 
  position: relative; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  cursor: default;
}

.card {
    background-color: initial !important;
    border: None;
}

.card-img-top {
  max-height: 200px;
  /* max-height: 100px;
  object-fit: cover; */
  height: 200px;
  /* max-height: 100px; */
  object-fit: cover;
  background-color: lightgray;
  cursor: pointer;
  border-radius: 5px;
}

.result-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.g-card-img-top {
  max-height: 260px;
  /* max-height: 100px;
  object-fit: cover; */
  height: 260px;
  /* max-height: 100px; */
  width: 100%;
  object-fit: cover;
  background-color: lightgray;
  cursor: pointer;
  border-radius: 5px;
}

.card-body {
  text-align: center;
}

.v-title {
  display: none;
}

.register {
  height: 60%; 
  width: 30%;
}

.logo-col {
  text-align:right;
}

.club_name-col {
  text-align:left;
}

.input-container {
  margin-left: auto;
  margin-right: auto;
}

.comment-input {
  display: none;
}

#image-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.blurred-image {
  filter: blur(30px); /* Start with a high blur */
  transition: filter 0.1s; /* Smooth transition for each step */
}

.event-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.profile-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.map-container {
  height: 300px;
  background-color: #e9ecef;
  margin-bottom: 20px;
}
.comments-section .comment-card {
  margin-bottom: 15px;
}
.event-location-map {
  width: 100%;
  height: 100%;
}

/* Friend card base */
.friend-card {
  background-color: #f8f9fa; /* light gray */
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

/* Hover effect */
.friend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Birthday highlight */
.friend-card.birthday {
  background: linear-gradient(135deg, #fff7e6, #fff);
  border-color: #ffc107;
}

.custom-tooltip {
  background: transparent;
  border: none;
  box-shadow: none;
}

.mountain-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: white;
  border-radius: 999px; /* makes it round */
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  font-size: 12px;
  font-weight: 500;
}

.mountain-tooltip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
/* Main container */
#wiki-search-container {
  max-width: 1000px;
  margin: 80px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Top controls */
#wiki-search-container > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

label {
  font-weight: 600;
}

#wiki-search-container select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#wiki-search-container button {
  padding: 9px 14px;
  border-radius: 6px;
  border: none;
  background-color: #2563eb;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#wiki-search-container button:hover {
  background-color: #1e4fd6;
}

/* Image results grid */
#image-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Individual image card */
.image-result {
  background: #fafafa;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-result img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.image-result p {
  font-size: 0.9rem;
  margin: 0;
  word-break: break-word;
}

/* Details form */
#image-details-form {
  margin-top: 30px;
  padding: 20px;
  background: #f0f4ff;
  border-radius: 10px;
}

#image-details-form h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

#image-details-form label {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
}

#image-details-form input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#image-details-form button {
  display: block !important;
  margin-top: 16px !important;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  #image-results {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  #image-results {
      grid-template-columns: 1fr;
  }

  #wiki-search-container > div:first-child {
      flex-direction: column;
      align-items: stretch;
  }
}