@charset "UTF-8";

/* Author: T. Meinike 2013 | CSS für Studierenden-Statistik-Ausgabe mit Saxon-CE */

*
{
  font-family: Arial, Helvetica, sans-serif;
}

body
{
  padding: 0 0.5em;
}

h1
{
  color: #000;
  background-color: inherit;
  margin: 0 auto;
}

h2
{
  color: #000;
  background-color: inherit;
  margin: 0.5em auto;
}

#tabelle
{
  position: relative;
  float: left;
}

#grafik
{
  position: relative;
  float: left;
  margin-left: 20px;
}

#grafik svg
{
  border: 1px solid #CCC;
}

#ausgabe
{
  margin-top: 1em;
}

#footer
{
  clear: both;
}

table
{
  margin-bottom: 1em;
}

table,th,td
{
  border: 1px solid #CCC;
  border-collapse: collapse;
  padding: 5px;
}

th
{
  color: inherit;
  background-color: #EEE;
}

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: 20px;
}

svg g:hover
{
  opacity: 0.5;
}

@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;
  }
}