header .tns-nav button[type="button"] {
    background-color: #fff;
	border-color: var(--background-color);
    padding: 0;
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

header .tns-nav button[type="button"].tns-nav-active {
    background-color: var(--highlight-color);
}
header .tns-nav button[type="button"]:hover {
    background-color: var(--style-color-2);
    border-color: var(--style-color-2);
}


.style-color-1 {
	color: var(--style-color-1);
}

.style-color-2 {
	color: var(--style-color-2);
}

.style-color-3 {
	color: var(--style-color-3);
}

.style-color-4 {
	color: var(--style-color-4);
}

.style-color-invert {
	padding:0.7rem;
	display: inline-block;	
}

.style-color-1.style-color-invert,
.style-color-1 > .style-color-invert  {
	background-color:var(--style-color-1);
	color:var(--background-color);
}

.style-color-2.style-color-invert,
.style-color-2 > .style-color-invert {
	background-color:var(--style-color-2);
	color:var(--background-color);
}

.style-color-3.style-color-invert,
.style-color-3 > .style-color-invert {
	background-color:var(--style-color-3);
	color:var(--background-color);
}

.style-color-4.style-color-invert,
.style-color-4 > .style-color-invert {
	background-color:var(--style-color-4);
	color:var(--background-color);
}

.frame-icon-highlight-color img {
    filter: var(--filter-white-to-icon-color);
}

#social-footer .frame-icon-highlight-color img {
    filter: var(--filter-black-to-icon-color);
}
#social-footer .frame-icon-highlight-color img:hover {
	filter: var(--filter-black-to-icon-hover-color);
}

.frame-icon-highlight-color svg {
    fill: var(--style-color-2);
}
#social-footer .frame-icon-highlight-color svg:hover {
	fill: var(--highlight-color);
}

/*
#social-footer .frame-icon-highlight-color svg {
    fill: var(--style-color-2);
}
#social-footer .frame-icon-highlight-color svg:hover {
	fill: var(--highlight-color);
}
*/

hr,
.ce-div {
    border-width: 0px;
    border-top: 1px dashed var(--default-font-color);
    margin-bottom: 20px;
}

.colorbox.colorbox-1 hr,
.colorbox.colorbox-1 .ce-div {
	border-width:0px;
	border-top:1px solid var(--highlight-counter-color);
	margin-bottom:20px;
}

.colorbox.colorbox-1 h1,
.colorbox.colorbox-1 h2,
.colorbox.colorbox-1 h3,
.colorbox.colorbox-1 h4,
.colorbox.colorbox-1 h5 {
	color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
	font-size:1rem;
	padding-bottom:1rem;
    font-family: var(--main-font);
	font-weight: normal;
    color: var(--headline-color);
	padding: 0;
}

h1,
.header-style-1 {
    font-size: 2.5rem;
    line-height: 3rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

h2,
.header-style-2 {
    font-size: 2rem;
    line-height: 2.3rem;
    text-transform: uppercase;
    margin-bottom: 2.3rem;
}

h3,
.header-style-3 {
    font-size: 1.7rem;
    line-height: 1.9rem;
    text-transform: uppercase;
    margin-bottom: 1.7rem;
}

h4,
.header-style-4 {
    font-size: 1.4rem;
    line-height: 1.6rem;
    margin-bottom: 1.5rem;
}

h5,
.header-style-5 {
    font-size: 1.1rem;
    line-height: 1.3rem;
    font-family: var(--special-font);
    margin-bottom: 1.3rem;
}

.ce-bodytext {
	font-size: 1.1rem;
}

.fslightbox-container {
	font-family: var(--main-font) !important;
}

main p,
.fslightbox-container p {
	font-size:1.1rem;
	line-height:1.4;
	margin-bottom:1.5rem;
}

main li,
footer li,
.fslightbox-container li {
	font-size:1.1rem;
	line-height:1.4;
}

main p:last-child {
    margin-bottom: 0;
}

main strong, main b {
	font-family: var(--bold-font);
}

.style-font-tiny {
    font-size: 0.9rem;
    line-height: 1.2;
}

.style-font-med {
    font-size: 1.4rem;
    line-height: 1.3;
}
.style-font-big {
    font-size: 1.7rem;
    line-height: 1.3;
}

main ul,
main ol,
.fslightbox-container ul,
.fslightbox-container ol
 {
	margin-left:20px;
	margin-bottom:1.5rem;
}
main li {
    margin-left: 10px;
}
main ol li::marker,
.fslightbox-container ol li::marker {
    color: var(--highlight-color);
}
main ul li,
.fslightbox-container ul li {
    list-style: none;
	position:relative;
}

main .colorbox.colorbox-1 ul li::before {
    color: var(--highlight-counter-color);
}

main ul li::before,
.fslightbox-container ul li::before {
    display: inline-block;
	position: absolute;
    content: "\2022";
    color: var(--highlight-color);
    font-family: var(--bold-font);
    width: 1em;
    margin-left: -1em;
}

/* Formulare */

form label.form-check-label span {
    line-height: 2;
}

/* Buttons */
header input.button,
button, 
a.button,
main input.button,
main .news-backlink-wrap a.back-button {
    font-size: 1.1rem;
}

/* Footer Content */
footer .ce-bodytext {
	line-height: 1.3;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5 {
	color: var(--background-color);
}
footer .ce-bodytext {
	font-size: 1.1rem;
}

footer .ce-bodytext p a:not(.button) {
  	/*
    display: block;
    padding-bottom: 10px;
	*/
    color: var(--menu-font-color);
    /*text-decoration: none;*/
}

footer .ce-bodytext p {
    padding-bottom: 1rem;
}
footer .ce-bodytext p:last-of-type {
    padding-bottom: 0;
}

footer ul {
    list-style: none;
}
footer li a {
    color: var(--footer-link-color);
    text-decoration: none;
}
footer li a:hover {
    color: var(--background-color) !important;
}

footer .ce-bodytext a.button {
    border: 1px solid var(--background-color);
}

/* Social Footer */
#social-footer {
    background-color: var(--alternative-background-color);
}
#social-footer .main-column {
	/*
    margin-bottom: -1rem;
	*/
}
#social-footer .ce-textpic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    padding: 1rem 0;
}

