/* Event-Suche */

.eventList-search {
    overflow: hidden;
    margin-bottom: 20px;
}

.eventList-search input,
.eventList-search select {
    font-family: var(--main-font-fa)!important;
    font-weight: 100;
}

.eventList-search select option {
    padding: 40px;
    color: var(--main-violett-color);
    font-weight: 100;
    font-family: var(--main-font-fa)!important;
}

.eventList-search form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin: 1rem -1.5%;
}

.eventList-search-item {
    margin: 0 1.5%;
    overflow: hidden;
    width: 22%;
}

.eventList-search-label.date,
.eventList-search-value.date {
    width: 49%;
    float: left;
}

.eventList-search-label.date.until,
.eventList-search-value.date.until {
    float: right;
}

.eventList-search-value.date .eventList-search-inner {
    position: relative;
    padding-right: 25px;
}

.eventList-search-select,
.eventList-search-input {
    -moz-appearance: none;
    border: none;
    color: #000;
    font-size: 1.1rem;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    border: 1px solid #eee;
    position: relative;
}

.eventList-search-input {
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.eventList-search .ui-datepicker-trigger {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #FFFFFF;
    font-family: var(--fa-font);
    height: 100%;
    width: 30px;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: none;
    background-color: #333333;
    padding: 0;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.eventList-search-action {
    margin: 0 1.5%;
    width: 22%;
}

.eventList-search-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: black;
    padding: 10px 15px;
    border: none;
    background: none;
    background-color: #eee;
    cursor: pointer;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1rem;
    font-family: var(--main-font-fa);
}

.eventList-reset-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333;
    padding: 8px 15px;
    border: none;
    background: none;
    cursor: pointer;
    letter-spacing: 1.5px;
    font-weight: 300;
    font-family: var(--main-font-fa);
    font-size: 1rem;
}

.eventList-search-button:hover,
.eventList-reset-button:hover {
    animation: pulsed 0.5s ease-in;
}

.eventList-showFilter {
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.eventList-showFilter label {
    padding-right: 25px;
}

.eventList-showFilter ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.eventList-showFilter ul li {
    padding: 8px 15px;
    background: #eee;
    border-radius: 5px;
    font-weight: 100;
    margin: 0 15px;
}

.eventList-showFilter ul li a:after {
    content: '\f2ee';
    font-family: var(--fa-font);
    padding-left: 5px;
}


/* Event Liste */

.layerEventTemplate {
    width: 100%;
}

.layerEventTemplate .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 0 -2.5%;
}

.layerEventTemplate .slider.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 0;
}

.singlepage-item .layerEventTemplate .list .swiffy-slider {
    width: 95%;
}

.layerEventTemplate .list .swiffy-slider {
    width: 100%;
}

.layerEventTemplate .list .slider.item {
    width: 95%;
}

.layerEventTemplate .list .item {
    width: 20%;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    margin: 2rem 2.5%;
    position: relative;
    cursor: pointer;
}

.layerEventTemplate .list .item:hover {
    /*animation: flip-icon 1s ease-in-out;*/
    opacity: 0.7;
    transition: all 0.5s ease-out;
}

.layerEventTemplate .list .item .inner {
    background: #eee;
}

