.v-divider {
    background: #333;
    width: 1px;
    content: "";
    display:block;
    padding-left: 0;
    padding-right: 0;
    height: 1rem;
    align-self: center;
}

.bg-lightgrey {
    background-color: #f0f0f0;
}

.color-arrow{
fill: #004393;
}



h1, h2, h3, h4 {
 font-weight: 700;
 padding-bottom: 1.2rem !important;
 margin-bottom: 0 !important;

}


p {
    padding-bottom: 1.2rem !important;
    margin-bottom: 0 !important;
}



h1 {
    font-size: 3rem !important;
}

h2 {
    font-size: 2.5rem !important;
}

h3 {
    font-size: 1.8rem !important;
}

h4 {
    font-size: 1.5rem !important;
}

/* Added Bootstrap 5.2+ rounded classes for fallback */
.rounded-top-4 {
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
}

.rounded-bottom-4 {
  border-bottom-left-radius: 1rem !important;
  border-bottom-right-radius: 1rem !important;
}

/* Footer border opacity */
footer .border-white {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

p {
    font-size: 1.1rem;
}

.btn {
    font-size: 1.1rem !important;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 5rem;
}

.lead {
    font-size: 1.3rem;
    color: #004393;
    font-weight: 400;
    padding-top: 0px !important;
    
}


@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }
}

@media only screen and (max-width: 576px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }
}

@media only screen and (max-width: 320px) {
    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    h4 {
        font-size: 0.875rem !important;
    }
}
@keyframes fadeInSlideDown {
    from {
        top    : -100%;
        /* Startet außerhalb des Sichtbereichs oben */
        opacity: 0;
        /* Startet unsichtbar */
    }

    to {
        top    : 26;
        /* Endet am oberen Rand des Fensters */
        opacity: 1;
        /* Endet voll sichtbar */
    }
}


.fixed-top-navigation {
    position        : fixed;
    top             : 0;
    width           : 100%;
    background-color: white;
    animation : fadeInSlideDown 0.4s ease-in forwards;
}


.img-cover {
    object-fit: cover !important; /* Passt das Bild so an, dass es den Container ausfüllt */
}

/* fit cols */
/* Angepasst für Masonry-Layout mit CSS Columns */
.flex-container:not(.flex-list) {
    column-count: 3;
}

.flex-container:not(.flex-list) .col {
    break-inside : avoid;
    /* Verhindert, dass Inhalte zwischen Spalten aufgeteilt werden */
    margin-bottom: 1rem;
    /* Abstand zwischen den Elementen */
    width        : 100%;
}


/* Entferne spezifische Flexbox-Stile, die nicht mit dem Columns-Layout kompatibel sind */
.flex-container:not(.flex-list) .card {
    display: block;
}

.flex-container.flex-list {
    /* Behalte das Flexbox-Layout bei, wenn flex-list aktiv ist */
    display  : flex;
    flex-wrap: wrap;
}

.flex-container.flex-list .col-list {
    flex: 0 0 100%;
    /* Stellt sicher, dass jedes Element die volle Breite einnimmt, wenn flex-list aktiv ist */
}

/* Anpassungen für das Listen-Layout bleiben unverändert */
.flex-container.flex-list .card {
    flex-direction: row;
    align-items   : center;
}

.flex-container.flex-list .display-flex {
    display: flex;
}

.flex-container.flex-list .card-img-top {
    width      : auto;
    max-height : 200px;
    flex-shrink: 0;
}

.flex-container.flex-list .card-img {
    flex: 20%;
}

.flex-container.flex-list .card-body {
    flex: 80%;
}

@media (max-width: 768px) {
    .flex-container:not(.flex-list) {
        display     : block;
        column-count: 1;
        column-gap  : 1rem;
    }

}

.text-grey {
    color: rgb(145, 145, 145);
}

.pt-7 {
    padding-top: 6rem !important;
  }


.portal-header {
    padding-top: 5rem !important;
}

/* .nav-dark-bottom-border {
    border-bottom: 1px solid rgb(193, 193, 193);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
} */

.border-dotted {
    border-style: dotted !important
}

.mhw-bg-grey {
    background-color: #9D9C9C !important;
}

.py-150 {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
  }

  .pb-150 {
    padding-bottom: 150px !important;
  }

  @media (min-width: 768px) {
    .py-md-100 {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
      }
    .py-md-150{
        padding-top: 150px !important;
        padding-bottom: 150px !important;
    }
}

.padding-parallax {
    padding-top: 100px !important;
    padding-bottom: 150px !important;
  }

  @media (min-width: 768px) {
    .padding-parallax {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
      }

}

