/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 100px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.container{
    max-width: 980px;
}

h3 a, h3 a:hover, h3 a:visited, h3 a:active, h4 a, h4 a:hover, h4 a:visited, h4 a:active {
    text-decoration: none; /* remove underline */
    color: inherit; /* remove blue */
}

.carousel-caption {
    position: relative;
    left: auto;
    right: auto;
}

.carousel-inner img {
    margin: auto;
}

.carousel-img {
max-height: 200px; max-width: 500px; padding-bottom: 1em;
}

code {
    color: #E02657;
}

.icon-link .bi {
    width: 1.5em;
    height: 1.5em;
    transition: .2s ease-in-out transform;
}

.bi {
    fill: currentcolor;
}

:root {
    --color-white-alpha: hsla(200deg, 20%, 100%, 0.9);
    --color-grey-alpha: hsla(0deg, 0%, 95%, 0.9);
    --color-background-navbar: var(--color-white-alpha);
    /*--color-background-navbar-active: #DEDEDE;*/
    --color-background-navbar-active: var(--color-grey-alpha);
    --color-navbar-item: black;
}

.navbar-nav a:hover:not(.active) {
    background-image: linear-gradient(black, black);
    background-repeat: no-repeat;
    background-size: calc(100% - 0em) 2px;
    background-position: center bottom;
}

footer .name {
    text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .navbar {
    padding: 0;
  }
  .navbar .navbar-nav .nav-link {
    padding: 1em 0;
  }
}

.navbar .navbar-nav .nav-link {
    color: var(--color-navbar-item);
}

.navbar-nav > li {
  padding-left: 1em;
  padding-right: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: 600;
}


.navbar-nav .active {
    /*2px solid black;    */
    background-color: var(--color-background-navbar-active);

}

/***********/

.navbar-custom {
    background-color: var(--color-background-navbar);
    border-bottom: 1px solid #B2B2B2;
}

/***********/

/* Publications
-------------------------------------------------- */

a.pub-author-link:hover, a.pub-author-link:active, a.pub-author-link, a.pub-author-link:visited {
    border-bottom: 1px solid #808080;
    color: var(--bs-color);
    text-decoration: none;
}

a.pub-author-link:hover, a.pub-author-link:active {
    border-bottom: 1px solid #000000;
    color: var(--bs-color);
    text-decoration: none;
}

div.pub-asset a {
    text-decoration: none;
    color: #E02657;
    background-color: #FFFFFF;
    border-color: #E02657;
    border: 1px solid;
    border-radius: 0.2rem;
    padding: 0.2rem 0.3rem;
    margin-right: 0.5rem;
    font-size: 0.75em;


    background-color: #E02657;
//    background-color: #FA2A62;
    color: white;
    border-color: #B81F48;
    border-color: #991A3C;
    font-size: 0.65em;
    font-weight: 600;
}

div.pub-asset a:hover, div.pub-asset a:active {
    background-color: #FFBFD0;

    background-color: white;
    color: #E02657;
    border-color: #E02657;
    font-size: 0.65em;
    font-weight: 600;
}

.pub-year::before {
  content: "("
}

.pub-year::after {
  content: ")"
}

.pub-volume {
    font-weight: 500;
}

.pub-title {
    font-weight: 500;
}

.pub-journal {
    font-style: italic;
}

.pub-abstract {
    background-color: #F8F8F8;
    border: 1px solid;
    border-color: #D2D2D2;
    border-radius: 0.3rem;
    padding: 0.4rem 0.6rem;
    margin-right: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75em;
}

/********/

/*

a.pub-asset {
    text-decoration: none;
    font-weight: 500;
    color: var(--bs-color);
    border-color: #000000;
    border-bottom: 1px solid;
    margin-right: 0.5rem;
    font-size: 0.75em;
}

a.pub-asset:hover, a.pub-asset:active {
    background-color: #FFBFD0;
}

*/



pre {
    background-color: #f3f3f3;
    border-radius: 5px;
    border: 1px solid #B2B2B2;
    color: rgba(0,0,0,.9);
    font-family: Consolas,monospace;
    margin-bottom: 10px;
    overflow: auto;
    padding: 10px 10px;
}

code span.terminal::before {
    content: "$ ";
    font-weight: bold;
}

html {
    scroll-padding-top: 9vh;
}

.paper { 
  text-align:left;
  width: 75%;
  margin-left:auto;
  margin-right:auto;
}

/* Math */

span.above, span.below { font-size: 80%; }
span.above { vertical-align: 0.7ex; }
span.below { vertical-align: -0.3ex; }

tr.des {
background-color: var(--bs-table-striped-bg);
}

