@font-face {
    font-family: "localEBG";
    src: url("fonts/EBGaramond.otf") format("opentype");
}

header {
  margin-bottom: 5ex;
}

header a:link {
  font-variant: small-caps;
  font-size: 3rem;
  color: rgb(240,240,240);
  /* text-shadow: 2px 3px rgb(245,245,245); */
}

header li {
    display:inline;
    padding-right: 4em;
    font-size: 80%;
    /* color: rgb(240,240,240); */
}

header li:hover {
    color: rgb(140,140,140);
    cursor: pointer;
}

header li:visited {
    color: rgb(140,140,140);
    cursor: pointer;
}

footer {
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 2rem;
}

a:link {
  text-decoration:none;
  color:inherit;
}

a:visited {
  text-decoration:none;
  color:inherit;
}

a:hover {
    text-decoration:none;
    background-color: rgb(230,230,230);
    color:inherit;
}

h1 {
    color: #CC553D;
    font-variant: small-caps;
    font-weight: 400;
    font-size: 2.2rem;
    border-bottom: 1px red;
    /* font-family: sans-serif; */
}

h2 {
  color: #CC553D;
  font-style: italic;
  font-weight: normal;
  font-size: 1.5rem;
}

.hide {
  display: none;
}

.nohide {
  display: inherit;
}

h1:hover, h2:hover {
  cursor: pointer;
}

.cap {
  font-variant: small-caps;
}

.subtitle {
  margin-top: 0.1rem;
  margin-bottom: 1rem;
  font-size: 90%;
}

/* h1:hover { */
/*   text-decoration: underline } */

/* .h1 { */
/*   padding-left: 1vw } */

.h1:hover {
  background-color: #EEEEEE }

ul {
    list-style-type:none;
    padding-left: 0px }

li {
    display: block;
    clear:both;
    margin-bottom: 2ex;
}
.space {
    display: inline-block;
    width: 0.5em }

.coauthors {
    display: inline-block;
    font-size: 80%;
    margin-left: 1em;
}

.abstract {
    clear:both;
    font-size: 90%;
    display: block;
    margin-left: 1em;
}

.links {
    float:right;
    display: inline-block;
    margin-bottom: 1ex;
    font-size: 70%;
}

.sc {
  font-variant: small-caps;
}

html,body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "localEBG", serif;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  color: #222222;
  font-size: 16pt;
  padding-top: 2ex;
  line-height: 125%;
  padding: 1em;
  margin-left: auto;
  margin-right: auto;
  width: 650px;
}

@media (max-width: 650px){
    html,body {
      width: 92%;
    }
    .coauthors {
        font-size: 90%;
    }
}
@media (max-width: 700px){
    nav {
        display: none;
    }
}

img {
  max-width: 100%;
  height: auto;
}

.etex {
    position: relative;
    top: 0.5ex;
    left: -0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.xtex {
    position: relative;
    left: -0.15em;
    text-transform: uppercase;
    text-decoration: none;
}

section {
    margin-bottom: 6ex;
}

.bracket {
    color: rgb(100,100,100);
}

nav {
    float:right;
    position:fixed;
    top: 2ex;
    right: 2em;
}

cite {
  font-style: normal;
}

