/* DESKTOP STYLESHEET */

* {
	box-sizing: border-box;
}


/* OUTER ELEMENTS */

html {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	font-family: 'Jost', sans-serif;
	line-height: 120%;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	font-size: 1.2em;
	font-weight: normal;
}


/* NAVIGATION */

nav {
	width: 100%;
	z-index: 1;
	margin: 0;
	margin-bottom: 2em;
	background-color: #3ac6d7;
}

nav .container {
	display: flex;
	flex-direction: row;
	align-items: center;
}

nav ul {
	list-style-type: none;
	margin: 0em;
	margin-right: .5em;
}

nav ul li {
	display: inline-block;
}

nav li a {
	color: #ffffff;
	padding: 1em;
	height: 100%;
	margin-bottom:0;
}

nav li a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #e81b23;
	transition: background-color .30s ease-in-out, color .10s ease-in-out;
	-moz-transition: background-color .30s ease-in-out, color .10s ease-in-out;
	-webkit-transition: background-color .30s ease-in-out, color .10s ease-in-out;
	border-radius: 10px;
}

nav img {
	display: block;
	max-width: 175px;
	margin: 1em;
}

/* BLOCKS */

.container {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0;
}

article {
	display: flex;
	flex-wrap: wrap;
	margin: 1em;
	text-align: left;
}

.sidebar {
	border-left: 1px solid grey;
	padding: 1em;
	width: 30%;
	min-width: 300px;
}


.sidebar h2 {
	font-size: 1.5em;
}


.borders {
	border-left: 1px dotted grey;
	padding: 1em;
	padding-left: 0;
}

.borders:first-of-type {
	border-left: 0;
}

.sidebar a,
.borders a {
	margin: 1em 0;
	padding: .5em 0;
	border-bottom: 1px dotted grey;
}

.sidebar a:last-of-type,
.borders a:last-of-type {
	border-bottom: 0;
}

section {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	max-width: 1500px;
	margin: 1em auto;
	border-bottom: 1px solid grey;
}

.column,
.quadcolumn,
.product {
	flex: 1 0 0px;
	padding: 0 1em;
}

.quadcolumn {
	width: 21%;
}

.product {
	display: flex;
	min-width: 510px;
	max-width: 50%;
	text-align: left;
}

.product div {
	width: 50%;
}

.product h3 {
	width: 100%;
	font-size: 1.5em;
	font-weight: bold;
}

.product img {
	max-width: 80%;
	margin: 15px;
	margin-top: 25px;
}

.product a {
	display: inline;
}

.headline {
	flex: 1 0 0px;
	padding: 0 1em;
	margin: 0 auto;
	display: block;
	max-width: 1500px;
}

div {
	margin-bottom: 2em;
}

a {
	flex: 1 0 0;
	display: flex;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	text-decoration: none;
	width: 100%;
	text-align: left;
	color:#000000;
}

.column a {
margin-bottom:1.5em;
}

p a,
ul.text li a {
	display: inline;
	color: #e81b23;
}

p {
	text-align: left;
}

a:hover {
	color: #68bbb8;
	text-decoration: underline;
}

img {
	flex: 1 0 0;
	width: 100%;
}

.solo img {
	max-width: 250px;
}

.sidebyside img {
	width: 100px;
	height: 80px;
	object-fit: cover;
}

.squarethumb img {
	width: 200px;
	height: 200px;
	object-fit: cover;
}

.doublewidth {
	flex: 3 0 0px;
}

.doublewidth img,
.hero img,
.stack img {
	min-width: 100%;
}

.stack {
flex-direction: column;
}

.halfwidth {
	flex: 0 2 0;
}

.hero {
	order: 1;
}

/* TYPOGRAPHY */
h1 {
	font-family: 'Roboto Slab', serif;
	font-size: 2em;
	font-weight: bold;
	text-align: left;
	line-height: 100%;
	margin: 0;
}

h3 {
	flex: 2 0 0;
	font-family: 'Jost', serif;
	font-weight: normal;
	margin: 15px;
	margin-bottom: 5px;
	margin-left: 0;
	margin-top: .5em;
	line-height: 110%;
	font-size: 1.1em;
}

article h3 {
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 1em;
}

h4 {
	display: block;
	margin: 15px;
	margin-top: 0;
	margin-left: 0;
	min-width: 100%;
	font-size: 1.2em;
	line-height: 110%;
	font-weight: normal;
}


article h4 {
	font-family: 'Roboto Slab', serif;
	font-weight: normal;
	font-size: 1.5em;
	text-align: left;
	line-height: 110%;
	margin-top: 1em;
}

h5 {
	font-weight: bold;
	font-size: 1.3em;
	text-align: left;
	line-height: 110%;
	margin-top: 1em;
	margin-bottom: 0;
}


h2,
h3.slugmedium,
h3.slugsmall {
	font-family: 'Roboto Slab', serif;
	font-weight: bold;
	line-height: 110%;
	text-align: left;
	margin-top: .2em;
}

.sidebyside h3,
.solo h3 {
	margin-top: 0;
	margin-left: 15px;
	font-size: 1em;
}

h2 {
	font-size: 2em;
	margin: 0;
	margin-bottom: 15px;
	color: #333333;

}

.doublewidth h3 {
	font-weight: bold;
	font-family: 'Roboto Slab', serif;
	font-size: 2em;
}

.slugsmall {
	font-size: 1.2em;
	margin-top: 15px;
}

.slugsmaller a h3,
.slugsmaller div a h3 {
	font-size: 1em;
	line-height: 115%;
	margin-top: .3em;
	margin-bottom: 1em;
}

span.byline {
	display: block;
	font-weight: normal;
	text-align: left;
	margin-bottom: 1em;
	margin-top: .5em;
}

ul.text {
	list-style-type: disc;
	margin: 0em;
}

ul.text li {
	color: #000000;
	margin-bottom: 1em;
}


/* FOOTER */

footer {
	line-height: 100%;
	width: 100%;
	height: 5em;
	margin: 0px;
	padding-top: 1em;
	padding-bottom: 1em;
	position: relative;
	bottom: 0;
	left: 0;
}

footer p {
	text-align: center;
	font-size: .8em;
	margin: 0 auto;
}


/* VIDEO */

.outerwrapper {
	width: 100%;
	margin: 0px;
	max-width: 100%;
}


.videowrapper {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 */
	padding-top: 0px;

}

.videowrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
