@media all {

body {
  background-color: #D6CBA5;
  color: black;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9em;
  padding: 3em 1em 14em;
  margin: 0;
  line-height: 1.25;
}


/* Page divisions. */

#page {
  max-width: 52em;
  margin-left: auto;
  margin-right: auto;
  border-left: 2px solid black;
  border-right: 2px solid #1D3D72;
  background-color: #F2EEDC;
  background-image: url("./../menu-background.png");
  background-repeat: repeat-y;
}

#heading {
  height: 7em;
}

#footer, #heading {
  font-family: Verdana, Arial, sans-serif;
  background-image: url("./../gradient.png");
  background-repeat: repeat-y;
  background-color: #20457C;
}

#footer {
  padding: 1.4em 2em 1.4em 14em;
  color: #d6ab00;
  clear: both;
}

#menu {
  font-family: Verdana, Arial, sans-serif;
  width: 12em;
  float: left;
  background-image: url("./../shadow.png");
  background-repeat: repeat-x;
}

#content {
  padding: 2em;
  border-left: 1px solid #A88800;
  background-image: url("./../shadow.png");
  background-repeat: repeat-x;
  background-color: white;
  overflow: auto;  /* Create a new box context for floating. */
  min-height: 26em;
}

#wappen {
  position: absolute;
  padding-left: 0.9em;
  top: 1em;
  width: 10.6em;
}

#title-image {
  position: absolute;
  padding-left: 14em;
  padding-top: 2.7em;
  width: 19.6em;
}

#title-text {
  display: none;
}


/* Block elements. */

h1, h2 {
  font-family: Verdana, Arial, sans-serif;
  font-weight: normal;
}

h1 {
  border-bottom: 1px solid #A88800;
  padding-bottom: 0.1em;
}

h1 {
  font-size: 164%;
}

h2 {
  font-size: 145%;
}

h3 {
  font-size: 118%;
}

h1, h2, h3, p, ul, ol, dl, address, blockquote, table, form {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

dt {
  font-weight: bold;
  margin-top: 1em;
}

dd, blockquote, address {
  margin-left: 3em;
}

ul, ol {
  padding-left: 3em;
  margin-left: 0;
}

address {
  font-style: normal;
}

blockquote {
  font-style: italic;
}

/* Tables. */
table {
  caption-side: top;
  border-collapse: collapse;
}

caption {
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
  text-align: center;
}

tr.termin:hover {
  background-color: #F2EEDC;
}

th {
  padding-top: 1em;
  padding-bottom: 0.5em;
  text-align: left;
}

td, th {
  padding-left: 0.5em;
  padding-right: 0.5em;
  vertical-align: top;
}

td {
  border-top: 1px solid #A88800;
  border-bottom: 1px solid #A88800;
}


/* Inline elements. */

a {
  color: #A88800;
}

a:link {
  color: #A88800;
}

a:visited  {
  color: #1C468F;
}

a:hover  {
  color: #1C468F;
}

a:active  {
  color: #d6ab00;
}

code {
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 100% !important;  /* IE. */
}


/* Menu. */

map#navigation {
  width: 100%;
}

map ul {
  text-align: right;
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
  margin-top: 3.3em;
  padding-bottom: 2.8em;
}

map ul li {
  margin: 0;
}

map ul li a {
  display: block;
  padding: 0.2em 0.8em;
  white-space: nowrap;
  text-decoration: none;
}

map ul li a {
  color: #A88800;
}

map ul li a:link {
  color: #A88800;
}

map ul li a.selected {
  background-color: #A88800;
  background-image: url("./../menu-selected.png");
  background-repeat: repeat-y;
  color: white;
}

map ul li a:hover {
  background-color: #1C468F;
  background-image: url("./../menu-hover.png");
  background-repeat: repeat-y;
  color: white;
}

map ul li a:active {
  background-color: #d6ab00;
  background-image: url("./../menu-active.png");
  background-repeat: repeat-y;
  color: white;
}


/* System messages. */
.message {
  background-color: #F2EEDC;
  border: 1px solid #A88800;
  padding: 0.5em 1em;
}

.message > p:first-child {
  margin-top: 0;
}

.message > p:last-child {
  margin-bottom: 0;
}

/* Appointment icon. */
img.termin {
  vertical-align: middle;
  height: 13px;
  width: 16px;
  border: none;
}

/* Expandable details box. */
.details {
  border-left: 1px solid #A88800;
  display: none;
  padding: 0.2em 0.7em;
  margin-left: 0.5em;
}

.details > p:first-child {
  margin-top: 0.5em;
}

.details > p:last-child {
  padding-bottom: 0.5em;
}

table.semesterprogramm {
  width: 100%;
}

/* Event column in the "Semesterprogramm" table. */
td.event {
  width: 60%;
}

#content h1:first-child {
  margin-top: 0;
}

#content p:last-child {
  margin-bottom: 0;
}

#footer address {
  margin: 0;
}


/* Alignments and floats. */

.center {
  text-align: center;
}

.float-right {
  float: right;
  margin: 0 0 1em 1em;
}

.clear-right {
  clear: right;
}

.nowrap {
  white-space: nowrap;
}


/* Figures. */

.figure {
  border: 1px solid #A88800;
  padding: 0.05em; 
}

/* Figures in the gallery. */
.gallery-figure {
  text-align: center;
  margin: 2em 0 1em;
}

p.caption {
  font-weight: bold;
}

}

@media print {

* {
  background-image: none !important;
  color: black !important;
  background-color: transparent !important;
  border-color: black !important;
}

body {
  padding: 0;
}

/* Hyperlink to toggle the visibility of the details box in the "Semesterprogramm". */
.toggle-details {
  display: none;
}

#page {
  max-width: none;
  border: none;
  margin: 0;
}

#heading {
  height: auto;
  border-bottom: 2px solid;
  padding-bottom: 0.5em;
}

#menu {
  display: none;
  height: auto;
}

#content {
  float: none;
  border: none;
  margin: 2em 0;
  padding: 0;
  overflow: visible;
  min-height: 0;
}

#footer {
  border-top: 2px solid;
  padding: 0.5em 0 0 0;
}

a[href^="http"]:after, a[href^="ftp"]:after, a[href^="news"]:after {
   content: " (" attr(href) ")";
   font-size: 90%;
}

#wappen {
  display: none;
}

#title-image {
  display: none;
}

#title-text {
  display: block;
}

}