﻿
/*#region TEMPLATE */
@media (max-width: 768px) {
}
/*#endregion */


/*#region VARIABLEN */
:root {
    --body-background-color: #f2f2f2;
    --body-background-color-dark: #e2e2e2;
    --content-max-width: 1200px;
    --event-color: #366090;
    --accent-color: #666666;
    --link-color: #157CC8;
    --link-hover-brightness: 1.2;
    --font: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    --font-headings: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    --font-size: 18px;
    --text-color: #333333;
    --line-height: 1.4;
    --table-border-color: #f0f0f0;
}
/*#endregion */


/*#region CSS RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
    margin: 0;
}

html {
    font-size: var(--font-size);
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    font-family: var(--font);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--body-background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-color);
}

h1 {
    font-size: calc(var(--font-size) * 2.5);
}

h2 {
    font-size: calc(var(--font-size) * 2);
}

h3 {
    font-size: calc(var(--font-size) * 1.75);
}

h4 {
    font-size: calc(var(--font-size) * 1.5);
}

h5 {
    font-size: calc(var(--font-size) * 1.25);
}

h6 {
    font-size: var(--font-size);
}


ul, ol {
    list-style: none;
}


input, button, textarea, select {
    font: inherit;
    -webkit-text-fill-color: var(--text-color);
    -webkit-tap-highlight-color: transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    cursor: pointer;
    transition: filter 0.2s ease;
}

    a:hover {
        filter: brightness(var(--link-hover-brightness));
    }

/*#endregion */


/*#region DEFAULT-STYLES HTML-TAGS */


body {
    background-color: #F2F2F2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 900'%3E%3Cpath fill='%23F2F2F2' d='M0 -163 0 899 1600 899 1600 120z'/%3E%3Cpath fill='%23F2F2F2' d='M1600 -100 1600 899 0 899 0 165z'/%3E%3Cpath fill='%23F2F2F2' d='M0 13 0 899 1600 899 1600 300z'/%3E%3Cpath fill='%23F2F2F2' d='M1600 52 1600 899 0 899 0 353z'/%3E%3Cpath fill='%23E2E2E2' d='M0 121 0 899 1600 899 1600 625z'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    /*                background-color: #F2F2F2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3000 1800'%3E%3Cdefs%3E%3Cpath id='a' fill='%23E2E2E2' fill-opacity='0.58' d='M4002.8.3C3620.4 14 3647 280.9 3371.4 340.6s-433.8-225-723.3-111.8-339.6 465.3-489.3 557.8c-149.7 92.5-562.5-20.8-728.1 120.4s-111.8 539.2-238.8 700.2-555.5 132.2-679.3 353.4c-123.9 221.2 108.6 547.6 38.2 762.1S48 3037.7 10.9 3286.3s307.8 453.1 316.8 713.7S-60.6 4385.1 8 4698.2s414.7 262.9 537.9 565.7c123.2 302.8-228 480.4-36 771s456.2 107.4 673 347 18.8 538 247.8 711.1c229 173.1 443.6-30.5 728.1 120.4s143.1 452.9 483 555.6 409.8-153.1 715.8-112c306 41.1 329.7 354.2 645.2 342.7s302.7-293.2 631.4-340.3c328.7-47.1 496 198.7 723.3 111.8s343.6-468.3 477.1-550.7c133.6-82.5 566.4 21.2 735.6-123.8 169.2-145 110.8-536.1 243.5-704 132.6-167.8 557.7-136.8 679.3-353.4s-99.6-579.6-38.2-762.1c61.4-182.5 507.3-353.9 539.9-563.6 32.6-209.7-311.2-506.8-316.8-713.7-5.7-206.8 358.7-509.6 319-701.6-39.7-192-470.7-390.9-537.3-562.3-66.6-171.4 163.6-571.8 36-771-127.6-199.2-504.6-179.3-661-345.2s-7-522.6-259.8-712.8-519-4.7-740.2-127.3-197.7-463.1-470.8-548.7-534.7 88.1-719.4 55S4290-10 4002.8.3z' /%3E%3C/defs%3E%3Cg transform='translate(0 540)' %3E%3Cg transform='translate(-2500 200) scale(1 .4)' stroke='%23E2E2E2' stroke-width='0'%3E%3Cg%3E%3Cuse href='%23a' y='-100'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='52s' begin='-17s' values='0 4000 4000%3B360 4000 4000' %3E%3C/animateTransform%3E%3C/use%3E%3Cuse href='%23a' x='-100' y='150'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' begin='-5s' dur='48.3s' values='0 4000 4000%3B360 4000 4000' %3E%3C/animateTransform%3E%3C/use%3E%3Cuse href='%23a' x='50' y='100'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='44.7s' values='0 4000 4000%3B360 4000 4000' %3E%3C/animateTransform%3E%3C/use%3E%3Cuse href='%23a' x='100'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' begin='-14s' dur='40.9s' values='0 4000 4000%3B360 4000 4000' %3E%3C/animateTransform%3E%3C/use%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='50s' values='360 4000 4000%3B0 4000 4000'%3E%3C/animateTransform%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;*/
}

    body:not(.reg2) input:not([type="checkbox"]):not([type="radio"]), body:not(.reg2) select {
        width: 100%;
        background: var(--body-background-color);
        border: 2px solid var(--body-background-color-dark);
        height: 45px;
        padding: 0 15px;
        border-radius: 0;
        -webkit-border-radius: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        transition: background-color 0.1s ease;
    }

        body:not(.reg2) input:not([type="checkbox"]):not([type="radio"]):hover, body:not(.reg2) select:hover {
            background: #fafafa;
        }

        body:not(.reg2) input:not([type="checkbox"]):not([type="radio"]):focus, body:not(.reg2) select:focus {
            background: var(--body-background-color);
        }

    body:not(.reg2) select {
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px;
        padding-right: 40px;
    }

        body:not(.reg2) select:hover, body:not(.reg2) select:focus {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 16px;
        }

        body:not(.reg2) input:focus, body:not(.reg2) select:focus {
            border-color: var(--text-color) !important;
            outline: none !important;
        }

