/* Farbverlauf oben */
body,
footer > .alignfull {
    border-top: 8px solid;
    /*border-image-source: linear-gradient(90deg, rgb(244, 245, 246) 0%, rgb(0, 198, 229) 19%, rgb(255, 210, 157) 37%, rgb(255, 128, 0) 57%, rgb(176, 121, 150) 65%, rgb(0, 123, 194) 72%, rgb(45, 72, 143) 85%, rgb(0, 43, 85) 100%);*/
    border-image-source: linear-gradient(90deg, rgb(244, 245, 246) 0%, rgb(0, 198, 229) 19%, rgb(255, 210, 157) 37%, rgb(0, 123, 194) 72%, rgb(45, 72, 143) 85%, rgb(0, 43, 85) 100%);
    border-image-slice: 1;
}

/* Fokus für Elemente anpassen */
body :focus,
footer :focus {
    outline: 2px solid var(--wp--preset--color--primary) !important;
}

/* Text-Selection stylen */
::selection {
    background: #FFDEB7;
    color: var(--wp--preset--color--primary);
}

/* Verschiedene Schriftgrößen anpassen */
/*.has-small-font-size {
    font-size: var(--wp--custom--typography--font-size--small) !important;
}

.has-medium-font-size {
    font-size: var(--wp--custom--typography--font-size--medium) !important;
}

.has-large-font-size {
    font-size: var(--wp--custom--typography--font-size--large) !important;
}*/

/* http://jira-id-ks.pt-dlr.de/browse/BRAINHEALT-27 (Fließtext und Fließtext-M 2 Pixel größer) */
body.max-lg p {
    font-size: calc(var(--wp--preset--font-size--medium) + 2px);
}
body.max-lg p.has-medium-font-size {
    font-size: calc(var(--wp--preset--font-size--medium) + 2px) !important;
}

/* Anpassung Innenabstand f�r News-Bl�cke Startseite */
ul.wp-block-post-template {
    padding: 0px;
}

.wp-block-post-content ul>li {
    margin-left: 0px;
}

/* Zeilenhöhe für Content-Schriftgrößen */
.has-large-font-size {
    line-height: var(--wp--custom--typography--line-height--large);
}
.has-small-font-size {
    line-height: var(--wp--custom--typography--line-height--small);
}

/* Link Styling */
a:hover,
a:focus {
    text-decoration-style: solid;
    text-decoration-thickness: 2px !important;
    text-decoration-line: solid !important;
}

.wp-block-post-content p a {
    text-decoration-thickness: 1px;
    text-decoration-style: solid;
    text-decoration-color: var(--wp--preset--color--primary);
}

.wp-block-post-content p a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: var(--wp--preset--color--primary);
}

table a {
    text-decoration-thickness: 1px;
    text-decoration-style: solid;
    text-decoration-color: var(--wp--preset--color--primary);
}

table a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: var(--wp--preset--color--primary);
}

.wp-block-column.has-secondary-background-color a {
    text-decoration-color: var(--wp--preset--color--text)
}

.wp-block-column.has-secondary-background-color a:hover {
    text-decoration-color: var(--wp--preset--color--text)
}

footer a,
.footer-main-nav a {
    text-decoration-line: none;
}

footer a:hover,
.footer-main-nav a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px !important;
    text-decoration-color: var(--wp--preset--color--text) !important;
}

/* Breadcrumb Footer */
.yoast-breadcrumbs ol li a:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

/* Links im Content-Bereich ohne Icons */
.wp-block-post-content p a::before, .is-root-container p a::before {
    display: none !important;
}

/* Buttons Primary Secondary, on light, on dark */
/* Primary Button on light */
.wp-element-button,
.wp-block-button__link {
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: var(--wp--custom--typography--font-size--button);
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--weiss);
}
.wp-element-button:hover,
.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--medium-blue);
    color: var(--wp--preset--color--weiss);
}

