/* =Reset Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
a img {
	border: 0;
}

/* =Global
----------------------------------------------- */
body {
	font-family: Helvetica, Arial, sans-serif;
	color: #616161;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	/*font-weight: bold;*/
}

/* Text elements */
p {
	margin-bottom: 1.625em;
	line-height: 1.425em;
	font-weight: normal;
}
ul {
	margin: 0 0 1.625em 2.5em;
	/*list-style: square;*/
}

li {

}

li { 
    padding-left: 0em; 
    text-indent: 0em;
    position: relative;
}

 strong {
 	font-weight: bold;
}

.copy ul li:before {
    content: "•";
    font-size: 1.8em;
    position: absolute;
    left: -0.7em;
    color: #5290cf; /* or whatever color you prefer */
}




sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* assets */
img {
	height: auto; 
}

/* Links */
a {
	color: #7F89A3;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

/* =Structure
----------------------------------------------- */

#branding,
#headline, 
#store,
#info,
#intro,
.buttons,
#directory,
#legal {
	width: 960px;
	margin: 0 auto;	
}

.feature {
	max-width: 920px;
}

/* Header */
#header {
	background-color: #243d70;
	-webkit-box-shadow:  0 1px 2px 1px rgba(0, 0, 0, 0.2);        
	box-shadow:  0 1px 2px 1px rgba(0, 0, 0, 0.2);  
	overflow: hidden;
	position: relative;
	z-index: 99;
}
#branding {
	overflow: hidden;
	padding: 11px 0 8px;
}
#logo {
	float: left;
}
#hero {
	background-color: #0c1125;
	background-image: url(assets/bg_hero.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	height: 530px;
	/*overflow: hidden;*/
}
#headline {
	padding: 3.8em 0 2em;
	text-align: center;
}
#headline h1 {
	color: #fff;
	font-size: 2.5em;
	font-weight: 300;
	padding: 0 3em;
	line-height: 1.2;
}
#headline h1 sup {
	font-size: 0.4em;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	bottom: 2ex;
}
#mobile {
	max-width: 850px;
	margin: 0 auto;	
}
#mobile img,
.hero img {
    display: block;
    height: auto;
    margin: 0 auto;
}

.hero img {
	max-width: 500px;
	width: 100%;
}

/* Main Content */
#store {
	padding: 1em 0 3em;
	max-width: 620px;
}

#store a {
	float: left;
    margin: 0;
    width: 50%;
    text-align:center;
}

/*#store a:first-child {
	text-align: right;
}

#store a#last_btn {
	margin: 0;
	text-align: left;
}*/

#content {
	overflow: hidden;
	clear: both;
	padding-top: 8em;
	background: url(assets/bg_download.png) center bottom no-repeat;
	background-size: 100%;
}

#info {
	clear: both;
	overflow: hidden;
	margin: 0 auto 2em;	
	text-align: center;
	max-width: 870px;
}

#info h1 {
	color: #39496b;
    font-size: 3em;
    font-weight: bold;
    line-height: 1.4em;
}
.blurb {
	text-align: center;
	display:block;
}


#personalize h1 { 
	background-image: url(assets/icon_personalize_2x.png);
	background-size: 24px 29px;
	text-indent: 36px;
	margin-right: 18px;
}
#discover h1 { 
	background-image: url(assets/icon_discover_2x.png);
	background-size: 26px 26px;
	text-indent: 40px;
	margin-right: 20px;
}
#connect h1 {  
	background-image: url(assets/icon_connect_2x.png);
	background-size: 42px 24px;
	text-indent: 52px;
	margin-right: 26px;
}

#intro {
	margin: 0 auto 2em;	
	padding: 3.2em 0;
	text-align: center;
	background-image: url(assets/bg_features_headline.png);
	background-position: center top;
	background-repeat: no-repeat;
}
#intro h1 {
	color: #39496b;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.4em;
}
#first {

}
#second {
	/*background: url(assets/bg_second.gif);*/
	background-image: url(assets/bg_second.gif);
	background-position: 53% 76%;
}
#third {
	/*background: url(assets/bg_third.gif);*/
	background: url(assets/bg_third.gif);
	background-position: 49% 49%;
	padding: 1em 0;
}
#fourth {
	/*background: url(assets/bg_fourth.gif);*/
	background: url(assets/bg_fourth.gif);
	background-position: 53% 33%;
}
#first, #second, #third, #fourth {
	background-repeat: no-repeat;
}

