/*-----------------------------------=========Main-Style-Sheet=========----------------------------------------*/

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('./webfonts/fira-sans-v17-latin-regular.ttf') format('truetype'),
        url('./webfonts/fira-sans-v17-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: italic;
    font-weight: 400;
    src: url('./webfonts/fira-sans-v17-latin-italic.ttf') format('truetype'),
        url('./webfonts/fira-sans-v17-latin-italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 500;
    src: url('./webfonts/fira-sans-v17-latin-500.ttf') format('truetype'),
        url('./webfonts/fira-sans-v17-latin-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: italic;
    font-weight: 500;
    src: url('./webfonts/fira-sans-v17-latin-500italic.ttf') format('truetype'),
        url('./webfonts/fira-sans-v17-latin-500italic.woff2') format('woff2');
}

:root {
    --orange: #f7b956;
    --white: #ffffff;
    --light: #eaebec;
    --medium: #858a8e;
    --dark: #666c72;
    --black: #333c43;

    --rootFont: 'Fira Sans', sans-serif;

    --smallFontSize: 1.6rem;
    --mediumFontSize: 1.8rem;
    --largeFontSize: 2.4rem;
    --headlineFontSize: 3rem;

    --gap: 1.6rem;
    --padding: 7.67vw;

    --column: calc(((100vw - (var(--padding) * 2)) - (var(--gap) * 11)) / 12);
    --column_1: var(--column);
    --column_2: calc(var(--column_1) + var(--gap) + var(--column));
    --column_3: calc(var(--column_2) + var(--gap) + var(--column));
    --column_4: calc(var(--column_3) + var(--gap) + var(--column));
    --column_5: calc(var(--column_4) + var(--gap) + var(--column));
    --column_6: calc(var(--column_5) + var(--gap) + var(--column));
    --column_7: calc(var(--column_6) + var(--gap) + var(--column));
    --column_8: calc(var(--column_7) + var(--gap) + var(--column));
    --column_9: calc(var(--column_8) + var(--gap) + var(--column));
    --column_10: calc(var(--column_9) + var(--gap) + var(--column));
    --column_11: calc(var(--column_10) + var(--gap) + var(--column));
    --column_12: calc(100vw - (var(--padding) * 2));

    --headerHeight: calc(2 * var(--largeFontSize) + 100px);
}

/* Große Bildschirme - Abstand außen langsamer vergrößern */
@media (min-width: 1920px) {
    :root {
        --padding: calc(7.67vw + ((7.67vw - 140px) * 3));
    }
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow: hidden auto;
}

*,
::before,
::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.5);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--orange) var(--dark);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: var(--dark);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--orange);
    border-radius: 20px;
    border: 3px solid var(--dark);
}

body {
    font-size: var(--smallFontSize);
    line-height: 1.66;
    background-color: var(--white);
    color: var(--black);
    overflow: hidden auto;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-family: var(--rootFont, 'Fira Sans');
    font-family: 'Fira Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

main {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: stretch;
}

a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

a:active,
a:focus,
a:active,
a:hover {
    color: var(--orange);
}

.frame-type-text a:not(.h3 a):not(.button):not(nav a):not(.service-item),
.frame-type-textmedia a:not(.h3 a):not(.button):not(nav a):not(.service-item),
.news-widgets a:not(.h3 a):not(.button):not(nav a):not(.service-item),
.text_content a:not(.h3 a):not(.button):not(nav a):not(.service-item),
p:not(.h3) a {
    font-weight: inherit;
    text-decoration: underline;
}

.orange a:active,
.orange a:focus,
.orange a:active,
.orange a:hover {
    color: var(--white);
}

.frame-layout-1,
.box {
    padding: var(--largeFontSize);
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 1rem;
    width: var(--column_3);
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.box.orange {
    background-color: var(--orange);
    box-shadow: none;
}

.box.orange .button:hover {
    color: var(--white);
}

.box.orange .button:after {
    background-color: var(--black);
}

.frame-type-form_formframework button,
.content-main button,
.button {
    font: inherit;
    display: flex;
    gap: var(--gap);
    align-items: center;
    font-size: var(--smallFontSize);
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
    border: none;
    cursor: pointer;
    color: inherit;
}

.frame-type-form_formframework button,
.content-main button {
    background: none;
}

/* form input[type="submit"], */
.frame-type-html div.form .button,
form button:not(.box button) {
    padding: 0.33em var(--largeFontSize);
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

/* form input[type="submit"]:hover, */
.frame-type-html div.form .button:hover,
form button:not(.box button):hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.32);
}

.frame-type-form_formframework button:after,
.content-main button:after,
.button:after {
    content: '';
    height: 22px;
    width: 17px;
    display: inline-block;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
}

input.button:after {
    content: none;
}

input.button {
    background-image: url('./images/triangle.png') !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 5px) 50% !important;
    background-size: 17px 22px !important;
    padding-right: calc(17px + var(--gap) + 5px);
    transition: all 0.3s ease;
    margin-right: -5px;
}

input.button:hover {
    background-position: 100% 50% !important;
}

