html, body {
    background-color: #f1f1f1;
    color: #193e72;
    font-family: Lato;
    height: 100%;
    margin: 0;
    padding: 0;
}

header:before {
    background-color: #ea5d4e;
    background-image: none;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: "";
    display: block;
    height: 15px;
    width: 100%;
}

header {
    background-color: white;
    margin: 0;
}

header h1 {
    height: 120px;
    line-height: 120px;
    text-align: right;
    vertical-align: middle;
    font-size: 40px;
    font-weight: bold;
    background-image: url(../images/nihr-lbrc.png);
    background-size: 270px auto;
    background-repeat: no-repeat;
    background-position: center left;
}

#content {
    padding: 0px 0px 40px 0px;
}

.navbar{
    padding: 10px 0;
    grid-column: 1 / 4;
}

.navbar a {
    color: #333;
    transition: color 0.5s;
    transition: background-color 0.5s;
    padding: 10px;
    margin: 0;
    height: 40px;
    line-height: 20px;
}

.navbar a:hover {
    background-color: #193e72;
    color: white;
}

.navbar .navbar-brand {
    font-size: 15px;
    background-color: #193e72;
    color: white;
}

.navbar .navbar-brand:hover {
    font-size: 15px;
    background-color: #193e72;
    color: white;
}

.navbar a.active {
    background-color: #193e72;
    color: white;
}

section {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
}

section.links {
    columns: 2;
}

 section.links a {
    border-radius: 0;
    text-align: left;
    background: #46a86c;
    position: relative;
    display: block;
    width: 100%;
    color: #FFF;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 1s ease-in-out,background-color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out;
    margin: 0px 10px 10px 10px;
    text-decoration: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}


section.links a:after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 5px;
    right: 10px;
    font-weight:900;
}

#main-wrapper {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  min-height: 100%;
}

#content {
    flex: 1 0 auto;
}

footer {
    background-color: #193e72;;
    color: white;
}


footer div {
    padding: 15px 0px;
    font-size: 18px;
}