/* Secondary Button on light */
.is-style-outline .wp-element-button,
.is-style-outline .wp-block-button__link {
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: var(--wp--custom--typography--font-size--button);
    background-color: transparent !important;
    color: var(--wp--preset--color--primary) !important;
    border: 1px solid var(--wp--preset--color--primary) !important;
}
.is-style-outline .wp-element-button:hover,
.is-style-outline .wp-block-button__link:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--medium-blue) !important;
    border: 1px solid var(--wp--preset--color--medium-blue) !important;
}

/* Primary Button on dark */
.has-primary-background-color .wp-element-button,
.has-primary-background-color .wp-block-button__link {
    background-color: var(--wp--preset--color--weiss);
    color: var(--wp--preset--color--primary);
}
.has-primary-background-color .wp-element-button:hover,
.has-primary-background-color .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--akzent-tuerkis);
    color: var(--wp--preset--color--primary);
}

/* Secondary Button on dark */
.has-primary-background-color .is-style-outline .wp-element-button,
.has-primary-background-color .is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--wp--preset--color--akzent-tuerkis) !important;
    border: 1px solid var(--wp--preset--color--akzent-tuerkis) !important;
}
.has-primary-background-color .is-style-outline .wp-element-button:hover,
.has-primary-background-color .is-style-outline .wp-block-button__link:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--weiss) !important;
    border: 1px solid var(--wp--preset--color--weiss) !important;
}

/* Styling der Newsbox �berschrift */
.newsbox {
    background-color: var(--wp--preset--color--text);
    padding: 16px;
    padding-left: 24px;
    position: relative;

    top: -91px;
    max-width: 180px;
}

.newbox-query {
    position: relative;
    top: -75px;
}

.newsbox h2 {
    font-size: 20px;
    font-weight: 400;
}

.wp-block-post-title a {
    text-decoration: none !important
}

/* Boxen für Teaserliste News */
.wp-block-post-template-is-layout-grid li.wp-block-post {
    padding: 23px;
    border-radius: 24px;
    background-color: var(--wp--preset--color--light-grey);
}

/* Datumsangaben kursiv */
.wp-block-post-date {

}

/* Bild in Teaserliste */
.wp-block-post-template-is-layout-grid li.wp-block-post .wp-block-post-featured-image img {
    margin-bottom: 0.25rem;
}

/* Bilderunterschrift bzw Copyright */
.wp-block-post-template-is-layout-grid li.wp-block-post figure.wp-block-post-featured-image a {
    text-decoration: none !important;
    font-size: var(--wp--custom--typography--font-size--img-caption);
}

/* Styling Read More Button */
.wp-block-read-more:not([style*=text-decoration]),
.wp-block-read-more:not([style*=text-decoration]):active,
.wp-block-read-more:not([style*=text-decoration]):focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--wp--preset--color--secondary)
}

.wp-block-read-more {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--wp--preset--color--secondary);
}

.wp-block-read-more:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--wp--preset--color--secondary);
}

/* Abst�nde Newsletter checkbox */
.nl-field.field-type-checkbox {
    margin-top: 24px;
    margin-bottom: 24px !important;
}

.wp-block-prj-pt-gutenberg-blocks-newsletter button[type="submit"] {
    font-weight: 400;
    border-radius: 9999px;
    padding-bottom: calc(0.667em + 2px);
    padding-top: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);
    padding-right: calc(1.333em + 2px);
    width: auto;
}

.nl-field.field-type-submit button:hover {
    background-color: #ffffff;
    color: var(--wp--preset--color--text);
    text-decoration: none
}

.wp-block-prj-pt-gutenberg-blocks-newsletter form .nl-field.field-type-checkbox .check-wrap label::before {}


/* Styling Pullquote */
.wp-block-pullquote {
    padding-top: 1em;
    padding-bottom: 1em;
}

/* Styling Breadcrumb */
.yoast-breadcrumbs {
    font-size: 16px !important;
}

/* Gibt dem Bild in dem Cover auf der Startseite eine maximale H�he, damit es nicht skaliert wird */
.cover-buehne img {
    max-height: 350px !important
}

/* Abst�nde Teaserliste Category Row */
.teaserrow {
    column-gap: 0.25rem !important;
}

/* Trenner-Element stylen */
hr.wp-block-separator {
    border: none !important;
}

