@import url('https://fonts.googleapis.com/css?family=Merriweather');
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC');

body, li p {
	font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
}

h1,h2,h3,h4,h5,h6,header,header.a {
	text-transform: lowercase;
	font-family: 'Alegreya Sans SC', sans-serif;
}

header,header.a{
	font-weight: bold;
}

@media all {
	html {
		font-size: 18px;
	}
	body > * {
		font-size: 100%;
		margin-left: 7.5rem;
		margin-right: 7.5rem;
	}
}
@media all and (max-width:840px){
	html {
		font-size: 17px;
	}
	body > * {
		margin-left: 5.5rem;
		margin-right: 5.5rem;
	}
}
@media all and (max-width:760px){
	body > * {
		margin-left: 2.5rem;
		margin-right: 2.5rem;
	}
}
@media all and (max-width:580px){
	html {
		font-size: 16px;
	}
	body > * {
		margin: 0.7rem 1.5rem 0 1.5rem;
	}
}

/* reset */
* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	padding: 0rem 0em 0rem 0em;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	max-width:1000px;
	min-height: 100%;
	text-rendering: optimizeLegibility;
	-moz-font-feature-settings: 'kern=1';
	-moz-font-feature-settings: 'kern' 1;
	-webkit-font-feature-settings: 'kern' 1;
	-o-font-feature-settings: 'kern' 1;
	-ms-font-feature-settings: 'kern' 1;
	font-feature-settings: 'kern' 1;

	text-rendering: optimizeLegibility;
	-moz-font-feature-settings: 'liga=1';
	-moz-font-feature-settings: 'liga' 1;
	-webkit-font-feature-settings: 'liga' 1;
	-o-font-feature-settings: 'liga' 1;
	-ms-font-feature-settings: 'liga' 1;
	font-feature-settings: 'liga' 1;
}

div.content { 
	display: block; 
	padding: 1rem 0 1rem 0;
}

header {
	display:block;
	padding: 0.5rem 0 0.5rem 0;
	border-bottom: 0.10em solid black;
}

footer {
	display:block;
	padding: 0.5rem 0 5.5rem 0;
}

@media all and (max-width:520px) {
	div.content { 
		padding: 0;
	}
}

h1 {
	display: block;
	font-size: 170%;
	line-height: 1.1;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	padding-top: 0.02em;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

aside {
	font-size: 0.84rem;
	line-height: 1.40;
	color: #667;
}

aside em {
	font-size: 0.7rem;
}

p {
	margin-bottom: 1em;
	line-height: 1.45;
}

ol {
	margin-bottom: 1em;
	padding-left: 1em;
	list-style-type: decimal;
}

ul {
	margin-bottom: 1em;
	padding-left: 1em;
	list-style-type: disc;
}

li {
	line-height: 1.75em;
	margin-left: 0.75em;
}

table { 
	margin-bottom: 1.5em;
	border-collapse: collapse;
	width: 95%;
}

table tr + tr {
	border-top: 1px solid #ccc;
}
table td + td {
	border-left: 1px solid #ccc;
}

table td {
	padding: 0.4em;
	text-align: center;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

table th {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 95%;
	padding: 0.3rem 0.5rem 0.3rem 0.5rem;
	line-height: 1.05;
}

img {
	max-width: 100%;
}

a {
	/* text-decoration: inherit;
	color: inherit; */
	-moz-transition-property: background;
	-webkit-transition-property: background;
	transition-property: background;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
}


div.nav a:active div { 
	background: #cacaca;
}

a:active { 
	color: #777; 
}

a:hover {
	background: #F3F4F4;
	-moz-transition-property: background;
	-webkit-transition-property: background;
	transition-property: background;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
}

p a {
	color: #0366d6;
}

code {
	font-size: 85%;
	margin-bottom: 20px;
	background-color: #F4F4F5;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-o-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

figcaption {
	font-weight: 400;
	font-style: italic;
	font-size: 0.7em/1.52;
	line-height: 1.3;
	color: #666665;
	outline: 0;
	z-index: 300;
	text-align: center;
}

blockquote {
	border-left: 3.5px solid #0594cb;
	margin: 0.7em 10px;
	padding: 0.7em 20px;

}

blockquote p {
	display: inline;
}
