body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden !important;
    
    
}

header {
    position: absolute;
    /* Allows positioning */
    z-index: 1000;
    top: 10px;
    /* Adjust the vertical positioning */
    right: 0;
    /* Aligns the header to the right */
    width: 100%;
    /* Takes up 80% of the screen width */
    height: 50px;
    /* Adjust the height as needed */
    display: flex;
    align-items: right;
    background-color: rgba(0, 0, 0, 0) !important;
    padding: 5px 15px;
}






#myLinks {
    display: none;
}

.displayrow {
    display: flex;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin-right: 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
}

header nav ul li a:hover {
    color: #000;
}

header .login-menu a {
    margin-left: 10px;
    max-height: 43px;
}

.login-menu {
    width: 200px;
}

.popup-container {
    width: 100%;
}

.popup-title {
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.xx {
    width: 25%;
}

.mapboxgl-popup {
    max-width: none;
    width: 300px;
}

.mapboxgl-popup-content {
    width: 400px;
    border-radius: 25px !important;
    padding: 0px !important;
}

@media (max-width: 576px) {
    .mapboxgl-popup-content {
        width: 300px;
        border-radius: 5% !important;
        padding: 0px !important;
    }
}


.small-button,
.slider {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0) !important;
}

.slider {
    width: 200px;
}

.like-button {
    padding: 8px 16px;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.like-button:hover {
    background-color: #0056b3;
}

.logo-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    padding: 5px 15px;
    margin: 0;
    color: #000000;
}

.page-title {
    font-family: 'Times New Roman', Times, serif;
    /* Classic serif font */
    font-size: 26px;
    /* Slightly larger for better visibility */
    line-height: 1.5;
    /* Adds spacing for improved readability */
    margin-top: 50px;
    text-align: left;
    color: #333333;
    /* Softer black for a modern look */
    font-weight: bold;
    /* Emphasizes the title */
}

::placeholder {
    width: 80%;
    /* Ensure placeholder text takes only 80% width */
    white-space: nowrap;
    /* Prevent placeholder from wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Truncate text if longer than 80% width */
}

.text-body-emphasis {
    --bs-text-opacity: 1;
    color: var(--bs-emphasis-color) !important;
}

nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 480px) {
    .nav-menu {
        display: block;
    }
}

#map {
    height: 100%;
    width: 100%;
    position: relative; /* Ensures proper placement */
}

#year-selector,
#add-event-icon,
#content-form {
    position: absolute;
    background: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
}

#year-selector {
    top: 68px;
    left: 10px;
    width: 97%;
    display: flex;
    flex-display: column;
    gap: 15px;
    align-items: flex-start;
}

century-dropdown {
    border-radius: 50px;
}

#century-dropdown {
    padding: 5px;
    font-size: 12px;
}

#century-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 200px;
}

#century-dropdown,
#custom-century-input,
#century-suffix {
    width: 100%;
}
#SliderContainer {
    visibility: hidden; /* Initially visible */
    opacity: 0;          /* Fully visible */
    transition: opacity 0.3s ease; /* Smooth hiding transition */
    position: fixed;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 100% !important;
    padding: 0 !important;
    transform: translate(-50%, -50%);
    width: 20%;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9; /* Light background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #333; /* Dark text for contrast */
    text-align: left;
}

#SliderContainer .menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #333; /* Dark text */
    padding: 8px;
    background: #ffffff; /* Light background for items */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

#SliderContainer .menu-item:hover {
    background: #f0f0f0; /* Slightly darker hover */
    border-color: #ccc; /* Highlight border on hover */
}

#SliderContainer .icon {
    margin-right: 10px;
}

#SliderContainer .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333; /* Dark text */
    text-align: center;
}



a:hover {
    background-color: #ddd;
    color: black;
}

.previous {
    background-color: #f1f1f1;
    color: black;
}

.next {
    background-color: #04AA6D;
    color: white;
}

.round {
    border-radius: 50%;
}

.p-regular #first {
    margin-block-end: 0em;
}

