/* Farben */
body, textarea, input,
a:link, a:visited {
	color: rgb(60,60,60);
}

a:hover, a:link.aktiv, a:visited.aktiv {
	color: rgb(100,100,100);
}

#mainnav a:link,
#mainnav a:visited,
#secnav a:link,
#secnav a:visited {
	color: rgb(40,40,40);
}

#logocontent {
	color: #999;
}

#impressum a,
#impressum a:visited {
	color: #aaa;
}

#contentarea {
	background-color: rgb(200,200,200);
}

#matrix.projekte #cell1,
#cell1, #cell2, #cell3,
#cell4, #cell5, #cell6,
#cell7, #cell8, #cell9,
#maincontent {
	background-color: #E0E0E0;
	border-color: rgb(180,180,180);
	border: 0px solid #000 !important;
}


/* Allgemeines */

html {
	overflow: scroll;
	overflow-x: auto;
}

body,html {
	margin: 0;
	padding: 0;
}

body {
	margin-bottom: 100px;
}

body, textarea, input {
	font-size: 13px;
	font-family: Arial, sans-serif;
	line-height: 130%;
}

#maincontent ul {
	list-style-image: url('http://www.hug-geoconsult.de/images/list.gif');
}

h1, h2 {
	font-size: 13px;
	font-weight: normal;
	padding: 0;
	text-transform: uppercase;
}

h1 {
	margin: 0 0 15px 0;
}

h2 {
	margin: 15px 0 10px 0;
}

p {
	margin: 0 0 8px 0;
}

img {
	border: 0;
}

.stopfloat {
	clear: both;
}

ul, li {
	padding: 0;
	margin: 0;
}

ul {
	padding-left: 13px;
}

th, td {
	text-align: left;
	vertical-align: top;
}

th.center, td.center {
	text-align: center;
}

.contactform label {
	display: block;
}

.right { text-align: right; }

a:link, a:visited {
	text-decoration: underline;
	outline: none !important;
}

a:hover, a:link.aktiv, a:visited.aktiv {
	text-decoration: none;
}

#mainnav a:link,
#mainnav a:visited,
#secnav a:link,
#secnav a:visited {
	text-decoration: none;
}

#logocontent {
	background: url(../images/logo-drhug.gif)  no-repeat;
	height: 86px;
	position: relative;
}

a#logo {
	display: block;
	height: 86px;
	width: 350px;
	position: absolute;
}

#impressum {
	position: absolute;
	left: 350px;
	bottom: 12px;
	font-style: normal;
}

#impressum span {
	padding: 0 7px;
}
#impressum a,
#impressum a:visited {
	text-decoration: underline;
}
#impressum a:hover {
	text-decoration: none;
}

#logoarea {
	margin-bottom: 40px;
}

#mainnav,
#mainnav li,
#secnav,
#secnav li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#mainnav {
	height: 60px;
	margin-left: 265px;
}

#mainnav li {
	display: block;
	float: left;
	margin-right: 39px;
}

#mainnav a {
	display: block;
	padding-top: 20px;
}

#mainnav li a:link.aktiv,
#mainnav li a:visited.aktiv,
#mainnav li a:hover {
	color: #fff;
	background: url(../images/arrow-down.gif) top center no-repeat;
}

#mainnav li a:hover,
#secnav li a:hover {
	color: rgb(32,69,111);
}

#secnav {
	float: left;
	width: 265px;
	min-height: 200px;
}

#secnav li a {
	display: block;
	padding: 2px 0 3px 19px;
	margin-bottom: 17px;
}

#secnav li a:link.aktiv,
#secnav li a:visited.aktiv {
	color: #fff;
}

#secnav li a:link.aktiv,
#secnav li a:visited.aktiv,
#secnav li a:hover {
	background: url(../images/arrow-right.gif) center left no-repeat;
}

#contentarea,
#logoarea {
	margin-left: auto;
	margin-right: auto;
	max-width: 1300px;
}

#logoarea {
	padding-left: 70px;
}

#container {
	background: rgb(200,200,200) url(../images/whitebackground.png) top left repeat-y;
	padding-left: 60px;
}

#contentarea {
	min-height: 548px;
	min-width: 910px;
	position: relative;
	padding-bottom: 35px;
}

/* Only visible for IE6 */
#contentfix {
	width: 655px;
	float: left;
}

#contentfix #maincontent,
#contentfix #cells {
	margin-left: 0;
}

#maincontent {
	padding: 20px;
	width: 610px;
	min-height: 285px;
	line-height: 17px;
	float: left;
}

#maincontent.nocells {
	min-height: 448px;
}

#maincontent #cell7 {
	clear: both;
}

#cells {
	width: 652px;
	margin-left: 265px;
	border: 1px solid rgb(180,180,180);
	border-right-width: 0;
	border-top-width: 0;
}

#imgcontent {
	margin-left: 10px;
	width: 300px;
	float: left;
}

#imgcontent img,
#imgcontent p {
	font-style: italic;
	width: 300px;
}

#imgcontent img {
	border: 1px solid #fff;
}

#imgcontent p {
	margin-top: 7px;
}

#matrix {
	border: 1px solid rgb(180,180,180);
	border-right-width: 0;
	position: absolute;
	left: 265px;
	top: 60px;
	height: 486px;
	width: 648px;
}

#matrix.projekte #cell1,
#cell1, #cell2, #cell3,
#cell4, #cell5, #cell6,
#cell7, #cell8, #cell9 {
	overflow: hidden;
	height: 162px;
	width: 216px;
	position: relative;
	float: left;
	padding: 0;
}