.blur-effect {
    filter: blur(2px);  /* Der Wert kann angepasst werden, um den Grad der Unschärfe zu ändern */
}

.header-img {
    background-position: bottom;
}

.bg-header-img .bg {
	background-image: url("../img/papenburger-rathaus-mit-holzschiff-friederike-im-vordergrund.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.4;
	background-attachment: fixed;
    filter: blur(5px);  /* Der Wert kann angepasst werden, um den Grad der Unschärfe zu ändern */
}
.bg-member {
	background-image: url("../img/ausblick-auf-die-meyer-werft.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: center;
	opacity: 1;
	position: relative;
}
.bg-news {
	background-image: url("../img/techniker-mit-laptop-in-der-hand.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: center;
	opacity: 1;
	position: relative;
}
.bg-about-us {
	background-image: url("../img/stadtpark-papenburg-mit-blick-ueber-eine-bruecke-in-den-park.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: center;
	opacity: 1;
	position: relative;
}

.bg-events {
	background-image: url("../img/das-heimatmuseum-in-papenburg.webp");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: center;
	opacity: 1;
	position: relative;
}

.overlay-dark {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
	opacity: 0.55;
}
@media all and (max-width: 576px) { 
    .overlay-dark {
        opacity: 0.5;
    }
}

.hero-card {
    width: 80%; /* Breite der Karte */
    left: 10%;  /* Zentriere die Karte horizontal */
    top: 50%;   /* Positioniere die Karte vertikal mittig */
    transform: translateY(-50%); /* Korrigiert die vertikale Positionierung */
    z-index: 1000; /* Stellt sicher, dass die Karte über den Sektionen liegt */
    padding: 20px; /* Innenabstand der Karte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Schatten für die Karte */
    border-radius: 8px; /* Optional: Abgerundete Ecken */
}

.bg-hero-card {
    background-color: #004393b3;
}

.bg-white {
    background-color: #fff;
}

.nav-link {
    position: relative;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 20px;
}

.nav-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 60%; /* Höhe der Linie anpassen */
    background-color: #ccc; /* Farbe der Trennlinie */
    transform: translateY(30%); /* Vertikal zentrieren */
    transition: background-color 0.3s;
}

.nav-link:last-child::after {
    display: none; /* Entfernt die Trennlinie nach dem letzten Element */
}

.nav-link:hover {
    color: #004393b3;
}

.nav-item {
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
    }
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .nav-link::after {
        width: 100%;
        height: 1px;
        left: 0;
        top: auto;
        bottom: 0;
    }
}

.parallax {
    position: relative;
    background-image: url('../img/spaziergaenge-durch-papenburg.jpg');
    /* height: 500px; */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dunkle Opazität */
    z-index: 0;
}

.content {
    position: relative;
    z-index: 2;
}

.animated-words {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Ändere zu flex-end für Rechtsbündigkeit */
    overflow: hidden;
    text-align: right; /* Rechtsbündige Textausrichtung */
    float: right !important;
    line-height: 1;
}

.word {
    font-size: 5rem;
    font-weight: bold;
    color: #004393;
    transform: translateX(100%); /* Ändere die Richtung der Animation */
    opacity: 0;
    animation: slideIn 1s forwards;
    margin-bottom: 1.8rem;
}

@media all and (max-width: 1230px) {
    .word {
        font-size: 3rem;
    }
}

.word:nth-child(2) {
    animation-delay: 0.5s;
}

.word:nth-child(3) {
    animation-delay: 1s;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .word {
        font-size: 3rem;
    }
}


.news-container .news-item {
    display: none;
}

.news-container .news-item.visible {
    display: block;
}

.card-footer.fixed-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#future-events-container .future-event,
#past-events-container .past-event {
    display: none;
}

#future-events-container .future-event.visible,
#past-events-container .past-event.visible {
    display: block;
}

footer a:hover{
    color: #ffc107 !important;
}
footer .list-group-item{
    background-color: transparent;
    padding: 0.3rem 0;
}

.btn-primary:hover{
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-bg);
}

.navbar-toggler{
    border: 0;
}
.navbar-toggler:focus {
    box-shadow: unset;
}

/* Container der Karte */


/* Bild innerhalb der Karte */
.item-organization  {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Fügt ein inneres Padding hinzu */
    background-color: white; /* Optional: Weißer Hintergrund für den Padding-Bereich */
    border-radius: 10px; /* Optional: Abgerundete Ecken */
}

/* Bild selbst */
.item-organization img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Hält das Bild proportional und innerhalb des Containers */
    margin: auto; /* Zentriert das Bild vertikal */
    padding: 30px; /* Abstand innerhalb des Bildcontainers */
}