.button.back {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.pagination .button.back {
    justify-content: center;
}

.button.back:after {
    clip-path: polygon(100% 0, 0% 50%, 100% 100%);
}

.news-back-link .button.back {
    margin-left: calc(0px - (var(--gap) + 17px));
}

.pagination .button:after {
    background-color: var(--black);
}

h1,
.h1 {
    font-size: var(--headlineFontSize);
    position: relative;
    line-height: 1.2;
}

h1:before,
.h1:before {
    content: '';
    height: 36px;
    width: 27px;
    display: inline-block;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    position: absolute;
    right: calc(100% + var(--gap));
    top: 50%;
    transform: translate(0, -50%);
}

.news-details-header img + .header h1:before,
.news-details-header img + h1:before,
[data-layout='news'] h1:not(.section-title h1):before {
    content: none;
}

button:hover:after,
.button:hover:after {
    transform: translateX(5px);
}

.button.back:hover:after {
    transform: translateX(-5px);
}

.box.button {
    justify-content: flex-end;
    padding-top: calc(var(--smallFontSize) - 2px);
    padding-bottom: calc(var(--smallFontSize) - 2px);
    flex-grow: 1;
}

input {
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

strong {
    font-weight: 500;
}

a:hover,
a:focus,
input:focus,
input:hover,
select:focus,
select:hover,
select:active,
textarea:focus,
textarea:hover,
button:focus {
    outline: none;
}

::placeholder {
    opacity: 1;
}

:focus::placeholder {
    opacity: 0;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    /* Prevents HTML tables from becoming too wide */
    width: 100%;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

iframe {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 500;
    /* line-height: 1.2; */
}

h2,
.h2 {
    font-size: var(--largeFontSize);
    position: relative;
    line-height: 1.2;
}

.box h2:first-child,
.box .h2:first-child {
    margin-bottom: 0.5em;
}

h3,
.h3 {
    font-size: var(--mediumFontSize);
    position: relative;
}

h3.simple_text {
    margin: 1em 0 0;
}

.box h3,
.box .h3 {
    font-size: inherit;
}

p.first_strong > strong:first-child,
.news-text-wrap > p.first_strong > strong:first-child,
p:not(.simple_text) > strong:only-child,
.news-text-wrap > p:not(.simple_text) > strong:only-child {
    position: relative;
}

p.first_strong > strong:first-child:before,
.news-text-wrap > p.first_strong > strong:first-child:before,
p:not(.simple_text) > strong:only-child:before,
.news-text-wrap > p:not(.simple_text) > strong:only-child:before,
h2:before,
.h2:before {
    content: '';
    height: 22px;
    width: 17px;
    display: inline-block;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    position: absolute;
    right: calc(100% + var(--gap));
    top: 50%;
    transform: translate(0, -50%);
}

main.home h2:before,
main.home .h2:before {
    height: 36px;
    width: 27px;
}

.box h2:before,
.box .h2:before {
    content: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol {
    padding-left: 1em;
}

/***********************************************************/

/* .main-wrap {
  width: 100%;
  overflow: hidden;
} */

.container {
    max-width: var(--column_12);
    margin: 0 auto;
    width: 100%;
}

.flex {
    display: flex;
    align-items: stretch;
    gap: var(--gap);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.ce-bodytext,
.frame-default,
.text_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
}

.content-wrapper a strong {
    text-decoration: underline;
}

/* header */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    max-width: calc(100vw - var(--padding));
    width: fit-content;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    padding: var(--largeFontSize) var(--padding);
    border-radius: 0 0 10rem 0;
}

.header_main {
    display: flex;
    align-items: center;
    gap: var(--column);
    position: relative;
    z-index: 1;
}

.header-logo {
}

.header-logo img {
}

.main-menu {
    margin-top: 2rem;
}

.main-menu > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem var(--largeFontSize);
}

.main-menu > ul > li {
    /* padding: 10px 0; */
    position: relative;
}

.main-menu [title*='Suche'] {
    font-weight: 500;
}

.main-menu a,
.main-menu > ul > li > a {
    font-size: var(--mediumFontSize);
    font-weight: 400;
    transition: 0.3s;
}

.main-menu a {
    font-size: var(--smallFontSize);
    line-height: 1.1;
}

.main-menu a:hover,
.main-menu > ul > li > a:hover {
    color: var(--orange);
}

.main-menu a.nav-current,
.main-menu > ul > li > a.active {
    color: var(--orange);
}

.main-menu > ul > li .dropdown-menu {
    /* padding: 13px; */
    padding: var(--gap);
    position: absolute;
    top: 100%;
    left: calc(0px - var(--gap));
    transform: translate(0, 2rem);
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    width: max-content;
    min-width: 100%;
    max-width: calc(var(--padding) + var(--column_1));
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 100;
}

.main-menu > ul > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 1rem);
    transition: 0.3s;
}

.dropdown-menu ul {
    display: flex;
    gap: 0.5em;
    flex-direction: column;
}

.dropdown-menu ul li a:hover {
    color: var(--orange);
}

.mobile-bar {
    display: none;
}

.mobile-bar .bar {
    cursor: pointer;
}

.cls-menu {
    display: none;
}

/* header-end */

/* ---hero-section--- */
.hero-section {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--headerHeight);
}

.hero-section::after {
    content: '';
    display: block;
    position: absolute;
    left: calc(0px - (var(--column_12) / 1645 * 140));
    top: 0;
    width: calc(var(--column_12) / 1645 * 2529);
    /* max-width: 2529px; */
    height: calc(var(--column_12) / 1645 * 852);
    /* max-height: 852px; */
    background-image: url('images/headerbild.jpg');
    background-image: url('images/headerbild.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: left;
    background-position-y: center;
    z-index: -1;
}

.hero-section .text_content {
    justify-content: center;
}

.scroll_down {
    margin: 3rem auto 4rem;
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.scroll_down:after {
    content: '';
    height: 36px;
    width: 27px;
    display: inline-block;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    transform: rotate(90deg);
    transition: all 0.3s ease;
}

.scroll_down:hover:after {
    transform: rotate(90deg) translateX(5px);
}

.hero_content_row {
    padding: 3rem 0;
    display: flex;
    gap: var(--gap);
    position: relative;
    align-items: flex-end;
    /* z-index: -1; */
}

.hero_content a:not(.button) {
    display: inline-block;
}

.hero_content_row .flex {
    position: relative;
    margin-right: auto;
    z-index: 1;
}

.hero_content_row .flex::before,
.hero_content_row .flex::after {
    position: absolute;
    top: -3rem;
    bottom: -3rem;
    width: 9999px;
    content: '';
    background: var(--orange);
    right: 0%;
    z-index: 0;
}

.hero_content_row .flex::before {
    right: auto;
    left: 0%;
}

.hero_content.box {
    background: var(--light);
    width: calc(var(--padding) + var(--column_5) + 5rem);
    margin-left: calc(0px - var(--padding));
    padding-left: var(--padding);
    padding-right: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
    z-index: 2;
    position: relative;
}

.hero_content.box .button {
    margin-top: 1rem;
}

.hero_content.box h1 {
    font-size: calc(var(--headlineFontSize) * 2);
    font-size: 3.1vw;
    line-height: 1.2;
    font-weight: 500;
}

.hero_content.box > * {
    margin-left: calc(27px + var(--gap));
    max-width: var(--column_6);
}

.hero_content.box > :not(h1) {
    max-width: var(--column_4);
}

.hero-section .items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--gap);
}

/* ---hero-section---end */

