:root {
    /* Primärfarben */
    --tf-primary: #1E90FF; /* #1E90FF */
    --tf-primary-light: #2b7fdb;
    --tf-primary-dark: #14142a;
    --tf-success: #198754;
    --tf-success-lighter: #288e47;
    --tf-warning: #ffc107;
    --tf-warning-lighter: #ffd607;
    --tf-error: #c12020;
    --tf-error-light: lightsalmon;

    /* Hintergrundfarben */
    --tf-bg-light: #fcfcfd;
    --tf-bg-white: #fff;
    --tf-bg-gray: #eee;
    --tf-bg-disabled: #b3b3b3;
    --tf-bg-alternate: #fbfbfb;
    --tf-bg-transparent: transparent;
    --tf-bg-contrast: #242d34;
    --tf-bg-glass: rgba(255,255,255,0.8);
    --tf-bg-input: rgba(0,0,0,0.04);
    /*Buttons*/
    --tf-bg-button-cta: #EF7801;
    --tf-bg-button-hover: #333333;
    --tf-bg-button-back: #F2F2F2;

    /* Rahmenfarben */
    --tf-border-light:  242, 242, 242;
    --tf-border-lighter: #eee;
    --tf-border-lightest: lightgrey;
    --tf-border-dark: #333333;
    --tf-border-table: #ececec;

    /* Textfarben */
    --tf-text-body: #222;
    --tf-text-dark: #777;
    --tf-text-darker: #555;
    --tf-text-darkest: #333333;
    --tf-text-shadow: #888;
    --tf-text-white: #fff;
    --tf-text-success: #1F6F38;
    --tf-text-error: #c12020;
    --tf-text-hover: #fff;

    /* Overlay Farben */
    --tf-overlay-dark: rgba(0,0,0,0.5);
    --tf-overlay-transparent: rgba(0,0,0,0);
    --tf-overlay-shadow: rgba(0,0,0,0.3);

    /* Spezielle Farben */
    --tf-spinner: #e15b64;
    --tf-hr-border: rgba(255,255,255,0.7);
    --tf-input-bg: rgba(0,0,0,.04);
}

.worko-tabs *, .worko-tabs *:before,  .worko-tabs *:after {
    box-sizing: border-box;
}
/* Android 2.3 :checked fix */
@-webkit-keyframes fake {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
@keyframes fake {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
body {
    -webkit-animation: fake 1s infinite;
    animation: fake 1s infinite;
}

.worko-tabs {
    border: none;
    border-radius: 3px;
    label {
        display: block;
        line-height: 1.5;
        box-sizing: border-box;
        font-size: 1em;
        padding: 0;
        margin: 0;
        word-wrap: break-word;
        text-align: left;
        display: unset;
        float: unset;
        width: unset;
        height: unset;
        border: 0;
        cursor: unset;
    }

    hr {
        border-radius: 50%;
        opacity: 50%;
        border-color: var(--tf-hr-border);
        -webkit-filter: blur(1px);
        filter: blur(1px);
    }
    /*tabs navigation top */
    .state {
        position: absolute;
        left: -10000px;
    }
    .flex-tabs {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .flex-tabs .tab {
        background: #ddd;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.3s;
        display: none; /* Initially hidden for small screens */
        flex-grow: 1;
        align-items: center;
        color: var(--tf-text-body);
        font-weight: 550;
    }
    .flex-tabs .panel {
        background-color: var(--tf-bg-white);
        min-height: 300px;
        display: none;
        width: 100%;
        flex-basis: auto;
    }
    .tab {
        float: unset !important;
        width: unset !important;
        height: 60px;
        margin-right: unset !important;
        padding: 0 5px 0 5px;
        vertical-align: top;
        background-color: var(--tf-bg-gray);
        cursor: pointer;
        border-top: 1px solid var(--tf-border-lighter);
        top: 0;
        align-self: flex-start;
        z-index: 2;
        line-height: 1;
        gap: 0.5rem;
    }
    .tab:hover {
        background-color: var(--tf-bg-button-hover);
        color: var(--tf-text-hover);
        transition: background-color 0.3s ease, color 0.3s ease;
    }
}
.tf_nr {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    background: #fff;
    border: 2px solid var(--tf-border-lighter);
    color: #666;
    text-align: center;
}
#tab-header{
    box-sizing: content-box;
    width: 100%;
    height: 60px;
    top: 60px;
    z-index: 102;
    display: flex;
    justify-content: space-between;
    border-bottom: 10px solid var(--tf-bg-glass);
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    background: var(--tf-bg-white);

    .nav-button {
        height: 60px;
        margin: 0;
        background: var(--tf-bg-button-back);
        box-shadow: none;
        color: var(--tf-text-darkest);
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 10px;
        user-select: none;
        align-items: center;
    }
    .nav-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
}
#tab-header::after {
    content: "";
    display: table;
    clear: both;
}
.tab-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

#tab-1:checked ~ .tabs #tab-1-label,
#tab-2:checked ~ .tabs #tab-2-label,
#tab-3:checked ~ .tabs #tab-3-label,
#tab-4:checked ~ .tabs #tab-4-label,
#tab-5:checked ~ .tabs #tab-5-label {
    background-color: var(--tf-primary);
    color: white;
    cursor: default;
}
#tab-1:disabled ~ .tabs #tab-1-label,
#tab-2:disabled ~ .tabs #tab-2-label,
#tab-3:disabled ~ .tabs #tab-3-label,
#tab-4:disabled ~ .tabs #tab-4-label,
#tab-5:disabled ~ .tabs #tab-5-label {
    background-color: var(--tf-bg-disabled);
    color: var(--tf-text-body);
    cursor: not-allowed;
}
#tab-1:checked ~ .tabs #tab-1-panel,
#tab-2:checked ~ .tabs #tab-2-panel,
#tab-3:checked ~ .tabs #tab-3-panel,
#tab-4:checked ~ .tabs #tab-4-panel,
#tab-5:checked ~ .tabs #tab-5-panel {
    display: block;
}
.tf_form_span{
    padding: 0 0 0 16px;
    font-style: italic;
}

