body {font-family: Gill Sans MT; padding:0; margin:0; width:100%; height:100%;
}

.idle{
  display:none;
}

a img { border: none;
}

a {
  text-decoration:none;
}

.active {
  color: rgb(120,120,120);
}

header, section, articles, nav {padding:1px; margin:0px;}

section {
  max-width:1050px;
  min-width:320px;
  max-height:860px;
  position:relative;
  margin:10px auto 0 auto;
  background:transparent;
}

header {
    max-width:1000px;
}

/*#signature {float:left; width:180px; height:50px;border:1px solid black;}*/
#name {float:left;font-size:25px;color:#646464;line-height:25px;}
#motto {display:inline-block;float:left;clear:left;}
#motto_a {position:relative;left:-5px;font-size:23px; line-height:25px;color:#969696;}
#motto_b {position:relative;left:-5px;font-size:23px; line-height:25px;color:#C8C8C8;}

#articles {
/*  border:1px solid red;*/
  padding:0 0 0 -45px;
  max-width:950px;
  clear:left;
  width:100%;
  height:100%;
  float:left;
  position:relative;
}

@media (min-width: 959px){
.top {  
  margin:40px 0 0 0px;
}
}

@media (max-width: 958px){
.top {
  margin:10px 0 0 0;
}
}

#title {
/*border:1px dashed yellowgreen;
position:absolute;*/
height:35px;
/*width:200px;*/
font-size:25px;
color:rgb(150,150,150);
/*margin:0 auto;
padding:20px 0 0 0;
text-align:right;*/
}

.illustrate {
/*border:1px dotted black;*/
position:relative;
display:inline;
left:0;
width:200px;
margin:0 auto;
float:left;
}

@media (min-width: 570px){
.illustrate {
top:60px;
}
}

@media (max-width: 569px){
.illustrate {
top:40px;
}
}

.illustrate > img{
width:200px;
}

#content,#content_imp {
/*border:1px solid brown;*/
position:absolute;
display:inline;
height:100%;
}

@media (min-width: 570px){
#content,#content_imp {
top:20px;
}
#col1 {
padding:0 0 0 50px;
}
#col2 {
padding:35px 0 0 50px;
}
}

@media (max-width: 570px){
#content {
display:block;
top:260px;
}

#content_imp {
display:block;
top:80px;
}

#col1,#col2 {
padding:0 0 0 0;
}
}

#col1 {
/*border:1px dotted blueviolet;*/
position:relative;
top:0px;
color:rgb(120,120,120);
/*height:400px;*/
width:300px;
float:left;
}

#col2 {
/*border:1px dotted blueviolet;*/
position:relative;
top:0px;
color:rgb(120,120,120);
/*height:400px;*/
width:300px;
float:left;
}

ul {
list-style:none;
list-style-position: inside;
margin:0 0 0 0px;
}
 
.album{
    padding:0 0 0 0;
}

.album li{
	float: left;
	margin: 0 0 0 0px;
        padding: 0 0 0 0;
	position: relative;
}

.album li > a span{
	position: absolute;
        padding:0 0 0 10px;
	width: 120px;
	height: 20px;
	top: 0px;
	left: 0px;
	line-height: 20px;
	color: rgb(100,100,100);
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	font-size: 14px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	background: rgba(255,255,255,0.6);
}
.album li > a:hover span{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
      -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

.overlay{
	width: 0px;
	height: 0px;
	overflow: hidden;
	position: fixed;
	left: 0;
	top: 0;
	padding: 0px;
	z-index: 99;
/*	text-align: center;*/ /*führte zu anzeigeproblemen in chrome!!!*/
	background: rgba(255,255,255,0.75);
}

.panel {
    position: relative;
    display: inline-block;
    /* if you need ie6/7 support */
    *display: inline;
    height:100%;
/*    width:100%;*/
    }

.bildband {
    position:relative;
    left:0px;
    top:0px;
    color:rgb(120,120,120);
    padding:0px 0 0 0px;    
    }

.bildband li {
	float: left;
	margin: 0 30px 0 0;
    padding: 0px;
	position: relative;
}
    
.panel_2 {
    position: relative;
    display: inline-block;
    /* if you need ie6/7 support */
    *display: inline;
    }

.panel_2 > img {
   	display: block;
    position:relative;
    }

.panel_2 > .subtitle {
    margin-top:-15px;
    float:none;
    clear:both;
	position: relative;
    }
    
.prev {
	background: transparent url(../img/scroll-left.gif) no-repeat center left;
    position:absolute;
    width:13px;
    height:100%;
    left:5px;
    padding: 0 150px 0 0;
    z-index:1002;
    opacity: 0.2;
    filter: alpha(opacity=20); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=20)"; /*IE8*/
}

