/*Vars*/
:root {
    --default-gap: 30px;
}


header {
    padding: 14px 0;
}
header .uk-icon {
    fill: #000;
}
.uk-navbar-nav > li > a {
    color: #000;
    text-transform: none;
    font-size: 1rem;
}

.uk-section-secondary p {
    color: #fff;
}

.home-heading span {
    background: #000;
    color: #fffa00;
    font-size: 5rem;
    line-height: 1.4;
    padding: 0 1rem;
    font-weight: bolder;
}

.ts-home-section {
    background-image: url(/images/icons/rsc_fond_berge.svg);
    background-repeat: no-repeat;
    background-size: 102%;
    background-position-x: center;
    background-position-y: 101%;
}
.ts-home-section video {
    width: 100%;
}
.ts-primary-background {
    background: #fffa00 !important;
}
.ts-secondary-background {
    background: #000 !important;
}
.ts-secondary-background * {
    color: #fff;
}
.ts-extended-column {
    grid-column: span 2;
}

/*Header*/
.uk-navbar-dropdown {
    width: auto;
}
.uk-navbar-right {
    align-items: center;
}
.uk-navbar-right .navbar-right-logo img {
    max-width: 70px;
    height: auto;
}
#module-tm-3 > ul {
    gap: 0 5px;
}

/*Footer*/
footer .uk-container > .uk-grid > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
footer .uk-container > .uk-grid > div > div {
    margin: 0;
}
footer .uk-container > .uk-grid > div > div .uk-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}
footer .uk-container > .uk-grid > div > div .uk-nav li a{
    font-size: 1rem;
}
.footer-anmeldung {
    text-align: center;
}
.footer-anmeldung h2 {
    color: #fffa00 !important;
    margin-bottom: 5rem;
}
.footer-anmeldung .footer-anmeldung-button {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000 !important;
    background: #fffa00;
    padding: 20px 50px;
}

/*Home*/
.ts-home-hero {
    position: relative;
}
.ts-home-hero:after {
    content: '';
    position: absolute;
    background: url('/images/icons/rsc_berge.png');
    background-size: 100%;
    background-repeat: no-repeat;
    aspect-ratio: 7.585;
    width: 30%;
    right: 20%;
    bottom: -1px;
}
.home-boxes .uk-card-body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.home-boxes .uk-card-body > div:last-child {
    text-align: right;
    margin-top: auto !important;
}
.gallery-sponsoren .el-item {
    aspect-ratio: 1;
    background: #fff;
}
.gallery-sponsoren .el-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/*Countdown*/
.countdown-display {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    color: #000;
}
.uk-section-secondary .countdown-display {
    color: #fff;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.countdown-number {
    font-size: 5rem;
    font-weight: normal;
    line-height: 1;
    min-width: 7rem;
}
.countdown-separator {
    font-size: 5rem;
    font-weight: normal;
    line-height: 1;
    min-width: 2rem;
    text-align: center;
}
.countdown-label {
    text-transform: uppercase;
}

/*Ticker*/
.rsc-ticker-text, .rsc-ticker-separator {
    color: #000;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1;
    padding: 1rem .5rem;
}
.uk-section-secondary .rsc-ticker-text, .uk-section-secondary .rsc-ticker-separator {
    color: #fff;
}

/*Events Booking*/
#eb-events {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--default-gap);
}
#eb-events .eb-event{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    background: #dbd5b4;
    margin: 0;
    padding: 1.5rem;
}
#eb-events .eb-event .eb-box-heading{
    border: none;
    border-radius: 0;
    background: none;
    padding: 0;
}
#eb-events .eb-event .eb-box-heading h3{
    font-size: 1.5rem;
}
#eb-events .eb-event .eb-description{
    flex: 1;
    border: none;
    border-radius: 0;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
#eb-events .eb-event .eb-description .eb-taskbar{
    margin-top: auto;
}
#eb-events .eb-event .text-info.eb-notice-message{
    color: #000 !important;
    line-height: 1.4;
    font-size: 1.125rem;
}
#eb-events .eb-event.ts-secondary-background .text-info.eb-notice-message{
    color: #111 !important;
}

