/*******************************************************************************
	Project		:	Gojer.at
	Copyright	:	EDV & Internetservice Juergen Lamprecht
    Date        :   Juni / Juli 2014

    Hintergrund :   #FFFFFF (Weiss)
	Header      :   #ffe401 (Gelb)
	Menü-Hg.    :   #c1001f (Rot)
	Schrift     :   #747474 (Dunkelgrau) 
	Footerschr. :   #FFFFFF (Weiß)
	H1		    :   #484747 (Dunkelgrau)
	H2			:	#c1001f (Rot)
*******************************************************************************/

/* ### undo #################################################################### */

* {
    padding: 0;
	margin: 0;
}

:link,:visited { text-decoration:none; }
ul,ol { list-style:none }
h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; font-weight:normal; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input, dl, dt, dd { margin:0; padding:0 }
img, a img,:link img,:visited img, fieldset { border:none }
img { margin:0; padding:0; vertical-align:bottom; }
address { font-style:normal }

table {	border:none; padding:0px; margin:0px; border-spacing:0px; font-size:1em;}
tr { border:none; padding:0px; margin:0px; }
td { border:none; padding:0px; margin:0px; vertical-align:top; border-spacing:0px; }

legend { display:none; }
div, p, li, a {background-repeat:no-repeat; }

/* ### reset some basic style ################################################### */

dl		{margin: 0 0 0 0;}
dl dt		{margin: 0 0 0 0;}
dl dd+dt	{margin-top: 0;}
dl dd	{margin: 0 0 0 0;}
ol		{list-style: none;}
ol li		{margin: 0 0 0 0;}
ol li ol	{margin: 0 0 0 0;}
ol li ul	{margin: 0 0 0 0;}
p		{margin-bottom: 0em;}
ul		{list-style: none;}
ul li		{margin: 0 0 0 0;}
ul li ul	{margin: 0 0 0 0; list-style: none;}
ul li ol	{margin: 0 0 0 0;}
pre		{font-size:1.2em; }
a:hover { text-decoration:none; }


/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}


/* ### HTML ###################################################################### */
html {
	min-height: 99%;
	margin-bottom: 1px;
}

/* ### BODY ###################################################################### */
body {
	background:#FFFFFF;

	color: #747474;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size:0.8em;
	}

.clearer {
	display:block;
	clear:both;
	line-height:0;
	height:1px;
	font-size:0;
	visibility:hidden;
}

.clear {
	clear:both;
}

.clean {
	clear:both;
}

.floatLeft { float:left; }
.floatRight { float:right; }
.warning { color:#f00; background: inherit; }

/* ### Media Queries ###################################################################### */
#mobnav-btn {
  display: none;
  font-size: 20px;
  font-weight: bold;
  background-color: #c1001f;
  color: white;
  padding: 10px;
  cursor: pointer;
}
.mobnav-subarrow {
  display: none;
}



@media screen and (max-width: 680px) {
    .blume1, .blume2 { display:none; }
	
	.oeffnungheader {
		font-size: 0.8em;
	}
	
	#footerbottom {
		height:90px;
	}
	
	#content {
		display:block;
		clear:both;
		position:relative;
		padding:0 0 0 0;
		padding-top:10px;
		background-color: #FFFFFF;
	}
	
	#main {
		max-width:900px;
		margin-left:5px;
		margin-right:5px;
	}
	
	.headerlogo {
		position:relative;
		top:5px;
		left:10px;
		float: left;
	}	
	
	.headerlogo img {
		width:103px;
		height:40px; 
		border:0;
	}

	.headerlogo a {
		display:block;
		width:103px;
		height:40px; 
	}	
	
	.news-list-container-startseite {
		float:left;
		width:100%;
	}
	
	.Leistungen {
		float:left;
		width:100%;
		margin-left:0;
	}
	
	.UnsereLeistungen {
		float:left;
		width:100%;
		margin-left:0;
	}
	
	#footer .footerinhalt{
		position:relative;
		top:10px;
		left:2%;
		width:96%;
		max-width:940px;
		color:#FFFFFF;
		background:none;
		font-size:11px;
		line-height:22px;
		height:100%;
		min-height:360px;
	}	
	
	#footer  .footerinhalt .footerinhaltcontainer {
		float:left;
		width:100%;
		padding-right:0;
	}

	.footerinhaltcontainergelb {
		float:left;
		width:80%;
		max-width:280px;
		background-color: #ffe401;
		padding:10px;
		color: #000000;
	}	
	
	
  #mobnav-btn {
    display: block;
  }
  .mobnav-subarrow {
    display: block;
    height: 100%;
    width: 100%;
    background-position: top left!important;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
  }
  .sf-menu {
    width: 100%!important;
    display: none;
  }
  .sf-menu.xactive {
    display: block!important;
	z-index: 999;
  }
  .sf-menu li {
    float: none!important;
    display: block!important;
    width: 100%!important;
  }
  .sf-menu li a {
    float: none!important;
  }
  .sf-menu ul {
    position: static!important;
    display: none!important;
  }
  .xpopdrop ul {
    display: block!important;
	z-index: 999;
  }	
  
    
	#headertop .headermenu{
		font-family: 'Lato', sans-serif;
		position:absolute;
		top: 46px;
		left:0px;
		height: 40px;
		width:100%;
		background-color: #c1001f;
		z-index: 999;
	}	
	
	.header-slider .text-content {
	  position: absolute;
	  top: 20px;
	  left: 30px;
	  padding: 1em;
	  height: 100px;
	  width:90%;
	  text-shadow: black 0.2em 0.2em 0.2em;
	}

	.header-slider .text-content .Ueberschrift1 {
	  margin: 0;
	  font-family: "GojerFont";
	  font-size:1.7em;
	  font-style:bold;
	  color: #FFFFFF;
	}

	.header-slider .text-content .Ueberschrift2 {
	  margin: 0;
	  font-size:1.2em;
	  font-style:bold;
	  color: #f7f7f7;
	}	  

	.legende {
		border: 1px solid #000000;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;	
		padding:5px;
		
		font-size:0.9em;
		width:95%;
		margin-bottom:10px;
	}	

	.CSSTableGenerator td{
		vertical-align:middle;
		text-align:left;
		padding:6px;
		font-size:10px;
		font-family:Arial;
		font-weight:normal;
		color:#000000;
		background-color:#eeeee;
	}	
	
}

