.dropdown-menu {
    --bs-dropdown-link-active-bg: #fed462;
    --bs-dropdown-link-active-color: #441515;
}

body {
    background: #ffffff;
    font-family: "Fira Sans Extra Condensed", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

h1 {
    margin-bottom: 2rem;
}

h2 {
    margin-bottom: 1.5rem;
}

h3 {
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6, nav, footer {
    font-family: "Minion Pro", serif;
}

p {
    font-size: 1rem;
}

.kl-intro {
    font-size: 1.1rem;
    font-weight: 600;
}

.kl-footnote {
    font-size: .8rem;
}


.nav-item.active .nav-link {
    color: var(--bs-navbar-active-color)
}

.kl-wrapper {
    min-height: 100vh;
    display: flex;
     flex-direction: column;
}

.kl-header {
    display: flex;
    flex-direction: column;
    background-color: #fdecac;
}

.kl-navbar {
    background: #fed462;
    color: #441515;
}

.kl-navbar .nav-item.dropdown {
  position: relative;
  padding-right: 1rem;
}

.kl-navbar .dropdown-toggle-split {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.kl-navbar .dropdown-toggle-split::after {
  margin-left: 0;
}

.navbar-brand img {
    transform-origin: left;
    transform: scale(1.5);
}

@media (max-width: 991.99px) {
.navbar-brand {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.navbar-brand img {
    margin-right: .5rem;
}
}

.kl-header .header-image-wrapper {
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
}

.kl-header .header-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 992px) {
   .kl-header .header-container {
       order: -1;
   } 
}

@media (max-width: 576.99px) {
    .kl-header .header-container {
       padding-left: 0;
       padding-right: 0;
   } 
}

.kl-subheader {
    background-color: #fed462;
    color: #441515;
}

.kl-subheader img {
    max-width: 100%;
}

.kl-subheader h1 {
    margin-bottom: .5rem;
}


.kl-subheader h3 {
    margin-bottom: 0;
}

.kl-content {
    flex: 1;
}

.kl-content img {
    max-width: 100%;
}

.kl-headline {
    flex: 1;
      min-width: 0;
}

p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .kl-headline .subline {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .kl-headline .headline {
        margin: 0;
        font-size: 1rem;
        font-weight: bold;
        
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .kl-headline .subline {
        font-size: 1.5rem;
    }
}

.kl-logo {
    height: 40px;
}


@media (min-width: 992px) {
   .kl-logo {
        height: 100px;
    }
    .kl-navigation .container {
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .kl-navigation {
        background-color: #ffd269;
        padding-bottom: 1rem;
    }
}

.kl-navigation ul {
    list-style-type: none;
    font-size: 1.25rem;
    padding-left: 0;
}

.kl-navigation ul ul {
    display: none;
    padding-left: 1.5rem;
}

.kl-navigation ul .active ul {
     display: block;   
}

.kl-navigation a {
    color: #441515;
    text-decoration: none;
    display: block;
    margin-bottom: .5rem;
}

.kl-navigation .active > a {
    font-weight: bold;
}

.kl-navigation a:hover {
    text-decoration: underline;
}

.kl-search  {
    display: flex;
}

.kl-search input {
    background-color: #fcc113;
    border-radius: 0;
    border: none;
}

.kl-search button {
    border-radius: 0;
    background-color: #441515 !important;
    color: #fff !important;
    border: none;
}

.kl-search .search-icon {
    width: 1rem;
}

.kl-search button:hover {
    background-color: #000 !important;
}

.kl-footer {
    background: #ffd269;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.kl-footer a {
    color: #441515;
    text-decoration: none;
}

.kl-footer-item {
    display: block;
    text-align: center;
}

@media (min-width: 576px) {
    
    .kl-footer-inner {
        display: flex;
        justify-content: center;
    }
    
    .kl-footer-item {
        padding: 0 1rem;
        position: relative;
    }
    
    .kl-footer-item:not(:last-child):after {
        content: "|";
        position: absolute;
        right: 0;
    }
}

.kl-footer .container {
    display: flex;
    row-gap: 1rem;
    flex-direction: column;
}

@media (min-width: 992px) {
    .kl-footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
}


.kl-footer-copyright {
    text-align: center;
}

.kl-footer-jumpmark {
    text-align: center;
}


.kl-footer a:hover {
    text-decoration: underline;
}


.kl-panel {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.kl-panel-dark + .kl-panel-dark, .kl-panel-light + .kl-panel-light {
    padding-top: 0;
}

.kl-panel-light {
    background-color: #fff;
}

.kl-panel-dark {
    background-color: #fff6e0;
}

.kl-caption {
    margin-top: .25rem;
    text-align: left;
    font-family: "Minion Pro", serif;
    font-size: .9rem;
    font-style: italic;
}

.kl-collapse-container:not(.open) .kl-line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.kl-collapse-container.open .kl-expand {
    display: none;
}

.kl-content {
}

.kl-content a {
    color: #441515;
    text-decoration: underline;
}

/* Sidebar */

.sidebar {
    pointer-events: none;
}

.sidebar .position-sticky {
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        padding: 66px 0 0;
        width: 100%;
        z-index: 600;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

/* Banner */

.kl-banner {
    background-color: #ffd269;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.kl-banner :last-child {
    margin-bottom: 0;
}

/* Tile */

.kl-tile {
    height: 100%;
    background-color: #fdecac;
    display: flex;
    flex-direction: column;
}

.kl-tile .tile-image {
    width: 100%;
    height: 0;
    padding-bottom: 66.666%;
    background: #000;
    position: relative;
}

.kl-tile .tile-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.kl-tile .tile-content {
    padding: 1rem 1rem 2rem;
    position: relative;
    color: #441515;
}

.kl-tile h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.kl-tile .tile-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.kl-tile .tile-more {
    position: relative;
    flex: 1;
}

.kl-tile .tile-more a {
    font-weight: bold;
    text-decoration: none;
    bottom: 1rem;
    right: 1rem;
    position: absolute;
}

.kl-tile .tile-more .todo {
    text-decoration: none;
    bottom: 1rem;
    right: 1rem;
    position: absolute;
}

.kl-tile .tile-more:hover {
    text-decoration: underline;
}

/* Suche */

.simplesearch-results {
    text-align: center;
    font-size: 2rem;
}

.simplesearch-paging {
    display: none;
}

/* Gallery */

.kl-album-list {
    
}

.kl-album {
    
}

.kl-album + .kl-album-list {
    display: none;
}

.album {
    display: flex;
    gap: 1rem;
}

.album-text {
    flex: 1;
}

.album-nested {
    list-style-type: none;
    padding: 0;
}

.album-nested li {
    display:inline;
}

.album-nested li:not(:last-child):after {
    content: ", ";
}

.album-thumbnails {
    margin-bottom: 1rem;
    display: grid;
    grid-gap: 1rem 1rem;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 576px) {
    .album-thumbnails {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .album-thumbnails {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .album-thumbnails {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

.album-thumbnails .gal-item {
    float: none;
    padding: 0;
    border: none;
    margin: 0;
}

.album-thumbnails .gal-item a, .album-image img {
    display: block;
    border: 2px solid #fcc113;
}

.album-thumbnails .gal-item a:hover {
    border-color: #441515; ;
}

.album-thumbnails .gal-item img {
    width: 100%;
}

/* CMS */

.image-right, .image-left {
    display: block;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .image-right {
        float: right; 
        margin-left: 1.5rem; 
    }
    .image-left {
        float: left; 
        margin-right: 1.5rem; 
    }
}

.image-4-3 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-color: rgba(0,0,0,.5);
    padding: .75rem 1rem;
}