/* ----------------------------------------------------------------
    Tourist.eu - custom css
-----------------------------------------------------------------*/

:root {
    --cnvs-themecolor: #66BB6A;                 /* main theme color */
    --cnvs-themecolor-rgb: 102, 187, 106;       /* mandatory: rgb conversion of main theme color */
    --cnvs-body-bg: #e7eff5;                    /* This is the color that will appear on the sides on large screens */
    --cnvs-contrast-800: #e7eff5;               /* This is the color that will appear on the sides on large screens */
    --cnvs-primary-font: 'Montserrat';
    --cnvs-body-font: 'Montserrat';
    --bs-body-font-family: 'Montserrat';
}

body {
    font-size: 16px;
    font-family: var(--cnvs-body-font), sans-serif; /* Ensuring the font family is consistently applied */
    overflow-x: hidden;                         /* Prevent horizontal scrollbar */
}

/* Headings styles */
h1, h2, h3, h4, h5 {
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.9rem;
    font-weight: 600;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
}

h4 {
    font-size: 1.35rem;
    font-weight: 400;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}


.breadcrumb a {
    color: #8cb6de;
}

.ti {                                           /* custom Tourist container settings */
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /*  padding-bottom: 16px;                       /* to prevent background color appearing at the bottom */
}

.introtext {
    font-size: 16px;
    margin-top: 0px !important;
    padding-bottom: 16px;                       /* to prevent background color appearing at the bottom */
}

/* Style for the external link and affiliate link icons */
.fa-external-link,
.fa-handshake,
.fa-tag,
.fa-info-circle {
    margin-left: 5px; /* Add some space between the link text and the icon */
    margin-right: 5px; /* Add some space between the link text and the icon */
    font-size: 10px; /* Adjust the font size of the icon */
    color: #bbbbbb; /* Change the color of the icon to a subtle one */
}

/* Style for the euro-sign icon */
.fa-euro-sign {
    margin-left: 5px; /* Add some space between the link text and the icon */
    font-size: 12px; /* Adjust the font size of the icon */
    color: #bbbbbb; /* Change the color of the icon to a subtle one */
}


/* Prevent overflow */
img, video {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------
	Custom logo and hamburger settings to overrule default issues
-----------------------------------------------------------------*/

/* Custom CSS for Hamburger Menu */

.cnvs-hamburger {
    background-color: white;
    border: 1px solid #66BB6A;
    border-radius: 50%; /* Makes the background a circle */
    padding: 0.4rem; /* Reduced padding for smaller margin */
    box-sizing: content-box; /* Ensures padding is added outside the width/height */
}

.cnvs-hamburger .cnvs-hamburger-box {
    width: var(--cnvs-hamburger-size); /* Adjust size to fit within the circle */
    height: var(--cnvs-hamburger-size); /* Adjust size to fit within the circle */
}

.primary-menu-trigger-active .cnvs-hamburger {
    background-color: white; /* Keep the white background when the menu is active */
    border: 1px solid #66BB6A; /* Keep the green border when the menu is active */
    border-radius: 50%; /* Keep the circle shape when the menu is active */
    padding: 0.2rem; /* Ensure padding is consistent when the menu is active */
    box-sizing: content-box; /* Ensures padding is added outside the width/height */
}



/* ----------------------------------------------------------------
	Mega menu
-----------------------------------------------------------------*/

.menu-item:hover > .menu-link {
    color: inherit; /* This will inherit the original color */
    /* text-decoration: underline !important; */
}

.mega-menu-headings, .top-menu-heading {
    background-color: #e6f0ff;
    padding: 5px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.top-menu-heading {
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px;
    width: 100%;
}

.top-menu-row {
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px;
    width: 100%;
}

.submenu-heading {
    color: rgba(21, 23, 165);   /* Tourist.eu blue    #1517A5 */
    font-size: 28px;
    font-weight: 400;
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    padding-left: 5px;
    padding-right: 5px;
}

.submenu-description {
    color: #181818;
    font-style: italic;
    font-size: 11px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

a.menu-link.heart-container {
    position: relative;
}

.custom-heart-size {
    font-size: 18px !important;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.heart-counter {
    position: absolute;
    align-items: center;
    background-color: rgb(255, 0, 0);
    border-radius: 50%; /* This makes it circular */
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: flex !important;
    font-size: 10px;
    font-weight: 400;
    height: 18px;
    justify-content: center;
    line-height: 18px;
    opacity: 0.8;
    padding: 2px 5px; /* Top/bottom padding of 2px and left/right padding of 5px */
    text-align: center;
    width: 18px;
    top: 10px;  /* Adjust as necessary */
    left: 90%; /* Adjust as necessary */
    transform: translate(0, -100%);
}

.no-bullets {
    list-style-type: none;
    padding-left: 0;
}

#liked-list {
    padding: 0;
}

.liked-link {
    padding: 0;
}

/* ----------------------------------------------------------------
    Custom Header and Page Menu Settings
-----------------------------------------------------------------*/

/* Global Styles for Mega Menu */
/* Reduces the default padding around images in the mega menu for expanded menus */
.is-expanded-menu .mega-menu .mega-menu-style-2 .mega-menu-column {
    padding: 10px;
}

/* Header and Page Header Styles When Not Sticky (Top of Screen) */
/* Applies to larger screens by default */
.is-expanded-menu #header.transparent-header:not(.sticky-header) #header-wrap {
    /* Gradient background for main header when it's not sticky */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    border-bottom: 0px; /* Removes bottom border */
}

.page-menu-container {
    max-width: 100vw; /* Ensure it never exceeds the viewport width */
    overflow-x: hidden; /* Prevent overflow */
}


#page-menu-wrap {
    /* Adjustments for the page header when it's not in a sticky state */
    top: 0; /* Aligns page header to the top of the page */
    border-top-left-radius: 10px; /* Rounded corners at the top */
    border-top-right-radius: 10px;
    height: 48px; /* Fixed height of the page header */
}

/* Header and Page Header Styles When Sticky (Scrolled Down) */
/* Adjustments for when the page header becomes sticky upon scrolling */
.is-expanded-menu .sticky-header #header-wrap {
    /* Custom changes for main header in sticky state can go here */
}

