/* ==========================================================================
   inklusionsdatenbank.css: Inklusionsdatenbank
   site\flex\inklusion_email.perl
   ========================================================================== */


.digiteers-container, .inklusion-vorschau{
/* Feedback Button aus style_dodb.css */
.box {
    display: block;
}
.cta {
    position: relative;
    text-decoration: none;
    transition: all .5s;
}
.cta--xl {
    text-align: center;
}
.bg--highlight.cta, .bg--highlight.cta:hover {
    color: #fff;
    text-decoration: none;
}
.bg--highlight.cta:hover {
    background: var(--theme-bg-highlight-hover);
}
.bg--highlight .cta svg,  .bg--highlight.cta svg, .bg--highlight a svg {
    fill: #fff;
    opacity: .8;
}
.cta--icon-left {
    padding: 1rem .5rem 1rem 3.5rem;
}
.icon--left-box, .detailinfo .do-online .icon--left-box {
     left: 1rem;
}
.icon--feedback {
    height: 1.75rem;
    top: calc(50% - .875rem);
    width: 1.75rem;
}

a.inkl-feedback-button--offer {
    display: block;
}

#inklusion_container .inkl-feedback-button--offer,
#inklusion-dialog .inkl-feedback-button--offer,
.inklusion-container .inkl-feedback-button--offer,
.inklusion-vorschau .inkl-feedback-button--offer /* TODO: remove if button is needed in web savemode */ {  /*TODO: use different classes for form and final savemode */
    display: none;
}

/* Icon-Liste aus htdocs\css\tdot_programm.css*/

.marker-list {
    display: flex;
    margin-top: .5rem;
    margin-right: 2.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.accessibility-marker__icon-wrapper {
    margin: 0 0.25rem 0 0;
    background: #fff;
    position: relative;
    border: 0.125rem solid #666;
    border-radius: 0.5rem;
    color: #666;
    font-size: 1rem;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    align-items: center;
    width: fit-content;
}

.marker__icon-wrapper {
    width: 3rem;
    height: 2rem;
    background: #fff;
    position: relative;
    border: 2px solid #666;
    border-radius: 5px;
    color: #666;
    font-weight: bold;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker__icon-wrapper[data-tooltip-hover] {
    cursor: pointer;
}

.icon-wrapper--partly {
    border: 2px dashed #666;
}

.entry-input-wrapper{
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.control__label--switch .marker__icon-wrapper {
    margin-left: 4rem;
    margin-top: -.125rem;
}

.marker__icon-wrapper:last-child {
    margin-right: 0;
}

.marker__icon-wrapper--new {
    text-align: center;
    font-size: 1rem;
    line-height: 1.625rem;
}


.location-equipment-list .list-item {
    list-style-type: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    margin-right: 1.5rem;
    margin-bottom: .5rem;
}

/* Icons htdocs\css\tdot_programm.css*/
.marker__icon {
    fill: currentColor;
}

.marker__icon-wrapper--accessibility {
    width: 1.5rem;
    height: 1.5rem;
}

.marker__icon-wrapper--accessibility-p,
.marker__icon-wrapper--accessibility-wc,
.marker__icon-wrapper--restrooms,
.marker__icon-wrapper--lift,
.marker__icon-wrapper--no-accessibilty,
.marker__icon-wrapper--accessibility-hearing-loop,
.marker__icon-wrapper--sign-language,
.marker__icon-wrapper--guidance-system-blind,
.marker__icon-wrapper--easy-to-read {
    width: auto;
    height: 1.5rem;
}

.marker__icon-wrapper--free {
    position: absolute;
    top: .125rem;
    left: .625rem;
    width: 1.5rem;
    height: 1.5rem;
}

.invisible  {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* see also site\sass\backend_ui\_tags.scss */

 .wrapper--inkl-description .category-tag__group--type-theme,
 .category-tag__group--targetgroup-needs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
}

    .category-tag__item {
    border-radius: 0.5rem;/*ui-border-radius*/
    background-color: #f2f2f2;
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    color: #333;
    list-style-type: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .category-tag__item--inverted {
        background-color: #fff;
        border: 0.125rem solid #666;
    }

.category-tag__item .icon {
    fill: #666;
}

/* Anbieter Unterüberschrift */

.subheading {
margin: 0;
width: 100%;
color: #333333;
font-size: calc(1.25rem * var(--font-factor, 1)) /*$font-size-h3*/;
}

.button--accordion .subheading {
    line-height: 1.15;
    display: inline-flex;
    flex-direction: column;
    row-gap: 0.5rem;
    font-size: calc(1.15rem * var(--font-factor, 1)) /*$font-size-h3*/;
}

/* allgemein */

.wrapper--inkl-description {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.wrapper--inkl-description .h3 {
    margin-top: 0;
}

/* taken from style.min.css to make preview in editmode look better */

.nested-bg {
    background-color: #f0f0f0;
}

.list-links {
    list-style-image: none;
    list-style-type: none;
}

.link-wrapper--icon {
    margin-left: 1.75rem;
}

.icon--link {
    height: 1rem;
    left: -1.75rem;
    top: .25rem;
    width: 1.125rem;
    fill: var(--theme-bg-highlight);
}

/* =====================
 Linkliste Hydra Layout
 =======================*/


 .list--icon {
    list-style: none;
    padding-left: 0;
 }

 .wrapper--icon-text {
    align-items: baseline;
    -moz-column-gap: .875rem;
    column-gap: .875rem;
    display: flex;
    position: relative;
}

 a.wrapper--icon-text {
    width: fit-content;
 }


.wrapper--icon-text svg {
    flex-shrink: 0;
}

.icon--mark {
    fill: #404040;
    height: 1.125rem;
    position: relative;
    top: .0625rem;
    width: 1.125rem;
}

a .icon--mark {
    fill: var(--theme-bg-highlight);
}

@media only all and (min-width: 53em) {
    a.wrapper--icon-text {
        line-height: 1.75; /*2*/
    }
}

.button--accordion .subheading {
    line-height: 1.25;
    font-size: calc(1.25rem * var(--font-factor, 1)) /*$font-size-h3*/;
}

.entity__cost,
.entity__organisation,
.entity__location {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin: 1rem 0 1rem 0;
    width: 100%;
}

.entity__organisation,
.entity__location {
    & .subheading {
        font-size: calc(1.125rem * var(--font-factor, 1)) ;
    }
}


.location__map {
    width: 100%;
    background-color: #efefef;
    aspect-ratio: 2 / 1;
}

.organisation__logo, .offer__logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer__logo img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}


.organisation__logo img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.inklusion_bar_hotfix {
    display: flex !important;
    float: none !important;
}



@media only all and (min-width: 55em) {

    .organisation__logo,
    .location__map,
    .location__details {
        max-width: 49%;
    }

    .offer__logo {
        max-width: 33.3%;
    }

    .location__map {
        aspect-ratio: 3 / 2;
    }

    .entity__organisation {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 1.75rem;
    }

    .wrapper--inkl-description {
        flex-direction: row;
        gap: 1.75rem;
    }

    .wrapper--inkl-description .offer__logo {
        width: 33.3%;
        align-items: flex-start;
    }

    .wrapper--inkl-description .offer__logo ~ .offer__text {
        width: 66.6%;
        align-items: flex-start;
    }

    .wrapper--inkl-description .offer__text {
        width: 100%;
    }
}

.wrapper--accordion[data-status="is-open"] .content-area {
    display: block;
    padding: 1rem 0;
}

.wrapper--accordion[data-status="is-closed"] .content-area {
    display: none;
}

.tooltip .header-area {
    padding: 1rem 1rem 1rem 1rem;
}

/*==========================================================
Savemode/Preview
============================================================*/

.wrapper--flexrow {
    display: flex;
    justify-content: space-between;
}

/* inline Link */

.wrapper--inline-link {
    display: inline-flex;
    align-items: center;
    margin-left: 2.25rem;
}

/* icon and text with same format as link but grey and not clickable - pricing, info etc. */

.wrapper--icon-text {
    align-items: flex-start;
    -moz-column-gap: .875rem;
    column-gap: .875rem;
    display: flex;
    position: relative;
}

.icon--mark {
    fill: #404040;
    height: 1.125rem;
    position: relative;
    top: 0.25rem /*.0625rem*/;
    width: 1.125rem;
    left: 0;
}

/* heading with tag */
.wrapper--heading-with-tag {
    align-items: baseline;
    -moz-column-gap: .875rem;
    column-gap: .875rem;
    display: flex;
    position: relative;
}


/* TODO: merge with digiteers */

@media only all and (max-width: 36em) {

    .digiteers-container {
        margin: 0 0.5rem;
    }
}


/* FIXME: Find better solution */
.first_list__element {
    margin-top: 0 !important;
}

.data-list__entity.wrapper--accordion.hidden+.data-list__entity.wrapper--accordion[data-filtered=true],
.data-list__entity.wrapper--accordion.hidden+.data-list__entity.wrapper--accordion /*digiteers__entity*/ {
    margin-top: 0;
}

/* exception for hidden entries by filter */

.data-list__entity.wrapper--accordion.hidden[data-filtered=false]+.data-list__entity.wrapper--accordion /*digiteers__entity*/ {
    margin-top: -1.5rem /*-1/2*$gap-h*/;
}

@media only all and (min-width: 46em) {
    .data-list__entity.wrapper--accordion.hidden[data-filtered=false]+.data-list__entity.wrapper--accordion /*digiteers__entity*/ {
        margin-top: calc(-25 / 24* 3rem) /*$gap-h*/;
    }
}

.data-list__entity.wrapper--accordion.hidden[data-filtered=false]+.data-list__entity.wrapper--accordion[data-filtered=true]:only-of-type,
.data-list__entity.wrapper--accordion.hidden[data-filtered=false]:first-of-type+.data-list__entity.wrapper--accordion {
    margin-top: 0;
}


/* Filter */

.wrapper--filter {
    padding-bottom: 0;
    background-color: #efefef;
    border-radius: 0.5rem;
}

.button--filter {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    width: 100%;
    min-width: fit-content;
    .icon {
        fill: #fff;
        height: 1.25rem;
        width: 1.25rem;
    }
    .icon--toggle {
        background: none;
        position: unset;
    }
}

.button--filter[aria-expanded=true] {
    .icon--toggle {
        transform: rotate(180deg);
    }
}

.wrapper--filterbar {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    column-gap: 2rem;
    padding: 0 0 1rem 0;
}

.wrapper--searchbar {
    display: block;
    height: 5rem;
    width: 100%;
    .input__label {
        width: 100%;
    }
    .input--basic {
        width: calc(100% - 1.25rem);
        padding: 0.5rem 0.5rem;
        line-height: 1.25;
    }
    .button--search {
        position: relative;
        top: -2.35rem;
        left: calc(100% - 3.25rem);
        scale: 0.9;
    }
}

.searcharea__button {
    padding: 0.5rem 0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.searcharea__filters--selected-container {
    background-color: #efefef;
    border-radius: 0 0  0.5rem 0.5rem ;
    padding: 0.5rem 0.75rem 0.25rem 0.75rem;
    margin-top: -0.5rem;
}

.searcharea__filters--selected {
    border-top: 0.125rem solid #ccc;
}


@media only all and (min-width: 46em) {
    .button--filter {
        width: fit-content;
        justify-content: space-between;
    }

    .wrapper--searchbar {
        display: block;
        width: 100%;
        .input__label {
            width: 100%;
        }
        .input--basic {
            line-height: 1.5;
        }
    }
}


/* Image Crop Modal */

#preview_crop {
    overflow: hidden;
    width: 20em;
    height: 20em;
    margin-left: 1em;
    border: 2px solid black;
}

#image_crop {
    max-height: 35em;
}

.ui-dialog {
    border-radius: 0.5rem;
}

.ui-dialog  .ui-dialog-title {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem 0;
    width: 100%;
    font-weight: normal;
}
}
