/*!
 * Layout based on Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

:root {
    --theme-color: green;
    --link-color: #e6afca;       /* light pink */
    --link-hover-color: #7fbfa3; /* cool sage green, on hover and click */
}

body {
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Footer stays at the bottom of the window, or below the content on long pages */
html,
body {
    height: 100%;
}

#hugewrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.site-footer {
    flex-shrink: 0;
    text-align: center;
    font-size: 12px;
    color: black;
    padding: 20px 0;
}

/* Layout: one centered column on every screen. Photo, name and icons stacked at the top. */

#wrapper {
    width: 100%;
    flex: 1 0 auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

#page-content-wrapper {
    width: 100%;
    position: relative;
    padding: 15px;
}

.sidebar-nav {
    margin: 0;
    padding: 32px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-nav li {
    font-size: 25px;
    line-height: 28px;
    margin-bottom: 2px;
    font-family: 'Lato', sans-serif;
}

.sidebar-nav > .sidebar-brand {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 12px;
    white-space: nowrap;
    font-family: 'Lato', sans-serif;
}

/* On phones the photo comes first */
.sidebar-nav > .below-brand {
    order: -1;
    margin-bottom: 15px;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
}

/* Icons in one centered row with a small, even gap */
.sidebar-nav > .icon {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.sidebar-nav > .icon a i {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
    color: #333333; /* same as the name */
}

.sidebar-nav > .icon a i:hover {
    color: orange;
}

@media (min-width: 768px) {
    #page-content-wrapper {
        padding: 20px;
    }
}

/* Top bar: slides in once the photo and name scroll out of view */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e0e0e0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-nav.visible {
    transform: translateY(0);
}

/* Bar content lines up with the page column */
.sticky-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 30px;
}

@media (min-width: 768px) {
    .sticky-nav-content {
        padding: 10px 35px;
    }
}

.sticky-nav-name,
.sticky-nav-name:hover,
.sticky-nav-name:focus {
    color: #333333;
    font-size: 16px;
    text-decoration: none;
}

.sticky-nav-links {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.sticky-nav-links a {
    color: var(--link-color);
    text-decoration: none;
}

.sticky-nav-links a:hover,
.sticky-nav-links a:focus,
.sticky-nav-links a:active {
    color: var(--link-hover-color);
    text-decoration: none;
}

/* Content */

.title {
    color: #999999;
    font-size: 25px;
    margin-top: 20px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 10px;
}

.subtitle {
    color: darkslategrey;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 5px;
}

#bio {
    margin-top: 20px;
    height: 40%;
    text-align: justify;
}

/* On phones: slightly smaller text, hyphenate long words so justified lines have smaller gaps,
   and avoid leaving a single word alone on the last line */
@media (max-width: 767px) {
    #bio {
        font-size: 14px;
        -webkit-hyphens: auto;
        hyphens: auto;
        text-wrap: pretty;
    }
}


#bio a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dotted;
}

/* On hover or click, links turn green (no box behind them) */
#bio a:hover,
#bio a:focus,
#bio a:active {
    color: var(--link-hover-color);
    background-color: transparent;
    text-decoration: none;
}

.fa {
    color: black;
    display: inline;
}

.bold {
    font-weight: bold;
}

/* Publications */

.publication > li {
    margin-left: -20px;
}

.publication li {
    padding-left: 20px;
    margin-bottom: 18px;
}

.publication a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dotted;
}

.publication a:hover,
.publication a:focus,
.publication a:active {
    color: var(--link-hover-color);
    background-color: transparent;
    text-decoration: none;
}

.pub_note {
    color: #999999;
    font-size: 13px;
    margin-top: -6px;
}