fieldset {
    padding: 10px;
}


/*#endregion */


/*#region DEFAULT-CLASSES */
.highlight {
    background-color: #ffff99;
}

.stategreen {
    background-color: #e8efdc;
    border-left: 5px solid #789546;
}

.stateyellow {
    background-color: #fff5cc;
    border-left: 5px solid #ffcc00
}

.defaulttable table {
    border-collapse: collapse;
}

.defaulttable td {
    border-bottom: 1px solid lightgray;
    padding: 2px 5px 2px 5px;
    vertical-align: top;
}

.defaulttable th {
    border-bottom: 1px solid lightgray;
    padding: 2px 5px 2px 5px;
    vertical-align: top;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.defaulttable tr:hover {
    background-color: lightgray;
    cursor: default;
}

.defaulttable tr:last-child td {
    border-bottom: 1px solid transparent;
}

.divcenter {
    margin: 0 auto 0 auto;
}

.nowrap {
    white-space: nowrap;
}

.halignleft {
    text-align: left;
}

.halignright {
    text-align: right;
}

.haligncenter {
    text-align: center;
}

.valignmiddle {
    vertical-align: middle;
}

.valigntop {
    vertical-align: top;
}

.icon-hover {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

    .icon-hover:hover {
        opacity: 1;
    }

.card-1 {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.card-2 {
    border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card-3 {
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card-4 {
    border-radius: 2px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-5 {
    border-radius: 2px;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

/*#endregion */


/*#region WRAPPERS */

#loadingtime {
    color: white;
    font-size: 10px;
}

.page-container {
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

.header-wrapper-trackmaxx, .header-wrapper-event, .main-wrapper, .footer-wrapper {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

.main-wrapper {
    background-color: white;
    padding: 20px 20px 100px 20px;
    flex: 1;
}

body.map .main-wrapper {
    padding-bottom: 20px;
}

.footer-wrapper {
    background-color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.footer-tmlogo {
    height: 30px;
}

.footer-agb, .footer-datenschutz {
    position: relative;
    top: 1px;
    color: white;
    margin-left: 20px;
}

.header-trackmaxx {
    padding: 0px 5px 0px 5px;
    display: flex;
    width: 100%;
    background-color: var(--body-background-color);
}

.header-trackmaxx-left {
    flex: 1;
}

.header-trackmaxx-logo {
    height: 35px;
    width: auto;
    position: relative;
    top: 10px;
}

.header-trackmaxx-user {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 0px 20px 0px 10px;
    text-decoration: none;
}

.header-trackmaxx-user-icon {
    height: 24px;
    width: auto;
    opacity: 0.8;
    position: relative;
    top: -12px;
}

.header-trackmaxx-user-avatar {
    width: 30px;
    height: 30px;
    background-color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.0rem;
    position: relative;
    top: -18px;
    text-decoration: none;
}

.header-trackmaxx-menu {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header-trackmaxx-menu-icon {
    height: 50px;
    width: auto;
}

.header-event {
    background-color: var(--event-color);
    padding: 5px 20px;
    box-shadow: 0 5px 5px -2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

    .header-event h1 {
        font-size: clamp(20px, 5vw, 50px);
        color: white;
        text-transform: uppercase;
        font-weight: normal;
    }

.header-event-caption {
    flex: 1;
}

.header-event-meteoinfo {
    flex: 0;
}

.header-wrapper-event {
    background-color: var(--body-background-color);
    margin-top: -1px;
    position: sticky;
    top: 0;
    z-index: 1;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

    .header-wrapper-event.hidden {
        transform: translateY(-100%);
    }

    .header-wrapper-event.visible {
        transform: translateY(0);
    }



@media (max-width: 768px) {
    .main-wrapper {
        padding: 10px 10px 100px 10px;
    }

    .footer-wrapper {
        display: none;
    }

    .header-trackmaxx {
        padding: 0px 3px 0px 3px;
    }

    .header-trackmaxx-logo {
        height: 20px;
        width: auto;
        position: relative;
        top: 10px;
    }

    .header-trackmaxx-menu-icon {
        height: 36px;
    }

    .header-trackmaxx-user-icon {
        height: 18px;
        top: -10px;
    }

    .header-trackmaxx-user-avatar {
        width: 24px;
        height: 24px;
        top: -14px;
        font-size: 0.9rem;
    }

    .header-event {
        padding: 5px 10px;
    }
}



/*#endregion */


/*#region NAVIGATION */


/*DEFAULT-NAV */
nav.default-nav {
    display: inline-block;
    vertical-align: top;
}

    nav.default-nav ul {
        list-style: none;
        display: flex;
        justify-content: space-around;
    }

    nav.default-nav li {
        position: relative;
        text-align: center;
        margin-right: 20px;
    }

    nav.default-nav a {
        color: var(--text-color);
        font-size: 1.1rem;
        text-decoration: none;
        display: block;
        padding: 0px 5px 5px 5px;
    }

    nav.default-nav li.selected::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--text-color);
    }

    nav.default-nav li::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background-color: var(--text-color);
        transition: width 0.3s ease;
    }

    nav.default-nav li:hover::after {
        width: 100%;
    }

    nav.default-nav li.selected::after {
        width: 100%;
    }

/*MOBILE-NAV*/
nav.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--body-background-color);
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

    nav.mobile-nav ul {
        list-style: none;
        display: flex;
        justify-content: space-around;
    }

    nav.mobile-nav li {
        text-align: center;
        padding: 5px 0px calc(5px + env(safe-area-inset-bottom)) 0px;
        flex: 1;
    }

    nav.mobile-nav a {
        text-decoration: none;
        color: #000;
        font-size: 12px;
    }

    nav.mobile-nav img {
        display: block;
        margin: 0 auto;
        width: 24px;
        height: 24px;
    }

    nav.mobile-nav span {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        color: #555;
    }

    nav.mobile-nav li.selected {
        background-color: #e2e2e2;
    }

    nav.mobile-nav img {
        filter: opacity(60%);
    }


nav.desktop-nav {
    margin: 15px 0px 5px 20px;
}

nav.lang-nav ul {
    margin-top: 12px;
}

nav.lang-nav a {
    font-size: 1rem;
}

@media (max-width: 768px) {
    nav.desktop-nav {
        display: none;
    }

    nav.mobile-nav {
        display: block;
    }

    nav.lang-nav ul {
        margin-top: 9px;
    }

    nav.lang-nav li {
        margin-right: 5px;
    }

    nav.lang-nav a {
        font-size: 0.8rem;
        padding: 0px 3px 2px 3px;
    }

    nav.lang-nav li.selected::after {
        height: 2px;
    }
}

/*#endregion */


/*#region TM-OVERLAY-MENU */


/* Overlay Menu */
.overlay-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cccccc;
    opacity: 0.97;
    color: white;
    z-index: 1000;
    overflow-y: auto;
    text-align: center;
    padding-top: 50px;
}

    .overlay-menu ul {
        list-style-type: none;
        padding: 0;
    }

        .overlay-menu ul li {
            margin-bottom: 20px;
        }

            .overlay-menu ul li a {
                color: var(--text-color);
                font-size: 4rem;
                text-decoration: none;
                text-transform: uppercase;
                position: relative;
                padding: 0px 20px 0px 20px;
            }


    .overlay-menu hr {
        width: 80%;
        max-width: 800px;
        margin: 20px auto;
        border: 0.5px solid #444;
    }


    .overlay-menu.active {
        display: block;
    }

    .overlay-menu ul li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 7px;
        background-color: var(--text-color);
        transition: width 0.3s ease;
    }

    .overlay-menu ul li a:hover::after {
        width: 100%;
    }

    .overlay-menu ul.sub-menu li {
        display: inline-block;
        margin-right: 15px;
    }

        .overlay-menu ul.sub-menu li a {
            font-size: 1.5rem;
            padding: 0px 5px 0px 5px;
            text-transform: none;
        }

            .overlay-menu ul.sub-menu li a::after {
                height: 3px;
                bottom: -5px;
            }

@media (max-width: 768px) {
    .overlay-menu ul li {
        margin-bottom: 5px;
    }

    .overlay-menu ul.sub-menu li {
        display: block;
        margin-right: 0;
    }

    .overlay-menu ul li a {
        font-size: 3rem;
    }

    .overlay-menu ul.sub-menu li a {
        font-size: 1.2rem;
    }
}


/*#endregion */


/*#region SCROLL TO TOP */
.scroll-top-button {
    position: fixed;
    bottom: 80px;
    right: max(20px, calc((100% - 1200px) / 2 + 20px));
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 9999;
}

    .scroll-top-button.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top-button:hover {
        background-color: rgba(0, 0, 0, 0.7);
        transform: translateY(-3px);
    }
/*#endregion */


/*#region SEARCH */

.search-panel {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.5rem;
}

.search-input {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    max-width: 300px;
}

    .search-input label {
        font-size: 0.9rem;
    }

.search-in {
    display: block;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #666;
    padding-bottom: 12px;
    font-size: 0.9rem;
    width: 20px;
}

.search-filter-icon {
    height: 24px;
    width: auto;
}

.search-label-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input .search-icon {
    margin-left: auto;
    width: 1.2rem;
    height: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .search-panel {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .search-input {
        width: 100%;
        max-width: none;
    }

    .search-in {
        display: none;
    }
}
/*#endregion */


/*#region HOME/EVENTS */


body.home #divcurrentevents, #divallevents {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    justify-content: start;
}

body.home .tmxx-event-title {
    margin: 0 0 20px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--body-background-color-dark);
}

body.home .tmxx-event-divider {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    margin: 30px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e8f0;
}

body.home .tmxx-event {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 500px;
    transition: box-shadow 0.3s ease;
}

    body.home .tmxx-event:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

body.home .tmxx-event-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: saturate(1.1) brightness(1.02) contrast(0.95);
}

body.home .tmxx-event-info {
    padding: 10px 5px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: -30px;
    background: white;
}

body.home .tmxx-event-name {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

body.home .tmxx-event-icons {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

body.home .tmxx-event-icon {
    height: auto;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

    body.home .tmxx-event-icon:hover {
        opacity: 1;
        transform: scale(1.1);
    }

body.home .tmxx-event-city {
    margin-right: 5px;
}

body.home .tmxx-event-links {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 0px 10px;
}

body.home .tmxx-event-image-vert0 {
    object-position: 50% 0%
}

body.home .tmxx-event-image-vert5 {
    object-position: 50% 5%
}

body.home .tmxx-event-image-vert10 {
    object-position: 50% 10%
}

body.home .tmxx-event-image-vert15 {
    object-position: 50% 15%
}

body.home .tmxx-event-image-vert20 {
    object-position: 50% 20%
}

body.home .tmxx-event-image-vert25 {
    object-position: 50% 25%
}

body.home .tmxx-event-image-vert30 {
    object-position: 50% 30%
}

body.home .tmxx-event-image-vert35 {
    object-position: 50% 35%
}

body.home .tmxx-event-image-vert40 {
    object-position: 50% 40%
}

body.home .tmxx-event-image-vert45 {
    object-position: 50% 45%
}

body.home .tmxx-event-image-vert50 {
    object-position: 50% 50%
}

body.home .tmxx-event-image-vert55 {
    object-position: 50% 55%
}

body.home .tmxx-event-image-vert60 {
    object-position: 50% 60%
}

body.home .tmxx-event-image-vert65 {
    object-position: 50% 65%
}

body.home .tmxx-event-image-vert70 {
    object-position: 50% 70%
}

body.home .tmxx-event-image-vert75 {
    object-position: 50% 75%
}

body.home .tmxx-event-image-vert80 {
    object-position: 50% 80%
}

body.home .tmxx-event-image-vert85 {
    object-position: 50% 85%
}

body.home .tmxx-event-image-vert90 {
    object-position: 50% 90%
}

body.home .tmxx-event-image-vert95 {
    object-position: 50% 95%
}

body.home .tmxx-event-image-vert100 {
    object-position: 50% 100%
}

@media (max-width: 768px) {
    body.home #divcurrentevents, #divallevents {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    body.home .tmxx-event-image {
        height: 140px;
    }

    body.home .tmxx-event-icons {
        gap: 0px;
    }

    body.home .tmxx-event-info {
        padding: 10px 0px 10px 5px;
    }
}


/*#endregion */


/*#region START-/RANGLISTE-OVERVIEW */

body.list .searchandfilter-panel {
    margin-bottom: 20px;
}

body.list.overview #infotext {
    margin-bottom: 20px;
}

body.list.overview #overview table,
body.list.overview #overview tbody,
body.list.overview #overview tr,
body.list.overview #overview td {
    display: block;
    width: 100%;
}

body.list.overview #overview table {
    max-width: 500px;
}

body.list.overview #overview .group {
    position: relative;
    margin-bottom: 0px;
    border-bottom: 1px solid var(--table-border-color);
}

body.list.overview #overview .grouptitel {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    border-bottom: 2px solid var(--table-border-color);
}

body.list.overview #overview .listcontainer {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    grid-template-areas:
        "link helptext pdf"
        "winners winners winners";
    align-items: center;
    gap: 0px;
    padding: 4px 0px;
    transition: background-color 0.3s ease;
}

    body.list.overview #overview .listcontainer:hover {
        background-color: var(--body-background-color-dark);
    }

