.input-group-text {
    border-bottom: 2px solid;
    border-radius: 3px 0 0 0;
    border-left: none;
    border-top: none;
}

.mintkurse-bild img{
    max-width: 100%;
    height: auto;
}

.bw-mintkurse-gradient{
    background: linear-gradient(114deg, #fffc00, #F2EE00);
    color:#000;
}

/*BW Multiselect*/
.bw-ms-container {
    border-bottom: 2px solid;
}

.bw-ms-checkbox-group {
    max-height: 150px;
    overflow-y: auto;
    padding:.5rem;
    background-color: #f4f3f1;
}

.bw-ms-checkbox-item {
    margin-bottom: .5rem;
}
.bw-ms-checkbox-item label {
    display: inline;
}

.bw-ms-selected-options {
    margin-top: 1rem;
    padding: .5rem;
    border-radius: .25rem;
}

.bw-ms-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: .5rem;
    border-bottom: 1px solid;
    margin-bottom: .5rem;
}

.ck-editor__editable {
    min-height: 240px;
}


/*Accessible MultiSelect*/
.checkbox-mixed ul.checkboxes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkbox-mixed ul.checkboxes li {
    margin: 0;
    padding: 0;
    padding-left: 15px;
}

.checkbox-mixed [role="checkbox"] {
    border-radius: 3px;
    border: 2px solid #524942;
    margin-right: 0.25rem;
    cursor:pointer;
    float: left;
    margin-left: -1.5em;
    --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    print-color-adjust: exact;
    transition: all 0.2s ease-in-out;
}

.checkbox-mixed [role="checkbox"]::before {
    background-color: #2a2623;
    border-radius: 3px;
    border: 2px solid #524942;
    margin-right: 0.25rem;
}

.checkbox-mixed [role="checkbox"][aria-checked="true"]::before {
    background-color: #2a2623;
    border-color: #2a2623;
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M22.3975 3.7834L9.4868 21.4302L1.59497 15.161L2.839 13.595L9.10141 18.5698L20.7834 2.60248L22.3975 3.7834Z' fill='white'/%3e%3c/svg%3e");
}

.checkbox-mixed [role="checkbox"][aria-checked="mixed"]::before {
    background-color: #2a2623;
    border-color: #2a2623;
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='4' y1='12' x2='20' y2='12' stroke='white' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e");
}


input.form-check-input[type="checkbox"][aria-checked="mixed"]:hover {
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='4' y1='12' x2='20' y2='12' stroke='white' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e");
    background-color: #e4e1dc;
    border-color: #524942;
}

input.form-check-input[type="checkbox"][aria-checked="mixed"] {
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='4' y1='12' x2='20' y2='12' stroke='white' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e");
    background-color: #2a2623;
    border-color: #2a2623;
}

.checkbox-mixed input:focus,
.checkbox-mixed [role="checkbox"] {
    outline: none;
}

.checkbox-mixed label.focus,
.checkbox-mixed label:hover {
    cursor: pointer;
}


/**
fix height of image in mintkurse
 */
.max-height-cover{
    max-height: 230px;
    object-fit: cover;
}

/**
    MS
 */
.bw-ms-wrapper {
    position: relative;
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    display: none;
}

.multiselect-dropdown.show {
    display: block;
}

.multiselect-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.15s ease-in-out;
}

.multiselect-option:hover,
.multiselect-option:focus {
    background-color: #f8f9fa;
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

.multiselect-option input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.multiselect-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.form-select[readonly] {
    background-color: #fff;
    cursor: pointer;
}

.form-select[readonly]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/**
 * Advanced Filter Button Arrow Animation
 */
.filter-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.filter-arrow.arrow-up {
    transform: rotate(0deg);
}

.filter-arrow.arrow-down {
    transform: rotate(0deg);
}

#advanced-filter-toggle .filter-arrow {
    font-size: 0.8em;
    font-weight: bold;
}

/**
 * Search Input - Korrekte Hintergrundfarbe wie andere Eingabefelder
 */