#tf_legend{
    display: none;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}

/* buttons & inputs */
.worko-tabs{
    input[type="submit"]{
        padding: 15px 22px !important;
        border-radius: 4px !important;
        -webkit-border-radius: 4px !important;
        background-color: var(--tf-bg-button-cta);
        box-sizing: border-box;
        color: var(--tf-text-white);
        cursor: pointer;
        width: auto;
        font-weight: 600;
        font-size: 1em;
        box-shadow: none;
        -webkit-transition: opacity .45s cubic-bezier(0.25,1,0.33,1),transform .45s cubic-bezier(0.25,1,0.33,1),border-color .45s cubic-bezier(0.25,1,0.33,1),color .45s cubic-bezier(0.25,1,0.33,1),background-color .45s cubic-bezier(0.25,1,0.33,1),box-shadow .45s cubic-bezier(0.25,1,0.33,1);
        transition: opacity .45s cubic-bezier(0.25,1,0.33,1),transform .45s cubic-bezier(0.25,1,0.33,1),border-color .45s cubic-bezier(0.25,1,0.33,1),color .45s cubic-bezier(0.25,1,0.33,1),background-color .45s cubic-bezier(0.25,1,0.33,1),box-shadow .45s cubic-bezier(0.25,1,0.33,1);
        -webkit-appearance: none;
    }
    input[type="submit"]:hover, input[type="button"]:hover{
        background-color: var(--tf-bg-button-hover);
        color: var(--tf-text-hover);
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }
    input[type="submit"]:hover{
        box-shadow: 0 0 0 2px rgba(239, 120, 1, 0.4);
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }
    input[type="button"]:hover{
        box-shadow: 0 0 0 2px rgba(242, 242, 242, 0.4);
    }

    button, input[type="button"]{
        padding: 15px 22px;
        margin-right: 10px;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        background-color: var(--tf-bg-button-back);
        box-sizing: border-box;
        color: var(--tf-text-darkest);
        cursor: pointer;
        width: auto;
        font-weight: 600;
        font-size: 1em;
        box-shadow: 0 0 0 2px rgba(var(--tf-border-light), 0.4);
    }

    input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
        background-color: var(--tf-bg-input);
        border-radius: 4px;
        border: 2px solid var(--tf-border-lightest);
        padding: 10px;
        width: 100%;
        height: 3.25rem;
        font-size: 1rem;
        font-family: inherit;
        line-height: 1.5;
        color: var(--tf-text-darker);
        transition: all .2s ease;
        box-sizing: border-box;
    }
    .select-container {
        display: flex;
        align-items: center;
        select {
            width: 4rem;
        }
        button {
            background: unset;
            color: var(--tf-text-dark);
            background-color: var(--tf-bg-button-back);
            text-shadow: none;
            width: 50px;
            height: 3.25rem;
            padding: 0;
            margin: 0;
        }
        button:focus {
            color: var(--tf-text-darkest);
            background-color: var(--tf-bg-button-back);
        }
        button:hover{
            color: var(--tf-text-white);
            background-color: var(--tf-bg-button-hover);

        }
        button:disabled {
            cursor: not-allowed;
        }
    }
    input[type="date"]{
        cursor: pointer;
    }
    input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
    }
    .tabs input:focus {
        border: 2px solid black;
        background-color: var(--tf-bg-button-hover);
        color: var(--tf-text-hover);
    }
    input:invalid:focus {
        border: 2px solid lightsalmon;
    }
    input:invalid {
        background: url("/wp-content/plugins/touristform/svg/required.svg") no-repeat 75% 50% var(--tf-error-light);
        background-size: 15px;
    }
    input:placeholder-shown {
        background: unset;
    }
    select:disabled {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        &::-ms-expand {
            display: none !important;
        }
    }
    select:disabled{
        background-color:transparent !important;
        border: none !important;
    }
    .tf_select_as_label{
        background-color: transparent !important;
    }
}