#page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap {
    /* Modifies the page header when it's sticky */
    border-top-left-radius: 0px; /* Removes the rounded corners at the top */
    border-top-right-radius: 0px;
}

/* When the page menu is sticky, apply these styles */
.sticky-page-menu #page-menu-wrap .page-menu-row {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.sticky-menu-trigger {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive styles according to your container breakpoints */
@media (min-width: 576px) {
    .sticky-page-menu #page-menu-wrap .page-menu-row {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .sticky-page-menu #page-menu-wrap .page-menu-row {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .sticky-page-menu #page-menu-wrap .page-menu-row {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .sticky-page-menu #page-menu-wrap .page-menu-row {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .sticky-page-menu #page-menu-wrap .page-menu-row {
        max-width: 1320px;
    }
}

/* Page Menu Title Text Style */
/* Specific styles for the .page-menu-title-text class, potentially applied to an <h1> */
.page-menu-title-text {
    color: #FFF; /* Text color */
    font-weight: 700; /* Makes font bold */
    font-size: 1.25rem; /* Adjusted font size */
    font-family: 'Montserrat', sans-serif; /* Specific font family */
    cursor: pointer; /* Indicates interactiveness */
    line-height: 1.5; /* Standard line height */
    text-align: inherit; /* Inherits text alignment from parent */
    display: inline-block; /* Makes the element inline while retaining block capabilities */
    vertical-align: middle; /* Aligns the element vertically with inline elements */
    margin: 0; /* Resets default margins */
    padding: 0; /* Adjust padding as necessary to align with the icon */
}

/* Mobile Device Styles */
/* Specific styles that apply when the viewport width is 1200px or less */
@media (max-width: 1200px) {
    /* Adjustments for the main header in sticky state on mobile devices */
    .is-expanded-menu .sticky-header #header-wrap {
        position: static; /* Non-sticky position */
    }

    /* Adjustments for the page header in sticky state on mobile devices */
    #page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap {
        top: 0; /* Ensures the page header sticks to the top */
    }

    #header-wrap {
        background-color: transparent;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
        border-bottom: 0px; /* Removes bottom border */
    }
}

/* Ensure the mobile menu is invisible by default */
.menu-container.mobile-primary-menu {
    visibility: hidden; /* Hide initially */
    display: none;
}

/* Show mobile menu when active */
.primary-menu-active .menu-container.mobile-primary-menu {
    visibility: visible;
    display: block;
}




/* ----------------------------------------------------------------
    Header image and photo-info
-----------------------------------------------------------------*/

/* The .photo-info element is off the screen to the right when not hovered */
.photo-info {
    position: absolute;  /* Changed from fixed to absolute */
    top: 25vh;
    right: -400px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 400px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 9999;  /* Ensure it's above other elements */
}

/* Smaller font size for the credit line */
.photo-info-credits, .photo-info-copyright-notice {
    font-size: 0.7em; /* Smaller font size */
    text-align: right; /* Align text to the right */
    font-style: italic;  /* Make font italic */
}

/* Text and other elements inside the photo-info class */
.photo-info-text,
.photo-info-credits,
.photo-info-copyright-notice {
    padding: 10px; /* Padding for inner content */
}

/* Move background image up in */
.page-title-parallax {
    margin-top: -101px;
    height: 60vh; /* Default height for desktop/landscape */
    min-height: 300px;
}

/* Adjustments for portrait orientation */
@media screen and (orientation: portrait) {
    .page-title-parallax {
        height: 50vh; /* Adjusted height for portrait mode */
        min-height: 250px; /* Adjust this if necessary */
    }
}

/* Adjustments for small screens */
@media screen and (max-width: 600px) {
    .page-title-parallax {
        height: 40vh; /* Further reduce height for small screens in portrait mode */
        min-height: 200px;
    }
}

/* ----------------------------------------------------------------
    Header Title and Country Info Styling
-----------------------------------------------------------------*/

/* Container for the title and country elements */
.hero-title-container {
    position: relative; /* Position relative to parent */
    top: 5vh;
    text-align: left; /* Center align text and elements inside */
    padding: 0 0; /* Add padding to space out the elements within the container */
    z-index: 2; /* Ensure it appears above the background image */
}

/* Styling for the title placed on top of the hero image */
#headerTitle {
    font-family: 'Great Vibes', cursive; /* Custom font for the title */
    font-size: calc(3em + 2vw); /* Responsive font size based on viewport width */
    max-size: 7em; /* Limits the maximum font size */
    color: white; /* Title text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds a subtle shadow for better readability */
    background-color: transparent; /* Background color of the title */
    display: block; /* Ensures the title is displayed as a block element */
    margin-bottom: -10px; /* Space between the title and the country info */
}

/* Container for the country-related elements */
.location-container {
    text-align: left; /* Center align the location container */
    margin-top: 5px; /* Adjust this for spacing between the title and the country info */
}

/* Styling for the country-related elements (flag and name) */
.location-info {
    font-family: 'Montserrat';
    font-size: 14px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

/* Styling for the flag within location info */
.location-info img {
    height: 25px;
    width: 25px;
    margin-right: 10px; /* Space between flag and country name */
}

/* Styling for the country name text */
.location-info span {
    vertical-align: middle;
    font-size: 16px !important;
}

/* Hide title and country info on small screens or small heights */
@media (max-width: 600px), (max-height: 500px) {
    .hero-title-container {
        display: none; /* Hides the title and country info on small screens or if the height is less than 500px */
    }
}

/* Optional: Adjust title font size on medium screens */
@media (max-width: 1200px) {
    #headerTitle {
        font-size: 4rem; /* Smaller font size on medium screens */
    }
}



/* ----------------------------------------------------------------
    Icon Styling
-----------------------------------------------------------------*/

/* Size, alignment, and initial color for heart icons */
.page-menu-title .icon-heart,
.page-menu-title .icon-heart-filled {
    width: 1.0em;
    height: 1.0em;
    vertical-align: middle;
    color: white; /* Initial color for both icons */
    margin-right: 10px; /* Margin to the right of the heart */
}