body.list.overview #overview .listlink {
    color: var(--link-color);
    white-space: nowrap;
    grid-area: link;
}

body.list.overview #overview .listheadline {
    font-weight: bold;
    font-size: 1rem;
}

body.list.overview #overview .listhelptext {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    grid-area: helptext;
}

body.list.overview #overview a[title="PDF"] {
    grid-area: pdf;
    justify-self: end;
}

body.list.overview #overview .overview-pdf-icon {
    width: 24px;
    height: 24px;
}

body.list.overview #overview .listwinners {
    display: block;
    font-size: 0.8rem;
    grid-area: winners;
}

body.list.overview #gotolinks {
    margin-top: 20px;
}

body.list.overview .gotolink {
    font-size: 0.8rem;
    margin-right: 2px;
    white-space: nowrap;
    cursor: pointer;
}

body.list.overview .gototitle {
    font-size: 0.8rem;
    margin-right: 4px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body.list.overview #overview .listwinners {
        display: none;
    }
}


/*#endregion */


/*#region START/RANGLISTEN */

body.list .favinfo-icon {
    position: relative;
    top: 6px;
}

body.list a.linkgeoview.selectedlink {
    font-weight: bold;
    font-size: 1.2rem;
}

body.list .listheadline {
    font-size: 0.9rem;
}