.hyphens-auto {
    hyphens: auto;
}

span svg, div svg {
    fill-rule: evenodd;
    flex-shrink: 0;
}
span svg path.svg-primary, div svg path.svg-primary {
    fill: #004393;
}
span svg path.svg-secondary, div svg path.svg-secondary {
    fill: #E30613;
}
span svg path.svg-tertiary, div svg path.svg-tertiary {
    fill: #FFED00;
}
span svg path.svg-white, div svg path.svg-white {
    fill: #fff;
}
span svg path.svg-dark, div svg path.svg-dark {
    fill: #222;
}
span.icon, div.icon {
    display: flex;
    justify-content: center;
    align-items: center;
}
span.size-1 svg, span.size-1 img, div.size-1 svg, div.size-1 img {
    width: auto;
    height: 1rem;
}
span.size-1-half svg, span.size-1-half img, div.size-1-half svg, div.size-1-half img {
    width: auto;
    height: 1.5rem;
}
span.size-2 svg, span.size-2 img, div.size-2 svg, div.size-2 img {
    width: auto;
    height: 2rem;
}
span.size-3 svg, span.size-3 img, div.size-3 svg, div.size-3 img {
    width: auto;
    height: 3rem;
}
span.size-4 svg, span.size-4 img, div.size-4 svg, div.size-4 img {
    width: auto;
    height: 4rem;
}
span.size-5 svg, span.size-5 img, div.size-5 svg, div.size-5 img {
    width: auto;
    height: 5rem;
}
span.svg-white svg, div.svg-white svg {
    fill: #fff !important;
}
span.svg-white path, div.svg-white path {
    fill: #fff !important;
}
span.svg-primary svg, div.svg-primary svg {
    fill: #004393 !important;
}
span.svg-secondary svg, div.svg-secondary svg {
    fill: #E30613 !important;
}
span.svg-tertiary svg, div.svg-tertiary svg {
    fill: #FFED00 !important;
}

.border-grey {
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}

/* –––––––––––––––––––––––––––– negativ Spacings –––––––––––––––––––––––––––– */

/* Margin-top negativ */
.mt-n0 {
    margin-top: 0 !important;
}
.mt-n1 {
    margin-top: -0.25rem !important;
}
.mt-n2 {
    margin-top: -0.5rem !important;
}
.mt-n3 {
    margin-top: -1rem !important;
}
.mt-n4 {
    margin-top: -1.5rem !important;
}
.mt-n5 {
    margin-top: -3rem !important;
}
.mt-n6 {
    margin-top: -4rem !important;
}
.mt-n7 {
    margin-top: -5rem !important;
}
.mt-n8 {
    margin-top: -6rem !important;
}
.mt-n9 {
    margin-top: -7rem !important;
}
.mt-n10 {
    margin-top: -10rem !important;
}
/* Margin-bottom negativ */
.mb-n0 {
    margin-bottom: 0 !important;
}
.mb-n1 {
    margin-bottom: -0.25rem !important;
}
.mb-n2 {
    margin-bottom: -0.5rem !important;
}
.mb-n3 {
    margin-bottom: -1rem !important;
}
.mb-n4 {
    margin-bottom: -1.5rem !important;
}
.mb-n5 {
    margin-bottom: -3rem !important;
}
.mb-n6 {
    margin-bottom: -4rem !important;
}
.mb-n7 {
    margin-bottom: -5rem !important;
}
.mb-n8 {
    margin-bottom: -6rem !important;
}
.mb-n9 {
    margin-bottom: -7rem !important;
}
.mb-n10 {
    margin-bottom: -10rem !important;
}

@media (min-width: 500px) {
    /* Margin-top */
    .mt-sm-n0 {
        margin-top: 0 !important;
    }
    .mt-sm-n1 {
        margin-top: -0.25rem !important;
    }
    .mt-sm-n2 {
        margin-top: -0.5rem !important;
    }
    .mt-sm-n3 {
        margin-top: -1rem !important;
    }
    .mt-sm-n4 {
        margin-top: -1.5rem !important;
    }
    .mt-sm-n5 {
        margin-top: -3rem !important;
    }
    .mt-sm-n6 {
        margin-top: -4rem !important;
    }
    .mt-sm-n7 {
        margin-top: -5rem !important;
    }
    .mt-sm-n8 {
        margin-top: -6rem !important;
    }
    .mt-sm-n9 {
        margin-top: -7rem !important;
    }
    .mt-sm-n10 {
        margin-top: -10rem !important;
    }
    /* Margin-bottom */
    .mb-sm-n0 {
        margin-bottom: 0 !important;
    }
    .mb-sm-n1 {
        margin-bottom: -0.25rem !important;
    }
    .mb-sm-n2 {
        margin-bottom: -0.5rem !important;
    }
    .mb-sm-n3 {
        margin-bottom: -1rem !important;
    }
    .mb-sm-n4 {
        margin-bottom: -1.5rem !important;
    }
    .mb-sm-n5 {
        margin-bottom: -3rem !important;
    }
    .mb-sm-n6 {
        margin-bottom: -4rem !important;
    }
    .mb-sm-n7 {
        margin-bottom: -5rem !important;
    }
    .mb-sm-n8 {
        margin-bottom: -6rem !important;
    }
    .mb-sm-n9 {
        margin-bottom: -7rem !important;
    }
    .mb-sm-n10 {
        margin-bottom: -10rem !important;
    }
}

