body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

#menu {
    background: #000;
    position: relative;
    z-index: 9999;
    width: 250px;
    text-align: left;
    font-family: 'franklin-gothic-urw', sans-serif;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: capitalize;
}

#menu a {
    font-size: 13px;
    color: #404040;
    display: block;
    margin: 0;
    padding: 0;
    padding: 10px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    text-align: left;
    background: #e1e1e1;
}

#link {
    color: #e1192c;
}

a {
    color: #e1192c;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Loader Animation */
.loader {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #e1192c;
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#closeButton {
    float: right;
    z-index: 9999;
    position: fixed;
    background-color: white;
    color: #e1192c;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 32px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    top: 10px;
    margin-left: 10px;
}

#closeButton:hover {
    background-color: #e1192c;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#closeButton:focus {
    outline: none;
    background-color: #e0e0e0;
}

.filters-header-container {
    display: flex;
    justify-content: space-between;
    /* Space between the two groups */
    align-items: center;
    /* Center each group vertically */
    margin-bottom: 8px;
    width: 100%;
    /* Ensure it spans the full width of the container */
}

.filters-container {
    display: flex;
    /* Align the filters side by side */
    flex-direction: row;
    gap: 16px;
    /* Space between city-filter and filters */
}

@media (max-width: 1024px) {
    .filters-container {
        gap: 8px;
        margin-right: 30px;
    }
}

.filters-header-container h3 {
    flex: 1;
    /* Allow the headings to align relative to their respective boxes */
    text-align: center;
    /* Center the text over the respective box */
    margin: 0;
    /* Remove any default margin to keep alignment clean */
}

.filters-container>div:nth-child(2) {
    width: 48%;
    /* Match the width of #city-filter */
    display: flex;
    flex-direction: column;
    /* Stack H3 above Filters */
    gap: 8px;
    /* Add space between H3 and #filters */
}

#city-filter {
    width: 48%;
    /* Same width for both child divs */
    background-color: #e1192c;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    max-height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for WebKit Browsers */
#city-filter::-webkit-scrollbar,
#filters::-webkit-scrollbar {
    width: 12px;
    /* Width of the scrollbar */
}

#city-filter::-webkit-scrollbar-track,
#filters::-webkit-scrollbar-track {
    background: #ff8795;
    /* Track color */
    border-radius: 6px;
    /* Rounds the track edges */
}

#city-filter::-webkit-scrollbar-thumb,
#filters::-webkit-scrollbar-thumb {
    background: #ffffff;
    /* Thumb color */
    border-radius: 6px;
    /* Makes the thumb cylindrical */
    border: 2px solid #ff8795;
    /* Adds space around the thumb */
}

#city-filter::-webkit-scrollbar-thumb:hover,
#filters::-webkit-scrollbar-thumb:hover {
    background: #f0f0f0;
    /* Slightly lighter thumb color on hover */
}

#city-filter div {
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#city-filter strong {
    cursor: pointer;
    padding: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#city-filter div:hover,
strong:hover {
    background-color: lightgray;
    color: black;
}

#city-filter div.selected {
    color: #000;
}

#city-filter strong.selected {
    color: #000;
}

#filters {
    width: 48%;
    /* Match the width of #city-filter */
    background-color: #e1192c;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    max-height: 300px;
    overflow-y: auto;
    font-family: "franklin-gothic-urw", sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Style the default checkbox */
#filters input[type="checkbox"] {
    appearance: none;
    /* Remove default browser styles */
    -webkit-appearance: none;
    /* For Safari */
    width: 20px;
    height: 20px;
    border: 1px solid white;
    /* Thin white border */
    border-radius: 4px;
    /* Rounded corners */
    background-color: transparent;
    /* Transparent background for unchecked */
    cursor: pointer;
    position: relative;
    /* Required for the checkmark */
    outline: none;
    /* Remove focus outline */
    transition: all 0.2s ease;
}

/* Style the checked state */
#filters input[type="checkbox"]:checked {
    background-color: transparent;
    /* Keep background transparent */
}

#filters input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    /* Thin white checkmark */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    /* Create the checkmark */
    transition: all 0.2s ease;
}

/* Make each label block-level to ensure single column layout */
#filters label {
    display: block;
    padding: 8px 0;
}

/* Style the child divs (image containers) */
#image-container-first,
#image-container-last {
  display: flex;
  justify-content: space-evenly; /* Distribute images evenly */
  align-items: center; /* Center images vertically */
  gap: 20px; /* Add some spacing between images */
  width: 100%; /* Full width of the parent .box */
  padding: 10px 0; /* Vertical padding */
  overflow: hidden; /* Prevent scrollbars */
}

/* Style the individual images */
#image-container-first img,
#image-container-last img {
  width: calc(30% - 10px); /* Each image takes 30% of the container width */
  aspect-ratio: 1 / 1; /* Ensure a 1:1 aspect ratio */
  object-fit: cover; /* Crop image to fit the square dimensions */
  border-radius: 12px; /* Optional: Rounded corners */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
  cursor: pointer; /* Pointer cursor on hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth scaling and shadow effect */
}

/* Hover effect for images */
#image-container-first img:hover,
#image-container-last img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

/* Adjust for responsive screens */
@media screen and (max-width: 768px) {
  #image-container-first img,
  #image-container-last img {
    width: calc(40% - 10px); /* Images take up more space on smaller screens */
  }
}

.mapboxgl-ctrl-geolocate {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, .9) !important;
    width: auto !important;
    /* Allow width to adjust to content */
    white-space: nowrap !important;
    /* Prevent text from wrapping */
    min-width: 140px !important;
    /* Set a minimum width if needed */
}