.close {
    position:absolute;
    top:-37px;
    right:-25px;
    font-size:35px;
    z-index:1002;
    color:rgb(100,100,100);
    opacity: 0.3;
    filter: alpha(opacity=30); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=30)"; /*IE8*/
}

.next {
    background: transparent url(../img/scroll-right.gif) no-repeat center right;
    position:absolute;
    width:13px;
    height:100%;
    right:5px;
    padding:0 0 0 150px;
    z-index:1002;
    opacity: 0.2;
    filter: alpha(opacity=20); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=20)"; /*IE8*/
}

.prev:hover, .next:hover, .close:hover{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

.overlay > div.img_title{
    float:none;
    clear:both;
	position: relative;
	color: rgba(27,54,81,0.8);
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	margin: 0px auto 0px auto;
/*	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);*/
	-webkit-transition: opacity 0.3s linear 1.3s;
	-moz-transition: opacity 0.3s linear 1.3s;
	-o-transition: opacity 0.3s linear 1.3s;
	-ms-transition: opacity 0.3s linear 1.3s;
	transition: opacity 0.3s linear 1.3s;
}

.overlay div.img_title p{
	padding: 0px 10px;
	font-size: 14px;
/*	display:block;*/	
	text-align: center;
	margin:0;
}

.overlay div.img_title p span{
	border-right: 1px solid rgba(27,54,81,0.4);
	padding:0 10px 0 10px;
	margin:0 10px 0 0;   
	text-align: center;
}

.overlay img{
	/* height: 100%; For Opera max-height does not seem to work */
top:0;
display: block;
z-index:100;
	max-height: 100%;
        max-width:100%;
	position: relative;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/

	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
}

.overlay:target {
	width: auto;
	height: auto;
  	bottom: 0px;
	right: 0px;
	padding: 100px 50px 50px 00px;
	text-align:center;
}
.overlay:target img,div.img_title {
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
      -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

/* 
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens 
	http://bricss.net/post/11230266445/css-hack-to-target-opera 
*/
x:-o-prefocus, .lb-overlay img {
    height: 100%;
}

/* menu start */

#menu {
/*  border:1px solid blue;*/
  padding:4px 0 0 0;
  position:relative;
  float:left;
}

@media (min-width: 800px){
#menu {
  left:60px;
/*  clear:left;*/
}
}

@media (max-width: 799px){
#menu {
  left:0px;
  clear:left;
  min-width: 100%;
}
}

ul#nav {
/*  border:1px dotted green;*/
  display: inline-block;
  /* if you need ie6/7 support */
  *display: inline;
  padding: 0px 0 0 0;
}

@media (min-width: 959px){
ul#nav {
  float:right;
}
}

@media (max-width: 958px){
ul#nav {
  float:left;
}
}

ul#nav li {
  display: inline;
}

ul#nav li a {
/*  border:1px dotted darkseagreen;*/
  float: left;
  font: bold;
  line-height: 20px;
  color: rgb(180,180,180);
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(120,120,120,0.3);
}

@media (min-width: 959px){
ul#nav li a {
  font-size:16px;
}

ul#nav li ul li a {
  font-size:16px;
}
}

@media (max-width: 958px){
ul#nav li a {
  font-size:16px;
}

ul#nav li ul li a {
  font-size:14px;
}
}

@media (min-width: 959px){
ul#nav li a {
  padding: 0 0 0 40px;
}
}

@media (max-width: 958px){
ul#nav li a {
  padding: 0 0 0 20px;
}
}

@media (max-width: 799px){
ul#nav li a {
  padding: 0 20px 0 0;
}
}

/* APPLIES THE ACTIVE STATE */
ul#nav .current a, ul#nav li:hover > a  {
  color: rgb(120,120,120);
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(120,120,120,0.3);
}

/* THE SUBMENU LIST HIDDEN BY DEFAULT */
ul#nav  ul {
  display: none;
}

/* WHEN THE FIRST LEVEL MENU ITEM IS HOVERED, THE CHILD MENU APPEARS */
@media (min-width: 959px){
ul#nav li:hover > ul {
/*  border:1px solid turquoise;*/
  position: absolute;
  display: block;
  width:750px;
  height: 40px;
  left:-240px;
  margin: 21px 0 0 0px;
  padding:0 0 0 0;
  background-color:white;
}
}

@media (min-width: 959px){
ul#nav li:hover > ul li a {
/*  border:1px dashed green;*/
  float: left;
  font: bold 1.1em;
  line-height: 20px;
  color: rgb(180,180,180);
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(120,120,120,0.3);
  margin: 20px 0 0 0;
  padding: 0 30px 0 0;
  background-color:white;
  position:relative;
  z-index:99;
}

ul#nav li:hover > ul li a:hover {
  color: rgb(120,120,120);
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(120,120,120,0.3);
}
}
/* menu end */