body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; top:96px; height: 80% }


#search-container {
    position: relative; /* Ensure this is here if not already */
    
}

.suggestion-parc {
    /* Styling for parc suggestion container */
}

.parc-name {
    padding-left: 10px;
margin-bottom: 8px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 14px;
}

.main-text {
    padding-left: 10px;
margin-bottom: 8px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 14px;
}

.location-details {
padding-left: 10px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 0.84em;
    color: #777;
    margin-top: 1px;
    padding-bottom: 2px;
    display: block;
    line-height: 15px;
}



.suggestion-heading {    font-family: Poppins, sans-serif;
    background-color: #1A4972;
    padding-left: 15px;
    font-size: 15px;
    font-weight: 500;
    height: 40px;
    line-height: 40px;color: #FFFFFF;
}

.search-results {
        position: absolute;
    z-index: 1000;
    width: 300px;
    max-height: 230px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    top: 100%;
    border-bottom-right-radius: 30px;
	left: 29px;}

.suggestion {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
	font-family: Poppins, sans-serif;
    font-size: 14px;
}

.suggestion:last-child {
    border-bottom: none;
}

.suggestion:hover, .suggestion:active {
    background-color: #f9f9f9;
}


#matches-found:empty {
    display: none !important;
}

#matches-found {
    color: #2872b1;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-left: 10px;
    position: absolute;
    top: 85px;
    left: 20px;
    background: #FFFFFF;
  padding: 17px 8px;
    border-radius: 30px;
    display: none;
    font-weight: bold;
    border: 1px solid #2872b1;

   
}

#matches-found-mobile:empty {
    display: none !important; /* Use !important to increase specificity */
}

#matches-found-mobile{
    color: #2872b1;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-left: 10px;
    position: absolute;
    top: 85px;
    left: 14px;
    background: #FFFFFF;
    padding: 17px 8px;
    border-radius: 30px;
    display: none;
    font-weight: bold;
    border: 1px solid #2872b1;
	

}

#search-trigger {
	background-color: #2872b1;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    padding: 8px;
    font-size: 14px;
	margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    border: 2px solid #2872b1;
    width: 200px;}

#transport {
    position: absolute;
    top: 85px;
    right: 65px;
    background: white;
    padding: 8px 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size:13px;
	color: #2872b1;
	border-radius: 30px;
	text-align: center;
	border: 1px solid #2872b1;
	font-weight: bold;

}

 #transport input[type="checkbox"] {
        vertical-align: middle; /* Align the checkbox vertically with the text */
    }

    #transport label {
        display: inline-block; /* Make the label behave like a block element */
        vertical-align: middle; /* Align the label vertically with the checkbox */
    }

#search-container:empty #matches-found {
    display: none; /* Hide the element when #search-container is empty */
}

#search-container:not(:empty) #matches-found {
    display: none; /* Show the element when #search-container is not empty */
}
#search-container {
    position: relative;
    top: 0px;
    /* left: 10px; */
    z-index: 1;
    background-color: rgb(248, 171, 18);
   border-radius: 23px 0 23px 0;
    margin-top: 15px;
    margin-bottom: 0px;
    padding: 20px;
    
    display: flex;
    flex-direction: row;
    width: 100%;
}
#search-input { width: 200px; padding: 5px; height: 25px; background-color: #FFFFFF; border-radius: 20px; }

.popup-content {
  max-width: 300px; /* Adjust the maximum width as needed */
  padding: 0 !important;
  text-align: left;
  background-color: #fff; /* Add a background color */
border-radius: 32px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
	width: 230px;
}


.campsite-image {
  width:300px;
  height: auto;
  margin-bottom: 10px;
}

div.campsite	 {
  font-size: 24px;
  margin: 0;
}

 	
.campsite-name {
  font-size: 24px;
  margin: 0;
}


.popup-button {
background-color: #2872b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 40px;
    font-weight: bold;
    margin-top: 6px;
    font-weight: 600;
    position: relative;
    left: 47px;
    margin-bottom: 10px;
}

.popup-button:hover {
  background-color: #378ad0;
}

/* Updated CSS for the toggle switch */
.toggle-container {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
}

.toggle-label {
  margin-right: 10px;
  background-color: white; /* Add a white background */
  padding: 5px 10px; /* Add some padding */
  border-radius: 5px; /* Add rounded corners */
font-family: Arial, Helvetica, sans-serif;
	    font-size: 14px;border: solid 2px #2772b0;text-align: center; border-radius: 5px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px; /* Reduce the width */
  height: 20px; /* Reduce the height */
  background-color: #ccc;
  border-radius: 20px;
  transition: background-color 0.3s ease;
	margin-right: 8px;border: solid 2px #2772b0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #007BFF;
  border-radius: 20px;
  transition: transform 0.3s ease;
  transition-delay: 0.1s; /* Add a slight delay for smoother animation */
 margin-right: 20px;
}

