h1 {
	padding: 1rem;
}
#logo {
	left: 0;
	margin-top: 80px;
	width: 100%;
	text-align: left;
	height: auto;
	padding: 1rem 0;
	margin-left: 0;
	transition-delay: 0ms;
	transition-duration: 300ms;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-duration: 300ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-duration: 300ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
	position: relative;
	opacity: 1.0;
	z-index: 40;
}
.logoshrink {
	position: absolute;
	left: 0;
	top: 2px;
	width: 100px;
	z-index: 39;
	opacity: 0;
	transition-delay: 0ms;
	transition-duration: 300ms;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-duration: 300ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-duration: 300ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
}
header.shrink .logoshrink {
	opacity: 1.0;
}
.logo img,
#logo img {
	width: 80%;
	margin-left: 10%;
}
#logo .logoshrink {
	width: 75px;
	margin-top: 15px;
}
header.shrink #logo {
	position: absolute;
	width: 150px;
	height: auto;
	display: block;
	min-height: inherit;
	top: 0;
	left: 1rem;
	margin-left: 0;
	margin-top: 0;
	padding: 5px 12px;
	padding: 0;
	text-align: left;
}
header.shrink #logo .logo {
	opacity: 0;
}

#headerinner {
	position: relative;
	z-index: 40;
	left: 0;
	width: 100%;
	height: auto;
	transition-delay: 0ms;
	transition-duration: 300ms;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-duration: 300ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-duration: 300ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
}
#headerinnercenter {
	transition-delay: 0ms;
	transition-duration: 300ms;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-duration: 300ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-duration: 300ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
	padding: 0;
}
header.shrink #headerinnercenter {
	height: 70px;
}

header.shrink #headerinner {
	position: fixed;
	top: 0;
	left: 0;
	height: 50px;
	width: 100%;
	z-index: 80;
}
header.shrink #headerinner #mainnav {
	display: none;
}

.bx-wrapper {
  padding: 0;
}
#header .bx-wrapper {
	padding: 0;
}
#header.shrink .bx-wrapper {
	padding-top: 60px;
}
#contentBody .bx-wrapper {
	float: left;
	width: 100%;
}
#contentBody .bergalslider picture { 
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
}
#contentBody .bergalslider .bx-wrapper { 
	margin-bottom: -2rem;
	overflow: visible;
}

.bx-wrapper img {
	width: 100%;
}

#mainnav {
	padding: 1rem;
	display: block;
}
#mainnavdesk {
	display: none;
}

#mainnav ul li:first-child {
}
#mainnav ul li {
	display: block;
	vertical-align: middle;
	width: 100%;
	text-align: center;
}
@media (max-width: 22em) {
	#mainnav ul li {
		display: block;
		width: 100%;
		margin-bottom: 1rem;
	}
	
}

@media (max-width: 45em) {
	#contentslider .bereichtext {
		min-height: inherit;
	}
	#contentslider .bereichtext button,
	#contentslider .bereichtext ul,
	#contentslider .bereichtext p  {
		display: none;
	}
}

#mainnavdesk ul li a,
#mainnavdesk ul li .linkverw,
#mainnav ul li a {
	font-weight: normal;
	-webkit-hyphens: none;
	-ms-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	border-bottom: 1px solid transparent;
	padding: 0 0;
	margin: 0 0.3rem 0.7rem 0.3rem;
}
#header.shrink #mainnavdesk ul li a,
#header.shrink #mainnavdesk ul li .linkverw,
#header.shrink #mainnav ul li a {
	margin-bottom: 0.2rem;
}


#mainnavsmart {
	margin: 0 -1em;
}
#mainnavsmart ul {
	list-style-image: none;	
}
#mainnavsmart li {
	display: inline-block;
	width: 50%;
}
#mainnavsmart a {
	color: rgb(168, 36, 41);
	padding: 1em;
}

#columnCenter {
}

.eb_smallsearch {
	float: left;
	width: 100%;
	box-sizing: border-box ;
	margin: 0;	
	padding: 1em;
	display: inline;
	background: rgb(179, 171, 165);
}

.khMobileMenu.change + #khNav {
	position: absolute;
	z-index: 52;
	border-bottom: 2px solid #BBBF0D;
    background: rgb(255,255,255);
	top: 73px;
}
#header.shrink .khMobileMenu.change + #khNav {
	top: 58px;
}

#khNav {
	z-index: 52;
}
#khNav a {
	text-align: center;
    padding: 0.5rem 0;
}
#khNav ul li ul a {
	padding: 0 1rem;
}
#khNav ul li ul {
  	padding: 0.5em 1em;
  	margin-bottom: 1em;
}

#bereichlinkswrapper {
	position: relative;
	min-height: 0;
}
#bereichlinkswrapper img {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
}
#content ul#bereichlinks {
	position: relative;
	left: 0;
	top: 1em;
	padding: 1em 0;
	box-sizing: border-box;
	width: 100%;
	z-index: 20;
	background: rgba(255,255,255,0.6);
	margin-left: 0;
}
#bereichlinks li {
	text-align: center;
}

