.breadcrumb-item + .breadcrumb-item:before {
    -webkit-mask-image: url("lgrb_assets/bw-chevron-right-line.svg");
    mask-image: url("lgrb_assets/bw-chevron-right-line.svg");
}

footer #scrollTopBtn {
    background-image: url(lgrb_assets/bw-arrow-up-line.svg);
}

.ext:before {
    -webkit-mask-image: url(lgrb_assets/bw-square-arrow-top-right-line.svg);
    mask-image: url(lgrb_assets/bw-square-arrow-top-right-line.svg);
}

a[href*="lgrb-bw.de"].ext:before {
    -webkit-mask-image: url(lgrb_assets/bw-arrow-up-right-line.svg);
    mask-image: url(lgrb_assets/bw-arrow-up-right-line.svg);
}

.lead a:not(.lpb-btn--add).ext:before,
.lead .ext:before,
.paragraph--type--text a:not(.lpb-btn--add).ext:before,
.paragraph--type--text .ext:before {
    -webkit-mask-image: url(lgrb_assets/bw-square-arrow-top-right-line.svg);
    mask-image: url(lgrb_assets/bw-square-arrow-top-right-line.svg);
}

.lead a[href*="lgrb-bw.de"].ext:before,
.paragraph--type--text a[href*="lgrb-bw.de"].ext:before {
    -webkit-mask-image: url(lgrb_assets/bw-arrow-up-right-line.svg);
    mask-image: url(lgrb_assets/bw-arrow-up-right-line.svg);
    width: 1.25em;
    height: 1.25em;
    left: 0;
    top: 0.125em;
}

.card.icon-teaser {
    border: 1px solid #2A2623;
    background-color: transparent;
    padding: 10px;
}

.card.icon-teaser:hover {
    outline: 1px solid #2A2623;
    border-color: #2A2623;
}

.icon-teaser > .card-footer {
    background-color: transparent;
}

.icon-teaser .card-link {
    font-size: 18px;
}

.icon-teaser-text {
    /*font-family: "BaWueSerif", Georgia, "Times New Roman", Times, serif;*/
    font-size: 24px;
}

.icon-teaser-icon {
    background-color: var(--bs-yellow);
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    padding: 8px;
    display: flex;
}

.card .card-footer a:not(.ext):before, .form-type-managed-file .card-footer a:not(.ext):before, .form-item-upload .card-footer a:not(.ext):before, fieldset.form-item .card-footer a:not(.ext):before, .view-media-library .media-library-views-form .media-library-item--grid .views-field-rendered-entity .card-footer a:not(.ext):before, .media-library-selection .media-library-item.media-library-item--grid .card-footer a:not(.ext):before {
    -webkit-mask-image: url(lgrb_assets/bw-arrow-right-line.svg);
    mask-image: url(lgrb_assets/bw-arrow-right-line.svg);
}

.supertitle {
    font-family: "BaWueSansWeb", Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    display: block;
    margin-bottom: 15px;
}

.paginate_button {
    display: inline-block;
    border: 1px solid transparent !important;
    height: 40px !important;
    margin: 5px !important;
    box-shadow: none !important;
    padding-top: 5px !important;
    text-align: center !important;
    line-height: 30px !important;
    font-size: 16px !important;
    border-radius: 3px !important;
    font-weight: 700;
    cursor: pointer;
}

.paginate_button:hover {
    text-decoration: underline !important;
}

