a.link:hover, a.link:active {
    text-decoration: underline;
}

a.link:visited, a.link:link {
    color: orange;
  }

body {
    font-family: Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif;
    text-align: left;
    padding: 0;
    font-size: 1.1em;
}
strong { font-weight: bold; }

header {
    background: black;
    color: orange;
    padding: 20px;
    
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
li {
    display: inline-block;
    margin-right: 20px;
}

section {
    background: white;
    color: black;
    line-height: 1.8;
    /* font-size: 1.25em; */
}

p.index {
    margin-right: 50%;
}

section.normal-body {
    text-align: center;
    margin: 0% 10%;
}

a.footnote:visited, a.footnote:link {
    color: orange;
  }
span.blockspam {
    display: none;
  }

footer {
    background-color: black;
    color: orange;
    padding: 20px;
    display: flex;
    padding: 20px;
}

table, th, td {
    text-align: center;
    text-align: left;
    border:1px solid black;
    margin: 0% 10%;
  }

  table.latin, th.latin, td.latin {
    border: none;
  }

img {
    width: 100%;
}

img.inline {
    width: 10%;
    vertical-align: middle;
}

figure {
    text-align: center;
    display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

div.profile {
    width: 100%;
    max-width: 150px;
    object-fit: cover;
    vertical-align: middle;
}

div.wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 3.5rem;
}

div.intro {
    flex: 1;
}

div.footer {
    margin: auto;
}

section.images {
    text-align: left;
    display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}

section.bib {
    text-align: left;
    margin: 0% 20%;
}


section.Pentfoot {
    text-align: left;
    margin: 0% 5%;
    overflow-wrap: break-word
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 40%;
  }

  .sidenoteBox {
	float: right;
}
.sidenoteInner { 
	width: 12em;
	line-height: 1.2em;
	font-size: .9em;
	padding: .5em;
	margin: 1em -15em 0 1em;
    position: relative; bottom: 50px
	}
	
.sidenote_link {
	padding: 0 .3em;
}

.sidenote_color0 {
			border: 1px solid #318484;
			background-color: #D1E8E8;
		}
.sidenote_color1 {
			background-color: #FFF6A9;
			border: 1px solid #F2D700;
		}
.sidenote_color2 {
			background-color: #FFCFCF;
			border: 1px solid #FF3535;
		}
.sidenote_color3 {
			background-color: #CEFFCE;
			border: 1px solid #039B00;
}

.sidenote_color0_hilite {
			border: 1px dashed black;
			background-color: #D1E8E8;
		}
.sidenote_color1_hilite {
			background-color: #FFF6A9;
			border: 1px dashed black;
		}
.sidenote_color2_hilite {
			background-color: #FFCFCF;
			border: 1px dashed black;
		}
.sidenote_color3_hilite {
			background-color: #CEFFCE;
			border: 1px dashed black;
}
.falloutofweek {
			line-height: 1.3em; 
			border: 1px solid #318484; 
			background-color: #D1E8E8; 
			padding: .5em; 
			text-align: center;
}
.boxedfallout {
			line-height: 1.3em; 
			border: 1px solid black; 
			padding: .5em; 
			text-align: center;
}
.unboxedfallout {
			line-height: 1.3em;
}

#toggle {
	text-decoration: none;
	font-size: .75em;
	background-color: orange;
	width: 110px;
	height: 19px;
	display: block;
	padding: .4em .4em .4em .7em;
	margin-bottom: 1em;
	color: #222;
}

@media only screen and (max-width: 1100px) {
  
    .sidenoteInner { 
        width: 12em;
        line-height: 1.2em;
        font-size: .9em;
        padding: .5em;
        margin: 1em 0em 0 1em;
        position: relative; bottom: 0px;
        }

        .sidenoteBox {
            float:right;
        }

    section.bib {
        text-align: left;
        margin: 5%;
    }

    p.spoiler {
        text-align: center;
        text-align: left;
        margin: 5%;
    }


    p.index {
        margin-right: 0%;
    }

    section.brideshead-section.footnote {
        overflow-wrap: break-word

    }

    img.inline {
        width: 20%;
        vertical-align: middle;
    }
} 

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

    div.profile {
        width: 100%;
        max-width: 200px;
        object-fit: cover;
        vertical-align: middle;
    }

    figcaption {
        margin-left: 5%;
      margin-right: 5%;
        text-align: center;
        font-size: 0.9em;
    }

    img {
        width: 90%;
        display: block;
      margin-left: auto;
      margin-right: auto;
    }

    img.lily {
        width: 100%;
        display: block;
      margin-left: auto;
      margin-right: auto;
    }

    img.gif {
        display: block;
      margin-left: auto;
      margin-right: auto;
        width: 80%;
    }

    table, th, td {
        text-align: top;
        vertical-align: top;
        border:1px solid black;
        margin: 0% 10%;
        border: none;
      }

      .sidenoteInner { 
        font-size: .7em;
        }
    
}