#cell3,
#cell6,
#cell9 {
	margin-right: 0;
}

#cell1 {
	width: 392px;
	padding: 20px;
	height: 284px;
}

#cell2,
#cell4,
#cell5 {
	display: none;
}

#cell3,
#cell5,
#cell7 {
	background: rgb(185,185,185);
	background: rgb(32,69,111);
}

#cell1 h1 {
	line-height: 130%;
	margin-bottom: 30px;
}

#matrix img {
	height: 162px;
	width: 216px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

#matrix.start #cell1 {
	height: 122px;
}

#matrix.start #cell4,
#matrix.start #cell5 {
	display: block;
}

#matrix.unternehmen #cell1 {
	height: 448px;
}

#matrix.unternehmen #cell7,
#matrix.unternehmen #cell8 {
	display: none;
}

body.javascript #matrix.unternehmen #cell1 {
	height: 284px;
}

body.javascript #matrix.unternehmen #cell7,
body.javascript #matrix.unternehmen #cell8 {
	display: block;
}

#matrix.projekte #cell2,
#matrix.projekte #cell4,
#matrix.projekte #cell5 {
	display: block;
}

#matrix.projekte #cell1,
#matrix.projekte #cell2,
#matrix.projekte #cell3,
#matrix.projekte #cell4,
#matrix.projekte #cell5,
#matrix.projekte #cell6,
#matrix.projekte #cell7,
#matrix.projekte #cell8,
#matrix.projekte #cell9 {
	position: relative;
}

#matrix.projekte #cell1 img,
#matrix.projekte #cell2 img,
#matrix.projekte #cell3 img,
#matrix.projekte #cell4 img,
#matrix.projekte #cell5 img,
#matrix.projekte #cell6 img,
#matrix.projekte #cell7 img,
#matrix.projekte #cell8 img,
#matrix.projekte #cell9 img {
	position: absolute;
	left: 0;
	top: 0;
}

#matrix.projekte a {
	text-decoration: none;
}

#matrix.projekte a:hover .overlay,
#matrix.projekte a:hover .overlaycontent,
body.javascript #matrix.projekte .overlay,
body.javascript #matrix.projekte .overlaycontent {
	display: block;
}

#matrix.projekte .overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #000;
	color: #999;
	height: 100%;
	width: 100%;
	opacity: 0.5;
	-moz-opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
	filter:alpha(opacity=50);
}

#matrix.projekte .overlaycontent {
	padding: 10px;
	position: absolute;
	display: none;
}

#matrix.projekte .overlaytitle,
#matrix.projekte .overlaytitle a {
	font-weight: bold;
	color: #ccc;
	margin-bottom: 7px;
}

#matrix.projekte .overlaytext,
#matrix.projekte .overlaytext a {
	color: #ccc;
}

/* Unternehmens seite */
.toggler a {
	display: block;
	text-decoration: none ! important;
	font-weight: normal;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.toggler {
	margin-bottom: 15px;
	overflow: hidden;
}

/* Team seite */
.person,
.projekt {
	margin-top: 20px;
	min-height: 150px;
}

.person-first,
.projekt-first {
	margin-top: 0;
}

.projekt .bild,
.person .bild {
	float: left;
	margin: 0 15px 0 0;
}

.person .bild {
	width: 225px;
}

.projekt .bild {
	width: 216px;
}

.person .bild img,
.projekt .bild img {
	width: 100%;
}

.projekt .info,
.person .info {
	float: left;
	width: 355px;
}

.projekt .name,
.person .name {
	display: block;
	font-weight: bold;
	text-decoration: none;
}

.projekt p,
.person p {
	margin: 10px 0;
}

.projekt h1,
.person h1 {
	font-weight: bold;
	font-size: 16px;
	margin: 13px 0;
	text-transform: none;
}

/* Projektseite */
a.imgSelect, a.imgSelect:hover {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 16px;
	font-size: 16px;
	float: left;
	background-color: transparent;
	border: 1px solid rgb(80,80,80);
	color: rgb(80,80,80);
	margin: 13px 10px 25px 0;
	text-decoration: none;
	padding-top: 12px;
	height: 28px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

a.imgSelect img {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

#activeImg, #activeImg:hover, a.imgSelect:hover {
	background-color: #fff;
	color: rgb(80,80,80);
}

#currentImageContainer {
	width: 100%;
	height: 457px;
	overflow: hidden;
	background: #efefef;
}

#currentImage {
	display: block;
	margin: 0 auto;
}

/* Kontaktformular */
table.kontakt td {
	padding-right: 10px;
	padding-bottom: 5px;
}

.contactform input, .contactform textarea {
	width: 604px;
	margin-bottom: 5px;
	border: 1px solid rgb(80,80,80);
	background: #eee;
	padding: 2px 2px 2px 4px;
}

input.button {
	border-color: #ddd #505050 #505050 #ddd;
	outline: none !important;
}

input.button:active {
	padding: 3px 1px 1px 5px;
	border-color: #505050 #ddd #ddd #505050;
}

p.error, label.error, .error .label {
	color: red;
}

input.error, textarea.error {
	border: 1px solid red;
}

.feedback .item td {
	padding-top: 10px;
}

.feedback .subitem .label {
	padding-left: 30px;
}

/*
 * Weißer Rand rechts
#maincontent {
	margin-right: 30px;
}
#container {
	padding-right: 70px;
	background: transparent;
}
*/
