﻿* {		
	margin: 0;
	padding: 0;
	}

a { text-decoration: none; }	
a:hover { border-bottom: 1px solid #ccc; } 		

body {
	background-color: white;
	}

header {
	background: #000;
	background-size: 23.94em 4.39em;
	padding: 1.5rem 0;						
	margin: 0 auto;
	}

header img {
	width: 200px;
	height: auto;
	}

.article-header {				
	padding: 2.5rem 0;
	margin: 0 auto 2.5rem;
	background: #eee;
	}

.article-header h2.title small,
ul.crossref li small {
	margin-left: 0.25em;
	font-weight: 300 !important;
	font-size: inherit !important;
	color: #aaa !important;
	}

.content { max-width: 42rem; margin: 0 auto; padding: 0 15px; }
.content h3 { margin: 0 !important; }

article {
	max-width: 42rem; 			
	margin: auto;
	margin-bottom: 5.5rem;
	padding: 0 15px;
	}

h1 {
	color: #777;
	max-width: 45rem;
	margin: auto;
	margin-top: 2.5em;
	margin-bottom: 2.5em;
	text-transform: uppercase;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 1.5em;
	}

h2 {
	color: #444;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 3em;					
	margin-bottom: 0.5em;			
	}

h3 {
	color: #777;
	margin-bottom: 2em;
	font-family: 'Spectral', serif; 	
	font-style: italic;		
	font-weight: 300;
	font-size: 1.25em;			
	}

h3.institution {		
	font-size: 80%;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-top: 0.25em;
	}

h4 {
	color: #444;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 1.25em;
	margin-bottom: 0.5em;
	}

p {
	color: black;
	text-align: left;
	font-family: 'Times New Roman', serif;
	font-size: 18px;
	line-height: 150%;
	}

p+p {
	margin-top: 1em;
	}

p+h4 {
	margin-top: 2em;
	}

blockquote {
	color: black;
	text-align: left;
	margin: 1em 4em;
	font-size: 16px;
	line-height: 125%;
	}

sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
	color: black;
	font-size: .75em;
	}

sub {
	top: 0.4em;
	}

li + li {
	margin-top: 0.5rem;
	}

ol.toc {
	color: black;
	width: auto;
	border: 1px solid #ccc;
	margin: 2em 0;
	padding: 1.5em 3em;
	font-size: 18px;
	line-height: 125%;
	border-radius: 10px;
	}

ol.endnotes + h4,
ul.crossref + h4 {
	margin-top: 1.5em;
	padding-top: 1.5em;
	border-top: 1px solid #ccc;
	}

img {
    max-width: 100%;            				/* added */
}

figure {
    display: block;         		      		/* added */
    max-width: 66%;			                  	/* added */
    margin: auto;	                  			/* added */
    padding: 1.5em;
}

figure figcaption {
	margin-top: 0.5em;
    text-align: center;	                  		/* added */
    font-size: 14px;	                  		/* added */
    color: #999;
    font-family: 'Roboto', sans-serif;
}

figure.tall {
    max-width: 50%;	                  			/* added */
    margin: auto;	                  			/* added */
}

figure.grid {
    display: table;	                  			/* added */
    margin: 0 auto 1.5em;
}

figure.grid .grid-row {
    display: table-row;	                  		/* added */
}

figure.grid .grid-row .grid-cell {
    box-sizing: border-box;	                  	/* added */
    padding: 0.5em;	                  			/* added */
    width: 50%;	                  		    	/* added */
    display: table-cell;	                  	/* added */
    vertical-align: middle;	                  	/* added */
}

figure.grid figcaption {
	margin-top: 0 !important;
    display: table-caption;	                  	/* added */
    caption-side: bottom;	                  	/* added */
}


/* Excursus Box */

.excursus {
	background-color: #eee;
	width: 100%;
	color: #444;
	cursor: pointer;
	padding: 1em;
	margin: 2em 0 0 0;
	border: 0px !important;
	/* border: 1px solid rgba(0,0,0,0.1); */
	text-align: left;
	outline: none;
	font-family: 'Roboto', sans-serif;
	transition: 0.4s;
	border-radius: 10px;
	position: relative;
	}

.excactive, .excursus:hover { background-color: blue; }	

.excursus:after {
	content: '\002B';
	color: blue;
	font-family: 'Roboto', sans-serif;
	line-height: 22px;
	font-size: 22px;
	font-weight: bold;
	float: right;
	max-width: 5%;
	margin-left: 5px;
	transition: 0.4s;
	}

.excactive:after, .excursus:hover::after { color: white; transform: rotate(45deg); }

.excactive {
	margin-bottom: 0em;
	border-bottom: 0;		
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	}

.excpanel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	background-color: #eee;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	/* border-left: 1px solid rgba(0,0,0,0.1);
	border-right: 1px solid rgba(0,0,0,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.1); */
	border-radius: 10px;
	position: relative;
	margin-bottom: 2em;
	}

.excnumber {
	text-align: left;
	color: #444;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 1.1em;
	font-weight: 450;
	margin-bottom: .5em;
	text-transform: uppercase;	
	letter-spacing: 1px;	
	}

.exctitle {
	float: left;
	display: inline-block;
	max-width: 95%;
	color: #444;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 125%
	}

.excactive .exctitle, .excursus:hover .exctitle { color: white; }

aside {
	margin: 0;
	padding: 1em;
	text-align: left;
	font-family: 'Roboto', sans-serif;
	color: #333;
	}

.paside {
	font-size: 16px;	
	line-height: 150%;	
	text-align: left;
	font-family: 'Roboto', sans-serif;
	color: #333;
	}

.blockquoteaside {
	font-size: 14px !important;
	line-height: 125% !important;
	}

ol.aside-endnotes {
	list-style-type: lower-roman;
	border-top: 1px solid #ccc;
	padding: 1.5em 1.5em .5em;
	margin-top: 1.5em;
	color: #999;
	font-size: 14px;
	}


/* Endnotes */

ol.endnotes {
 	margin-top: 3rem;
	margin-left: 0;
	margin-right: 0;
	padding-top: 1.5rem;
	padding-left: 1.1em;
	border-top: 1px solid #ccc;
	color: #444;
	font-size: 16px;
	line-height: 125%;							
	}

/* Cross References */

ul.crossref { line-height: 150%; }
ul.crossref li { list-style-type: none; display: inline; text-transform: uppercase; }
ul.crossref li small { text-transform: none !important; }
ul.crossref li::after { content: ","; }
ul.crossref li:last-child::after { content: ""; }
ul.crossref li small::before { content: "("; }
ul.crossref li small::after { content: ")"; }

/* Works Cited */

ul.workscited li {
	list-style-type: none;
	text-indent: -1.5em;
	padding-left: 1.5em;
	}
ul.workscited li + li {
	margin-top: 1em;
	}
	
	
	
/* Back to the top */

a.back-to-top {
	position: fixed;
	bottom: 0;
	right: 0;
	margin-right: 25px;
	margin-bottom: 25px;
	padding: 0.5em 1em;
	background: rgba(0,0,255,0.1);
	border: 1px solid blue;
	border-radius: 15px;
	color: blue;
	font-weight: bold;
	font-family: 'Roboto', sans-serif;
}

a.back-to-top:hover {
	color: white;
	border: 0;
	background: rgba(0,0,255,1);
}