.performance-grid {
    margin: -40px -24px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media (min-width: 576px) {
    .performance-grid {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
}

.performance-item {
    margin-top: 40px;
    padding: 0 24px;
    width: 100%;
    font-family: "Roboto Condensed";
}

@media (min-width: 576px) {
    .performance-item { 
        width: 50%;
    }
}

@media (min-width: 992px) {
    .performance-item { 
        width: 33.33333333%;
    }
}

.performance-item a {
    display: block;
    background: #EDEDED;
    height: 100%;
}

.performance-item-content {
    padding: 10px;
}

.performance-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 0;
    display: block;
}

.performance-item h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    font-family: "Roboto Condensed";

    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.performance-item .performance-date {
    font-size: 18px;
    margin: 0;
}

.performance-footer {
    margin-top: 40px;
    text-align: center;
}

.res_wienticket_shortcode .link-back-to-all-performances a,
.single-performance .buy-tickets-button a,
.single-performance .link-back-to-all-performances a,
.performance-footer button,
.resonanz-performance .resonanz-buy-button {
    display: inline-block;
    background: #F3C900;
    border: none;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    padding: 9px 14px;
    line-height: 1;
    font-family: Roboto, sans-serif;
}

.single-performance .entry-title {
    font-size: 32px !important;
    font-weight: bold;
    margin: 0 0 7px;
}

.single-performance .td-module-meta-info {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.single-performance .td-module-meta-info p {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
}

.single-performance p.buy-tickets-button {
    margin-top: 28px;
}

.res_wienticket_shortcode .link-back-to-all-performances {
    text-align: center;
    margin-top: 22px;
}

.single-performance .buy-tickets-button a,
.single-performance .link-back-to-all-performances a {
    
}

.facetwp-type-fselect .fs-label-wrap {
    border: none;
}

.facetwp-type-fselect .fs-label {
    background: #F3C900;
    border: 1px solid #F3C900;
    color: white;
    font-style: italic;
    font-size: 16px;
    font-family: "Roboto Condensed", sans-serif;
    padding: 8px 32px 8px 13px !important;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.facetwp-type-fselect .fs-option .fs-option-label {
    white-space: pre-wrap !important;
    word-break: break-word;
    font-size: 13px;
    color: #767676;
    line-height: 1.2;
}

.fs-wrap.multiple .fs-option {
    padding: 3px 52px 3px 32px;
}

.fs-wrap.multiple .fs-option:first-child {
    padding-top: 11px;
}

.fs-wrap.multiple .fs-option:last-child {
    padding-bottom: 11px;
}

.fs-wrap.multiple .fs-option:first-child .fs-checkbox {
    top: 18px !important;
}

.fs-dropdown .fs-options {
    max-height: 225px !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.facetwp-type-fselect .fs-wrape::-webkit-scrollbar {
    display: none;
}

.facetwp-type-fselect .fs-open .fs-label {
    background: #DD3333;
    border: 1px solid #DD3333;
}

.facetwp-type-fselect .fs-wrap {
    width: 275px;
}

.fs-wrap.multiple .fs-checkbox {
    bottom: auto !important;
    top: 10px !important;
}

.fs-arrow {
    width: 10px !important;
    height: 10px !important;
    border: none !important;
    background: url(./angle-up-solid.svg) no-repeat !important;
    background-size: cover;
    right: 17px !important;
}

.fs-wrap.multiple .fs-option .fs-checkbox i {
    border: none !important;
    background: transparent !important;
    width: 12px !important;
    height: 12px !important;
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background: url(./check-solid.svg) no-repeat !important;
    background-size: cover !important;
}

.facet-search {
    display: flex;
    flex-wrap: wrap;
}

.facetwp-facet-performances {
    margin-right: 28px;
}

.facetwp-facet input.facetwp-search {
    min-width: unset !important;
    width: 334px;
    max-width: 100%;
    border: 1px solid #EAEAEA !important;
    font-family: 'Open Sans' !important;
}

.facetwp-facet input.facetwp-search::placeholder {
    color: #989898 !important;
}

.facetwp-icon {
    opacity: 1 !important;
}

.facetwp-facet-suche:not(.is-loading) .facetwp-icon:before {
    background: url(./magnifying-glass-regular.svg) no-repeat !important;
    background-size: 13px !important;
    background-position: center !important;
}

.facetwp-facet {
    margin-bottom: 0 !important;
    max-width: 100%;
}

.facet-search {
    margin-bottom: 30px;
}

.facetwp-input-wrap {
    display: block !important;
}

.preformance-no-results {
    padding: 24px;
}

.facetwp-hidden {
    display: none !important;
}

/**
 * New rules for the overview of all the dates/tickets.
 */
h2.resonanz-heading-l2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 7px;
}
.resonanz-performance {
    border-top: 2px solid #f4f4f4;
    padding: 20px 0 0;
    margin-top: 20px;
    font-weight: bold;
}
.resonanz-performance:last-child {
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.resonanz-performance .resonanz-sold-out {
    color: #a0a0a0;
}

/* For desktop */
.resonanz-performance.row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    column-gap: 30px;
    box-sizing: border-box;
}
.resonanz-performance .col.datetime {
    width: 17%;
}
.resonanz-performance .col.place {
    width: 58%;
}
.resonanz-performance .col.price {
    width: 10%;
}
.resonanz-performance .col.tickets {
    width: 15%;
    align-self: end;
    text-align: right;
}

/* For mobile */
@media (max-width: 768px) {
    .resonanz-performance.row {
        flex-flow: row wrap;
        column-gap: 10px;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .resonanz-performance .col {
        margin: auto;
    }
    .resonanz-performance .col.datetime {
        order: 1;
        width: calc(45% - 10px);
        margin-left: 0 !important;
    }
    .resonanz-performance .col.price {
        order: 2;
        width: calc(30% - 10px);
    }
    .resonanz-performance .col.tickets {
        order: 3;
        width: calc(25% - 10px);
    }
    .resonanz-performance .col.place {
        order: 4;
        width: 100%;
        margin-top: -9px;
    }
    .resonanz-performance.sold-out .col.place {
        order: 4;
        width: 100%;
        margin-top: 0;
    }
}

/* Even smaller */
@media (max-width: 400px) {
    .resonanz-performance.row {
        flex-flow: row wrap;
        column-gap: 10px;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .resonanz-performance .col {
        margin: auto;
    }
    .resonanz-performance .col.datetime {
        order: 1;
        width: calc(65% - 10px);
        margin-left: 0 !important;
    }
    .resonanz-performance .col.tickets {
        order: 2;
        width: calc(35% - 10px);
    }
    .resonanz-performance .col.price {
        order: 3;
        width: 100%;
        margin-top: -9px;
    }
    .resonanz-performance .col.place {
        order: 4;
        width: 100%;
	margin-top: 0; 
    }
    .resonanz-performance.sold-out .col.price {
        order: 4;
        width: 100%;
        margin-top: 0;
    }
}

