.otv-wrapper input {
    color: black;
}

.otv-errors {
    background: red;
    color: white;
    padding: 0.5em 1em;
    position: relative;
    margin-bottom: 1em;
    padding-left: 2.5em;
}

.otv-annotations-wrapper > p {
    background-color: #f0f0f0;
    padding:0.5em 1em;
    margin-bottom: 0.5em;
}
.otv-annotations-wrapper > p:last-of-type {
    margin-bottom: 1em;
}
.otv-errors ul, .otv-errors li {
    list-style: none;
    margin: 0;
}

.otv-errors ul:before {
    content: "⚠";
    display: block;
    font-size: 1.5em;
    position: absolute;
    top: 0;
    left: 0.5em;
}

.otv-errors li:before {
    display: none;
}

.otv-wrapper ul.otv-timepicker-container, .otv-wrapper ul.otv-timepicker {
    padding-left: 0;
    overflow: auto;
}

.otv-flexwrapper {
    display: flex;
    flex-wrap: wrap;
    /*margin: 0 -0.75em 1em;*/
}

.otv-booking-item {
    border: 1px solid #999;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.otv-booking-item h3 {
    display: inline-block;
}

.otv-booking-item .button {
    float: right;
}

.otv-booking-item .button a {
    padding: 5px;
    margin: 0;
}

.otv-booking-item div {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
}

.otv-booking-item .otv-duration,
.otv-booking-item .otv-price {
    text-align: right;
}

.otv-booking-item > p:last-child {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 0;
}
.otv-teaser {
    display: flex;
    flex-direction: column;
    /*padding: 1.25em 0.75em;*/
    padding: 0 1.5em;
    margin: 0 0 1.5em;
    box-sizing: border-box;
    /*border: 1px solid #999;*/
    /*border-radius: 10px;*/
    background-color: #f0f0f0;
    flex: 1 1 auto;
}

.otv-teaser.otv-accordion + .otv-teaser.otv-accordion {
    margin-top: -1.25em;
}
.otv-teaser-disabled .otv-teaser-title-wrapper {
    background-color: gray;
}
.otv-teaser-disabled .otv-count {
    display: none;
}
.otv-count button:disabled {
    background: gray;
}
.otv-small {
    font-size: 0.6666666666em;
    font-weight: 200;
}

h2 a.otv-small {
    margin-left: 0.5em;
}

.button.otv-button-small a {
    padding: 0.3em 1.5em;
}

.otv-center {
    text-align: center;
}

.otv-teaser-title-wrapper {
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    background: #00a3e0;
    margin: 0 -1.5em;
    display: flex;
    justify-content: space-between;
    transition: background-color 200ms;
}

.otv-teaser-content {
    padding: 1.5em 0;
}

.otv-accordion .otv-teaser-content {
    display: none;
}

.nojs .otv-teaser-content, .otv-teaser-content.otv-open {
    display: block;
}

.otv-teaser-title {
    margin: 0;
    padding: .6em 0;
    position: relative;
    cursor: pointer;
}

.otv-teaser-title button {
    position: relative;
    display: block;
    font: inherit;
    text-align: left;
    width: 100%;
    padding: .25em;
    border: 0;
    border-radius: 0;
    outline-offset: -2px;
    margin: 0;
    background: inherit;
}

.otv-overview .otv-teaser-title {
    margin: 0;
    padding: .6em 0;
    position: relative;
    cursor: auto;
}

.otv-accordion .otv-teaser-title {
    margin: 0;
    padding: .6em 1.2em;
    position: relative;
    padding-left: 2.3em;
    cursor: pointer;
}

.otv-accordion .otv-teaser-title:hover {
    color: #004c97;
}

.otv-accordion .otv-teaser-title:hover:before {
    background-color: #004c97;
}

.nojs .otv-teaser-title {
    padding-left: 1.2em;
    cursor: auto;
}

.otv-accordion .otv-teaser-title:before {
    content: "?";
    display: block;
    padding: 0.2em;
    height: 1em;
    width: 1em;
    background-color: white;
    color: #00a3e0;
    position: absolute;
    left: 0.5em;
    top: 0.5em;
    border-radius: 50%;
    text-align: center;
}