#contentslider .slidercontent {
	position: relative;
	min-height: 70vw;
}
#contentslider .bereichhg {
	background-position: right bottom;
	background-size:  cover;
}

.slidercontent a {
	display: none;
}

.galbildrahmen {
	margin-right: 0;
	margin-bottom: 1em;
}
.galbildrahmen:last-child {
	margin-bottom: 0;
}
.lightgallery {
	display: block;
	width: 100%;
}
.lightgallery div {
	text-align: center;
	margin-bottom: 0.5rem;
}

@media (max-width: 44.99999em) {
	.pageselection .bergal {
		display: block;
		padding: 0 1em;
		width: 100%;
		box-sizing: border-box;
	}
	.pageselection picture {
		width: 100%;
	}
	.pageselection .bergal img {
		width: 100%;
		margin: 0;
	}
}
@media (min-width: 45em) {
	.pageselections {
		overflow: visible;
		padding-top: 50px;
	}
	.bereich.pageselection {
		margin-top: 0px;
		padding-top: 0px;
	}
	.pageselection .bergal {
		display: block;
		padding: 0 1em;
		width: 30%;
		margin: 0 5% 20px 5%;
		box-sizing: border-box;
	}
	.pageselection picture {
		width: 100%;
	}
	.pageselection .bergal img {
		width: 100%;
		margin: 0;
	}
}


#khNav .linkverw {
	display: none;
}

.mediaimages .lightgallery div {
	display: inline-block;
	width: 100%;
}
.mediaimages .lightgallery div img {
	width: 100%;
}

#footer {
	padding-top: 1rem;
}
#footer nav {
	width: 100%;
	margin-bottom: 1.5rem;
}

#subnav {
	display: none;
}

#menhamplus {
	display: none;
	position: relative;
	z-index: 100;
}
.show-menu #menhamplus {
}

#menuikons {
	position: relative;
	z-index: 10;
	right: 0;
	padding: 8px;
	top: 0;
	width: auto;
	text-align: center;
}
#menuikons a {
	width: 30%;
	display: inline-block;
	opacity: 0.7;
	transition-delay: 0s;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
	transition-duration: 300ms;
	-moz-transition-duration: 300ms;
	-webkit-transition-duration: 300ms;
}
#menuikons a:hover {
	opacity: 1;
}

.special2 table {
	width: 100% !important;
}
.special1 .beruet header h2 {
	background: url(images/linie-chronik.png) no-repeat left 1.8rem;
	padding: 0 0 0 70px;
}

.formatunveraend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.formatunveraend a {
	width: auto;
	margin: 1rem;
}

.pageselections .bereich .beruet {
	padding-left: 1rem;
	box-sizing: border-box;
}

.bereich.bereichtermin {
	padding: 0 0 0 100px;
	background: url(images/kalendersym.png) no-repeat left top;
	background-size: 60px auto;
}
.bereich.bereichtermin .beruet {
	margin-top: 0;
}
.bereich.bereichtermin .bereichheader h2 {
	padding-top: 0;
}

#subnav {
	display: block;
}
#subnav ul {
	float: left;
	width: 100%;
}
#subnav > ul > li {
	display: inline-block;
	float: left;
	padding: 0;
	box-sizing: border-box;
	width: 65px;
	margin: 5px;
}
@media (min-width: 60em) {
	#subnav > ul > li {
	}
}

#subnav > ul > li.has_children {
	border: 0.5px solid rgba(255,255,255,0.3);
	width: 50%;
}
#subnav > ul li ul {
	float: right;
	max-width: 22rem;
}
#subnav ul li a,
#subnav ul li .linkverw {
	padding-left: 0;
	text-transform: uppercase;
	  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
	transition-delay: 0ms;
	transition-duration: 300ms;
	transition-property: all;
	transition-timing-function: ease-in;
	-moz-transition-delay: 0ms;
	-moz-transition-duration: 300ms;
	-moz-transition-property: all;
	-moz-transition-timing-function: ease-in;
	-webkit-transition-delay: 0ms;
	-webkit-transition-duration: 300ms;
	-webkit-transition-property: all;
	-webkit-transition-timing-function: ease-in;
}
#subnav ul li a.menimg {
	text-indent: -10000px;
}
#subnav li ul li a {
	text-transform: none;
	text-indent: -1000px;
}

#subnav > ul li ul li a {
	padding-left: 30px;
}
#subnav li.current.has_children a {
	background-color: transparent;
}

#subnav > ul li a.menimg {
	background-repeat: no-repeat;
	background-position:  5px center; 
	background-size: 15px 15px;
}
#subnav > ul li.has_children > a.menimg {
	background-image: none;
	padding-left: 0;
}
#subnav > ul li a.menimg {
	display: inline-block;
	width: 65px;
	height: 65px;
	background-repeat: no-repeat;
	background-position:  right top; 
	background-size: 65px 65px;
}
#subnav > ul li a.menimg1 {
	background-image:url(/site_marstein/templates/symbole/pikto-fenster.png);
}
#subnav > ul li a.menimg2 {
	background-image:url(/site_marstein/templates/symbole/pikto-tueren.png);
}
#subnav > ul li a.menimg3 {
	background-image:url(/site_marstein/templates/symbole/pikto-sonnenschutz2.png);
}
#subnav > ul li a.menimg4 {
	background-image:url(/site_marstein/templates/symbole/pikto-garagentore.png);
}
#subnav > ul li a.menimg5 {
	background-image:url(/site_marstein/templates/symbole/pikto-metallverarbeitung.png);
}


