*   
{ 
	padding: 0;
	margin: 0;
}

html, body 
{
  margin: 0 auto;
  height: 100%;
  
}

body 
{
	display: flex;
	flex-direction: column;
	justify-content:center;
	/*max-width:37em;*/
	max-width:32em;
	text-align:justify;
	background-color:#fcfff6;
	color:#000;
	font-family: Palatino Linotype, book antiqua, bookman, MattAntique BT, MattAntique, goudy, bookman, serif;
}

header
{
	flex: none;
	background: #fbf9ee;
	height:6.5em;
}

main 
{
	overflow-y: scroll;
	flex: auto;
	border: 1em, 0;
	flex-wrap:wrap;
}

main p	
{
	width:86%;
	margin: 0 auto 0 1.9em;	
	font-size:104%;
	line-height:125%;
	text-align:justify;
	text-indent:1em;
	letter-spacing:.03em;
}
		
nav 
{
	background-color: #fbf9ee;
	/*border-left: 1px solid #ccc;*/
	height: 3em;
	top: 0;
	font-family: MattAntique BT, MattAntique, Palatino Linotype, book antiqua, bookman, Garamond, serif;
	font-variant:small-caps;
}	

nav ul
{
	height: 100%;
}

nav ul li
{
	list-style-type: none;
	width:20%;
	float: left;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	font-size:140%;
	line-height: 170%;
	/*background-color:#00b359;*/
	background-color:grey;
	font-weight: bold;
}

nav ul li a
{
	text-decoration: none;
	color: black;
	display: block;
}

nav ul li a:hover
{
	background-color: silver;
	color: white;
}

nav ul li a:focus		 
{
    /*outline: 2px solid purple;*/  
	outline: 2px solid black;  
	color: transparent;   
	/*text-shadow: 0 0 0 purple;*/
	text-shadow: 0 0 0 #fbf9ee;
	&:focus 
	{
      outline: none;
	}	
}

p+p	
{
	text-indent:1em;
	margin-top:0;
	margin-bottom:.5m;
}

sup
{
	font-style:italic;
	font-size:100%;
	line-height:0;
	position:relative;
	vertical-align:baseline;
	top:-0.5em;
}

sup a
{
	text-decoration: none; 
	/*color: purple;*/
	color: black;
	font-weight: bold;
}

sup a:focus		 
{
    /*outline: 2px solid purple;   */
	outline: 2px solid black;   
}

h3, h4, h5
{
	margin:1em auto;
	font-variant:small-caps;
	font-weight:normal;
	text-align:center;
	letter-spacing:0.07em;
}

.headx 
{
	margin-top:3em;
	margin-bottom:1.5em;
}

.booklist-ins ul 
{
	padding-left: 5em;
	margin-top:.5em;
	margin-bottom:1em;
	text-decoration: none;
}

.booklist-ins ul a 
{
	text-decoration: none;
	color:black;
}

.booklist-ins ul a:hover 
{
	background-color: #fcfff6;
	color:purple;
}

.contentslist ul 
{
	height:normal;
}

.contentslist ul li
{
	list-style-type: none;  
	color: navy; 
	font-family: Courier, monospace;
	font-weight:normal;
}

.contentslist ul li a
{
	text-decoration: none; 
	color: navy; 
	font-family: Courier, monospace;
	font-weight:normal;
}

.contentslist ul li a:hover
{
	background-color: #fcfff6;
	color: purple;
}

.footnote
{
	margin-bottom:.5em;
}

.footnoteinline
{
	font-family:arial, helvetica, sans-serif;
	font-size:60%;
}

.footnote-sans
{
	font-family: arial, helvetica, sans-serif;
	font-size: 60%;
}

.footx
{
	width:86%;
	margin: 1em auto 10em 1.9em;
}

.footnav 
{
    background-color: #fcfff6;
	height: 3em;
	bottom: 0;
	
}    
.footnav ul
{
	height: 3em; 
	margin: 0 auto;  
}

.footnav ul li
{
	list-style-type: none;  
	width: 9.4em; 
	float: left; 
	text-align: center;
}

.footnav ul li a
{
	text-decoration: none; 	
	color: purple; 
	line-height: 3em; 
	display: block; 
	font-family: Courier, monospace;
	font-weight:bold;
	font-size: 104%;
	font-style:normal;
}

.footnav ul li a:hover
{
	background-color: #fcfff6;
	color: black;
}

.footnav ul li a:focus		 
{
    outline: 2px solid purple;   
}

.contentslist ul li a:focus		 
{
    outline: 2px solid purple;   
}

.booklist-ins ul a:focus 
{
	outline: 2px solid purple;
}