.home .frame-type-header {
    max-width: var(--column_10);
    margin: 0 auto 4.4rem;
}

@media screen and (min-width: 1381px) {
    .home .frame-type-header {
        max-width: var(--column_9);
        margin: 0 0 4.4rem auto;
        padding-left: 4.5rem;
    }
}

/* ---law-section--- */
.frame-type-news_newsliststicky {
    padding: 0 0 5.4rem;
    position: relative;
}

.home .frame-type-news_newsliststicky::after {
    position: absolute;
    left: calc(0px - var(--padding));
    top: 10rem;
    width: calc(var(--padding) + 11.8vw);
    content: '';
    background: var(--light);
    height: 100%;
    z-index: -1;
}

.law_title_box {
    align-self: flex-start;
}

.law_title_box .title {
    position: relative;
    padding-left: 4.4rem;
}

.law_title_box .icon {
    position: absolute;
    bottom: 0;
    left: calc(0px - var(--largeFontSize));
    height: 8.8rem;
    width: 8.8rem;
    transform: translateX(-50%);
    /* transform: translate(-50%,-36%); */
    background: var(--white);
    border-radius: 50%;
    padding: var(--smallFontSize);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.law_title_box .icon img {
    max-width: 100%;
    max-height: 100%;
}

.category_links {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    width: 100%;
}

.law .title {
    margin: 0 0 auto;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.law .title .icon {
    width: 5.6rem;
    height: 5.6rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 50%;
    padding: 1.2rem;
    transform: translate(1rem, -1rem);
}

.law .title .icon:empty {
    display: none;
}

.law .title .icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.law .body {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.box.law {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    line-height: 1.375;
}

.box.law .button {
    margin-top: 0.5em;
}

.date {
    color: var(--dark);
}

/* ---law-section---end */

/* ---footer-section--- */
.footer-section {
    padding: 3rem var(--padding);
    background: var(--dark);
    color: var(--white);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__left {
    max-width: var(--column_7);
    gap: 1em;
}

.footer-menu {
    row-gap: 0.5em;
}

footer a {
    font-weight: 400;
}

.footer__right {
}

.footer__u {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.footer__u li {
}

.footer__u li a {
    display: block;
    text-align: end;
}

/* ---footer-section---end */

video {
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
    max-width: var(--column_6);
}

/* ---deshbord-layout---start */

main.subpage {
    margin: 0 auto;
    position: relative;
}

main.subpage > * {
    z-index: 1;
}

main.subpage::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: var(--column_12);
    left: calc(var(--padding) + var(--column_12) * 0.2);
    height: calc(var(--column_12) / 1645 * 500);
    background-image: url('images/headerbild.jpg');
    background-image: url('images/headerbild.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: right;
    background-position-y: center;
    z-index: -1;
    max-height: calc(var(--headerHeight) + 32rem);
}

.content-wrapper {
    display: flex;
    align-items: stretch;
    flex-direction: row-reverse;
}

.subpage > .content-wrapper > * {
    padding-top: calc(var(--headerHeight) + 17rem);
    padding-bottom: 5rem;
}

.sidebar {
    flex: 0 0 auto;
    width: var(--column_2);
    background-color: var(--light);
    position: relative;
    padding-right: var(--gap);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5em;
}

.sidebar::after {
    position: absolute;
    right: 100%;
    top: 0px;
    width: var(--padding);
    height: 100%;
    content: '';
    background: var(--light);
    z-index: -1;
}

.content-main {
    flex-grow: 1;
    padding-left: calc(var(--column) + (var(--gap) * 2));
    margin-bottom: 2em;
}

.content-main
    > .frame
    + .frame:not(.frame-type-text):not(.frame-type-textmedia):not(
        .frame-type-menu_pages
    ) {
    margin-top: 0.5em;
}

.content-main > .frame-type-text + .frame-type-text,
.content-main > .frame-type-text + .frame-type-textmedia,
.content-main > .frame-type-textmedia + .frame-type-textmedia,
.content-main > .frame-type-textmedia + .frame-type-text {
    margin-top: 1em !important;
}

.content-main
    > .frame
    + .frame:not(.frame-type-text):not(.frame-type-textmedia):not(
        .frame-type-menu_pages
    )
    h2:first-child {
    margin-top: calc(2rem - 0.5em);
}

.content-main > .frame + .frame,
.content-main > .frame + .frame-type-menu_pages {
    margin-top: 5rem;
}

.content-main ul li {
    position: relative;
    padding-left: 2rem;
}

.content-main ul li:before {
    content: '';
    height: 12px;
    width: 9px;
    display: inline-block;
    background: var(--black);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin-left: -2rem;
    margin-right: calc(2rem - 9px);
}

.content-main .pagination ul li,
.content-main .kesearch_pagebrowser ul li {
    padding-left: 0;
}

.content-main .pagination ul li:before,
.content-main .kesearch_pagebrowser ul li:before {
    content: none;
}

/* ---deshbord-layout---end */

/* ---sidebar-----start */

aside .title {
    display: flex;
    align-items: flex-start;
}

aside nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.sidebarMenu {
    margin-top: 0.5em;
}

.sidebarMenu:empty {
    display: none;
}

.sidebar-news > :only-child {
    display: none;
}

aside nav ul ul {
    margin: 1em 0 0 1em;
    gap: calc(var(--gap) / 2);
    font-size: 0.9em;
}

aside nav li {
    position: relative;
}

aside nav ul a {
    display: flex;
    align-items: start;
    gap: var(--gap);
    font-weight: 400;
}

aside nav ul li.news-search-link a .fa-search {
    background-color: var(--orange);
}

aside nav ul li.news-search-link a:hover .fa-search::before {
    color: var(--black);
}

aside nav ul li.news-search-link a .fa-search::before {
    transform: translate(-50%, -50%) scaleX(-1);
}

aside nav a i {
    height: 2.8rem;
    width: 2.8rem;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    position: absolute;
    left: calc(0px - var(--gap));
    top: 50%;
    transform: translate(-100%, -50%);
}

aside nav a i:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

aside nav li.li-current > a {
    font-weight: 500;
}

aside nav li.li-current::before {
    content: '';
    height: 22px;
    width: 17px;
    display: inline-block;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    position: absolute;
    right: calc(100% + var(--gap));
    top: 50%;
    transform: translate(0, -50%);
}

/* ---sidebar-----end */

/* ---content-box---start */

.section-title .title h3 {
    font-size: 29px;
    font-weight: 500;
}

.section-title p {
    margin-bottom: 0px;
}

.section-title .title {
    position: relative;
}

.section-title .title:not(:last-child) {
    margin-bottom: 12px;
}

/* ---content-box---end */

/* ---Service-item---start */

.service-items {
    margin-top: 2em;
}

.service-item {
    transition: 0.3s;
    text-align: center;
    width: var(--column_2);
    padding: var(--gap);
}

.service-item:not(.button):hover {
    transform: scale(1.03);
}

.service-item-img {
    min-height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--gap);
}

.frame-type-menu_subpages .service-item:hover .service-item-img {
    filter: none;
}

.frame-type-menu_subpages.frame-layout-20 .service-item-img {
    filter: sepia(0.25) saturate(0.75);
    transition: all 0.3s ease;
}

.frame-type-menu_subpages.frame-layout-30 .service-item-img {
    /* filter: sepia(.25) saturate(2) grayscale(.5); */
    filter: sepia(0.25) saturate(0.75);
    transition: all 0.3s ease;
}

.service-item-content p {
    font-size: var(--mediumFontSize);
}

.service-item.button.box {
    flex-grow: 0;
    margin: 0;
}

.service-item.button.box a {
    flex-grow: 1;
    text-align: center;
}

/* ---Service-item---end */

/* ---currnet-news-layout---start */

.pagination ul,
.kesearch_pagebrowser ul {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light);
    border-radius: 10px;
    gap: var(--gap);
}

.pagination ul li,
.kesearch_pagebrowser ul li {
    flex: 0 0 auto;
    width: 11.1111%;
    text-align: center;
    flex-grow: 1;
    flex-shrink: 1;
}

.pagination ul li a,
.kesearch_pagebrowser ul li a {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
    width: 100%;
}

.pagination ul li:first-child a,
.kesearch_pagebrowser ul li:first-child a {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.pagination ul li:last-child a,
.kesearch_pagebrowser ul li:last-child a {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.pagination ul li a:hover,
.kesearch_pagebrowser ul li a:hover {
    background-color: var(--orange);
    color: var(--white);
}

.pagination ul li a.active,
.kesearch_pagebrowser ul li a.current {
    background-color: var(--orange);
    color: var(--white) !important;
    font-weight: normal !important;
}

/* ---currnet-news-layout---end */

/* ---news-detail----start */
.news-details-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: var(--gap);
}

.news-details-contents {
    flex: 0 0 auto;
    width: var(--column_5);
}

.news-details-header {
    margin: 0;
    position: relative;
}

.news-detail-icon {
    position: absolute;
    left: calc(0px - var(--gap));
    border-radius: 50%;
    top: 1em;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
    padding: 10px;
    width: 6.8rem;
    height: 6.8rem;
    text-align: center;
    transform: translate(-100%, -50%);
    overflow: visible;
}

.news-details-header h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-details-header p {
    font-size: 1em;
}

.news-text-wrap > p:not(.simple_text) {
    width: 100%;
}

.simple_text {
    max-width: var(--column_7);
}

.headline_box,
form,
.frame>ul:not([class]),
.ce-bodytext>ul:not([class]),
.text_content>ul:not([class]):not(.orange ul),
.news-text-wrap>blockquote,
.frame-type-menu_section,
.frame-layout-2,
/* .news-text-wrap > p:not(.simple_text) > em, */
/* .news-text-wrap > p:not(.simple_text) > i, */
/* .news-related.news-related-news, */
.innerBox {
    position: relative;
    display: block;
    padding: 2rem var(--largeFontSize);
    width: 100%;
    border: none;
    max-width: var(--column_7);
}

.news-related.news-related-news {
    display: flex;
    width: 100%;
    padding: var(--largeFontSize);
}

.headline_box:after,
form:after,
.frame>ul:not([class]):after,
.ce-bodytext>ul:not([class]):after,
.text_content>ul:not([class]):not(.orange ul):after,
.news-text-wrap>blockquote:after,
.frame-type-menu_section:after,
.frame-layout-2:after,
/* .news-text-wrap > p:not(.simple_text) > em:after, */
/* .news-text-wrap > p:not(.simple_text) > i:after, */
/* .news-related.news-related-news:after, */
.innerBox:after {
    content: '';
    background-color: var(--light);
    top: 0;
    bottom: 0;
    /* left: -4rem; */
    left: 0;
    /* right: -4rem; */
    right: 0;
    border-radius: 10px;
    position: absolute;
    display: block;
    z-index: -1;
}

.news-back-link {
    margin: 2em 0 3em;
}

.related-post p {
    line-height: 1.1;
}

.related-post {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.related-post .button {
    margin-left: 0;
}

.headline_box:not(ul) {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.headline_box:not(ul):after {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.headline_box + ul.headline_box {
    margin-top: -0.5em;
}

.headline_box + ul.headline_box:after {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* .newsBox li {
  display: flex;
  align-items: center;
} */

.news-widgets {
    flex: 0 0 auto;
    width: var(--column_3);
}

.news-widgets .news {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.max-w-full {
    max-width: 100%;
}

.frame {
    width: 100%;
}

.frame-type-textmedia,
.frame-type-text {
    max-width: var(--column_7);
}

.news {
    width: 100%;
}

/* ---news-detail----end */

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: center;
}

.row > * {
    width: var(--column_2);
    flex-grow: 1;
}

fieldset {
    display: block;
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px var(--gap);
}

div.form label.field_label {
    font: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
    min-height: inherit !important;
    text-align: inherit !important;
    padding-right: inherit !important;
    vertical-align: inherit !important;
    width: inherit !important;
}

div.form .form_border {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.ce-left .ce-gallery img,
.ce-right .ce-gallery img {
    max-width: var(--column_3);
}

.news-list-date {
    margin-bottom: 2rem;
    color: var(--dark);
    display: block;
    /* font-weight: 500; */
}

.panel-title a {
    text-decoration: none !important;
}

.panel-collapse.collapse:not(.in) {
    display: none !important;
}

table {
    background-color: transparent;
}

caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #888888;
    text-align: left;
}

th {
    text-align: left;
}

.rahmen {
    border-left: none !important;
    border-right: none !important;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 21px;

    padding: 0;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 1rem;
    overflow: hidden;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 0.5em var(--largeFontSize);
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #dddddd;
}

.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
    border-top: 0;
}

.table > tbody + tbody {
    border-top: 2px solid #dddddd;
}

.table .table {
    background-color: #ffffff;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 5px;
}

.table-bordered {
    border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border-bottom-width: 2px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

table col[class*='col-'] {
    position: static;
    float: none;
    display: table-column;
}

table td[class*='col-'],
table th[class*='col-'] {
    position: static;
    float: none;
    display: table-cell;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: #f5f5f5;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
    background-color: #e8e8e8;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
    background-color: #dff0d8;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
    background-color: #d0e9c6;
}

.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
    background-color: #d9edf7;
}

.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
    background-color: #c4e3f3;
}

.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
    background-color: #fcf8e3;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
    background-color: #faf2cc;
}

.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
    background-color: #f2dede;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
    background-color: #ebcccc;
}

.table-responsive {
    overflow-x: auto;
    min-height: 0.01%;
}

a[href^='tel:'],
a[data-mailto-token],
a[data-mailto-vector] {
    text-decoration: none !important;
    /* text-transform: lowercase; */
}

@media screen and (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15.75px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #dddddd;
    }

    .table-responsive > .table {
        margin-bottom: 0;
    }

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }

    .table-responsive > .table-bordered {
        border: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }

    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}

/**************************************/
/* Default styles for news extension */
/**************************************/

/* single view */

.news-single .teaser-text {
    font-size: 0.9em;
    /* opacity: .7; */
    color: var(--medium);
    margin-bottom: 2rem;
}

.news-single .teaser-text > :not(:first-child) {
    margin-top: 0.5em;
}

.news-img-caption {
    opacity: 0.7;
    font-size: 0.9em;
}

/* ---ke-search---start */
.tx-kesearch-pi1 {
    font-family: Sans-Serif;
}

/* Clearer */
.tx-kesearch-pi1 .clearer {
    display: block;
    height: 1px;
    line-height: 1px;
    clear: both;
}

/* formElements */
.tx-kesearch-pi1 form {
    border: 0 none;
    margin: 0 0 20px 0;
}

.tx-kesearch-pi1 form fieldset {
    margin: 0;
    padding: 0;
}

.tx-kesearch-pi1 .kesearch_searchbox {
    border: none;
}

.tx-kesearch-pi1 input[type='search'],
.tx-kesearch-pi1 select,
.tx-kesearch-pi1 textarea {
    padding: 0.3em 0.3em 0.3em 0.4em;
    background: white;
    border: 1px solid #bbbbbb;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #2b2b2b;
}

.tx-kesearch-pi1 input[type='search']:focus,
.tx-kesearch-pi1 input[type='search']:hover,
.tx-kesearch-pi1 select:focus,
.tx-kesearch-pi1 select:hover,
.tx-kesearch-pi1 textarea:focus,
.tx-kesearch-pi1 textarea:hover {
    box-shadow: 0 0 3px #bbbbbb;
    border: 1px solid #b2b2b2;
    color: #000;
}

/* Buttons */
a.kesGreyButt,
span.resetbutt a,
span.submitbutt input,
input.kesGreyButt,
span.kesGreyButt {
    font-size: 1em;
    font-family: Sans-Serif;
    padding: 5px 10px;
    margin: 0 10px 10px 0;
    display: block;
    cursor: pointer;
    min-width: 70px;
    max-width: 140px;
    -moz-user-select: none;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(center top, #f6f6f6, #f0f0f0);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    color: #444;
    text-align: center;
    text-decoration: none;
}

/* fix firefox button size (line-height is not working in firefox submit button)*/
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

li.checkboxButtonSubmit span,
span.submitbutt input,
input.kesGreyButt[type='submit'] {
    min-width: 169px;
    max-width: 220px;
}

span.resetbutt {
    float: left;
}

span.resetbutt a:hover,
span.submitbutt input:hover,
input.kesGreyButt:hover,
span.kesGreyButt:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: #f8f8f8;
    background-image: -moz-linear-gradient(center top, #f8f8f8, #f1f1f1);
    border: 1px solid #c6c6c6;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #222;
}

span.kesGreyButt a {
    text-decoration: none;
    color: #444;
    text-shadow: 0px 1px 0px #ffffff;
}

span.kesGreyButt a:hover {
    text-decoration: none;
    color: #000;
    text-shadow: 0px -1px 0px #ffffff;
}

/* buttFixes */
#kesearch_filters .list li.checkboxButton,
#kesearch_filters .list li.checkboxButtonSubmit {
    text-decoration: none !important;
    padding-bottom: 5px;
}

#kesearch_filters .list li.checkboxButtonSubmit {
    margin-bottom: 1px;
}

#kesearch_filters .list li.checkboxButtonSubmit {
    padding-bottom: 0;
}