@media screen and (min-width: 681px) and (max-width: 960px) {
    .blume2 { display:none; }
	
	#footerbottom {
		height:90px;
	}
	
	#content {
		display:block;
		clear:both;
		position:relative;
		padding:0 0 0 0;
		padding-top:25px;
		background-color: #FFFFFF;
		height:99%;	
		width:100%;
	}
	
	#main {
		float:left;
		max-width:900px;
		margin-left:10px;
		margin-right:10px;
	}
	
	.headerlogo {
		position:relative;
		top:10px;
		left:0px;
		float: left;
	}	
	
	.headerlogo img {
		width:103px;
		height:40px; 
		border:0;
	}

	.headerlogo a {
		display:block;
		width:103px;
		height:40px; 
	}	
	
	.news-list-container-startseite {
		float:left;
		width:45%;
	}
	
	.Leistungen {
		float:left;
		width:45%;
		margin-left:10%;
	}	
	
	.UnsereLeistungen {
		float:left;
		width:45%;
		margin-left:0px;
	}	

	#footer .footerinhalt{
		position:relative;
		top:10px;
		left:3%;
		width:94%;
		max-width:940px;
		color:#FFFFFF;
		background:none;
		font-size:11px;
		line-height:22px;
		height:100%;
		min-height:260px;
	}	
	
	#footer  .footerinhalt .footerinhaltcontainer {
		float:left;
		width:22%;
		padding-right:3%;
	}
	
	#footer  .footerinhalt .footerinhaltcontainer2 {
		float:left;
		padding-right:3%;
	}

	.footerinhaltcontainergelb {
		float:left;
		width:25%;
		background-color: #ffe401;
		padding:10px;
		color: #000000;
	}		
	
	#headertop .headermenu{
		font-family: 'Lato', sans-serif;
		position:absolute;
		top: 46px;
		right:0px;
		height: 40px;
		background-color: #c1001f;
		padding-right: 40px;
	}	
	
	.header-slider .text-content {
	  position: absolute;
	  top: 60px;
	  left: 80px;
	  padding: 1em;
	  height: 100px;
	  width:90%;
	  text-shadow: black 0.2em 0.2em 0.2em;
	}

	.header-slider .text-content .Ueberschrift1 {
	  margin: 0;
	  font-family: "GojerFont";
	  font-size:2.2em;
	  font-style:bold;
	  color: #FFFFFF;
	}

	.header-slider .text-content .Ueberschrift2 {
	  margin: 0;
	  font-size:1.7em;
	  font-style:bold;
	  color: #f7f7f7;
	}		
	
	.legende {
		border: 1px solid #000000;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;	
		padding:5px;
		
		font-size:0.9em;
		width:100%;
		margin-bottom:20px;
	}	
	
	.CSSTableGenerator td{
		vertical-align:middle;
		text-align:left;
		padding:10px;
		font-size:12px;
		font-family:Arial;
		font-weight:normal;
		color:#000000;
		background-color:#eeeee;
	}	
	
}

@media screen and (min-width: 961px) {
   #main {
		float:left;
		min-height:700px;
		margin-left:10px;
		margin-right:10px;
	}
	
	#footerbottom {
		height:50px;
	}

	#footer .footerinhalt{
		position:relative;
		top:25px;
		left:10px;
		width:100%;
		color:#FFFFFF;
		background:none;
		font-size:11px;
		line-height:22px;
		height:100%;
		min-height:260px;
	}
	
	.headerlogo {
		position:relative;
		top:10px;
		left:0px;
		float: left;
	}
	
	.headerlogo img {
		width:170px;
		height:66px; 
		border:0;
	}

	.headerlogo a {
		display:block;
		height:66px;
		width:170px;
	}	
	
	#content {
		display:block;
		clear:both;
		position:relative;
		padding:0 0 0 0;
		padding-top:45px;
		background-color: #FFFFFF;
		height:99%;	
		width:100%;
	}
	
	.news-list-container-startseite {
		float:left;
		min-width: 400px;
		width: 45%;
	}
	
	.Leistungen {
		float:left;
		min-width: 400px;
		width: 45%;
		margin-left:60px;
	}	
	
	.UnsereLeistungen {
		float:left;
		min-width: 400px;
		width: 45%;
		margin-left:0px;
	}
	
	#footer  .footerinhalt .footerinhaltcontainer {
		float:left;
		width:22%;
		padding-right:3%;
	}
	
	#footer  .footerinhalt .footerinhaltcontainer2 {
		float:left;
		padding-right:3%;
	}

	.footerinhaltcontainergelb {
		float:left;
		width:25%;
		background-color: #ffe401;
		padding:10px;
		color: #000000;
	}	
	

	#headertop .headermenu{
		font-family: 'Lato', sans-serif;
		position:absolute;
		top: 46px;
		right:0px;
		height: 40px;
		background-color: #c1001f;
		padding-right: 40px;
	}	
	
	.header-slider .text-content {
	  position: absolute;
	  top: 30%;
	  padding: 1em;
	  height: 100px;
	  width:90%;
	  text-shadow: black 0.2em 0.2em 0.2em;
	}

	.header-slider .text-content .Ueberschrift1 {
	  margin: 0;
	  font-family: "GojerFont";
	  font-size:3.0em;
	  font-style:bold;
	  color: #FFFFFF;
	}

	.header-slider .text-content .Ueberschrift2 {
	  margin: 0;
	  font-size:2.2em;
	  font-style:bold;
	  color: #f7f7f7;
	}	
	
	.legende {
		border: 1px solid #000000;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;	
		padding:5px;
		
		font-size:0.9em;
		position:absolute;
		top:15px;
		right:40px;
		width:45%;
	}
	
	.CSSTableGenerator td{
		vertical-align:middle;
		text-align:left;
		padding:10px;
		font-size:12px;
		font-family:Arial;
		font-weight:normal;
		color:#000000;
		background-color:#eeeee;
	}	

}





/* ### FONT ###################################################################### */
@font-face {
  font-family: 'GojerFont'; 
  src: url('helveticaroundedltstd-bd.eot?iefix') format('embedded-opentype'),
  url('helveticaroundedltstd-bd.woff') format('woff'), 
  url('helveticaroundedltstd-bd.ttf') format('truetype'), 
  url('helveticaroundedltstd-bd.svg#svgFontName') format('svg');
}


/* ### Website Content ############################################################ */
#website {
	position:relative;
	display:block;
	margin:0 auto;
	padding:0;
	height:100%;
	width:100%;
	max-width:980px;
}

/* ### Header ##################################################################### */

#header {
	position:relative;
	margin:0;
	padding:0;
	max-height:386px;
	width:100%;	
}

#headertop {
	height:86px;
	background-color: #ffe401;
	color: #FFFFFF;
}


