body {
    min-height: 100vh;
    position: relative;
    color: black;
    background-color: white;
    font-family: sans-serif;
    padding-top: 5.4rem;
    padding-bottom: 5.4rem;
}

.content {
    padding-top: 3rem;
    padding-bottom: 140px;
}

nav {
    padding-left: 40px;
    padding-right: 40px;
    background-color: #333;
}

.navbar-brand {
    color: white;
}

.nav-link {
    color: white;
}

h1 {
    font-size: 4em;
}

a {
    color: black;
    text-decoration: underline;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    font-size: 1rem;
    line-height: 20px;
    padding-top: 20px;
    text-align: center;
    color: black;
    background-color: lightgrey;
}

footer a {
    color: black;
}

.slurmfile {
    border: 1px solid black;
    background-color: ghostwhite;
    padding: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.dropdown-toggle {
    color: white;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

/* ------------------- Forms ------------------- */

form {
    max-width: 20em;
}

form#login-form {
    max-width: 15em;
}

.form-actions input {
    margin-top: 1em;
}

.selectdatewidget {
    display: inline-block;
}

select[name$="_day"].selectdatewidget {
    width: 15%;
    padding-left: 10px;
}

select[name$="_month"].selectdatewidget {
    width: 35%;
}

select[name$="_year"].selectdatewidget {
    width: 20%;
}

/* ------------ Research group pages ----------- */

#job-title {
    font-size: 80%;
}

#person-name a {
    text-decoration: none;
}

#people-grid {
    margin-top: 3em;
    margin-bottom: 3em;
}

#honorary-people-grid {
    margin-bottom: 3em;
    margin-top: 3em;
}

#alumni-people-grid {
    margin-bottom: 3em;
    margin-top: 3em;
}


.card-img-top {
    height: auto;
    max-height: 322px;
    width: 100%;
    object-fit: cover;
}

@font-face {
    font-family: Philosopher;
    src: url("../fonts/Philosopher-Bold.a3aed8baca93.ttf") format('truetype');
}

#topic-title {
    font-family: Philosopher, sans-serif;
    color: #B30066;
}

#topic-title a {
    color: #B30066;
    text-decoration: none;
}

#topic-image {
    align-items: center;
    justify-content: center;
}

#topic-imgwrap {
    width: 70%;
    margin: auto;
}

#publications-grid {
    justify-content: center;
    padding-top: 1rem;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23B30066' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23B30066' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-caption h5 {
    background: white;
    color: #B30066;
}

#person-grid a {
    color: red;
    text-decoration: none;
}

#person-accordion {
    width: 100%;
}

#person-image {
    max-height: 16em;
}

.logo-link {
    max-height: 2em;
}

.logo-link-small {
    max-height: 1.25em;
}

#small-logos a {
    text-decoration: none;
}

#find-out-more {
    margin-top: 1em;
}

#find-out-more a {
    color: red;
    text-decoration: none;
}

#serene-logo-navbar {
    max-height: 3em;
}

/* ----------------- Conferences ---------- */

.card-img-left {
    height: auto;
    width: 100%;
    align-self: center;
    object-fit: cover;
}

.index-img {
    padding-left: 50px;
    padding-bottom: 50px;
    padding-right: 80px;
    align-self: flex-end;
}

/* ----------------- Events pages --------------- */

.event-date {
    color: #00102E;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 36px;
}

.event-month {
    color: #00102E;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 24px;
}

.events-row {
    margin-top: 0.75em;
}

#event-short-description {
    margin-top: 0.75em;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
