html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: $color__background-body; /* Fallback for when there is no custom background color defined. */
	background-size: 50px auto;
}

body.user-background {
	background-size: auto auto;
}

blockquote, q {
	color: $color__primary;
	font-family: $font__heading;
	font-style: italic;
	font-size: $font__size-h5;
	quotes: "" "";

	&:before,
	&:after {
		content: "";
	}

	blockquote {
		font-size: inherit;
	}
}

hr {
	background-color: $color__background-hr;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 1.5em;
	padding-left: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: .75em;
	padding-left: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

td,
th {
	border-bottom: 1px solid $color__mid-grey;
	padding: 5px 3px;
}

th {
	border-bottom: 3px solid $color__mid-grey;
}