 html {
    min-height: 100%;
    position: relative;
  }
  .nordsachsen {
    color: #444;
    font-weight: bold;
    font-size: 24px;
  }
  .saxessrot {
    color: #990000;
    font-weight: bold;
    font-size: 24px;
  }
  body { 
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;

    background: #ECE9E6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #FFFFFF, #ECE9E6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #FFFFFF, #ECE9E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
   
    padding:0;
    margin-left:0;
    margin-right:0;
    margin-bottom: 152px;  /* Margin bottom by footer height */
  }
  .impressum {
    height: 30px; /* Set the fixed height of the footer here */
    text-align: center;
    vertical-align: middle;
    position: absolute;
    bottom:122px;
    width:100%;
    
  }
  .impressum a {
    text-decoration: none;
    color: #990000;
    font-size: 16px;
  }
  .footer {
    height: 120px; /* Set the fixed height of the footer here */
    position: relative;
    bottom: -180px;
    width: 100%;  
    background-color: #f5f5f0;
    border-top: 1px solid #e3e3e3;
    text-align: center;
    font-size: 14px;
  }
  .footer img {
    height: 80px;
    margin-top: 20px;
    opacity: 0.5;
    transition: all 0.5s ease 0s;
    cursor:pointer;
   }
   .footer img:hover {
     opacity: 1;
     transition: all 0.5s ease 0s;
    }
    .content {
      min-height: 100%;
    }
  .logo {
    margin-top: 10vh;
    text-align:center;
  }
  .logo img {
    height: 60px;
  }
  .text {
    margin-top: 20px;
    text-align:center;
    font-size: 20px;
    text-transform: uppercase;
    color: #444;
  }

  .links {
    margin-top: 10vh;
    height: 38vh;
    
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  
  .links .onesence {
    min-width: 230px;
    width: 15vw;
    text-align: center;
    height: 100%;
    margin-left:10px;
    margin-right:10px;
  }
  .links .fidas {
    min-width: 230px;
    width: 15vw;
    text-align: left;
    height: 100%;
    margin-left:10px;
    margin-right:10px;
  }
  .links .insession {
    min-width: 230px;
    width: 15vw;
    text-align: left;
    height: 100%;
    margin-left:10px;
    margin-right:10px;
  }
  .links .onesence .link,
  .links .fidas .link,
  .links .insession .link {
    background-color: #f7f7f7;
    border-radius: 10px;
    min-width: 230px;
    width: 15vw;
    height: 100%;
    cursor:pointer;
    text-align: center;
    transition: all 0.5s ease 0s;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  }
  .links .onesence .link:hover,
  .links .fidas .link:hover,
  .links .insession .link:hover {
    background-color: #fff;
    box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  }
  .bgimg {
    background-size:cover !important; 
    width:100%;
    height: 70%; 
    border-top-left-radius: 10px; 
    border-top-right-radius: 10px;
  }
  .links .onesence .link .bgimg {
    background:url('img/bg-onesence.png');
  }

  .links .fidas .link .bgimg {
    background:url('img/bg-fidas.png');
  }

  .links .insession .link .bgimg {
    background:url('img/bg-insession.png');
    -webkit-filter: grayscale(1) opacity(.5);
    filter: grayscale(1) opacity(.5);
  }

  .link img {
    vertical-align: middle;
    opacity: 0.6;
    transition: all 0.5s ease 0s;
    width:50%;
  }
  .link:hover img{
      opacity: 1;
      transition: all 0.5s ease 0s;
  }
  .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
  }
  .linktext-row1 {
    padding-top: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #990000;
    text-transform: uppercase;
    margin-bottom: 7px;
  }
  .linktext-row1gray {
    padding-top: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 7px;
  }
  .linktext-row2{
    display: block;
    font-size: 14px;
    color: #666;
  }
  
  @media screen and (max-width: 1200px) {
    .footer {
	    height: 130px; /* Set the fixed height of the footer here */
        bottom: -100px;
	}
	.footer img {
        height: 40px;
	}
    .links {
      height: 200px;
      display: inline-block;
    }
    .linktext-row2 {
      display:none;
    }
    .onesence, .fidas, .link-onesence, .link-fidas, .link-insession  {
      float:none !important;
      width: 75vw !important;
    }
    .logo, .text, .links {
      margin-top: 10px;
    }
    .links {
      margin-left: 10vw;
    }
    .onesence {
      margin-bottom: 20px;
    }
    .fidas {
      margin-bottom: 20px;
    }
    body {
      margin-bottom:30px;
    }
    .bgimg img {
      height: 80%;
    }
    .impressum {
      height: 30px;
      bottom:-50px;
      position: relative;
    }
 }

  @media screen and (max-width: 480px) {
    .links {
      height: 200px;
      display: inline-block;
    }
    .linktext-row2 {
      display:none;
    }
    .onesence, .fidas, .link-onesence, .link-fidas, .link-insession  {
      float:none !important;
      width: 75vw !important;
    }
    .logo, .text, .links {
      margin-top: 20px;
    }
    .links {
      margin-left: 10vw;
    }
    .onesence {
      margin-bottom: 20px;
    }
    .fidas {
      margin-bottom: 20px;
    }
    body {
      margin-bottom:30px;
    }
    .bgimg img {
      height: 80%;
    }
    .footer {
      display:none;
    }
    .impressum {
      height: 30px;
      bottom:-30px;
      position: relative;
    }
  }
