:root {
  --dark-background: #212121;
  --dark-text: #212121;
  --dark-line: #212121; 

  --medium-background: #dedede;
  --medium-text: #a8a8a8;

  --light-background: #fafafa;
  --light-text: #fafafa;
  --light-line: #fff;

  --link-text: var(--dark-text);
  --link-text-hover: #5d58f5;

  --marked-candidate-background :#fafad2;
  --marked-candidate-background-hover: #e6e699;
  --marked-owned-background :#d8fad2;
  --marked-owned-background-hover: #99e6b5;
}

* {
  margin:0;
  padding: 0;
}

body {
  font-family: 'Catamaran',sans-serif;
  font-size: 0.9rem;
  line-height: 1.4rem;
  color: var(--dark-text);
  text-rendering:optimizeLegibility;
}

.wrapper {
  width: 95%;
  margin: 2rem auto;
}

a:link,
a:visited {
  color: var(--link-text);
}

a:hover,
a:active {
  color: var(--link-text-hover);
}

p {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  border-collapse: collapse;
}

.sc {
  font-size: .95em; /* Smallcaps bissl kleiner */
}

.spat-v {
  margin-left: 0.1rem;
}
.spat-h {
  margin-right: 0.1rem;
}
.spat-b {
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

.table-scroller {
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  padding-bottom: 1rem; /* for scrollbar */
  margin-left: -2px; /* optical reasons */
}

table {
  width: -moz-fit-content;
  width: fit-content;
  border-collapse: collapse;
  border: 1px solid (--dark-line);
}

thead {
  background: var(--dark-background);
  color: var(--light-text);
}

tbody tr {
  transition: background .4s ease-in;
}

tbody tr:hover {
  background: var(--medium-background);
  transition: background .2s ease-out;
}

tbody tr.candidate {
  background: var(--marked-candidate-background);
  transition: background .2s ease-out;
}

tbody tr.candidate:hover {
  background: var(--marked-candidate-background-hover);
}

tbody tr.owned {
  background: var(--marked-owned-background);
  transition: background .2s ease-out;
}

tbody tr.owned:hover {
  background: var(--marked-owned-background-hover);
}

th {
  border: 1px solid var(--light-line);
  padding: 5px 10px 5px 24px;
  white-space: nowrap;
}

th.no-sort {
  padding: 5px 24px;
}

td {
  border: 1px solid var(--dark-line);
  padding: 12px 14px 6px;
  text-align: center;
}

.logo {
  height: .8rem;
}

.left-aligned {
  text-align: left;
}

.no-break {
  white-space: nowrap;
}

.extra-information {
  color: var(--medium-text);
  font-size: 90%;
}

tfoot td {
  text-align: left;
  font-size: 0.8em;
  letter-spacing: 0.4px;
  padding: 0;
}

tfoot .holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

tfoot table {
  margin: 1rem;
  display: table;
  max-width: 30%;
}

tfoot td td {
  padding: .5rem;
}

th[role=columnheader]:not(.no-sort) {
	cursor: pointer;
}

th[role=columnheader]:not(.no-sort):after {
	content: '';
	float: right;
	margin-top: 10px;
  margin-left: 5px;
	border-width: 0 6px 6px;
	border-style: solid;
	border-color: var(--light-line) transparent;
	visibility: hidden;
	opacity: 0;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

th[aria-sort=ascending]:not(.no-sort):after {
	border-bottom: none;
	border-width: 6px 6px 0;
}

th[aria-sort]:not(.no-sort):after {
	visibility: visible;
	opacity: 0.6;
}

th[role=columnheader]:not(.no-sort):hover:after {
	visibility: visible;
	opacity: 1;
}

a.tooltip {
  display:inline-block;
  position: relative;
  text-decoration: none;
  color: var(--dark-text);
  background: var(--medium-background);
  border-radius: 100%;
  font-weight: bold;
  font-size: .8rem;
  line-height: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
}

.tooltip:hover:after{
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  background: #444;
  color: #fff;
  content: attr(data-tip);
  margin: -82px auto 0;
  font-size: 16px;
  padding: 13px;
  width: 220px;
}

.tooltip:hover:before{
  border-width: 12px 6px 0 6px;
  content: "";
  left: 45%;
  bottom: 30px;
  position: absolute;
}

.tgl {
  display:none;
}

.tgl {
  display: none;
}

.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}

.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}

