body {
    font-family: Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 15px;
    background-color: #e9e9e9;
    border-color: #e1e1e1;
    color: #3a3a3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 96vh;
    margin: 0;
}

.frame {
    background-color: #fff !important;
    line-height: 1.5rem;
    /* border: #222222 1px solid;
    border-radius: 5px; */
}

.frame a {
    color: #222222 !important;
    text-decoration: underline !important;
}

.frame-type-menu_subpages header {
    padding: 0px;
    line-height: 0.1em;
    white-space: nowrap;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 16px 16px 16px 42px;
}

h2 {
    font-size: 30px;
    font-weight: 100;
    margin: 16px;
    line-height: normal;
}
h4 {
    font-size: 44px;
    margin: 0;
    font-weight: 100;
}

ul {
    list-style: initial;
}

/***************cgpt*********************/

.layout {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 83vh;
}
header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header img {
    max-height: 40px;
}
@media only screen and (max-width: 599px) {
  header img {
    max-height: 25px;
  }
}
header.top {
    background-color: #fff;
}
.title-area div {
    padding: 38px 0;
    background-color: #4E4A99 !important;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
.title-area header {
    width: 1000px;
}
.main-content {
    background-color: #E9E9E9;
    max-width: 1000px;
    align-self: center;
    width: 100%;
}
.content {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
}
.side-content {
    display: flex;
    padding: 20px;
    background-color: #fff;
    flex-wrap: wrap;
}
.content-left, .content-right {
    flex: 1;
    box-sizing: border-box;
    min-width: 400px;
}

#page-2 .content .frame.frame-default.frame-type-text.frame-layout-1 {
    padding-left: 22px !important;
}

.languageMenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.languageMenu li {
    display: inline;
}