#tf_guests{
    input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="text"], select {
        margin-bottom: 10px;
    }
    fieldset legend{
        margin: 0;
        font-weight: 550;
    }
    h3{
        margin-top: 20px;
    }
}
/* categories availabilities grid */
#categories{
    display: grid;
    grid-gap: 1rem;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
}
/* Apply style when there's an odd number of .category children */
#categories:has(.category:nth-child(odd):last-child) > .category:last-child{
    grid-column: 1 / -1;
}
.category-header{
    display: flex;
    flex-direction: column;
    border: solid  var(--tf-border-light);
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 30px 30px 0 30px;
    border-width: 1px 1px 0 1px;
}
.category-header-img{
    display: flex;
    justify-content: center;
}
.tf_more{
    display: none;
}
.category-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.category-img-wrapper::before {
    content: "";
    display: block;
    padding-top: 100%; /* Enforces a 1:1 aspect ratio */

}
.category-img {
    position: absolute;       /* Position to fill the wrapper */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    border: 5px solid white;
    border-radius: 0.5rem;
    box-shadow: 0 7px 15px var(--tf-overlay-shadow);
}
.tf_gallery_icon{
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 5px;
    right: 5px;
    z-index: 2;
}
.category{
    background: var(--tf-bg-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.category-footer{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-grow: 1;
    width: auto;
    min-height: 60px;
    align-items: center;
    border: solid  var(--tf-border-light);
    border-radius: 0 0 0.5rem 0.5rem;
    border-width: 0 1px 1px 1px;
    padding: 30px;
    justify-content: end;
}
.tf_min_price{
    margin-top: 1em;
}
.tf_break{
    flex-basis: 100%;
    height: 0;
}
.category-info{
    width: 100%;
    padding-top: 1.25em;
    font-size: 1em;
    font-weight: 300;
    box-sizing: border-box;
    word-break: break-word;
}
.category-info h3{
    text-align: center;
}
.offer_text{
    margin:0;
}

.tf_search_result_info{
    padding: 0.8em 0.8em 0.1em 0.8em;
    text-align: center;
    background-color: var(--tf-success);
    color: var(--tf-text-white);
    border-radius: 0 0 0.5rem 0.5rem;
    h3{
        margin: 0;
        padding: 0;
        border: 0;
        margin-bottom: 20px;
        line-height: 1.2em;
        font-size: 29px;
        color: var(--tf-text-white);
        font-weight: 400;
        text-align: center;
        text-transform: none;
    }
}

.tf_warning{
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.1em;
    color: var(--tf-text-darkest);
    font-weight: 555;
}
.tf_flex_container{
    display: flex;
    gap: 0 1rem;
    flex-direction: row;
    overflow-y: auto;
    flex-wrap: wrap;
}
.tf_flex{
    display: flex;
    flex: 0 0 auto;
    padding: 0.5rem 0 0.5rem 0;
}
#tf_search{
    margin-top: 0.5em;
}
.tf_nav{
    flex-basis: 100%;
    z-index:101;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    width: auto;
    margin-top: 20px;
    padding: 10px 10px 10px 0;
    bottom: 0;
    background-color: var(--tf-bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
.tf_err { border: 2px solid var(--tf-error-light) !important;}
.tf_emsg { color: var(--tf-text-error); font-weight: bold; }

#tbl_article, #tbl_person, #tbl_acc{
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    border-color: var(--tf-border-table);
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--tf-bg-white);
    /*  border-top: 1px solid #ececec;*/
    line-height: 1.5;
    overflow: hidden;
    thead{
        line-height: 1;
    }
}
#extras{
    width:  100%;
}