h5 {
    margin:0;
    font-size:0;
 }

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: left;
}
.sf-menu ul {
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	padding: 22px 30px;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu a {
	color: #FFFFFF;
}

.sf-menu li {
	background: #c1001f;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
	font-size: 1.0em;
}
.sf-menu ul li {
	background: #585858;
}
.sf-menu ul ul li {
	background: #585858;
}
.sf-menu li:hover,
.sf-menu li:focus,
.sf-menu li.sfHover {
	background: #FFFFFF;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	color: #c1001f;
}

.sf-menu li:hover a,
.sf-menu li:focus a,
.sf-menu li.sfHover  a{
	color: #c1001f;
}

.sf-menu ul li a,
.sf-menu ul li a{
	color: #FFFFFF !important;
	padding: 10px 20px;
}

.sf-menu ul li:hover a,
.sf-menu ul li:focus a,
.sf-menu ul li.sHover a,
.sf-menu ul li a:hover,
.sf-menu ul li a:focus {
	color: #c1001f !important;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

.hide{
position:absolute;
left:-1000px;
top:-1000px;
width:0;
height:0;
overflow:hidden;
display:inline;
}


/* ### Slider #################################################################### */

#slider {
	max-height: 450px;
	background-color: #333333;
	color: #FFFFFF;	
	width: 100%;
	overflow: hidden;
}

/* News */
.header-slider {
  /* Style the actual content */
}


.header-slider .text-content p {
  margin: 1em 0;
}
.header-slider .text-content a.button-link {
  padding: 0.25em 0.5em;
  position: absolute;
  bottom: 1em;
  right: 1em;
}
.header-slider .image-content {
  line-height: 0;
  width: 100%;
}
.header-slider .image-content img {
  max-width: 100%;
  height: auto;
  width: 100%;
}
.header-slider .news-pager {
  text-align: right;
  display: block;
  margin: 0.2em 0 0;
  padding: 0;
  list-style: none;
}
.header-slider .news-pager li {
  display: inline-block;
  padding: 0.6em;
  margin: 0 0 0 1em;
}
.header-slider .news-pager li.sy-active a {
  color: #31ace2;
}
.header-slider .news-pager li a {
  font-weight: 500;
  text-decoration: none;
  display: block;
  color: #222;
}


/* ### Sonnenblumen Header ############################################################## */
.blume1 {
	position:absolute;
	top:10px;
	left:400px;
	width:250px;
	height:258px;
	background-image: url(sonnenblume-gelb.jpg);
}

.blume2 {
	position:absolute;
	top:-130px;
	left:700px;
	width:250px;
	height:258px;
	background-image: url(sonnenblume-gelb.jpg);
}


/* ### Content #################################################################### */

#main-content {
}




/* breadcrumb
*******************************************************************************/

#breadcrumb {
	position:relative;
	padding-top:4px;
	padding-left:240px;
	background-image:url(content.jpg);
	background-repeat: repeat-y;
	display:block;
	width:100%;
	font-size: 0.8em;
	color:#000000;
}

#breadcrumb a, 
#breadcrumb a:link {
	color:#000000;
}

#breadcrumb a:hover {
	text-decoration:underline;
}

/* ### main-block => MainContent ################################################### */

#main-block {
	color: #666666;
}

#main-content-block {
	display:block;
	min-height:500px;
	width:100%;
}



/* ### Footer ###################################################################### */

#footer {
	display:block;
	width:100%;
	background-image:url(footer-bg.png);
	background-repeat:repeat;
	height:100%;
	border-top:20px solid #f7f7f7;
}



#footer .footerinhalt h4{
	font-size:15px;
	font-weight:bold;
	color:#FFFFFF;
	padding-bottom:20px;
}


#footer .footerinhalt a {
	color:#FFFFFF;
	text-decoration:none;
}

#footer .footerinhalt a:hover{
	color:#FFFFFF;
	text-decoration:underline;
}


.footerinhaltcontainergelb h4{
	font-size:15px;
	font-weight:bold;
	color:#000000;
	padding-bottom:20px;
}


#footerbottom {
	display:block;
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	color:#FFFFFF;
	font-size:11px;
	background-image:url(footer-bottom-bg.png);
	background-repeat:repeat;
	border-top:1px solid #5c5a57;
	text-align:center;
}

#footerbottom ul {
	float:right;
	list-style-type:none;
	padding-right:40px;
}

#footerbottom ul li.normal{
	float:left;
	padding-top:17px;	
	padding-left:8px;
	padding-right:8px;
}

#footerbottom ul li.ende {
	float:left;
	padding-left:8px;
	padding-top:17px;	
}

#footerbottom ul li a {
	text-decoration:none;
	padding-left:3px;
	padding-right:3px;
	color:#FFFFFF;
	font-weight:normal;
	font-size:10px;
}

#footerbottom ul li a:hover {
	text-decoration:underline;
	padding-left:3px;
	padding-right:3px;
}

/* ### Navigation ######################################################### */

#behindnavi {
	position:relative;
	top:30px;
	width: 200px;
	left:50px;
	height:360px;
}


#navigation {
	/* font-family: 'Roboto Slab', serif; */
}



#nav {
	position:relative;
	top:0px;
	left:0px;
	display:block;
	float:left;
	width:240px;
	height:100%:
}

#navbeginn {
}

#navende {

}

#nav {
	min-height: 600px;
}




/* ### headlines ############################################################ */

#main-block h1 {
	color:#484747;
	font-family: "GojerFont";
	font-size:2em;
	margin-bottom: 25px;
}

#main-block h2 {
	color:#c1001f;
	font-size:1.7em;
	line-height:1.8em;
	margin-bottom:0.5em;
	font-family: "GojerFont";
}

#main-block h3 {
	color:#484747;
	font-size:1.3em;
	font-weight:bold;
	line-height:1.6em;
	margin-bottom:0.5em;
}

#main-block h4 {
	color:#c1001f;
	font-size:1.0em;
	line-height:1.3em;
	font-weight: bold;
}


/* ### 2 Spalten ############################################################ */
.column {
float: left;
width: 300px;
}


.column h2 {
	color:#484747 !important;
	background: inherit;
	font-size:1.8em !important;
	line-height:1.7em;
	margin-bottom:0.5em;
	font-family: 'Lato', sans-serif;
	text-align:center;
	width:250px;
}

/* ### Images ############################################################ */

#main-block img {
	display:block;
	border: none;
	padding:0px;
}

#main-block img.floatLeft {
	float:left;
	margin:4px 10px 4px 0;
}

#main-block img.floatRight {
	float:right;
	margin:4px 0 4px 10px;
}

/* div.imgclick a:hover {
	opacity: 0.8;
}

div.imgclick img {
	background: #fff;
	border: 1px solid #d3d3d3;
	padding: 4px;
	box-shadow: 0 0 5px #ccc;
	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
}
*/ 

.imgclick {
 width: 280px;
 height: 210px;
 float: left;
 border: 1px solid #d3d3d3;
 overflow: hidden;
 position: relative;
 text-align: center;
 box-shadow: 0 0 5px #ccc;
 -moz-box-shadow: 0 0 5px #ccc;
 -webkit-box-shadow: 0 0 5px #ccc;
 cursor: default;
}

.poslinks {
	margin-left:0px !important;
	margin-right:15px !important;	
	margin-bottom:15px !important;
}

.posmitte {
	margin-left:0px !important;
	margin-right:15px !important;
	margin-bottom:15px !important;
}

.posrechts {
	margin-left:0px !important;
	margin-right:15px !important;
	margin-bottom:15px !important;
}

.imgclick .mask {
 width: 280px;
 height: 210px;
 position: absolute;
 overflow: hidden;
 top: 0;
 left: 0
}
.imgclick img {
 display: block;
 position: relative;
}
.imgclick .headline {
 color: #fff;
 text-align: center;
 position: absolute;
 top:150px;
 left: 0;
 width:280px;
 font-size: 17px;
 padding-top: 10px;
 padding-bottom: 10px;
 background: rgb(193, 0, 31);
 background: rgba(193, 0, 31, 0.8);
 z-index:1;
 transition: all 0.4s ease;
}
.imgclick p {
 font-weight: normal;
 font-size: 11px !important;
 position: relative;
 color: #000000;
 padding: 70px 20px 20px;
 text-align: center;
}
.imgclick .info {
 position: absolute;
 width:200px;
 bottom:14px;
 left:40px;
}