/* Cursor to indicate clickable area */
.page-menu-title {
    cursor: pointer;
}

/* Change color when heart is hovered */
.page-menu-title:hover .icon-heart {
    color: red;
}

/* Color for the filled heart */
.page-menu-title .icon-heart-filled {
    color: #ffffff;
}

/* Control the visibility of the heart icons */
.icon-heart-filled {
    display: none;
}

.page-menu-title .liked .icon-heart-filled {
    display: inline;
}

.page-menu-title .liked .icon-heart {
    display: none;
}

.icon-white-overlay {
    height: 0.5em; /* Adjust this value as needed */
    margin-left: 25px;

    filter: brightness(0) invert(1);
}


/* ----------------------------------------------------------------
	Main content section
-----------------------------------------------------------------*/

    .maincontent h3 {
        font-family: 'Sofia Sans Extra Condensed', sans-serif;
        font-size: 32px;
        color: green;
        text-align: left;
        display: flex;
        align-items: center;
        margin-bottom: 0px;
    }

    .maincontent .svg-icon img {
        width: auto; /* Adjust as needed */
        height: 1.7em; /* Adjust as needed */
        margin-right: 0.3em;
        vertical-align: middle;
    }

/* ----------------------------------------------------------------
    Breadcrum

    <ul class="breadcrumb-navigation">
        <li><a href="#">Europe</a></li>
        <li><a href="#">Country</a></li>
        <li class="inactive"><a>Region</a></li> <!-- 'a' tag without 'href' for inactive state -->
        <li><a href="#">Subregion</a></li>
        <li class="inactive lastelement"><a>City</a></li>
    </ul>
-----------------------------------------------------------------*/
    /* Base styles for the breadcrumb navigation */
    .breadcrumb-navigation {
        list-style-type: none;
        font-size: 12px;
        padding: 0;
        margin: 0 0 0 -10px; /* Shifts the block 15 pixels to the left */
        white-space: nowrap; /* Prevents wrapping of breadcrumbs */
        text-align: left; /* Aligns content to the right */
    }

    .breadcrumb-navigation li {
        display: inline-block;
        position: relative;
        padding-right: 30px; /* Space for the arrow, adjust as needed */
    }

    /* Default state for all list items */
    .breadcrumb-navigation li a {
        text-decoration: none;
        color: black;
        background-color: #e6f0ff;
        padding: 2px 15px 2px 15px; /* Right padding for arrow overlap */
        display: block;
        position: relative;
        transition: all 0.3s ease; /* Smooth transition for hover effect */
    }

    /* Generate the arrow shapes */
    .breadcrumb-navigation li a:after {
        content: '';
        position: absolute;
        top: 0;
        right: -10px; /* Overlap the arrow */
        width: 0;
        height: 0;
        border-top: 11px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 11px solid #e6f0ff;
        z-index: 2; /* Ensure it's above :before pseudo-element */
    }

    /* Overlap the previous element's arrow */
    .breadcrumb-navigation li a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0; /* Align with the list item */
        width: 10px; /* Width of the overlap, adjust as needed */
        height: 100%;
        background: rgba(255, 255, 255, 0.5); /* Same as the breadcrumb background */
        z-index: 1;
    }

    /* Inactive state styles */
    .breadcrumb-navigation li.inactive a {
        background-color: lightgrey;
        padding: 2px 15px 2px 15px; /* Right padding for arrow overlap */
        color: #838383;
    }

    .breadcrumb-navigation li.inactive a:after {
        border-left: 10px solid lightgrey;
    }

    /* Hover/Active state styles */
    .breadcrumb-navigation li a:hover,
    .breadcrumb-navigation li.selected a {
        background-color: #66BB6A;
        color: white;
    }

    .breadcrumb-navigation li a:hover:after,
    .breadcrumb-navigation li.selected a:after {
        border-left-color: #66BB6A;
    }

    /* Correct spacing for subsequent breadcrumb items */
    .breadcrumb-navigation li:not(:first-child) {
        margin-left: -30px; /* Adjust this value to reduce the space between elements */
    }

    /* Ensure inactive elements do not change on hover */
    .breadcrumb-navigation li.inactive a:hover {
        background-color: lightgrey;
        color: #838383;
    }

    .breadcrumb-navigation li.lastelement a:after {
        content: none; /* Removes the arrow shape */
    }

    /* Optional: If you want a different background for the last element */
    .breadcrumb-navigation li.lastelement a {
        background-color: #ececec; /* Slightly darker to mark completion, adjust color as needed */
        padding-right: 15px; /* Adjust padding to not account for arrow overlap */
    }

    /* Adjust the border if you have a specific design for the last element */
    .breadcrumb-navigation li.lastelement a {
        border: 0; /* Example to remove any border if exists */
    }



/* ----------------------------------------------------------------
	Quote
-----------------------------------------------------------------*/


/* Quote Container */
.quote-container {
    width: 80%;            /* You can adjust this based on the desired width */
    max-width: 800px;      /* Maximum width */
    margin: 40px auto;     /* Centering the quote and adding some spacing on top and bottom */
    padding: 20px;
    text-align: center;    /* Center the text inside */
    background-color: rgba(249, 249, 255, 0.8); /* Slightly transparent white to keep things light */
    border-radius: 10px;   /* Soft rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);   /* Subtle shadow for depth */
}

/* Actual Quote */
.quote-container .quote-text {
    font-size: 48px;       /* Size of the quote text */
    font-style: italic;    /* Italicized for emphasis */
    line-height: 1.5;     /* Adjust based on readability */
    margin-bottom: 20px;  /* Spacing before the author name */
    color: var(--cnvs-themecolor); /* Using your theme color */
    font-family: 'Great Vibes', cursive; /* Stylish font for the quote, similar to your h1 */
}

/* Author of the Quote */
.quote-container .quote-author {
    font-size: 12px;       /* Size of the author's name */
    color: #555;          /* A bit muted color for contrast */
    font-family: var(--cnvs-body-font); /* Using the body font you specified */
    position: relative;   /* Making it relative for positioning the '::before' content */
}