hr.wp-block-separator:not(.has-background) {
    background-color: var(--wp--preset--color--orange);
}

hr.wp-block-separator.is-style-default {
    width: 180px !important;
    height: 2px !important;
}

hr.wp-block-separator.is-style-wide {
    width: 100% !important;
    height: 1px !important;
}

/* Tabellen stylen*/
main .wp-block-table tr,
main .wp-block-table th,
main .wp-block-table td {
    border-color: var(--wp--preset--color--medium-grey);
}

main .wp-block-table tbody tr {
    background-color: #fbfbfb;
}

main .wp-block-table th,
main .wp-block-table.is-style-vertical-headers tbody tr td:first-of-type {
    background-color: var(--wp--preset--color--light-orange);
    text-align: left;
}

main .wp-block-table tfoot {
    background-color: var(--wp--preset--color--light-orange);
    text-align: left;
    border-top: 1px solid var(--wp--preset--color--medium-grey);
    font-weight: 700;
}

main .wp-block-table tbody tr:hover {
    background-color: var(--wp--preset--color--light-orange);
}

body.min-lg footer .footer-main-nav {
    padding-top: 0px;
}

.wp-block-column figure:first-child {
    margin-top: 0px !important;
}

main .wp-block-table figcaption {
    font-size: var(--wp--custom--typography--font-size--img-caption);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Suche */

body.min-lg :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
    border: none;
    border-radius: 20px;
    padding: 0 0 0 20px;
    font-size: var(--wp--custom--typography--font-size--small);
    color: var(--wp--preset--color--primary);
}

.search-input-container .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
    border-radius: 9999px;
}

/* Suchergebnisse */
.search-results-container li .single-search-result-container .single-result-content-container p.wp-block-read-more {
    background-image: none;
    padding-left: 0;
}

body.min-lg main .search-input-container {
    border-radius: 24px;
}

body.min-lg main .search-input-container .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
    flex: 0 auto;
    padding: 0px 24px !important;
}

.search-results-container hr.wp-block-separator {
    margin: 30px 0px;
}

main .search-results-container .single-result-content-container {
    margin-block-start: 0.5rem;
}

main .single-search-result-container:hover .wp-block-read-more {
    text-decoration-thickness: 2px !important;
}

main .search-input-container .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
    font-weight: 400;
}

main .search-input-container .wp-block-search {
    max-width: 100%;
}

main .custom-pagination .wp-block-query-pagination-numbers a.page-numbers {
    text-decoration: underline;
}

/* Styling Akkordeon */
.accordion-header {
    background-color: #ffffff !important
}

.accordion-header:hover {
    background-color: #ffffff !important
}

.accordion-header a {
    text-decoration: none !important;
}
/* Akkordeon Pfeil anpassen */
#site-content .wp-block-prj-pt-gutenberg-blocks-accordion .content .accordion-header .accordion-arrow::after,
.wp-block-prj-pt-gutenberg-blocks-accordion .content .accordion-header .accordion-arrow::after {
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.97' height='5.612' fill='%23002B55' viewBox='0 0 9.97 5.612'%3E%3Cg transform='translate(9.97 0) rotate(90)'%3E%3Cpath d='M5.612,4.957a.491.491,0,0,0-.224-.436L1.01.164a.624.624,0,0,0-.842,0,.58.58,0,0,0,0,.817L4.153,4.957.225,8.988a.58.58,0,0,0,0,.818.623.623,0,0,0,.842,0L5.443,5.394a.714.714,0,0,0,.168-.436' transform='translate(0 0)'/%3E%3C/g%3E%3C/svg%3E%0A") !important; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='19' fill='none' stroke='%23002B55' stroke-width='1.5' viewBox='0 0 53.2 27.9'%3E%3Cg transform='translate(0 0) rotate(0)'%3E%3Cpath d='M52.7,1C51,3,26.8,27.2,26.8,27.2L0.6,1' transform='translate(0 0)'/%3E%3C/g%3E%3C/svg%3E%0A") !important;
    width: 37px;
    height: 19px;
}