.no-margin {
    margin: 0;
}

.year-markers {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.year-markers span {
    font-size: 12px;
}

#event-form-container {
    text-align: left;
    display: flex;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#login-form-container {
    display: flex;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.content-form {
    width: 80%;
    max-width: 400px;
    top: 75px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

#content-form input,
#content-form textarea,
#content-form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
}

#event-form-container .content-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#year-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 85%;
    height: 25px;
    border-radius: 15px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#year-slider:hover {
    opacity: 1;
}

#year-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: url('/static/pin.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

#year-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: url('/static/pin.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.FilterContainer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: white;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
    gap: 15px;
}

.close-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.close-icon:hover {
    color: #ff0000;
}

.btn {
    margin-top: 15px;
    padding: 10px 20px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

#year-input {
    width: 70px;
    border: none;
    border-radius: 25px;
    background: gray;
    color: white;
    text-align: center;
}

.btn {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.slider-container {
    margin: 0 50px 0 50px;
}

.add-event-cursor {
    cursor: crosshair;
}

#event-form {
    width: 70%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
}

#event-form input,
#event-form textarea,
#event-form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
}


.plus-sign-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plus-sign {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #00b3bc;
    color: white;
    font-size: 40px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
}

.plus-sign:hover {
    background-color: #0056b3;
}

.logo-section {
    width: 100px;
    height: 100px;
    /*Ensureheightmatcheswidthforaperfectcircle*/background-color: #c99233;;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}



.rounded-link:hover {
    background-color: #ffffff00; /* Change background color on hover */
    /* Ensure border-radius remains the same */
    border-radius: 20px; /* Explicitly set the same border-radius */
}

.logo-title {
    background-color: white !important;
    border-radius: 50px !important;
    height: 43px !important;
    font-size: 0.5em;
    /* Set a base font size */
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Vertically center the content */
    justify-content: center;
    /* Horizontally center the content */
}

@media (max-width: 360px) {
    .logo-section {
        width: 25px;
        height: 25px;
    }
    .logo-title {
        font-size: 0.45em;
        /* Adjust font size for smaller screens */
    }
}

#userTable th,
#userTable td {
    text-align: center;
    /* Centers text horizontally */
    vertical-align: middle;
    /* Centers text vertically */
}

#userTable img {
    display: block;
    /* Ensures the image behaves like a block element for alignment */
    margin: 0 auto;
    /* Centers the image horizontally */
}

