/* UPDATE THEMESWITCH.JS WITH THE RIGHT SERVER FOR STYLE_DOMAIN */
/* FLEX CONTAINER WIDTH DETERMINES PAGE WIDTH OVERALL */
/* COLORS */
/* rgb(8,29,68);  deep navy */
/* rgb(203,205,217); pale blue */
/* rgb(255,250,250); light peach */
/* rgb(220,70,10); blood orange */

/* CUSTOM */

.flex-container {
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	width: 30em;
	margin: auto;
}

.tab {
	margin-left: 5%;
}

.doubletab { 
	margin-left: 11%;
}

.button {
    background-color: rgba(0,0,0,0);
    border: none;
    color: rgba(0,0,0,0);
    padding: 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1px;
    margin: 0px 0px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.buttonlight {
    background-color: rgba(255,255,255,0.35); 
    border: 2px solid rgb(51,51,51);
}

.buttonlight:hover {
    background-color: rgb(253,253,253); 
}

.buttondark {
    background-color: rgba(89,89,89, 0.35); 
    border: 2px solid rgb(51,51,51);
}

.buttondark:hover {
    background-color: rgb(65,65,65);
}

.toc {
	-webkit-order: 3;/
	order: 3;
	padding: 1%;
	width: auto;
	text-align: left;
}

/* NORMAL */

body {
	font-family: Neuton;
	font-size: 110%;
	color: rgb(255,250,250);
	background-color: rgb(8,29,68);
}

a:link {
	color: rgb(220,70,10);
	background-color: transparent;
	text-decoration: none;
}

a:visited {
	color: rgb(220,70,10);
	background-color: transparent;
	text-decoration: none;
}

a:hover {
	color: rgb(220,70,10);
	background-color: rgba(203,205,217,0.1);
	text-decoration: underline orange;
	outline: 0;
}

a:active {
	color: rgb(203,205,217);
	background-color: transparent;
	text-decoration: none;
	outline: 0;
}

header {
	-webkit-order: 1;
	order: 1;
	text-align: center;
	padding: 1%;
	width: auto;
}

nav {
	-webkit-order: 2;
	order: 2;
	text-align: center;
	font-family: sans-serif;
	font-size: 90%;
	width: auto;
}

.epigraph {
        -webkit-order: 4;
        order: 4;
        font-family: EB Garamond, serif;
	font-size: 95%;
	padding: 1%;
	width: 70%;
	line-height: 120%;
	text-align: left;
	color: rgb(255,250,250);
	background: rgba(220,70,10,0.65);
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}

section {
        order: 8;
	padding: 1%;
}

article {
	-webkit-order: 9;
	order: 9;
	padding: 1%;
	width: auto;
	text-align: left;
}

footer {
	-webkit-order: 10;
	order: 10;
	text-align: center;
	font-family: sans-serif;
	font-size: 90%;
	padding: 1%;
	width: auto;
	padding-bottom: 30px;
}

.footnotetitle {
	font-size: 85%;
	line-height: 55%;
}

.footnotes {
	font-family: sans-serif;
	font-weight: 400;
	font-size: 80%;
	font-style: italic;
}

h1 {
	font-family: "Contrail One";
	font-size: 200%;
	text-align: center;
}

h2 {
	font-family: "Contrail One";
	font-size: 170%;
	text-align: center;
}

h3 {
	font-family: "Contrail One";
	font-size: 100%;
}

h4 {
	font-family: "Inknut Antiqua";
	font-size: 100%;
	text-align: center;
}

h5 {
	font-family: "Inknut Antiqua";
	font-size: 85%;
	text-align: left;
	line-height: 16px;
}

h6 {
}

hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	padding: 0;
	width: 30em;
	border-color: rgb(235,192,148);
}

blockquote {
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
	line-height: 100%;
	text-align: left;
}

img {
		display: flex;
		width: 30em;
		height: auto;	
}

img.noflex {
	width: 20px;
	height: 20px;
	vertical-align: text-bottom;
	display: inline;
}

.qb {
	text-align: center;
	font-style: bold;
}