#social-footer .ce-gallery {
    margin: 0;
}

#social-footer .ce-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
#social-footer .ce-row {
    margin: 0  0 0 1rem;
    padding: 0;
}

/*
cg 02.09.24 warum? wollen wir nur 2rem hohe Bilder????
#social-footer svg,
#social-footer img {
	height: 2rem;
	width: auto;
}
*/

@media (max-width: 800px) {
	#social-footer .ce-textpic {flex-direction: column-reverse;}
	#social-footer .ce-row {margin-left: 1rem; }
	#social-footer .ce-bodytext,
	#social-footer .ce-gallery	{padding-bottom: 0.5rem;}
	
	/*
	cg 02.09.24 warum? wollen wir nur 2rem hohe Bilder????
	#social-footer svg, #social-footer img {height: 2rem;}
	*/
}

/* Bilder + Galerie */

.ce-gallery .ce-column {
	display:inline-block;
	vertical-align:middle;
	float:none;
}

/*
.ce-intext.ce-right .ce-gallery {
    margin-left: 20px;
}
*/

p.news-img-caption,
.ce-gallery .image-caption {
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1rem;
    font-style: italic;
}

main a img {
    filter: brightness(100%);
    transition: all 0.5s ease;
}

main a img:hover {
    filter: brightness(92%);
}

@media (max-width: 1024px) {
	.col-wrap .ce-intext .ce-gallery figcaption,
	.col-wrap .ce-intext .ce-gallery figure {
		display: block;
	}
	
	
	.col-wrap .ce-intext .ce-gallery img,
	.col-wrap .ce-intext .ce-gallery {
		width: 100%;
	}
	
} 
@media (max-width: 520px) {
	.ce-intext .ce-gallery figure,
	.ce-intext .ce-gallery figcaption	{
		display: block;
	}
	.ce-intext .ce-gallery .ce-column {
		width: 100%;
	}
	.ce-intext .ce-gallery img, 
	.ce-intext .ce-gallery {
		width: 100%;
		height: auto;
	}
}



/* Akkordeon */

main .toggle-item.closed {
    margin-bottom: 1rem;
}
main .toggle-item.open {
    margin-bottom: 0;
}
main .toggle-content p:last-child {
    margin-bottom: 1rem;
}

/* Counter */

main span.counter {
    font-size: 5rem;
}

/* Transitions */
#content > .main-column:first-of-type {overflow: hidden;}

/* Lightbox */
@media (max-width: 800px) {
	.fslightbox-source {
		width:100% !important;
		margin-top: 10px !important;
	}
}

/* Messages */

.message {
	padding-top: 20px;
	padding-bottom: 20px;
}
.message p:last-of-type {padding-bottom: 10px;} 
.message.message--error {
    background-color: var(--error-background-color);
    color: var(--error-background-font-color);
    padding: 10px 20px;
    text-align: center;
}

/*Cookie Consent */

#gdpr-cookie-message button {
    background-color: var(--highlight-color);
	border:none !important;
	color:#fff;
}
#gdpr-cookie-message button:hover {
    background-color: var(--background-color);
	color:#000;
}
#gdpr-cookie-message li {
    width: 47%;
    display: inline-grid;
    margin-bottom: 5px;
    padding-right: 10px;
    line-height: 1.5;
}

main .frame-type-menu_abstract li a,
main .frame-type-menu_section_pages li a,
main .frame-type-menu_sitemap_pages li a,
main .frame-type-menu_pages li a  {
	color:var(--default-font-color);
}

main .frame-type-menu_abstract li a:hover,
main .frame-type-menu_section_pages li a:hover,
main .frame-type-menu_sitemap_pages li a:hover,
main .frame-type-menu_pages li a:hover  {
	color:var(--menu-font-color);
}

/* News */

.news-list-items h3 {
    font-size: 1.43rem;
}

/* Calendar */

.tx-zrwcalendar,
.tx-zrwcalendar table th {font-size: 1.1rem;}
.tx-zrwcalendar .item-list.item-type-event.view--daily .item-list-inner .event-info .event-meta > div {
    line-height: 1.3;
}

/* FlipBox */

.frame-type-textmedia.frame-flipbox .ce-textpic .ce-bodytext p,
.frame-type-textmedia.frame-flipbox .ce-textpic .ce-bodytext li {
    font-size: 1rem;
}

.consentbox .consent-message a:not(.button) {
	color: var(--default-font-color);
}

.consentbox .consent-message a.button {
	color: var(--button-font-color);
}

.consentbox .consent-message a.button:hover {
	color: var(--button-hover-font-color);
}