/*///////////////////////////////////////// MENU */
.mobile-menu-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	overflow-y: scroll;
	background: #fff;
	transform: translateX(-110%);
	-webkit-transform: translateX(-110%);
	transition: transform .4s ease;
	-webkit-transition: transform .4s ease;
}

body.mobile-menu-active {
	overflow: hidden;
}

.mobile-menu-active .mobile-menu-wrapper {
	transform: translateX(0px);
	-webkit-transform: translateX(0px);
}

.header .dl-menuwrapper {
	position: static;
}

.header .mobile-menu__lists {
	height: auto;
}

.header .hamburger-outer {
	padding-left: 0;
    z-index: 100;
}

.logo-mobile {
    position: relative;
    margin-top: 18px;
    z-index: 89;
}

.header .dl-menuwrapper li.dl-back > a {
	background: none;
}

.dl-menuwrapper .dl-back:after {
	display: none;
}


.dl-menu .toLogin a,
.dl-menu .userLogout a,
.dl-menu .ePaperLink a {
	font-family: Verdana, sans-serif;
	font-weight: bold;
	color: #2D4D7C;
	float: unset;
}

.dl-menu .toLogin,
.dl-menu .userLogout {
    border-bottom: 1px solid #000;
}

.dl-menuwrapper li:first-child a {
	border-top: none;
}

.dl-divider_top {
	width: 87.5%;
	margin: 0 auto;
	height: 1px;
	display: block;
	background: #CCC;
}

.dl-menuwrapper li.dl-back > a,
.no-touch .dl-menuwrapper li.dl-back > a {
	background: none;
	text-transform: capitalize;
	font-weight: normal;
	color: #2D4D7C;
	text-decoration: none;
	width: 160px;
	text-align: right;
}

