body {
    margin: 0;
    font-family: Arial, sans-serif;
}

a {
    color: #758ba4;
}

#top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 58px;
    color: #000;
    z-index: 300;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px gray;
    background: #293b50; /*#758ba4;*/
}

.social {
    display: flex;
    float: right;
    padding-right: 2%;
    padding-top: 5px;
    align-items: center;
    z-index: 1
}

.social-mobile {
    background: #758ba4;
    float: unset !important;
    display: none !important;
    margin-top: 15px !important;
    padding-right: unset !important;
    padding-left: 22px;
    position: fixed !important;
    bottom: 0px !important;
    left: 0px !important;
    width: 158px;
}

.site-title {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.5em;
    font-weight: bold;
    padding-left: 32px;
    letter-spacing: 1px;
    color: white;
}

.site-title div {
    display: flex;
    height: 100%;
}

[class^="site-text_"] {
    display: flex;
    position: absolute;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* SIDEBAR STYLES */
#sidebar {
    position: fixed;
    left: 0;
    top: 58px;
    width: 250px;
    height: calc(100vh - 58px);
    min-height: 0;
    background-color: #000000;
    color: #fff;
    z-index: 300;
    overflow-y: auto;
    box-sizing: border-box;
}
.menu {
    list-style: none;
    margin: 0;
    padding: 28px 0 0 0;
}

.category-lonelyheader {
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.category-header {
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.category-header::after {
    content: '▼';
    float: right;
    font-size: 0.8em;
    transition: transform 0.2s;
    display: block;
}

.menu-category.closed .category-header::after {
    transform: rotate(-90deg);
}
.submenu {
    display: block;
    /*background: #2b2b2b;*/
    margin: 0;
    padding: 0 0 0 24px;
    overflow: hidden;
    transition: max-height 0.3s;
}
.submenu li {
    list-style: none;
    padding: 10px 0 10px 18px;
    position: relative;
    cursor: pointer;
}

.menu-category {
    position: relative;
}

.submenu li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 8px;
    height: 8px;
    background: #758ba4;
    border-radius: 50%;
}
    
.menu-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    width: 8px;
    height: 8px;
    background: #758ba4;
    border-radius: 50%;
}

.sidebar-image-container {
    display: block;
    justify-content: center;
    align-items: center;
    padding: 18px 0 12px 0;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-image-container img {
    width: 80%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 8px #00000055;
}

.sidebar-image-container div {
    text-align: center;
}

/* MAIN CONTENT STYLES */
main#main-content {
    position: relative;
    top: 58px;
    margin-left: 250px;
    padding: 35px 0px 20px 0px;
    min-height: calc(100vh - 113px); /* 58 + 35 + 20) */
    background: #fff;
}

main#main-content h2 {
    margin-top: 0px;
}

.html-wrapper {
    margin: 0px 20px 0px 20px;
}

.float-img-right {
    width: 50%;
    float: right;
    padding: 0px 20px 0px 20px;
    text-align: center;
}

.float-img-right img, .float-img-right video {
    width: 100%;
    min-width: 100%;
    border: 3px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
}

.float-img-right span {
    width: 90%;
    display: inline-block;
    padding-bottom: 20px;
}

.float-img-left {
    width: 50%;
    float: left;
    padding: 0px 30px 0px 20px;
    text-align: center;
}

.float-img-left img {
    width: 100%;
    min-width: 100%;
    border: 3px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
}

.float-img-left span {
    width: 90%;
    display: inline-block;
    padding-bottom: 20px;
}

/* MOBILE STYLES */
.mobile-header {
    display: none;
    background: #293b50;
    box-shadow: 0 2px 6px gray;
    color: #fff;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 0px 9px 12px;
    height: 40px;
    position: fixed;
    width: calc(100vw - 12px); 
    z-index: 350;
    top: 0;
    left: 0;
}

#mobile-menu-btn {
    font-size: 1.8em;
    background: none;
    border: none;
    color: #fff;
    margin-right: 12px;
    cursor: pointer;
}

.mobile-title {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    font-size: 1.15em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 4px;
    white-space: nowrap;
}

.mobile-title div {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    white-space: wrap;
}

.mobile-title span {
    display: flex;
    position: absolute;
    align-items: center;
    height: 100%;
}

.bilderrahmen-wrapper {
    background-color: rgba(0, 0, 0, 0.90) !important;
}

.bilderrahmen--image-img {
    max-height: 90vh !important;
}

.br-item {
    display: inline-block;
    text-align: center;
    margin: 5px;
}

.br-item figcaption {
    font-size: 0.8em;
    margin-top: -3px;
}

.gallery img {
    height: 150px;
    border: 1px solid #ccc;
}

.bullet_link {
    font-size: 1.05em;
    line-height: 1.75;
}

/* Responsive for Mobile */
@media (max-width: 800px) {
    #top-header { 
        display: none; 
    }
    
    .mobile-header { 
        display: flex; 
    }
    
    .html-wrapper {
        margin: 0px 14px 0px 14px;
    }
    
    #sidebar {
        width: 180px;
        /*max-width: 80vw;*/
        left: 0;
        height: calc(100dvh - 58px);
    }
    
    .menu {
        padding: 20px 0 0 0;
    }
  
    #sidebar:not(.active) {
        display: none;
    }
    
    .submenu {
        display: none !important;
    }
    
    main#main-content {
        margin-left: 0;
        padding: 30px 0px 20px 0px;
        min-height: calc(100vh - 58px);
    }
    
    .float-img-left {
        width: 50% !important;
        padding: 0px 9px 0px 14px;
    }
    
    .float-img-right {
        width: 50% !important;
        padding: 0px 14px 0px 9px;
    }
    
    .float-vid-right {
        width: 100% !important;
        margin-top: -30px;
        padding: 0 !important;
    }
    
    .float-vid-right video {
        width: 100% !important;
        border: unset;
        border-radius: unset;
    }
    
    .gallery {
        text-align: center;
    }
    
    .gallery img {
        height: 75px;
    }
    
    .gallery figure {
        width: 102px;
        height: 120px;
        vertical-align: top;
    }
    
    .menu-category::before {
        display: block;
        left: 5px;
    }
    
    .category-header::after {
        display: none;
    }
    
    .social-mobile {
        display: inline-flex !important;
    }
}

.footer {
    text-align: center;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    justify-content: center;
}

.footer-links li + li::before {
    content: "";
    margin-right: .75rem;
}



