/* Top Elements */
* { margin: 0; padding: 0;}

body, html {	
	color: #444;	
	margin: 0;
	height:100.1%;
	background: #009fd7 url(img/body-bg.jpg) no-repeat fixed; background-size: 100% 100%;
}


.mainwrapper {
	width:90%;	
	max-width: 1340px;	
	min-height:70%;
	margin: 0 auto 0 auto;
	background: #fff ;
	position:relative;
	box-shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.3);
	overflow-x:hidden;
}

.leftblockw {width:20%;}
.rightblockw {width:80%;}


#mobiletop {display:none; position: fixed; top:0; left:0; width:100%; z-index: 500; padding: 13% 0 0 0; background: #fff url(img/header-mobile1.jpg) no-repeat ; background-size: 100% auto; box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);}
#mobiletop_spacer {display:none; padding: 13% 0 0 0;}
/*
#mobiletop a#menuswitch {display:block; float:right; max-width:4%;  margin: 0 0 0 0 ; padding: 10px 20px 0 0 ;}
#mobiletop a#menuswitch img {max-height:100%; }

#mobiletop .mobilelogo img { float:left; max-width:75%; margin-left:5%; max-height:100%;}
*/

#menucheck {width:100%; height:0px; display:block;}


a#menuswitch {display:none; position: absolute; top:20%; left:2%; max-width:8%;   padding: 0 0 0 0 ;}
a.homelink {width:80%; position: absolute; top:0; left:20%; display:block; height:100%}

.XXheader {width: 100%; height:360px; position: relative; XXbackground: url(img/static_header.jpg) no-repeat top center; overflow:hidden;}

.XXheader .logo_bg {position: absolute; top:0; left:0; height: 100%; background: url(img/logo_bg.png) no-repeat; background-size: 80% 100%;}
.header .logo_bg {float:left;}
.XXheader .logo {display:block; width:50%; float:left; margin-top:23%; margin-left:1%}
.header .logo img {width:90%; float:left; margin-left:5%; margin-top:40%;}

.headerbild, .headerbild img {float:left;}


#menucheck {clear:both; height:0;}

.sliderbox { XXheight: 360px;	color: #ddd; margin:0 0 0 0;}
.slider { overflow:hidden; height: 100%;}

.sliderbox .flexslider { margin: 0; }
.sliderbox .flex-direction-nav { display:none; }	


#static_headerbox {}





#leftbox {margin:0 0 0 0; float:left; XXwidth: 20%; min-height: 400px; background: #e1eaed;}
#leftbox a { text-shadow: 0px 1px 8px #ccc;}
#leftbox .logo img {margin:20px 0 30px 5%; max-width:90%;}



/*Main Blocks*/
.mainbox { float:left; XXwidth: 80%; }
.contentbox {padding-top:10px; }
.contentbox, .widetop, .widebottom {width:100%; clear:both; min-height:100px; }
.contentwide { float:left; width: 90%; }
.contentnarrow { float:left; width: 74.9%; }

.sidebar { float:right; width: 25%; font-size:0.92em; }

.footer {width: 100%; margin: 0 ;  }

/*iinenabstaende: */
.contentbox .contentinner {margin: 0 5% 20px 5% ; }
.sidebar .contentinner {margin: 0 5% 20px 5% ; }
.widetop .contentinner {}
.widebottom .contentinner {}
.footer  {border-top: 1px solid #ddd; }
.footer .contentinner  {width: 62%; margin: 0 0 20px 20px ; padding-top: 10px;}




/*Notbremse fuer responsive Bilder: maximal 100% Breite*/
.mainbox p img {max-width:100%; height: auto ! important; }


.clearer {height: 5px; clear:both; }
#gototopswitch {float:right; margin: 20px 10px 0 0;}



.picright, .produktbild {margin: -20px -30% 2px 0.5%; }







.menubox{
	width:100%;
	min-height:400px;
}



/*menu */
#nav {width :100%; margin-top:-1px;}

#nav ul { /* all lists */	
	padding: 0;
	margin: 0;
	list-style-image: none;
	list-style-type: none;
	padding-bottom: 5px;
	
	
}
#XXnav ul.ullev0 {border-top : 1px solid #ccc; margin-top:40px;}


#nav li { /* all list items */
	display:block; 
	float:left;
	width:100%;
	list-style-image: none;
	list-style-type: none;	
	font-size : 14px;
	font-weight : bold;
	padding-bottom: 0;
	border-bottom : 1px solid #ccc;		
}
	