.nojs .otv-teaser-title:before {
    display: none;
}

.otv-count {
    margin: 0;
    display: flex;
}

.otv-count input {
    text-align: center;
    width: 3em;
    border-radius: 0;
}

.otv-count label {
    display: none;

}

.otv-count button {
    border: none;
    border-radius: 0;
    background-color: #004c97;
    color: white;
    text-align: center;
    width: 3.5em;
}

.nojs .otv-count button {
    display: none;
}

.nojs .otv-count label {
    display: inline-block;
    margin: 0;
    text-align: center;
    align-self: initial;
    padding: 0.7em;
    overflow: hidden;
    box-sizing: border-box;
}

.otv-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.otv-meta span:first-child {
    text-align: left;
}

.otv-meta span:last-child {
    text-align: right;
}

.otv-noscript {
    display: none;
}

.nojs .otv-noscript {
    display: block;
}

.otv-timepicker-container {
    display: flex;
    flex-direction: row;
}

.otv-kwpicker {
    margin: 1.5em 0;
}

.otv-timepicker-container ul:before,
.otv-timepicker-container li:before {
    display: none;
}

.otv-timepicker,
.otv-weekday {
    margin: 0;
    padding: 0;
    text-align: center;
    min-width: max-content
}

.otv-weekday {
    display: inline-block;
    width: calc(90vw - 0.5em);
    margin: 0 .25em;
}

.otv-weekday:first-child {
    margin-left: 0;
}

.otv-weekday:last-child {
    margin-right: 0;
}


.otv-timepicker-container .otv-weekday > span {
    margin-bottom: .5em;
    background-color: #004c97;
    color: #fff;
    padding: .75em 3em;
    border-radius: .1875em;
    display: block;
}


.otv-timepicker-container .otv-date-passed > span {
    background-color: #98b4c7;
}

.otv-time {
    margin-bottom: .25em
}

.otv-timepicker input[type="radio"] + label,
.otv-timepicker label {
    color: #000;
    background-color: #FFF;
    display: inline-block;
    line-height: inherit;
    padding: .75em;
    width: 100%;
    box-sizing: border-box;
}

.otv-timepicker label::after {
    display: none;
}

.otv-weekday input[type=radio] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
}

.otv-weekday input[type="radio"]:focus + label,
.otv-timepicker input[type="radio"]:checked + label,
input[name='otv-time']:checked + label {
    background-color: #00a3e0;
    color: #fff;
}

.otv-datepicker_active:after,
.otv-active:after {
    content: "\2796";
}

.otv-booking {
    border-bottom: 2px solid #999;
    padding-bottom: 1em;
    margin-bottom: 1.5em;
}

table {
    display: table;
}

@media only screen and (max-width: 750px) {
    .otv-wrapper {
        display: block;
    }

    .otv-teaser {
        width: 100%;
        margin-left: auto;
        margin-bottom: 10px;
        padding: 10px;
    }

    .otv-buttons .button a,
    .otv-buttons .button button {
        float: none;
        display: block;
    }

    .otv-booking-item div {
        display: block;
    }

    .otv-booking-item div p:first-child {
        margin-bottom: 0;
    }

    .otv-booking-item .otv-duration {
        text-align: left;
    }

    .otv-booking-item .otv-duration,
    .otv-booking-item .otv-price {
        display: inline-block;
        width: 49%;
    }

    td, th {
        padding: 1px;
        text-align: center;
    }

    .otv-timepicker {
        width: calc(26vw - 1.5em)
    }
}

@media only screen and (max-width: 480px) {
    .otv-wrapper {
        margin: 0 -.75em;
    }

    .otv-timepicker {
        width: calc(55vw - 1.5em)
    }

    .otv-count {
        justify-content: center;
    }

    .otv-teaser-title-wrapper {
        flex-direction: column;
    }
}

.captcha {
    display: block;
    margin-top: .5em;
    margin-bottom: .5em;
}
