ul#menu1 {
    list-style: none;
    background: #aaaaaa;
    padding: 5px 0;
}

header {
    background: #aaaaaa;
    padding: 15px 20px;
}
 
/*shorter clearfix http://nicolasgallagher.com/micro-clearfix-hack/*/
header:before,
header:after {
	content:"";
	display:table;
}
 
header:after {
	clear:both;
}
 
/* For IE 6/7 (trigger hasLayout) */
header {
	zoom:1;
}

h1.logo a {
    color: #d8d8d8;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 22px;
    float: left;
    letter-spacing: 0.2em;
}

a.to_nav {
    float: right;
    color: #fff;
    background: #4e4e4e;
    text-decoration: none;
    padding: 0 10px;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
    height: 22px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
 
a.to_nav:hover,
a.to_nav:focus {
    color: #1c1c1c;
    background: #ccc;
}

#menu1 li a {
	list-style: none;
    display: block;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    letter-spacing: 0.1em;
    line-height: 2em;
    height: 2em;
    border-bottom: 1px solid #383838;
}
 
#menu1 li:last-child a {
	list-style: none;
    border-bottom: none;
}
 
#menu1 li a:hover,
#menu1 li a:focus {
	list-style: none;
    color: #green;
    background: #ccc;
}

#menu1 li.current > a { 
	background: #cccccc; //#EC870E; 
}

li.ebene2 {
	 list-style:none;
}

/* pgviewer-manual-O */
a.pgv0 {
	text-decoration:none;
	font-weight:bold;
	color:#4c4c4c;
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 5px;
}

font.pgvNav {
	font-family: "avantgarde bk bt", arial, helvetica, sans-serif;
	text-decoration:none;
	font-weight:bold;
	color:#4c4c4c;
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 5px;
}



/*footer*/
 
footer {
	font-family: "avantgarde bk bt", arial, helvetica, sans-serif;
    font-style: normal;
    text-align: center;
    font-size: 14px;
    /*position:fixed;*/
    bottom: 0;
    width: 100%;
    background-color: #aaaaaa;
    color: #000000;
    padding: 3px;
    clear: both;
}

footer:before,
footer:after {
	content:"";
	display:table;
}
 
footer:after {
	clear:both;
}
 
/* For IE 6/7 (trigger hasLayout) */
footer {
	zoom:1;
}

/* bgimg for desktop only */
.bgimg {
	background:none;
    width:auto;
    height:auto;	
}

.headimg {
	margin:auto;
	width:100vw;
	height:auto;
	max-width: 800px;
}

footer {
    background: #aaaaaa;
    padding: 0;
    /*border: 2px solid #EC870E;*/
}

ul#footer {
    list-style: none;
    width: 100%;
}

#footer li {
    /* -webkit-flex: 1;
    flex: 1;
	justify-content: space-between;
	float: left;
	position: relative;*/
	font-size: 16px;
	padding-bottom: 5px;
	/*border: 2px solid #EC870E;
	width: 20%;
	margin-left: 25px;
	
	*/
}

#footer li a {
    /* -webkit-flex: 1;
    flex: 1;
	justify-content: space-between;
	display: block;
 	float: left;
	*/
	list-style: none;
	position: relative;
	padding: 2px;
    color: #fff;
    text-decoration: none;
}



@media only screen and (min-width: 768px) {
 
	.bgimg {
		//width: 430px;
		width: 530px;
		padding: 0 220px 0 0;
		background-position:100% 20px;
		background-repeat:no-repeat;
		background-size: 150px 150px;
	}
	.bg1 {background-image:url(/images/button_idee.png);}
	.bg2 {background-image:url(/images/button_logo.png);}
	.bg3 {background-image:url(/images/button_patents2go_small.png);}
	.bg4 {background-image:url(/images/button_pgviewer.png);}
	.bg5 {background-image:url(/images/button_rs.png);}
	.bg6 {background-image:url(/images/button_screen.png);}
	.bg7 {background-image:url(/images/button_fg.png);}
	.bg8 {background-image:url(/images/button_dortmund_q.png);}
	.bg9 {background-image:url(/images/button_cds.png);}
	.bg10 {background-image:url(/images/button_phone.png);}
 
    a.to_nav {
        display: none;
    }
    
    a.to_nav {
        display: none;
    }
     
    .wrapper {
        position: relative;
        width: 768px;
        margin: auto;
    }
     
    #menu1 {
        position: absolute;
        top: 5px;
        right: 10px;
        background: none;
        width: 500px;
        height: 35px;
    }
     
    #menu1 li {
        display: inline;
		float: left;
		position: relative;
    }
    
    #menu1 li ul {
		display:none;
		position: absolute;
		width: 200px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }
    
   #menu1 li ul li {
		width: 100%;
	}
	
    #menu1 li ul li a {
		background: none;
		border: none;
		line-height: 30px;
		margin: 0;
		padding: 0 0 0 5px;
	}
	#menu1 li ul li a:hover {
		background: #ec870e; //#cccccc;
	}
     
    #menu1 li a {
        float: left;
        border: none;
        padding: 0 10px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }
    
	#menu1 li:hover > ul.child { 
		margin-top: 27px;
		display: block; 
		background-color: #aaaaaa;
	}

	.items {
		display: flex;
		flex-wrap: wrap;
		margin: auto;
		max-width: 90vw;
	}
	.items .item {
		flex: 1;
		-webkit-flex: 1;
		justify-content: space-between;
		float: left;
		position: relative;
	  box-sizing: border-box;
	  padding: 10px;
	  margin: auto;
	}
	
	.itembox {
		margin:auto;
	}
	.itembox1 {
		flex: 1;
		-webkit-flex: 1;
		justify-content: space-between;
		float: left;
		position: relative;
	  box-sizing: border-box;
	  padding: 10px;
	}	
	
	footer {
		background: #aaaaaa;
		padding: 0;
		/*border: 2px solid #EC870E;*/
	}
	
	ul#footer {
		list-style: none;
		width: 100%;
		 display: -webkit-flex;
		display: flex;
	}
	
	#footer li {
		 -webkit-flex: 1;
		flex: 1;
		justify-content: space-between;
		float: left;
		position: relative;
		padding: 10px;
		margin-left: 25px;
		/*border: 2px solid #EC870E;
		width: 20%;*/
	}
	
	#footer li a {
		 -webkit-flex: 1;
		flex: 1;
		justify-content: space-between;
		list-style: none;
		float: left;
		position: relative;
		padding: 5px;
		display: block;
		color: #fff;
		text-decoration: none;
	}

}

