/* (c) 2005 StudentInnenschaft der Universitaet Bern */

@import url("common.css");

body {
  margin: 0 10px 10px;
  font-size: 0.8em;
  background: #eee url('common/img/back.png') repeat-x;
}

#header {
  width: 760px;
  margin: 0 auto;
  height: 64px;
  font-family: 'Verdana', sans-serif;
  font-size: 80%;
  font-weight: bold;
  background: transparent url('common/img/topbg.png') repeat-x;
}

#logo {
  display: none;
}

#header ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#header li {
  float: left;
}

#header li a, #functions a {
  display: block;
  text-align: center;
  border-right: 1px solid #aaa;
  padding: 15px 10px 3px;
  text-decoration: none;
  color: #777;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #header li a, html[xmlns] #functions a { border-right-style: dotted; }

#functions a {
  float: left;
}

#header li a:hover, #functions a:hover {
  border-top: 5px solid #bbb;
  padding-top: 10px;
}

#header li#currentnav a {
  color: #48565C;
  text-decoration: underline;
}

#header .first {
  border-left: 1px solid #aaa;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #header .first { border-left-style: dotted; }

#header form {
  float: left;
}

#functions {
  float: right;
}

#header input {
  width: 80px;
  border: 1px solid #bbb;
  font-size: 90%;
}

#header fieldset {
  padding: 0;
  margin: 0;
  border: none;
}

#header label {
  display: block;
  text-align: center;
  border-top: 5px solid #eee;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  padding: 10px 10px 3px;
  text-decoration: none;
  font-family: 'Verdana';
  color: #777;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #header label { border-left-style: dotted; border-right-style: dotted; }

#header label:hover {
  border-top: 5px solid #bbb;
}

#main {
  border: 2px solid #ccc;
  width: 756px;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 20px;
  background: #fff url('common/img/fauxc.png') repeat-y;
}

#topimg {
  display: block;
}

.inline {
  vertical-align: middle;
}

#left {
  float: left;
  width: 148px;
  padding-left: 2px;
}

#right {
  position: relative;
  margin-left: 152px;
  margin-right: 2px;
}

h1 {
  margin: 0;
  width: 140px;
  background: url('common/img/titlebg.png') repeat-x;
  padding: 8px 5px 5px;
  color: #fff;
}

h1 a {
  color: #fff;
  text-decoration: none;
}

h2 {
  margin: 0;
  background: #eee;
  border-top: 3px solid #ccc;
  padding: 5px;
  color: #555;
}

#content {
  position: relative;
  float: left;
  width: 432px;
  padding: 5px 10px;
}

#breadcrumb {
  font-size: 90%;
  color: #777;
  margin: 0.5em 0 2em;
}

#sidebar {
  float: right;
  width: 150px;
}

#footer {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  width: 754px;
  padding: 3px;
  margin: 8px auto 70px;
  color: #555;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #footer { border-top-style: dotted; border-bottom-style: dotted; }

#subnav {
  margin: 10px 0;
  padding: 0;
  border-top: 1px solid #aaa;
  list-style-type: none;
  list-style-image: none;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #subnav { border-top-style: dotted; }

#subnav ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  list-style-image: none;
}

#subnav li {
  border-bottom: 1px solid #aaa;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #subnav li { border-bottom-style: dotted; }

#subnav ul li {
  border-bottom: 0;
  border-top: 1px solid #aaa;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #subnav ul li { border-top-style: dotted; }

#subnav a {
  display: block;
  padding: 3px 3px 3px 20px;
  text-decoration: none;
  color: #555;
  background: url('common/img/sn1bg.png');
  width: 127px;
}

#subnav ul li a {
  padding-left: 30px;
  background: url('common/img/sn2bg.png');
  width: 117px;
}

#subnav a:hover {
  background-position: -150px 0;
}

#sidebar {
  color: #555;
  border-bottom: 1px solid #bbb;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #sidebar { border-bottom-style: dotted; }

#sidebar h3 {
  font-size: 100%;
  border-bottom: 1px solid #bbb;
  border-top: 1px solid #bbb;
  padding: 2px 5px;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] #sidebar h3 { border-bottom-style: dotted; border-top-style: dotted; }

#sidebar .teaser {
  padding: 0 3px;
}

#sidebar img {
  display: block;
  margin: 0 auto 1em;
}

#sidebar address {
  padding: 0;
}

#sidebar ul.links {
  list-style: none;
  list-style-image: none;
  margin: 0 2px;
  padding: 0;
}

#sidebar ul.links li {
  margin-bottom: 0.5em;
  clear: left;
}

#sidebar ul.links li img {
  display: block;
  float: left;
}

#sidebar ul.links li span, #sidebar ul.links li p {
  display: block;
  margin-left: 26px;
}

.print {
  display: none;
}

dl.news  {
  border-bottom: 1px solid #aaa;
  margin: 0;
  color: #555;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] dl.news { border-bottom-style: dotted; }

dl.news dt, dl.news dd {
  border-top: 1px solid #aaa;
  margin: 0;
}
/* HACK: IE does not display 1px dotted lines correctly */
html[xmlns] dl.news dt, dl.news dd { border-top-style: dotted; }

dl.news dt {
  margin-top: 1em;
  padding: 2px 3px;
}

dl.news dd {
  padding: 0.5em 3px 0;
}


