@charset "utf-8";

@import url("reset.css");

/* Layout */

body {
  background: #DCDCDC;
  font-family: Arial, sans-serif;
  font-size: 11.3px;
  color: #636363;
}

.frame {
  width: 800px;
  margin: auto;
}

.header {
  background: #DCDCDC no-repeat;
  height: 325px;
  position: relative;
}

#pekiplogo_header {
  position:absolute;
  right: 17px;
  top: 27px;
}

#site_headline {
  font-size: 170%;
  font-weight: bold;
  line-height: 150px;
  padding-left: 1em;
  color: black;
}

.frame {
  background: white;
}

.nav {
  width: 177px;
  float: left;
  position: relative;
  padding-left: 23px;
  padding-top: 13px;
  padding-bottom: 30px;
}

.content {
  width: 537px;
  float: right;
  border-left: 3px solid #D7D7D7;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 25px;
  padding-bottom: 30px;
}

.footer {
	text-align: center;
	padding: 1em;
}

.clearer {
  clear:both;
}

/* Header Languages */
.languages {
  position: absolute;
  padding-left: 23px;
  bottom: 9px;
  font-size: 110%;
}

.languages .active {
  color: black;
}

/* Basic Links */

a {
  text-decoration: underline;
  color: #636363;
}

a:hover {
  color: black;
}

/* Navigation */

.nav a, .languages a {
  text-decoration: none;
}

.nav ul ul{  /* TODO: Aufräumen hier */
  margin-left: 1em;
  margin-bottom: 2em;
}

.nav .current {
  font-weight: bold;
}

.nav .level_1 {
  margin-left: .75em;  
}

.nav li.level_0 {
  margin-top: 1em;
}

.nav li.level_0:first-child {
  margin-top: 0;
}

#loginbox {
  border-bottom: 3px solid silver;
  margin-bottom: 2em;
  padding-bottom: 1em;
  margin-left: -23px;
  padding-left: 23px;
  background: #EEEEEE;
  margin-top: -13px;
  padding-top: 13px;
}

/* Content styles */

h2 {
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 150%;
}

h3 {
  font-size: 130%;
  font-weight: bold;
  margin-bottom: 1em;
  margin-top: 1.5em;
}

h4 {
  font-weight: bold;
  margin-bottom: 1.5em;
}

.content > h3, .with_margin > h3  {
  border-top: solid #FFF0C2 2px;
  width: 540px;
  padding-left: .5em;
  margin-left: -.5em;
  padding-top: 2em;
  clear: right;  
}

.content > h3.plain {
  border: none;
  width: auto;
  padding: 0;
  margin-left: 0;
  clear: none;
}

p, form, table {
  margin-bottom: 1.5em;
}

.content ul {
  list-style-type: disc;
  margin-left: 1.2em;
}

.content li {
  margin-bottom: 1em;
}

blockquote {
  font-style: italic;
  margin-left: 2em;
}

/* Margins */

.with_margin {
  padding-right: 190px;
}

.content.with_margin {
  padding-right: 220px;
  width: 347px;
}

.margin {
  float: right;
  font-weight: bold;
  width: 160px;
  margin-right: -190px;
}

/* Forms */

form {
  line-height: 3em;
}

label {
  width: 90px;
  display: block;
  float: left;
  font-size: 11.5px;
}

input[type=text], input[type=password] {
  width: 149px;
}

textarea {
  width: 245px;
  height: 150px;
}

fieldset {
  line-height: 2em;
}

.content fieldset ul {
  list-style-type: none;
}

.content fieldset>ul {
  margin-left: 0;
}


legend { 
  
  /* Wie H3 */
  font-size: 130%;
  font-weight: bold;
  margin-bottom: 1em;
  margin-top: 1.5em;
  
}

/* Tables */

table .even {
  background: #D7D7D7;
}

table td, table th {
	vertical-align: top;
}

/* Gruppen-Suche */

#search_results thead {
  border-top: 2px solid #ffd502;
  border-bottom: 2px solid #ffd502;
  background: transparent;
  margin-bottom: .5em;
}

#search_results thead th {
  padding: .25em 2px;
}

#search_results tbody tr {
  border-bottom: 1px solid #636363;
  vertical-align: center;
  height: 2.1em;
}

#search_results tbody td {
  padding-left: 2px;
	line-height: 2em;
}

#search_results tbody img {
  vertical-align: middle;
	margin-top: -2px;
}

.search_result {
  cursor: pointer;
}
.search_result:hover {
  background: #EEEEEE;
}
.search_result.highlight {
  background: #D7D7D7;
}

/* Kursbeschreibung */

.kursbeschreibung {
  border-top: 2px solid #ffd502;
  border-bottom: 2px solid #ffd502;
}

.kursbeschreibung thead th {
  padding: .6em 0;
  margin: 0 2px;
  border-bottom: 1px solid black;
}

.kursbeschreibung tbody td, .kursbeschreibung tbody th  {
  vertical-align: top;
  line-height: 150%;
}

.kursbeschreibung tbody th {
  padding-left: 2px;
  padding-right: 1em;
  white-space: nowrap;  
}

.kursbeschreibung tbody .info {
  padding-left: 4em;
  padding-right: 1em;
}



/* Flash */

#flashes {
  border: 2px solid gray;
  list-style-type:none;
  margin-left: 0;
  margin-bottom: 2em;
}

#flashes .flash {
  margin: 0;
  padding: .5em;
}

#flashes .flash.notice {
  background: #EEEEEE;
}

#flashes .flash.success {
  background-color: #ACE4AC
}

#flashes .flash.error {
  background-color: #D89A98; 
}

.formError {
  background-color: #D89A98;  
  padding: .5em;
}

/* AJAX Dropdown */

.ajax_dropdown_div {
	background: #CCC;
	padding: 1px;
}

.ajax_dropdown_div table {
	width: auto;
	cellpadding: 0;
	cellspacing: 0;
	margin: 0px;
}

.ajax_dropdown_div table tr.selected {
	background: #EEE;
}





/* Line */
.line {
	border-top: 3px solid #AAA;
	margin: 10px auto 10px auto;
}






/* Screenshot stuff*/

/*.header {
  background: url(/images/header_01.jpg) #DCDCDC no-repeat;
}

#loginbox {
  display: none;
}
*/