.welle {
	display: none;
}

#contentMainWrapper {
	z-index: 28;
}

.slogan {
	position: absolute;
	left: 1rem;
	bottom: 0;
	z-index: 30;
	padding: 0.5rem 1rem;
	line-height: 1.2rem;
}

#mapunloadtext {
	left: 5%;
	top: 100px;
	max-width: 90%;
	background: rgba(255,255,255,0.7);
	padding: 0.3rem 0.5rem;
}

.bergal iframe {
	max-width: 100% !important;
}


.bereichlinksp button.more {
	margin-bottom: 1rem;
}

#pageHeader {
	position: relative;
	padding-top: 0px;
	top: 0;
	min-height: 120px;
}

#pageHeader #gastgeb {
	position: absolute;
	right: 0px;
	width: 300px;
	max-width: 100%;
	height: 64px;
	bottom: -15px;
}

#pageHeader h1 {
	margin: 0;
	line-height: 1em;
	font-weight: normal;
	padding: 2.5rem 1rem 1rem 1rem;
	color: #fff;
	text-align: center;
}



#Inputfield_fewosuche .Inputfields {
	width: 100%;
}
@media (max-width: 60em) {
	#Inputfield_fewosuche ul li {
		display: block;
		width: 30% !important;
		padding-bottom: 1.5rem;
	}
	#Inputfield_fewosuche ul li.InputfieldSubmit {
		width: 100% !important;
	}
	#Inputfield_fewosuche ul li .InputfieldContent,
	#Inputfield_fewosuche ul li label {
		display: inline-block;
		width: 100% !important;
		vertical-align: top;
	}

	#Inputfield_fewosuche ul li ul li {
		padding-bottom: 0;
		width: 100% !important;
	}

	.InputfieldSubmit {
		text-align: right !important;
	}

}

@media (max-width: 44.999999em) {
	#Inputfield_fewosuche ul li {
		display: block;
		width: 100% !important;
		padding-bottom: 1.5rem;
	}

	#Inputfield_fewosuche ul li .InputfieldContent,
	#Inputfield_fewosuche ul li label {
		display: inline-block;
		width: 50% !important;
		vertical-align: top;
	}

	.InputfieldSubmit {
		text-align: center !important;
	}

}


#Inputfield_fewosuche ul li ul li {
	padding-bottom: 0;
}
.Inputfields {
	display: inline-block;
}
#Inputfield_fewosuche ul li ul li label,
#Inputfield_fewosuche ul li ul li .InputfieldContent {
	width: 100% !important;
}
#content #Inputfield_fewosuche ul li::before {
	content: '';
}
#content #Inputfield_fewosuche .Inputfield:not(.InputfieldSubmit) {
	background: transparent;
    border-radius: 0.5em;
}
#Inputfield_fewosuche .InputfieldHeader {
	font-size: 1.3rem;
	color: #92A53A;
	padding-bottom: 1rem;
	display: inline-block;
	width: 100%;
}
#Inputfield_fewosuche .InputfieldHeader i {
	display: none;
}

#Inputfield_fewosuche .description {
	display: inline;
	margin-right: 1rem;
}

label span {
	font-size: 1rem;
	padding: 0.5rem;
	display: inline;
}

#Inputfield_fewosuche .InputfieldFieldset ul li .InputfieldHeader {
	display: none;
}

.InputfieldSubmit {
	padding-top: 1rem;
}
#Inputfield_fewosuche ul li.InputfieldSubmit {
	display: block;
}

#fewobuchungsleiste2 {
	display: none;
}
#pageHeader a#fewobuchungsleiste2 {
	display: block;
	position: absolute;
	z-index: 10;
	top: 1rem; 
	left: 1rem;
	display: block;
	text-decoration: none;
	font-size: 20px;
	font-family: fontbold;
	color: #655446;
	background: url(images/calsym2.jpg) no-repeat right center #fff;
	background-color: #fad12d;
	padding: 10px 50px 10px 10px;
	min-height: 40px;
	border: 1px solid #655446;
	border-radius: 5px;
}

#header-tel span {
	display: none;
}

#languageChange {
	position: absolute;
	right: 1rem;
	top: 0;
	width: 3rem;
	margin: 0 0 0 0;
	padding: 0;
	z-index: 10;
	list-style-type: none;
	text-align: right;
	display: block;
	display: none;
}
body.fewo #languageChange {
	width: 10rem;
}
#languageChange li a.akt {
	text-decoration: none;
}

#languageChange li {
	display: inline-block;
}
#languageChange li a {
	font-size: 1.2rem;
	text-decoration: underline;
	padding: 0.2em 0.5em;
	display: block;
}

#footer {
	margin-top: 20px;
}