.quote-container .quote-author::before {
    position: absolute;
    left: -20px;          /* Position it a bit to the left of the author's name */
    top: 50%;
    transform: translateY(-50%); /* Center it vertically */
}



/* ----------------------------------------------------------------
    Left sidebar
-----------------------------------------------------------------*/

    .leftsidebar h3 {
        font-family: 'Sofia Sans Extra Condensed', sans-serif;
        font-size: 24px;
        color: #070707;
        text-align: left;
        display: flex;
        align-items: center;
        margin-bottom: 0px;
    }

    .leftsidebar .svg-icon img {
        width: auto; /* Adjust as needed */
        height: 2em; /* Adjust as needed */
        margin-right: 0em;
        vertical-align: middle;
    }

    .leftsidebar .svg-icon-small img {
        width: auto; /* Adjust as needed */
        height: 1.7em; /* Adjust as needed */
        margin-left: 0.15em;
        margin-right: 0.15em;
        vertical-align: middle;
    }

    .leftsidebar .links {
        font-family: 'Montserrat', sans-serif;
        text-align: right;
        margin-top: -5px; /* This will move the block up by 5px */
        font-size: 14px; /* Adjust this for the desired font size of the links */
        margin-bottom: 5px; /* Adjust this to place the links closer together */
    }

    .leftsidebar .links a {
        display: block;
    }

    /* Weather Info Box in Left Sidebar */
    .leftsidebar .weather-data {
        position: relative;
        background-color: #f2f2f2;
        padding: 10px;
        border-radius: 5px;
        font-family: 'Montserrat', sans-serif;
        color: #333;
        font-size: 14px;
        margin: 0 0 25px 0;
        width: auto;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Additional class for when a logo is present */
    .leftsidebar .weather-data.with-logo {
        padding-bottom: 30px; /* Increased padding at the bottom to accommodate the logo */
    }

    .leftsidebar .weather-data h3 {
        font-family: 'Sofia Sans Extra Condensed', sans-serif;
        font-size: 24px;
        color: #333;
        text-align: left;
        margin-left: -10px;
        margin-bottom: 5px; /* Space between title and content */
    }

    .leftsidebar .weather-icon-description {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the content horizontally */
        justify-content: center; /* Centers the content vertically */
        text-align: center;
        margin: 0px 0;
    }

    .leftsidebar .weather-data .weather-icon {
        display: block;
        max-width: 70px;
        height: auto;
        margin: 0px;
    }

    .leftsidebar .weather-data .openweather-logo {
        position: absolute;
        bottom: -5px;
        left: 1px;
        width: 70px;
    }

    .leftsidebar .weather-data p {
        display: flex;
        justify-content: space-between;
        margin: 5px 0;
    }

    .leftsidebar .weather-data strong {
        font-weight: 600; /* Decrease the value to make it less bold; 400 is normal, 700 is bold */
    }

    .leftsidebar #countryDropdown,
    .leftsidebar #regionDropdown{
        font-family: 'Montserrat', sans-serif; /* Matching the font of your links */
        font-size: 14px; /* Matching the font size of your links */
        color: green; /* You may adjust this to match your link color if it's not black */
        background-color: #F8F9FA; /* Assuming a light background, adjust as necessary */
        border: 1px solid #DADCE0; /* Light grey border to match your link style */
        border-radius: 4px; /* Rounded corners */
        padding: 8px; /* Adjust padding to match the styling of your links */
        margin-top: 10px; /* Space above the dropdown */
        margin-bottom: 5px; /* Space below the dropdown, adjust as needed */
        width: 100%; /* Adjust if necessary to fit your sidebar's width */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        text-align-last: right; /* Align text to the right within the dropdown */
        -moz-text-align-last: right; /* Firefox-specific alignment */
    }

    /* Optionally, adjust the <div> that wraps the dropdown to align with your sidebar's styling */
    .leftsidebar .dropdown-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end; /* Aligns the dropdown to the right */
    }

    /* Adjust the label (if used) to match the sidebar's h3 styling */
    .leftsidebar .dropdown-label h3 {
        font-family: 'Sofia Sans Extra Condensed', sans-serif;
        font-size: 24px;
        color: #66BB6A;
        text-align: left;
        margin-bottom: 5px; /* Space between the label and the dropdown */
    }


/* ----------------------------------------------------------------
    Right sidebar
-----------------------------------------------------------------*/

.rightsidebar {
    margin-right:10px;
}

.rightsidebar h3 {
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    font-size: 24px;
    color: #070707;
    display: block;
    text-align: right;
    margin-bottom: 0px;
}


.rightsidebar .svg-icon img {
    width: auto; /* Adjust as needed */
    height: 2em; /* Adjust as needed */
    margin-right: 0em;
    vertical-align: middle;
}

.rightsidebar .links {
    font-family: 'Montserrat', sans-serif;
    text-align: right;
    margin-top: -5px; /* This will move the block up by 5px */
    font-size: 14px; /* Adjust this for the desired font size of the links */
    margin-bottom: 5px; /* Adjust this to place the links closer together */
}

.rightsidebar .links a {
    display: block;
}