body.list tr#autoupdate th {
    text-align: right;
    border-bottom: none !important;
}

body.list #autoupdate-container {
    display: flex;
    align-items: flex-end;
    vertical-align: bottom;
}

body.list .autoupdate-icon {
    height: 0.3rem;
    width: auto;
    flex: 0;
    margin-bottom: 1px;
}

body.list .autoupdate-text {
    flex: 1;
    margin-left: 5px;
    font-weight: normal;
    opacity: 0.6;
    font-size: 0.7rem;
}

body.list #filterrow {
    margin-top: 10px;
}

body.list a.filterrow2 {
    font-size: 0.8rem;
    margin-left: 0px;
}

body.list .list-title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.list .list-title {
    font-size: 1.2rem;
}

body.list .list-title-pdf-link {
    display: inline-flex;
    text-decoration: none;
}

body.list .list-title-pdf-icon {
    width: 1.2rem;
    height: 1.2rem;
}

body.list .table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

body.list #theadresults th {
    padding: 2px 2px;
    border-bottom: 2px solid var(--table-border-color);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: bold;
}

body.list #tbodyresults tr {
    border-bottom: 1px solid var(--table-border-color);
    transition: background-color 0.3s ease;
}

    body.list #tbodyresults tr:hover {
        background-color: var(--body-background-color-dark);
    }

