.date-select-wrapper {
    line-height: 48px;
    display: flex;
    background: var(--laola1-red);
    color: white;
    justify-content: center;
    padding: 0 20px;
    cursor: pointer;
    position: relative;
    font-style: italic;
    font-weight: bold;
    flex: 0 0 240px;
    transition: top 0.1s ease-in;
    margin: 1em 0;
    border-radius: 4px;
}
.date-select-wrapper .date-select {
    cursor: pointer;
    background: var(--laola1-highlight);
    color: var(--laola1-text-bright);
    line-height: 48px;
    border: none;
    font-family: inherit;
    text-align: center;
    font-weight: bold;
    font-style: italic;
}
.date-select-wrapper .date-select:hover {
    text-decoration: underline;
}
.date-select-wrapper .pika-single {
    position: absolute;
}
.date-select-wrapper .arrow-prev, .date-select-wrapper .arrow-next {
    position: absolute;
    color: white;
    text-decoration: none;
    background: none;
    border: none;
    font-size: inherit;
    height: 100%;
    cursor: pointer;
}
.date-select-wrapper .arrow-prev:hover {
    filter: brightness(0.5);
}
.date-select-wrapper .arrow-prev {
    left: 0;
    padding: 0 26px 0 8px;
}
.date-select-wrapper .arrow-next {
    right: 0;
    padding: 0 8px 0 26px;
}
.date-select-wrapper .arrow-next:hover {
    filter: brightness(0.5);
}
.heading.kalender {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 1em;
}
.heading.kalender .date-select-wrapper + .query-wrapper {
    flex-basis: calc(100% - 256px);
    overflow: hidden;
}


.calendar-container.slide-left .tournament-box {
    animation: slide-left 0.3s forwards;
}

.calendar-container.slide-right .tournament-box {
    animation: slide-right 0.3s forwards;
}

.calendar-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4px;
    row-gap: 4px;
}

.calendar-container .query-wrapper {
    margin: 0;
}

.calendar-container .heading.kalender {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 1rem 0;
}

.calendar-container .heading.kalender .filter-container {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.calendar-container .heading.kalender .live-filter,
.calendar-container .heading.kalender .austrian-filter {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 48px;
    font-style: italic;
    font-weight: bold;
    font-size: 0.813rem;
    background-color: var(--laola1-card-background);
    padding: 0 1em;
    border-radius: 4px;
    margin-right: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.calendar-container .heading.kalender .live-filter {
    color: var(--laola1-highlight);
}

.calendar-container .heading.kalender .austrian-filter .flag {
    width: 20px;
}

.calendar-container .heading.kalender .live-filter:hover,
.calendar-container .heading.kalender .austrian-filter:hover {
    filter: brightness(.9);
}

.calendar-container .heading.kalender .live-filter.live-filter-active,
.calendar-container .heading.kalender .austrian-filter.austrian-filter-active {
    background-color: var(--laola1-highlight);
    color: var(--laola1-text-bright);
}

.calendar-container .heading.kalender .live-filter i {
    font-size: 8px;
}

.calendar-container .heading.kalender .date-select-wrapper {
    order: 1;
    margin: 0;
}

@media (max-width: 980px) {
    .calendar-container{
        padding: 0 6px;
    }
    .heading.kalender {
        display: block;
    }
    .heading.kalender .date-select-wrapper {
        margin-top: 0;
        margin-bottom: .5em;
    }

    .heading.kalender .filter-container {
        margin-top: 10px;
    }

    .calendar-container .heading.kalender{
        margin: 0 0 8px 0;
    }
}

@keyframes slide-left {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-right {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