/*custom event list*/
.ts-eb-events > .uk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.ts-eb-events > .uk-grid > div {
    width: 100%;
}
.ts-eb-events > .uk-grid > div:has(.uk-card-secondary) {
    grid-column: span 3;
}
.ts-eb-events .el-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    background: #dbd5b4;
    margin: 0;
    padding: 1.5rem;
}
.ts-eb-events .el-item.uk-card-primary {
    background: #fffa00;
}
.ts-eb-events .el-item.uk-card-secondary {
    background: #000;
}
.ts-eb-events .el-item > .el-image {
    order: 3;
    width: 100%;
    display: block;
}
.ts-eb-events .el-item > .el-title {
    order: 1;
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
    color: #000;
}
.ts-eb-events .el-item > .el-title a {
    color: #000;
}
.ts-eb-events .el-item > .el-content {
    order: 2;
    color: #000;
}
.ts-eb-events .el-item > .el-content p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.ts-eb-events .el-item > .uk-margin-top {
    margin-top: 0 !important;
}
.ts-eb-events .el-item > .uk-margin-top .el-link.uk-button {
    display: none;
}
.ts-eb-events .el-item.uk-card-secondary * {
    color: #fff;
}
.ts-eb-events .el-item.uk-card-secondary > .el-title, .ts-eb-events .el-item.uk-card-secondary > .el-title a {
    color: #fffa00;
}
.ts-eb-events .el-item.uk-card-secondary .el-image {
    width: 50%;
}
/*.ts-eb-events .el-item.uk-card-secondary .el-content:after {*/
/*    display: block;*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: 1.5rem;*/
/*    width: 49%;*/
/*    aspect-ratio: 1.38;*/
/*    !*height: 100%;*!*/
/*    background: url('/images/streckenverlauf/tour4.svg');*/
/*    background-position: center;*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*}*/
.ts-eb-events .el-item.uk-card-secondary:after {
    display: block;
    position: absolute;
    content: '';
    width: 25%;
    max-width: 183px;
    aspect-ratio: 1.2;
    background: url('/images/bimbach400_gelb.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 1.5rem;
    right: 1.5rem;
}

/*event details*/
#eb-category-page-default .eb-box-heading, #eb-event-page .eb-box-heading {
    border: none;
    background: #fff;
}
#eb-category-page-default .eb-page-heading, #eb-event-page .eb-page-heading {
    text-align: center;
}
#eb-category-page-default #eb-event-details, #eb-event-page #eb-event-details {
    border: none;
    padding: 0;
}
#eb-category-page-default .eb-category-description, #eb-event-page .eb-description-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding-top: 30px;
}
/*#eb-event-page .eb-description-details > div {*/
/*    padding: 1.5rem;*/
/*}*/
#eb-category-page-default .ts-route-infos, #eb-event-page .ts-route-infos {
    padding: 1.5rem;
    background: #eeebda;
}
#eb-category-page-default .ts-route-infos table tr td, #eb-event-page .ts-route-infos table tr td {
    vertical-align: top;
}
#eb-category-page-default .ts-route-infos table tr td:first-child, #eb-event-page .ts-route-infos table tr td:first-child {
    font-weight: bold;
    min-width: 180px;
}
#eb-category-page-default .ts-route-gtk, #eb-event-page .ts-route-gtk {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 30px;
}
#eb-category-page-default .ts-route-gtk > div, #eb-event-page .ts-route-gtk > div {
    padding: 1.5rem;
    background: #dbd5b4;
    flex: 1;
}
#eb-category-page-default .ts-route-gtk > div:first-child p:last-child, #eb-event-page .ts-route-gtk > div:first-child p:last-child  {
    margin: 0;
}
#eb-category-page-default .ts-route-gtk > a, #eb-event-page .ts-route-gtk > a  {
    padding: 1.5rem;
    text-align: center;
    background: #fffa00;
    color: #000;
    font-size: 1.25rem;
    font-weight: bold;
}
#eb-category-page-default .ts-route-download .eb-taskbar li, #eb-event-page .ts-route-download .eb-taskbar li  {
    padding: 0;
    float: none;
}
#eb-category-page-default .download_button, #eb-event-page .download_button  {
    background: #555000;
    color: #fff;
    padding: 30px;
    text-transform: none;
    font-size: 1.25rem;
    width: 100%;
    display: block;
    float: none;
    line-height: 1;
    margin-top: 94px;
}
#eb-category-page-default .ts-route-map #map, #eb-event-page .ts-route-map #map {
    height: 450px;
}
#eb-category-page-default .ts-route-map #map_hp, #eb-event-page .ts-route-map #map_hp {
    height: 150px;
}
#eb-category-page-default .ts-route-map #map1, #eb-event-page .ts-route-map #map1 {
    height: 450px;
}
#eb-category-page-default .ts-route-map #map1_hp, #eb-event-page .ts-route-map #map1_hp {
    height: 150px;
}
#eb-category-page-default .eb-category-description > h2 {
    grid-column: span 2;
    text-align: center;
}

/*Kontaktformular*/
form#userForm ol.formContainer {
    list-style: none;
    padding: 0;
}
form#userForm .form-columns{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
form#userForm .rsform-block .formCaption{
    font-weight: bold;
}
form#userForm .rsform-block .formBody{
    margin-bottom: 1rem;
}
form#userForm .rsform-block .formBody input:not(#datenschutz0), form#userForm .rsform-block .formBody textarea{
    width: 100%;
    max-width: 480px;
}
form#userForm .rsform-block .formBody textarea {
    height: 154px;
}
form#userForm .rsform-block .rsform-submit-button {
    border: none;
    font-size: 1rem;
    padding: .75rem 1.5rem;
    color: #fff;
    background: #000;
}

/*TS Bildwechsel Modul*/
.ts-imagechange {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.ts-imagechange .sponsor {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    grid-column: span 1;
}
.ts-imagechange .sponsor a{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
}
.ts-imagechange .sponsor a img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1023px) {
    .ts-eb-events > .uk-grid {
        grid-template-columns: 1fr 1fr;
    }
    #eb-events {
        grid-template-columns: 1fr 1fr;
    }
    .ts-eb-events > .uk-grid > div:has(.uk-card-secondary) {
        grid-column: span 2;
    }
    .ts-imagechange {
        gap: 20px;
    }
}
@media (max-width: 959px) {
    #eb-category-page-default .eb-category-description, #eb-event-page .eb-description-details {
        grid-template-columns: 1fr;
    }
    #eb-category-page-default .eb-category-description > h2 {
        grid-column: span 1;
    }
}
@media (max-width: 639px) {
    .ts-eb-events > .uk-grid {
        grid-template-columns: 1fr;
    }
    .ts-eb-events > .uk-grid > div:has(.uk-card-secondary) {
        grid-column: span 1;
    }
    #eb-events {
        grid-template-columns: 1fr;
    }
    .ts-imagechange {
        grid-template-columns: 1fr 1fr 1fr;
    }
}