.profile-picture {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.icon-menu {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    z-index: 200 !important;
}

.icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 15px;
   
    border-radius: 25px;
 
    /* Makes the shape rounded */
    background-color: #c99233;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.5);
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.icon-item:hover {
    background-color: #4e3a31;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.icon-item.active {
    background-color: #4e3a31;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.icon-item.active i,
.icon-item.active span {
    color: #dec48b;
}

.icon-item i {
    font-size: 16px;
    color: #4e3a31;
}

.icon-item span {
    font-size: 14px;
    color: #4e3a31;
}

.search-bar {
    height: 43px !important;
    margin-left: 20px; 
   
}

.icon-item:hover i,
.icon-item:hover span {
    color: #dec48b;
}



@media (min-width: 200px ) and  (max-width: 370px) {

    .search-bar {
        height: 43px !important;
        margin-left: 0; 
        width: 150px;
    }

    .mapboxgl-ctrl-geocoder {
        
        min-width: 150px !important;
        width:150px !important;
        left: 0 !important;
    }

}

@media (min-width: 370px ) and  (max-width: 412px) {

    .search-bar {
        height: 43px !important;
        margin-left: 0; 
        width: 30%;
    }

    .mapboxgl-ctrl-geocoder {
        
        min-width: 250px !important;
        width: 30% !important;
        margin: 0 10px; /* Optional: Add margin for spacing from edges */
    }

}
@media (min-width: 412px ) and (max-width: 576px) {

    .search-bar {
        height: 43px !important;
        margin-left: 0; 
        width: 70%;
    }

    header{
        padding: 0 !important;
    }

    .alt-mapboxgl-ctrl-geocoder {
        
        min-width: 250px !important;
        width: 30% !important;
        margin: 0 10px; /* Optional: Add margin for spacing from edges */
    }
    .left-section{
        top:0 !important;
    }

}

@media (min-width: 575px) {

    .sidebar{
        display: block !important;
    }
    
}
.mapboxgl-ctrl-geocoder {
    display: flex !important;
    align-items: center !important;
    /* Vertically center items */
    justify-content: flex-start !important;
    /* Align items at the start horizontally */
    background-color: white !important;
    border: 1px solid #ccc !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: 43px !important;
    width: 400px !important;
    padding: 30 30px !important;
    /* Add some padding for spacing */
    gap: 10px !important;
    /* Space between items */
}

.mapboxgl-ctrl-geocoder--icon-search {
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    top: 25%!important;
    align-items: center !important;
    justify-content: center !important;
}

.mapboxgl-ctrl-geocoder--input {
    flex-grow: 1 !important;
    /* Allow the input to take remaining space */
    border: none !important;
    outline: none !important;
    height: 100% !important;
    font-size: 14px !important;
    margin-left: 10px !important;
    /* Add space between the icon and input */
}

.mapboxgl-ctrl-geocoder--button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center
}

.left-section {
    display: flex;
    /* Allows alignment within the left section */

    margin-left: auto;
    width: 100px;

    
}

.bi {
    margin-right: 10px;
}

td {
    text-align: center;
    vertical-align: middle;
}

body {
    background: #f1f1f1 !important;
}

.sidebar {
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background-color: rgba(0, 0, 0, 0); /* Transparent background */
}

.sidebar .menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-bottom: 10px;
    border-radius: 0 25px 25px 0;
    text-decoration: none;
    transition: background-color 0.2s ease, width 0.3s ease; /* Added width transition */
    color:  #4e3a31 ; /* Dark text */
    width: 50px; /* Initial width */
    background-color: #c99233;
    overflow: hidden; /* Hide the text until hover */
}

.sidebar .menu-item:hover {
    background-color: #c99233; /* Light gray hover effect */
    width: 190px; /* Expand width on hover */
}

.sidebar .menu-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* Adjust icon size */
    
    background: none; /* Remove any background */
    box-shadow: none; /* Remove any shadow */
    border-radius: 0; /* Remove circular background if present */
    transition: transform 0.3s ease; /* Smooth transform */
}


.sidebar .menu-item .title {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    right: 5px;
    white-space: wrap; /* Prevent text from wrapping */
    opacity: 0; /* Hide the text by default */
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

.sidebar .menu-item:hover .title {
    opacity: 1; /* Show the text on hover */
}

.notification-bar {
    position: fixed;
    z-index: 1;
    top: 50%;
    right: 10px;
    width: 20%;
   
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 0 5px 5px 0;
    display: flex;
    /* Enable flexbox for alignment */
    flex-direction: column;
    /* Stack items vertically */
    gap: 15px;
    /* Add space between items */
}



.notification-bar .menu-item {
    display: flex;
    /* Ensure content inside items is aligned */
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    /* Adjust text color for visibility */
    padding: 8px;
    background: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.notification-bar .menu-item:hover {
    background: #555;
    /* Highlight on hover */
}

.notification-bar .icon {
    margin-right: 10px;
    /* Space between icon and text */
}

.notification-bar .title {
    font-size: 14px;
}


/* Full-width on mobile screens */
@media (max-width: 576px) {
    .notification-bar {
        top: 150px; /* Position it at the top of the screen */
        right: 0;
        width: 100%; /* Full width */
        transform: none; /* Remove translate effect */
        border-radius: 0; /* No rounded corners for full-width bar */
        padding: 10px 15px; /* Adjust padding for spacing */
    }

    .notification-bar .menu-item {
        flex: 1; /* Make items stretch horizontally */
        justify-content: space-between; /* Spread icon and text */
        padding: 10px; /* Increase padding for touch targets */
    }
}


.menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    margin: 10px 0;
    border-radius: 5px;
    transition: background 0.3s ease;
    position: relative;
}

.menu-item:hover {
    background: #444;
}


.icon {
       display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* Adjust icon size */
    margin-right: 10px;
    width: 36px;
    height: 36px;
    background-color: #ffffff; /* White background for icon */
    color: #4e3a31; /* Dark icon color */
    border-radius: 50%; /* Circular background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for a polished look */
}

.title {
    margin-left: 10px;
    opacity: 0;
    white-space: nowrap;
    background: #c99233;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    left: 50px;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: #4e3a31;
}

.menu-item:hover .title {
    opacity: 1;
}

.profile-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-header {
    background-color: #4e3a31;
    color: white;
}

.offcanvas-title {
    font-weight: bold;
}

.menu-item {
    display: block;
    padding: 10px;
    color: #343a40;
    text-decoration: none;
}

.menu-item:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
}

