body {
    margin: 0; padding:0;
    font-size: medium;
    line-height: 1.5;
}
#strand {
    padding-top: 20px;
    overflow-x: hide;
    height: 120px;
    background-repeat: repeat-x;
    background-position: center;
    background-image: url(images/strand.svg);
    background-size: cover;
}

ul.fancy li p {
  display: inline;
}

ul.fancy li.featured p {
  display: block;
  text-indent: 0;
}
ul.fancy li p.description {
  display: none;
}

ul.fancy li.featured p.description {
  display: block;
}

img.floating {
    float: right;
    width: 15%;
    padding: 20px;
}

h1, h2, h3 {
    margin-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    font-family:"Lucida Console", Monaco, monospace;
}

h1 {
    text-align: center;
    letter-spacing: 0.2em;
}

ul.fancy {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}

ul.fancy li {
    display: inline-block;
    min-width: 150px;
    max-width: 150px;
    margin: 15px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(0deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    order: 2;
}

ul li.featured {
   min-width: 100%;
   max-width: 100%;
   text-align: left;
   order: 1;
}

div#publications ul li img {
    width: 150px;
    background-size: cover;
}

div#publications ul li.featured img {
    float: left;
    border-radius: 5px;
    margin: 20px;
}



p img.fullwidth {
  width: 100%;
  float: none;
  margin: 20px 0px 20px 0px;

}


ul.plain li img {
    display: none;
}

ul.plain li p {
    display: inline;
    padding: 0;
}

ul.plain li p.description {
    display: none;
}

a {
    text-decoration: none;
    color: #000066;
    font-weight: 800;

}

tt {
    font-size: medium;
    font-family:"Lucida Console", Monaco, monospace;
}

a:hover {
    color: #222288;
}

ul#nav li {
    display: inline-block;
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
    font-family:"Lucida Console", Monaco, monospace;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000066;
    border: 2px solid rgba(0,0,0,0.1);
    transition: background-color 0.4s, border 0.2s;
}

@media only screen and (max-width: 500px) {
    ul#nav li {
        padding: 5px;
    }
}

ul#nav li.selected {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
}

p {
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
}

html {
    min-height: 100%;
    background-size: cover;
    background-attachment: fixed !important;
    background: rgb(234,234,255);
    background: linear-gradient(22deg, rgba(234,234,255,1) 0%, rgba(255,230,198,1) 48%, rgba(255,255,255,1) 100%);
}

body {
    font-family: 'Noto Serif', serif;
    margin-bottom: 200px;
}

div.block {
    max-width: 700px;
    margin: auto;
}



img {
    width: 150px;
}

div#people ul li img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
