.mobile-only {
	display: none;
}

div#footer-content br.showOnlyMobile {
	display: none;
	clear: both;
}

@media screen and (max-width: 1076px) {

	#root {
		min-height: 585px;
	}

	#root:before, #root:after, #footer:before, #footer:after {
		display: none;
	}
}


@media screen and (max-width: 768px) {
	div.kesearchbox:has(.error) {
		margin-bottom: 0;
	}

	div.kesearchbox .error {
		position: relative;
		padding: 5px 0 10px 0;
		left: unset;
		bottom: unset;
	}

	#content .news.news-single .article iframe {
	    width: 100%;
	    height: 360px;
	}

	.outer-wrapper {
		overflow: hidden;
	}

	div#header-area {
		top: -104px;
		width: 100%;
		padding: 15px 5%;
		height: 104px;
	}

	div#teaser {
		margin-top: 104px;
	}

	#teaser div.headerwechsler div.text {
		top: 15px;
		left: 15px !important;
		bottom: auto;
		width: 300px !important;
	}

	#teaser div.headerwechsler div.text p {
		display: none;
	}

	#teaser div.headerwechsler div.text h3 {
		font-size: 15px;
	}

	#teaser div.headerwechsler div.text a {
		margin-top: 5px;
	}

	body {
		width: 100%;
	}

	#root, #mainFooter, #footer {
		min-width: 0;
		width: 100%;
		overflow: visible;
	}

	#mainFooter, #footer {
		overflow: hidden;
	}

	.footer-top {
		flex-direction: column;
		gap: 25px;
		margin-bottom: 25px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 25px;
	}

	.footer-top > div.footer-container {
		width: 100%;
	}

	#sociallinks ul.menu-level-1{
		display: flex;
		justify-content: center;
	}

	.sidebar #content,
	#content {
		width: 100%;
	}

	.sidebar #main {
		background: none;
	}

	#main {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-left: 5%;
		padding-right: 5%;
	}

	#main img {
		width: 100%;
		height: auto;
	}

	#navigation {
		padding: 0;
		width: 250px;
		text-align: left;
		background: #eeeeef;
		display: none;
	}

	ul.menu-level-1 > li {
		display: block;
		margin: 0;
	}

	ul.menu-level-1 li.has--child-items > a {
		background: url("../Images/mobile-nav.png") 95% center no-repeat;
		background-size: 20px;
	}

	ul.menu-level-1 li.has--child-items.active > a {
		background-image: url("../Images/mobile-nav-active.png");
		color: #e53434 !important;
	}

	ul.menu-level-1 li.has--child-items.open > a {
		background: url("../Images/mobile-nav-open.png") 95% center no-repeat;
		background-size: 20px;
	}

	ul.menu-level-1 li.has--child-items.active.open > a {
		background-image: url("../Images/mobile-nav-active-open.png");
	}

	.svg ul.menu-level-1 li.has--child-items > a {
		background-image: url("../Images/mobile-nav.svg");
	}

	.svg ul.menu-level-1 li.has--child-items.active > a {
		background-image: url("../Images/mobile-nav-active.svg");
	}

	.svg ul.menu-level-1 li.has--child-items.open > a {
		background-image: url("../Images/mobile-nav-open.svg");
	}

	.svg ul.menu-level-1 li.has--child-items.active.open > a {
		background-image: url("../Images/mobile-nav-active-open.svg");
	}

	#navigation ul.menu-level-1 li a:hover, #navigation ul.menu-level-1 > li:hover > a,
	#navigation ul.menu-level-1 > li > ul > li > ul > li > a:hover {
		color: #000;
	}

	.svg ul.menu-level-3 > li > a {
		background-image: url("../Images/svg/pfeil-navigation-schwarz.svg") !important;
		background-size: 9px !important;
	}

	.svg ul.menu-level-3 > li.active > a {
		background-image: url("../Images/svg/pfeil-navigation-rot.svg") !important;
	}

	/*.svg ul.menu-level-1 li.has--child-items.open .thirdnavigation li.has--child-items.open > a {
		background-image: url("../Images/mobile-nav.svg") !important;
	}*/

	.svg ul.menu-level-1 li.has--child-items.open .fourthnavigation li.has--child-items.open > a,
	ul.menu-level-1 li.has--child-items.open .fourthnavigation li.has--child-items.open > a,
	ul.menu-level-1 li.has--child-items.open .fourthnavigation li.has--child-items > a {
		background-image: none !important;
	}

	.off-canvas-menu #navigation ul.menu-level-1 > li > a {
		padding-bottom: 10px;
	}

	ul.menu-level-1 li a {
		display: block;
		padding: 10px 35px 10px 10px;
	}

	ul.menu-level-1 > li > a {
		font-weight: bold;
	}

	ul.menu-level-2 {
		position: static;
		display: none;
		padding: 0;
		background: #dcddde !important;
		box-shadow: none;
	}

	ul.menu-level-2 li {
		width: 100%;
		float: none;
		margin: 0;
		border-bottom: 2px solid #fff;
	}

	ul.menu-level-2 > li > a {
		margin-bottom: 0;
	}

	ul.menu-level-3 > li > a {
		background-position: 10px center !important;
		padding: 5px 10px 5px 25px;
	}

	ul.menu-level-3 > li {
		border-bottom: 0;
	}

	ul.menu-level-3 {
		margin-bottom: 10px;
		display: none;
	}

	ul.menu-level-2 > li:nth-child(4n),
	ul.menu-level-2 > li.lastelement {
		float: none;
	}

	ul.menu-level-1 li:hover ul.menu-level-2 {
		display: none;
	}

	ul.fourthnavigation {
		padding: 0;
	}

	ul.fourthnavigation li {
		border-bottom: 0 none;
	}

	ul.fourthnavigation li a {
		text-transform: none;
		font-size: 12px;
		padding: 7px 10px 7px 40px;
	}

	#searcharea {
		display: none;
	}

	#topnavigation {
		display: none;
	}

	#header-area {
		width: 90%;
		margin-bottom: 50px;
	}

	.nav-toggle {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 6px;
		text-indent: -9999px;
		background: url("../Images/nav-icon.png") center center no-repeat;
		background-size: 30px;
		display: block;
		width: 50px;
		height: 50px;
	}

	.svg .nav-toggle {
		background-image: url("../Images/nav-icon.svg");
	}

	.mobile-only {
		display: block;
	}

	.teaserbox {
		width: 100%;
		float: none;
		margin-bottom: 60px;
	}

	#header-area {
		position: absolute;
		top: 0;
		left: 0;
	}

	#teaser {
		position: relative;
		background-size: 120%;
		min-height: 0 !important;
	}

	#teaser .image {
		position: absolute;
		bottom: 0;
		left: 0;
	}

	#teaser:has(> div.image):after {
		content: "";
		padding-top: 29%;
		display: block;
	}

	.startseite #teaser {
		min-height: 0 !important;
	}

	.startseite #teaser:has(> div.image):after {
		padding-top: 35%;
	}

	#teaser div.headerwechsler {
		overflow: hidden;
		height: 160px;
	}

	#logo {
		position: static;
		margin: 0 auto;
		float: right;
	}

	#logo img {
		margin-top: 10px;
		width: 120px;
		height: auto;
	}

	html.svg #logo {
		/*width: 120px;*/
		margin-top: 10px;
	}

	div.zweispaltig .floatleft,
	div.zweispaltig .floatright {
		width: 100% !important;
		float: none !important;
	}


	#mainFooter {
		height: auto;
	}

	#footer-content {
		width: 90%;
		padding-bottom: 0;
	}

	div.footer-container.address {
		width: 100%;
	}

	div.footer-container.address table {
		width: 90%;
		white-space: nowrap;
	}

	div.footer-container.address table tr td {
		display: block;
	}

	div.footer-container {
		float: left;
		width: 45%;
		margin-bottom: 20px;
		margin-right: 10%;
		min-width: 100px;
	}

	div.footer-container:nth-child(even) {
		margin-right: 0;
	}

	div.footer-container.gmaps {
		float: none;
		width: 100%;
	}

	div#footer-content br.showOnlyMobile {
		display: block;
	}

	div.footer-container.gmaps img {
		width: 100%;
		max-width: 292px;
		height: auto;
	}

	.swipe {
		overflow: hidden;
		visibility: hidden;
		position: relative;
	}
	.swipe-wrap {
		overflow: hidden;
		position: relative;
	}
	.swipe-wrap > div {
		float: left;
		width: 100%;
		position: relative;
		padding: 0 10px;
	}

	.swipe-nav {
		list-style: none;
		text-align: center;
		margin: 0 auto !important;
		width: 100%;
		display: block;
		padding: 0;
	}

	.swipe-nav li {
		text-indent: -9999px;
		display: inline-block;
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background-color: #ccc;
		margin: 0 3px 7px !important;
	}

	.swipe-nav li.active {
		background: #888;
	}


	.news-list-view .page-navigation p {
		display: none;
	}

	#content .news-list-view .f3-widget-paginator {
		padding: 0;
		text-align: center;
	}

	.news .page-navigation ul li {
		float: none;
	}

	#content .news-list-view .f3-widget-paginator li.current,
	#content .news-list-view .f3-widget-paginator li {
		display: inline-block;
		font-size: 18px;
		padding: 5px 5px !important;
		line-height: 1em;
	}

	#content .news-list-view .f3-widget-paginator li a {
		font-size: 18px;
	}

    div.tx-pm_personaldatenbank div.publikationen div.publikation {
        width: 100%;
    }

    #content #c13 img {
    	margin: 0;
    	width: auto;
    }

    .tab.contents {
    	overflow: auto;
    }

    .tab div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
    	float: none;
    }

    .tab .csc-textpic-intext-left-nowrap-155 .csc-textpic-text {
    	margin: 0;
    }

    #c6651 {
    	margin-top: 70px;
    }

    div.csc-textpic-intext-right .csc-textpic-imagewrap {
    	float: none;
    }

    #root div#content table.persontable {
    	padding: 0;
    }

	#searcharea {
		position: relative;
		top: auto;
		right: auto;
		padding: 10px;
		margin-top: 20px;
		background-color: #ffffff;
	}

	#searcharea div.tx-indexedsearch input[type='text'] {
		font-size: 16px;
	}

	#searcharea div.tx-indexedsearch input[type='text']:focus {
		width: 180px;
	}

	.mobile-only.searchbutton {
		text-align: left;
		top: 50%;
		transform: translateY(-50%);
	}
}