.imgclick .info-a:hover,
.imgclick .info-a:focus {
 box-shadow: 0 0 5px #000;
} 

.imgclick .info-a {
  display: inline-block;
  padding: 7px 14px;
  color: #fff !important; 
  background: rgb(193, 0, 31) !important;
  background: rgba(193, 0, 31, 1.0) !important;
  box-shadow: 0 0 1px #000;
  text-decoration: none !important;
}

.imgclick img {
 transition: all 0.2s linear;
}
.imgclick .mask {
 opacity: 0;
 background-color: rgb(254,244,212);
 background-color: rgba(254,244,212, 0.7);
 transition: all 0.4s ease-in-out;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.imgclick p {
 transform: translateY(100px);
 opacity: 0;
 transition: all 0.2s linear;
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.imgclick .info-a{
 opacity: 0;
 transition: all 0.2s ease-in-out;
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.imgclick:hover img,
.imgclick:focus img {
 transform: scale(1.1);
}
.imgclick:hover .mask,
.imgclick:focus .mask{
 opacity: 1;
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.imgclick:hover .headline,
.imgclick:focus .headline {
 transition: all 0.3s ease-in-out;
 opacity: 1;
 transform: translateY(0px);
 top:20px;
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.imgclick:hover p,
.imgclick:hover .info-a,
.imgclick:focus p,
.imgclick:focus .info-a{
 opacity: 1;
 transform: translateY(0px);
   /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.imgclick:hover p,
.imgclick:focus p {
 transition-delay: 0.1s;
}
.imgclick:hover .info-a,
.imgclick:focus .info-a {
 transition-delay: 0.2s;
}

/* ### Hyperlinks ######################################################### */

#main-block a, 
#main-block a:link {
	color:#c1001f;
	text-decoration:underline;
}

#main-block a:hover {
	color:#c35d6e;
	text-decoration: none;
}


/* ### Paragraphs ########################################################## */

#main-block p {
	margin-bottom:1.0em;
	font-size:1.1em;
	line-height:1.6em;
	text-align:justify;
}

#navigation p {
	margin-bottom:1.0em;
}

/* ### Blockquotes ########################################################## */

#main-block blockquote {
	margin:0 0 0 20px;
}

/* ### Lists ################################################################ */

#main-block ul, 
#main-block ol {
	margin-bottom:1.0em;
	font-size:1.0em;
	line-height:1.3em;
	margin-left: 15px;
	list-style-image: url(bullet-klein.png);
}

#main-block ol li {
	margin:0 0 0 10px;
	list-style-type:decimal;
	list-style-position:outside;
	margin-bottom: 0.5em;
} 
#main-block ul li {
	margin: 0 0 0 10px;
	list-style-type:disc;
	list-style-position:outside;
	margin-bottom: 0.5em;
}

/* ### Lists LEISTUNGEN ################################################################ */



.Leistungen ul {
	font-size:12px !important;
	line-height:20px !important;
	list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
	background: none !important;
}

.Leistungen ul li {
	list-style-type: none !important;
	list-style-image: none !important;
	background: url(bullet.png);
	background-position: 0px 2px;
	background-repeat: no-repeat !important;
	padding-left: 30px;
	margin-left: 0 !important;
	margin-bottom: 12px !important;
}



/* ######### Sitemap #############*/

#sitemap ul {
	margin-bottom:1.0em;
	font-size:1.0em;
	line-height:1.3em;
	margin-left: 15px;
}

#sitemap ul li {
	margin: 0 0 0 10px;
	list-style-type:circle;
	list-style-position:outside;
}


/* ### Module ################################################################ */

#main-content-block div.floatLeft img {
	float:left;
	margin:4px 40px 4px 0;
}

#main-content-block div.floatRight img {
	float:right;
	margin:4px 0 4px 40px;
}

#main-content-block a.more {
	clear:left;
	position: relative;
	left: 120px;
}

/* ### Bildgalerie ### */

#main-content-block div.galerie {
	clear: both;
}
#main-content-block div.galerie div.image {
	float: left;
	width: 270px;
}

#main-content-block div.galerie div.image img{
	padding: 5px;
	border:1px solid #996600;
}

/* Definition der Klassen ohne Rahmen*/ 

.pleft {
	float: left;
	margin:4px 10px 4px 0;
	vertical-align: text-bottom;
	border: none;
}

.pright {
	float: right;
	margin:4px 0 4px 10px;
	vertical-align: text-bottom;
	border: none;
}
.pnormal {
	clear: both;
	border: none;
}


/* News / Aktuelles */



.pleft-start {
	float: left;
	margin:4px 20px 4px 0;
	vertical-align: text-bottom;
	border: none;
}

.news-list-content {
  font-size: 12px;
  line-height: 20px;
}

.news-list-content a,
.news-list-content a:link{
	text-decoration:none !important;
	color: #444444 !important;
}

.news-list-content a:hover {
	text-decoration:underline !important;
}

.trenner {
	clear:both;
	border-bottom: 1px solid #CCCCCC;
	padding-top:10px;
	margin-bottom:10px;
}


.news-list-content2 {
	font-size:14px;
	line-height:22px;
}

.news-list-content2 a,
.news-list-content2 a:link{
	text-decoration:none !important;
}

.news-list-content2 a:hover {
	text-decoration:underline !important;
}


/* Definition der KLassen mit  Rahmen (2.Stil) */

.pleft_b {
	float: left;
	margin:4px 10px 4px 0;
	vertical-align: text-bottom;
	border: 1px solid #990000;
}

.pright_b {
	float: right;
	margin:4px 0 4px 10px;
	vertical-align: text-bottom;
	border: 1px solid #990000;
}
.pnormal_b {
	clear: both;
	border: 1px solid #990000;
}


/* Falls Linkbezeichnung neue Zeile (Einleitungstext als eigener Absatz) */
p.extlink_preface {
  margin: 0;
  padding: 0 0 0.5em 0;
}

/* Falls Linkbezeichnung nicht in neue Zeile (Einleitungstext und Link zusammen als Absatz) */
p.extlink_block {

}

/* Auszeichnung für den Link (um hover etc. ergänzen) */
a.extlink_link {
  text-decoration: underline;
}


#kontaktdaten {
	float:left;
	width: 330px;
	display:block;
}


/* Multilist
*******************************************************************************/
   
.newslist {
   float:left;
   width: 99%;
}

.newsimage {
   float:left;
   width: 212px;
   height: 200px;
}

.newsimage img {

}

.title {
   float: left;
   font-size:1.0em;
   color: Black;
   margin:3px; padding:3px; 
   width: 200px;
   text-align:center;
}

/* ---- Tabellen --------------------------- */

table {
	font-size: 0.8em;
	border-collapse: collapse;
	width: 525px;
	border-spacing: 0;
}

table p {
	padding-bottom: 0;
}


th, td {
	vertical-align:bottom;
	padding: 1px 1px;
	text-align:left;
	line-height: 0.8em;
}

