#ktv-program-list {
    font-family: Helvetica, monospace;
    font-size: 18px;
    padding: 50px 0;
    color: #3C3C3B;
}

#ktv-program-list ul {
    margin: 0;
}

#ktv-program-list ul li {
    list-style: none;
    font-weight: 400;
}

#ktv-program-list .ktv-show {
    display: flex;
    padding-bottom: 0;
}

#ktv-program-list .ktv-show-detail {
    display: none;
}

#ktv-program-list .ktv-active .ktv-show-detail {
    display: block;
    margin-left: 160px;
    width: calc(100% - 224px);
    margin-right: 32px;
}

#ktv-program-list .ktv-show-time {
    font-weight: 700;
    width: 160px;
}

#ktv-program-list .ktv-programdate {
    font-size: 26px;
}

#ktv-program-list .ktv-programdate:not(:first-child) {
    margin-top: 1.5rem;
}

#ktv-program-list .ktv-programdate:not(:last-child) {
    margin-bottom: 1.5rem;
}

#ktv-program-list .ktv-show-title {
    font-weight: 400;
    width: calc(100% - 224px);
    margin-right: 32px;
    line-height: 1.667;
    position: relative;
    min-height: 34px;
    padding: 0 0 0 0;
}

#ktv-program-list svg.icon {
    width: 32px;
    height: 32px;
    display: block;
    position: relative;
}

.the-datepicker__main a.the-datepicker__button {
    color: #f7a62d;
}

.the-datepicker__container {
    position: relative;
}

.the-datepicker__main td.the-datepicker__day--selected a.the-datepicker__button .the-datepicker__day-content,
.the-datepicker__main td.the-datepicker__day--selected.the-datepicker__day--highlighted a.the-datepicker__button .the-datepicker__day-content,
.the-datepicker__main td.the-datepicker__day--selected a.the-datepicker__button:hover .the-datepicker__day-content, .the-datepicker__main td.the-datepicker__day--selected.the-datepicker__day--highlighted a.the-datepicker__button:hover .the-datepicker__day-content {
    background-color: #f7a62d;
    color: #fff;
}

.the-datepicker__deselect-button {
    display: none;
}

.the-datepicker__container .the-datepicker__main {
    border-top-left-radius: 0.3em;
}

body[data-fancy-form-rcs="1"] #ktv-filter .select2-container .select2-choice {
    border-radius: 25px;
    background-color:transparent;
    border-color: #c6c6c6;
    border-width: 2px;
    padding: 10px;
    height: 50px;
    -webkit-transition:background-color 0.15s cubic-bezier(.39,.71,.56,.98),color 0.15s cubic-bezier(.39,.71,.56,.98);
}

body[data-fancy-form-rcs="1"] .select2-container .select2-choice:hover .select2-arrow b:after{
    -webkit-transition:border-color 0.15s cubic-bezier(.39,.71,.56,.98);
    color: #ffffff;
}

#ktv-filter .select2-container .select2-choice>.select2-chosen{
    padding-left: 10px;
    font-size: 18px;
}

body[data-fancy-form-rcs="1"] #ktv-filter .fancy-select-wrap{
    padding-top: 0;
}

#ktv-filter .ktv-date input#ktv-date-input {
    cursor: pointer;
}

#ktv-filter input[type="date"]::-webkit-inner-spin-button,
#ktv-filter input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}
#ktv-filter .select2-container .select2-choice .select2-arrow b {
    width: 0;
    height: 0;
}

#ktv-filter .ktv-date:after, #ktv-filter .select2-container .select2-choice .select2-arrow b:after {
    position: absolute;
    content: "";
    right: 17px;
    top: 10px;
    width: 30px;
    height: 30px;
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/kalender.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
}

#ktv-filter .select2-container .select2-choice .select2-arrow b:after {
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/pfeil.svg);
    border: none;
}