@media (min-width: 768px) {
    /* Margin-top */
    .mt-md-n0 {
        margin-top: 0 !important;
    }
    .mt-md-n1 {
        margin-top: -0.25rem !important;
    }
    .mt-md-n2 {
        margin-top: -0.5rem !important;
    }
    .mt-md-n3 {
        margin-top: -1rem !important;
    }
    .mt-md-n4 {
        margin-top: -1.5rem !important;
    }
    .mt-md-n5 {
        margin-top: -3rem !important;
    }
    .mt-md-n6 {
        margin-top: -4rem !important;
    }
    .mt-md-n7 {
        margin-top: -5rem !important;
    }
    .mt-md-n8 {
        margin-top: -6rem !important;
    }
    .mt-md-n9 {
        margin-top: -7rem !important;
    }
    .mt-md-n10 {
        margin-top: -10rem !important;
    }
    /* Margin-bottom */
    .mb-md-n0 {
        margin-bottom: 0 !important;
    }
    .mb-md-n1 {
        margin-bottom: -0.25rem !important;
    }
    .mb-md-n2 {
        margin-bottom: -0.5rem !important;
    }
    .mb-md-n3 {
        margin-bottom: -1rem !important;
    }
    .mb-md-n4 {
        margin-bottom: -1.5rem !important;
    }
    .mb-md-n5 {
        margin-bottom: -3rem !important;
    }
    .mb-md-n6 {
        margin-bottom: -4rem !important;
    }
    .mb-md-n7 {
        margin-bottom: -5rem !important;
    }
    .mb-md-n8 {
        margin-bottom: -6rem !important;
    }
    .mb-md-n9 {
        margin-bottom: -7rem !important;
    }
    .mb-md-n10 {
        margin-bottom: -10rem !important;
    }
}

@media (min-width: 992px) {
    /* Margin-top */
    .mt-lg-n0 {
        margin-top: 0 !important;
    }
    .mt-lg-n1 {
        margin-top: -0.25rem !important;
    }
    .mt-lg-n2 {
        margin-top: -0.5rem !important;
    }
    .mt-lg-n3 {
        margin-top: -1rem !important;
    }
    .mt-lg-n4 {
        margin-top: -1.5rem !important;
    }
    .mt-lg-n5 {
        margin-top: -3rem !important;
    }
    .mt-lg-n6 {
        margin-top: -4rem !important;
    }
    .mt-lg-n7 {
        margin-top: -5rem !important;
    }
    .mt-lg-n8 {
        margin-top: -6rem !important;
    }
    .mt-lg-n9 {
        margin-top: -7rem !important;
    }
    .mt-lg-n10 {
        margin-top: -10rem !important;
    }
    /* Margin-bottom */
    .mb-lg-n0 {
        margin-bottom: 0 !important;
    }
    .mb-lg-n1 {
        margin-bottom: -0.25rem !important;
    }
    .mb-lg-n2 {
        margin-bottom: -0.5rem !important;
    }
    .mb-lg-n3 {
        margin-bottom: -1rem !important;
    }
    .mb-lg-n4 {
        margin-bottom: -1.5rem !important;
    }
    .mb-lg-n5 {
        margin-bottom: -3rem !important;
    }
    .mb-lg-n6 {
        margin-bottom: -4rem !important;
    }
    .mb-lg-n7 {
        margin-bottom: -5rem !important;
    }
    .mb-lg-n8 {
        margin-bottom: -6rem !important;
    }
    .mb-lg-n9 {
        margin-bottom: -7rem !important;
    }
    .mb-lg-n10 {
        margin-bottom: -10rem !important;
    }
}

/* –––––––––––––––––––––––––––– END negativ Spacings –––––––––––––––––––––––––––– */