#sword,
#sword:focus,
#sword:active,
#sword:hover,
#sword:not(:placeholder-shown),
#sword:valid,
#sword:invalid,
#sword:-webkit-autofill,
#sword:-webkit-autofill:hover,
#sword:-webkit-autofill:focus,
#sword:-webkit-autofill:active {
    background-color: #f4f3f1 !important;
    -webkit-box-shadow: 0 0 0 1000px #f4f3f1 inset !important;
    box-shadow: none !important;
}

/**
 * Search Clear Button - Dunkelgrauer Hintergrund wie SVG
 */
#resetButton.search__close {
    background-color: #cbc6bd !important;
    border: 1px solid #cbc6bd !important;
    border-radius: 0.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin-right: 8px;
}

#resetButton.search__close[style*="display: none"] {
    display: none !important;
}

#resetButton.search__close:hover {
    background-color: #b8b3aa !important;
}

#resetButton.search__close .bw-icon {
    color: #2a2623 !important;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-top: -1px;
}

/**
tag-cloud
 */
.cloud-container {
    text-align: center;
    margin: 0 auto;
}
.cloud-row {
    margin-bottom: 10px;
}
.cloud-row-1 { padding: 0 140px; }
.cloud-row-2 { padding: 0 30px; }
.cloud-row-3 { padding: 0 100px; }

.tag, .tag:hover {
    color: #49413c !important;
}

.btn.tag, .frame-type-felogin_login input.tag[type="submit"], .tag.cc-btn, .page-item.previous .tag.page-link, .page-item.next .tag.page-link, .page-item.page-item-previous .tag.page-link, .page-item.page-item-next .tag.page-link {
    background-image: none !important;
    background: #f4f3f1;
    background-color: rgb(244, 243, 241);
    background-image: none;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    outline: 1px solid #2a2623;
    text-decoration: none;
    position: relative;
    margin: 0.5rem 0.625rem;
    padding: 4px 8px;
    font-weight: 400;
    line-height: 1.4;
}

.btn.tag:hover,input.tag[type="submit"]:hover, .tag.cc-btn:hover, .page-item.previous .tag.page-link:hover, .page-item.next .tag.page-link:hover, .page-item.page-item-previous .tag.page-link:hover, .page-item.page-item-next .tag.page-link:hover, .btn.tag:focus, .frame-type-felogin_login input.tag[type="submit"]:focus, .tag.cc-btn:focus, .page-item.previous .tag.page-link:focus, .page-item.next .tag.page-link:focus, .page-item.page-item-previous .tag.page-link:focus, .page-item.page-item-next .tag.page-link:focus {
     background-color: #fffc00;
     outline: 2px solid #2a2623;
 }

.mint-angebote .bw-teaser .bw-teaser-footer.card-footer .bw-teaser-hashtags .bw-teaser-hashtag{
    margin-top: 0;
    margin-bottom: 0;
}


.mint-angebote .bw-teaser .bw-teaser-footer.card-footer .bw-teaser-hashtags .bw-teaser-hashtag .bw-teaser-hashtag-link{
    height:auto;
}

.bw-teaser .frame-background-bw-emphasis .bw-teaser-footer.card-footer .bw-teaser-hashtags .bw-teaser-hashtag .bw-teaser-hashtag-link{
    color: #000;
    background-color: #fffc00;
}
.bw-teaser .frame-background-bw-emphasis .bw-teaser-footer.bw-teaser-hashtags .bw-teaser-hashtag .bw-teaser-hashtag-link:not([disabled]):hover, .bw-teaser .bw-teaser-footer.card-footer .bw-teaser-hashtags .bw-teaser-hashtag .bw-teaser-hashtag-link:not([disabled]):focus {
    background-color: #2a2623;
    color: #fff;
    border: 2px solid #fffc00;
}
.mint-angebote .frame-background-bw-emphasis .uni-label *
{
    font-weight: bold;
    color:#000 !important;
}
.bw-teaser.tt .bw-teaser-badge {
    top: inherit;
    right:inherit;
}

.image-preview img {
    max-width: 100%;
    height: auto;
}


@media(min-width: 68.125em) {
    .backendlayout-landesportal_start .section.section-default.section-main .frame-container.frame-container-default:not(.contentcontainer *) {
        max-width: 1230px !important;
    }
}
