/**********************************
  		Fonts
 **********************************/

body {
	font-size: smaller;
}

body div{
	font-size: 95%;	
}

.main h1 {
	color: #EB8F00;
	font-size: 26px;
	margin-top: 0.5em;
}

.main h2 {
	font-size: 20px;
}

.main h3 {
	font-size: 16px;
}

.main h4 {
	font-size: 14px;
	margin: 2px 0px 2px 0px;;
}

#favourites h2 {
	font-size: 20px;;
	margin-top: 5px;
}

#favourites h3 {
	font-size: 16px;
	margin-top: 2px;
	margin-bottom: 2px;
}

#favourites p {
	font-size: smaller;
	margin-top: 5px;
	margin-bottom: 5px;
}

.toggleDetails {
	text-decoration: underline;
	cursor: pointer;
}

/**********************************
			Global Structure
 **********************************/

body {
	height:100%;
	min-height:100%;
	max-height:100%;
	margin: 0;
	margin-right: 25px;
	padding: 0;
	font-family: sans-serif;
}

#header {
	margin: 0;
	padding: 0;
	height: 50px;
	text-align: left;
}

#footer {
	margin: 0 0 0 5px;
	padding: 0.5em 1em;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #EB8F00;
	color: #EB8F00;
	font-weight: bold;
}

#footer a:hover, #footer a:visited, #footer a:active {
	color: #EB8F00;
}
table.main{
	height:100%;
}
table.main tr {
	vertical-align: top;
}

#contentarea {
	overflow-x:visible;
	overflow-y:auto;
	height:800px;
}

table.main td.left, table.main td.right {
	width: 200px;
	height:100%;
}

table.main td.left {
	padding-left: 5px;
}

table.main td.middle {
	min-width: 700px;
	width: 800px;
}

/**********************************
  		Navigation
 **********************************/
#nav_main {
	float: left;
	margin: 0px 5px 0px auto;
	padding: 5px 0 5px 5px;
	height: 37px;
	width: 100%;
}

#nav_main ul {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: transparent url(../images/navigation/bgn1_1.png) repeat-x left top;
	background-repeat: repeat-x;
	background-position: left bottom;
	float: left;
	line-height: 16px;
	list-style: none;
	width: 100%;
	margin: 0px;
	padding: 0px;
	height: 37px;
	text-align: center;
}

#nav_main li {
	display: inline;
	padding: 0px;
}

#nav_main li a {
	min-width: 60px;
	color: #FFF;
	float: left;
	font-size: 110%;
	border-left: thin solid white;
	padding: 10px; /* left 10 px = breite von hnav_n_left */
	margin: 0px 0px 0px 0px;
	text-decoration: none;
	height: 27px;
	background: transparent url(../images/navigation/bgn1_1.png) repeat-x left top;
	cursor: pointer;
}

#nav_main li.left_nav a {
	background: none; /*margin-left:10px;*/
	border-left: none;
}

#nav_main li.right_nav a {
	padding-right: 10px;
	border-right: thin solid white;
}

/* hoover fuer Navigation */
#nav_main ul li a:focus,
	#nav_main ul li a:hover,
	#nav_main ul li a:active {
	background: url(../images/navigation/bgn1_1_hover.png) repeat-x top left;
}

/* hoover fuer linken Button */
#nav_main li.left_nav a:focus,
	#nav_main li.left_nav a:hover,
	#nav_main li.left_nav a:active {
	background: url(../images/navigation/navi_links_hover.png) no-repeat top left;
}

/**********************************
  		Input boxes
 **********************************/
.ui-accordion-content{
	max-height:500px;
	font-size:14px;
}
.box_blue, .box_green, .box_red, .box_orange {
	margin: 0 auto;
	margin-right: 0.25em;
	margin-bottom: 0.5em;
	width: 17em; /* ems damit es wachsen kann */
}

div.box_head_blue h2, div.box_head_green h2, div.box_head_red h2, div.box_head_orange h2 {
	font-size: 110%;
}

div.box_head_blue h3, div.box_head_green h3, div.box_head_red h3, div.box_head_orange h3 {
	font-size: 100%;
}

div.box_body_blue h2, div.box_body_green h2, div.box_body_red h2, div.box_body_orange h2 {
	font-size: 110%;
	margin-top: 8px;
	margin-bottom: 2px;
}

div.box_body_blue h3, div.box_body_green h3, div.box_body_red h3, div.box_body_orange h3 {
	font-size: 100%;
	margin-top: 8px;
	margin-bottom: 2px;
}

a.white:visited, a.white:link {
	color: white;
}

