*,*:before,*:after {
  box-sizing:border-box;
  --blue:#0080ff;
  --blue-dark:#0066cc;
  --gray:#989898;
  --gray-light:#b6bcbe;
  --gray-lighter:#f4f5f5;
  --gray-dark:#808080;
  --gray-darker:#666666;
}

html,body {
  height:100%;
}
body {
  margin:0;
  padding:0;
  background:#fff;
}
body,table,input,textarea,button,select {
  font-family:'Titillium Web',arial,sans-serif;
  font-size:1rem;
  line-height:1.5em;
  color:#000;
}
h1,h2,h3,h4,h5,h6,p,ol,ul,dl,table,form,fieldset,object {
  margin:0 0 1.3em 0;
}

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
  display: block;
}
audio,canvas,video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

h1,.h1 {
  font-size:2.25rem;
  line-height:1.3em;
  font-weight:300;
}
h2,.h2 {
  font-size:1.5rem;
  line-height:1.3em;
  font-weight:500;
  color:var(--gray-dark);
  margin:0 0 .8em 0;
}
h2:not(:first-child),
.h2:not(:first-child) {
  margin-top:1.3em;
  padding-top:1.3em;
  border-top:solid #cecece 1px;
}
h3,.h3 {
  font-size:1.3rem;
  line-height:1.3em;
  font-weight:normal;
}
h4,.h4,
h5,.h5,
h6,.h6 {
  font-size:1rem;
  line-height:1.3em;
  font-weight:bold;
  margin:0;
}
.subheadline {
  font-size:1.125rem;
  line-height:1.5em;
  text-transform:uppercase;
  margin:0;
}
a:link {
  text-decoration:none;
  color:var(--blue);
}
a:visited {
  color:var(--blue);
}
a:hover {
  text-decoration:underline;
}
a:active {}

img {
  border:0;
  max-width:100%;
  height:auto;
}

table {
  border-spacing:1px;
}
table th,
table td {
  padding:.3em 1em .3em .3em;
  text-align:left;
  vertical-align:top;
  background:#fff;
}
table th {
  font-weight:600;
  vertical-align:bottom;
  background:#f5f4f2;
}

figure {
  margin:0 0 1.3em 0;
  padding:0;
}
figure img {
  display:block;
}
figure figcaption {
  background:#fff;
  margin:0;
  padding:.5em;
  font-style:italic;
  font-size:.8em;
}
figure figcaption:empty {
  display:none;
}

hr {
  margin:1em 0;
  border:0;
  border-bottom:solid #cecece 1px;
  height:0;
}

ul {
  margin-left:0;
  margin-top:0;
  margin-right:0;
  padding:0;
}
ul li {
  border-bottom:solid #cecece 1px;
  margin:0 0 .3em 0;
  padding:0 0 .3em 0;
  list-style:none;
}
ul li:last-child {
  border:0;
  padding-bottom:0;
}

/* clearfix
********************************/
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1; /* ie 6/7 */
}

/* Container
********************************/
:root {
  --gutter-x: 2rem;
}
.container {
  padding-left:var(--gutter-x);
  padding-right:var(--gutter-x);
  margin:0 auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left:calc(var(--gutter-x) / -2);
  margin-right:calc(var(--gutter-x) / -2);
}
.row > * {
  padding-right: calc(var(--gutter-x)/ 2);
  padding-left: calc(var(--gutter-x)/ 2);
}
@media only screen and (min-width : 768px) {
  .container {
    width:calc(740px + (var(--gutter-x) * 2));
  }
}
@media only screen and (min-width : 992px) {
  .container {
    width:calc(960px + (var(--gutter-x) * 2));
  }
}
@media only screen and (min-width : 1200px) {
  html {
    font-size:20px;
  }
  .container {
    width:calc(1140px + (var(--gutter-x) * 2));
  }
}

/* Seitenelemente (Master)
********************************/
#header {
  padding:1rem 0;
}
#header .row {
  justify-content: space-between;
  align-items: center;
}
#logo {
  /*max-width:calc(100% - 4rem);*/
  flex:0 0 auto;
  width:auto;
}
#logo a {
  display:block;
}
#logo img {
  width:auto;
  height:3.5rem;
  max-width:100%;
}

#nv-toggle {
  flex:0 0 auto;
  width:auto;
}
#nv-toggle button {
  background:transparent;
  margin:0;
  border:0;
  padding:.5rem;
}
#nv-toggle button img {
  height:2rem;
  width:auto;
  display:block;
}

#nv {
  clear:both;
  display:none;
  flex:0 0 100%;
  max-width:100%;
  text-align: center;
}
#nv ul {
  margin:0;
  padding:0;
  list-style:none;
}
#nv ul li {
  margin:0;
  padding:0;
  border-bottom:solid var(--gray-light) 1px;
}
#nv ul li:last-child {
  border:0;
}
#nv ul li a {
  display:block;
  color:var(--gray-darker);
  text-decoration:none;
  text-transform:uppercase;
  transition:color .2s ease;
  padding:.5rem 0;
}
#nv ul li a:hover {
  color:var(--blue);
}
#nv ul li.id22 > a {
  color:var(--gray);
}
#nv ul li.a1 > a,
#nv ul li.s1 > a {
  color:var(--blue);
}


#main {
  clear:both;
}

#footer-1-container {
  background-image:radial-gradient(circle at 50%, var(--gray-lighter), var(--gray-light));
  color:var(--gray-darker);
  padding:1.5rem 0;
}
#footer-1-container .container {
  position:relative;
}
#footer-1-container .container #top-link {
  position:absolute;
  right:3.7%; /*calc(1rem + 3.75%);*/
  top:0;
}
#footer-1-container a {
  color:var(--gray-darker);
}
#footer-2-container {
  padding:1rem 0 4rem 0;
  font-size:.75rem;
  color:var(--gray-darker);
}
#footer-2-container a {
  color:var(--gray-darker);
}

@media only screen and (min-width : 992px) {
  #header {
    padding:2rem 0;
  }
  #logo {}
  #logo img {
    width:auto;
    height:auto;
  }

  #nv-toggle {
    display:none;
  }

  #nv {
    display:block !important;
    flex:0 0 auto;
    width:auto;
  }
  #nv ul {
    display:flex;
  }
  #nv ul li {
    border:0;
  }
  #nv ul li a {
    padding:.5rem;
    border:0;
  }
}