
/* This stylesheet is divided into sections as defined by SMACSS. http://smacss.com/ */

/** || Load WebFonts **/
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), local('OpenSans-Light'), url(/fonts/OpenSans-Light.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans-Regular'), url(/fonts/OpenSans-Regular.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/** || Base Rules **/
html {
	scroll-behavior: smooth;
}

* {
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-family: "Open Sans",sans-serif;
	font-weight: 300;
	font-size: 12pt;
	line-height: 1.25;
	margin: 0;
}

td, th, input, select, textarea, button {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
}



h1, h2, h3 {
	font-weight: 400;
}

h2 {
	font-size: 180%;
	margin-bottom: 0.5em;
}

h3 {
	font-size: 150%;
	font-weight: 400;
	margin: 2em 0 0.5em 0;
}

header {
	color: #ff9900;
	text-align: center;
}
header h1 {
	font-size: 400%;
	line-height: normal;
	margin: 1em 0 0 0;
}

header h2 {
	font-size: 200%;
	line-height: normal;
	margin: 0 0 2em 0;
}

@media (max-width:550px) {
	header h1 {
		font-size: 11.5vw;
	}

	header h2 {
		font-size: 6vw;
	}
}

main {
	display: block;
	position: relative;
}

p {
	margin: 0 0 1.25em 0;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	font-size: 12pt;
	line-height: 1.25;
	break-inside: avoid;
}

q {
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

ul {
	margin: 0 0 0 1.2em;
	padding: 0;
}

li {
	margin: 0;
	padding: 0;
}

a:link,
a:visited {
	color: #0000ee;
}

/** || Layout Rules **/

#container {
	max-width: 960px;
	margin: 0 auto;
	padding-bottom: 1em;
}

main > * {
	padding: 5px 20px;
}
main > picture {
	padding: 0;
}
main > picture img {
	display: block;
	max-width: 100%;
}

header {
	padding:10px;
}

section img {
	display: block;
	margin: 0 auto;
}

.welcome_quote {
	width: 270px;
	margin: 1em auto;
}

.welcome_quote q {
	display: block;
}

@media (min-width:480px) {
	article {
		margin-right: 4em;
	}
	articls h3 {
		margin-top: 1em;
	}
	.products {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.products img {
		flex: 0 0 240px;
	}
	.products article {
		flex: 1 0 calc(100% - 320px);
	}
}

@media (min-width:520px) {
	.welcome_quote {
		float: right;
		clear: right;
		margin: 4.5em 2em 2em;
	}
}

@media (max-width:767px) {
	main {
		overflow: hidden;
	}
}

@media (min-width:769px) {
	.columns {
			columns: 2;
			column-gap: 2em;
	}
}

/** || Module Rules **/
.flash {
	border: 1px solid #333;
	border-left: 0;
	border-right: 0;
	padding: 10px;
	margin-bottom: 10px;
}
.flash.error {
	background-color: #f33;
	border: 2px solid #000;
}
.flash.notice {
	background-color: #ff6;
}
.flash.success {
	background-color: #6f6;
}

button,
[role="button"] {
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #ddd;
	padding: 5px 10px;
	text-decoration: none;
}
button,
[role="button"],
a[role="button"]:link,
a[role="button"]:visited {
	color: #000;
}

.primary {
	background-color: #9f9;
	font-weight: 400;
	border: 4px solid #094600;
}

.cta {
	margin: 20px 0 40px 0;
}

main .cta:first-of-type {
	position: absolute;
	right: 0;
	top: 0;
}

.welcome_quote {
	border: 3px solid #ff9900;
	padding: 1em 1em;
}

#languageSelector {
	text-align: right;
}
#languageSelector li {
	display: inline-block;
	margin: 0 0 0 0.6em;
}
#languageSelector li.selected {
	font-weight: bold;
}
#languageSelector a {
	color: #000;
	text-decoration: none;
}
#languageSelector a:hover {
	text-decoration: underline;
}

/** || State Rules **/


/** || Theme Rules **/

body {
	background-color: #ddd;
}

#container {
	background-color: #fff;
}

@media (min-width:960px) {
	#container {
		border-radius: 2em;
		box-shadow: 0 0 10px #010;
		margin: 20px auto;
	}
}

/** || Print Rules **/
@media print {
	nav,
	button,
	[role="button"] {
		display: none;
	}

	h1, h2, h3 {
		page-break-after: avoid;
	}

	img, p {
		page-break-inside: avoid;
	}

	a:link,
	a:visited {
		color: inherit;
		text-decoration: none;
	}

	#languageSelector,
	.cta {
		display: none;
	}
}
