body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}
H2 {
    font-size: 1.2rem;
    margin-bottom: 7px;
    font-family: 'Anton';
      text-align: center;   
}

/* Visually hide the skip link, but keep it accessible to screen readers */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/*Thema CSS voor filter aanduiding */
.filter-option {
    display: inline-block;
    align-items: center; /* Vertically center align items */
    justify-content: center; /* Horizontally center align items */
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 10px;
}

.filter-text {
    margin-right: 10px;
}

.remove-icon {
    color: #999;
    text-decoration: none;
    font-size: 16px;
    vertical-align: middle;
}

.remove-icon:hover {
    color: #333;
}

    /* Pop-up content from Handelaarsfiche map*/
    #popup {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 5px; /* Reduced padding around the content */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Shadow for the popup */
    }

    #popup-content {
        color: #333; /* Text color */
        font-size: 14px; /* Adjusted font size */
        font-weight: bold; /* Bold text */
        margin: 0; /* Remove default margin */
    }
    
    /* Other styles specific to Handelaar */
    .detailcontainer {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
    }
    .contactdetails {
       text-align: left;
       margin-left: 20px;
       margin-right: 20px;
    }
    .description {
        font-size: 0.8rem;
        font-family: 'Arial';
        font-weight: 200;
         margin: 20px 20px;
         border-radius: 15px;
    }
    .label {
        display: inline-block;
        color: #000;
        padding: 5px 5px;
        border-radius: 5px;
        font-size: 0.8rem;
        position: relative;
        border: 2px solid #e84d00; /* You can adjust the width and color */
        transition: background-color 0.5s ease;
    }
    .label-admin-container {
        display: flex; /* Make sure the container is a flex container */
        flex-wrap: nowrap; /* Prevent wrapping to the next line */
    }
    .label-admin {
        color: #000;
        padding: 5px 5px;
        border-radius: 5px;
        font-size: 0.6rem;
        position: relative;
        border: 1px solid #FEFEFE; /* You can adjust the width and color */
        transition: background-color 0.5s ease;
    }
    .label-admin2 {
        color: #000;
        padding: 5px 5px;
        border-radius: 5px;
        font-size: 0.6rem;

        border: 1px solid #ddd; /* You can adjust the width and color */
    }
    .label:hover {
        background-color: #eeffe8;
    }
    .detailcolumn {
        box-sizing: border-box;
        flex: 1;
        padding: 15px;
    }
    .detailcolumn2 {
        box-sizing: border-box;
        flex: 1;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin: 20px 0;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
    }
    .left-detailcolumn, .right-detailcolumn {
        flex-basis: 25%;
        max-width: 25%;
    }
    .middle-detailcolumn {
        flex-basis: 50%;
        max-width: 50%;
    }
    .left-detailcolumn2, .right-detailcolumn2 {
        flex-basis: 25%;
        max-width: 25%;
        margin: 10px 0;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
    }
    .middle-detailcolumn2 {
        flex-basis: 50%;

        max-width: 50%;
        margin: 10px 0;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
    }
    .smallsize-detailcolumn {
        flex-basis: 25%;
        max-width: 25%;
        display: none; /* Initially hide on larger screens */
    }
    
/* CSS for the topnav class */
.topnav {
    overflow: hidden;
    background-color: #333; /* Background color */
}
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2; /* Text color */
    text-align: center;
    padding: 4px 16px; /* Padding */
    text-decoration: none;
}

.topnav a:hover {
    background-color: #ffc812; /* Hover background color */
    color: black; /* Hover text color */
}

/* Other styles for the index page (only?) */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        z-index: 4; 
    }
    .extracontainer {
        border-radius: 8px;
        padding: 20px;
    }
    .headerblok {
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
        margin: 10px 0;
        border-radius: 8px;
        overflow: hidden;
        width: 100%;
    }
    .fancy-input {
      width: calc(100% - 30px);
      padding: 10px;
      font-size: 16px;
      border: 1px solid transparent;
      border-radius: 8px;
      background: #fff; /* Set a white background */
      background-clip: padding-box; /* Ensure the background does not extend into the border */
      color: #333;
      transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    .fancy-input:focus {
      outline: none;
      border: 1px solid transparent;
      box-shadow: 0 0 10px rgba(71, 153, 68, 0.5), inset 0 0 8px rgba(71, 153, 68, 0.3); /* Adjusted shadow color for Gecko green */
    }
    .input-container {
        position: relative;
        z-index: 6; 
    }
    #suggestions-dropdown {
        position: relative;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 150px; /* Set a max height for the dropdown if needed */
        overflow-y: auto;
        border: 1px solid #ccc;
        border-top: none;
        border-radius: 0 0 5px 5px;
        background-color: #fff;
        display: none;
        z-index: 10; 
    }
    .suggestion-item {
        cursor: pointer;
        padding: 8px;
        border-bottom: 1px solid #ccc;
    }
    .suggestion-item:last-child {
        border-bottom: none;
    }
    .product-card {
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin: 20px 0;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
        width: 100%;
    }
    /* Hover state for the element */
    .product-card:hover {
      transform: scale(1.05); /* Increase the size by 10% on hover */
    }
    .product-card img {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #ddd;
    }
    .product-card-content {
        padding: 20px;
    }
    .product-card-title {
        font-size: 1.2rem;
        margin-bottom: 7px;
        font-family: 'Anton';
          text-align: center;
    }
     .product-card-tagline {
        font-size: 0.7rem;
        margin-bottom: 3px;
        font-family: 'Arial';
        text-align: center;
    }
    .product-card-meerinfo {
        font-size: 0.7rem;
        margin-top: 7px; 
        margin-bottom: 0px;
        font-weight: 300;
        font-family: 'Arial';
        text-align: right;
    }
    .product-card-adres {
        font-size: 0.9rem;
        margin-top: 10px;
        font-weight: 500;
        font-family: 'Arial';
        text-align: center;
    }
    .icon-row {
        display: flex;
        justify-content: space-between;  
        margin-top: 10px;
        border-width: 1px 0 1px 0; /* Set only the bottom border to 1px */
        border-style: solid;
        border-image: linear-gradient(to right, #479944, #ffffff);
        border-image-slice: 1; /* Ensure the entire border is covered by the gradient */
    }
    .icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }

/* FOR DIFFERENT SCREEN SIZES */
    @media (min-width: 600px) {
        .product-card {
            width: calc(50% - 20px);
        }
        .headerblok {
            width: calc(50% - 20px);
        }
    }

    @media (min-width: 1024px) {
        .product-card {
            width: calc(25% - 20px);
        }
    }
    @media screen and (max-width: 768px) {
        .left-detailcolumn {
            display: none; /* Hide on iPad size or smaller */
        }
        .right-detailcolumn {
            display: none; /* Hide on iPad size or smaller */
            flex-basis: 50%;
            max-width: 50%;
        }

        .middle-detailcolumn {
            flex-basis: 100%;
            max-width: 100%;
        }
       
        
        .middle-detailcolumn2 {
            flex-basis: 100%;
            max-width: 100%;
        }
        .smallsize-detailcolumn {
            display: flex; /* Show on iPad size or smaller */
            flex-basis: 100%;
            max-width: 100%;
        }
    }
    @media screen and (max-width: 641px) {
        .left-detailcolumn2, .right-detailcolumn2, .middle-detailcolumn2 {
            flex-basis: 100%;
            max-width: 100%;
        }
    }      