th {
	color: #000000;
	border-bottom: 2px solid #000000;
}

td {
	
}

/************* download *********************************/

 .download-file  { 
 margin-left: 80px;
 margin-top: 0px;
 padding-right:80px;
}

.download-file img { 
	float:left;
	border:none;
	padding-right:5px !important;
}

.download-desc {
	font-size:0.9em;
}

img.Downloadbild  {
	padding-right:15px !important;
}

/************** Image Fader ********************/
.image_fade_wrapper {
	float: left;
}

.image_fade {
	position: relative;
	float: left;
	width: 200px;
	height: 165px;
	border: none;
}

.image_fade img {
	position: absolute;
	top: 0;
	left: 0;
}



/* simple table  modul */
table.tabelle { border-bottom: 1px solid #FFF; width: 100%; }

table.tabelle th,
table.tabelle td { padding: 5px 10px; vertical-align: top;}

table.tabelle th { background-color: #000; color: #FFF; border-bottom: 3px solid #FFF;}
table.tabelle td {}

table.tabelle tr.odd { background-color: #CCC; font-weight: normal; text-align: left; color: #000;}

.magnific-popup-container {
	float:left;
	margin-right:10px;
}

/**
 * ----------------------------------------------------------------------------
 * XForm - Formulare
 * ----------------------------------------------------------------------------
 */

	#form_formular {
		width: 550px;
		margin-bottom:3.0em;
		
	}
	
	#form_formular legend {
		display: block;
		width: 100%;
		background: -webkit-linear-gradient(left, #ffe401, #FFFFFF); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(right, #ffe401, #FFFFFF); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(right, #ffe401, #FFFFFF); /* For Firefox 3.6 to 15 */
		background: linear-gradient(to right, #ffe401, #FFFFFF); /* Standard syntax (must be last) */
		height:25px;
		line-height:25px;		
		padding-left: 10px;
		color: #000000;
	}
	
	#form_formular fieldset {
		margin: 0;
		padding: 0;
	}

	ul.form_warning {
		color: #c0000c;
	}
	#form_formular label.form_warning {
		color: #c0000c;
	}

	#form_formular p.formtext,
	#form_formular p.formtextarea,
	#form_formular p.formselect,
	#form_formular p.formbirthday,
	#form_formular p.formcheckbox,
	#form_formular p.formcaptcha,
	#form_formular p.captcha_desc,
	#form_formular p.formsubmit {
		padding: 0.5em 0 0.5em 0;
		border-bottom: 1px solid #e0e0e0;
	}
	#form_formular p.formtextline {
		padding: 0.7em 0 0.7em 2.0em;
		border-top: 1px solid #e0e0e0;
		border-bottom: 0;
	}
	#form_formular p.formtextsubline {
		padding: 0.7em 0 0.7em 2.0em;
		border-bottom: 1px solid #e0e0e0;
	}

	#form_formular p.formsubmit {
		border-bottom: 0;
	}
	#form_formular p.formcaptcha {
		border-bottom: 0;
		padding-left:2.0em;
	}
	.formtext_captcha {
	}
	
	#form_formular p.formcaptcha label {
		display:none;
	}

	#form_formular label {
		float: left;
		width: 220px;
		padding: 3px 0 0 2.0em;
	}
	#form_formular p.formtextarea label {
		height: 400px;
	}

	#form_formular input,
	#form_formular textarea {
		border: 1px solid #e0e0e0;
		width: 320px;
		height: 1.6em;
		padding: 2px 0 0 3px;
		font-size: 1.0em;
		background: #fcfcfc;
	}
	#form_formular textarea {
		height: 250px;
		font-family: Verdana, Geneva, Helvetica, sans-serif;
		font-size:1.0em;
	}
	
	#form_formular select {
		border: 1px solid #e0e0e0;
		width: 250px;
		height: 2.2em;
		padding: 2px 0 0 3px;
		font-size: 1.0em;
		background: #fcfcfc;
	}	

	/*#form_formular input:hover,
	#form_formular textarea:hover,*/
	#form_formular input:focus,
	#form_formular textarea:focus {
		background: #fff;
		border:solid 1px #8f8f8f;
		outline: none;
	}

	#form_formular p.formcheckbox {
		border-bottom: 0;
	}
	
	#form_formular input.checkbox {
		width:auto;
		height:auto;
		padding:0;
		margin:0;
		margin-right:1.0em;
		margin-left:140px;
	}
	#form_formular label.checkbox {
		float:none;
		padding:0;margin:0;
	}

	#form_formular .submit {
		width: 200px;
		float:right;
		height:35px;
		line-height:35px;
		font-weight:bold;
		color:#FFFFFF;
		background-color: #c1001f;
		margin:0;
		padding:0;
		border:solid 1px #747474;
	}
	#form_formular .submit:hover,
	#form_formular .submit:focus
	{
		color:#747474;
		background-color: #cf876d;
	}
	#form_formular .submit:active {
		position: relative;
		top: 1px;
		left: 1px;
	}
	
	#form_formular .submitgross {
		margin-left:70px;
		height:50px;
		font-weight:bold;
		font-size:1.5em;
		color:#FFFFFF;
		background-color: #c1001f;
		border:solid 1px #747474;
	}
	#form_formular .submitgross:hover,
	#form_formular .submitgross:focus
	{
		color:#000000;
		background-color: #db1535;
		cursor: pointer;
	}
	#form_formular .submitgross:active {
		position: relative;
		top: 1px;
		left: 1px;
	}	
	
	#form_formular .groesser {
		font-size: 2em;
	}

	.formcaptcha img {
		width:146px;
		height:36px;
	}
	.formcaptcha input {
	}
	#form_formular p.captcha_desc {
		font-size:0.8em;
		line-height: 1.3em;
		border-bottom: 0;
	}

	.answertext {
		font-weight: bold;
		background: #e4f1c3 url('hakerl.gif') no-repeat 2.0em 2.25em;
		padding: 2.0em 2.0em 2.0em 4.0em;
		border: 1px solid #81963a;
		color: #81963a;
		margin-bottom:2.0em;
	}


/* Standard-Layout (Desktop) bleibt wie gehabt */

/* Für kleinere Bildschirme */
@media screen and (max-width: 768px) {
  #form_formular {
    width: auto; /* Formular passt sich der Bildschirmbreite an */
    padding: 10px;
    margin: 0;
  }

  #form_formular label {
    width: auto; /* Labels nehmen die gesamte Breite ein */
    padding: 0;
    margin-bottom: 5px; /* Abstand zwischen Label und Input */
    text-align: left;
  }

  #form_formular input,
  #form_formular select,
  #form_formular textarea {
    width: 100%; /* Inputs und Select-Elemente nehmen die gesamte Breite ein */
    font-size: 1em;
  }

  #form_formular .submitgross {
    width: 100%; /* Button wird auf Bildschirmbreite gedehnt */
    margin-left: 0;
  }

  #form_formular p.formselect,
  #form_formular p.formcheckbox,
  #form_formular p.formsubmit {
    border-bottom: none;
    padding: 10px 0; /* Einheitlicher Abstand zwischen den Elementen */
  }

  #form_formular .groesser {
    font-size: 1.5em; /* Verkleinerung der Schriftgröße */
  }
    
   #form_formular p.formcheckbox {
    display: block; /* Erzwingt, dass jedes Element eine eigene Zeile hat */
    margin-bottom: 10px; /* Abstand zwischen Checkbox-Elementen */
  }

  #form_formular input.checkbox {
    display: inline-block; /* Checkbox bleibt vor dem Label */
    margin-right: 10px; /* Abstand zwischen Checkbox und Text */
	margin-left:40px;
  }

  #form_formular label.checkbox {
    display: inline-block; /* Text bleibt inline mit der Checkbox */
    margin: 0; /* Keine zusätzlichen Abstände */
  }
}
	
	