/* SearchBox */
div.kesearchbox {
    position: relative;
    height: 35px;
    margin: 0 0 10px 0;
}

#ke_search_sword {
    position: absolute;
    top: 1px;
    width: 220px;
    height: auto;
    padding: 8px 40px 7px 9px;
    margin: 0;
    display: inline;
}

#kesearch_submit {
    position: absolute;
    top: 3px;
    left: 237px;
    height: 28px;
    width: 28px;
    border: 0 none;
    padding: 0;
}

#kesearch_submit:focus,
#kesearch_submit:hover {
    box-shadow: 0 0 0 white;
    border: 0 none;
    cursor: pointer;
}

/* Filters */
#kesearch_filters select {
    margin: 0 0 10px 0;
}

#kesearch_filters .list {
    border: 1px solid #cfcfcf;
    margin-bottom: 10px;
}

#kesearch_filters .list .head {
    display: block;
    border-bottom: 1px solid #cfcfcf;
    padding: 5px;
}

#kesearch_filters .list ul {
    padding: 10px;
    margin: 0;
    list-style-type: none;
}

#kesearch_filters .list ul.expanded {
    display: block;
}

#kesearch_filters .list ul.closed {
    display: none;
}

#kesearch_filters .list li {
    display: block;
    list-style-type: none;
    margin: 0 0 10px 0;
    line-height: 16px;
    color: #444;
}

