* { margin: 0; padding: 0; 
}

html { overflow-y: scroll; 
}

body { font: 16px Calibri, Verdana, Georgia, Helvetica; background: #333; color: #333; 
}

.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; 
}

.group { display: inline-block; clear: both; 
}

/* start commented backslash hack \*/ 
* html .group { height: 1%; 
} 

.group { display: block; 
} /* close commented backslash hack */

article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; 
}

a:focus { outline: 0; 
}

#page-wrap { 
    width: 960px; margin: 40px auto 5px; background: #91c7ff; 
    padding: 8px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
	background: -moz-linear-gradient(top,  #fff,  #eee);
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
}

#container { /* Dieser Container setzt Bilder darin nebeneinander und zentriert diese */
  width: auto;
  margin: 0 auto;
  text-align: center
}

.linie {
border :none;
/* border-top: 1px solid #0090E0; */
background-color:#000092;
height: 2px;
width: 960px;
}
.links {
text-align: left;
}

.rechts {
text-align: right;
}

table, th, td {
  margin-left:auto;
  margin-right:auto;
  font-family: Calibri, Verdana, Georgia, Helvetica;
  font-size: 20px;
  text-align:center;
  vertical-align: middle;
  color:black;
  
}

.partner td {
width: 300px;
height: 100px;
/* border: 3px solid #000092; */
padding: 2px;

}

.referenz td {
width: 250px;
height: 380px;
border: 3px solid #000092;
padding: 0px;
font-size: 18px;
color:#333;
background-color: #ffffff;
}

.reftext td {
width: 250px;
height: 50px;
padding: 0px;
font-size: 14px;
color:#333;
}

#main-content { padding: 14px;
}

h1 { font: bold 32px Calibri, Verdana, Georgia, Helvetica; letter-spacing: -1px; padding: 14px; color: #333; text-shadow: 1px 1px 1px white;
}

p { margin: 0 0 15px 0;
}

/* Hier fängt die Navigationsleiste an*/
.wrapper {
    width: 930px; /* Änderung auf "auto" bewirkt das die Buttons sich anpassen und nach unten versetzen */
    height: 20px; /* Höhe der gesammten Navigationsleiste bis zum rechten Seitenrand */
	background : #464646; /* Hintergrundfarbe der Leiste */
    background : -webkit-gradient(linear, left top, left bottom, from(rgb(168,168,168)), to(rgb(69,69,69)));
    background : -moz-linear-gradient(top, rgb(168,168,168), rgb(69,69,69));
    border-top: 2px solid #000092; /* Randlinienstärke oben und Farbe dazu */
	border-bottom: 2px solid #000092; /* Randlinienstärke unten und Farbe dazu */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4px; /* Reservierter Rand nach unten zum nächsten HTML Objekt */
	margin-top: 0px; /* Reservierter Rand nach oben zum nächsten HTML Objekt */
}

/* Buttons abstände */
ul {
    margin: 0;
    padding: 0;
}
/* Anfangs und Endlinien des Menüs */ 
ul.menu {
    height: 20px;
    border-left: 1px solid rgba(0,0,0,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
    float:left;
}
/* Das hier ist der Leucht-effekt der Buttons bei Mausover (liegt eigentlich nur hinter den Buttons) */ 
ul.menu li {
    list-style: none;
    float:left;
    height: 20px;
    text-align: center;
	background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );
    background: -moz-radial-gradient(center 30px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);
    }

/* Hier wird der Navigations-Button formatiert */	
ul li a {
    display: block;
    padding: 0 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
	font-size: 14px;
    font-family: Calibri, Verdana, Georgia, Helvetica;
    text-align: center;
	color: white;
	text-decoration: none; /* Text (Link) wird nicht unterstrichen */
	line-height: 20px;
    background : -webkit-gradient(linear, left top, left bottom, from(rgb(168,168,168)), to(rgb(69,69,69)));
    background : -moz-linear-gradient(top, rgb(168,168,168), rgb(69,69,69));
    -webkit-transition-property: background;
    -webkit-transition-duration: 700ms;
    -moz-transition-property: background;
    -moz-transition-duration: 700ms;
    }

/* Transparenz der Buttons bei "Mausover" */	
ul li a:hover {
    background: transparent none; 
}

/* Aktiver Button */ 
ul li.active a{
    color: yellow;
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );
    background: -moz-radial-gradient(center 80px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);
}
/* Hier hört die Navigationsleiste auf*/
 
footer { color: #999; margin: 0 auto; width: 937px; 
}