.tf_col-25.tf_left{
    background-color: white;
    padding-left: 0;
}
#tf_sidebar{
    display: none;/*hide sidebar on init */
}
.tf_cart{
    display: none; /* initial state */
    background-color: var(--tf-bg-white);
    padding: 60px 20px 0 0;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 70px;
    align-self: flex-start; /* <-- this is the fix */
}
#top_cart{
    display: flex;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    -ms-flex: 100%;
    flex: 100%;
    top: 0;
    padding: 0 1rem 0 1rem;
    min-height: 60px;
    max-height: 60px;
    left: 0;
    width: 100%;
    background-color: inherit;
    z-index: 101;
    cursor: pointer;
    overflow-x: clip;
}
#tf_cart_travel_dates{
    display: flex;
    z-index: 102;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-content: center;
    word-wrap: break-word;
}
#top_cart_icon{
    vertical-align: middle;
}
#tf_cart_offer_title {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: right;
    align-content: center;
    word-break: break-word;
    max-height: 60px;
}
#cart_total{
    display: none; /*on desktop*/
    justify-content: end;
}
#cart_total_value {
    font-weight: bold;
}
#tf_cart_count{
    font-weight: bold;
}
.tf_icon{
    width: 1em;
}
#tf_cart_guests{
    display: none;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: flex-end;
    align-content: space-around;
    line-height: 1;
}
#tf_guest_inclusive{
    color: var(--tf-text-success);
}
.tf_cart_articles, .tf_article_overview, #tf_personal_data_overview{
    width:100%;
    margin: 0;
    padding: 0 1em 0 1em;
    border-width: 0;
    td, th{
        padding: 0 0 1rem 0;
        border-width: 0 0 1px 0;
    }
}
.tf_cart_articles tr, .tf_article_overview tr{
    vertical-align: top;
}
.tf_hidden{
    visibility: hidden;
    display: none !important;
}
.tf_main_row{
    container-type: inline-size;
    background-color: white;
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin-left: -15px;
    color: var(--tf-text-body);
}
.tf_row{
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    flex: 100%;
}
.tf_col {
    -ms-flex: 100%; /* IE10 */
    flex: 100%;
}
.tf_col-25 {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
}
.tf_col-50 {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
}
.tf_col-75 {
    -ms-flex: 70%; /* IE10 */
    flex: 70%;
    width: 100%; /* fix for some wp themes */
}
#tf_main_col{
    width: auto;
}
.tf_col-25,
.tf_col-50,
.tf_col-75,
.tf_col{
    padding: 0 0 0 16px;
}
.tf_table{
    overflow-x:auto;
}
.tf_table td{
    line-height: 1.5;
}
.tf_table table tr:nth-child(2n){
    background-color: var(--tf-bg-alternate);
}
.tf_no_border, .tf_no_border tr, .tf_no_border td, .tf_no_border th{
    border: none;
    padding: 8px;
}
#tr_total, #tr_total_deposit{
    text-align: center;
    border-top: 3px solid var(--tf-border-table);
}
#totalSum{
    text-align: center;
    font-weight: bold;
}
.tf_quantity{
    padding: 10px;
    font-weight: bold;
}
#payment_overview{
    margin-top: 0.5em;
}
.tf_overview{
    background-color: var(--tf-bg-white);
    border: 1px solid lightgrey;
    border-radius: 0.5rem;
    padding: 30px;
    margin-bottom: 20px;
}
.tf_check label{
    margin-right: 1.5rem;
}
.tf-modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tf-overlay-dark);
    transition: opacity 0.7s ease-in-out, visiblity 0.7s ease-in-out;
    z-index: 10000;
}
.tf-modal.show {
    opacity: 1;
    visibility: visible;
}
.tf-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333333;
    background: var(--tf-bg-white);
    text-align: center;
    padding: 30px 50px;
}
.tf-modal-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: inherit;
}
.tf-modal-title {
    margin-bottom: 10px;
}
.tf-modal-text {
    margin-bottom: 20px;
}
.tf-modal-close {
    padding: 10px 20px;
    background: var(--tf-text-darkest);
    color: var(--tf-text-white);
}
.tf_img_pick{
    height: 45px;
}
/* spinner */
@keyframes tf_spinner {
    0% { transform: rotate(0deg) }
    50% { transform: rotate(180deg) }
    100% { transform: rotate(360deg) }
}
.tf_spinner div {
    box-sizing: content-box;
    animation: tf_spinner 1s linear infinite;
    width: 160px;
    height: 160px;
    margin-left: -80px;
    border-radius: 50%;
    box-shadow: 0 4px 0 0 var(--tf-spinner);
    transform-origin: 80px 82px;
}
.tf_spinner {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
}
.tf_h_section{
    margin-bottom: 0.25rem;
    padding: 0.5rem;
    background: var(--tf-primary);
    font-size: 1.7rem;
    color: var(--tf-text-white);
}
.tf_h_section div{
    font-size: 1rem;
}
#tf_personal_data_overview table{
    border: none;
}
#tf_personal_data_overview table td{
    border: none;
}
.tf_total_ca td {
    border-bottom: 0;
}
.tf_total_deposit_ca td{
    border-width: 0;
}
.tf_tax_Rate{
    font-style: oblique;
}
.opts{
    visibility: visible !important;
}
.tf_gallery_count{
    text-align: center;
}
.featherlight-content{
    overflow: unset;
}
.featherlight .featherlight-image {
    border: 32px solid var(--tf-bg-white);
    width: auto !important;
    height: auto !important;
    object-fit: cover;
}
.featherlight .featherlight-content{
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    text-align: center;
}
.featherlight .featherlight-inner{
    display: inline-block;
}
.featherlight-next,
.featherlight-previous {
    display: block;
    position: absolute;
    top: 25px;
    right: 0;
    bottom: 0;
    left: 50%;
    cursor: pointer;
    /* preventing text selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* IE9 hack, otherwise navigation doesn't appear */
    background: var(--tf-overlay-transparent);
}
.featherlight-previous {
    left:  0;
    right: 50%;
}
.featherlight-next:hover,
.featherlight-previous:hover {
    background: var(--tf-bg-transparent);
}
.featherlight-next span,
.featherlight-previous span {
    display: block;
    position: absolute;
    top: 50%;
    width: 80%;
    font-size: 22px;
    line-height: 50px;
    /* center vertically */
    margin-top: -40px;
    color: var(--tf-text-dark);
    font-style: normal;
    font-weight: normal;
    text-shadow: 0 0 3px var(--tf-text-shadow);
}
.featherlight-next span {
    right: 5%;
    left: auto;
    text-align: right;
    font-size: 2em;
}
.featherlight-previous span {
    right: 0;
    left: 5%;
    text-align: left;
    font-size: 2em;
}