#kesearch_filters .list li a {
    color: #444;
}

#kesearch_filters .list a.kesGreyButt {
    margin-left: 10px;
}

#kesearch_filters .list li:hover,
#kesearch_filters .list li a:hover {
    text-decoration: none;
    color: #444;
    cursor: pointer;
}

#kesearch_filters .list li.selected {
    font-weight: bold;
}

#kesearch_filters .list li.parent0,
#kesearch_filters .list li.level0 {
    margin-left: 14px;
}

#kesearch_filters .list li.parent1,
#kesearch_filters .list li.level1 {
    margin-left: 21px;
}

#kesearch_filters .list li.parent2,
#kesearch_filters .list li.level2 {
    margin-left: 28px;
}

#kesearch_filters .list li.parent3,
#kesearch_filters .list li.level3 {
    margin-left: 35px;
}

#kesearch_filters .list li.parent0,
#kesearch_filters .list li.parent1,
#kesearch_filters .list li.parent2,
#kesearch_filters .list li.parent3 {
    font-weight: bold;
    list-style-position: outside;
}

/* Checkboxes */
#kesearch_filters .list ul.checkboxList {
    padding-bottom: 1px;
}

#kesearch_filters .list li.optionCheckBox {
    float: left;
    width: 200px;
    text-decoration: none;
    margin-bottom: 4px;
}