.legende table {
	width:100%;
	border-collapse: collapse;
    border-spacing: 0;
}

.legende table tr {
	border-bottom:1px dotted #000000;
}

.legende table td{
	vertical-align:middle;
	text-align:left;
	padding:3px;
	line-height:10px;
	height:20px;
}

	/**
 * slippry v1.2.1 - Simple responsive content slider
 * http://slippry.com
 *
 * Author(s): Lukas Jakob Hafner - @saftsaak
 *            Thomas Hurd - @SeenNotHurd
 *
 * Copyright 2013, booncon oy - http://booncon.com
 *
 * Thanks @ http://bxslider.com for the inspiration!
 *
 * Released under the MIT license - http://opensource.org/licenses/MIT
 */
/* -------------------------- MIXINS ---------------------------------- */
/* -------------------------- END MIXINS ---------------------------------- */
/* kenBurns animations, very basic */

@-webkit-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-moz-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-ms-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-webkit-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@-moz-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@-ms-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

/* added to the original element calling slippry */
.sy-box.sy-loading {
  background: url('sy-loader.gif') 50% 50% no-repeat;
  -webkit-background-size: 32px;
  -moz-background-size: 32px;
  -o-background-size: 32px;
  background-size: 32px;
  min-height: 40px;
}
.sy-box.sy-loading .sy-slides-wrap, .sy-box.sy-loading .sy-pager {
  visibility: hidden;
}

/* element that wraps the slides */
.sy-slides-wrap {
  position: relative;
  height: 100%;
  width: 100%;
}
.sy-slides-wrap:hover .sy-controls {
  display: block;
}

/* element that crops the visible area to the slides */
.sy-slides-crop {
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden;
}

/* list containing the slides */
.sy-list {
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
}
.sy-list.horizontal {
  -webkit-transition: left ease;
  -moz-transition: left ease;
  -o-transition: left ease;
  transition: left ease;
}
.sy-list.vertical {
  -webkit-transition: top ease;
  -moz-transition: top ease;
  -o-transition: top ease;
  transition: top ease;
}