body.list #tbodyresults td {
    padding: 2px 4px;
    font-size: 1rem;
    vertical-align: top;
}

body.map #map {
    flex: 1;
    min-height: 200px;
    width: 100%;
    height: calc(100vh - 290px);
}

body.list .linkdetail {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
}

    body.list .linkdetail:hover {
        filter: brightness(var(--link-hover-brightness));
    }

body.list .colfav {
    width: 30px;
    text-align: center;
}

body.list .imgfav {
    width: 24px;
    height: 24px;
    position: relative;
    top: 3px;
}

body.list #tmipercent {
    background-color: var(--event-color);
    color: white;
    padding: 2px 4px 2px 4px;
    border-radius: 4px;
}

body.list #tmirank {
    font-size: 1rem;
}

body.list #tmidetailslink {
    font-size: 0.8rem;
}

body.list .tmiitsme {
    font-weight: bold;
}

body.list .tmihelptext {
    font-size: 0.8rem;
    padding-bottom: 10px;
}

body.list .tmitotalcount {
    font-size: 0.8rem;
    padding-top: 10px;
}

body.list #tmiresultlist td {
    padding-right: 10px;
}

body.list #tmiresultlist th {
    padding-right: 10px;
}

body.list.entrylist #smsprefix,
body.list.entrylist #smsnumber {
    font-size: 1rem;
    background-color: white;
    width: 200px;
}