#kesearch_filters .list li.optionCheckBox input[type='checkbox'] {
    float: left;
    margin: 0 5px 0 0;
}

#kesearch_filters .list li.clearer {
    font-size: 0;
    line-height: 0;
    float: none;
    margin: 0 !important;
}

#kesearch_filters label {
    display: block;
    font-weight: bold;
    color: #353535;
    margin: 0 0 4px 0;
}

#kesearch_filters .list li.region {
    font-weight: bold;
    margin-top: 5px;
}

#kesearch_filters .list li.noclick {
    cursor: default !important;
}

#kesearch_filters .list li.country {
    margin-left: 7px;
}

/* SPECIAL CSS CLASS */
#kesearch_filters .small {
    display: block;
    height: 65px;
    max-height: 65px;
    overflow-y: auto;
    overflow-x: hidden;
}

#kesearch_filters .larger {
    display: block;
    height: 130px;
    max-height: 130px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Results */
#kesearch_num_results {
    color: #898989;
    float: left;
}

#kesearch_results .result-list-item {
    clear: both;
    margin: 20px 0 30px 0;
    padding: 0;
}

#kesearch_results .result-list-item .result-number,
#kesearch_results .result-list-item .result-title {
    font-size: 1.2em;
}

#kesearch_results {
    clear: both;
    margin-top: 20px;
}

#kesearch_results .result-list-item .result-teaser {
    color: #707070;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item-type-page {
}

.tx-kesearch-pi1 #kesearch_results .teaser_icon img {
    float: left;
    margin-top: 2px;
    margin-right: 5px;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item .hit {
    color: red;
    font-weight: bold;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item .add-info {
}

.tx-kesearch-pi1 #kesearch_results .result-list-item .scoreBar {
    border: 1px solid #d3d3d3;
    display: block;
    float: right;
    height: 10px;
    width: 48px;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item .scoreBar .score {
    background-color: #d3d3d3;
    border: 1px solid #898989;
    display: block;
    height: 10px;
    margin: -1px 0 0 -1px;
}

/* Query time */
.tx-kesearch-pi1 #kesearch_query_time {
    font-style: italic;
    text-align: center;
    font-size: 80%;
}

/* Searchbox */
.tx-kesearch-pi1 .searchbox {
    margin-bottom: 5px;
}

.tx-kesearch-pi1 .searchbox input {
    margin-left: 0;
    width: 145px;
}

.tx-kesearch-pi1 .searchbox input.submit {
    width: 18px;
    height: 18px;
    border: none;
    background: none;
    vertical-align: middle;
}

.tx-kesearch-pi1 form.static .searchbox input.submit {
    margin-top: -16px;
}

.tx-kesearch-pi1 form.ajax .searchbox input.submit {
    margin-top: -4px;
}

.tx-kesearch-pi1 .searchbox .search_input {
    float: left;
    margin-right: 5px;
}

/* General Message */
.tx-kesearch-pi1 .general-message {
    padding: 5px;
}

.tx-kesearch-pi1 .general-message .image {
    float: left;
    vertical-align: middle;
    margin-right: 10px;
}

/* Pagebrowser */
.kesearch_pagebrowser ul {
    display: inline;
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
}

.kesearch_pagebrowser ul li {
    list-style-type: none;
    display: inline;
    margin: 0;
}

#kesearch_pagebrowser_top,
#kesearch_pagebrowser_bottom {
    text-align: center;
    word-wrap: break-word;
    color: #707070;
}

#kesearch_pagebrowser_top .pages_total,
#kesearch_pagebrowser_bottom .pages_total {
    padding: 8px 0;
    background: #fff;
    margin-bottom: 15px;
}

#kesearch_pagebrowser_top .pages_total {
    border-bottom: 1px solid #cccccc;
}

#kesearch_pagebrowser_bottom .pages_total {
    border-top: 1px solid #cccccc;
}

#kesearch_pagebrowser_top div.result_txt,
#kesearch_pagebrowser_bottom div.result_txt {
    margin: 0 0 5px 0;
}

#kesearch_pagebrowser_top .kesearch_pagebrowser,
#kesearch_pagebrowser_bottom .kesearch_pagebrowser {
    margin: 0 auto 0;
}

#kesearch_pagebrowser_top a,
#kesearch_pagebrowser_bottom a {
    padding: 3px;
}

#kesearch_pagebrowser_top a:hover,
#kesearch_pagebrowser_bottom a:hover {
    cursor: pointer;
}

#kesearch_pagebrowser_top a.current,
#kesearch_pagebrowser_bottom a.current {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

#kesearch_pagebrowser_top .browser,
#kesearch_pagebrowser_bottom .browser {
    border: 1px solid;
}

/* Ordering */
.tx-kesearch-pi1 #kesearch_ordering span.down {
    display: inline-block;
    width: 0;
    height: 0;
    border-color: #ff0000 transparent;
    border-style: solid solid none;
    border-width: 4px 4px 0;
}

.tx-kesearch-pi1 #kesearch_ordering span.up {
    display: inline-block;
    width: 0;
    height: 0;
    border-color: transparent transparent #ff0000;
    border-style: none solid solid;
    border-width: 0 4px 4px;
}