#notification-bar .card {
    width: auto;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#notification-bar .list-group-item {
    padding: 15px;
    border: none;
}

#notification-bar .list-group-item:hover {
    background-color: #f8f9fa;
}

#notification-bar .badge {
    display: inline-block;
}




.new-search-bar {
    display: none;
    height: 42px !important;
}

.alt-mapboxgl-ctrl-geocoder {
    display: flex !important;
    align-items: center !important; /* Vertically center items */
    justify-content: flex-start !important; /* Align items at the start horizontally */
    background-color: white !important;
    border: 1px solid #ccc !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: 43px !important;
    width: 400px !important; /* Default width */
    gap: 10px !important; /* Space between items */
}

/* Full width on mobile screens */
@media (max-width: 576px) {
    .alt-mapboxgl-ctrl-geocoder {
        width: 100% !important; /* Take full width */
        box-sizing: border-box; /* Include padding and border in the width */
        
    }
}


/* Full width on mobile screens */
@media (min-width: 200px) and (max-width: 370px ) {
    .mapboxgl-ctrl-geocoder {
        min-width: 50px !important; /* Take full width */
        width: 200px !important; /* Take full width */
        /* margin-left: 0px !important; */
        box-sizing: border-box; /* Include padding and border in the width */
        
    }
    #options-filtering{
        left: 10px;
    }
}

/* Full width on mobile screens */
@media (min-width:370px) and (max-width: 412px ) {
    .mapboxgl-ctrl-geocoder {
        min-width: 50px !important; /* Take full width */
        width: 220px !important; /* Take full width */
        /* margin-left: 0px !important; */
        box-sizing: border-box; /* Include padding and border in the width */
        margin: 0 10px; /* Optional: Add margin for spacing from edges */
    }
    #options-filtering{
        left: 10px;
    }
}

/* Full width on mobile screens */
@media (min-width: 412px ) and (max-width: 576px) {
    .mapboxgl-ctrl-geocoder {
        width: 100% !important; /* Take full width */
        box-sizing: border-box; /* Include padding and border in the width */
        margin: 0 10px; /* Optional: Add margin for spacing from edges */
    }
}