.languageMenu li a {
    text-decoration: none;
    color: #222;
    padding: 5px 6px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.languageMenu li a:hover {
    background-color: #e0e0e0;
}

.languageMenu li.active a {
    border: 1px solid #333;
}

.languageMenu li.disabled a {
    color: #ccc;
    pointer-events: none;
}
hr.ce-div {
    height: 80px;
    border: none;
}
/*images*/

.ce-image .ce-gallery, .ce-image .ce-column, .ce-gallery figure, .ce-gallery img  {
    width: 100%;
    height: auto;
}

img.in-text-img {
    vertical-align: middle;
}
/***footer*****************/
footer {
    background: #4E4A99;
    padding: 21px 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
@media only screen and (max-width: 959px) {
    footer {
        flex-direction: column;
        padding: 0;
    }
    footer div.frame {
        padding: 10px 0 20px 50px;
    }
}
footer .frame.frame-default.frame-type-text.frame-layout-0, footer .frame.frame-default.frame-type-html.frame-layout-0{
    background-color: #4E4A99 !important;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
footer header {
    margin: 0;
    padding: 0;
}
footer header h2{
  margin-left: 0;
}
footer .frame a {
    color: #fff !important;
}
footer p {
    margin-top: 0;
    margin-bottom: 0;
}
footer svg {
    width: 34px;
    fill: #fff;
    margin-right: 34px;
}
.social-icons a {
    text-decoration: none !important;
}
footer.legal {
    margin-top: 1px;
    justify-content: flex-end;
}
footer.legal div {
  flex-direction: row !important;
}
footer.legal div p {
    margin-right: 100px;
}
/**************************/
dl.tx-indexedsearch-info {
    display: none;
}
/*searchbox titel*/
h5.ce-headline-left {
    text-align: left;
    font-size: 1.3em;
    font-weight: 100;
    margin-bottom: -80px;
    margin-left: 4px;
}
label[for="tx-indexedsearch-searchbox-sword"] {
    display: none !important;
}

/* Stile für das Suchformular innerhalb des .frame Containers */
.frame .tx-indexedsearch-searchbox {
    background-color: #f1f1f1; /* Leicht abweichende Hintergrundfarbe */
    border: 2px solid #ccc; /* Leichte Umrandung */
    border-radius: 5px; /* Etwas größere Rundung */
    margin: 0; /* Entfernung von externem Abstand, da es bereits vom Elternteil festgelegt ist */
    font-size: inherit; /* Übernahme der Schriftgröße vom Elternteil */
    line-height: inherit; /* Übernahme der Zeilenhöhe vom Elternteil */
    font-weight: inherit; /* Übernahme der Schriftstärke vom Elternteil */
    display: flex;
    flex-direction: column;
    padding: 20px; /* Zusätzlicher Innenabstand für Abhebung */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  Leichter Schatten für mehr Abhebung */
}

/* Stile für das Fieldset und die Legende */
.frame .tx-indexedsearch-searchbox fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.frame .tx-indexedsearch-searchbox legend {
    margin-bottom: 10px;
    visibility: hidden;
}
/*Search result list*/
.tx-indexedsearch-info-sword, .tx-indexedsearch-browsebox, .tx-indexedsearch-res {
  padding-left: 20px;
}
p.tx-indexedsearch-description {
    margin-top: 0px;
}
.tx-indexedsearch-res h3 {
    margin-bottom: 0px;
}

/* Stile für das Suchfeld */
.frame .tx-indexedsearch-form {
    margin-bottom: 15px;
}

.frame .tx-indexedsearch-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.frame .tx-indexedsearch-form .tx-indexedsearch-searchbox-sword {
    width: calc(100% - 10px);
    padding: 10px; /* Etwas mehr Innenabstand für besseren Fokus */
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em; /* Konsistente Schriftgröße */
}





/* Stile für die Paginierungsliste */
/* Allgemeines Styling für die Paginierung */
.tx-indexedsearch-browsebox ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px; /* Abstand zwischen den Buttons */
    margin-top: 10px;
}

.tx-indexedsearch-browsebox li {
    margin: 0;
}

/* Styling der Links in der Navigation */
.tx-indexedsearch-browsebox li a {
    padding: 6px 15px;
    border-radius: 3px;
    background-color: #fff; /* Hintergrundfarbe Weiß */
    color: #000; /* Standardfarbe Schwarz */
    font-size: 1em;
    font-weight: normal;
    text-decoration: none !important; /* Entfernt Unterstreichung */
    display: inline-block;
    text-align: center;
    max-width: 40px; /* Maximale Breite auf 40px begrenzt */
    box-sizing: border-box;
}

/* Hover-Effekt: Hintergrund und Textfarbe ändern */
.tx-indexedsearch-browsebox li a:hover {
    background-color: #222;
    color: #fff !important;
}

/* Aktive Seite: Fettschrift und 2px Border */
.tx-indexedsearch-browselist-currentPage strong a {
    background-color: #fff; /* Hintergrundfarbe bleibt Weiß */
    border: 2px solid #222; /* Aktiver Button bekommt 2px Border */
    font-weight: bold; /* Fettschrift für den aktiven Button */
}

/* Styling für "Previous" und "Next" Buttons */
.tx-indexedsearch-browselist-prev a,
.tx-indexedsearch-browselist-next a {
    background-color: #fff;
    color: #000;
    font-size: 1.2em !important;
    font-weight: bold !important;
    max-width: none; /* Keine Breitenbegrenzung für "<" und ">" */
}

/* Hover-Effekt für "Previous" und "Next" Buttons */
.tx-indexedsearch-browselist-prev a:hover,
.tx-indexedsearch-browselist-next a:hover {
    background-color: #222;
    color: #fff;
}





/* Stile für den Such-Button */
.frame .tx-indexedsearch-search-submit {
    text-align: right;
}
.frame input.tx-indexedsearch-searchbox-button {
    content: ' ';
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg id="magnifying-glass_cache150" width="100%" height="100%" viewBox="0 0 24 24" y="264" style="transform:scale(-1,1)" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false"><path fill="white" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"></path></svg>');
    background-repeat: no-repeat;
    width: 90px;
    height: 45px;
    display: inline-block;
    margin-right: 5px;
    background-position: 21px 3px;
    margin-bottom: -3px;
}

/**/

.frame .tx-indexedsearch-searchbox-button {
    border: none;
    border-radius: 3px;
    background-color: #4E4A99; /* Gewünschte Farbe */
    font-size: 0em;
    cursor: pointer;
}

.frame .tx-indexedsearch-searchbox-button:hover {
    background-color: #373476; /* Dunklere Farbe bei Hover */
}

span.tx-indexedsearch-percent {
    font-size: x-small;
}

/* Stile für den Zurück-Button */
/* Standardmäßig alle Home-Buttons und Logo-Links ausblenden */
div#page-2 .home-button, .home-button, .logo-link {
    display: none;
}

/* Home-Buttons und Logo-Link für spezifische Sprache anzeigen */
html[lang="de"] .home-button.de,
html[lang="de"] .logo-link.de,
html[lang="en"] .home-button.en,
html[lang="en"] .logo-link.en,
html[lang="fr"] .home-button.fr,
html[lang="fr"] .logo-link.fr,
html[lang="it"] .home-button.it,
html[lang="it"] .logo-link.it {
    display: inline-block;
}

.home-button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    background-color: #4E4A99; /* Gleiche Farbe wie Suchbutton */
    color: #fff !important;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px; /* Etwas Abstand nach oben */
    max-width: 170px; /* Maximale Breite für den Button */
}

