/*
Theme Name: Ticketshop Thueringen
Theme URI: 
Author: Henry Vanhauer
Author URI: 
Description: Theme for Ticketshop Thueringen based on standard TwentyTwentyFive Block Theme - This Theme depends on TTF and acts as child-theme.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: ticketshop-thueringen
Tags: 
*/

.tst_header_mobile {
    display: none !important;
}


.wp-block-search__button.has-icon {
    padding: 15px !important;
    margin: 0 !important;
}

.tst_eventlisting, .tst_eventlisting_automated {
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 1%;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.navigation.pagination {
    margin-top: 50px;
}

.pagination a {
    border: 0 !important;
}

.pagination .current {
    background: #00D764 !important;
}

.splide__track {
    padding: 30px;
}

.splide__arrow {
    background: #00D764;
    opacity: 1;
}

.splide__pagination button.is-active {
    background: #00D764;
}

.splide__pagination {
    bottom: -0.5em;
}

.tst_eventcard {
    display: flex;
    flex-direction: column;
    flex-basis: calc(25% - 1%);
    border-radius: 10px;
    background: #f4f4f4;
    min-height: 450px;
    transition: 2s all ease-in-out;
}

@media screen and (max-width: 768px) {
    .tst_eventcard {
        flex-grow: 1;
        flex-basis: 100% !important;
    }
    .tst_header_mobile {
        display: flex !important;
    }
    .tst_header_desktop {
        display: none;
    }
    .wp-block-navigation__responsive-container {
        padding: 30px !important;
        font-weight: 900;
    }
    .tst_inputgroup {
        flex-wrap: wrap;
        flex-direction: column !important;
    }

    .tst_inputgroup select, .tst_inputgroup input {
        display: flex;
        max-width: 80%;
        flex-grow: 1;
    }
}

.tst_eventcard .tst_eventcard_title {
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    line-height: 1.3;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    min-height: 3rem;
    margin-bottom: 20px;
}

.tst_button {
    line-height: 1;
    border-radius: 50px;
    background-color: black;
    color: #fff;
    text-align: center;
    font-weight: 900;
    text-decoration: none;
    font-size: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    cursor: pointer;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.disabled {
    background-color: #fff;
    border: 2px solid #ccc;
    color: #000;
}

.tst_preview_image {
    display: flex;
    aspect-ratio: 1 / 1;
    background: black;
    border-radius: 10px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
}

.tst_eventcard_inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tst_eventcard_start {
    font-size: 1rem;
    display: flex;
    gap: 10px;
}

.tst_event_startdatetime, .tst_organizer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tst_eventcard_location {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    gap: 5px;
    min-height: 75px;
    gap: 10px;
}

.tst_location {
    display: flex;
    flex-wrap: wrap;
}

.tst_eventcard_location_street, .tst_eventcard_location_zip {
    width: 100%;
    padding-left: 26px;
}

.tst_eventcard_location_location, .tst_eventcard_location_town, .tst_eventcard_datetime {
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    display: flex;
    align-items: center;
    flex-direction: row;
    align-items: flex-start;
    line-height: 1.2;
    gap: 10px;
    font-weight: 500;
    width: 100%;
}

.tst_eventcard_icon {
    width: 15px;
    height: auto;
    display: flex;
}

.tst_badge {
    font-size: 0.8rem;
    font-weight: 800;
    background: #fff;
    line-height: 1;
    border-radius: 50px;
    padding: 10px 15px;
}

.tst_eventcard hr {
    border-top-color: #ccc;
    border-top-width: 2px;
    box-shadow: unset;
    width: 100%;
    border-top-style: dotted;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.pagination a,
.pagination span {
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    font-weight: bold;
    background-color: #ddd;
}

/* Event-Status */

.tst_eventstate {
    display: flex;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
}

.alert {
    background: rgb(159, 6, 6);
}

.tst_information_header {
    font-weight: 700;
}

.tst_label_wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tst_label_wrapper ul li h3 {
    margin: 0;
    font-weight: 900;
    margin-bottom: 10px;
}

.tst_label_wrapper ul li {
    padding: 20px 0;
    border-bottom: 2px dotted #000000;
}

.tst_single_label {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.tst_single_label img {
    height: 25px;
}

/* Filter Form */

form#event-filter {
    display: flex;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tst_inputgroup {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.tst_eventlisting_filter {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

form#event-filter input, form#event-filter select {
    border: 0;
    padding: 10px 15px;
    line-height: 1.2;
    background: #f1f1f1;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    max-width: 250px;
}

option span {
    line-height: 2;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;

    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px dotted black;
    border: 2px solid #ddd;
    background: #eee;
    padding: 10px;
    transition: 0.4s;
}

form#event-filter option span {
    max-width: 200px !important;
    overflow: hidden;
}

form#event-filter input:focus, form#event-filter select:focus {
    outline: 3px solid black;
}

form#event-filter button:hover {
    cursor: pointer;
}

form#event-filter button {
    font-size: 0.8rem;
    padding: 10px 20px;
}

form#event-filter button.reset {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

@media (max-width: 768px) {
    .tst_inputgroup {
        flex-wrap: wrap;
        flex-direction: column;
        width: 100%;
    }
}