body {
    hyphens: auto;
}

a {
    text-decoration: none;
}

.fullscreen_background {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    z-index: -1;

    transition: opacity 1s;
}

#wrapper {
    min-height: 100vH;
}

#wrapper.p-1 .maincontent {
    height: 100vH;
}

.pagination {
    position: relative;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: right;
    user-select: none;
}

.page-item {
    font-size: 14px;
    width: 25px;
    padding: 5px;
    margin-right: 5px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    transition: 0.5s ease;
    background: rgba(255, 255, 255, 0.3);
}

.page-item.active {
    background-color: #DCEB5F;
    color: #fff;
    border: 0;
}

.page-item:first-child .page-link {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}

.page-item a {
    color: #fff !important;
    margin-left: 0 !important;
    border: 0;
}

.newsitem h3 {
    color: #1E3732;
    font-size: 1rem;
}

.page-link,
.page-link:hover,
.page-link:focus {
    padding: 0;
    margin: 0;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}

.active>.page-link,
.page-link.active,
.page-link:hover,
.page-link:focus {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}

.maincontent {
    width: 100%;
    max-width: 93.5rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.news_container {
    padding: 1.25rem;
    background-color: #fff;
    padding-bottom: 2rem;
}

.p-12 .news_container img {
    min-height: 271px;
    min-width: 100%;
    object-fit: cover;
    overflow: hidden;
}

h2,
h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.news_container p {
    color: var(--dark-color);
}

.news_container h2 {
    font-size: 1.25rem;
    line-height: 1.4375rem;
    margin: 2rem 0 0.8rem;
    color: var(--dark-color);
}

.p-12 .news_container h3 {
    width: 100%;
    margin-bottom: 1.875rem !important;
    color: var(--dark-color);
    font-size: 0.9rem;
    line-height: 1.2rem;
}

.frame-type-felogin_login h3 {
    text-align: center;
}

.news_container .mehr,
.dienstleistung .mehr,
.mehr {
    background-color: var(--dark-color);
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    color: #fff;
    border-radius: 1000px;
    padding: 1rem;
    border: 2px solid #fff;
    width: fit-content;
    margin-top: 1rem;
}

.energy_card {
    margin-bottom: 4rem;
}

.card_body {
    padding: 1.25rem;
    width: fit-content;
}

.card {
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    border: 0;
}

.card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.news_container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news_container .mehr {
    margin-top: auto;
}

/* Keep the content rows of the three homepage news cards aligned. */
@media (min-width: 1200px) {
    .home-news-card .hover-image-wrapper {
        aspect-ratio: 1.05 / 1;
        overflow: hidden;
    }

    .home-news-card .hover-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-news-card .news_container h2 {
        min-height: calc(3 * 1.4375rem);
    }
}

.hover-card img {
    transition: transform 0.3s ease;
}

.hover-card {

    cursor: pointer;
}

.dataset:first-of-type {
    margin-top: 1.8rem;
}

.dataset {
    position: relative;
    height: auto;
    overflow: hidden;
    color: #1E3732;
    width: 100%;
    font-size: 1rem;
    line-height: 1.1875rem;
}

.dataset .label,
.dataset .val {
    float: left;
    padding-bottom: 0.3rem;
}

.dataset .label {
    width: 67%;
}

.energieuebersicht.row {
    align-items: stretch;
}

.energieuebersicht.row>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.blackheader {
    color: #1E3732;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.5rem !important;
}

.newscontent img.backimage {
    max-width: 20px !important;
    height: 20px !important;
    margin: 0px 20px 0 0;
    vertical-align: middle;
}

.newcontent h3 {
    margin-bottom: 1rem;
}

.newscontent h3 {
    font-size: 24px;
    line-height: 34px;
}

.hover-image-wrapper {
    position: relative;
    overflow: hidden;
}


.newscontent h4 {
    float: right;
}

.main_news {
    position: relative;
    background: #FFF;
    height: auto;
    overflow: hidden;
    padding: 2.5rem;
    margin: 2rem auto 2rem;
}

.news-single .teaser-text {
    font-size: inherit !important;
    color: inherit !important;
    margin-top: 3rem !important;
}

#chart_gasstatistik,
#chart_gasverbrauch_sparten,
#chart_kommunalrabatt_gas,
#chart_bautaetigkeiten_gas,
#chart_stromstatistik,
#chart_stromverbrauch_sparten,
#chart_kommunalrabatt_strom,
#chart_bautaetigkeiten_strom {
    width: 100% !important;
    max-width: 100%;
    height: clamp(360px, 45vw, 520px) !important;
    top: 0 !important;
    left: 0 !important;
    background-color: #fff;
}