/* Generic content block for right sidebar */
.rightsidebar .content-block {
    position: relative;
    background-color: var(--content-bg, #f2f2f2);
    padding: 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-size: 14px;
    margin: 0 0 25px 0;
    width: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Toevoeging: tekstuitlijning aanpassen */
.rightsidebar .content-block.text-left {
    text-align: left;
}

.rightsidebar .content-block.text-right {
    text-align: right;
}

/* Stijlen voor de titel */
.rightsidebar .content-block h3 {
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    font-size: 22px;
    color: #070707;
    margin-bottom: 5px;
}

.rightsidebar .icon-container {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Extra ruimte rond het icoon */
}

.rightsidebar .icon-container img {
    width: 100%;
    height: auto;
}

/* Voeg extra marge toe aan de titel zodat deze niet te dicht tegen het icoon aanstaat */
.rightsidebar .content-block h3 {
    margin-left: 45px; /* Extra ruimte zodat de tekst niet tegen het icoon plakt */
    line-height: 1.3; /* Zorgt voor betere verticale uitlijning */
}

.rightsidebar .infoblock_text {
    font-size: 14px;
    color: #555;
    text-align: right; /* Maakt de tekst meer gebalanceerd */
    /* word-break: break-word;  Zorgt ervoor dat lange woorden worden afgebroken */
    overflow-wrap: break-word; /* Extra veiligheid voor moderne browsers */
    hyphens: auto; /* Voegt automatische woordafbreking toe indien nodig */
    line-height: 1.5; /* Verbetert de leesbaarheid */
}

/* Link onderaan het blok */
.rightsidebar .infoblock_weblink {
    margin-top: 10px;
}


/* Alternative Background Colors */
.rightsidebar .content-block.bg-gray { --content-bg: #f2f2f2; }
.rightsidebar .content-block.bg-light-blue { --content-bg: #e0f7fa; }
.rightsidebar .content-block.bg-light-yellow { --content-bg: #fff9c4; }


/* ----------------------------------------------------------------
	Misc individual theme overrides
-----------------------------------------------------------------*/

p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form {
    margin-bottom: 1rem;
}

.top-cart-number {                              /* Number of liked items */
    background-color: red;
    position: absolute;
    top: -8px;                                  /* Adjust this value to position it vertically */
    left: calc(100% + 5px);                     /* Adjust this value to control the distance from the parent */
    transform: translateX(-50%);
    border-radius: 50%;
    padding: 2px 5px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}


.is-expanded-menu #header.transparent-header.semi-transparent { /* background color top menu */
    --cnvs-header-bg: rgba(21, 23, 165, .75);   /* Tourist.eu blue */
    --cnvs-header-bg: rgba(50, 50, 50, .5);
}

.hidden {
    display: none !important;
}

/* ----------------------------------------------------------------
	Specific for mobile
-----------------------------------------------------------------*/
@media (max-width: 1200px) {
    /* Hide iubenda button on small screens */
    .iubenda-tp-btn.iubenda-cs-preferences-link {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    /* General styles for the dropdown */
    .mobile-menu-off-canvas .mega-menu-content {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        color: green;
        background-color: #F8F9FA;
        border: 1px solid #28a745;
        border-radius: 10px;
        padding: 8px;
        margin: 5px;
        box-sizing: border-box;
    }

    .mobile-menu-off-canvas .menu-item a.menu-link {
        color: #000;
        text-decoration: none;
        position: relative;
        padding-right: 20px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: none;
    }

    .mobile-menu-off-canvas .menu-item a.menu-link::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #28a745;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-off-canvas .menu-item a.menu-link:hover {
        color: #28a745;
    }

    .mobile-menu-off-canvas .submenu-heading {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .mobile-menu-off-canvas .submenu-description {
        font-size: 14px;
        color: #666;
    }

    /* Ensure dropdowns look consistent across devices */
    .mobile-menu-off-canvas select {
        background-color: #F8F9FA;
        border: 1px solid #28a745;
        border-radius: 10px;
        padding: 8px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        color: green;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu-off-canvas select option {
        background-color: #F8F9FA;
        color: green;
    }

    /* Icon sizing */
    .svg-icon img {
        width: auto;
        height: 2em;
        margin-right: 0em;
        vertical-align: middle;
    }
}

body:not(.is-expanded-menu) #header:not(.sticky-header) .mobile-menu-off-canvas .menu-container.d-block {
    background-color: #e7eff5;
}


/* ----------------------------------------------------------------
	Animated links
	ref: https://tympanus.net/Development/LineHoverStyles/css/base.css
-----------------------------------------------------------------*/
    .content__item {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        counter-increment: itemcounter;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .link {
        cursor: pointer;
        position: relative;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        color: inherit; /* Initial color of the link text */
    }

    .link:hover {
        color: #66BB6A; /* Changes the color when the link is hovered over */
    }

    .link--iocaste {
        overflow: hidden;
        padding: 7px 0;
    }

    .link__graphic {
        position: absolute;
        left: 0;
        pointer-events: none;
        fill: none;
        stroke: #66BB6A; /* Initial color of the visible part of SVG */
        stroke-width: 3px; /* Adjust this value to make the line thicker */
        transform: translateY(0px); /* Adjust this value to move the line down */
    }

    .link__graphic--slide {
        stroke: #000; /* Color of the hidden part of SVG */
        stroke-width: 3px; /* Adjust this value to make the line thicker */
        transition: transform 0.7s;
        transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
    }

    .link:hover .link__graphic--slide {
        transform: translate3d(-66.6%, 0px, 0); /* Adjust this value to match the translateY in .link__graphic */
    }

    .animate-links a,
    .link__graphic {
        margin: 0;
        padding: 0;
    }


/* ----------------------------------------------------------------
	Linkblocks
-----------------------------------------------------------------*/

.linkblock-container {
    gap: 8px;
    padding-left: 20px;
}

.linkblock {
    border: 1px solid #007BFF; /* Default color, can be changed per category */
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    flex-grow: 0;      /* Prevent the item from growing */
    flex-shrink: 0;    /* Prevent the item from shrinking */
    flex-basis: calc(33.333% - 30px); /* Starting width */
    min-width: 250px;  /* Set a minimum width */
    margin-right: 20px;
    background-color: #e6f0ff; /* Light background that goes with the border color */
    height: 400px; /* Adjust this value based on your design needs */
    position: relative; /* Relative positioning for the button */
    overflow: hidden; /* Hide overflow content */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    display: flex;
    flex-direction: column;
}

.linkblock-title,
.linkblock-items-container,
.linkblock-footer-container {
    flex-grow: 0;
    flex-shrink: 0;
}

.linkblock:last-child {
    /*margin-right: 0;*/
}

.linkblock-title {
    display: flex;
    align-items: center; /* Vertically center the children */
    position: relative;
    height: 72.67px; /* Title height */
    border-bottom: 1px solid #007BFF; /* Ruler under the title */
    padding-bottom: 0px; /* Reduced space between title and ruler */
    margin-bottom: 0px; /* Reduced space between ruler and subtext */
    margin-top: 0px; /* Reduced space at the top */
    margin-left: -15px; /* Extend ruler to the left edge */
    margin-right: -15px; /* Extend ruler to the right edge */
    padding-left: 15px; /* Restore padding for the title */
    padding-right: 15px; /* Restore padding for the title */
}

.linkblock-title img {
    width: 60px; /* Bigger icon */
    height: 60px; /* Bigger icon */
    margin-right: 8px; /* Reduced space between the image and the title */
    margin-top: -10px; /* Move the icon slightly up */
    margin-left: -10px; /* Move the icon slightly to the left */
}

.title-container {
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

.linkblock-title h3 {
    font-size: 20px;
    margin: 0; /* Remove default margin */
}

.linkblock-title-subtext {
    font-size: 14px;
    color: #777;
    margin-top: 5px; /* Space between the title and subtext */
}

.linkblock-items-container {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 277.33px; /* Adjusted max height */
    margin-right: -15px; /* Counteract the 15px padding from .linkblock */
    border-bottom-right-radius: 0; /* Remove the rounded corner */
    border-bottom-left-radius: 0; /* Remove the rounded corner */
    overflow-x: hidden; /* Hide horizontal overflow */
}

.linkblock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Add this to prevent wrapping */
    margin-bottom: 5px;
    position: relative; /* Added to position the distance and marker elements */
}

.linkblock-item span a {
    white-space: nowrap;  /* Prevents the text from wrapping onto the next line */
    overflow: hidden;     /* Hides the text that overflows */
    text-overflow: ellipsis; /* Adds the ellipsis when text overflows */
    display: inline-block; /* Makes the element inline-level block container */
    max-width: 80%;       /* Sets the maximum width to 80% of the parent */
    width: 80%;           /* Explicitly set width to 80% */
}

.linkblock-item img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.linkblock-item span {
    flex: 1;
}

.linkblock-item .distance {
    position: absolute; /* Absolute positioning */
    right: 0; /* Move to the far right */
    font-size: 14px; /* Match the subtitle text size */
    color: #777; /* Match the subtitle text color */
}

.linkblock-item .marker {
    position: absolute; /* Absolute positioning */
    right: 50px; /* Adjust this value to place it to the left of the KM indication */
    font-size: 14px; /* Match the subtitle text size */
    color: #007BFF; /* Match the border color of the content block */
}

/* Hover Description */
.linkblock-item:hover .description {
    display: block;
}

.linkblock-item:hover {
    background-color: #f0f0f0; /* This is a light grey color. Adjust as needed. */
    cursor: pointer; /* Changes the cursor to a hand when hovering over the link item */
}

.linkblock-footer-container {
    height: 20px; /* Footer height */
    border-bottom-right-radius: 15px; /* Match the parent's border-radius */
    border-bottom-left-radius: 15px; /* Match the parent's border-radius */
    background-color: inherit; /* Inherit the background color */
    padding: 10px; /* Add some padding */
}

/* Add a smooth transition for hover effects */
.linkblock-item {
    transition: background-color 0.3s ease;
    margin-bottom: 0px; /* Reduced spacing between lines */
}

/* Add a subtle shadow to make the blocks pop */
.linkblock {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Add a hover effect for the entire block */
.linkblock:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

/* Add some padding and rounded corners to the images */
.linkblock-title img, .linkblock-item img {
    border-radius: 50%;
    padding: 4px;
}

/* Add a gradient background for a modern touch */
.linkblock:hover {
    background: linear-gradient(to bottom, #e6f0ff, #c2d4e6);
}

/* Add a gradient background for a modern touch */
.linkblock {
    background-color: #eaf3fc; /* Default background color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
}

.open-all-links-button {
    position: absolute; /* Absolute positioning */
    bottom: 5px; /* Closer to the bottom */
    left: 10%; /* Center the button */
    right: 10%; /* Center the button */
    width: 80%; /* 80% of the parent width */
    height: 25px; /* Half the original height */
    background-color: transparent;
    border: 1px solid #007BFF; /* Identical outline as the container */
    color: green; /* Green text */
    text-align: center; /* Center the text */
    padding: 5px; /* Reduced padding */
    cursor: pointer; /* Hand cursor */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effects */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Smaller text size */
    border-radius: 12.5px; /* Rounded corners for a pill shape */
}

.open-all-links-button:hover {
    background-color: green; /* Green background on hover */
    color: white; /* White text on hover */
}


/* ----------------------------------------------------------------
	Linkblock sticky note
-----------------------------------------------------------------*/

.sticky-note {
    position: sticky;
    top: 150px;
    background-color: lightyellow;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sticky-note-title h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.sticky-note-linkdescription {
    font-size: 1em;
    margin-bottom: 0px;
}

.logo {
    text-align: center;
    margin-top: 10px;
}

.logo img {
    width: 50px;
    height: auto;
}


/* ----------------------------------------------------------------
	htmlblockExpandingCards
-----------------------------------------------------------------*/


 .block-expand-categories h1,
 .block-expand-categories h2,
 .block-expand-categories h3 { font-family: Playfair Display, serif !important; }

.block-expand-categories .expand-category {
    --height: 300px;
    --responsive-height: 300px;
    --hover-flex: 5;

    position: relative;
    background-position: center center;
    background-size: cover;
    border-radius: 10px;
    margin: 10px 0;
    min-height: var(--responsive-height);
    cursor: pointer;
}

.block-expand-categories .expand-category h4 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
    transform: translateY(-50%);
}

/* Larger Device */
@media (min-width: 992px) {
    .block-expand-categories .expand-category {
        height: var(--height);
        flex: 1;
        margin: 0 10px;
        transition: flex 1s ease;
        -webkit-backface-visibility: hidden;
        transform: translate3d(0,0,0);
    }

    .block-expand-categories:not(.on-click) .expand-category:hover,
    .block-expand-categories.on-click .expand-category.active { flex: var(--hover-flex); }

    .block-expand-categories .expand-category h4 {
        opacity: 1;
        top: auto;
        bottom: 10px;
        transform: none;
        transition: opacity .4s ease;
    }

    .block-expand-categories:hover .expand-category:not(.active):not(:hover) h4,
    .block-expand-categories.on-click .expand-category:not(.active) h4 { opacity: 0; }

    .block-expand-categories:not(.on-click) .expand-category:hover
}


.description-text, .credits-text {
    margin-top: -30px;
    font-size: 13px;
    color: #6f97b0;
    text-align: center;
    margin-bottom: 5px;
    min-height: 25px; /* Ensures a minimum height, even when empty */
    white-space: nowrap; /* Prevent text from wrapping to a new line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipses to overflow text */
}

.credits-text {
    font-style: italic;
    font-size: 10px;
    margin-top: 5px;
    min-height: 25px; /* Ensures a minimum height, even when empty */
}

#description, #credits {
    opacity: 0;
    transition: opacity 0.2s;
}




/* ----------------------------------------------------------------
	htmlblockPickYourGuide
-----------------------------------------------------------------*/

 #carousel-tabs.tabs,
 #carousel-tabs .tab-content {
     --cnvs-tab-padding-width: 0;
     --bs-nav-link-padding-y: .75rem;
     --bs-nav-link-font-size: .9125rem;
     --bs-nav-link-font-weight:	400;
     --bs-nav-tabs-border-width: 0;
     --bs-nav-link-color: var(--cnvs-contrast-1000);
     --bs-nav-link-hover-color: var(--cnvs-contrast-900);
     --bs-nav-tabs-link-active-bg: rgba(var(--bs-danger-rgb), 0.1);
     --bs-nav-tabs-link-active-color: var(--bs-danger);
     --cnvs-tabs-bg-color:rgba(var(--cnvs-contrast-rgb), 0.04);
 }

.dark #carousel-tabs.tabs,
.dark #carousel-tabs .tab-content {
    --bs-nav-tabs-link-active-bg: rgba(var(--bs-danger-rgb),1);
    --bs-nav-tabs-link-active-color: var(--bs-light);
}

#carousel-tabs .nav-link:not(.active) {
    background-color: rgba(var(--cnvs-contrast-rgb), 0.04);
}

#carousel-tabs .nav-link {
    border-radius: var(--bs-border-radius);
    font-weight: 500;
}

#carousel-tabs .nav-link.active {
    font-weight: 600;
}

.carousel-blur-left::before,
.carousel-blur-right::after {
    --cnvs-carousel-blur-size: 70px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: var(--cnvs-carousel-blur-size);
    height: 100%;
    z-index: 1;
    background: linear-gradient(to right, var(--cnvs-body-bg) 50%, transparent);
}

.carousel-blur-right::after {
    left: auto;
    right: 0;
    background: linear-gradient(to left, var(--cnvs-body-bg) 50%, transparent);
}


/* ----------------------------------------------------------------
	quicklink buttons
-----------------------------------------------------------------*/
/* Button Styling */
.button-container {
    width: 6em;
    height: 6em;
    background-color: #e6f0ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px #B3A394;
    position: relative; /* Make the container a positioning context */
}

/* Icon Styling */
.button-icon img {
    height: 90%; /* Make it 90% of the container */
    width: 90%;  /* Make it 90% of the container */
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Text Styling */
.button-text {
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    font-size: 24px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute; /* Absolute position to overlap with the icon */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
}

/* Hover effect */
.button-container:hover {
    background-color: #66BB6A;
}

.button-container:hover .button-icon img {
    opacity: 0; /* Hide the image smoothly */
}

.button-container:hover .button-text {
    opacity: 1; /* Show the text smoothly */
}
/* Specific Row Styles for Quicklinks */
.quicklinks-row {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: right; /* Center items horizontally */
    margin-right: 5px;
    align-items: center; /* Center items vertically */
}

/* Add margins to individual buttons within Quicklinks */
.quicklinks-row .button-container {
    margin: 0.5em; /* Add margin around each button */
}

/* Horizontal Rule Styles (optional) */
.quicklinks-row hr {
    width: 100%; /* Take full width */
}


/* ----------------------------------------------------------------
		Footer and copyrights
	-----------------------------------------------------------------*/

#content {
    padding-bottom: 375px;
    background-color: transparent; /* Set background color to transparent */
}

/* The wrapper is set to a baseline z-index */
#wrapper {
    position: relative;
    z-index: 1;
    max-width: 100vw;
    overflow-x: hidden;
}

/* The content within the wrapper should be above the wrapper's baseline */
#content, .container.ti, .container, footer, .footer-content-wrap {
    position: relative;
    z-index: 2;
}

