html {height:100%;}


body {
	margin: 0; padding: 0; 
	height:100%;
	color:#333;	
	background: #fff XXurl(img/p3.jpg) repeat fixed;
}

.wrapper {
	max-width: 1400px;
    width: 100%;
    margin: 0 auto 30px auto;
	background: #fff; 
	position:relative;
	box-shadow:  0px 5px 10px 0px rgba(50, 50, 50, 0.2);
	border-radius: 20px 0 20px 0; 
	overflow-x: hidden;
}

#topmenubar2container  {width:100%; position:fixed; top:-60px; left:0;}
#topmenubar2  { max-width: 1400px; width: 100%; margin: 0 auto; }
#topmenubar2container.isvisible {top:0;  transition:0.5s top; z-index:500;}






.header, .footer { width: 100%;  position:relative; border-radius: 20px 0 0 0;}
.header  { position:relative; float:left; width: 100%;  margin: 0 0 0 0;  }
.footer {	height:120px; border-radius: 0 0 20px 0;	clear:both; background: #fff url(img/default.jpg) no-repeat center center;}

.logopic {max-width:60%;  position:absolute; top:40px; left: 1%; }
.innerheader {height:200px; width:100%; background: #fff url(img/default.jpg) no-repeat center center;}
.flexslider .nojs {position: absolute; height:100%; background: #fff url(img/default.jpg) no-repeat center center;}

.topmenubar { clear: both; margin-bottom:30px;}

.contentbox {width: 49%; float:left; XXbackground: #dff;}
.contentbox .inner {min-height:330px;  margin: 15px 1% 20px 4%; XXbackground: #eff;}
.XXcontentbox .inner p img {max-width:100%; height: auto ! important;}

.contentboxwide {width: 100% ! important;  }
.contentboxwide .inner {margin: 15px 2% 20px 2%;}

.rightbox {width: 49%; float:right;  XXbackground: #eef;}
.rightbox .inner {width: 45%; float:left; margin: 15px 4% 20px 1%; XXbackground: #fef;}
.XXrightbox .inner img {max-width:100%; height: auto ! important;}

#rightbox_right {}

.footer .inner { position:absolute; top:10px; left: 10%; width:80%; font-size:0.8em; padding: 10px 0; text-align:center; line-height:110%;  color: #000 ! important; 	border-radius: 20px;  background: rgba(255, 255, 255, 0.7);}
.footer .inner span { font-size:0.7em;}
.footer .inner a {color: #000 ! important;}



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

/***********************************
	menu
************************************/

a#mobilemenu  {
    display:  none;   
}
a#mobilemenu span {display:block; padding: 10px 15px ; font-weight: bold;}



.search_box {float:right;  width:160px; text-align:right; margin-top:9px; }
.search_box .searchstring {	
	width:90px;	
	font-size:14px;
	padding: 5px 2px 3px 2px;
	border:  #fff 2px solid; 
	background: rgba(255, 255, 255, 0.7);
}

.search_box .submitbutton {
	vertical-align: top; margin:0 9px 0 2px;  background: none; border: none;
}

#showlogin {display:block; float:left; position:relative;  width:30px; text-align:right; margin:6px 6px 0 0; }
#login-box {position:absolute; width:200px; left:30px; top:-10px; padding:5px; font-size:11px; z-index:2000; background: rgba(255, 255, 255, 0.9);}
#login-box .loginsubmit {border:0;}
#login-box .inputfield {width:80px; border: 1px solid #c9e8f9; padding:1px;}



/* Link Formatting */
ul.nav, ul.extramenu { 
	list-style-type: none;
	/* *zoom: 1; */
	margin: 0; padding: 0;
	position: relative; 
	
}

ul.nav li {
	float: left; 
	list-style-type: none;
	list-style-image: none;
	position: relative;  	
	margin: 0; padding: 0;
	border-right: 3px solid #fff;
}


.nav li a {
	display: block; 	
	text-decoration: none;
	line-height:120%;
	/*text-shadow: 1px 1px 1px #000;*/
	padding: 10px 10px;
    color:#fff;
}


/* Hover Formatting */
.nav  li a:hover, .nav li a:focus, .nav li a:active, .nav li a.active, .nav a.menu-current, .nav a.menu-parent {
	 XXbackground-color: #9e8d7b;  color: #fff;
}



/* 2 level */
.nav li ul {
    display: none;
    width: 15em; 
    margin: 0; padding:0;
    position: absolute;
	box-shadow: 0 10px 40px #666;
}

.nav li ul li {
	width: 15em; 
	text-align: left; 
	margin: 0; 
	padding: 0;
	/* border-top: 1px solid #cdc2b6; */
	border-right: none;
	/* background-color:#9e8d7b; */
}
.nav li ul li a {	
    color: #fff;
	padding: 6px 10px;
    
}


/* 2 level hover 
.nav li ul a:hover,  .nav li ul a.menu-current { background-color: #cdc2b6;  color: #000;}
*/

/* Show and hide */
.nav li:hover ul, .nav li.isselected ul {display: block; z-index: 1000;}
.nav li ul ul { display: none;}
.nav li:hover ul ul {display: none;}
.nav li:hover>ul, .nav  li li:hover>ul {display: block;  z-index: 1000;}

.nav li a:focus {background-color:#e00; }


/* 3 Ebene  */
.nav li ul li ul	{ 
	margin: -20px 0 0 70%; 
	padding:0;
	z-index: 9999;  
	display: none;
	width: 11em; 
}
.nav li ul li ul li	{width: 11em;}


/* Positioning hover */
.nav li {position: relative;}



.nav li:hover {
	z-index: 10000;	
	white-space: normal;
							
}

/*Flexslider */
div.flex-viewport ol.flex-control-nav {
	bottom: 10px ! important; 
}


.gc_new_block {font-size:0.92em;}

/*==================================================================================================*/

.mod_topic_active5 {background: #fff4a9;}
.mod_topic_active6 {background: #f4d881;}
.mod_topic_active5 .mt_title, .mod_topic_active6 .mt_title {padding-top:10px; }
.mod_topic_active5 .mt_title a, .mod_topic_active6 .mt_title a {color: #cc0000;}

/*Topic Sidebar:*/
.mod_topic_prevnext div {clear:left; font-size:11px; margin-top:20px;}

.mod_topic_prevnext a.videoblock {
	display: block;
	float:left;
	width: 100px;
	max-width:50%;
	height: 60px;
	overflow: hidden;
	margin: 0 5px 0 0;
	background:#000;
}

.mod_topic_prevnext a.videoblock img {
	width: 100%;
	height:auto;
	opacity:0.8;
}

.mod_topic_prevnext a:hover.videoblock img {
	width: 130% ! important;
	height:auto;
	margin-left: -15% ! important;
	margin-top: -5px ! important;
	opacity:1;
}





/*frontteaserblock*/

.frontteaserblock {margin:30px 0; width:100%; overflow:hidden;}
.frontteaserblock div {width:102%;}
.frontteaserblock div a {float:left; display:block; width:23.8%; margin: 0 1% 10px 0; padding-bottom:10px; opacity:0.9; background:#fff; min-height:200px;border-bottom: 2px solid #eee; }
.frontteaserblock div a span {display:block;}
.frontteaserblock div a span.picturebackground {width:100%; background-size: 100% auto, auto; background-position: center center;  transition:0.6s all;}
.frontteaserblock div a img {width:100%; float:left; opacity:1; transition:0.9s all;}
.frontteaserblock div a .mt_title {margin:10px 5px 0 10px; height:40px; font-size:16px; line-height:120%; font-weight:bold; }
.frontteaserblock div a .mt_desc {margin:0 5px 0 10px; XXheight:130px; line-height:120%; font-size:0.9em; }

.frontteaserblock div a:hover  {opacity:1;}
.frontteaserblock div a:hover span.picturebackground {width:100%; background-size: 180% auto, auto; }
.frontteaserblock div a:hover img {opacity:0;}


.flexslider {}
.flexslider li {XXmargin: 0 ! important; padding: 0;}




.mobiles_only {display: none;}
.desktops_only {}

.mod_topic_commentbox {
	background: transparent;
}






table.wb_mobile_template {width:100%; max-width:800px; line-height:130%; XXfont-size:12px;}
table.wb_mobile_template td {vertical-align: top; border-bottom:1px solid #ddd; padding: 10px 0;}

.wb_mobile_template .right {width: 36%;  padding-right:3%;  padding-bottom:10px; background:none; }
.wb_mobile_template .inner {width: 60%; padding-bottom:10px; padding-top:10px;  background:none; }
.wb_mobile_template .inner h2 {margin:3px 0; font-size:18px; }
.wb_mobile_template .inner h3 {margin: 3px 0; font-size:16px; }

.wb_mobile_template img {width: 100%; }


/*latestdownloads*/
div.recent_downloads {background: #eee; float:left; width:100%;}
a.latestdownloads {display:block; margin: 5px auto 5px auto; padding: 10px 0 15px 0; text-decoration:none;  border-bottom: 1px solid #ccc; }
a.latestdownloads  span {display:block; height:130px; overflow:hidden;  transition: all 0.5s; position:relative;}
a.latestdownloads:hover  span {height:160px; transition: all 0.5s;}
a.latestdownloads  span img {width:100%; opacity: 0.8; transition: opacity 0.5s;}
a.latestdownloads:hover span img {opacity: 1}

a.latestdownloads span i {font-size:12px; color: #fff; line-height:120%; font-style:normal; width:96%; padding: 2px 2%; display:block; position:absolute; left:0; bottom:0; background: rgba(0,0,0,0.3); text-shadow: 1px 1px 3px #000;}
a.latestdownloads span i b {display:block;}


.bigfooter {background: #eee;}
.bigfooter .innerbox {float:left; width:24.9%;}

.stealth {display:none;}

a.template_editlink {display:block; width: 16px; height:16px; z-index: 9000; position:absolute; left: 0; top:0; background:#0ff;}


/*Module-Liste*/
.module-liste {}
.module-liste .module-liste-b1 {float:left;clear:left; position:relative; border-bottom:1px solid #999; margin:0 0 20px 0; padding-bottom:20px;}
.module-liste .module-liste-b1 img {width:24%; margin-right:1%; float:left;}
.module-liste .module-liste-b2 {width:70%; float:left;}
.module-liste .module-liste-b3 {width:30%; float:right;}


/* ================================================================================================= */
/* Smaller Screens */
@media screen and (min-width: 1400px) {
	.XXfrontpage .header, .frontpage .flexslider {height:504px;}
	.XXteaserbox {height:207px;}
}



/* ================================================================================================= */
/* Smaller Screens */
@media screen and (max-width: 1024px) {
	.wrapper { width: 100%; margin: 0 auto; 	box-shadow:  none; border-radius: 0 0 0 0; }
	#topmenubar2  {width: 100%;}
}

@media screen and (max-width: 768px) {
	.mobiles_only {display: block;}
	.desktops_only {display: none;}
	
	.search_box {margin-top:-30px;}

	
	
	
	
	/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
	.container { width: 100%; border-left: none;	border-right: none;}
	
	.mainbox {margin: 20px 0 20px 0;}
	.contentbox {width: 100%; margin: 20px 0 20px 0;}
	.rightbox {width: 100%;  margin: 20px 0 20px 0;}
	
	
	.footer { width: 100%; }
	.contentbox .inner {margin: 10px;  }
	.rightbox .inner {margin: 10px;  }
	
	
	 .header {height:160px; background: #fff url(slides/slide1.jpg) no-repeat center center; overflow: hidden; }
	.frontpage .header	{height:auto;}
	.XXflexslider {display:none;}
	
	
	#topmenubar1 { height:30px; display: none;}
	#topmenubar2container {display:none;}
	
	
	a#mobilemenu { 
		display:  block;    
		color: #fff;
		width:100%;
		clear: both;
		font-size:16px;
	}
	
	
	
	ul.nav {max-width:260px; position:absolute; left:0; z-index:2000;}
	 ul.nav ul, u.nav ul ul {width:100% ! important; position: static; margin: 0 0 0 0 ! important; }
	
	ul.nav ul {}
	ul.nav li ul {display: block ! important;}
	ul.nav li, ul.nav li li, ul.nav li li li {
		width:100% ! important;
		float: left;
		border-right: none; 	
		display: block;
		border-bottom: 1px solid #fff;
		background-color: #333;	
	}
	
	
	ul.nav li.menu-parent > ul, ul.nav li.menu-current > ul {display: block}	
	
	ul.nav a {padding: 10px 5px; color:#fff;}
	ul.nav a.menu-current {  background-color: #4dc4ef;}	
	
	
	
	.tp_picture  {max-width:40%;}
	.tp_picture .tp_pic {max-width:100%;}
	
	.frontteaserblock div a {width:49%; }
	
	.bigfooter .innerbox {float:left; width:49.9%;}
	.bigfooter .innerbox.row1 {clear:left;}
	
	
}

@media screen and (max-width: 640px) {
.module-liste .module-liste-b1, .module-liste .module-liste-b2, .module-liste .module-liste-b3 {float:none; width:100%;}
.module-liste-b3  {fontsize:0.9em; line-height:120%;}
.module-liste-b3 h3 {display:none;}
}

/* ================================================================================================= */
/* Smaller Screens */
@media screen and (max-width: 440px) {

	.wrapper { width: 100%;}

	.frontteaserblock div {width:100%;}
	.frontteaserblock div a {float:none; width:100%; clear:left; height:auto ! important; clear:both; border:none;}
	.frontteaserblock div .row1 {}	
	.frontteaserblock div a .mt_title {height:auto; margin-bottom:20px;}
	
	.rightbox .inner {width: 100%; float:none; margin: 15px 0 20px 0; }
	
	#rightbox_left {margin: 0; width:auto; padding:10px;}
	.bigfooter .innerbox {float:none; width:100%;}
	#tnl_register {    width: 96%}
	
	

}



/*=============================
DARK MODE 
*/
body { color:#fff; background: #444;}
.wrapper {background: #333; }
body div.recent_downloads { background: #444;} 
.bigfooter {    background: #222;}

h1, h2, h3, a { color: #77b3c7; }
a:hover {color: #a5cfde;} 

h4, h5, h6 { color: #7acae6;}

.tp-blocks-inner {opacity:0.9}
.mod_topic_active5 { background: #5cc7b2; }


@supports (-webkit-text-fill-color: transparent) {
  /* CSS-Deklarationen für moderne Layouts */

	h1 {
	background-image: linear-gradient(90deg, #6aadc4, #377489);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		width: fit-content;	
	}	
	
	h2{
	background-image: linear-gradient(-90deg, #3d8da1, #57abc0);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		width: fit-content;	
	}
	XX#rightbox h3 {width: auto;}
}