/*Level 1 and more*/
#nav a {			
	display : block;	
	text-decoration : none;	
	padding: 6px 0 6px 20px;
	transition: 0.5s padding;		
}

#nav li a.menu-current, #nav li a.menu-parent {background-color:#f3efe7; border-bottom : 1px solid #ccc;}
/*
#nav li li a.menu-current, #nav li li a.menu-parent {background:none; font-weight:bold}
*/
#nav  a:hover ul li {z-index: 1000;}
#nav  a.menu-expand { background: url(img/haschild.png) no-repeat 2px 12px;}
#nav  a.menu-expand.isopened { background:url(img/isclicked.png) no-repeat 2px 12px;}

#nav li ul {opacity:0.9;}
#nav li a {font-size:1.2em; }
#nav li li a {padding-left: 30px; font-size:1em; }
#nav li li li a {padding-left: 40px; font-size:0.95em;}
#nav li li li li a {padding-left: 50px; font-size:0.9em;}

#XXnav a.isopened { padding-top: 12px; }


#nav li ul { display:none;}

#nav li.menu-current>ul, #nav li.menu-parent>ul, #nav li.isopened>ul   { display:block ;} /*! important */
#nav li.menu-current li>ul, #nav li.isopened li>ul  { display:none;}
	



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */
.breadcrumbs {
	height:30px;
	line-height:100%;
	margin: 0 0 0 0;
	padding: 4px 0 5px 0;
	clear:both;
	border-bottom : 1px solid #ccc;	
}

.innerbc {
	font-size:14px;
	margin:10px 0 0 18px;
	width: 650px;
}

.breadcrumbs .innerbc span {
	background: transparent url(img/bclink.gif) no-repeat; 
	padding: 6px 2px 0px 12px; font-weight: normal; }
	
.breadcrumbs .innerbc a {
	padding:1px;

	text-decoration: none;
}

	
.breadcrumbs .innerbc .menu-current a{
	color: #000000;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Search Box in header */

#search_box {	
	XXpadding-top:10px;
	XXwidth:25%;
	position: relative;
	height:40px;
	border-bottom : 1px solid #ccc;
}

#search_box .searchstring {
	
	width:70%;
	border: 1px solid;
	XXfont-size:14px;
	padding:6px;	
	position: absolute;
	top: 6px; left:20px;
}
#search_box .submitbutton {
	display:block; vertical-align: top; margin:6px  10px 0 0; float:right;
}


#suggestbox {
	z-index:1000;
	width:280px;	
	position: absolute;
	top: 35px; left:30%;		
}

#suggestbox ul {width: 280px; XXmargin: 25px 0 0 20%;}
#suggestbox ul, #suggestbox li {
	list-style-type: none;
	list-style-image: none;	
	padding: 0 0 0 0 ;
	XXfont-size:13px ;
	line-height: 120%;
	text-align: left;
	border-bottom: none;		
}
#suggestbox ul li a {
	display:block;
	padding: 5px 10px 5px 15px; 
	text-decoration: none;
	margin:0; 
	font-weight:normal;
	XXfont-size:13px;
	line-height: 120%;
	overflow:hidden;
}
#suggestbox ul li {background: transparent url(img/suggestli.png) repeat-y;} 
#suggestbox ul li.suggestdivide {font-size:5px;}
	
#suggestbox ul li.suggesttop {
	height:30px;
	background: transparent url(img/suggesttop.png) no-repeat;
} 
#suggestbox ul li.suggestbottom {height:15px; background: transparent url(img/suggestbottom.png) no-repeat;} 







/* Login Box */
#showlogin {display:block; float:left; position:relative;  width:30px; text-align:left; margin:6px 6px 0 15px; }
#login-box {position:absolute; width:180px; left:20px; top:0; padding:5px; font-size:11px; }
#login-box .loginsubmit {border:0; margin:10px 10px 0 0}
#login-box .inputfield {width:80px; border: 1px solid #c9e8f9; padding:1px;}


a.template_edit_link{display: block; clear:both; margin: 40px 0 0 12px; width:16px; height:16px; background: transparent url(img/edit.gif) no-repeat; text-decoration:none;}