.layerEventTemplate .list .item .image {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.layerEventTemplate .list .item .image img {
    width: 100%;
    display: block;
    margin: 0;
}

.layerEventTemplate .list .item .image .flags {
    width: 100%;
    display: flex;
    position: absolute;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.layerEventTemplate .list .item .image .category .title {
    padding: 5px 10px;
    background: white;
    font-family: var(--main-font);
    font-size: 1.2rem;
    font-weight: 100;
}

.layerEventTemplate .list .item .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-height: 80px;
    font-size: 0.95rem;
}

.layerEventTemplate .list .item .content .head {
    padding: 15px 15px 10px 15px;
    margin: 0;
}

.layerEventTemplate .list .item .content .head .title {
    font-weight: 700;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.1;
    margin: 0;
    font-family: var(--main-font);
    padding-bottom: 10px;
}

.layerEventTemplate .list .item .content .date {
    color: #333;
    font-weight: 300;
    line-height: 1.3rem;
}

.layerEventTemplate .list .item .content .price {
    color: #333;
    font-weight: 700;
    line-height: 1.75rem;
}

.video {
    margin-top: 40px;
}

.layerEventTemplate .list .item .action {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: absolute;
    height: 100%;
}

.layerEventTemplate .list .item .action .link {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    z-index: 5;
}

.layerEventTemplate .list .item .action .link a {
    font: var(--fa-font-solid);
    font-size: 1.25rem;
    color: white;
    background: #999;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
}

.layerEventTemplate .list .item .action .link a:hover {
    color: #333;
    transition: all 0.5s ease-out;
}


/* Flags */

.layerEventTemplate .flag,
.detail.event .flag {
    background: darkgreen;
    color: white;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1px;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.detail.event .flag {
    margin-bottom: 1rem;
}

.flag.booked {
    background: var(--main-color)!important;
    color: white;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1px;
    padding: 5px 10px;
}


/*.flag.booked::before {
    font-family: var(--fa-font);
    content: '\f056';
    font-weight: 900;
    padding-right: 5px;
}

.flag.available::before {
    font-family: var(--fa-font);
    content: '\f058';
    font-weight: 900;
    padding-right: 5px;
}*/

.item-calendar {
    text-align: center;
    font-family: var(--fa-font);
    font-size: 120%;
    margin-left: 10px;
}

.item-detail {
    padding: 0 10px;
}

.item-attributes {
    display: table;
    margin-top: 10px;
    line-height: 160%;
}

.item-row {
    display: table-row;
}

.item-label,
.item-value {
    display: table-cell;
}

.item-label {
    padding-right: 30px;
    font-weight: 400;
}


/* Event-Detail */

.detail.event {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.detail.event .item.left {
    width: 30%;
}

.detail.event .item.left .swiffy-slider {
    margin: 0;
    width: 100%;
}

.detail.event .item.right {
    width: 65%;
}

.detail.event .content {
    columns: 2;
}

.detail.event .content p {
    break-inside: avoid-column;
}

.detail.event .attributes {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.detail.event .attributes .item {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin: 0.25rem 0;
}

.detail.event .attributes .item .label {
    font-weight: 900;
    width: 30%;
    letter-spacing: 0.75px;
}


/* Meine Events - Detailansicht Kursteile */

.event-content {
    display: none;
    width: 100%;
    padding: 40px;
    background: #eee;
}

.event-content.loaded {
    transition: all 1s linear;
    display: block;
}


/* Events Startseite */

.next-events {
    width: 100%;
}

.next-events:after {
    content: " ";
    clear: both;
    display: table;
}

.next-events .next-events-items {
    margin: 0 -20px;
}

.next-events .next-events-item {
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
    width: 33.33%;
    text-transform: uppercase;
}

.next-events .next-events-item .title {
    font-size: 22px;
    font-weight: 400;
    padding: 6px 10px;
    background-color: rgba(239, 218, 197, .9);
}

.next-events .next-events-item .info {
    font-size: 16px;
    line-height: 22px;
    padding: 12px 10px 32px 10px;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.next-events .next-events-item .description {
    padding-bottom: 10px;
    text-transform: none;
    word-wrap: normal;
}

.next-events .next-events-item .date,
.next-events .next-events-item .price {
    font-weight: 700;
    text-transform: uppercase;
    color: #bf0d3e;
}

.next-events .next-events-item .time {
    float: left;
    height: 20px;
}

.next-events .next-events-item .price {
    float: right;
    height: 20px;
}

.next-events .next-events-item .footer {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px 10px;
    text-align: right;
    background-color: rgba(239, 218, 197, .9);
}

.next-events .next-events-item .footer a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a.footer-link+a.footer-link {
    margin-left: 4px;
    padding-left: 6px;
    border-left: 2px solid #333;
}

@media only screen and (max-width: 1350px) {
    .layerEventTemplate .list .item {
        width: 28.333%;
    }
}

@media only screen and (max-width: 900px) {
    .layerEventTemplate .list .item {
        width: 45%;
    }
    .detail.event .item.left,
    .detail.event .item.right {
        width: 100%;
    }
    .detail.event .item.left .image {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 650px) {
    .layerEventTemplate .list .item {
        width: 95%;
    }
    .eventList-search-item {
        margin: 10px;
        overflow: hidden;
        width: 100%;
    }
    .detail.event .attributes .item {
        width: 100%;
    }
}