* {
	border:0;
	margin:0;
	padding:0;
}
body {
	background-color:#FFF8F2;
	font-family:arial, sans-serif;
	font-size:14px;
	color:#666;
}
table {
  font-size:14px;
}

/*page stucture*/
#header {
	border:1px solid grey;
	height:100px;
	background:url('../images/header1bkg.png') repeat-x;
	margin:0 auto;
	width:920px;
	margin-top:20px;
}
#middlehead {
	width:900px;
	margin:0 auto;
}
#logout {
	position:absolute;
	margin-top:5px;
	margin-left:795px;
	max-width:100px;
	width:100px;
	text-align:right;
  /*display:none;*/
}
#pagebody {
	border-left:1px solid grey;
	border-right:1px solid grey;
	margin:0 auto;
	padding:5px;
	width:890px;
}
#footer {
	border:1px solid grey;
	padding:5px;
	margin:0 auto;
	width:890px;
	text-align:center;
	font-size:12px;
	background-color:#0A46C2;
	color:#eef;
}
#headbox {
	border:1px solid grey;
	color:#333;
	margin:10px;
	padding:5px;
}

/*general style*/
h1 {
	font-size:25px;
	color:#449;
}
h1.old {
	line-height:120%;
	margin-top:30px;
	margin-bottom:10px;
}
h2 {
	font-size:18px;
	/*margin-top:25px;*/
	margin-bottom:10px;
	color:#449;
}
h2.simple {
	margin:0 0 5px 0;
	font-size:16px;
	color:#449;
}
a {
	font-weight:bold;
	color:inherit;
	text-decoration:inherit;
	cursor:pointer;
}
a:hover {
	color:#00f;
}
a.inBlueLink {
	color:#eef;
}
a.inBlueLink:hover{
	color:#e70;
}
a.button {
	font-weight:normal;
	background-color:#ddd;
	border:1px solid grey;
	padding:2px;
	font-size:14px;
	color:#000;
}
a.button:hover {
	background-color:#eee;
}
table.table {
	border-collapse:collapse;
	/*border-bottom:1px solid grey;*/
	border:1px solid grey;
	table-layout:fixed;
	margin-top:20px;
}
table.table th {
	font-weight:bold;
	border:1px solid grey;
	/*border-top:1px solid grey;*/
	background:#0A46C2;/*url('../images/th50.png') repeat-x;*/
	color:#eef;
	height:30px;
}
td {
	padding:2px;
}
table.table td {
	color:#333;
	border:1px solid grey;
	/*border-top:1px solid grey;*/
	text-align:left;
	background-color:#fff;
	padding:5px;
}
input, textarea {
	border:1px solid grey;
	width:100%;
}
.error {
	color:#f00;
	font-weight:bold;
}
h1.error h2.error {
	font-weight:normal;
}
.success {
	color:#0c0;
	font-weight:bold;
}
h1.success h2.success {
	font-weight:normal;
}
ul {
	list-style-type:none;
	margin-left:10px;
}

/*home*/
div.indexCatDiv {
	border-bottom:1px solid grey;
	margin-top:10px;
	padding:10px;
	height:70px;
	cursor:pointer;
}
div.indexCatDiv:hover {
	background-color:#eef;
}
div.indexCatTextDiv {
	float:right;
	width:345px;
}
div.indexNewsDiv {
	height:431px;
	overflow:auto;
}
div.indexNewsEntryDiv {
	min-height:90px;
	padding:5px;
	border-bottom:1px dotted grey;
}

/*navi*/
#smallNaviDiv {
	display:none;
	/*border-right:1px solid grey;*/
}
div.naviMainDiv {
	margin-top:10px;
	margin-right:10px;
	padding:5px;
	height:20px;
	border-bottom:1px solid grey;
	font-size:16px;
	font-weight:bold;
	color:#449;
	cursor:pointer;
}
div.naviMainDiv:hover {
	background-color:#eef;
}
div.naviMainDiv img {
	float:left;
	margin-right:5px;
}
div.naviHomeDiv {
	margin-left:-7px;
	margin-top:-8px;
	margin-right:-1px;
	padding:5px;
	height:20px;
	border-right:1px solid grey;
	border-bottom:1px solid grey;
	font-size:16px;
	font-weight:bold;
	background-color:#0A46C2;
	color:#eef;
	cursor:pointer;
}
div.naviHomeDiv:hover {
	color:#e70;
}

/*bilder*/
div.picsPreDiv {
	height:150px;
	border-bottom:1px grey solid;
	cursor:pointer;
}
div.picsPreDiv:hover {
	background-color:#eef;
}
img.picsPreImg {
	margin-top:15px;
	margin-right:15px;
	max-height:120px;
	float:right;
}
img.picsImg {
	margin:0 auto;
	display:block;
}

/*intern*/
div.internNewsDiv {
  width:650px;
  max-height:250px;
  overflow:auto;
  margin:0 auto;
  border:1px solid grey;
  padding:5px;
}
div.internNewsEntryDiv {
  padding:5px;
}
div.internNewsAttDiv {
  border:1px dotted grey;
  margin-top:5px;
  padding:2px;
}
div.internTermDiv {
  width:650px;
  padding:0 5px;
  margin:0 auto;
  border:1px solid grey;
  border-bottom:none;
  cursor:pointer;
}

/*termin page*/
table.termtab {
  width:100%;
}
table.termtab th {
  /*width:101px;*/
  height:50px;
}
table.termtab td {
  height:70px;
  font-size:14px;
  padding:2px;
}
.info {
  margin:2px -2px -2px;
  padding:2px;
  text-align:right;
  font-weight:bold;
  cursor:pointer;
}
.infobox {
  display:none;
  position:absolute;
  margin-left:-3px;
  border:1px solid grey;
  font-size:12px;
  max-height:100px;
  overflow:auto;
  padding:1px;
  width:250px;
  cursor:pointer;
}
.termlink {
  /*color:#00f;*/
  text-align:right;
  width:auto;
}

/*login page*/
#logdiv {
	border:1px solid grey;
	margin:10px auto;
	width:375px;
	height:250px;
	padding:20px;
}
#logform {
	margin:20px;
}
#logform input {
	margin:10px 0;
}

/*register page*/
#regdiv {
	border:1px solid grey;
	margin:10px auto;
	width:450px;
	height:350px;
	padding:20px;
}
#regform {
	margin:20px;
}
#regform input {
	margin: 10px;
}