.alt-mapboxgl-ctrl-geocoder--icon-search {
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.alt-mapboxgl-ctrl-geocoder--input {
    flex-grow: 1 !important;
    /* Allow the input to take remaining space */
    border: none !important;
    outline: none !important;
  
    height: 100% !important;
    font-size: 14px !important;
    margin-left: 10px !important;
    border-radius: 10%;
    /* Add space between the icon and input */
}

.alt-mapboxgl-ctrl-geocoder--button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Centering and adding padding to the search icon */
.alt-mapboxgl-ctrl-geocoder--icon-search {
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important; /* Vertically center the icon */
    justify-content: center !important; /* Horizontally center the icon */
    
    margin-left: 10px !important; /* Optional: Add space on the left */
}

/* Centering and adding padding to the close (clear) icon */
.alt-mapboxgl-ctrl-geocoder--button {
    display: none;
    align-items: center !important; /* Vertically center the button */
    justify-content: center !important; /* Horizontally center the button */
    margin-right: 5px !important; /* Add padding around the button */
}

.alt-mapboxgl-ctrl-geocoder--icon-close {
    width: 18px !important; /* Size of the close icon */
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 5px !important; /* Add padding for visual spacing */
}


#searchButton {
    display: inline-block;
   
    padding: 8px 15px; /* Padding for a balanced size */
    background-color: #808080; /* Primary blue color */
    color: white; /* White text for contrast */
    font-size: 14px; /* Readable font size */
    font-weight: bold; /* Bold text for emphasis */
    border: none; /* Remove default button border */
    border-radius: 25px; /* Rounded edges for a modern look */
    cursor: pointer; /* Change cursor to pointer for interactivity */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow for depth */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

#searchButton:hover {
    background-color: #818181; /* Darker blue on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}
/* Meta container - Full width */
.meta {
    display: flex;
    justify-content: space-between; /* Spreads out items evenly */
    align-items: center;
    margin: 5px 0;
    font-family: Arial, sans-serif;
    width: 100%; /* Full width */
  
    box-sizing: border-box;
}

.meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between; /* Distribute buttons across full width */
    width: 100%; /* Full width */
    gap: 0; /* Remove unnecessary space */
}

.meta li {
    flex: 1; /* Distribute space equally */
    display: flex;
    justify-content: center; /* Center-align individual buttons */
    align-items: center;
}

.meta a,
.meta button {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    width: 100%; /* Ensure full width for buttons */
    padding: 10px 0;
    box-sizing: border-box;
}

.meta a:hover,
.meta button:hover {
    color: #007BFF; /* Highlight color on hover */
}

.meta i {
    font-size: 18px;
    margin-right: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.meta a:hover i,
.meta button:hover i {
    color: #E63946; /* Red hover for interactive icons */
    transform: scale(1.1);
}

.numb {
    font-weight: bold;
    font-size: 14px;
}

/* Specific styles for icons */
.la.la-heart {
    color: #615858;
}

.la.la-comment {
    color: #444;
}

.la.la-trash,
.la.la-flag {
    color: #dc3545; /* Red color for delete and report */
}


/* Pin Image Container */
.pin-image-container {
    position: relative;
    width: 100%; /* Responsive width */
    max-width: 400px; /* Limit the size of the image */
    margin: 0 auto; /* Center it horizontally */
    overflow: hidden; /* Hide overflowing parts */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image itself */
.pin-image-container img {
    width: 100%;
    max-height: 200px !important;
    display: block; /* Removes bottom spacing */
    object-fit: cover; /* Ensures the image fits nicely */
    transition: transform 0.3s ease;
}

/* Hover Effect */
.pin-image-container:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.pin-image-container:hover img {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Image Overlay (Optional for text on hover) */
.pin-image-container::after {
    content: "Open pin full page";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pin-image-container:hover::after {
    opacity: 1;
    transform: translateY(0);
}

#pinImagePop {
    max-height: 30vh;  /* Limiting the height */
    width: 100%;       /* Ensures the image stretches to fill the width of the container */
    height: auto;      /* Maintains the aspect ratio */
    object-fit: contain; /* Ensures the image scales without distortion */
}

.mapboxgl-popup-close-button{
    padding: 10px !important;
}

/* Pin Content Container */
.pin-content-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 25px 25px 0px 0px;
    padding: 20px;
   
    width: 100%;
    max-width: 700px; /* Responsive container width */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Title Styling */
.pin-content-container h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #333333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.pin-content-container h4:hover {
    color: #007BFF; /* Highlight on hover */
}

/* Meta Section (Author and Date) */
.pin-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pin-meta a {
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pin-meta a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.pin-meta p {
    margin: 0;
}




/* Description Section */
.pin-description {
    font-size: 16px;
    
    line-height: 1.6;
    margin-top: 10px;
    word-wrap: break-word; /* Ensure long words break correctly */
    max-height: 200px; /* Restrict height */
    overflow-y: auto; /* Add vertical scrollbar */
    padding-right: 10px; /* Space for scrollbar */
    
   margin-bottom: 20px;
    border-radius: 5px;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #c0c0c0 #f9f9f9;
}

@media (max-width: 600px) {
    .pin-description {
      max-height: 200px; /* smaller height for phone view */
      font-size: 14px;   /* optional: slightly smaller font */
    }
  }
  
/* Custom Scrollbar for Webkit Browsers (Chrome, Safari, Edge) */
.pin-description::-webkit-scrollbar {
    width: 8px;
}

.pin-description::-webkit-scrollbar-track {
    background: #f9f9f9;
}

.pin-description::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 4px;
}

.pin-description::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a0;
}


.custom-marker{
   border: 100px !important; 
   border-color: #000 !important;
}


.notification-badge {
    position: absolute;
    top: 5px; /* Adjust as needed */
    right: 5px; /* Adjust as needed */
    background-color: red;
    color: white;
    border-radius:25%;
    padding: 2px 6px;
    font-size: 12px;

    display: inline-block;
}

.notification-badge-mobile {
    position: absolute;
    top: 5px; /* Adjust as needed */
    right: 15px; /* Adjust as needed */
    background-color: red;
    color: white;
    border-radius:25%;
    padding: 2px 6px;
    font-size: 12px;

    display: inline-block;
}


.badge {
    display: inline-block;
    vertical-align: middle;
}
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1050; /* Ensures it stays above other modal content */
    background-color: #fff; /* Matches the modal's background */
    border-bottom: 1px solid #dee2e6; /* Optional: Adds a separator line */
}
.modal-header {
    border-radius: 25px !important;
}