.tx-kesearch-pi1 #kesearch_ordering div.ordering {
    float: right;
    max-width: 300px;
}

.tx-kesearch-pi1 #kesearch_ordering ul {
    display: inline-block;
    height: 20px;
    list-style-type: none;
    margin: 0 0 10px;
    padding: 0;
}

.tx-kesearch-pi1 #kesearch_ordering ul li {
    float: left;
    margin-right: 10px;
}

.tx-kesearch-pi1 #kesearch_ordering div.clearer {
    clear: left;
}

/* needed for autocomplete */
ul.ui-autocomplete li a {
    font-size: 12px;
}

.tx-kesearch-pi1 {
    width: 100%;
    font-family: var(--rootFont) !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.tx-kesearch-pi1 > * {
    width: 100%;
    float: none;
}

.tx-kesearch-pi1 > #kesearch_num_results,
.tx-kesearch-pi1 > #kesearch_ordering {
    width: auto;
}

.tx-kesearch-pi1 #kesearch_ordering div.ordering {
    float: none !important;
}

main.home .tx-kesearch-pi1 {
    width: calc(3 * var(--column_3) + 2 * var(--gap));
    margin-left: calc(var(--column_3) + var(--gap));
    margin-top: 0;
    margin-bottom: 2rem;
}

.tx-kesearch-pi1 form {
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 1rem;
    width: 100%;
    margin-top: 5rem;
    margin-bottom: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 4rem 3rem 2rem 3rem;
    padding: var(--largeFontSize);
    margin-bottom: 0 !important;
    max-width: 100%;
}

.tx-kesearch-pi1 form.defaultLayout {
    flex-direction: column;
    align-items: baseline;
}

.tx-kesearch-pi1 form::after {
    content: none;
}

.tx-kesearch-pi1 .kesearch_searchbox {
    flex: 1;
    width: 100%;
}

.tx-kesearch-pi1 .kesearchbox {
    height: auto;
    margin: 0;
    width: 100%;
}

.tx-kesearch-pi1 .kesearchbox.d-flex {
    display: flex;
    gap: var(--gap);
}

.frame-layout-0 .tx-kesearch-pi1 .kesearchbox.d-flex {
    gap: var(--gap) calc(var(--gap) + var(--largeFontSize));
}

.tx-kesearch-pi1 #kesearch_filters {
    margin-top: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: var(--gap);
    width: 100%;
}

.tx-kesearch-pi1 .kesearch_searchbox #ke_search_sword {
    width: var(--column_6) !important;
}

.tx-kesearch-pi1 .submit-fieldset {
    /* margin-left: 15%; */
}

.tx-kesearch-pi1 form input[type='search'],
.tx-kesearch-pi1 form input[type='date'] {
    font: inherit;
    padding: 0.25em 1em 0.15em !important;
    width: 100%;
    margin: 0;
    font-size: 1em;
    border-radius: 10px;
    border: 1px solid var(--dark);
    line-height: 1.3;
    background-color: var(--white);
    position: relative !important;
    width: 100% !important;
    top: inherit !important;
    color: var(--dark);
}

.tx-kesearch-pi1 form input[type='search'] {
    padding: 9px var(--largeFontSize) 7px !important;
}

.tx-kesearch-pi1 #kesearch_filters .list {
    border: none;
    background-color: var(--light);
    border-radius: 1rem;
    padding: 1rem 2rem;
    padding: 1em var(--largeFontSize);
    color: var(--dark);
}

.tx-kesearch-pi1 #kesearch_filters .list:last-child {
    width: var(--column_6);
}

.tx-kesearch-pi1 #kesearch_filters .list .head {
    border: none;
    font-weight: 400;
    padding: 0;
    color: var(--dark);
    font-size: var(--smallFontSize);
}

.tx-kesearch-pi1 #kesearch_filters .checkboxList {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 10px;
}

.tx-kesearch-pi1 #kesearch_filters .optionCheckBox {
    width: auto !important;
    margin: 0 !important;
    padding: 0;
}

#kesearch_filters .list ul.checkboxList {
    margin-top: 10px;
}

.tx-kesearch-pi1 #kesearch_filters .optionCheckBox input + label {
    width: auto !important;
    background: var(--white);
    border-radius: 1rem;
    padding: 8px 16px 8px 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    display: block;
    opacity: 0.5;
    cursor: pointer;
    margin: 0;
    background-image: url(./images/not_checked.png);
    background-repeat: no-repeat;
    background-position: 13px 50%;
}

.tx-kesearch-pi1 #kesearch_filters .optionCheckBox input:checked + label {
    opacity: 1;
    background-image: url(./images/checked.png);
}

.tx-kesearch-pi1 #kesearch_filters .optionCheckBox input {
    display: none;
}

.tx-kesearch-pi1 #kesearch_filters label {
    font-weight: 400;
}

.tx-kesearch-pi1 #kesearch_filters label:first-child {
    font-size: calc(var(--smallFontSize) / 16 * 12);
    color: var(--dark);
}

.tx-kesearch-pi1 #kesearch_filters .dateRange {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.tx-kesearch-pi1 #kesearch_filters .dateRange .date-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gap);
    max-width: 22rem;
}

.tx-kesearch-pi1 #kesearch_filters .dateRange .date-row input {
    width: auto !important;
}

.tx-kesearch-pi1 .button {
    background: none;
    border: none;
    font-weight: 500;
    margin-left: 0;
}

.tx-kesearch-pi1 .button::after:hover {
    transform: translateX(5px);
}

.tx-kesearch-pi1 .button.resetButton::after {
    content: none;
}

.tx-kesearch-pi1 .button.resetButton {
    font-weight: 400;
    color: var(--dark);
}

.tx-kesearch-pi1 .title-box {
    display: flex;
    align-items: center;
    position: relative;
    width: calc(var(--column_3) - var(--largeFontSize));
    /* margin-right: 5%; */
}

.tx-kesearch-pi1 .title-box h3 {
    font-weight: 500;
    margin: 0 !important;
}

.tx-kesearch-pi1 .title-box i {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--orange);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.law .title i > a:only-child,
.tx-kesearch-pi1 .title-box i > a:only-child {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}

