html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
}

html, body {
    height: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

.nav-page {
    background-color: #1d1f41;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.navbar {
    width: 100%;
    background-color: #1d1f41 !important;
}

@media only screen and (min-width: 768px) {
    .navbar {
        width: 80%;
    }
}

.home-page,
.error-page,
.consent-page,
.grants-page,
.logout-page,
.logged-out-page {
    margin-top: 50px;
}

.page-container {
    padding: 50px;
    border-radius: 10px;
    max-width: 80%;
    margin: auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
    background-color: rgba(251,251,251,.85);
    color: black;
}

.card.login .card-body {
    padding: 20px 40px;
    color: #333;
}

.card.login .card-body h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.card.about .card-body {
    padding: 20px 40px 40px 40px;
    color: #333;
}

.card.about .card-body h2{
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.card.about .card-body p {
    font-weight: 200;
}

@media only screen and (max-width: 426px) {
    .page-container {
        padding: 10px;
        max-width: 90%;
    }
}

.navbar-brand img {
    height: 60px;
}

.body-container {
    height: 100%;
    background-image: url(../img/bg/login.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 1199px) {
    .body-container {
        background-position: left;
    }
}

.container {
    margin-top: 50px;
}

.card {
    background-color: rgba(251,251,251,.85);
}

.diagnostics-page .card-body{
    overflow-y: auto;
    max-height: 350px;
}

.login-page {
    margin-top: 100px;
}

.login-page .material-icons {
    font-size: 20px;
}

.login-page .card .action-buttons {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

.login-page .card .action-buttons button {
    text-transform: uppercase;
}

.login-page .card .action-buttons button:not(:first-child) {
    margin-left: 10px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

.grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold;
}

.grants-page .card .card-title img {
    width: 100px;
    height: 100px;
}

.grants-page .card label {
    font-weight: bold;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}
.btn.btn-primary {
    background-color: #1c1e41;
}

/* Hide the arrows for input type number */
input.no-arrows[type=number]::-webkit-outer-spin-button,
input.no-arrows[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}