.toggle-switch input {
  display: none;
}

.toggle-switch input:checked + .slider {
  transform: translateX(20px); /* Adjust the slide position */
  background-color: #4CAF50;
}

.toggle-switch input:checked ~ .toggle-label {
  color: #4CAF50;
  background-color: #fff; /* Add a white background for the label when checked */
}
body { margin: 0; padding: 0; }
        #top-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.8); 
            height: 60px; /* Adjust the height as needed */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2; /* Ensure the top bar is above other elements */
			
        }
        #company-logo {
            max-width: 300px; /* Set the maximum width for the logo */
        }
        #content-container {
            position: absolute;
            top: 60px; /* Leave space for the top bar */
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
        }
        #toggle-container {
            display: flex;
            align-items: center;
        }
        #map {
            width: 100%;
            flex-grow: 1;
			position: absolute;
    top: px;
        }
	
	input::placeholder {
  color: rgb(81, 55, 80); /* Change the text color */
  font-style: italic; /* Change the font style */
}
	#star-filter {
    position: absolute;
    bottom: 83px;
    right: 20px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 7px 16px;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border: solid 2px #2772b0;
}
/* Add CSS to style the tooltip */
.tooltip {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    color: #555;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 13px;
    display: none;
    z-index: 2;
    border-radius: 20px;
    width: 400px;
}

/* Style the tooltip to appear below the filter on hover */
#star-filter:hover .tooltip {
    display: block;
    bottom: 60px;
    left: -260px;;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.toggle-label {
  margin-right: 10px;
  background-color: white;
  padding: 8px 10px;
  border-radius: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  border: solid 2px #2772b0;
  text-align: center;
  text-decoration: none; /* Add this line to remove underline */
  color: black; /* Add this line to ensure the text color remains black */
}

.toggle-label:hover {
  background-color: #f0f0f0; /* Add this line to change background color on hover */
}

@media only screen and (max-width: 768px) {
  #search-container {
    position: absolute;
     margin-top: 15px;
    margin-bottom: 0px;
    z-index: 1;
    background-color: rgb(248, 171, 18);
    border-radius: 0 23px 0 23px;
    padding: 20px;
    
	} 
}

.mapboxgl-popup-content {
    border-top-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
	 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




.mapboxgl-popup-close-button {
    background-color: #4e4b4b;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    position: fixed;
   padding: 0px;
    top: -3px;
	right: -10px;
    font-size: 24px;
    color: #FFFFFF;
	line-height: 24px;
    width: 30px;
	height: 30px;
}

.mapboxgl-popup-close-button:hover {
    background-color: #378ad0;
   
    color: #FFFFFF;

}

/* Styles for the desktop version */
.desktop-only {
    display: block; /* Show by default */
}

/* Styles for the mobile version */
.mobile-only {
    display: none; /* Hide by default */
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    /* Hide desktop version and show mobile version */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }
}

.where {margin: 0px;
    font-family: Poppins, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgb(81, 55, 80);
    line-height: 1.53;}

.popup-content {
    position: relative;
}

.image-container {
    width: 100%;
    height: 140px; /* Adjust the height as needed */
    background-size: cover;
    background-position: center;
    border-radius: 32px 0 0 0; /* Rounded corners only at the top */
}

.text-content {
    padding: 10px;
    background-color: #fff;
       border-radius: 0 0 32px 0;
    position: relative;
}

.name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
	max-width: 175px;
}

.code {
    font-size: 14px;
    margin: 5px 0;
    padding: 2px 7px;
    color: #CCC;
    background-color: #82BE21;
    /* margin-bottom: 10px; */
    font-weight: bold;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    position: relative;
    top: -27px;
    left: 167px;
    height: 0px;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 400;
    /* line-height: 1.66; */
    color: rgb(81, 55, 80);
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 4px;
    background-color: #FFFFFF;
    width: 0px;
}
.star-rating {
    color: rgb(248, 171, 18);
}

.location {
    line-height: 14px;
    margin-top: 2px;
    margin-bottom: 6px;
	font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgb(81, 55, 80);
    line-height: 1.43;
}



.mapboxgl-popup-content {
    
    padding: 0 !important;
    
}