table.frm-field_table td {font-size:0.9em; padding: 8px 2px; vertical-align: top; border-bottom: 1px solid #eee;}



/*Extra cookie_permission */
#cookie_permission {position:fixed; top:0; right:0; z-index:9950; width: 200px; padding:10px; background: #555; text-align:center; font-size: 0.9em; line-height:120%; border-radius: 0 0 0 25px; box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.2); }
#cookie_permission p , #cookie_permission a {color:#fff;}
#cookie_permission a.cookieaccepted {color:#000; background: #eeb300; display:block; padding:5px; border-radius: 15px; border: 1px solid #fff; font-weight:bold;}




/*Extra Colorpicker */
#colorpickericon {display:block; width:24px; height:24px; background: url(img/colorpicker.png) no-repeat; z-index:5000; position: absolute; top:200px; right:0; cursor:pointer;}
#colorpicker {display:none; width:90px; background: #ddd; position: absolute; top:100px; right:0; z-index:5000; font-size:12px;line-height:100%; box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.1);}
.pickerfield {width:100%; height:40px; float:left;}

.pickerfield input[type="color"] {width:100%; height:20px; padding:0; border:0; cursor:pointer;}
.pickerfield input[type="text"] {width:90%; height:20px; padding:1px 3%; border: 1px solid #999;; cursor:text;}


a.colpick-button {display:block; clear:both; width:80%; margin:10px auto; padding:3px; background: rgba(255,255,255,0.2); text-align:center; border: 1px solid #666; border-radius: 15px;  cursor:pointer;}
#colorpicker-info {display:none; position: absolute; width:160px; padding:10px; top:0; left:-180px; background: #eee; box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.1);}



/*Modules*/
table.downloadgallery {}

.vorstandtable {width:100%;}
.vorstandtable img {margin-right:10px;}



/* ======================================================================
Smaller Screens */
@media screen and (max-width: 1400px) {
	body, html { background-image: none; 	}
	.mainwrapper {
		background-image: none; 
		background-color: #fff; 
		width:100%;		
	}
}

@media screen and (max-width: 1100px) {
	body, html { background-image: none; 	}

	.header {display:none;}
	
	#mobiletop, #mobiletop_spacer {display:block;}
	a#menuswitch {display:block;}
	
	#leftbox {display:none; position: absolute; XXtop:80px; left: 0; z-index:500; float:none; width:250px; margin: 0 0 0 0; box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.3); overflow:auto;}
	#leftbox .menubox {height:auto; min-height:200px; padding-bottom:40px;}	
	#XXleftbox .logo {display:none;}
	
	#leftbox.active {left: 0;}
	
	
	.mainbox {width: 100%; }
	
	.header .logo {margin-top:15%; }
	.XXsliderbox, .XXheader { height:300px;}
	.sliderbox  .flexslider {margin:0 0 0 0;}
	.sliderbox  .flex-direction-nav {display:none;}
	
	#menucheck {display:none;}

	
	/*Korrekturen*/
	table {max-width:98% ! important; width:98% ! important; }	
	td.frm-field_title {white-space: normal;}
	
	
}

@media screen and (max-width: 1024px) {
	.XXsliderbox, .XXheader { height:200px;}
	.mod_download_gallery_line_rightalign_f {display:none;}
	.tablewrapper {width:100%; overflow:auto;}
	
	
}



/* ======================================================================
Smaller Screens */
@media screen and (max-width: 840px) {
	
	.XXsliderbox, .XXheader { height:170px;}
	.mainwrapper { background-image: none;  }
	
	.mainbox, .contentbox, .widetop, .widebottom, .sidebar, .contentnarrow, .contentwide  {float:none; width: 100%; }
	
	
	table.responsivetable td {display:block; width:100% ! important; height: auto;}
	
	/*mittli*/
	.picright, .produktbild {clear:none; margin: -5px 0 2px 0.5%; }

	
	

	/*iinenabstaende: */
	.contentbox {padding-top:30px; }
	.contentbox .contentinner {margin: 0 2% 20px 2% ; }
	.widetop .contentinner {}
	.widebottom .contentinner {}
	.footer .contentinner {width: 90%; }
	
	.header .logo {margin-top:20%; }
	

}

@media screen and (max-width: 400px) {
.XXsliderbox, .XXheader { height:130px;}
}