/* Features Hero assets */
.feature {
	overflow: hidden;
	clear: both;
	margin: 0 auto 6.8em;
}
.hero {
	overflow: hidden;
	max-width: 62%;
	/*width: 50%;*/
}
#first .hero,
#third .hero, 
#second .copy,
#second .headline,  
#fourth .copy,
#fourth .headline { 
	float: left;
}
#second .hero, 
#fourth .hero, 
#first .copy,
#first .headline, 
#third .copy,
#third .headline { 
	float: right;
}

#first .headline {
	margin-top: 9em;
}

#second .headline {
	margin-top: 3em;
}

#third .headline {
	margin-top: 7em;
}

.headline {
	width: 34%;
}
.copy {
	width: 35%;
	overflow: hidden;
}
#second .copy,
#second .headline,  
#fourth .copy,
#fourth .headline { 
	margin-left: 3em;
}
#first .copy,
#first .headline, 
#third .copy,
#third .headline { 
	margin-right: 3em;
}
.headline h2 {
	color: #415787;
	font-size: 1.5em;
	line-height: 1em;
	margin: 0 0 1em;
	font-weight: bold;	
}
.copy ul {
	margin: 0 0 0 1.5em;
}
.copy ul li {
	margin: 0 0 1em;
	font-size: 1.1em;
	line-height: 1.4em;
}

/* App Store Bttns */
#download {
	position: relative;
	padding: 3em 0 1em;
}
.buttons {
	text-align: center;
}
.buttons img { padding: 0 1.5em;}

/* Footer */
#footer {
	background: #3a4a6b;
	padding: 2.5em 0;
}
#directory, #legal {
    font-size: 10px;	
    line-height: 1.7em;
	text-align: center;
}
#directory ul {
	margin: 0 0 1em;
}
#directory ul li {
    font-weight: bold;
    white-space: nowrap;
    display: inline;
    text-transform: capitalize;
    padding-right: 5px;
}
#legal {
	color: #7F89A3;
    font-weight: normal;	
}

/* =Jiggery Pokery
----------------------------------------------- */


  
  .google { 
	opacity:.75;
	-moz-opacity:.75;
	filter:alpha(opacity=75);
  }
  .google.main { 
	opacity:.50;
	-moz-opacity:.50;
	filter:alpha(opacity=50);
  }  

/* =Media Queries
----------------------------------------------- */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
  
  /* Retina-specific stuff here */
	

	#connect h1 { background-image: url(assets/icon_connect_2x.png);}
	#discover h1 { background-image: url(assets/icon_discover_2x.png);}
	#explore h1 { background-image: url(assets/icon_explore_2x.png);}

	#first { background-image: url(assets/bg_first_2x.gif);}
	#second { background-image: url(assets/bg_second_2x.gif);}
	#third { background-image: url(assets/bg_third_2x.gif);}
	#fourth { background-image: url(assets/bg_fourth_2x.gif);}


	#header {
		-webkit-background-size: auto 100%;
		-moz-background-size: auto 100%;
		background-size: auto 100%;
	} 
	#connect h1 {
		-webkit-background-size: 43px auto;
		-moz-background-size: 43px auto;
		background-size: 43px auto;
	}
	#discover h1 {
		-webkit-background-size: 27px auto;
		-moz-background-size: 27px auto;
		background-size: 27px auto;
	}
	#explore h1 {
		-webkit-background-size: 38px auto;
		-moz-background-size: 38px auto;
		background-size: 38px auto;
	}
	#first {
		-webkit-background-size: 1200px 377px;
		-moz-background-size: 1200px 377px;
		background-size: 1200px 377px;
	}
	#second {
		-webkit-background-size: 1200px 235px;
		-moz-background-size: 1200px 235px;
		background-size: 1200px 235px;
	}
	#third {
		-webkit-background-size: 1200px 351px;
		-moz-background-size: 1200px 351px;
		background-size: 1200px 351px;
	}
	#fourth {
		-webkit-background-size: 1200px 297px;
		-moz-background-size: 1200px 297px;
		background-size: 1200px 297px;
	}	

}

@media (max-width: 880px) {

	#branding,
	#headline,
	#store,
	#info,
	.buttons,
	#directory,
	#legal {
		width: 100%;
		margin: 0 auto;	
	}

	#logo {
		margin-left: 3%;
	}

	#intro {
		width: 95%;
		font-size: 0.8em;
	}
	#headline h1 {
		font-size: 2.2em;
		padding: 0 3em;
	}
	#intro h1 {
		font-size: 2em;
	}	
	.feature {
		width: 90%;
		margin: 0 auto 3em;	
	}
	.headline {
		margin: 3em 0 0;
	}
	.blurb {
		width: 31.5%;
		margin: 0 2.2% 0 0;
	}
	#explore.blurb {
		margin: 0;
	}
	#store {
		width: 95%;
	}
	#info {
		margin: 3em auto 1em;
		width: 95%;
	}
	#hero {
		height: 560px;
		-webkit-background-size: auto 100%;
		-moz-background-size: auto 100%;
		background-size: auto 100%;
		position: relative;
	}
	
	#headline {
    padding: 2.5em 0 2em;
    text-align: center;
	}

	#mobile {
		width: 95%;
		position: absolute;
		bottom: -95px;
		left: 2.5%;
	}

	.hero {
		width: auto;
	}