.maincontainer {
    margin-top: min(-10vh, -75px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.footer-image {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#footer {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.footer-content-wrap {
    position: relative;
    margin-top: -200px;
    padding-top: 20px;
    padding-bottom: 10px;
    z-index: 3;
}

#footer .footer-widgets-wrap {
    padding:0;
}

#copyrights {
    position: relative;
    /* margin-top:17px; */
    padding: 0px 0px 0px 0px;
    background-color: #DDD;
    font-size: 0.875rem;
    line-height: 1.8;
}

.dark #footer,
#footer.dark {
    color: rgba(255,255,255,0.75);
    background: linear-gradient(to top, rgba(10, 18, 42, 0.75) 0%, rgba(10, 18, 42, 0.75) 92%, transparent 100%);
}

.dark .footer-widgets-wrap a {
    color: rgba(157, 157, 157, 0.9);
}

.dark .footer-widgets-wrap a:hover {
    color: rgba(255,255,255,0.85);
}

.dark #footer .social-icon.si-borderless,
#footer.dark .social-icon.si-borderless {
    color: rgba(255,255,255,0.5) !important;
}

.dark #copyrights, #copyrights.dark {
    color: rgba(157, 157, 157, 0.9);
    background-color: rgb(19, 28, 61);
}

.dark .copyright-links a {
    color: rgba(157, 157, 157, 0.9);
    border-bottom-color: rgba(255,255,255,0.65);
}