.home-button:hover {
    background-color: #373476; /* Dunklere Farbe bei Hover */
}

.home-button a {
    color: inherit !important; /* Vererbt die Textfarbe vom Button */
    text-decoration: none !important; /* Entfernt die Unterstreichung */
    display: block; /* Stellt sicher, dass der Link den gesamten Buttonbereich ausfüllt */
    height: 100%; /* Stellt sicher, dass der Link die gesamte Höhe des Buttons einnimmt */
}
/* Stile für den to-top-Button */
#toTop {
    position: fixed; /* An einer festen Position auf dem Bildschirm */
    bottom: 20px; /* Abstand vom unteren Rand */
    right: 20px; /* Abstand vom rechten Rand */
    background-color: #4E4A99; /* Hintergrundfarbe */
    color: #fff; /* Schriftfarbe */
    padding: 10px; /* Innenabstand */
    border: 2px solid #fff;
    border-radius: 25px; /* Abgerundete Ecken */
    text-decoration: none; /* Keine Unterstreichung */
    z-index: 1000; /* Im Vordergrund halten */
    opacity: 0; /* Anfangs unsichtbar */
    visibility: hidden; /* Anfangs unsichtbar */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Transition für Ein- und Ausfaden */
}

#toTop.show {
    opacity: 1; /* Voll sichtbar */
    visibility: visible; /* Sichtbar */
}

#toTop a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

#toTop svg {
    fill: #fff; /* Farbe des SVG-Pfades */
}

/* Subpage-Navigation Styles */
.subpage-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px 0;
}

.subpage-navigation a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 3px;
    background-color: #fff;
    color: #333 !important;
    text-decoration: none;
    transition: background-color 0.3s;
}

.subpage-navigation a:hover {
    background-color: #e9e9e9;
}

.subpage-navigation a.prev {
    margin-right: auto;
}

.subpage-navigation a.next {
    margin-left: auto;
}
.subpage-navigation a.next:after, .subpage-navigation a.prev:before  {
        content: ' ';
        background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%22-4%200%2020%2020%22%20version%3D%221.1%22%3E%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate(-751.000000,%20-674.000000)%22%20id%3D%22Group%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%3E%3Cg%20transform%3D%22translate(745.000000,%20672.000000)%22%20id%3D%22Shape%22%3E%3Cpolyline%20points%3D%227%203%2017.0011615%2012.0021033%207%2021.0042067%22%3E%3C/polyline%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
        background-repeat: no-repeat;
        background-size: 15px;
        width: 15px;
        height: 15px;
        display: inline-block;
        margin-left: 5px;
    }
.subpage-navigation a.prev:before {
    transform: rotate(180deg);
    margin-right: 5px;
    margin-left: 0px;
}
