.gap-20 {
    gap: 20px;
}

.btn-shadow {
    overflow: hidden;
    background-color: var(--color-background-tile);
    border-radius: var(--options-container-border-radius);
    box-shadow: var(--options-effect-box);
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 20px;
}

/*
fixes non clickable slider elements because of interactivity none.  
*/
.kf-carousel-card, .kf-carousel-card .carousel-card-content {
    interactivity: auto !important;
	pointer-events: auto !important;
}
.ultimate-renderer-layout--child-wrapper img {
    border-radius: 10px;
}
.opener-schraeg img {
    border-radius: 0;
}

/* fixes too much left-margin for checkmarks */
ul.checked li:before {
 left: -30px !important;
}
ul.checked li {
 margin-left: 10px;
}


/* Startseite Neuer Internetauftritt Meldung Fix  */
@media (max-width: 1023px) {
  .mob-margin-fix {
    margin-top: -100px;
  }
}

.margin-top-minus40 {
margin-top: -40px !important;
}
.margin-bottom-minus40 {
margin-bottom: -40px !important;
}
.margin-bottom-minus50 {
margin-bottom: -50px !important;
}

/* Fixes OKP Bug 50-50 dark Teaser where text is black instead of white */
.kf-bg-primary [data-automation-id="ultimate-renderer-teaser-5050-text-container"] p {
    color: white;
}



.custom-color-blue {
color: rgb(0,45,103) !important;
}

.custom-bold {
 font-weight: 700; 
}

/* Fixes mobile nav contact box position */
.bm-nav-content {
    height: fit-content !important;
}

.bm-sub-nav-content {
    height: fit-content !important;
}

.bm-nav-content hra-main {
    margin-bottom: 24px !important;
    display: block;
}

/* Fixes empty Inhaltsfragmente that has been deleted, but will be shown empty in frontend*/
.col-lg-3:has(okp-visual-teaser .text.line-clamp:empty) {
    display: none !important;
}


/* START STICKY NAV */
/* Global styles for the sticky bar and tab links */
.sticky-bar .nav-wrapper :after {
  content: "";
  width: 100%;
  height: 3px !important;
  background-color: transparent !important;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.sticky-bar .mat-mdc-tab-links {
  border: 0px !important;
}

.sticky-bar .mat-mdc-tab-links {
  border: 0px !important;
}

/* Styles for tabs inside the sticky bar */
.sticky-bar.container-fluid nav .mat-mdc-tab-links .d-flex div {
  padding-right: 15px;
  padding-left: 15px;
}

.sticky-bar.container-fluid nav .mat-mdc-tab-links .d-flex .mdc-tab--active {
  background-color: var(--state-default-hover);
}

.sticky-bar.container-fluid nav .mat-mdc-tab-links .d-flex > div:not(:last-child) {
  border-right: 1px solid #e1dcdc !important;
}

/* Styles for the first tab link */
.sticky-bar.container-fluid nav .mat-mdc-tab-links > .d-flex:first-child {
  border: 2px solid rgb(0, 102, 179) !important;
  border-radius: 22px;
  padding-left: 0px;
  padding-right: 10px;
  box-sizing: border-box;
  padding-bottom: 0px !important;
}

.sticky-bar.container-fluid nav .mat-mdc-tab-links > .d-flex:first-child {
  border: 2px solid rgb(0, 102, 179) !important;
  border-radius: 22px;
  padding-left: 0px;
  padding-right: 10px;
  box-sizing: border-box;
  padding-bottom: 0px !important;
}

.sticky-bar.container-fluid nav .mat-mdc-tab-links .d-flex > div:first-child {
  padding-left: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.sticky-bar.container-fluid nav .mat-mdc-tab-links .d-flex > div:first-child .mdc-tab-indicator__content--underline {
  margin-left: 10px !important;
}

/* Styles for the sticky bar when its active (with the sticky class) */
.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex {
  border: 2px solid transparent !important;
}

.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex {
  padding-left: 0px;
}

.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex {
  border: 2px solid transparent !important;
}

.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex > div:first-child {
  border-left: 1px solid #e1dcdc !important;
  padding-left: 15px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex > div:first-child .mdc-tab-indicator__content--underline {
  margin-left: 0px !important;
}

.sticky-bar.container-fluid.sticky nav .mat-mdc-tab-links .d-flex > div:last-child {
  border-right: 1px solid #e1dcdc !important;
}

/* Styles for the CTA area */
.cta-wrapper.d-flex.align-items-center.ng-star-inserted {
  padding: 5px 0px 0px 0px !important;
}
.sticky-bar.container-fluid .cta-wrapper.d-flex.align-items-center {
  padding: 0px 0px 0px 0px !important;
}
.sticky-bar.container-fluid.sticky .cta-wrapper.d-flex.align-items-center {
  padding: 5px 0 0px 0px !important;
}
.sticky-bar.container-fluid .mat-mdc-tab-links {
    align-items: center !important;
}
.sticky-bar.container-fluid.sticky .mat-mdc-tab-links a {
    max-height: calc(var(--link-max-width) - 5px) !important;
}
/* END STICKY NAV */