.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e1192c'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E");
}

.geolocate-helper-text {
    margin: 0 20px 0 8px !important;
    /* Space between icon and text */
    font-size: 14px !important;
    color: #e1192c !important;
    /* Adjust text color */
    font-weight: bold;
}

.hamburger-button {
    background: none;
    /* Remove background color for the icon */
    border: none;
    /* Remove default button border */
    z-index: 20;
    position: absolute;
    top: 10px;
    /* Position at the top */
    right: 15px;
    /* Position at the right */
    width: 40px;
    /* Set a standard size for the button */
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger-button span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #e1192c;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger-button span::before,
.hamburger-button span::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background-color: #e1192c;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-button span::before {
    top: -8px;
    right: 0;
}

.hamburger-button span::after {
    top: 8px;
    right: 0;
}

/* Optional: Add animation for open/close states */
.hamburger-button.active span {
    background-color: transparent;
}

.hamburger-button.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-button.active span::after {
    transform: rotate(-45deg);
    top: 0;
}

.info-panel {
    position: absolute;
    top: 0;
    right: -32vw;
    width: 32vw;
    height: 100vh;
    background: rgba(255, 255, 255, 1);
    transition: right 0.5s;
    box-shadow: -2px 0 8px rgba(0, 0, 0, .6);
    z-index: 15;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .info-panel {
        right: -100vw;
        width: 100vw;
    }

    .navigation_manage_cookies {
        position: relative;
        left: 150px;
        bottom: 9px;
    }
}

.header-bar {
    height: 250px;
    background-color: #e1192c;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    /* Stack img and p vertically */
    justify-content: center;
    align-items: center;
    padding: 5px;
    overflow: hidden;
}

.static-tom {
    max-height: calc(100% - 125px);
    max-width: calc(100% - 125px);
    object-fit: contain;
}

.dynamic-img {
    height: 60px;
    /* Adjust icon size for SVG */
    width: auto;
    object-fit: contain;
}

.info-panel.open {
    right: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top: 240px;
}

.info-content img {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
}

.infobox-sponsorlogo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    margin: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    font-family: 'franklin-gothic-urw', sans-serif;
    font-weight: bold;
}

.infobox-sponsorlogo img.sponsor-logo {
    margin-left: 10px;
    max-height: 40px;
    width: auto;
}

h1 {
    font-family: 'franklin-gothic-urw', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 36px;
    padding: 0;
    margin: 0;
    text-align: left;
    letter-spacing: .02em;
}

@media (max-width: 425px) {
    h1 {
        font-size: 18px;
        width: 90%;
    }
}


h2 {
    font-family: 'franklin-gothic-urw', sans-serif;
    color: #000;
    font-size: 16px;
    margin-top: 0;
}

h2.infobox-name {
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'franklin-gothic-urw', sans-serif;
    line-height: 1em;
    font-weight: 700;
    text-align: center;
}

h4.infobox-date {
    font-size: 20px;
    margin-bottom: 10px;
    display: inline;
    font-family: 'franklin-gothic-urw', sans-serif;
}

p.infobox-dateline {
    margin: 0;
    display: inline;
    font-family: 'franklin-gothic-urw', sans-serif;
    font-size: 18px;
}

p.infobox-type {
    font-family: 'franklin-gothic-urw', sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

.box {
    position: absolute;
    z-index: 11;
    padding: 16px;
    font-family: 'franklin-gothic-urw', sans-serif;
    color: #000;
    font-weight: 500;
    background: rgba(255, 255, 255, 1);
    right: 0;
    width: 30vw;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 0.7s ease-in-out 0s;
}

@media (max-width: 1024px) {
    .box {
        bottom: 0;
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        padding: 15px;
        width: 100%;
        height: 40%;
        border: 0;
        border-top: 0.5px solid #fff;
        overflow-y: scroll;
    }
}

.menuClosed {
    transform: translateX(100%);
}

@media (max-width: 1024px) {
.menuClosed {
    transform: translateY(100%);
}
}

#logo-menu {
    display: block;
    margin: 4% auto;
    object-fit: contain;
}

.box p {
    text-align: center;
    margin-right: 20px;
}

.title {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    font-family: "franklin-gothic-urw", sans-serif;
    line-height: 3rem;
    color: var(--codgray);
    white-space: normal;
    display: inline;
    position: relative;
    display: flex;
    width: fit-content;
    flex-direction: column;
}

.title span {
    background: var(--white);
    display: inline-block;
}

.wave,
blockquote:not([class])::after,
blockquote:not([class])::before {
    --mask: radial-gradient(10.46px at 50% calc(94% + 5.6px), transparent calc(99% - 3px), #000 calc(101% - 3px) 99%, transparent 101%) calc(50% - 14px) calc(50% - 4.4px) / 28px 10px, radial-gradient(10.46px at 50% -5.6px, transparent calc(99% - 3px), #000 calc(103% - 3px) 99%, transparent 101%) 50% calc(50% + 5px) / 28px 10px;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    height: 10px;
    padding: 0;
    margin: 0 0 1rem;
}

.wave {
    background: #e1192c;
    padding: 0;
    margin: 0 0 1rem;
}

.mapboxgl-popup-content {
    background-color: rgba(0, 0, 0, 0.9) !important;
    color: #e1192c !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    font-family: 'franklin-gothic-urw', sans-serif !important;
}

.mapboxgl-popup-tip {
    border-top-color: rgba(0, 0, 0, 0.9) !important;
}

label img {
    height: 24px;
    width: 24px;
    margin-right: 10px;
}

.sp-message-open body {
    height: 100%;
}