footer {
  border-top: 1px solid var(--color2);
  background-color: var(--color5);
  margin-top: 0px;
  padding: 50px 0px 50px 0px;
}

footer div.signoff {
  line-height: 1.75em;
}

footer div.main {
  clear: both;
  max-width: 1200px;
  margin: 0px auto;
  padding: 15px 15px 30px 30px;
  position: relative;
  box-sizing: border-box;
  line-height: 1.25em;
}

footer a {
  text-decoration: none;  
  border-bottom: 1px solid;
  color: #245583;
  padding-bottom: 2px;
}
footer a:hover {
  color: #3c6c99;
}

footer a.logo {
  background-image: url(eist.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 150px auto;
  border: 0px;
  display: block;
  height: 7em;
  width: 225px;
  float: right;
  margin-top: -40px;
  @media (max-width: 500px){
    display: none;
  }
}

footer div.logos {
  margin-top: 50px;
  text-wrap: balance;
  white-space: nowrap;
  overflow-x: auto;
}
footer div.logos a {
  border: 0px;
  margin-right: 40px;
  display: inline-block;
  outline-offset: 4px;
  vertical-align: top;
  margin-bottom: 20px;
}
footer div.logos a img {
  height: 75px;
}
footer div.logos a.ug img {
  height: 90px;
}
footer div.logos a.bng img {
  height: 40px;
  margin-top: 5px;
}
footer div.logos a.tobar img {
  height: 60px;
  margin-top: 5px;
}

footer div.statement {
  color: var(--colorN);
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 0.95em;
  line-height: 1.5em;
  max-width: 600px;
}

footer a.sourcecode {
  font-size: 0.95em;
  line-height: 1.5em;
  margin-left: 1em;
  color: var(--colorN);
  border: 0px;
}
footer a.sourcecode span.icon {
  margin-right: 0.25em;
  background-color: var(--colorN);
  position: relative;
  top: -1px;
}
footer a.sourcecode:hover {
  color: #3c6c99;
}
footer a.sourcecode:hover span.icon {
  background-color: #3c6c99;
}