.dl-menuwrapper li.dl-back > a:before {
	content: '';
	display: inline-block;
	background: URL(../Images/arrowLink.png) center center no-repeat;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.header.container.hidden-lg {
	border-bottom: 1px solid #bbb;
}


/*/////////////////////////////////////////// SEARCH */
.topTools .openCloseSearch {
	width: 23px;
	height: 21px;
	border: none;
	margin-left: 30px;
	background: URL(../Images/searchButton.png) left 0 no-repeat;
	cursor: pointer;
	float: right;
}

.topTools .searchOverlay {
	display: none;
	overflow: hidden;
	float: right;
	clear: both;
	margin-top: 10px;
	padding: 20px 10px;
	background-color: #fff;
	border-left: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
}

.header.hidden-lg .topTools {
	/* right: 5%; */
	top: 25px;
}

@media only screen and (min-width: 33.75em) {
	/* .header.hidden-lg .topTools {
		right: 10%;
	} */
}

.header.hidden-lg .openCloseSearch {
	margin: 0;
	width: 28px;
	height: 28px;
	border: 1px solid #aaa;
	/*background: linear-gradient(to bottom, #eee, #ccc);*/
    background: #eee url("../Images/Lupe.png") no-repeat;
    background-position: center;
    background-size: 60%;
}

@media (max-width: 350px) {
	.LG .tx-felogin-pi1 {
		margin-left: 0;
	}

	.LG .loginHeader h1 {
		width: 50%;
	}

	.LG .loginHeader h1.pwLabel {
		position: relative;
		left: 5px;
	}

	.LG input.loginUser {
		width: 48%;
		box-sizing: border-box;
		padding-right: 5px;
	}

	.LG input.loginPW {
		width: 48%;
		box-sizing: border-box;
	}
}


/*////////////////////////////////////////////// FOOTER */
@media (max-width: 991px) {
	body {
		font-size: 15px;
	}

	body .footer {
		border-bottom: none;
	}
    
    .umfrageContainer {
        border: 0;
    }

	.umfrageContainer .imageArea,
	.umfrageContainer img:not(.tx-srfreecap-pi1-image) {
		display: none;
	}

	.umfrageContainer .arrowHeadlineBoxRight,
	.bayern-freestate .arrowHeadlineBoxRight {
		padding-left: 10px;
		box-sizing: border-box;
		font-size: 15px;
		line-height: 24px;
	}

	.umfrageContainer .arrowHeadlineBoxContent .textArea {
		padding-left: 0;
		padding-bottom: 15px;
		font-size: 15px;
		width: 100%;
	}

	.umfrageContainer .textLink {
		margin-top: 0;
	}
	
	.umfrageContainer .arrowHeadlineBoxRight .arrowHeadlineText,
	.umfrageContainer .arrowHeadlineBoxContent .contactDetails,
	.umfrageContainer .arrowHeadlineBoxContent .contactDetails b,
    .webinar .arrowHeadlineBoxContent .internal-link,
	.bayern-freestate .arrowHeadlineText {
		font-size: 15px;
	}

	.umfrageContainer .arrowHeadlineBoxContent .textArea a,
	.umfrageContainer .textLink a,
	.umfrageContainer .pollArchive,
    .box .webinar .arrowHeadlineBoxContent a.internal-link {
		padding: 5px 6px 5px 15px;
		font-size: 15px;
		background-position: 0 9px;
        background-size: 7px 10px;
	}

	.umfrageContainer .fachthemenplanPdfLink,
	.brPlayer .brPlayerArea {
		width: 100%;
		float: none;
	}
	
	.umfrageContainer .downloadLink br {
		display: none;
	}

	.umfrageContainer .facebookRightColumn iframe {
		width: 130px;
		margin-left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}

	.umfrageContainer .unserBayernBlock .textArea {
		padding-bottom: 20px;
	}

	.umfrageContainer .unserBayernBlock .arrowHeadlineBoxContent > p {
		margin-bottom: 0px;
	}

	.umfrageContainer .brPlayer {
		padding-bottom: 10px;
	}

	.umfrageContainer .annualSupplement .arrowHeadlineBoxContent .widePicture + p {
		margin-bottom: 19px;
	}

	.umfrageContainer .tx_jkpoll_pi1_accordion {
		width: 100% !important;
		float: none !important;
	}

	.E-Paper ul.tx_jkpoll_pi1_answers {
		margin: 0 auto;
		float: none;
		width: 62%;
        overflow: auto;
	}

	.E-Paper ul.tx_jkpoll_pi1_answers li {
		display: inline-block;
		width: 50%;
		float: left;
		text-align: center;
	}

	.E-Paper.bayern-freestate {
		border: none;
	}

	.umfrageContainer .arrowHeadlineBoxContent .tx-jkpoll-pi1 {
        border: 0;
        margin-bottom: 0;
    }
    
    .questionText, .questionText p,
    .questionText, .questionText p.bodytext {
        font-size: 15px;
    }
    
    /* .tx_jkpoll_pi1_answers ~ .tx_jkpoll_pi1_toggle {
        width: 140px;
        height: 35px;
        background: #bfbebf;
        text-align: center;
        color: #fff;
        font-size: 15px;
        line-height: 35px;
        margin: 15px auto 0;
        display: block;
        float: none;
    } */

    .header.hidden-lg .topTools {
    	top: 43px;
    }
    
    .tx_jkpoll_pi1_answers ~ .tx_jkpoll_pi1_toggle span {
        display: none;
    }

	.right .search{
		display:none;
	}
}


/*///////////////////////////////////// CONTENT */
@media(max-width: 991px) {
	/* Top-Thema */
	.one-element-teaser-category-container .one-element-teaser-category-text {
		font-weight: bold;
		margin-top: 30px;
        line-height: 22px;
	}

	.one-element-teaser-image-container {
		margin-bottom: 2px;
	}

	.one-element-teaser-container .news-image-caption-container {
		display: none;
	}

	.one-element-teaser-container .news-date-right {
		color: #000;
		font-size: 12px;
	}

	.one-element-teaser .single-element-teaser-link .one-element-teaser-text-title {
		font-weight: bold;
		color: #000;
		font-size: 24px;
		line-height: 28px;
	}

	.one-element-teaser .one-element-teaser-title-container .one-element-teaser-text-short-title {
		font-size: 16px;
		line-height: 20px;
		color: #000;
		margin: 18px 0 2px;
		font-weight: normal;
	}

	.one-element-teaser .one-element-teaser-title-container:nth-child(5) {
		margin-bottom: 0;
	}

	.one-element-teaser .one-element-teaser-title-container .one-element-teaser-text-title {
		font-weight: bold;
	}

	.one-element-teaser p.bodytext {
		font-size: 15px;
		line-height: 18px;
		margin-bottom: 5px;
	}


	/* Grid Elements */
	a.list-news-and-categories-header-text {
		font-size: 22px;
		font-weight: bold;
		padding: 10px 0 9px 12px;
	}

	.list-current-news-from-the-ressorts p.news-date-right {
		font-size: 13px;
		font-weight: normal;
	}

	.list-current-news-from-the-ressorts .list-news-and-categories-title {
		font-size: 16px;
	}

	.contentFrame .list-news-and-categories-image-continer {
		float: left;
		margin: 0 10px 0 0 !important;
		width: 150px;
	}

	.list-news-and-categories-image-continer img {
		width: 150px !important;
		height: 100px !important;
	}

	.list-news-and-categories-short-title-text,
	.list-news-and-categories-short-title-text * {
		font-size: 15px;
		line-height: 20px;
		hyphens: auto;
	}
	
	.list-nine-news-container {
		margin-bottom: 20px;
	}

	/* News Page */
	.contentFrame div,
	.contentFrame p {
		max-width: 100% !important;
		box-sizing: border-box;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.contentFrame .footerMenu {
		width: 100%;
		height: auto;
	}

	.bodytext img {
		max-width: 50% !important;
	}
	.bodytext img.layout-3 {
		margin: 4px 0 4px 10px;
	}

	/* Comments */
	.tx-pwcomment-pi1 ol,
	.tx-pwcomment-pi1 li,
	.tx-pwcomment-pi1 textarea {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}
}

@media (min-width: 992px) {
	.hide-desktop {
		display: none;
	}
}

