/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Averia%20Serif%20Libre&display=swap');

* {
	box-sizing: border-box;
}

html, button, input, select, textarea {
	color: #222;
}

html {
	
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	//	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
	font-size: 1em;
}

audio, canvas, img, video {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
	font: 1.2em/1.6em "Averia Serif Libre";
}

h2 {
	border-top: 1px solid silver;
	padding-top: .75em;
}

h2, h3, h4 {
	font-weight: bold;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-family: "Averia Serif Libre";
}

#submitter {
	text-indent: 0px;
	color: #ffa500;
	font-weight: bold;
}

a, #toc li a {
	text-decoration: none;
	color: olive;
	margin-bottom: 0;
}

#toc li, li  {
		list-style-type: none;
		text-indent: 0px;
		
}  
#toc li::before, li::before  {

content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: olive; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */ 
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
a:hover, #toc a:hover {
	text-decoration: underline;
}
#question {
	text-indent: 0px;
	color: gray;
	font-style: italic;
	font-size: 1em;
	line-height: 1.3em;
max-width: 80%;
orphans: 4;
	padding-bottom: 4px;
	padding-top: 4px;
}
#answer {
	margin-left: 3em;
	text-indent: 0px;
	padding-bottom: 1em;
}

article h3 {
	margin-bottom: 0px;
	padding-bottom: 0px;
	color: olive;
}

p, article p {
	padding: 0;
	margin: 0;
	text-indent: 3em;
}

article #first {
	text-indent: 0em;
}

.return a:hover, .return a {
	color: navy;
	text-decoration: none;
	background-color: #e8e53f;
	text-indent: 0px;
	font-size: 15px;
	padding: 15px 15px 12px 15px;
	text-transform: uppercase;
	border-radius: 5px;
	box-shadow: 5px 5px 5px gray;
	bottom: 10px;
	position: fixed;
	margin: 0 auto;
	
	right: 10px;
	width: 10em;
	line-height: 1em;
}

.return a:hover {
	box-shadow: 3px 3px 3px gray;
}

.main-container img, video {
	box-shadow: 5px 5px 10px silver;
	margin: 1em 0;
}

article h4 {
	padding-bottom: 0;
	margin-bottom: 0;
	color: olive;
}

#damaris p {
	text-indent: -6em;
	margin-left: 6em;
}

#author {
	margin-top: 2em;
	text-indent: 0;
}

#date {
	font-family: "Averia Serif Libre";
	font-style: italic;
	margin-top: 0;
	text-align: right;
}

.wrapper {
	width: 90%;
	margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
	border-bottom: 2px solid #e44d26;
	padding-top: 0px;
}
.header-container .responsive {
	
  width: 100%;
  height: auto;
	width: 100%;
	max-width: 1920px;
}
.header-container {
	box-shadow: none;
}
.footer-container, .main aside {
	border-top: 20px solid #e44d26;
}

.header-container, .footer-container, .main aside {

}

.main-container {
	background: white;
}

.title {
	color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
	margin: 0;
	padding: 0;
}

nav a {
	display: block;
	margin-bottom: 10px;
	padding: 15px 0;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: white;
	background: #e44d26;
}

nav a:hover, nav a:visited {
	color: white;
}

nav a:hover {
	text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
	padding: 30px 0;
}

.main article h1 {
	font-size: 2em;
}

.main aside {
	color: white;
	padding: 0px 5% 10px;
}

.footer-container footer {
	color: white;
	padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
	padding-top: 20px;
}

@media only screen and (min-width: 480px) {
	/* ====================
	    INTERMEDIATE: Menu
	   ==================== */
	
	nav a {
		float: left;
		width: 27%;
		margin: 0 1.7%;
		padding: 25px 2%;
		margin-bottom: 0;
	}
	
	nav li:first-child a {
		margin-left: 0;
	}
	
	nav li:last-child a {
		margin-right: 0;
	}
	
	/* ========================
	    INTERMEDIATE: IE Fixes
	   ======================== */
	
	nav ul li {
		display: inline;
	}
	
	.oldie nav a {
		margin: 0 0.7%;
	}
}

@media only screen and (min-width: 768px) {
	/* ====================
	    WIDE: CSS3 Effects
	   ==================== */
	
	.header-container, .main aside {
		-webkit-box-shadow: 0 5px 10px #aaa;
		-moz-box-shadow: 0 5px 10px #aaa;
		box-shadow: 0 5px 10px #aaa;
	}
	
	/* ============
	    WIDE: Menu
	   ============ */
	
	.title {
		float: left;
	}
	
	nav {
		float: right;
		width: 38%;
	}
	
	/* ============
	    WIDE: Main
	   ============ */
	
	.main article {
		float: none;
		width: 80%;
		margin-right: auto;
		margin-left: auto;
		background-color: white;
	}
	
	.main aside {
		float: right;
		width: 28%;
	}
}

@media only screen and (min-width: 1140px) {
	/* ===============
	    Maximal Width
	   =============== */
	
	.wrapper {
		width: 1026px; /* 1140px - 10% for margins */
		margin: 0 auto;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */


.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
    *
	text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a, a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}
	
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group;
	}
	
	tr, img {
		page-break-inside: avoid;
	}
	
	img {
		max-width: 100% !important;
	}
	
	    @page {
	margin: 0.5cm;
	}
	
	    p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 {
		page-break-after: avoid;
	}
}

section {
	clear: both;
}

.caption {
	width: 100%;
	font-style: italic;
	margin: 30px 0 10px 0;
	font-size: .8em;
	line-height: 1.1em;
	padding-right: 4em;
	text-indent: 0;
}

.imgrow {
	display: -ms-flexbox; /* IE10 */
	display: flex;
	-ms-flex-wrap: wrap; /* IE10 */
	flex-wrap: wrap;
	padding: 0 14px;
}

/* Create four equal columns that sits next to each other */

.img3column {
	-ms-flex: 33%; /* IE10 */
	flex: 33%;
	max-width: 33%;
	padding: 0 4px;
}

.img1column {
	-ms-flex: 100%; /* IE10 */
	flex: 1050%;
	max-width: 100%;
	padding: 0 4px;
}

.img2column {
	-ms-flex: 50%; /* IE10 */
	flex: 50%;
	max-width: 50%;
	padding: 0 4px;
}

.imgcolumn img, .img2column img, .img1column img {
	margin-top: 8px;
	vertical-align: middle;
	width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
	.img3column {
		-ms-flex: 50%;
		flex: 50%;
		max-width: 50%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
	.img2column, .img3column {
		-ms-flex: 100%;
		flex: 100%;
		max-width: 100%;
	}
}