.dark .copyright-links a:hover {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.8);
}

.footer-links {
    padding-left: 20px;
}

.footer-links ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Adjust spacing for smaller screens */
@media (max-width: 576px) {
    .footer-links {
        margin-bottom: 20px; /* Adds space between links on small screens */
    }
}


/* ----------------------------------------------------------------
		System messages  (like translation not yet available etc.)
	-----------------------------------------------------------------*/

.system-message {
    color: #8cb6de;
    font-size: small;
    font-style: italic;
}

.system-message a {
    color: inherit; /* Ensures hyperlink doesn't change color */
    text-decoration: underline;
}

.system-message a:hover {
    text-decoration: none;
}

/* ----------------------------------------------------------------
		Tooltip and ai-icon
	-----------------------------------------------------------------*/
.ai-icon {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-left: 10px;
}

.tooltip-trigger {
    position: relative;
    /* float: right; /* Floats the container to the right */
    display: inline-block; /* This ensures the icon stays in line with the text */
}

.tooltip {
    /* Remove the width property */
    background-color: #e6f0ff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 8px; /* Add horizontal padding for better aesthetics */
    position: absolute;
    z-index: 1000;
    bottom: 25px; /* Distance from the icon */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Keeps the tooltip content on a single line */
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth transition for opacity */
    visibility: hidden;
}

