﻿@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after {
	clear: both;
}
.clear:before,
.clear:after {
	display: table;
	content: "";
}


/* Responsive images */
img {
	max-width: 100%;
	height: auto;
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Images */
.fll,
.flr,
.img-cen {
	display: block;
	margin: 1em auto;
}
.icon {
	vertical-align: middle;
	padding-right: 3px;
}

/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */
html {
	font-size: 100%;
	min-height: 100%;
}
body {
	font-size: 105%;
	min-height: 100%;
	line-height: 1.6;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #000;
}
a {
	outline: none;
	color: #293896;
}
a:visited {
	color: #293896;
}
a:hover {
	color: #ED1C24;
}
a:focus,
a:active {
	color: #ED1C24;
}

/* Masthead */

#branding {
	background: #fff;
	text-align: center;
	padding: 3.5em 1em;
}
#branding img {
	display: inline;
	width: 800px;
}
#subheading {
	background: #7aa2b4;
	padding: 1.5em;
	color: #fff;
}
#subheading a, #subheading a:visited {
	color: #fff;
}
#subheading a:hover, #subheading a:active {
	color: #000;
}
.subheading-content {
	max-width: 900px;
	margin: 0 auto;
}
.subheading-img img {
	display: block;
	margin: 1em auto;
}
#subheading h1 {
	text-transform: uppercase;
	font-size: 1.5em;
	line-height: 1.4;
	margin: 0 0 .1em 0;
	letter-spacing: 1px;
}

/* =Main content 
-------------------------------------------------------------- */

p {
	margin: 0 0 .6em;
	letter-spacing: 1px;
}
embed,
iframe,
object,
video {
	margin-bottom: 1em;
}
#filler {
	min-height: 360px;
	background: url(images/coffee-and-book-mob.jpg) no-repeat center top;
}

/* =Media queries
-------------------------------------------------------------- */

@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	
	html, body {
		height: 100%;
		min-height: 0;
	}
	.fll {
		float: left;
		margin: 0 1em 1em 0;
		max-width: 50%;
	}
	.flr {
		float: right;
		margin: 0 0 1em 1em;
		max-width: 50%;
	}
	#wrapper {
		height: 100%;
		display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
		display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
		display: -ms-flexbox; /* TWEENER - IE 10 */
		display: -webkit-flex; /* NEW - Chrome */
		display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
		-ms-flex-direction: column;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	#branding {
		-webkit-flex-shrink: 0;
		-moz-flex-shrink: 0;
		flex-shrink: 0;
	}
	#subheading {
		height: auto;
		-webkit-flex-shrink: 0;
		-moz-flex-shrink: 0;
		flex-shrink: 0;
	}
	#filler {
		min-height: 0;
		background: url(images/coffee-and-book.jpg) no-repeat center top;
		background-size: cover;
		-webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
		-moz-box-flex: 1; /* OLD - Firefox 19- */
		-webkit-flex: 1; /* Chrome */
		-ms-flex: 1; /* IE 10 */
		flex: 1; /* NEW, */		
	}
	.subheading-text {
		display: inline-block;
		width: 58%;
		vertical-align: middle;
		margin-right: 8%;
	}
	.subheading-img img {
		margin: 0;
	}
	.subheading-img {
		display: inline-block;
		width: 32%;
		vertical-align: middle;
		margin: 0;
	}

	
}

/* Minimum width of 768 pixels. */
@media screen and (min-width: 768px) {

	body {
		font-size: 100%;
	}
}

/* Minimum width of 1100 pixels. */
@media screen and (min-width: 1100px) {

	body {
		font-size: 115%;
	}

}


/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		color: #000;
		font-size: 11pt;
	}
	a[href^=http]:after {
		content:" [" attr(href) "] ";
	}
	a[href^=mailto]:after {
		content: "";
	}
	a[href^="#"]:after {
		content: "";
	}
	img {
		page-break-inside: avoid;
	}
	h2, h3 {
		page-break-after: avoid;
	}
	
	a {
		text-decoration: none;
	}
	
	img.fll {
		float: left;
		margin: .5em 1.5em .5em 0;
		max-width: 50%;
	}
	img.flr {
		float: right;
		margin: .5em 0 .5em 1.5em;
		max-width: 50%;
	}
	

}