@charset "utf-8";
/* CSS Document */

.map-container {position:relative; height: 75vh; margin: 0;}
#map {
    height: 100%;
    position: absolute;
    left: 33.3333%;
    width: 66.6666%;
    top: 0; bottom: 0;
	font-family: "Barlow, Barlow Black", "Barlow Medium", "Barlow Light", Arial, "Sans Serif Collection";
  }
.sidebar {
    position: absolute;
    width: 33.333%;
    height: 100%;
    top: 0; left: 0;
    overflow: scroll;
    border-right: 1px solid rgba(0,0,0,0.25);
	  font-family: "Barlow, Barlow Black", "Barlow Medium", "Barlow Light", Arial, "Sans Serif Collection";
	  background-color: #00a0e0;
	overflow-x: hidden;
  }
.sidebar h1 {display: block; 
	padding: 2%;
	margin: 0 8%;
	color:white;
	width:80%;
}	
.search-box {
	display: flex;
	width: 80%;
	background-color: #fff;
	padding: 2%;
	margin: 0 10%;
}
#address {
	width: 100%;
	border: none;
	outline: none;
	padding: 5px;
	font-size: 16px;
	font-family: "Barlow, Barlow Black", "Barlow Medium", "Barlow Light", Arial, "Sans Serif Collection";
}

button[type="submit"] {
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}

.fa-search {
	color: #00a0e0;
	font-size: 20px;
}		
		


.card { 
    display: block; 
    padding: 10px 10px 5px 10px; 
    margin: 10px auto;
    text-decoration: none;
    width:80%; 
    background-color: white; 
    position: relative;
}
.distance {
	text-align: right;
	color: #888;
} 	
.rangepass {
    position: relative;
    color: #7FBC42;
  
}
.rangepass a{
	color: #7FBC42!important;
}
.card-wrapper {
	  display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scrolling if needed */
    padding: 10px;
    gap: 10px; /* Space between cards */
    align-items: flex-start; /* Align cards at the top */
}

.visit-website {
    text-decoration: none;
    color: #00a0e0;
  

}
.card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
	background: none;
}
.shop-button {
    color: #008080;
    text-decoration: none;
}


.shop-button:hover{
    text-decoration: underline;
	color: #008080;
} 

.visit-website:hover {
    text-decoration: underline;
}
/* Hide toggle button on larger screens */
.sidebar-toggle {
    display: none;
}

/* Show toggle button only on small screens */
@media screen and (max-width: 767.98px) {
    .sidebar-toggle {
        display: block;
    }
}

@media screen and (min-width:768px){
/* Style for marker popups */
.leaflet-popup-content-wrapper {
    font-size: 16px; /* Increase the text size */
    padding: 15px;    /* Add padding for a bigger box */
}

.leaflet-popup-content {
    font-size: 16px; /* Increase the text size for popup content */
}

.leaflet-popup-tip {
    width: 12px;
    height: 12px;
}

.leaflet-popup-content a {
    color: #00a0e0;
    text-decoration: none;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
}
}

/* If you want to control the popup width */
.leaflet-popup-content-wrapper {
    max-width: 400px; /* Adjust the width of the popup */
    border-radius: 8px; /* Optional: Add border radius to make it look nicer */
}

@media screen and (max-width:767.98px){
	.sidebar {width: 75%;}
	#map {width: 100%; left:75%}
	.visit-website {
        display: block; /* Ensure the visit-website link takes its own line */
    }

 .card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-button, .rangepass {
        display: block;
        margin-top: 10px;
    }

/* Sidebar Toggle Button */
.sidebar-toggle {
    position: absolute;
    top: 50%;
    left: 75%; /* Position just outside the sidebar */
    transform: translateY(-75%);
    background: #212222;
	color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    font-size: 18px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
}

/* Adjustments when sidebar is collapsed */
.sidebar.collapsed + .sidebar-toggle {
    left: 0.5%;
}
}