.gas-concession-tile,
.gas-concession-tile .energie_netze {
    background: #f2f6e5;
}

.gas-concession-tile .energie_netze {
    padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

.gas-concession-summary h3 {
    margin: 0 0 1rem;
    color: #00519e;
}

.meine-daten-link {
    display: inline-block;
    width: 100%;
    min-width: 12rem;
    padding: 0.7rem 1.2rem;
    border: 2px solid #1c3156;
    border-radius: 0.2rem;
    background: #1c3156;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.meine-daten-link:hover,
.meine-daten-link:focus,
.meine-daten-link:active,
.meine-daten-link:visited {
    border-color: #1c3156;
    background: #1c3156;
    color: #fff;
    text-decoration: none;
}

.meine-daten-link:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 3px;
}

/* Homepage: services span the combined width of the news and sidebar columns. */
#c190 {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(2rem, 3vw, 3.5rem) clamp(1.5rem, 4vw, 4.8125rem);
    background: #f2f6e5;
}

#c190>header {
    margin-bottom: 2rem;
}

#c190>header h2 {
    margin: 0;
}

#c190>.row {
    margin-bottom: calc(-1 * var(--bs-gutter-y, 0));
}

#c190 .energy_card,
#c190 .card,
#c190 .card_body {
    width: 100%;
    background: transparent;
}

#c190 .energy_card {
    margin-bottom: 0;
}

#c190 .card_body {
    padding: 0;
}

#c190 .hover-image-wrapper,
#c190 .linked-tile__image {
    width: 100%;
}

.linked-tile__text,
.gasnetz-replacement-text,
.stromnetz-replacement-text {
    margin-top: 1.8rem;
    padding-right: 1rem;
}

#c190 .linked-tile__text {
    margin-bottom: 2rem;
}

.gas-concession-summary__year {
    margin-bottom: 1rem;
    color: #005869;
    font-weight: 700;
}

.gas-concession-summary__list {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(9rem, auto);
    gap: 0.35rem 1rem;
    margin: 0;
}

.gas-concession-summary__list dt {
    color: #1c3156;
    font-weight: 600;
}

.gas-concession-summary__list dd {
    margin: 0;
    color: #005869;
    text-align: right;
}

@media (max-width: 575.98px) {
    .gas-concession-summary__list {
        grid-template-columns: 1fr;
    }

    .gas-concession-summary__list dd {
        margin-bottom: 0.6rem;
        text-align: left;
    }
}

.gas-consumption-chart {
    width: 100%;
    padding: clamp(1rem, 2vw, 2rem);
    background: #fff;
}

.gas-consumption-chart__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 2rem;
    margin-bottom: 1rem;
}

.gas-consumption-chart__year {
    min-height: 2.5rem;
    padding: 0.45rem 0.9rem;
    border: 2px solid #00519e;
    border-radius: 0.25rem;
    background: transparent;
    color: #00519e;
    font-weight: 600;
    line-height: 1;
}

.gas-consumption-chart__years {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.gas-consumption-chart__years legend {
    width: 100%;
    margin-bottom: 0.35rem;
    color: #005869;
    font-size: 0.9rem;
    font-weight: 700;
}

.gas-consumption-chart__year {
    border-color: #b4cc04;
    color: #005869;
}

.gas-consumption-chart__year.active {
    background: #b4cc04;
    color: #1c3156;
}

.gas-consumption-chart__year:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
}

.gas-consumption-chart__status {
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid #ff9535;
    background: #fff7ed;
    color: #1c3156;
}

.energieuebersicht .energyfull,
.energieuebersicht .energy4 {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    background-color: #FFF;
}

.energieuebersicht .energie_netze {
    height: 100%;
}

.energie_netze {
    padding: 20px 20px 100px 20px;
    background: #FFF;
}

.container_wrapper img {
    max-width: 100%;
    height: auto;
    margin-bottom: -7px;
}

.zi {
    max-width: 20px !important;
    margin-top: -11px;
    margin-right: 20px;
}


.gasdetails,
.stromdetails {
    display: none;
}

#gas-lightbox-map,
#strom-lightbox-map,
#ladesaeulen-lightbox-map,
#ladesaeulen-lightbox-map-wrapper {
    display: block;
    width: calc(100vw - 8rem);
    height: calc(100vh - 8rem);
    min-height: 420px;
}

#venios_energybalance {
    width: 80rem;
    height: 25rem;
    display: inline-block !important;
    margin-left: 4rem;
    overflow-x: auto;
}

#chart_venios_energybalance,
#chart_venios_history_by_group {
    overflow-x: auto;
}