@media (max-width: 768px) {
    body.list #tbodyresults td, body.list .linkdetail, body.list .listfooter, body.list #pagerdiv, body.list #searchtext {
        font-size: 0.9rem;
    }

    body.list .listheadline {
        font-size: 0.8rem;
    }

    body.list .list-title-container {
        display: none;
    }

    body.map #map {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        width: 100%;
        height: calc(100% - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 135px);
    }
}

/*#endregion */


/*#region RESULTS LEGACY */

body.list .daytime {
    font-size: 12px;
}

/*results*/
body.list #results .col0 {
    display: none;
}



body.list #results .grouptitel {
    font-weight: bold;
    padding-top: 20px;
}

body.list #results .grouprow {
    font-weight: bold;
    padding-top: 10px;
}


body.list #results [class^="racenumber"], [class^="yearofbirth"], [class^="rank"], [class^="runtime"], [class^="speedpace"] {
    text-align: right;
}

body.list #results [class^="runtime"] {
    font-weight: bold;
}


/*MOBILE-VIEW-------------------------------------------------------------*/

body.list #results td[class$="-m"], th[class$="-m"] {
    display: none;
}

body.list #results td[class$="-l"], th[class$="-l"] {
    display: none;
}

body.list .showmobile {
    display: table-cell;
}