#ktv-filter .select2-container.select2-dropdown-open.select2-container-active .select2-choice .select2-arrow b:after {
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/pfeil-white.svg);
    top: 14px;
}

#ktv-filter .select2-container .select2-choice:hover .select2-arrow b:after {
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/pfeil-white.svg);
    border: none;
}

#ktv-filter .select2-container .select2-choice .select2-arrow {
    margin-right: 15px;
}

#ktv-filter input[type=text] {
    background-color: white;
    border-radius: 25px;
    border: 2px solid #c6c6c6;
    height: 50px;
    font-size: 22px;
    font-weight: 700;
    padding-left: 20px;
}

#ktv-program-list .ktv-show-picture, #ktv-program-list .ktv-description {
    display: block;
    padding: 10px 0 20px 0;
    line-height: 25px;
    font-size: 17px;
}

#ktv-program-list .ktv-active .ktv-show-time {
    color: #f7a62d;
}

#ktv-program-list .ktv-active .ktv-show-title {
    color: #f7a62d;
    font-weight: 700;
}

#ktv-program-list .ktv-accordion-toggle {
    width: 32px;
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/plus.svg);
    height: 32px;
    background-repeat: no-repeat;
    background-position: center center;
}

#ktv-program-list .ktv-active .ktv-accordion-toggle {
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/minus.svg);
}

#ktv-program-list .ktv-show-picture img {
    width: 100%;
    height: 100%;
}

.icon-heart a {
    margin-right: 20px !important;
    width: 110px;
}

.icon-heart a:before {
    width: calc( 100% + 20px ) !important;
}

.icon-heart:before {
    content: "" !important;
    width: 18px !important;
    height: 18px !important;
    position: absolute !important;
    right: 20px !important;
    z-index: 99 !important;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2021/05/heart-icon.svg);
}

@media only screen and (max-width: 1220px) {
    .icon-heart {
        text-align: left !important;
        display: inline-flex;
        flex-direction: row-reverse;
    }

    .icon-heart:before {
        top: 25%;
        right: 10px !important;
    }
}

@media only screen and (max-width: 999px) and (min-width: 1px) {
    .vc_row-fluid.full-width-content .col .wpb_row, .vc_row-fluid.full-width-content .col, .vc_row-fluid.vc_row[data-column-margin="none"] .col, .vc_row-fluid .wpb_column[class*="vc_col-xs"]:not(.vc_col-xs-12) {
        margin-top: 20px;
    }
}

.ktv-show-detail-page.ktv-show-detail {
    margin-top: 20px;
}

.ktv-show-detail-page.ktv-show-detail .ktv-show-headline {
    color: #f7a62d;
    padding-top: 7px;
}

.ktv-show-search-entree.ktv-post-type {
    margin-left: 25px;
    margin-right: 25px;
    font-size: 17px;
    font-weight: 400;
    padding-bottom: 25px;
    color: #999;
    margin-top: 3px;
}

body.search #search-results .result .inner-wrap h2.search-result-show-title {
    padding: 25px 25px 0;
}

body.search #search-results .result .inner-wrap h2.search-result-show-title span {
    margin-top: 0;
    margin-bottom: 3px;
    font-size: medium;
}

h1.entry-title.ktv-show-headline {
    color: #f7a62d;
}

/* KTV-Live-Banner */
.ktv-show-banner {
    opacity: 1;
    background-color: #f7a62d;
    color: #ffffff;
    text-align: left;
    height: 50px;
}

.ktv-show-banner-title {
    font-weight: normal;
    margin-right: 12px;
    min-width: 100px;
}

.ktv-show-banner-inner {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    height: 50px;
}

.marquee {
    max-width: 100vw; /* iOS braucht das */
    width: 90vw;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
    font-size: 16px;
    margin-top: 1px;
}