#venios_history_by_group {
    width: 80rem;
    height: 25rem;
    display: inline-block !important;
    margin-left: 4rem;
    overflow-x: auto;
}



#veniosmap {
    width: 100%;
    height: 50rem;
}

#veniosmapcontrols {
    margin: 1rem;
    color: #000;
}

#veniosmapcontrols input {
    margin-right: 0.5rem;
}

#veniosmapcontrols input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    background-color: white;
    cursor: pointer;
    vertical-align: middle;
    margin-bottom: 0.15rem;
}

/* Change background color when checkbox is checked */
#veniosmapcontrols input[type="checkbox"]:checked {
    border-color: #ccc;
    padding-left: 0.25rem;
}

#veniosmapcontrols input[type="checkbox"]:checked::before {
    content: '✔';
    /* Checkmark */
    color: #fff;
}

#SolarToggle {
    background-color: #FFD700 !important;
}

#HeizungdirektToggle {
    background-color: #FFA500 !important;
}

#AndereStromerzeugungToggle {
    background-color: #800080 !important;
}

#OeffentlicheLadestationToggle {
    background-color: #006400 !important;
}

#PrivateLadestationToggle {
    background-color: #90EE90 !important;
}

#WasserkraftwerkToggle {
    background-color: #0000FF !important;
}

#StromausBiomassenToggle {
    background-color: #A52A2A !important;
}


#facility_details h3 {
    color: #000;
    font-size: 0.8rem;
}


#popupChart {
    width: 18.75rem;
    height: 18.75rem;
}

#veniosmapcontrols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Spalten */
    gap: 10px;
    /* Abstand zwischen den Checkboxen */
}

/* Optional: Styling für Checkboxen und Labels */
#veniosmapcontrols input[type="checkbox"] {
    margin-right: 5px;
}

#veniosmapcontrols label {
    vertical-align: middle;
}

#veniosmapcontrols .checkbox-wrapper {
    display: inline-flex;
    align-items: center;
}


.ladesaeulen-lightbox-notice {
    flex: 0 0 auto;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #1E3732;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.35;
}

.network-marker-icon {
    width: 14px !important;
    height: 14px !important;
    margin-left: -7px !important;
    margin-top: -7px !important;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.network-marker-strom {
    background: #2f80c9;
}

.network-marker-gas {
    background: #f28c28;
}

.network-marker-ladesaeule {
    background: #27ae60;
}

.hover-card:hover img {
    transform: scale(1.06);
}


.no-hover-card .card_body {
    background-color: rgba(255, 255, 255, 0);
}


.hover-card h4,
.no-hover-card h4 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem 0;
    line-height: 1.5rem;
}

.energy_card {
    height: 100%;
}

.energy_card .card {
    height: 100%;
}

.energy_card .card_body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.energy_card .mehr {
    margin-top: auto;
}

.mb-8 {
    margin-bottom: 8rem;
}

.mb-10 {
    margin-bottom: 10rem;
}

.back_icon {
    width: 50px !important;
    height: auto !important;
    max-width: 20px !important;
    margin: -4px 20px 0 0 !important;
}

.media_thek {
    position: relative;
    padding: 40px;
    overflow: hidden;
    height: auto;
    color: #1E3732;
    width: 100%;
    background: #FFF;
}

.mediadetails h4 {
    font-size: 25px;
    margin: 0 auto 10px;
    line-height: 30px;
}

.footer {
    background: rgba(0, 0, 0, 0.5);
    font-size: 0.75rem;
    color: #ffffff;
}

.footer_link {
    color: var(--footer-link-color);
    text-decoration: none;
    padding: .25rem !important;
}

.footer_navgation li {
    height: 1.5rem;
}

.footer_link:hover {
    color: var(--light-color);
}

.footer_navgation {
    list-style-type: none;
    padding-bottom: 3rem;
    padding-top: 3rem;
    margin: 0 auto 0 auto;
}


.white-text,
p.white-text {
    color: #fff;
}