.tooltip-trigger:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* ----------------------------------------------------------------
		Link buttons
	-----------------------------------------------------------------*/
/* Base styles for linkbutton */
.linkbutton {
    display: block;
    border: 1px solid #8cb6de;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: right;
    padding: 5px 10px;
    color: black;
    text-decoration: none;
    overflow: hidden;
    position: relative; /* Positioning context for absolute children */
    transition: padding 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover */
}

/* Styles for link_category */
.linkbutton .link_category {
    background-color: #8cb6de;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: inline-block;
    z-index: 2; /* Ensure it's above the link_title if they overlap */
}

/* Styles for link_title */
.linkbutton .link_title {
    display: inline; /* Change to inline to allow natural flow of text */
    vertical-align: top; /* Align to top */
    margin-left: 50px; /* Space for link_category, adjust as needed */
    box-sizing: border-box; /* Include padding in the element's total width */
    width: auto; /* Allow it to take the needed space */
    z-index: 1; /* Lower than link_category */
}

/* Initial state for link_description */
.linkbutton .link_description {
    display: none;
    font-size: 12px; /* Smaller font size for description */
    font-style: italic;
    position: relative; /* Adjusted to relative */
}

/* Hover state for linkbutton */
.linkbutton:hover {
    background-color: #e6f0ff;
}

/* Adjustments to hover state only if link_description exists */
.linkbutton:hover .link_description:not(:empty) {
    display: block;
    padding-top: 8px;
    padding-left: 2px;
    padding-right: 2px; /* Prevent text from overflowing to the right */
}

/* Only grow the button if link_description is not empty */
.linkbutton:hover:has(.link_description:not(:empty)) {
    padding-bottom: 50px; /* Increased padding for hover state */
}


/* ----------------------------------------------------------------
		Search results
	-----------------------------------------------------------------*/

/* Styles for the search result boxes with flag and hover effects */
.search-result {
    position: relative;
    background-color: #e7eff5;
    padding: 20px;
    padding-bottom: 10px; /* Reduced padding */
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-size: 14px;
    margin-bottom: 0px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s, color 0.2s; /* Smooth background and color transition on hover */
}

.search-result h4 {
    margin-bottom: 5px; /* Sets bottom margin to 10px */
}

.search-result p {
    margin-bottom: 5px; /* Sets bottom margin to 10px */
}

.search-result:hover {
    transform: translateY(-2px); /* Slight lift effect on hover */
    cursor: pointer;
}

/* Dynamic color classes for public matches */
.public-match[data-has-link="true"] .search-result:hover {
    background-color: #66BB6A; /* Green color for public matches */
}

/* Dynamic color classes for non-public matches */
.non-public-match[data-has-link="true"] .search-result:hover {
    background-color: #c57803; /* Orange color for non-public matches */
}

.search-result:hover, .search-result:hover a {
    color: #ffffff; /* White text and links on hover */
}

/* Flag positioning */
.flag-icon {
    position: absolute;
    top: 10px; /* Adjust based on your preference */
    right: 10px; /* Adjust based on your preference */
    width: 30px; /* Adjust based on your preference */
    height: auto;
}

.result-icon {
    height: 1.5em; /* Adjust this value as needed */
    width: auto; /* Maintain aspect ratio */
    vertical-align: text-bottom; /* Aligns the icon with the middle of the text */
    margin-left: 5px;
}

@media (min-width: 992px) {
    .search-result-container {
        display: flex;
        flex-wrap: wrap;
    }
    .search-result {
        flex: 0 0 32%;
        margin: 1%;
    }
}

/* ----------------------------------------------------------------
		Message block
	-----------------------------------------------------------------*/

/* CSS for message-block warning */
.message-block.warning {
    border: 1px solid #d70000; /* Red border around the text */
    border-radius: 10px; /* Rounded corners */
    font-size: 0.8em; /* Slightly smaller font size */
    background-color: #fce5e5;
    margin-bottom: 1em; /* Space after the block */
    margin-right: 10px;
}

.message-block.warning .warning-header {
    background-color: #ce4a4a; /* Solid red background for the header */
    color: white; /* White text color */
    padding: 0.5em; /* Padding inside the header */
    border-top-left-radius: 10px; /* Rounded top left corner */
    border-top-right-radius: 10px; /* Rounded top right corner */
    display: flex; /* Flex display for aligning icon and text */
    align-items: center; /* Center items vertically */
    gap: 10px; /* Spacing between icon and text */
}

.message-block.warning .warning-header img {
    height: 24px; /* Height for the icon */
    width: 24px; /* Width for the icon */
}

.message-block.warning p {
    padding: 0.5em 1em; /* Padding inside each paragraph */
    margin: 0; /* Remove default margin from paragraphs */
}



/* ----------------------------------------------------------------
	Lazy Loading
	-> copied from canvas template to preserve it after tree-shaking
-----------------------------------------------------------------*/
.lazy {
    opacity: 0;
}
.lazy:not(.initial) {
    transition: opacity 1s;
}
@media (prefers-reduced-motion: reduce) {
    .lazy:not(.initial) {
        transition: none;
    }
}
.lazy.initial, .lazy-loaded, .lazy-error {
    opacity: 1;
}
img.lazy {
    max-width: 100%;
    height: auto;
}
img.lazy:not([src]) {
    visibility: hidden;
}