#second .copy,
#second .headline,  
#fourth .copy,
#fourth .headline { 
	margin-left: 0em;
}
#first .copy,
#first .headline, 
#third .copy,
#third .headline { 
	margin-right: 0em;
}


	.headline h2 {
		font-size: 1.4em;
/*		margin-right: 0 !important;
		margin-left: 0 !important;*/
	}

	.copy {
		font-size: 0.9em;
		margin: 0 !important;
	}




		
}





@media (max-width: 765px) {

	#branding,
	#headline,
	#store,
	#info,
	#intro,
	.feature,
	.buttons,
	#directory,
	#legal {
		width: 100%;
		margin: 0 auto;	
	}
	#logo {
		padding: 0 0 0 0.6em;
	}
	#headline h1,
	#info h1  {
		font-size: 2em;
	}
	#hero {
		height: 320px;
	}
	#store {
    	margin: 0 auto 1em;
   		padding: 0 0 2em;
    	width: 70%;
	}
	.hero {
		max-width: 92%;
	}
	.copy {
		min-width: 90%;
		font-size: 0.9em;
		margin: 2em auto !important;
	}
	#first .hero,
	#first .headline, 
	#first .copy, 
	#second .hero, 
	#second .headline,
	#second .copy, 
	#third .hero,
	#third .headline,
	#third .copy, 
	#fourth .hero, 
	#fourth .headline,
	#fourth .copy { 
		float: none;
		margin: 1em auto 0;
	}
	#intro h1 {
		width: 90%;
		font-size: 1.3em;
		margin: 0 auto;	
	}	
	.blurb, #explore.blurb {
		width: 85%;
		margin: 1em auto 0;
		float: none;
	}
	.blurb p {
		font-size: 1em;
	}
	#first .headline {
		margin: 0em auto 0;
	}
	.headline {
		min-width: 90%;
		text-align: center;
		border-top: 1px solid #e3e3e3;
		padding: 2em 0 0;
	}	
	.headline h2 {
		font-size: 1.75em;
	}
	.headline {
		padding-bottom: 1em;
	}
	#directory, #legal {
		text-align: center;
		max-width: 83%;
	}
	.buttons img { padding: 0.25em 1.5em;}
	#first, #second, #third, #fourth {background: #fff;}


	#intro h1 {
		font-size: 2.2em;
	}

	#hero {
		height: 470px;
		-webkit-background-size: auto 100%;
		-moz-background-size: auto 100%;
		background-size: auto 100%;
		position: relative;
	}

	#mobile {
		width: 95%;
		position: absolute;
		bottom: -95px;
		left: 2.5%;
	}

	.hero {
		width: auto;
	}

	#connect.blurb {
		margin: 1em auto 0;
	}


	#download {
		padding-top: 4em;
	}


#mobile img,
.hero img {
    max-width: 70%;
}

}

@media (max-width: 620px) {
#hero {
    background-size: auto 100%;
    height: 390px;
    position: relative;
}

}



@media (max-width: 560px) {

	
	#hero {
		height: 330px;
	}	
	#download {
		padding: 1em 0 1em;
	}



	#content {
		padding-top:7em;
	}

	#store {
    margin: 0 auto 0;
    padding: 0 0 2em;
	}
	#store a img {
    	padding-bottom: 1em;
    	height: 44px;
    	width: auto;
	}

	#headline {
		padding: 2em 0 1.5em;
	}

	#headline h1 {
		margin: 0 3%;
		line-height: 1.3em;
		padding:0 1em;
	}

	.buttons a img {padding-bottom: 0.5em;}
	
}

@media (max-width: 460px) {
	
	#hero {
		height: 370px;
	}

	#store {
    text-align: center;
	}

	#store a {
	clear:both;
	float:none;
	}
	
	#mobile img,
	.hero img {
    max-width: 95%;
	}
		
}


@media (max-width: 400px) {
	
	#hero {
		height: 340px;
	}
	
	#mobile img,
	.hero img {
    max-width: 85%;
	}

}

@media (max-width: 340px) {
	
	#hero {
		height: 320px;
	}	
}

