/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	min-height: 100%;
}

body {
	background: $color_white; // Fallback for when there is no custom background color defined.
	min-height: 100%;
}

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

@import "lists";

img {
	height: auto; // Make sure images are scaled correctly.
	max-width: 100%; // Adhere to container width.
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	-o-object-fit: cover;
	object-fit: cover;
	overflow: hidden;
}

figure {
	margin: 1em 0; // Extra wide images within figure tags don't overflow the content area.
}

@import "tables";