.modal-content{
    border-radius: 25px !important;
}


/* General Styles */
.comments-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-comment {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.comment-input {
    flex: 1;
    margin: 0 10px;
    border-radius: 20px;
    padding: 8px 15px;
    border: 1px solid #ccc;
}

.comment-submit {
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Comments List */
.comments-list {
    margin-top: 15px;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.comment-body {
    flex: 1;
}

.comment-header {
    margin-bottom: 5px;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-time {
    font-size: 0.85rem;
}

.comment-text {
    margin: 5px 0;
    color: #555;
}

.comment-actions a {
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
}

.comment-actions a:hover {
    text-decoration: underline;
}


    .post-container {
        background: #fff;
        border-radius: 25px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin: 20px auto;
        padding: 15px;
       
    }
    .user-info img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    .user-info strong {
        font-size: 14px;
    }
    .post-time {
        font-size: 12px;
        color: #65676b;
    }
    .post-content img {
        width: 100%;
        height: auto;
        margin: 10px 0;
        border-radius: 5px;
        
    }
    .post-footer {
        display: flex;
        justify-content: space-around;
        border-top: 1px solid #ddd;
        padding-top: 10px;
        color: #65676b;
        font-size: 14px;
    }
    .post-footer a {
        text-decoration: none;
        color: inherit;
    }
    .comment-section {
        margin-top: 20px;
    }
    .comment img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
    .comment-text {
        background-color: #f0f2f5;
        border-radius: 15px;
        padding: 8px 12px;
        display: inline-block;
        max-width: 80%;
    }
    .comment-form textarea {
        width: 100%;
        border-radius: 20px;
        border: 1px solid #ddd;
        padding: 10px 12px;
        resize: none;
        background-color: #f0f2f5;
        outline: none;
    }
    .comment-form textarea:focus {
        border-color: #1877f2;
        background-color: #fff;
    }
    .comment-form button {
        margin-top: 10px;
        border-radius: 20px;
        background-color: #1877f2;
        color: #fff;
        border: none;
        padding: 8px 12px;
    }
    .comment-form button:hover {
        background-color: #145dbf;
    }



    .scroll-container {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-snap-type: x mandatory; /* Optional: snap to items */
    }
    
    .icon-menu {
        display: flex;
        gap: 10px;
        padding-left: 50px;
        min-width: max-content; /* Ensure items don't wrap */
    }
    
    .icon-item {
        flex: 0 0 auto; /* Prevent items from shrinking */
        text-align: center;
        cursor: pointer;
        scroll-snap-align: start; /* Optional: align items when snapping */
    }
    
    .fixed-menu {
        position: fixed;
        z-index: 1;
        width: 20%;
        top: 100px;
        left: -10px;
    }
    
    @media (max-width: 989px) {
        .scroll-container {
            width: 100%;
            overflow-x: scroll;
        }
        .fixed-menu {
            position: relative; /* Reset to relative on mobile */
            width: 100%; /* Full width on small screens */
            top: 0;
            left: 0;
        }
    }
    .marker {
        position: relative;
        width: 20px;
        height: 20px;
        border-radius: 50%;
      }
      
      .marker::before,
      .marker::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        animation: pulse 2s infinite; /* Slower animation duration */
      }
      
      .marker::after {
        animation-delay: 1s; /* Offset for a more dynamic effect */
      }
      
      .marker-purple::before {
   
        background-color: rgba(	128, 0, 128, 0.2);
      }
      
      .marker-purple::after {

        background-color: rgba(	128, 0, 128, 0.5);
      }
      
      .marker-pink::before {
        background-color: rgba(233, 30, 99, 0.2);
      }
      
      .marker-pink::after {
        background-color: rgba(233, 30, 99, 0.5);
      }

      .marker-green::before {
        background-color: rgba(76, 175, 80, 0.2); /* Light green */
    }
    
    .marker-green::after {
        background-color: rgba(76, 175, 80, 0.5); /* Darker green */
    }
    
      
      .marker-yellow::before {
        background-color: rgba(253, 223, 1, 0.2);
      }
      
      .marker-yellow::after {
       
        background-color: rgba(253, 223, 1, 0.5);
      }
      
      .marker-blue::before {
   
        background-color: rgba(134, 182,1, 0.2);
      }
      
      .marker-blue::after {
        background-color: rgba(134, 182,1, 0.5);
      }
      
      @keyframes pulse {
        0% {
          transform: translate(-50%, -50%) scale(1);
          opacity: 0.8;
        }
        100% {
          transform: translate(-50%, -50%) scale(2.5);
          opacity: 0;
        }
      }
      

      .content-img {
        width: 100%;
        max-width: 600px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 20px 0;
        transition: transform 0.3s ease;
        align-self: center;
    }



    .login-header {
        width: 20%; /* Default for PC */
        z-index: 1000;
        background-color: #f1f1f1;
    }
    
    /* Make the div full width on mobile screens */
    @media (max-width: 768px) {
        .login-header {
            width: 50%;
        }
    }
    


    .search-bar {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.filters-bar-phone {
    display: flex;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-bar.hidden, .filters-bar-phone.hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

    
            /* Custom button with background */
            .btn-outline-secondary-cust {
              display: inline-flex;
              align-items: center;
              height: 41px;
              justify-content: center;
              padding: 0px 8px; /* Adjust padding for better appearance */
              border: 2px solid #000000; /* Subtle border color */
              border-radius: 20px; /* Rounded corners */
              background-color: #c99233; /* Light gray background */
              color: #4e3a31; /* Text and icon color */
              text-decoration: none; /* Remove underline */
              font-size: 14px; /* Adjust text size */
              font-weight: bold; /* Emphasize text */
              transition: all 0.3s ease; /* Smooth transition */
              gap: 8px; /* Space between icon and text */
            }
            
            .btn-outline-secondary-cust:hover {
              background-color: #4e3a31; /* Slightly darker background on hover */
              border-color: #888; /* Darker border on hover */
              color: #dec48b; /* Darker text color on hover */
              box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
            }
            
            .btn-outline-secondary-cust i {
              font-size: 16px; /* Icon size */
              color: inherit; /* Match icon color with text */
            }
          