.featherlight-next:hover span,
.featherlight-previous:hover span {
    display: inline-block;
    font-size: 4em;
}
/* Hide navigation while loading */
.featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next {
    display:none;
}
.tf_paytypes {
    width: 50px;
    margin-top: 1em;
    margin-bottom: 1em;
}
.no_persons{
    display:none;
}
#payment_types .tf_pt{
    border: 1px solid var(--tf-border-lightest);
    border-radius: 0.5rem;
    padding: 20px 20px 20px 20px;
}
.tf_pt label{
    display: inline;
}
.tf_pt_checked{
    border: 2px solid var(--tf-primary) !important;
}
.tf_tdr{
    text-align: right;
}
.tf_form_group_item{
    display: inline-block;
    margin-bottom: 0;
}
.tf_dob_w2{
    max-width: 3.5em !important;
}
.tf_dob_w4{
    max-width: 4.75em !important;
}
.tf_hint{
    font-weight: 200;
    margin-bottom: 15px;
}
#tf_cat_info{
    margin-bottom: 30px;
}
#travel_dates{
    font-size: 0.7em;
}
.tf_fellow, .tf_car, .tf_tent{
    background: var(--tf-bg-light);
    border-radius: 0.5rem;
    padding-top: 5px;
    padding-right: 15px;
    margin-bottom: 20px;
}
.tf_fellow h4, .tf_car h4, .tf_tent h4{
    margin: 0;
}
#tf_note{
    height: 10rem;
}
.fellow_BD{
    margin-top: 1rem;
    text-align: right;
}
#tf_multi_warning{
    font-weight: bold;
    margin-bottom: 20px;
}
.total{
    text-align: center;
    position: relative;
}
.tf_table .total .tf_picon{
    position: absolute;
    max-width: 30px;
    width: 30px;
    height: auto;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}
