

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;1,400;1,500&display=swap');

html {
      line-height: 1.4;
      font-family: 'Spectral', Charter, Georgia, serif;
      color: #1a1a1a;
      background-color: #fdfdfd;
  }

body{
	margin: 0;
	padding: 0;
	}

article {
      margin: 0 auto;
      max-width: 80ch;
	  min-height: 100vh;
      padding-left: 50px;
      padding-right: 50px;
      padding-top: 5em;
      padding-bottom: 50px;
      text-align: left;
      hyphens: auto;
      overflow-wrap: break-word;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: subpixel-antialiased;
      font-kerning: normal;
    }

header{
	background-color: #F0F0F0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5em;
	top: 0;
	position: fixed;
	transition: top 0.25s;
}

footer {
    margin-top: 5em;
    height: 10em;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url('/assets/andrusia-fade-footer.svg');
    background-repeat: repeat-x;
    background-size: 100% 100%; /* or another specific value */
    vertical-align: baseline;
}

#header-logo{
	height: 2em;
	padding: 0.5em;
}

#header-name{
	font-family: Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-align: left;
	text-decoration: none;
	padding-left: 1em;
}

#header-name>a{
	text-decoration: none;
	color: rgb(48,48,48);
}

#linkback {
    position: fixed;
    right: 20px;
    float: right;
    margin: 2pt;
    padding: 0;
}

table {
  margin-bottom:0;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  border: 0px;

  th, td {
    padding: 0
  }

  td {
    border: 0px;
  }
}

.inline-image{
	max-width:100%;
	max-height: 75vh;
	display:block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

img{


}	

.pswp__img {
    cursor: pointer !important; /* so that we don't see the zoom cursor over photos and know a click will close and not zoom */
}

.pswp__counter {
	font-family: Helvetica, sans-serif;
	font-weight: bold;
}

a:hover{
	text-decoration: none;
}

h1{
	font-size: 2em;
	margin-block-end: 0em;
	line-height: 1.2;
}

h2{
	font-size: 1.3em;
	font-style: italic;
	font-weight: normal;
	margin-block-start: 0em;
	margin-block-end: 0em;
}

h3{
	font-size: 1.25em;
	font-style: normal;
	font-weight: bold;
 }

sup.date-ordinal{
	vertical-align: top; /* by default superscript gets raised up and makes the line height taller and that looks bad */
 }

.center-subhead {
	font-size: 150% ;
	font-weight: bold;
	text-align: center;
	display: block;
 }

.letter-closing {
	margin-left: 10em;
	display: block
}

.asterism {
	text-align: center;
	display:block;
}

.asterism:before {
	font-size: 200%;
	font-weight: bold;
	content: '\2042'; /* asterism unicode */
}

blockquote{
	background-color: whitesmoke;
	padding: 1em;
	font-size: 80%;
}

blockquote > p:first-child{
	margin-block-start: 0;
}

blockquote > p:last-child {
	margin-block-end: 0;
}

.leftbar {
    margin-bottom: 3em;
    width: calc(min((100vw - 80ch) / 2 - 5px, 30ch));
    display: inline-block;
    line-height: 1;
    font-size: 75%;
    float: left;
    position: sticky;
    left: 5px;
    top: 7em;
}
.leftbar > ul,
.leftbar > ul > li,
.leftbar > ul > li > ul,
.leftbar > ul > li > ul > li {
    margin-left: 8px;
    padding-left: 0pt;
    list-style-type: none;
}
.leftbar > ul,
.leftbar > ul > li {
    margin-left: 0px;
    padding-left: 0px;
    margin-bottom: 1ch;
}
.leftbar > ul > li > a,
.leftbar > ul > li > ul > li > a {
    color: #4b4b4b;
}
@media (max-width: 1050px) {
    .leftbar {
        display: none;
    }
}

.toc {
    margin-bottom: 5px;
    color: gray;
}
.toc > a {
    display: inline-block;
    width: 100%;
}
.toc > a:hover {
    color: black;
    text-decoration: underline;
}



.footnotes {
	margin-top: 5em;
	border-top: 1px solid #1a1a1a;
	font-size: 80%;
}

.footer
{
	margin: 5em  auto;
	font-size: 70%;
	text-align: center;
}

#footer-logo{
	margin-left: auto;
	margin-right: auto;
	width: 2em;
}


@media only screen and (max-width: 600px) {

      article {
        font-size: 0.9em;
        padding-left: 1em;
        padding-right: 1em;
        padding-bottom: 1em;
        /* Don't override padding-top - let it keep the 5em from the main rule */
      }

     #header-name{
     	padding-left: 0;
     }

    .letter-closing {
		margin-left: 33vw;
		display: block;
	}

    }