/* Top Elements */
XX* { margin: 0; padding: 0;}
html, body { 	
	margin: 0; padding: 0;
	height:101%;
	
}

body {background: #dcc5b5 url(img/bodybg.jpg) no-repeat fixed;
	-o-background-size: 100% 100%, auto;
-moz-background-size: 100% 100%, auto;
-webkit-background-size: 100% 100%, auto;
background-size: 100% auto, auto;

color: #000;
}


.wleft {width: 160px;}
.wcontent {
	left: 160px; 
	width: 80%;		
	max-width: 1000px;
}
.hheader {	height: 140px;}

/*emenu */
#leftbox {
	position: absolute;
	left: 0;
	top:0;
	height: 130px;
}
#leftbox a.logobox {display:block;}
#leftbox a.logobox img {width:94%; margin:30px 0 0 3%;}

#mainwrapper {
	position: absolute;
	min-height: 100%;
	XXtext-align: left;
	background: transparent url(img/bg75.png) ;
	
}
.mainwrapperclear {	height:60px; clear:both; XXbackground: #ddd;}


.headerbox {
	position: relative;
	background: #000 url(img/header.jpg) no-repeat top right;
	padding: 0;
	color: #fff;
	
}

.leftheader {
	padding-left:10px;	
	font-size:18px;
	color: #fff;
}

.rightheader {
	text-align:right;
	padding:5px;
}


/* footer */
.footerbox {
	position: absolute;
	left: 0;
	bottom:0;
	color: #fff ! important;
	clear: both;	
	width: 100%;	
	max-width: 1000px;
	height:60px;
	text-align: center;
	background: #235230;
	font-size:13px; 
	line-height: 130%;	
}
.footerbox .innerfooter {margin-top:10px;}
.footerbox a {color: #fff ! important;}





/* Main Column */
.contentbox { 
	margin-top:10px;
	width:75%;
	float:left;
	display:inline;
	overflow:hidden;		  
}
.contentbox .inner {margin:10px 10px 0 30px; }

.contentboxwide {     
	margin-top:10px;
	width: 100%;
	float:left;
	display:inline;		  
}
.contentboxwide .inner {margin:10px 20px 0 30px; overflow:hidden;}


.rightbox {
	margin-top:10px;  
	width:24%;
	float:right;
	display:inline;
}

.rightbox .inner {margin:10px 10px 0 10px; line-height: 120%}
.rightbox .inner p {font-size:12px; }
.rightbox .inner p img {max-width:100%; height:auto;}


.breadcrumbsbox {background-color: #eee;  height:22px; padding:5px 0; margin:0 0 0 0; clear:left;}
.breadcrumbsbox .inner {margin:0 0 0 30px; overflow:hidden;}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */


.breadcrumbsbox .inner {
	font-size:12px;
	margin:2px 0 0 30px;
	/*width: 100%;
	float:left;*/
}
.breadcrumbsbox .inner span {
	background: transparent url(img/bclink.gif) no-repeat 0px 5px; 
	padding: 6px 2px 0px 12px; font-weight: bold; }
	
.breadcrumbsbox .inner a {
	padding:1px;
	border-bottom: 1px dotted #5a3b63;
	text-decoration: none;
}
.breadcrumbsbox .inner a:hover {border-bottom: 1px solid #5a3b63;}
	
.breadcrumbsbox .inner .menu-current a{
	color: #000000;
}




.menu, .menu ul { /* all lists */
		padding: 0;
		margin: 0;
		list-style: none;
		float : left;
		width : 160px;	
}


.menu li { /* all list items */
		position : relative;
		float : left;
		display:block; 
		width: 160px;
		height:50px;
		
		
}
	
/*Level 1 and more*/
.menu li a {		
	display : block;
	XXwidth: 140px; 
	height:50px; 
	color : #efe4b7;
	
	text-decoration : none;
	border : 0px solid black;
	

}

.menu li a span {display : block;}
.menu li a:hover { color : #fff; }
.menu li a:hover ul li {z-index: 1000;}


.menu li  a.lev0 {
	font-weight : bold;
	text-align:center;
	font-size: 16px;
	background: transparent url(img/m1bg.png) no-repeat;
}

.menu li  a.lev0:hover, .menu li.showul a.lev0, .menu li  a.menu-current.lev0, .menu li  a.menu-parent {
	background: transparent url(img/m1bg-hi.png) no-repeat;
	 color : #fff; 
}

.menu li.showul a.lev0 {
	color:#fff;
}


.menu li  a.lev0 span {padding: 15px 0 0 0; line-height : 110%;}


.menu li ul { /* second-level lists */
	position : absolute;
	display: none;
	margin:-240px 0 0 130px;	
	background: transparent url(img/li-ul-top.png) no-repeat;
	width: 270px;
	padding-top: 47px;
}
	
.menu li ul li { /* second-level lists */
		width: 270px;
		height:auto; 
		z-index: 1000;
		border-bottom: 1px solid #000 ;
		background: transparent url(img/li-ul-bg.png) repeat-y;		
}
.menu li ul li.ulend { 
	height:29px; 
	background: transparent url(img/li-ul-bot.png) no-repeat;
}

.menu li ul li a { /* second-level lists */
	width: 250px;
	margin: 0 10px;
	height:auto; 
	text-align:left;
	
}

.menu li ul li a:hover { background: #486e23 url(img/m2bg-hi.jpg) no-repeat; }
.menu li ul li a.menu-current { background: #486e23 url(img/m2bg-hi.jpg) no-repeat; }

.menu li ul ul { /* third-and-above-level lists */
	display: none;
	margin:-20px 0 0 120px;
}

	
.menu li:hover ul ul, .menu li:hover ul ul ul, .menu li.sfhover ul ul, .menu li.sfhover ul ul ul {
	display: none;
}

.menu li:hover ul, .menu li li:hover ul, .menu li li li:hover ul, .menu li.showul ul { 
	display: block; 
}



/*TEst*/
#XXnav li ul.ulid13 { display: block ! important;}


/* 2nd Child menu */
#XXnav .menu li ul {position: absolute; width: 540px; left:0; margin: -20px 0 0 0px; padding-top:10px; display: none; text-transform: none;  }
#XXnav .menu li ul div {position: fixed; width: 540px;  left:10%; background: transparent url(img/nav1outbgws.png) repeat-x bottom left;  padding-bottom:100px;}

.menu li ul li {text-align: left; font-weight: normal; margin: 0; border: none;  padding: 0 0 0 0; line-height: 1.2em; XXwidth: 100%; height: 71px; float:left; }
.menu li ul li a {XXwidth: 100%; float:left;  height: 70px; XXmargin:0; padding: 0; color: #000 ! important;  font-weight: normal; background: #fff4e1 url(img/mpic-muster.jpg) no-repeat; border-bottom: 1px solid #fff}

.menu li ul li  a span {display:block; margin: 2px 2px 3px 75px; padding: 0 0 0 0; font-size:12px; line-height: 130% ; font-style:normal;}
.menu li ul li  a b {display:block; color: #497024; padding:3px 0 1px 0; font-size:13px; }


/* 2nd Child link hover */
.menu li ul a:hover,  .menu li ul a.menu-current, .menu li ul a.menu-parent { background-color: #fff ! important;  XXcolor:#fff; }



ul.pagemenu {width:100%;}
ul.pagemenu li {width:31%; float:left; display:block; margin: 0 2% 10px 0; height: 71px;}
ul.pagemenu li ul {width:31%; float:left; display:block; margin: 0 2% 10px 0; height: 71px;}
ul.pagemenu li a, ul#adminmenu li a  { float:left; display:block;  width: 100%; height: 70px; XXmargin:0; padding: 0; color: #000 ! important;  font-weight: normal; background: #fff4e1 url(img/mpic-muster.jpg) no-repeat; border-bottom: 1px solid #fff}
ul.pagemenu li  a span, ul#adminmenu li  a span {display:block; margin: 2px 2px 3px 75px; padding: 0 0 0 0; font-size:12px; line-height: 130% ; font-style:normal;}
ul.pagemenu li  a b, ul#adminmenu li  a b  {display:block; color: #497024; padding:3px 0 1px 0; font-size:13px; }
ul.pagemenu li a:hover,  ul.pagemenu li a.menu-current, ul.pagemenu li  a.menu-parent { background-color: #fff ! important;  XXcolor:#fff; }

.rightbox .inner ul.pagemenu li {width:100%; margin: 0 0 10px 0;}

ul#adminmenu li ul { 	display: block ! important; }



/* login/logout*/
.loginform {margin-top:4px; font-size: 11px; line-height:120%; color:#ffffff; overflow:hidden;}
.loginform p {margin:2px 0 0 0; line-height:120%; }
.loginform input {font-size: 11px; padding:1px; color: #fff; border: 1px solid #ffffff; background-color:#163100; }

.loginform .inputfield { width:90px; margin-right:15px;}
.loginform .submit { width:90px; font-weight:bold; text-transform: uppercase;}

.loginform a {
	color:#efe4b7 ! important;	
	clear:both;
}
.loginform a:hover {
	color:#ffffff ! important;	
}



/* search form */
.searchform {
	background-color: transparent;
	border: none;
	margin: 0 5px 0 10px; padding: 5px 0 5px 0;
	width: 160px;
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox {
	width: 100px;
	color: #777;
	height: 18px;
	padding: 2px;
	border: 1px solid #E5E5E5;
	vertical-align: top;
}
.searchform input.button {
	width: 60px;
	height: 24px;
	padding: 2px 5px;
	vertical-align: top;
}


/*Topics*/
/*messetermine*/
div.messetermine  { margin-bottom:30px;}
div.messetermine .tp_thumb { float:left; max-width:200px; margin:0 20px 30px 0;}
div.messetermine h4 { font-weight:normal; font-size:14px;}

/*museum*/
.topic_block2 a.pnsa  {display:block; width:100%; height:60px; overflow: hidden;  float:left; margin:0 0 10px 0; background: transparent url(img/bg75.png) ; line-height:120%; font-size:12px ! important;}
.topic_block2 a.pnsa img {width:58px; height:58px; float:left; margin:0 3% 20px 0;}
.topic_block2 a.pnsa b  {display:block;  margin:2px 0 0 0;}




/*Produkte*/
a.pnsa .tp_thumb {border:none;}

div.produkte_loop {width:24%; margin:0 0.8% 20px 0; height:340px; float:left; background:#fff; position:relative;}
div.produkte_loop .tp_thumb {width:90%; height:auto; margin:10px 5% 0 5%; }
div.produkte_loop .textbox  { text-align:center; margin:2px 5% 0 5%; line-height:100%; font-size:13px;}
div.produkte_loop .textbox h3  { text-align:center; margin:2px 5% 3px 5%; line-height:100%; font-size:14px;}

.produkte_page {position:relative;}
.produkte_page .pic_container {width:40%; float:left;  margin:0 1% 0 0; text-align:center;}
.produkte_page .pic_container img {max-width:100%; }

.produkte_page .produkt_desc {width:58%; float:left;}
.produkte_page .produkt_desc .additional_pictures img {float:left; margin:0 2% 10px 0; max-height:90px;}

.produkte_page .produkt_desc h3.topics-back {clear:both; padding:20px 0 30px 0;}

.produkte_page a.pnsa {display:block; width:46%; height:60px; float:left; margin:0 3% 20px 0; line-height:120%;  font-size:12px; background: transparent url(img/bg75.png) ;}
.produkte_page a.pnsa i {display:block; width:25%; height:60px; overflow: hidden;  float:left; margin:0 3% 0 0;}
.produkte_page a.pnsa i img {width:60px; margin-top:-15px; height:auto;}
.produkte_page a.pnsa b {display:block; padding: 2px 0;}

a.tp_editlink {
    top: 0px;
    right: 0px;
}




/*
.mod_topic_loop { margin: 10px 0 10px 0; }
.mod_topic_loop img { float:left;  height:50px; width:50px; border:0; float:left; margin:4px 10px 30px 0; }
.mod_topic_loop h3.mt_title, .mod_topic_loop p {margin:0; line-height:140%;}
*/
.topic_block2 .tp_pic {max-width:100%;}

.mod_topic_prevnext h4 {margin: 8px 0 4px 0; }
.mod_topic_prevnext p {margin: 0px 0 0 0; height:40px; clear:left; font-size:11px;}
.mod_topic_prevnext p img { height:40px; width:40px; border:0; float:left; margin:0 6px 10px 0; }
.mod_topic_prevnext p a {font-size:11px; color:#666666; line-height:120%; font-weight:normal;}

.mod_topic_page p.topics-back {padding:0px 0 10px 23px; margin: 20px 0 ; background: transparent url(img/back-topic-bg.gif) no-repeat; font-size:14px; font-weight: bold;}

.mod_topic_page .tp_pic  {max-width:40%; float:left; margin:0 10px 0 0}



/*katalog download ansicht ===============================================================================================*/
h3.katalogtitel {clear:both; margin:40px 0 20px 0:}
.katalogansicht {width:105%;}
.katalogansicht .kthumb {width:30%; float: left; position:relative; margin:0 3% 20px 0; padding-top:3%; background: transparent url(img/produktkatalog-bg.png) no-repeat;   background-size: 100% auto, auto; }
.katalogansicht .kthumb .thumb img {width:94%; margin-left:2.5%; margin-bottom:10px;}
.katalogansicht .kthumb a.pdflink {
	position: absolute;
	top: 0px;
	right: -10px;
	display:block;
	width:42px;
	height:47px;
	margin:10px 5% 0 5%;
	background: transparent url(img/pdf.png) no-repeat; 

}



/* Foldergalllery ===============================================================================================*/
.foldergallery-wrapper {width:103%;}

.foldergallery-wrapper ul.categories li {width:22%; max-width:220px; float: left; text-align: center; position:relative; margin:0 2% 0 0;  padding:0 0 5px 0; line-height:100%; XXbackground: transparent url(img/gallery-katbg.png) no-repeat;   background-size: 100% auto, auto; }
.foldergallery-wrapper ul.categories li  img {margin-left:0%; margin-bottom:0; border:none; width:100%;}
.foldergallery-wrapper ul.categories li  a span {display:block; height: 36px; font-size:12px; margin: 5px 5%;	XXbackground: #235230;}


.foldergallery-wrapper #photoswipegallery a img {float:left; width:21%; margin: 0 3% 3% 0; 
opacity:0.9;
filter:alpha(opacity=90); /* For IE8 and earlier */
}

.foldergallery-wrapper #photoswipegallery a:hover img { 
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}




.classicleuchten td p {margin:0; line-height:120%; font-size:12px;}






/*Download Seite */
div.preis-kataloge {width:30%; position:relative; float:left;margin:0 3% 20px 0; border:1px solid #999; background: transparent url(img/bg75.png) ; height:90px; overflow:hidden;  transition: 0.5s all;}

a.preis-kataloge {display:block; opacity:0.8; width:100%; height:90px; overflow:hidden;  transition: 0.5s all;}
a.preis-kataloge:hover {opacity:1; } 
a.preis-kataloge b {display:block; margin:10px 10px 20px 0; line-height:120%;}
a.preis-kataloge img {width:25%; float:left; margin:0 3% 0 0; border:none; box-shadow: 2px 2px 13px 0px rgba(0, 0, 0, 0.5);}

.itemz_editlink {position:absolute; top:0; right:0;}


.weitere-sites {float:left; width:30%; margin-right:3%}


/* Mobile and not ===============================================================================================*/
#menueswitch, #mobilenav {display:none;}
#menueswitch {width:32px; height:60px; position:fixed; left:0; top:300px;}
#menueswitch img {width:23px; border:none; }


.mobiles_only {display: none;}
img.mobiles_only {max-width:100%; height: auto;}
.nomobiles {display:block ! important;}
.desktops_only {display: block;}
	
	


/* Smaller Screens */
@media screen and (max-width: 768px) {
	body {line-height: 120%;font-size: 14px;}

	#leftbox {display:none;}
	#menueswitch{display:block;}
	.mobiles_only {display: block;}
	.desktops_only {display: none;}
	

	.wcontent {	left: 0; width: 100%;}
	
	.contentbox, div.tp_picture { 	width:100%; }
	.contentbox .inner, .contentboxwide .inner {margin:0 3% 0 5%;}
	.rightbox {display: none;}
	
	

	
	div.produkte_loop {width:47.8%; margin:0 1% 20px 1%;  }
	.produkte_page .pic_container {width:90%; float:left;  margin:0 3% 0 0;}
	.produkte_page .produkt_desc {width:90%; float:left;}
	
	.katalogansicht .kthumb {width:47%; padding-top:4%;}
	ul.pagemenu li {width:48.5%; margin: 0 1% 10px 0;}
	
	a.preis-kataloge {width:48%; margin:0 1% 20px 0;}
	
	
	h1 {font-size: 26px;}
	h2 {font-size: 16px;}
}



/* Smaller Screens */
@media screen and (max-width: 400px) {
	.foldergallery-wrapper {width:101%;}
	.foldergallery-wrapper ul.categories li {width:49%; margin:2% 0.5% 5px 0; padding:5px 0 5px 0; font-size:10px;}
	.foldergallery-wrapper #photoswipegallery a img  {width:48%; margin:2% 1% 20px 0; }
	
	
	ul.pagemenu li {width:100%; margin: 0 0 10px 0;}
	
	a.preis-kataloge {width:99%; margin:0 0 20px 0;}
	
	.weitere-sites {float:none; width:100%; margin-right:0}


}