/* fix for dreigleichen */
.eol_si_shrink{
    display: unset;
    position: unset;
}
.eol_si_clear{
    display: none !important;
}
/* end fix */

/* override color states */
.worko-tabs{
    .unavailable{
        color: var(--tf-text-error);
        font-weight: 600;
        font-size: 1em;
    }
    .available, .available[type="submit"]{
        background-color: var(--tf-success);
    }
    .available[type="submit"]:hover{
        box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.4);
    }
    .alternative[type="submit"]:hover{
        box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.4);
    }
    .tf_inclusive{
        color: var(--tf-text-success);
    }
    .alternative, .alternative[type="submit"]{
        color: var(--tf-text-darkest);
        background-color: var(--tf-warning);
    }
    .alternative h3{
        color: var(--tf-text-darkest);
    }
}


@container (min-width: 700px){
    .nav-button {
        display: none; /* Hide next/prev buttons */
    }
    .tab-container .tab {
        display: flex  !important; /* Show all tabs */
    }
    #tf_legend{
        display: block;
    }
    #top_cart{
        font-weight: bold;
    }
    .tf_br_s {
        /* linebreaks that should only display on small container */
        display: none;
    }
}
@container (max-width: 700px){
    .tf_article_title {
        display: block;
        text-align: center;
    }
    .tf_cart{
        position: unset;
    }
    #tf_guests input[type="date"], #tf_guests input[type="email"], #tf_guests input[type="number"], #tf_guests input[type="password"], #tf_guests input[type="tel"], #tf_guests input[type="text"], #tf_guests select, #tf_guests textarea{
        margin-bottom: 0;
    }
    .tf_h_section{
        text-align: center;
    }
    .inside-article{
        padding:40px 0 40px 40px !important;
    }
    .select-container{
        justify-content: center;
    }
    /*search*/
    .tf_flex_container{
        justify-content: center;
        gap: 10px;
        padding: 0;
    }
    #top_cart{
        min-width: 335px;
        font-size: 17px;
        gap: 10px;
    }
    #tf_cart_travel_dates
    #tf_dates {
        font-size: 15px;
    }
    #tf_cart_guests{
        justify-content: center;
    }
    #tf_cart_offer_title{
        max-width: 100px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        flex-grow: 0;
        flex-shrink: 1;
        word-break: normal;
        justify-content: unset;
    }

    #tf_guest_inclusive{
        display: none;
    }
    #tf_guest_label{
        display: none;
    }
    #cart_total{
        display: flex;
        align-content: center;
        flex-wrap: wrap;
        flex-grow: 1;
    }
    #totalSum, #totalSumLabel, #totalDepositSum, #totalDepositSumLabel{
        padding: 0 !important;
    }
    #tr_total, #tr_total_deposit{
        border-top: 3px solid var(--tf-border-table);
    }
    #tf_cat_info .category-img{
        min-height: 300px;
    }
    #categories{
        grid-template-columns: auto;
    }
    .tab-container{
        min-width: 0;
    }
    .tf_nav{
        justify-content: center;
        height:77.5px;
        bottom:0;
        margin: 0;
    }
    .tf_nr{
        width: 18px;
        height: 18px;
    }
    #tab-header{
        justify-content: flex-start;
    }
    #tab-header .nav-button{
        width: 30px;
        padding: 2%;
    }
    .tabs .panel{
        /*overflow-y: auto;
        max-height: 75vh;*/
    }
    .flex-tabs .tab {
        display: flex; /* Show all tabs */
        background: var(--tf-bg-white);
        border-bottom: 1px solid var(--tf-border-light);
        font-size: 17px;
    }
    .tf_overview{
        display: block;                  /* turn the table into a block-level container */
        overflow-x: auto;               /* enable horizontal scroll if needed */
        -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
        white-space: nowrap;            /* keep cells from wrapping, so it scrolls horizontally */
        width: 100%;
        border-collapse: collapse;
        margin: 0 auto;
        td, th{
            padding: 0.25rem;
            text-align: left;
            vertical-align: top;
            text-wrap: wrap;
        }
    }
    .tf_check {
        display: flex;        /* flex container */
        flex-direction: column;
        gap: 0.75rem;         /* vertical spacing between labels */
    }
    .tf_check label {
        margin-right: 0;      /* reset margin so they don't push horizontally */
    }
    /*panel scrollbar */
    /* Applies to Firefox */
    .my-scrolling-container {
        scrollbar-width: thin;            /* smaller scrollbar */
        scrollbar-color: #888 #f1f1f1;    /* thumb color + track color */
    }

    /* Applies to WebKit-based browsers (Chrome, Safari, Edge (Chromium)) */
    .my-scrolling-container::-webkit-scrollbar {
        width: 6px;                       /* narrow scrollbar width */
    }

    .my-scrolling-container::-webkit-scrollbar-track {
        background: #f1f1f1;             /* track color */
    }

    .my-scrolling-container::-webkit-scrollbar-thumb {
        background-color: #888;          /* thumb color */
        border-radius: 3px;              /* rounded corners */
    }

    .my-scrolling-container::-webkit-scrollbar-thumb:hover {
        background-color: #555;          /* hover color for thumb */
    }
    .flex-tabs .tab:last-of-type {
        border-bottom: none;
    }
    .flex-tabs #tab-1-label {
        order: 1;
    }
    .flex-tabs #tab-2-label {
        order: 3;
    }
    .flex-tabs #tab-3-label {
        order: 5;
    }
    .flex-tabs #tab-4-label {
        order: 7;
    }
    .flex-tabs #tab-5-label {
        order: 9;
    }
    .flex-tabs #tab-1-panel {
        order: 2;
    }
    .flex-tabs #tab-2-panel {
        order: 4;
    }
    .flex-tabs #tab-3-panel {
        order: 6;
    }
    .flex-tabs #tab-4-panel {
        order: 8;
    }
    .flex-tabs #tab-5-panel {
        order: 10;
    }
    #tab-1:checked ~ .tabs #tab-1-label,
    #tab-2:checked ~ .tabs #tab-2-label,
    #tab-3:checked ~ .tabs #tab-3-label,
    #tab-4:checked ~ .tabs #tab-4-label,
    #tab-5:checked ~ .tabs #tab-5-label {
        border-bottom: none;
    }
    #tab-1:checked ~ .tabs #tab-1-panel,
    #tab-2:checked ~ .tabs #tab-2-panel,
    #tab-3:checked ~ .tabs #tab-3-panel,
    #tab-4:checked ~ .tabs #tab-4-panel,
    #tab-5:checked ~ .tabs #tab-5-panel {
        border-bottom: 0;
    }
    .category-footer, .category-header{
        flex-direction: column !important;
    }
    .category-header{
        padding: 0 !important;
    }
    .category-footer{
        padding: 0 30px 30px 30px !important;
    }
    #tab-header{
        top: 60px;
        height: 60px;
    }
    .tf_row {
        flex-direction: column;
    }
    .tf_main_row {
        max-width: 100%;
        flex-direction: column;
    }
    #tf_main_col{
        min-width:100%;
        max-width: 100%;
    }
    .worko-tabs{
        border-bottom: 0;
    }
    .tf_col, .tf_col-25,.tf_col-50,
    .tf_col-75 {
        margin-bottom: 20px;
        padding: 0;
    }
    .tf_table table, .tf_table thead, .tf_table tbody, .tf_table th, .tf_table td, .tf_table tr {
        display: block;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    .tf_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .tf_table tr {
        border: 1px solid var(--tf-border-light);
    }
    .tf_table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid var(--tf-border-lighter);
        position: relative;
    }
    .tf_table td:before {
        line-height: 3rem;
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        left: 6px;
        width: 30%;
        white-space: nowrap;
    }
    .tf_quantity{
        padding: 0;
    }

    /* todo safe to remove?
     .tf_table td {
    border: none;
    border-bottom: 1px solid var(--tf-border-lighter);
    position: relative;
    padding: 0 0 0 35% !important;
  }
  .tf_table td:before {
    line-height: 3rem;
    position: absolute;
    left: 6px;
    width: 30%;
    white-space: nowrap;
  }
     .tf_table table tr td:first-child{
        padding-left: 50%;
    }
    #tbl_article tr:not(#tr_total, #tr_total_deposit) td:nth-of-type(1):before { content: "Art"; }
    #tbl_article tr:not(#tr_total, #tr_total_deposit) td:nth-of-type(2):before { content: "Anzahl"; }
    #tbl_article tr:not(#tr_total, #tr_total_deposit) td:nth-of-type(5):before { content: "Gesamtpreis"; }
    #tbl_person td:nth-of-type(1):before { content: "Art"; }
    #tbl_person td:nth-of-type(2):before { content: "Anzahl"; }
    #tbl_person td:nth-of-type(5):before { content: "Gesamtpreis"; }
    #tbl_acc td:nth-of-type(1):before { content: "Art"; }
    #tbl_acc td:nth-of-type(2):before { content: "Anzahl"; }
    #tbl_acc td:nth-of-type(5):before { content: "Gesamtpreis"; }
    */

    #tf_personal_data_overview table td:nth-of-type(2){
        word-break: break-word;
    }
    .total{
        text-align: left !important;
    }
    .tf_picon{
        display:none;
    }
    .tf_table td, .tf_table tr{
        border: none;
    }
    .category-info{
        padding: 1em 1em 1em 1em !important
    }
    .featherlight .featherlight-image{
        max-width: 100%;
        max-height: 100%;
        border: 10px solid var(--tf-bg-white);
    }
    .featherlight .featherlight-content{
        height: unset !important;
        width: unset !important;
        max-width: 100%;
    }
    .featherlight .featherlight-inner{
        display: block;
    }
    .tf_dob_w2 {
        max-width: 3.5em !important;
    }
    .total:empty{
        visibility: hidden;
    }
    .tf_footer_btn{
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .fellow_BD{
        text-align: unset;
    }
}