.tx-kesearch-pi1 .title-box i::before {
    transform: translate(-50%, -50%) scaleX(-1);
    font-size: 22px;
    top: 50%;
    left: 50%;
    position: absolute;
}

.tx-kesearch-pi1 .smallSearchbox .kesearch_searchbox #ke_search_sword {
    width: 100% !important;
}

.tx-kesearch-pi1 .smallSearchbox .kesearch_searchbox {
    width: var(--column_4);
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    margin-right: auto;
}

.tx-kesearch-pi1 #kesearch_results {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-top: 0 !important;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item {
    width: var(--column_3);
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    padding: 2rem;
    padding: var(--largeFontSize);
    margin-bottom: 0;
    margin-top: 0;
}

.tx-kesearch-pi1 .result_txt {
    display: none;
}

.tx-kesearch-pi1 .kesearch_pagebrowser {
    margin-top: 3rem !important;
}

.tx-kesearch-pi1 .pages_total {
    border: none !important;
}

.tx-kesearch-pi1 .kesearch_pagebrowser .next,
.tx-kesearch-pi1 .kesearch_pagebrowser .prev {
    color: transparent;
    position: relative;
}

.tx-kesearch-pi1 .kesearch_pagebrowser .next::after,
.tx-kesearch-pi1 .kesearch_pagebrowser .prev::after {
    content: '';
    height: 22px;
    width: 17px;
    display: inline-block;
    background-color: var(--black);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tx-kesearch-pi1 .kesearch_pagebrowser .prev::after {
    transform: translateX(-50%) rotate(180deg);
}

.tx-kesearch-pi1 #kesearch_results .hit {
    color: var(--orange) !important;
}

.tx-kesearch-pi1 #kesearch_num_results,
.tx-kesearch-pi1 #kesearch_ordering,
.tx-kesearch-pi1 > p {
    margin-top: 5rem;
}

.tx-kesearch-pi1 .ordering ul {
    display: flex !important;
    align-items: center;
    gap: 1em;
}

.tx-kesearch-pi1 #kesearch_ordering div.ordering {
    color: var(--dark);
}

.tx-kesearch-pi1 #kesearch_ordering ul li {
    margin-right: 0 !important;
}

.tx-kesearch-pi1 .ordering ul li::before {
    content: none;
}

.tx-kesearch-pi1 .ordering ul li.sortlink {
    position: relative;
    margin-right: 0 !important;
    padding-left: 0;
    float: none !important;
    display: flex;
    align-items: center;
}

.tx-kesearch-pi1 .ordering ul li:nth-child(1) {
    margin-right: 3rem;
}

.tx-kesearch-pi1 .ordering ul li.sortlink a {
    font-weight: 400 !important;
    padding-right: 1rem;
}

.tx-kesearch-pi1 #kesearch_ordering span.down,
.tx-kesearch-pi1 #kesearch_ordering span.up {
    border: none !important;
    display: block;
    width: auto !important;
    height: auto !important;
}

.tx-kesearch-pi1 #kesearch_ordering span.down::after,
.tx-kesearch-pi1 #kesearch_ordering span.up::after {
    content: '';
    height: 14px;
    width: 11px;
    background-color: var(--dark);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: all 0.3s ease;
    transform: rotate(90deg);
    display: block;
}

.tx-kesearch-pi1 #kesearch_ordering span.up::after {
    transform: rotate(-90deg);
}

.search-form.box form {
    padding: 0;
    background: none;
    /* display: block; */
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
    gap: 0.5em;
}

.search-form.box form > * {
    width: 100%;
}

.tx-kesearch-pi1.search-form.box form .kesearch_searchbox {
    width: 100% !important;
}

.search-form.box form:after {
    content: none;
}

.search-form.box {
    margin-bottom: var(--gap);
}

.law .title i {
    width: 5.6rem;
    height: 5.6rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 50%;
    padding: 1.2rem;
    transform: translate(1rem, -1rem);
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
}

.law .title i:before {
    content: '\f002';
    font-size: 1.5em;
}

.box.law .button {
    margin-left: auto;
}

.frame-type-news_pi1 + .frame-type-list .tx-kesearch-pi1 {
    margin-top: var(--gap);
}

/* ---ke-search---end */

form.loading {
    position: relative;
    pointer-events: none;
}

form.loading > * {
    opacity: 0.5;
}

form.loading > .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
    z-index: 100;
    transform: translate(-50%, -50%);
    display: inline-block !important;
}

.loader {
    width: 48px !important;
    height: 48px !important;
    border: 5px solid var(--dark);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ---newsletter--start */

.newsletter-details .table {
    margin-bottom: 0;
    padding: 0;
    background: unset;
    box-shadow: unset;
    border-radius: unset;
    overflow: hidden;
}

.newsletter-details .table > tbody > tr > td,
.newsletter-details td,
.newsletter-details thead {
    border: none;
    padding: 0;
}
.newsletter-details > * {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.newsletter-details h1::before,
.newsletter-details h2::before {
    display: none;
}

.newsletter-details .table {
    display: flex;
}

.newsletter-details .spacer-to-left,
.newsletter-details .footer_mobile {
    background-color: #666c72;
}

.newsletter-details img[alt='Pfeil runter'] {
    display: none;
}

@media screen and (max-width: 968px) {
    .newsletter-details .table {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .newsletter-details .table tbody {
        display: block;
        width: 100% !important;
    }
    .newsletter-details table.header,
    .newsletter-details table.boxes {
        display: block;
        background: none !important;
    }
    .newsletter-details table.gradient {
        display: block;
        /* background-image: linear-gradient(180deg, #ffffff 60%, #f7b956 60%) !important; */
        background-color: #f7b956 !important;
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .newsletter-details table.boxes > tbody > tr > td,
    .newsletter-details table.gradient > tbody > tr > td,
    .newsletter-details table.boxes > tr > td,
    .newsletter-details table.gradient > tr > td {
        display: none;
    }

    .newsletter-details .footer_mobile {
        padding: 2rem !important;
    }

    .newsletter-details table.gradient > tbody > tr > td.mobile,
    .newsletter-details table.gradient > tr > td.mobile {
        display: block !important;
        height: auto !important;
        margin: 16px !important;
        padding: 20px !important;
        background-color: #ffffff;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
        border-radius: 10px;
    }
}
/* ---newsletter--end */
