body {
	font-family: $default-font-family;
	font-feature-settings : 'pwid';
	line-height: $default-line-height;
	background: $default-background-color;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	line-height: $default-line-height;

	> small {
		font-size: 75%;
		font-weight: normal;
	}
}

h1 {
	font-size: 220%;
	line-height: 1.2;
}
h2 {
	font-size: 160%;
	line-height: 1.4;
}
h3 {
	font-size: 140%;
}
h4 {
	font-size: 120%;
}
h5 {
	font-size: 100%;
}
h6 {
	font-size: 80%;
}

p {
	font-size: $default-font-size;
}

hr {
	background-color: #ccc;
	height: 2px;
	border: 0;
}

table {
	border-collapse: collapse;
	border: 1px solid $default-border-color;
	width: 100%;
}
th,
td {
	border-top: 1px solid $default-border-color;
	border-right: 1px solid $default-border-color;
	padding: .4rem;

	tr:nth-child(even) & {
		background: #f8f8f8;
	}
}
th {
	background: #eee;
	font-weight: bold;
}

ul,
ol {
	font-size: $default-font-size;
	margin: 0;
	margin-left: 1.5rem;
}
ul {
	&.unstyled {
		list-style: none;
	}
	&.inline {
		list-style: none;
	}
	&.inline li {
		display: inline;
		padding-right: 2rem;
	}
}
ul ul,
ol ol,
ul ol,
ol ul {
	font-size: 100%;
}
li li {
	font-size: 100%;
}
dl {
	font-size: $default-font-size;
	margin: 0 $default-margin;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 0 .8rem $default-margin;
}
strong {
	font-weight: bold;
}
blockquote {
	background: #f9f9f9;
	color: #959595;
	margin-left: 0;
	padding: .1rem .8rem;
	border-left: 4px solid $default-border-color;

	p:last-child {
		margin: 0;
	}
}

code,
pre,
kbd {
	font-family: Menlo, Monaco, "Courier New", monospace;
	font-size: 100%;
}
pre {
	overflow: auto;
	padding: 1rem;
	background: $code-block-background-color;
	white-space: pre-wrap;
	border: 1px solid $code-border-color;
	border-radius: .2rem;

	code {
		color: inherit;
		background-color: transparent;
		padding: 0;
		border: 0;
	}

	&.wrap {
		white-space: pre;
		white-space: pre-wrap;
		word-break: break-all;
		word-wrap: break-word;
	}
	&.scrollable {
		max-height: 240px;
		overflow-y: scroll;
	}
	&.prettyprint {}

}
code {
	font-family: $code-font-family;
	font-size: $code-font-size;
	background: $code-inline-background-color;
	padding: .2rem;
	border-radius: .2rem;
}
kbd {
	padding: .2rem;
	color: #fff;
	background-color: #333;
	border-radius: .2rem;
}
abbr,
acronym,
dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 $default-margin;
}
ins {
	text-decoration: none;
}
sup,
sub {
	font-size: $default-font-size;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: .5ex;
}
sub {
	top: .5ex;
}
figure {
	img {
		display: block;
	}
	figcaption {
		color: #333;
		font-size: $default-font-size;
	}
}

/* Links */
a {
	color: $default-link-text-color;
	text-decoration: underline;

	&:focus,
	&:active,
	&:hover {
		color: $default-link-hover-text-color;
	}
}

img {
	max-width: 100%;
	height: auto;
}

input,
textarea {
	color: $default-font-color;
	font-size: 100%;
	font-weight: normal;
	line-height: 1.225;
}
textarea {
	line-height: $default-line-height;
}