.white-text {
    padding: 3rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.logoutbar {
    width: 100%;
    height: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: var(--logoutbar-background-color);
}

.logo {
    position: fixed;
    top: 2rem;
    left: 0;
    height: 5rem;
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    width: 10rem;
    z-index: 1005;
}

.headerbg {
    position: fixed;
    top: 2rem;
    left: 0;
    height: 5rem;
    width: 100%;
    background-image: url(/__assets/Images/headerbg.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    z-index: 10000;
}


.frame-type-felogin_login {
    color: var(--dark-color) !important;
    position: fixed;
    inset: 0;
    margin: auto;
    width: 25.875rem;
    height: max-content;
    animation: fadein 1.25s;
}

.comp_logo_login {
    margin-bottom: 2rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: -2rem;
}

.w-100 {
    width: 100% !important;
}

.frame-type-felogin_login input[type="text"],
.frame-type-felogin_login input[type="password"] {
    font-family: var(--font-family-1);
    font-size: 1.125rem;
    color: var(--dark-color);
    border: 0.125rem solid var(--dark-color);
    border-radius: 0.3125rem;
    float: left;
    padding: 0.9375rem 0.625rem;
    width: calc(100% - 8rem);
    background: transparent;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    height: 3.5rem;
    background-color: #fff;
}

.frame-type-felogin_login form {
    background-color: #fff;
    padding: 2rem;

    text-align: center;
}

.frame-type-felogin_login input[type="text"]:hover,
.frame-type-felogin_login input[type="password"]:hover {
    border-radius: 0.9375rem;
    background: rgba(255, 255, 255, 0.2)
}

body:has(.password-change) .frame-type-felogin_login {
    position: relative;
    inset: auto;
    width: min(76rem, calc(100vw - 3rem));
    max-height: none;
    margin: 0 auto;
    overflow: visible;
}

body:has(.password-change) #wrapper {
    min-height: 0;
}

body:has(.password-change) #wrapper.p-1 .maincontent {
    box-sizing: border-box;
    display: flow-root;
    height: auto;
    min-height: 100vh;
    padding: 9rem 1rem 4rem;
}

.password-change {
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1.25rem 3.5rem rgba(12, 32, 61, 0.18);
}

.password-change__header {
    margin-bottom: 2rem;
    text-align: center;
}

.password-change__header h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 5vw, 2.4rem);
}

.password-change__header p {
    margin: 0;
}

.password-change__content {
    display: grid;
    grid-template-columns: minmax(20rem, 1fr) minmax(24rem, 1.15fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.frame-type-felogin_login .password-change__form {
    padding: 0;
    background: transparent;
    text-align: left;
}

.password-change__form fieldset {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.password-change__field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.frame-type-felogin_login .password-change__field input[type="password"] {
    float: none;
    width: 100%;
    height: 3.25rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #c8d2dc;
    border-radius: 0.4rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frame-type-felogin_login .password-change__field input[type="password"]:focus {
    border-color: var(--dark-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 81, 158, 0.15);
}

.password-change__submit {
    justify-self: start;
    padding: 0.9rem 1.35rem;
    border: 0;
    border-radius: 0.5rem;
    background: #b4cc04;
    color: var(--dark-color);
    font-weight: 700;
    cursor: pointer;
}

.password-change__requirements {
    margin-top: 0;
    padding: 1.25rem 1.5rem;
    border-left: 0.3rem solid #b4cc04;
    background: #f3f7e6;
}

.password-change__requirements h4 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    line-height: 1.45;
}

.password-change__requirements ul {
    margin: 0;
    padding-left: 1.25rem;
}

.password-change__requirements li + li {
    margin-top: 0.3rem;
}

.password-change__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    color: var(--dark-color);
}

@media (max-width: 991.98px) {
    body:has(.password-change) .frame-type-felogin_login {
        width: min(100% - 2rem, 32rem);
    }

    .password-change__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


.pw-holder {
    display: none;
}

.login_submit {
    display: none;
}


.login_submit {
    background-image: url(/__assets/Images/login.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1.125rem;
    position: relative;
    border: 0.125rem solid #1E3732;
    border-radius: 0.3125rem;
    margin: 0 0 0 0.5rem;
    height: 3.5rem;
    width: 3.5rem;
    float: left;
    transition: 0.5s ease;
}

.login_submit:hover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1.125rem;
    border-radius: 0.9375rem;
}



.button {
    background: transparent;
    position: relative;
    border: 0.125rem solid #1E3732;
    border-radius: 0.3125rem;
    margin: 0 0 0 0.5rem;
    height: 3.5rem;
    width: 3.5rem;
    float: left;
    transition: 0.5s ease;
}

.button.grey {
    border: 0.125rem solid #DDD;
}

.button img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 1.125rem;
    width: auto;
}

.button:hover {
    border-radius: 0.9375rem;
    background: rgba(255, 255, 255, 0.2)
}


.button img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 1.125rem;
    width: auto;
}

.userdaten,
.contactperson {
    position: relative;
    padding: 20px;
    overflow: hidden;
    height: auto;
    border-radius: 10px;
    color: #FFF;
    width: 100%;
}

.contactperson {
    margin-bottom: 0 !important;
}

.contactperson h4,
.userdaten h4 {
    font-size: 18px;
    color: #DCEB5F;
    line-height: 23px;
    margin-bottom: 20px;
}

.custom-select select {}

.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

.user {
    width: 100%;
    text-align: center;
}

.contactperson .user img {
    position: relative;
    border-radius: 50%;
    margin: 20px auto;
    border: 2px solid #FFF;
}

.select-items {
    position: absolute;
    background-color: rgb(30, 55, 50);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 20rem;
    overflow-y: scroll;
    border-radius: 10px;
    border: 1px solid #fff;
    overflow-x: hidden;
}

@keyframes shakeHorizontal {
    0% {
        margin-left: 0;
    }

    10% {
        margin-left: -10px;
    }

    30% {
        margin-left: 10px;
    }

    50% {
        margin-left: -10px;
    }

    70% {
        margin-left: 10px;
    }

    90% {
        margin-left: -10px;
    }

    100% {
        margin-left: 0;
    }
}

.shake-once {
    animation: shakeHorizontal 500ms ease;
}


.menubar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    transition: opacity 0.2s ease;
}