body.list .showfull {
    display: none;
}

body.list table#results {
    width: unset;
}

@media (max-width: 768px) {
    body.list table#results {
        width: 100%;
    }
}

@media all and (min-width: 500px) {


    body.list #results td[class$="-m"], body.list th[class$="-m"] {
        display: table-cell;
    }
}

@media all and (min-width: 600px) {
    body.list .showmobile {
        display: none;
    }

    body.list .showfull {
        display: table-cell;
    }
}

@media all and (min-width: 900px) {
    body.list #results td[class$="-l"], body.list th[class$="-l"] {
        display: table-cell;
    }
}

/*#endregion */


/*#region OL */
body.list .tableol td {
    border-bottom: 1px solid #999999;
    vertical-align: bottom;
}

body.list .tableol th {
    vertical-align: bottom;
}


body.list .tableol tr:nth-child(1) th {
    border-bottom: none;
}

body.list .tableol tr:nth-child(2) th {
    border-bottom: 1px solid #999999 !important;
}

body.list .borderleft {
    border-left: 1px solid #999999;
}

body.list .oldist {
    background-image: url('/images/ol/east.svg');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position-y: 2px;
    padding-left: 16px;
    min-width: 50px;
    display: inline-block;
}

body.list .olelev {
    background-image: url('/images/ol/north.svg');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position-y: 2px;
    padding-left: 16px;
    min-width: 40px;
    display: inline-block;
}

body.list .olpost {
    background-image: url('/images/ol/hashtag.svg');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position-y: 2px;
    padding-left: 16px;
    min-width: 20px;
    display: inline-block;
}

body.list #results td.tmselect {
    padding: 0px;
}

body.list #results input.tmselect {
    border: 0px;
    height: 18px;
    width: 18px;
    position: relative;
    top: 5px;
    left: 4px;
}

body.list #chartsplits2 {
    border-top: 1px solid lightgrey;
}

body.list .tmselecticon {
    height: 18px;
    width: 18px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

body.list #chartsplits {
    position: relative;
    top: -30px;
    padding-bottom: 0px;
}

body.list div.chartsplitsize {
    width: 100%;
    text-align: right;
}

body.list span.chartsplitssize {
    font-size: 14px;
    cursor: pointer;
    color: #157CC8;
    text-decoration: underline;
    text-align: right;
}

body.list .chartspliticon {
    cursor: pointer;
    height: 24px;
    margin-left: 10px;
    position: relative;
    top: 6px;
}
/*#endregion */


/*#region POPUP */

/*popup*/
#popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: var(--body-background-color-dark);
    border: 1px solid lightgray;
    display: none;
    overflow: auto;
}

#popup2 {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: var(--body-background-color-dark);
    border: 1px solid lightgray;
    display: none;
    overflow: auto;
}

    #popup2 h2 {
        font-size: 1.1rem;
        font-weight: bold;
    }

.popupheader {
    width: 100%;
    background-color: var(--event-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
}

.popupheader-caption-container {
    flex: 1;
    gap: 0.5rem;
}

.popupheader-caption {
    font-size: 1.5rem;
}

.popupheader-search-icon {
    height: 1.5rem;
    width: auto;
    cursor: pointer;
    position: relative;
    top: 5px;
    left: 10px;
}

.popupheader-close-icon {
    height: 1.2rem;
    width: auto;
    flex: 0;
    cursor: pointer;
}


#popupdata {
    padding: 10px;
}

/*popup-size*/
@media all and (max-width: 768px) {
    .popupheader {
        padding: 5px 10px;
    }

    .popupheader-caption {
        font-size: 1.2rem;
    }
}