.paginate_button.current {
    border: 1px solid black !important;
    min-width: 40px !important;
    background-color: rgb(203, 198, 189) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.paginate_button.previous, .paginate_button.next {
    border: 1px solid black !important;
    min-width: 100px !important;
    font-weight: 700;
    text-decoration: none !important;
    background-color: white !important;
}

.paginate_button.previous.disabled, .paginate_button.next.disabled {
    border: 1px solid grey !important;
    color: grey !important;
}

.paginate_button.previous::before {
    content: url(lgrb_assets/bw-chevron-left-line-filled.svg) !important;
    transform: scale(0.7);
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

.paginate_button.next::before {
    content: url(lgrb_assets/bw-chevron-right-line-filled.svg) !important;
    transform: scale(0.7);
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

.paginate_button.previous:hover:not(.disabled), .paginate_button.next:hover:not(.disabled) {
    outline: 1px solid black !important;
}

.dataTables_paginate {
    justify-content: space-between;
    margin-left: -4px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.node--type-person .mail-wrapper a:before {
    content: "";
    background-image: url(/lgrb_assets/bw-email-line.svg);
}

.node--type-person .phone-wrapper a:before {
    content: "";
    background-image: url(/lgrb_assets/bw-call-line.svg);
}

.node--type-person .mail-wrapper a {
    /*font-weight: 700;*/
    border: 0px;
    box-shadow: inherit;
}

.node--type-person .phone-wrapper a {
    /*font-weight: 700;*/
    border: 0px;
    box-shadow: inherit;
}

.node--type-person .mail-wrapper a:hover {
    border: 0px;
    text-decoration-color: currentcolor;
    text-decoration-thickness: auto;
    -webkit-text-decoration-color: #2a2623;
    text-decoration-color: #2a2623;
    text-decoration-thickness: 2px;
    text-underline-offset: .5rem;
}

.node--type-person .phone-wrapper a:hover {
    border: 0px;
    text-decoration-color: currentcolor;
    text-decoration-thickness: auto;
    -webkit-text-decoration-color: #2a2623;
    text-decoration-color: #2a2623;
    text-decoration-thickness: 2px;
    text-underline-offset: .5rem;
}

/**
 * @file
 * Styles for system messages.
 */

.messages {
    padding: 15px 20px 15px 35px; /* LTR */
    word-wrap: break-word;
    border: 1px solid;
    border-width: 1px 1px 1px 0;  /* LTR */
    border-radius: 2px;
    background: no-repeat 10px 17px;  /* LTR */
    overflow-wrap: break-word;
}
[dir="rtl"] .messages {
    padding-right: 35px;
    padding-left: 20px;
    text-align: right;
    border-width: 1px 0 1px 1px;
    background-position: right 10px top 17px;
}
.messages + .messages {
    margin-top: 1.538em;
}
.messages__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.messages__item + .messages__item {
    margin-top: 0.769em;
}
.messages--status {
    color: #2a2623;
    border-color: #f4f3f1 transparent;  /* LTR */
    background-color: #f4f3f1;
}

.messages--warning {
    color: #920303;
    border-color: #ffd9c3 transparent;  /* LTR */
    background-color: #ffd9c3;
    border-radius: 3px;
}

.messages--error {
    color: #a51b00;
    border-color: #f9c9bf #f9c9bf #f9c9bf transparent;  /* LTR */
    background-color: #fcf4f2;
    box-shadow: -8px 0 0 #e62600; /* LTR */
}
[dir="rtl"] .messages--error {
    border-color: #f9c9bf transparent #f9c9bf #f9c9bf;
    box-shadow: 8px 0 0 #e62600;
}
.messages--error p.error {
    color: #a51b00;
}

:root {
   --bs-border-radius: 3px;
}

.form-control:focus-visible, .form-select:focus-visible, .form-control:focus, .form-select:focus {  
  outline: 2px solid #6e0bcc;
  outline-offset: 2px;
  border-color: inherit;
  box-shadow: inherit;
  color: inherit;
}

th:focus-visible, tr:focus-visible {
  outline: 2px solid #6e0bcc;
  outline-offset: 0px;
}

a:focus-visible, .nav-link:focus-visible {
    text-decoration: none;
  outline: 2px solid #6e0bcc;
  outline-offset: 2px;
  border-radius: 2px;
}


.breadcrumb-item a:focus-visible {
    outline-offset: 3px;
}

.btn-close:focus, .btn:focus-visible, .node-preview-container .node-preview-backlink:focus-visible, .button:focus-visible, button.link:focus-visible, #scrollTopBtn:focus-visible {
  outline: 2px solid #6e0bcc;
  outline-offset: 2px;
  box-shadow: none;  
}

.clear-button {
position: absolute;
  right: 1rem;
  top: 2rem;
  height: 2rem;
  width: 2rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  display: none;
  line-height: 1;
  background-color: #cbc6bd;
}

.clear-button:hover {
    background-color: #2A2623;
}

.clear-button::before {
content: "";
  position: absolute;
  -webkit-mask-image: url(lgrb_assets/bw-cross-large-line.svg);
  mask-image: url(lgrb_assets/bw-cross-large-line.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 1rem 1rem;
  mask-size: 1rem 1rem;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: #1b1d21;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
}

.clear-button:hover::before {
  background-color: #fff;
}

.clear-button:focus-visible {
  background-color: #2A2623;
}

.clear-button:focus-visible::before {
  background-color: #fff;
}


a {
  text-decoration: none;
}

main a {
    box-shadow: 0 1px #1b1d21;
}

main .icon-teaser a {
    box-shadow: none;
}

main .icon-teaser a:focus {
  outline-offset: 3px;
}

main .breadcrumb-wrapper a:hover {
    background-color: inherit;
}


main a:hover {
  box-shadow: 0 2px #1b1d21;
  background-color: #FFFC00;
}

.newsletter-breaker a:hover {
  box-shadow: 0 2px #1b1d21;
}

td a:hover {
  box-shadow: none;
  background-color: inherit;
}

#share-dialog .share-links > li > a {
    text-decoration: none;
    box-shadow: none;
}

#share-dialog .share-links > li > a::before{
    webkit-mask-image: none;
    mask-image: none;
    background-color: transparent;
}

#share-dialog .share-links {
    padding-left: 20px;
    padding-right: 20px;
}

#share-dialog .share-links > li {
    padding: 16px;
    border-bottom: 1px solid #cbc6bd;
    width:calc(50% - 10px);
    margin-right: 10px;
    padding-left: 10px;
}

#share-dialog .share-links > li > a:hover {
    box-shadow: 0 2px #1b1d21;
    background-color: transparent;
}

#share-dialog .share-links > li > a.share-facebook {
  background-image: url(lgrb_assets/bw-facebook-logo.svg) !important;
}

#share-dialog .share-links > li > a.share-linkedin {
  background-image: url(lgrb_assets/bw-linkedin-logo.svg) !important;
}

#share-dialog .share-links > li > a.share-twitter {
  background-image: url(lgrb_assets/bw-x-logo.svg) !important;
}

#share-dialog .share-links > li > a.share-xing {
  background-image: url(lgrb_assets/bw-xing-logo.svg) !important;
}

#share-dialog .share-links > li > a.share-mail {
  background-image: url(lgrb_assets/email-fill.svg) !important;
}

#share-dialog .share-links > li > a.share-mastodon {
  background-image: url(lgrb_assets/bw-mastodon-logo.svg) !important;
}

#share-dialog .share-links > li > a.share-bluesky {
  background-image: url(lgrb_assets/bw-bluesky-logo.svg) !important;
}