.navbar-nav .nav-link:hover {
    opacity: 0.7;
}

.navbar-nav .nav-link.active {
    font-weight: 700;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

#logoutbutton {
    position: absolute;
    right: 0.3rem;
    top: 0.15rem;
    cursor: pointer;
    z-index: 103;
    transform: scale(0.8);
    color: #fff;
}

#logoutbutton img {
    width: auto;
    height: 25px !important;
    margin: 0 !important;
    transition: 0.5s ease;
    transform: scale(1);
    filter: invert(1);
}

#logoutbutton img:hover {
    transform: scale(1.2);
}

a.dark-font {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
}

.typo3-messages {
    list-style-type: none;
}

.bgv video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: -1;
    transition: opacity 1s;
}

@media (max-width: 1270px) {

    .navbar-nav .nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 1201px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 0.8rem;
    }

    .navbar-nav {
        text-align: right;
    }

    .navbar-nav .nav-link {
        padding: 1rem 0 !important;
    }
}

.news-tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
    margin: 0 0 1.5rem;
}

.news-tag-filter__item {
    --news-tag-color: #1c3156;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--news-tag-color);
    border-radius: 0.25rem;
    background: #fff;
    color: #334566;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.news-tag-filter__item:hover,
.news-tag-filter__item:focus-visible {
    background: color-mix(in srgb, var(--news-tag-color) 12%, #fff);
    color: #1c3156;
    box-shadow: 0 0 0 1px var(--news-tag-color);
}

.news-tag-filter__item.active {
    background: var(--news-tag-color);
    color: #fff;
    box-shadow: 0 0 0 1px var(--news-tag-color);
}

.news-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.news-list-tags .news-tag-filter__item {
    min-height: 0;
    padding: 0.2rem 0.6rem;
    background: transparent;
    color: #334566;
    box-shadow: none;
    font-size: 0.8rem;
    pointer-events: none;
}

.news-tag-filter__item--all {
    --news-tag-color: #e5005a;
}

.news-tag-filter__item--energie {
    --news-tag-color: #1769aa;
}

.news-tag-filter__item--photovoltaik {
    --news-tag-color: #f5b800;
}

.news-tag-filter__item--internet {
    --news-tag-color: #006b7d;
}

.news-tag-filter__item--e-mobilitaet {
    --news-tag-color: #25395f;
}

.news-tag-filter__item--ewr-one {
    --news-tag-color: #c4d600;
}

.news-tag-filter__item--energienews {
    --news-tag-color: #25395f;
}

.news-tag-filter__item--unternehmen {
    --news-tag-color: #bb0052;
}

.news-tag-filter__item--klima {
    --news-tag-color: #55b8e8;
}

.news-tag-filter__item--tipps {
    --news-tag-color: #ff7431;
}

.news-tag-filter__item--engagement {
    --news-tag-color: #702789;
}

.news-tag-filter__item--nachhaltigkeit {
    --news-tag-color: #c4d600;
}

.news-tag-filter__item--regionales {
    --news-tag-color: #2868a5;
}

.news-tag-filter__item--stadt-land-leben {
    --news-tag-color: #f5b800;
}

.news-tag-filter__item--ewr-crowd {
    --news-tag-color: #55aee2;
}

.news-tag-filter__item--karriere {
    --news-tag-color: #ef7622;
}

.news-tag-filter__item--kommunen {
    --news-tag-color: #2868a5;
}

.news-tag-filter__item--pressemedlung {
    --news-tag-color: #bb0052;
}
