p.event-label {
    padding: 0.3rem 1rem;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--base-2);
    /* border-radius: 8px; */
    font-size: 0.9rem;
}

a.event {
    color: var(--wp--preset--color--base-2);
}

a.event:hover {
    text-decoration: none;
}

.event-cat {
    font-size: 0.8rem;
}

.event-cat:not(:first-child)::before {
    content: " | ";
    margin: 0 5px;
    color: #555;
  }

/*
* Make the text lower case
*/
.day-name{
    text-transform: lowercase;
}

/** 
* Make it a circular badge with a number inside. Align Center
*/
.day_summary{
    width: 1.5rem;
    border-radius: 100%;
    background-color: #ffb900;
    color: var(--wp--preset--color--black);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem !important;
}

/*
* Mobile view calendar
*/

@media (max-width: 600px) {
    .day_summary {
        width: 21px;
        font-size: 11px !important;
    }
    .day_number {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 400px) {
    .day_summary {
        width: 16px;
        font-size: 10px !important;
    }
}

/*
* A11y icon behind name
*/
h3.event-name {
    display: inline;
    padding-right: 8px;
}

.access-icon-in-title {
    width: 24px;
    object-fit: cover;
    margin-block-start: 0;
    vertical-align: sub;
    padding-right: 8px;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 600px) {
    .access-icon-in-title {
        width: 22px;
    }
}

@media (min-width: 1921px) {
    .access-icon-in-title {
        width: 2rem;
    }
}

/*
* PDF Export
*/

html:not([lang="auto"],[lang="sk-SK"]) li[data-value="3"] {
    display: none;
}

/*
* Map styles
*/

#mpod_ttac_podujatie_map_container {
    height: 500px;
    width: 100%;
    margin-block-start: 1.2rem
}

.mpod-ttac-map-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    overflow: visible;
    border-radius: 3px;
    padding-right: 10px;   
}

#mpod-ttac-features {
    bottom: 25px;
    height: auto;
    max-height: calc(100% - 40px);
    margin-top: 20px;
    width: auto;
    padding: 5px 10px 5px 10px;
    overflow: visible; 
}

.podujatie-legend {
    font-size: 15px;
    align-items: center;
    display: flex;
    padding-bottom: 0px;
}

.link-no-underline {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--bkis);
    text-decoration: none !important;
    font-weight: 400;
    font-size: larger;
}

#mpod_ttac_podujatie_map_container .mapboxgl-popup-content {
    padding: 20px 10px 15px;
}

.event-popup .event-name {
    font-size: 1rem;
}

.event-popup .font-variation {
    font-size: 1rem;
}

.event-popup .access-icon-in-title {
    width: 20px;
}

.tt-legend-icon {
    height: 15px;
    width: auto; 
}

/* Ensure map popup appears above other elements */
.mpod-ttac-map-popup {
    z-index: 10;
}