/* single slide */
.sy-slide {
  position: absolute;
  width: 100%;
  z-index: 2;
}
.sy-slide.kenburns {
  width: 140%;
  left: -20%;
}
.sy-slide.kenburns.useCSS {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.sy-slide.kenburns.useCSS.sy-ken:nth-child(1n) {
  -webkit-animation-name: left-right;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-name: left-right;
  -moz-animation-fill-mode: forwards;
  -o-animation-name: left-right;
  -o-animation-fill-mode: forwards;
  animation-name: left-right;
  animation-fill-mode: forwards;
}
.sy-slide.kenburns.useCSS.sy-ken:nth-child(2n) {
  -webkit-animation-name: right-left;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-name: right-left;
  -moz-animation-fill-mode: forwards;
  -o-animation-name: right-left;
  -o-animation-fill-mode: forwards;
  animation-name: right-left;
  animation-fill-mode: forwards;
}
.sy-slide.sy-active {
  z-index: 3;
}
.sy-slide > a {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.sy-slide > a > img {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  border: 0;
}

/* next/ prev buttons, with arrows and clickable area a lot larger than the visible buttons */
.sy-controls {
  display: none;
  list-style: none;
  height: 100%;
  width: 100%;
  position: absolute;
  padding: 0;
  margin: 0;
}
.sy-controls li {
  position: absolute;
  width: 10%;
  min-width: 4.2em;
  height: 100%;
  z-index: 33;
}
.sy-controls li.sy-prev {
  left: 0;
  top: 0;
}
.sy-controls li.sy-prev a:after {
  background-position: -5% 0;
}
.sy-controls li.sy-next {
  right: 0;
  top: 0;
}
.sy-controls li.sy-next a:after {
  background-position: 105% 0;
}
.sy-controls li a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-indent: -9999px;
}
.sy-controls li a:link, .sy-controls li a:visited {
  opacity: 0.4;
}
.sy-controls li a:hover, .sy-controls li a:focus {
  opacity: 0.8;
  outline: none;
}
.sy-controls li a:after {
  content: "";
  background-image: url('arrows.svg');
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
  text-indent: 0;
  line-height: 2.8em;
  color: #111;
  font-weight: 800;
  position: absolute;
  background-color: #fff;
  width: 2.8em;
  height: 2.8em;
  left: 50%;
  top: 50%;
  margin-top: -1.4em;
  margin-left: -1.4em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
@media only screen and (max-device-width: 600px) {
  .sy-controls {
    display: block;
  }
  .sy-controls li {
    min-width: 2.1em;
  }
  .sy-controls li a:after {
    width: 1.4em;
    height: 1.4em;
    margin-top: -0.7em;
    margin-left: -0.7em;
  }
}

/* captions, styled fo the overlay variant */
.sy-caption-wrap {
  position: absolute;
  bottom: 2em;
  z-index: 12;
  left: 50%;
}
.sy-caption-wrap .sy-caption {
  position: relative;
  left: -50%;
  background-color: rgba(0, 0, 0, 0.54);
  color: #fff;
  padding: 0.4em 1em;
  -webkit-border-radius: 1.2em;
  -moz-border-radius: 1.2em;
  -ms-border-radius: 1.2em;
  -o-border-radius: 1.2em;
  border-radius: 1.2em;
}
.sy-caption-wrap .sy-caption a:link, .sy-caption-wrap .sy-caption a:visited {
  color: #e24b70;
  font-weight: 600;
  text-decoration: none;
}
.sy-caption-wrap .sy-caption a:hover, .sy-caption-wrap .sy-caption a:focus {
  text-decoration: underline;
}
@media only screen and (max-device-width: 600px), screen and (max-width: 600px) {
  .sy-caption-wrap {
    left: 0;
    bottom: 0.4em;
  }
  .sy-caption-wrap .sy-caption {
    left: 0;
    padding: 0.2em 0.4em;
    font-size: 0.92em;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
}

/* pager bubbles */
.sy-pager {
  overflow: hidden;
  *zoom: 1;
  display: block;
  width: 100%;
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.sy-pager li {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin: 0 1em 0 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
.sy-pager li.sy-active a {
  background-color: #e24b70;
}
.sy-pager li a {
  width: 100%;
  height: 100%;
  display: block;
  background-color: #cccccc;
  text-indent: -9999px;
  -webkit-background-size: 2em;
  -moz-background-size: 2em;
  -o-background-size: 2em;
  background-size: 2em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
.sy-pager li a:link, .sy-pager li a:visited {
  opacity: 1.0;
}
.sy-pager li a:hover, .sy-pager li a:focus {
  opacity: 0.6;
}

/* element to "keep/ fill" the space of the content, gets intrinsic height via js */
.sy-filler {
  width: 100%;
}
.sy-filler.ready {
  -webkit-transition: padding 600ms ease;
  -moz-transition: padding 600ms ease;
  -o-transition: padding 600ms ease;
  transition: padding 600ms ease;
}


/**
 * Modul WYSIWYGImage, Wysiwyg-Text mit Bild/Bildergalerie
 */
div.wysiwygimg {}
/* ----- Hack only for IE 7 ----- */
*+html div.wysiwygimg {overflow:hidden;}

.wysiwygimg .wysiwygimgclear {clear:both; display:block; font-size:1px; line-height:0px; margin:0; padding:0; position:relative;}

/* Text */
.wysiwygimg .wysiwygimgtext {}

/* Bild und Link */
.wysiwygimg img.wysiwygimg {border:0; margin:1px;}
/*.wysiwygimg img.wysiwygimg {border:solid 5px #f5f5f5; padding:1px;}*/
.wysiwygimg a.wysiwygimg img {border:0;padding:0px;vertical-align:top; margin:1px;}

/*.wysiwygimg a.wysiwygimg, .wysiwygimg a.wysiwygimg:link {border:solid 5px #f6f6f6; display:table; display:inline-block; line-height:0.0em;}
.wysiwygimg a.wysiwygimg:visited {}
.wysiwygimg a.wysiwygimg:hover {border:solid 5px #e4e4e4;}
.wysiwygimg a.wysiwygimg:focus {border:solid 5px #e4e4e4;}
.wysiwygimg a.wysiwygimg:active {border:solid 5px #e4e4e4;}*/

/* Bildunterschrift */
.wysiwygimg .wysiwygimgtitle {color:#666; font-size:0.8em; font-style:italic; margin:2px 0px;}

/* Wrapper-Classe um Bild und Bildunterschrift*/
.wysiwygimg .wysiwygimgwrap {}

/* Bild links im Text (Textumfluss) */
.wysiwygimg .wysiwygimgleft {float:left; margin:0 1.0em 0 0;}

/* Bild rechts im Text (Textumfluss) */
.wysiwygimg .wysiwygimgright {float: right; margin:0 0 0 1.0em;}

/* Bild oben links */
.wysiwygimg .wysiwygimgtopleft {float:left; margin-bottom:0.5em;}

/* Bild oben rechts */
.wysiwygimg .wysiwygimgtopright {float:right; margin-bottom:0.5em;}

/* Bild oben mittig */
.wysiwygimg .wysiwygimgtopcenter {margin-bottom:0.5em; text-align:center;}
.wysiwygimg .wysiwygimgtopcenter a.wysiwygimg {margin:0 auto;}

/* Bild unten links */
.wysiwygimg .wysiwygimgbottomleft {float:left; margin-top:0.5em;}

/* Bild unten rechts */
.wysiwygimg .wysiwygimgbottomright {float:right; margin-top:0.5em;}

/* Bild unten mittig */
.wysiwygimg .wysiwygimgbottomcenter {margin-top:0.5em; text-align:center;}
.wysiwygimg .wysiwygimgbottomcenter a.wysiwygimg {margin:0 auto;}
.wysiwygimg .wysiwygimgbottomcenter img.wysiwygimg {margin:0 auto;}

/* Für Bilder links/rechts vom Text  */
.wysiwygimg table {border-spacing: 0px; font-size:1.0em;}
.wysiwygimg td {vertical-align:top; font-size:1.0em;}

/* Bild links vom Text */
.wysiwygimg td.wysiwygimgleftcol {padding-right:1.0em;}

/* Bild rechts vom Text */
.wysiwygimg td.wysiwygimgrightcol {padding-left:1.0em;}



/* Linkliste ***********************************************/

.contentlinklist {
 margin-left: 80px;
 margin-top: 0px;
 padding-right:80px;
}

/* bei fixer Breite ggf.  width: 500px; einbauen */
/*
.linkarea {
 background: none;
 margin-top: 20px;
 margin-bottom: 20px;
 padding: 0px;
}

.linkarea_img {
 padding: 0px;
 background: #fff;
 float: left;
 margin-right: 20px;
 border: 0px;
}

.linkarea_txt {
 position: relative;
 margin-left: 150px;
 border: 0px;
 vertical-align:middle;
}
*/

.linkarea_head {
 font-size : 14px;
 background-color : transparent;
 padding : 0px 0px;
 margin : 0;
}

.linkarea  h5 {
	color:#484747;
	font-size:1.2em;
	font-weight:bold;
	margin-bottom:0.4em;
}

.linkarea  h6 {
	color:#c1001f;
	font-size:1.0em;
	font-weight: bold;
}


/* Standard-Layout für größere Bildschirme */
.linkarea {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.linkarea_img {
  padding: 0;
  background: #fff;
  margin-right: 20px;
  height: auto;
  flex-shrink: 0; /* Verhindert, dass das Bild kleiner wird */
}

.linkarea_txt {
  flex-grow: 1; /* Text nimmt den verfügbaren Platz ein */
  margin-left: 0;
}

/* Layout für kleine Bildschirme */
@media screen and (max-width: 768px) {
  .linkarea {
    flex-direction: column; /* Stapelt Bild und Text untereinander */
    align-items: center;
    text-align: center;
  }

  .linkarea_img {
    margin: 0 0 10px 0; /* Abstand unten, um Text abzutrennen */
    width: 100px; /* Verkleinert das Bild, wenn nötig */
  }

  .linkarea_txt {
    margin-left: 0; /* Kein Abstand links mehr */
  }
}



hr {
	background:#c1001f none repeat scroll 0%;
	border:0pt none;
	height:1px;
	width: 740px;
	margin: 0 auto;
}

.box { 
	background-color:#FFFF66; 
	padding:6px; 
	margin:0px;
}

.logobox {
	background-color:#FFFFFF; 
	padding:10px; 
	margin:0px;
	text-align: center;
}

.CSSTableGenerator {
	margin:0px;padding:0px;
	width:100%;
	box-shadow: 10px 10px 5px #888888;
	border:1px solid #000000;

	-moz-border-radius-bottomleft:10px;
	-webkit-border-bottom-left-radius:10px;
	border-bottom-left-radius:10px;
	
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-right-radius:10px;
	border-bottom-right-radius:10px;
	
	-moz-border-radius-topright:10px;
	-webkit-border-top-right-radius:10px;
	border-top-right-radius:10px;
	
	-moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	border-top-left-radius:10px;
}
.CSSTableGenerator table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}
.CSSTableGenerator tr:last-child td:last-child {
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-right-radius:10px;
	border-bottom-right-radius:10px;
}
.CSSTableGenerator table tr:first-child td:first-child {
	-moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	border-top-left-radius:10px;
}
.CSSTableGenerator table tr:first-child td:last-child {
	-moz-border-radius-topright:10px;
	-webkit-border-top-right-radius:10px;
	border-top-right-radius:10px;
}.CSSTableGenerator tr:last-child td:first-child{
	-moz-border-radius-bottomleft:10px;
	-webkit-border-bottom-left-radius:10px;
	border-bottom-left-radius:10px;
}.CSSTableGenerator tr:hover td{
	background-color:#ffffff;
		

}
.CSSTableGenerator td{
	vertical-align:middle;
	text-align:left;
	padding:10px;
	font-family:Arial;
	font-weight:normal;
	color:#000000;
	background-color:#eeeee;
}

/*	background:-o-linear-gradient(bottom, #e5e5e5 5%, #ffffff 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e5e5e5), color-stop(1, #ffffff) ); 
	background:-moz-linear-gradient( center top, #e5e5e5 5%, #ffffff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#e5e5e5", endColorstr="#ffffff");	background: -o-linear-gradient(top,#e5e5e5,ffffff);
	background-color:#e5e5e5;
*/

.CSSTableGenerator tr.mitBorder{
	border:1px solid #000000;
	border-width:0px 0px 1px 0px;
}

.CSSTableGenerator tr:last-child.mitBorder{
	border:1px dotted #000000;
	border-width:0px 0px 0px 0px;
}

/* .CSSTableGenerator tr.ohneBorder{
	border:1px dotted #000000;
	border-width:0px 0px 1px 0px;
}*/ 

.CSSTableGenerator td.ohneBorder{
	border:1px dotted #000000;
	border-width:0px 0px 1px 0px;
}

.CSSTableGenerator tr:last-child td{
	border-width:0px 0px 0px 0px;
}.CSSTableGenerator tr td:last-child{
	border-width:0px 0px 1px 0px;
}.CSSTableGenerator tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td{
	background:-o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
	background:-moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");	background: -o-linear-gradient(top,#cccccc,b2b2b2);

	background-color:#cccccc;
	border:0px solid #000000;
	text-align:center;
	border-width:0px 0px 1px 0px;
	font-size:16px;
	font-family:Arial;
	font-weight:bold;
	color:#000000;
}
.CSSTableGenerator tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
	background:-moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");	background: -o-linear-gradient(top,#cccccc,b2b2b2);

	background-color:#cccccc;
}
.CSSTableGenerator tr:first-child td:first-child{
	border-width:0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td:last-child{
	border-width:0px 0px 1px 0px;
}

.CSSTableGenerator .hinweis {
	font-size:10px;
	line-height:12px;
}

.taste {
  display: inline;
  border-width: 0.2em;
  border-style: solid;
  border-color: #ddd #bbb #bbb #ddd;
  background-color: #eee;
  padding: 0.1em 0.4em;
  font-size: 0.8em;
  white-space: pre;
}

.taste * {
  display: inline;
}
.strg {
   padding: 2px 8px 2px 4px;
}

a.extern ,
a:link.extern {
	padding-right:13px;
	background:url('extern.png') no-repeat right center;
}

.gewerbetourenliste li{
	list-style: circle;
	margin-bottom: 0em !important;
}


/* Zentrierte Box mit maximaler Breite */
.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Optionale Anpassung für kleinere Bildschirme */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px; /* Weniger Padding auf kleinen Bildschirmen */
    }
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.HeaderundLogo {
  background: #ffe401;
  background-image: url(gojerleiste.jpg);
  line-height: 50px;
  height: 85px;
}

.HeaderMenu {
	height:60px;
	background: #c1001f;
}


@keyframes slide-in-left {
  0% {
    transform: translateX(-100%); /* Startposition links außerhalb des Bildschirms */
    opacity: 0;
  }
  100% {
    transform: translateX(0); /* Endposition */
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.Ueberschrift1,
.Ueberschrift2 {
  opacity: 0; /* Anfangszustand unsichtbar */
}

.Ueberschrift1 {
	display: inline-block;
  will-change: transform, opacity;
  transform: translateX(-100%); /* Standardposition für Ueberschrift1 außerhalb des Bildschirms */
}

.oeffnungheader {
	float: right;
	position: relative;
	line-height: 20px;
	margin-top: 20px;
	color: #000;
}


.img-hover {
    background-color: #b1b3b3;
    display: inline-block;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease-in-out;
    padding: 0px;
	margin: 5px;
	width: 28%;
}
.img-hover:hover {
    background-color: #ffe401;
}
.img-hover img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Header-Menü: Telefonnummer fix rechts (nicht Teil von ul.sf-menu) --- */
.HeaderMenu .headermenu {
  position: relative;      /* Referenz für das absolut positionierte Tel-Element */
  min-height: 60px;        /* passt zum roten Balken */
}

/* Hier drin liegt dein REX_TEMPLATE[9] (ul.sf-menu) */
.HeaderMenu .headermenu .nav-wrap {
  padding-right: 230px;    /* Platz für die Telefonnummer reservieren (anpassen bei Bedarf) */
  min-height: 60px;
}

/* Telefonlink fix rechts im roten Balken */
.HeaderMenu .headermenu .header-phone {
  position: absolute;
  top: 0;
  right: 0;
  height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  z-index: 1000;           /* vor Dropdowns des Menüs */
}
.HeaderMenu .headermenu .header-phone:hover {
  text-decoration: underline;
}

/* Optional: wenn du das kleine SVG-Icon nutzt */
.HeaderMenu .headermenu .header-phone .phone-ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
}

/* --- Mobil: Telefonnummer separat, rechtsbündig unter/über dem Menü --- */
@media screen and (max-width: 680px) {
  .HeaderMenu .headermenu { position: static; min-height: auto; }
  .HeaderMenu .headermenu .nav-wrap { padding-right: 0; }

  .HeaderMenu .headermenu .header-phone {
    position: static;
    display: block;
    height: auto;
    text-align: right;
    padding: 8px 0;
  }
}

/* -------- Mobile: Phone oben rechts neben dem Burger ---------- */
@media screen and (max-width: 680px) {
  .HeaderMenu { height: auto; }
  .HeaderMenu .headermenu {
    position: relative;      /* Referenz fürs absolute Phone */
    min-height: 48px;        /* Höhe der Kopfzeile im Mobile */
  }

  /* Burger sichtbar, aber mit Platz rechts für die Tel.-Box */
  #mobnav-btn {
    display: block;
    line-height: 48px;       /* vertikal mittig */
    padding: 0 120px 0 10px; /* rechts Platz für Telefon reservieren */
    background-color: #c1001f;
    color: #fff;
  }

  /* Telefon fix oben rechts in der Kopfzeile */
  .HeaderMenu .headermenu .header-phone {
    position: absolute;
    top: 0;
    right: 10px;
    height: 48px;
    line-height: 48px;       /* vertikal mittig */
    padding: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    z-index: 1000;           /* vor dem Dropdown */
  }
  .HeaderMenu .headermenu .header-phone .phone-ico {
    width: 16px; height: 16px; fill: currentColor;
  }

  /* Das Dropdown (ul.sf-menu) startet UNTER der Kopfzeile */
  .sf-menu {
    margin-top: 0;           /* sicherheitshalber kein zusätzlicher Abstand */
  }
}