@charset "UTF-8";

/* Author: T. Meinike  08/13 … 08/17 | CSS für Studierenden-Statistik-Ausgabe mit Saxon-JS */

*
{
  font-family: Arial, Helvetica, sans-serif;
}

html,body
{
  height: 100%;
}

body
{
  display: table;
  margin: 0;
  padding: 0 0 0 0.75em;
  color: #000;
  background-color: #FFF;
}

h1
{
  color: #000;
  background-color: inherit;
  margin: 0 auto;
  padding: 0;
}

h2
{
  color: #000;
  background-color: inherit;
  margin: 0.25em 0 0.5em 0;
}

#header
{
  margin: 0.5em 0 0.5em 0;
}

#ausgabe
{
  display: table-row;
  height: 100%;
}

#footer
{
  display: table-row;
  bottom: 0.5em;
  padding: 0;
  height: 30px;
}

#footer p
{
  margin-bottom: 0.5em;
  margin-left: -0.25em;
  padding: 0;
}

#tabelle
{
  position: relative;
  float: left;
}

#grafik
{
  position: relative;
  float: left;
  margin-left: 15px;
  margin-top: 0.5em;
}

#grafik svg
{
  border: 1px solid #CCC;
}

table
{
  margin: 0.5em 0;
}

table,th,td
{
  border: 1px solid #CCC;
  border-collapse: collapse;
  padding: 5px;
}

th
{
  color: inherit;
  background-color: #EEE;
}

th::before
{
  content: "\21F5";
  padding-right: 5px;
  color: #999;
  background-color: inherit;
  font-size: 1.1em;
  font-weight: 100;
}

thead
{
  cursor: pointer;
}

tbody
{
  cursor: default;
}

tr td:last-child
{
  text-align: right;
}

/*
tr:hover
{
  color: inherit;
  background-color: #FFC;
}
*/

form,input
{
  margin: 0;
  padding: 0;
}

input ~ input
{
  margin-left: 0.75em;
}

svg g:hover
{
  opacity: 0.5;
}

svg text
{
  cursor: default;
}

section h2
{
  display: none;
}

p#noscript
{
  color: #C00;
  background-color: inherit;
  font-style: normal;
}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: landscape)
{
  table
  {
    font-size: 0.8em;
  }
}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
{
  #grafik
  {
    margin-left: 0;
  }
}