/**
 * Layout by Adam Kaplan
 */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
}

html {
	font: 100%/1.5 "Avenir", "Open Sans", sans-serif;
}

@media (min-width: 40rem) {
	html { font-size: 112%; }
}

@media (min-width: 64rem) {
	html { font-size: 120%; }
}

a {
	color: blue;
}

.container {
	margin: 0 auto;
	max-width: 48rem;
	width: 90%;
}

/**
 * Header
 */

header {
	background-color: #74CE6D;
	height: 4.0rem;
	height: 124px;
}

.identity {
	display: inline;
	position: relative;
	top: 24px;
	width:200px;
}

@media (min-width: 40rem) {
	.identity { top: 30px; }
}

header h1 {
	color: #FFFFFF;
	font-family: Avenir-Medium, "Open Sans", sans-serif;
	font-weight: 600;
	display: inline;
	line-height: 64px;
}

header a {
	text-decoration: none;
}

header h3 {
	color: #FFFFFF;
	margin-top: 0;
}

header img {
	vertical-align: top;
	margin-right: 0.5rem;
}

/**
 * Navigation
 */

#header-nav {
	display: none;
	float: right;
	list-style: none;
	text-align: right;
	height: 124px;
}

#header-nav ul {
	margin: 0;
}

#header-nav li {
	display: inline;
	padding: 0 16px;
	line-height: 124px;
}

#header-nav li a {
	display: inline-block;
	color: #FFFFFF;
	font-family: Avenir-Heavy, "Open Sans", sans-serif;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

#mobile-header-nav {
	margin-top:40px;
	width: 100%;
	list-style: none;
	text-align: center;
	height: 124px;
}

#mobile-header-nav ul {
	list-style-type: none;
	padding-left: 0;
}

#mobile-header-nav li {
	line-height: 56px;
	font-family: "Open Sans", Avenir-Heavy;
	font-size: 24px;
}

#mobile-header-nav li a {
	display: inline-block;
	color: #FFFFFF;
	font-family: Avenir-Heavy;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

@media (min-width: 40rem) {
	#header-nav { display: block; }
	#mobile-header-nav { display: none; }
}

/**
 * Hero Section
 */

.hero {
	text-align: center;
}

.hero h2, h4 {
	font-weight: lighter;
}

.hero h2 {
	margin-top:-1.25rem;
	font-family: Avenir-Medium, "Open Sans", sans-serif;
}

.hero img {
	margin-top: 1rem;
}

/**
 * Mobile First Grid by Adam Kaplan
 */

.column { }

@media (min-width: 40rem) {
	.column {
		float: left;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.column.full { width: 100%; }
	.column.two-thirds { width: 66.7%; }
	.column.half { width: 50%; }
	.column.third { width: 33.3%; }
	.column.fourth { width: 25%; }
	.column.flow-opposite { float: right; }
}

/**
 * Phone
 */
.phone {
	display: block;
	position: relative;
	top: -36px;
	width: 100%;
	height: 593px;
    background-image: url('../img/phone.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: 280px 593px;
    background-color: transparent;
    margin-bottom: 0;
}

/**
 * Features
 */

.features {
	background-color: #74CE6D;
	text-align: center;
	color: #FFFFFF;
}

.features h2 {
	font-weight: lighter;
}

.features h2 {
	padding-top:1.5rem;
	font-family: Avenir-Medium, "Open Sans", sans-serif;
}

@media (min-width: 40rem) {
	.features img {
		max-width: 100%;
		height: auto;
	}
}

/**
 * Styles
 */

.shadow {
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

hr {
	margin-top: 50px;
 	border: 0;
 	border-top: 2px solid #ededed;
 	height: 1px;
 	width: 100%;
}

.social {
 	text-align: center;
 	height: 96px;
}

.questions h3 {
 	font-weight: lighter;
 	font-family: Avenir-Medium, "Open Sans", sans-serif;
 	margin: 0;
 	line-height: 96px;
 	text-align: center;
}

.social img {
 	width: 32px;
 	margin: 0 16px;
 	vertical-align: middle;
 	position: relative;
 	top: 31px;
}

@media (min-width: 64rem) {
	.social { text-align: right; }
	.questions h3 { text-align: left; }
}

footer {
	background-color: #74CE6D;
	color: #fff;
}

footer a,
footer a:focus,
footer a:hover {
  color: #fff;
}

.press-kit {
	text-align: center;
	font-size: 16px;
}

.press-kit p {
	margin-bottom: 0;
}

.copyright {
	margin-top: 0;
	padding: 16px 0;
	text-align: center;
}

/**
 * Clearfix by Nicolas Gallagher
 */

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after { clear: both; }

.clearfix { *zoom: 1; }