#site-content .wp-block-prj-pt-gutenberg-blocks-accordion .content .accordion-header[aria-expanded="true"] .accordion-arrow::after,
.wp-block-prj-pt-gutenberg-blocks-accordion .content .accordion-header[aria-expanded="true"] .accordion-arrow::after {
    transition: 0.3s ease-in-out;
    transform: rotateX(180deg);
}

.text-wrap {
    background-color: #ffffff !important
}

.header {
    font-size: 24px !important;
    text-decoration: none !important;
}

/** Cookie Banner Button Styling **/
#privacy-note button {
    border-radius: 999px;
    font-size: 19px
}

footer .wp-block-image img {
    width: 600px;
    padding-bottom: 0px;
}

footer .wp-block-image {
    padding-bottom: 0px !important;
}

/* Boxen padding */
.wp-block-group.has-background {
    padding: 1.25em 2.375em;
}

/* Boxen padding: preset sodass prev/next Buttons der Slides hinein passen */
.wp-block-prj-pt-gutenberg-blocks-slide > .wp-block-columns,
.wp-block-prj-pt-gutenberg-blocks-slide > .wp-block-group > .wp-block-columns {
    padding: var(--wp--preset--spacing--70);
}

/* Boxen abgerundete Ecken */
.wp-block-cover,
.wp-block-column.has-background,
.wp-block-prj-pt-gutenberg-blocks-slider .wp-block-group.has-background,
.wp-block-prj-pt-gutenberg-blocks-slide > .wp-block-columns,
.wp-block-prj-pt-gutenberg-blocks-slide > .wp-block-group > .wp-block-columns,
main .wp-block-image img,
main .wp-block-post-featured-image img,
main svg {
    border-radius: 16px;
}

.wp-block-cover.alignfull {
    border-radius: 0px;
}


/* Farbige Boxen mit Hintergrundbild-Zoom-Effekt */
.box-zoom,
.box-zoom * {
    transition: all 0.25s ease;
}

.box-zoom img.wp-block-cover__image-background {
    scale: 1;
}

.box-zoom:hover img.wp-block-cover__image-background {
    scale: 1.15;
}

.box-zoom:hover a,
.box-zoom a:hover,
.box-zoom:hover a:hover {
    text-decoration-thickness: 4px !important;
}

/* Hover-Effekt für Copyright als P-Tag */
.box-zoom p {
    opacity: 0;
    bottom: 10px;
    position: absolute;
    font-size: var(--wp--custom--typography--font-size--img-caption) !important;
}

.box-zoom:hover p,
.box-zoom p:hover,
.box-zoom:hover p:hover {
    opacity: 0.5;
}

/* Zitat-Element stylen */
.wp-block-quote {
    border-left: none;
    padding-left: 5.375rem;
    padding-top: 2.125rem;
    margin-block-start: 1.5rem;
    background-image: url(assets/icons/quote-background.svg);
    background-repeat: no-repeat;
    background-size: 116px 95px;
    background-position: top left;
}

.wp-block-quote p {
    font-size: var(--wp--custom--typography--font-size--quote);
    line-height: var(--wp--custom--typography--line-height--quote);
    margin-top: 0rem;
}

.wp-block-quote cite {
    font-size: var(--wp--custom--typography--font-size--quote-name);
    line-height: var(--wp--custom--typography--line-height--quote-name);
    font-style: italic;
}

/* Bildunterschrift stylen */
main .wp-block-image figcaption {
    color: var(--wp--preset--color--light-blue);
    font-size: var(--wp--custom--typography--font-size--img-caption) !important;
    line-height: var(--wp--custom--typography--line-height--img-caption) !important;
}

/* Listen-Element mit Strich statt Punkt */
.wp-block-post-content ul:not(.wp-block-post-template):not(.slick-dots),
.wp-block-post-content ul ul:not(.wp-block-post-template):not(.slick-dots) {
    list-style-type: none;
}

.wp-block-post-content ul:not(.wp-block-post-template):not(.slick-dots) li::before {
    content: "– ";
}

/* To-Top Button im Vordergrund */
footer .to-top {
    z-index: 9999;
}


 body.max-lg .service-menu {
     text-transform: uppercase;
 }