.box_head_blue {
	background: url(../images/bluebox/box_head_rechts.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}

.box_head_blue h2 {
	background: url(../images/bluebox/box_head_links.gif) no-repeat top left;
	margin: 0;
	padding: 5px 30px 5px;
	color: white;
	line-height: 1em;

}

.box_body_blue, .box_body_orange, .box_body_red, .box_body_green {
	border-left: thin gray solid;
	border-right: thin gray solid;
	border-bottom: thin gray solid;
	margin: 0;
	padding: 5px 10px 10px 5px;
	-moz-border-radius: 0 0 15px 15px;
}

/* orange box */

.box_head_orange {
	background: url(../images/orangebox/box_head_rechts.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}

.box_head_orange h2 {
	background: url(../images/orangebox/box_head_links.gif) no-repeat top left;
	margin: 0;
	padding: 5px 20px 5px;
	color: white;
	line-height: 1em;

}

/* red box */
.box_head_red {
	background: url(../images/redbox/box_head_rechts.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}

.box_head_red h2 {
	background: url(../images/redbox/box_head_links.gif) no-repeat top left;
	margin: 0;
	padding: 5px 20px 5px;
	color: white;
	line-height: 1em;

}

/* green box */

.box_head_green {
	background: url(../images/greenbox/box_head_rechts.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}

.box_head_green h2 {
	background: url(../images/greenbox/box_head_links.gif) no-repeat top left;
	margin: 0;
	padding: 5px 20px 5px;
	color: white;
	line-height: 1em;

}

/**********************************
  		Input elements
 *********************
 *************/

div.t-beaneditor-row {
	clear: left;
}

div.t-beaneditor-row label {
	clear: none;
}

div.t-beaneditor {
	border: 1px solid #EB8F00;
	background-color: lightgoldenrodyellow;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;

}

p.wide {
	margin-top: 31px;
	margin-bottom: 13px;
	border-top: 3px;
}

.center {
	text-align: center;
}

.hint {
	font-style: italic;
}

hr {
	border-top: 1px gray solid;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

div.book_columns {
	padding-right: 20px;
	float: left;
}

div.inputarea {
	padding-top: 5px;
}

.label {
	float: left;
	width: 150px;
	padding-right: 2px;
	padding-top: 5px;
}

.labelWide {
	float: left;
	width: 250px;
	padding-right: 2px;
}

.error {
	color: red;
}

ul.errors {
	padding: 10px 15px 10px 15px;
	width: 800px;
	border: thin gray solid;
	-moz-border-radius: 10px;
	font-weight: bold;
	background-color: lightsalmon;
}

ul.messages {
	padding: 10px 15px 10px 15px;
	width: 800px;
	border: thin gray solid;
	-moz-border-radius: 10px;
	background-color: lightgreen;
	font-weight: bold;
}

div.input {
	float: left;
}

/* div containing navigation icons*/
div.icons {
	margin-right: 20px;
	float: left;
	text-align: center;
}

/* any div which wants to float left */
div.floatleft {
	float: left;
}

div.tabcontent {
	margin-top: 1em;
}

input, textarea {
	background-color: #f0f0f7;
}

input[disabled], textarea[disabled] {
	color: #606060;
}

input, textarea, button {
	border: 1px solid gray;
	margin-right: 5px;
}

textarea {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 2px;
}

input[type=submit] {
	margin-left: 254px;
}

input.button, button.button {
	margin-top: 5px;
}

input[type=image] {
	border: thin solid transparent;
	background-color: transparent;
}

input[type=image]:hover {
	border: thin solid;
}

div.labelspace {
	float: left;
	padding-right: 3px;
	text-align: right;
	vertical-align: middle;
	width: 250px;
	height:5px;
}

/* used to show input like a input box but uses only a div with background*/
div.textarealabel {
	margin-top: 5px;
	margin-bottom: 5px;
}

div.showinput {
	border: 1px solid gray;
	background-color: #f0f0f7;
	padding: 5px;
	margin-bottom: 3px;
}

div.showinputmedium {
	border: 1px solid gray;
	background-color: #f0f0f7;
	min-width: 500px;
	max-width: 500px;
	padding: 5px;
	margin-bottom: 3px;
}

a.imageLink {
	text-decoration: none;
}

a img {
	border: thin solid transparent;
}

a:hover img {
	border: thin solid;
}

/* used to create a space between two divs*/
div.spacer {
	width: 20px;
	float: left;
}

/* Bewertung */
.good {
	background-color: green;
	border: thin solid gray;
}

.notgood {
	background-color: white;
	border: thin solid gray;
}

input.eval_input {
	width: 20px;
}

/* all tables */
table.withBorder {
	border-collapse: collapse;
}

table.withBorder th, table.withBorder td {
	border: thin gray solid;
	padding: 0.25em 0.5em 0.5em 0.25em;

}

table.withBorder thead {
	background-color: #506e93;
	color: white;
}

/* toggle tabs */
.tab:hover {
	cursor: pointer;
}
.tabinactive, .tab, .tablast {
	border-left: thin solid gray;
	border-top: thin solid gray;
	border-bottom: thin solid gray;
	margin: 0px;

	padding: 5px 20px 5px 20px;
	float: left;
	text-align: center;
}

.tabinactive{
	color:gray;
}

.tablast {
	border-right: thin solid gray;
}

.tabactive {
	background: transparent url(../images/navigation/bgn1_1.png) repeat-x scroll left top;
}

li.languageSelect {
	background: url(../images/navigation/bgn1_1.png) repeat-x top left;
	padding-left: 20px;
	padding-right: 20px;

}

li.languageSelect a {
	display: inline;
}

ul.about {
	list-style-image: url(../images/java-duke-thumbs-up.png);
	list-style-position: outside;
}