body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}

#seite {
    text-align: left;
    width: 100%;
    margin: 0;
    color: #000;
    height: 100%;
    font-size: 12px;
    border: 0;
}

footer {
    color: #acacac;
    background-color: #3a434d;
}

.social-icons svg {
    max-width: 25px;
    margin-right: 5px;
}

svg:not(:root) {
    overflow: hidden;
}

.fill-color {
    fill: #acacac;
}

footer .foo-info {
    border-left: 1px solid #707070;
    padding: 0 0 0 20px;
    margin: 0 0 0 20px;
}

.image-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    width: 100%;
    height: auto;
}

.content-box {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0px ;
    top: 63%;
    left: 0;
    transform: translate(0, -50%);
    text-align: center;
    width: 100%;
  }

#contact_form input {
    background-color: rgb(245, 245, 245);
    border: 1px;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
}

#contact_form textarea {
    background-color: rgb(245, 245, 245);
    border: 1px;
    padding-left: 10px;
    padding-top: 15px;
    width: 100%;
}

.contact .row>.col-lg-9:first-child,
.contact .row>.col-lg-3:first-child {
    padding-right: 0;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    margin: 5%;
}

.circle-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapper .gallery-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wrapper .gallery-container ul li img {
    display: block;
    height: auto;
    max-width: 100%;
}

.gallery-container ul.mosaic-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.gallery-container ul.mosaic-gallery li {
    background-position: center center;
    background-size: cover;
    flex: auto;
    height: 15vw;
    margin: 0 0.5rem 1rem;
    max-height: 10rem;
    overflow: hidden;
}

.gallery-container ul.mosaic-gallery li img {
    height: 100%;
    opacity: 0;
}

.gallery-image-delete {
    display: none;
}

.ekko-lightbox-nav-overlay a span {
    text-align: left;
}

#ContainerFrame {
    width: 100%;
    overflow-x: auto;
    text-align: center;
    position: relative;
}

.organigramm-inner {
    display: inline-block;
    position: relative;
}

.new-container .Box {
    box-shadow: 1px 1px 5px 0px #999 !important;
    border: 1px solid #ccc !important;
}

.login-circle{
    border-radius: 50%;
    display: inline-block;
}

.login-circle-small {
    width: 12px;
    height: 12px;
    position: relative;
    top: -4px;
}

.login-circle-big {
    width: 23px;
    height: 23px;
    border-width: 1px;
    border-style: solid;
}

.footer-sticky {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: left;
    z-index: 999;
}

.service-box .card{
    border: 0;
}

.dropdown-toggle::after {
    display: none;
}

.main-navigation li.nav-item a{
    font-size: 12px;
}

.main-navigation li.nav-item a:hover{
    background-color: transparent;
}

.contact-button {
	width: 200px;
    background-color: #0d9ed6;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 14px 6px;
    text-align: center;
    transition-duration: 0.2s;
    transition-property: background-color;
    transition-timing-function: linear;
    height: 40px;
}

div.Gruppe_Label{
    border: 0 !important;
}

.Box hr, .p-hr{
    display: none !important;
}

.Box{
    text-align: left !important;
}

.custom-col {
    float: left;
    padding: 10px;
}

.post-edit-button  a img{
    min-width: 100%;
}

.aspect-4-3 {
    position: relative;
    width: 100%;
    padding-top: 75%;
}

.aspect-4-3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.field-label {
    width: 150px;
    font-weight: 500;
    padding-right: 8px;
}

.field-value {
    width: 200px;
}

.w-650{
    width: 350px;
}

.personal_material_image{
    min-width: 200px;
    width: 100%;
}

div.year_selector a {
    cursor: pointer;
    color: #0d9ed6 !important;
}

.programm-listing-rows {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-top: 10px;
}

.programm-month {
    position: sticky;
    top: -10px;
    background: white;
    z-index: 2;
    padding: 4px 8px;
    border: 0 !important;
}  

.programm-listing-rows .list-group-item{
    border: 0;
    padding: .32rem .75rem;
}

.pdf-invitation {
    width: 23px;
}

.clear{
    clear: both;
}

.personal-container {
    margin: 2rem;
}

.personal-category {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.personal-category-title {
    font-weight: bold;
    margin-bottom: 1rem;
}

.personal-card {
    border: 1px solid #f8f9fa;
    padding: 0.25rem;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.personal-image-container {
    margin-bottom: 0.5rem;
    position: relative;
    color: #333;
}

.personal-image {
    width: 100%;
    object-fit: cover;
}

.personal-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.personal-info {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.personal-category-title-styled {
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
}

.personal-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Video Popup Styles */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-popup-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 150px;
    height: 200px;
    cursor: default;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.video-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.video-popup-close:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.video-popup-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}