.marquee span {
    display: inline-block;
    padding-left: 105%; /* die zusätzlichen 5% erzeugen einen verzögerten Start und vermeiden so ein Ruckeln auf langsamen Seiten */
    animation: marquee 10s linear infinite;
}

/* Optional: mouseover (oder Tipp auf dem Touchscreen) pausiert die Laufschrift */
.marquee span:hover {
    animation-play-state: paused 
}

/* Make it move */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ktv-show-banner-btn {
    color: #ffffff;
    margin-left: 10px;
    display: flex;
    font-weight: bold;
    font-size: 12px;
    min-width: 140px;
    margin-top: 1px;
}

.ktv-show-banner-btn:after {
    background-image: url(/wp-content/plugins/ktv-sendungen/inc/Public/Assets/Svgs/pfeil-grey.svg);
    content: '';
    background-color: #fff;
    border-radius: 50%;
    margin-left: 9px;
    width: 34px;
    height: 34px;
    margin-top: -3px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10px;
}

@media screen and (max-width: 768px) {
    #header-space {
        height: unset !important;
    }

    #header-outer {
        padding-bottom: 0 !important;
    }

    .ktv-show-banner-title {
        font-size: 12px;
        margin-top: 1px;
        min-width: 70px;
    }

    .ktv-show-banner-inner .marquee {
        font-size: 12px;
    }

    .ktv-show-banner {
        height: 32px;
        margin-top: 20px;
    }

    .ktv-show-banner-inner {
        padding: 0;
        height: inherit;
    }

    .ktv-show-banner-btn {
        margin-top: 0;
        min-width: unset;
    }

    .ktv-show-banner-btn span {
        display: none;
    }

    .ktv-show-banner-btn:after {
        width: 23px;
        height: 23px;
        background-size: 7px;
        margin-top: 4px;
    }
}

@media only screen and (max-width: 999px) and (min-width: 1px) {
    .ktv-show-banner {
        margin-top: 20px;
    }
    
    .ktv-show-banner .container {
        max-width: 100% !important;
        padding: 0 18px !important;
        height: inherit !important;
    }

    #header-space {
        height: unset !important;
    }

    #header-outer {
        padding-bottom: 0 !important;
    }
}

@media only screen and (max-width: 1220px) and (min-width: 1000px) {
    .ktv-show-banner .container {
        max-width: 100% !important;
        padding: 0 28px !important;
        height: inherit !important;
    }

    #header-space {
        height: unset !important;
    }

    #header-outer {
        padding-bottom: 0 !important;
    }
}

/* Sendungsdetailseite Styling */
@media screen and (min-width: 1200px) {
    .ktv-show-picture {
        height: 260px;
    }

    .ktv-show-picture img {
        height: inherit !important;
        object-fit: cover !important;
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    article.ktv-sendungen.type-ktv-sendungen,
    .single.single-ktv-sendungen .row.heading-title.hentry {
        margin-top: 114px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1220px) {
    article.ktv-sendungen.type-ktv-sendungen,
    .single.single-ktv-sendungen .row.heading-title.hentry {
        margin-top: 193px;
    }
}

.ktv-show-detail.ktv-show-detail-page .entry-title.ktv-show-headline {
    color: #f7a62d;
    margin-top: 10px;
}

.single-ktv-sendungen .row.heading-title.hentry {
    display: none;
}

.ktv-show.ktv-accordion-toggle-wrapper {
    cursor: pointer;
}

@media screen and (max-width: 999px){
    #ktv-program-list .ktv-active .ktv-show-detail {
        margin: 0;
        width: 100%;
    }
    #ktv-program-list .ktv-show {
        flex-direction: row;
        flex-wrap: wrap;
    }
    #ktv-program-list .ktv-show .ktv-show-time {
        width: 100%;
    }
    #ktv-program-list .ktv-show-title {
        width: calc(100% - 64px);
    }
}

.ktv-hidden-past {
    display:none;
}

.ktv-hidden-past + hr {
    display:none;
}