@media all and (min-width: 500px) {
    #popup {
        width: 500px;
        left: 50%;
        margin-left: -250px;
    }
}

@media all and (min-height: 850px) {
    #popup {
        height: 850px;
        top: 50%;
        margin-top: -425px;
    }
}

/*popup2-size*/
@media all and (min-width: 800px) {
    #popup2 {
        max-width: 800px;
        left: 50%;
        margin-left: -400px;
    }
}

@media all and (min-height: 950px) {
    #popup2 {
        height: 950px;
        top: 50%;
        margin-top: -475px;
    }
}



/*responsive-columns*/
.responsive2columns {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
}

.avoidcolumn {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

@media screen and (min-width: 660px) {
    .responsive2columns {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
    }
}



/*#endregion */


/*#region POPUP-MODAL */
#popupmodal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}

#popupmodalcontainer {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 100%;
    max-height: 100%;
}

#popupmodalclose {
    color: #aaa;
    float: right;
    font-size: 50px;
    font-weight: bold;
    position: relative;
    top: -20px;
}

    #popupmodalclose:hover,
    #popupmodalclose:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/*#endregion */


/*#region METEO */
#meteoinfotext {
    text-align: right;
    float: right;
    cursor: pointer;
    line-height: 1.0;
    color: white;
    font-size: 0.8rem;
}

    #meteoinfotext span {
        white-space: nowrap;
    }

.meteoicon {
    height: 30px;
}

.meteoicon2 {
    height: 50px;
}

.meteowinddirection {
    height: 16px;
    margin-left: 10px;
    position: absolute;
    top: 2px;
}

.meteodatasource {
    float: right;
    font-size: 12px;
    text-align: right;
}

.meteobluelogo {
    height: 13px;
}

/*METEOINFO-TOOLTIP*/
#meteoinfo #meteoinfotooltip {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    top: 0px;
    right: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: default;
}

    #meteoinfo #meteoinfotooltip td {
        text-align: left;
        padding: 2px 5px 2px 2px;
        white-space: nowrap;
    }

#meteoinfo:hover #meteoinfotooltip {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    #meteoinfo {
        display: none;
    }
}
/*#endregion */


/*#region ICONS */

.pager-icon {
    background-color: var(--link-color);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
}

    .pager-icon.disabled {
        opacity: 0.2;
    }

    .pager-icon.forward {
        -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="m18.75 36-2.15-2.15 9.9-9.9-9.9-9.9 2.15-2.15L30.8 23.95Z"/></svg>');
        mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="m18.75 36-2.15-2.15 9.9-9.9-9.9-9.9 2.15-2.15L30.8 23.95Z"/></svg>');
    }

    .pager-icon.backward {
        -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M28.05 36 16 23.95 28.05 11.9l2.15 2.15-9.9 9.9 9.9 9.9Z"/></svg>');
        mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M28.05 36 16 23.95 28.05 11.9l2.15 2.15-9.9 9.9 9.9 9.9Z"/></svg>');
    }

    .pager-icon.first {
        -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M12 36V12h3v24Zm22.35-.15-11.7-11.7 11.7-11.7 2.15 2.15-9.55 9.55 9.55 9.55Z"/></svg>');
        mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M12 36V12h3v24Zm22.35-.15-11.7-11.7 11.7-11.7 2.15 2.15-9.55 9.55 9.55 9.55Z"/></svg>');
    }

    .pager-icon.last {
        -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="m13.6 35.75-2.15-2.15 9.6-9.6-9.6-9.6 2.15-2.15L25.35 24ZM33 36V12h3v24Z"/></svg>');
        mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="m13.6 35.75-2.15-2.15 9.6-9.6-9.6-9.6 2.15-2.15L25.35 24ZM33 36V12h3v24Z"/></svg>');
    }


/*#endregion */


/*#region REGISTRATION-LEGACY */

body.reg2 input[type=radio],
body.reg2 input[type=checkbox] {
    margin: 3px 3px 3px 4px;
}

body.reg2 .progress-indicator a:hover {
    filter: none;
}
/*#endregion */