/*place pick */
.tf_img_pick{
    height: 45px;
}
.tf_btn_pick{
    display: flex;
    justify-content: center;
    align-items: center;
}
.tf_grid {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 1em;
    margin-top: 2em;
}
.tf_grid div{
    cursor:pointer;
    background-color: var(--tf-bg-white);
    border: 1px solid var(--tf-primary);
    border-radius: 0.5rem;
    padding: 1em;
    margin-bottom: 1em;
}

.tf_picked{
    background-color: var(--tf-primary) !important;
    color: var(--tf-text-white);
    font-weight: bold;
}
/* form fields*/
#tf-form-fields{
    display: none;
}
/*three states switch */
.tf-switch-container{
    padding-left: 16px;
    margin-bottom: 1em;
    padding-right: 1em;
    flex: 50%;
    flex-grow: 0;
    align-content: end;
}
.tf-switch-container h5{
    margin-bottom: .7rem;
}
.tf-switch {
    position: relative;
    display:flex;
    justify-content:space-between;
    background: var(--tf-border-lighter);
    border-radius: 12px;
}
.tf-switch input[type="radio"], .tf-switch input[type="checkbox"]{
    display:none;
    cursor: pointer;
}
.tf-switch label{
    flex: 1;
    padding:0.5rem;
    z-index:1;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.tf-active-label{
    position: absolute;
    height: 100%;
    background: var(--tf-primary-dark);
    border: 1px solid var(--tf-bg-white);
    border-radius: 12px;
    opacity: .5;
    transition: left 0.2s ease-out;
    z-index: 1;
}
.tf-switch3-radio1 ~ .tf-active-label{
    width:33%;
}
.tf-switch3-radio1:checked ~ .tf-active-label{
    left:0;
}
.tf-switch3-radio2:checked ~ .tf-active-label{
    left:33%;
}
.tf-switch3-radio3:checked ~ .tf-active-label {
    left:66%;
}
.tf-switch2-radio1 ~ .tf-active-label{
    width:50%;
}
.tf-switch2-radio1:checked ~ .tf-active-label{
    left:0;
}
.tf-switch2-radio2:checked ~ .tf-active-label{
    left:50%;
}

.tf-ff-group{
    flex: 25%;
    flex-grow: 0;
    padding-left: 16px;
}

.tf-ff-group input{
    width: 90%;
}
