/* Resets */
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 {
	font-size: 100%;
	font: inherit;
	padding: 0;
	border: 0;
	margin: 0;
	vertical-align: baseline;
}

table { 
	border-collapse: collapse;
	border-spacing: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

.clear {
	clear: both;
}

body {
	color: #555;
	font-family: 'lato', Helvetica, Arial, "Lucida Grande", sans-serif;
	-moz-font-feature-settings: "calt", "liga", "clig", "kern";
	-moz-font-feature-settings: "calt=1, liga=1, clig=1, kern=1";
	-ms-font-feature-settings: "calt", "liga", "clig", "kern";
	-o-font-feature-settings: "calt", "liga", "clig", "kern";
	-webkit-font-feature-settings: "calt", "liga", "clig", "kern";
	font-feature-settings: "calt", "liga", "clig", "kern";
    font-size: 16px;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

/* Typefaces */
@font-face {
	font-family: 'lato';
	src: url('../fonts/Lato-Regular.eot');
	src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Lato-Regular.eot') format('embedded-opentype'),
         url('../fonts/Lato-Regular.woff2') format('woff2'),
         url('../fonts/Lato-Regular.woff') format('woff'),
         url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
	font-family: 'lato-italic';
	src: url('../fonts/Lato-Italic.eot');
    src: url('../fonts/Lato-Italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Lato-Italic.eot') format('embedded-opentype'),
         url('../fonts/Lato-Italic.woff2') format('woff2'),
         url('../fonts/Lato-Italic.woff') format('woff'),
         url('../fonts/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
	font-family: 'lato-bold';
	src: url('../fonts/Lato-Bold.eot');
    src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Lato-Bold.eot') format('embedded-opentype'),
         url('../fonts/Lato-Bold.woff2') format('woff2'),
         url('../fonts/Lato-Bold.woff') format('woff'),
         url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

b, strong {
	font-family: 'lato-bold', Helvetica, Arial, "Lucida Grande", sans-serif;
}

em, i {
	font-family: 'lato-italic', Helvetica, Arial, "Lucida Grande", sans-serif;
}

.small-caps {
	-ms-font-feature-settings: "smcp";
    -moz-font-feature-settings: "smcp";
    -webkit-font-feature-settings: "smcp";
    font-feature-settings: "smcp";
}

/* Header styles */
.logo img {
	cursor: pointer;
	float: left;
	height: 3rem;
	height: 48px;
	padding: 1rem
	padding: 16px;
}

nav {
	height: 3rem;
	height: 48px;
	line-height: 3rem;
	line-height: 48px;
	white-space: nowrap;
}

nav ul li {
	float: left;
	list-style: none;
	position: relative;
}

nav ul li a {
	color: #717A85;
	text-decoration: none;
}

nav ul li a:hover, footer ul li a:hover {
	color: #717A85;
}

nav ul ul {
	background-color: #fff;
	border: 1px solid;
	display: none;
	left: 0;
	padding: 1rem;
	position: absolute;
	top: 100%;
}

nav ul li:hover > ul {
	display: block;
	z-index: 1;
}

nav ul ul li {
	line-height: 2;
	width: 12.5rem;
	width: 200px;
}

nav ul ul li:hover a {
	text-decoration: underline;
}

nav .btns li {
	padding: 0 0 0 1rem;
}

/* Main content block */
h4 {
	text-transform: uppercase;
}

/* Hero block */
.hero .btn {
	display: block;
	float: left;
}	

/* Products  block*/
section h2 {
	letter-spacing: 1px;
}

section h2 span {
	display: inline-block;
	position: relative;
}

section h2 span:before, section h2 span:after {
    border-top: 1px solid;
    content: "";
    height: 1px;
    position: absolute;
    top: 55%;
    width: 50px;
}

section h3 {
	margin-bottom: 1rem;
	margin-bottom: 16px;
}

section p {
	margin-bottom: 1rem;
	padding: 0 1rem 0 0;
}

.image img {
	width: 100%;
}

.center {
	text-align: center;
}

/* Footer styles */
footer {
	border-top: 4px double;
	padding: 2rem 0;
	width: 100%;
}

footer a {
	color: #555;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer ul {
	float: left;
	list-style: none;
	position: relative;
}

/* Buttons */
.btn {
	border-radius: 3px;
	border: 1px solid;
	color: #717A85;
	padding: 1rem 1.25rem;
	padding: 16px 20px;
	text-decoration: none;
}

.btn-small {
	border-radius: 3px;
	border: 1px solid;
	padding: .5rem .75rem;
	padding: 8px 12px;
}

.btn:hover, .btn-small:hover {
	background-color: #0D71BD;
	border: 1px solid #717A85;
	color: #fff;
}


/* Media queries */
/* Phones */
@media all and (min-width: 320px) {
	body {
		margin: 0 auto;
		max-width: 43.75rem;
		max-width: 310px;
	}
	
	header {
		margin: 1rem auto;
		margin: 16px auto;
		width: 100%;
	}
	
	nav ul {
		clear: both;
	}
	
	nav ul li {
		padding: 0 1rem 0 0;
		padding: 0 16px 0 0;
	}
	
	nav .btns li:first-child {
		padding: 0;
	}
	
	h1 {
		font-size: 1.75rem;
		font-size: 28px;
	}
	
	h2 {
		font-size: 1.75rem;
		font-size: 28px;
		margin: 2rem 0 0 0;
		margin: 32px 0 0 0;
	}
		
	h3 {
		font-size: 1.5rem;
		font-size: 24px;
		padding-top: 1rem;
	}
	
	.hero h1 {
		float: left;
		margin: 2rem 0 1rem 0;
		margin: 32px 0 16px 0;
		max-width: 100%;
	}
	
	.hero img {
		margin: 1rem 0 0 0;
		margin: 16px 0 0 0;
		max-width: 100%;
	}
	
	section {
		line-height: 1.3;
	}
	
	section h2 span:before, section h2 span:after {
		width: 30px;
	}
	
	section h2 span:before {
		right: 100%;
		margin-right: 1rem;
		margin-right: 16px;
	}

	section h2 span:after {
		left: 100%;
		margin-left: 1rem;
		margin-left: 16px;
	}
	
	section ul {
		padding: 0 0 1rem 1rem;
		padding: 0 0 16px 16px;
	}
	
	.content, .image {
		padding: 0;
		width: 100%;
	}
	
	.left {
		float: none;
	}

	.right {
		float: none;
	}
	
	.image.right {
		padding: 0;
	}
	
	.image.left {
		display: none;
	}
	
	.btn {
		font-size: 1rem;
		font-size: 16px;
	}
	
	footer {
		font-size: 0.75rem;
		font-size: 12px;
		line-height: 1.5;
		margin: 4rem 0 0 0;
		margin: 64px 0 0 0;
		max-width: 43.75rem;
		max-width: 700px;
	}
	
	footer .logo img {
		margin-bottom: 2rem;
		margin-bottom: 32px;
	}
	
	footer ul {
		clear: both;
		float: none;
		padding: 0 2rem 1rem 0;
		padding: 0 32px 16px 0;
	}
}

/* Smaller screens */	
@media all and (min-width: 660px) {
	body {
		margin: 0 auto;
		max-width: 640px;
	}
	
	header {
		margin: 3rem 0 2rem 0;
		margin: 48px 0 32px 0;
		width: 100%;
	}
	
	.logo img {
		margin: 0 5% 0 0;
	}
	
	nav ul {
		clear: none;
	}
		
	nav .btns li:first-child {
		margin-left: 0.75rem;
		margin-left: 12px;
	}
	
	h1 {
		font-size: 2rem;
		font-size: 32px;
	}
	
	.hero h1 {
		float: left;
		margin: 2rem 0 1rem 0;
		margin: 32px 0 16px 0;
		max-width: 33%;
	}
	
	h2 {
		font-size: 1.75rem;
		font-size: 28px;
	}
	
	h3 {
		font-size: 1.5rem;
		font-size: 24px;
	}
	
	.hero {
		margin: 0 auto 5rem auto;
		margin: 0 auto 80px auto;
	}
	
	.hero img {
		margin: 2rem 0 0 1rem;
		margin: 32px 0 0 16px;
		max-width: 64%;
	}
	
	section {
		margin-bottom: 1.5rem;
		margin-bottom: 20px;
	}
	
	section h2 {
		margin-bottom: 2rem;
		margin-bottom: 32px;
	}
	
	section h2 span:before, section h2 span:after {
		width: 50px;
	}
	
	section h2 span:before {
		right: 100%;
		margin-right: 1.5625rem;
		margin-right: 25px;
	}

	section h2 span:after {
		left: 100%;
		margin-left: 1.5625rem;
		margin-left: 25px;
	}
	
	.content, .image {
		padding: 0 1.5rem 1.5rem 0;
		padding: 0 24px 24px 0;
		width: 44%;
	}
	
	.left {
		float: left;
	}

	.right {
		float: right;
	}
	
	.image.right {
		padding-right: 3rem;
		padding-right: 48px;
	}
	
	.image.left {
		display: block;
	}
	
	.btn {
		font-size: 1rem;
		font-size: 16px;
	}
	
	footer {
		font-size: 0.75rem;
		font-size: 12px;
		line-height: 1.5;
		margin: 4rem 0 0 0;
		margin: 64px 0 0 0;
		max-width: 43.75rem;
		max-width: 700px;
	}
	
	footer ul {
		clear: none;
		float: left;
		padding: 0 1.5rem 3rem 0;
		padding: 0 24px 48px 0;
	}
}

/* Larger screens */
@media screen and (min-width: 1070px) {
	body {
		font-size: 1.125rem;
		font-size: 18px;
		line-height: 1.35;
		margin: 1.5rem auto;
		margin: 24px auto;
		max-width: 64rem;
		max-width: 1024px;
	}
	
	.logo img {
		margin-right: 9rem;
		margin-right: 144px;
	}

	nav ul li {
		padding: 0 3rem 0 0;
		padding: 0 48px 0 0;
	}
	
	nav .btns li:first-child {
		margin-left: 10%;
	}
	
	h1 {
		font-size: 3rem;
		font-size: 48px;
	}
	
	h2 {
		font-size: 2.5rem;
		font-size: 40px;
	}
	
	h3 {
		font-size: 2rem;
		font-size: 32px;
	}
	
	.hero img {
		max-width: 65%;
	}
	
	section {
		margin-bottom: 2.5rem;
		margin-bottom: 40px;
	}
	
	.content, .image {
		margin: 0 0 6rem 0;
		margin: 0 0 96px 0;
		padding: 0 2rem 0 0;
		padding: 0 32px 0 0;
		width: 46%;
	}
	
	.btn {
		font-size: 1.3rem;
		font-size: 20.8px;
	}
	
	footer {
		font-size: 1rem;
		font-size: 16px;
		max-width: 64rem;
		max-width: 1024px;
	}
	
	footer ul {
		padding: 0 3rem 3rem 0;
		padding: 0 48px 48px 0;
	}
}