.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}

.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}

.tgl + .tgl-btn:after {
  left: 0;
}

.tgl + .tgl-btn:before {
  display: none;
}

.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-light + .tgl-btn {
  background: #f0f0f0;
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
}
.tgl-light + .tgl-btn:after {
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s ease;
}
.tgl-light:checked + .tgl-btn {
  background: #9FD6AE;
}

.tgl-ios + .tgl-btn {
  background: #fbfbfb;
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
  border: 1px solid #e8eae9;
}
.tgl-ios + .tgl-btn:after {
  border-radius: 2em;
  background: #fbfbfb;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.tgl-ios + .tgl-btn:hover:after {
  will-change: padding;
}
.tgl-ios + .tgl-btn:active {
  box-shadow: inset 0 0 0 2em #e8eae9;
}
.tgl-ios + .tgl-btn:active:after {
  padding-right: 0.8em;
}
.tgl-ios:checked + .tgl-btn {
  background: #86d993;
}
.tgl-ios:checked + .tgl-btn:active {
  box-shadow: none;
}
.tgl-ios:checked + .tgl-btn:active:after {
  margin-left: -0.8em;
}

.tgl-skewed + .tgl-btn {
  overflow: hidden;
  transform: skew(-10deg);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: all 0.2s ease;
  font-family: sans-serif;
  background: #888;
}
.tgl-skewed + .tgl-btn:after, .tgl-skewed + .tgl-btn:before {
  transform: skew(10deg);
  display: inline-block;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  position: absolute;
  line-height: 2em;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.tgl-skewed + .tgl-btn:after {
  left: 100%;
  content: attr(data-tg-on);
}
.tgl-skewed + .tgl-btn:before {
  left: 0;
  content: attr(data-tg-off);
}
.tgl-skewed + .tgl-btn:active {
  background: #888;
}
.tgl-skewed + .tgl-btn:active:before {
  left: -10%;
}
.tgl-skewed:checked + .tgl-btn {
  background: #86d993;
}
.tgl-skewed:checked + .tgl-btn:before {
  left: -100%;
}
.tgl-skewed:checked + .tgl-btn:after {
  left: 0;
}
.tgl-skewed:checked + .tgl-btn:active:after {
  left: 10%;
}

.tgl-flat + .tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  background: #fff;
  border: 4px solid #f2f2f2;
  border-radius: 2em;
}
.tgl-flat + .tgl-btn:after {
  transition: all 0.2s ease;
  background: #f2f2f2;
  content: "";
  border-radius: 1em;
}
.tgl-flat:checked + .tgl-btn {
  border: 4px solid #7FC6A6;
}
.tgl-flat:checked + .tgl-btn:after {
  left: 50%;
  background: #7FC6A6;
}

.tgl-flip + .tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  font-family: sans-serif;
  perspective: 100px;
}
.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
  display: inline-block;
  transition: all 0.4s ease;
  width: 100%;
  text-align: center;
  position: absolute;
  line-height: 2em;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 4px;
}
.tgl-flip + .tgl-btn:after {
  content: attr(data-tg-on);
  background: #02C66F;
  transform: rotateY(-180deg);
}
.tgl-flip + .tgl-btn:before {
  background: #FF3A19;
  content: attr(data-tg-off);
}
.tgl-flip + .tgl-btn:active:before {
  transform: rotateY(-20deg);
}
.tgl-flip:checked + .tgl-btn:before {
  transform: rotateY(180deg);
}
.tgl-flip:checked + .tgl-btn:after {
  transform: rotateY(0);
  left: 0;
  background: #7FC6A6;
}
.tgl-flip:checked + .tgl-btn:active:after {
  transform: rotateY(20deg);
}