@media screen and (max-width: 666px) {
	body.menu-open {
		overflow: hidden;
	}
	body.off-canvas-menu #navigation {
		height: 100vh !important;
		padding-bottom: 20px;
		overflow-y: scroll !important;
		-webkit-overflow-scrolling: touch;
	}
}


@media screen and (max-width: 500px) {
	div.csc-mailform li input[type='text'],
	div.csc-mailform li input[type='email'],
	div.csc-mailform li input[type='number'],
	div.csc-mailform li textarea {
		width: 100%;
		display: block;
		float: none;
	}

	div.csc-mailform li label.error {
		margin-left: 0;
	}

	div.searchform div.row select {
		max-width: 80%;
		display: block;
	}

	div.searchform input[type='text'] {
		font-size: 16px;
	}

	#cycle-pager {
		display: none;
	}
}


@media screen and (max-width: 380px) {
	div.clearerhidden {
		display: block;
	}

	#teaser div.headerwechsler div.text {
		bottom: auto;
		width: 200px !important;
		padding: 5px;
	}

	#teaser div.headerwechsler div.text p {
		display: none;
	}

	#teaser div.headerwechsler div.text h3 {
		font-size: 12px;
		margin-top: 0;
	}

	#teaser div.headerwechsler div.text a {
		margin-top: 5px;
		font-size: 12px;
		margin-bottom: 3px;
		margin-right: 3px;
	}
}
