/*-----------------------------------=========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;
}

.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 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-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;
}

/* ---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-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 {
    padding-left: 0;
}

.content-main .pagination 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 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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light);
    border-radius: 10px;
    gap: var(--gap);
}
.pagination ul li {
    flex: 0 0 auto;
    width: 11.1111%;
    text-align: center;
    flex-grow: 1;
    flex-shrink: 1;
}
.pagination ul li a {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
    width: 100%;
}

.pagination ul li:first-child a {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.pagination ul li:last-child a {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.pagination ul li a:hover {
    background-color: var(--orange);
    color: var(--white);
}
.pagination ul li a.active {
    background-color: var(--orange);
    color: var(--white);
}
/* ---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: .5em;
}

.news-img-caption {
    opacity: .7;
	font-size: 0.9em;
}
