/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: Helvetica Neue, Helvetica, sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.adn-button {
	visibility: hidden !important;
}

a, a:visited {
	color:rgb(128, 148, 162);
	text-decoration: none;
}

a:hover, a:active {
	color:rgb(220, 224, 229);
}

body.home {
	color: rgb(128, 148, 162);
	background-color: rgb(55, 75, 84);
	background-image: url('../img/gradient.png');
	background-repeat: repeat-x;
	background-size: auto 692px;
	background-attachment: fixed;
}

#outer-wrapper {
	width: 100%;
	height: 100%;
	text-align: center;
	margin: 0;
	padding: 100px 0 0 0;
}

#inner-wrapper {
	width: 528px;
	margin: 0 auto;
	padding: 0;
}

/* - - - - - - - - - - */
/*    CALL TO ACTION   */
/* - - - - - - - - - - */

#call-to-action {
	text-align: center;	
	width: 210px;
	height: 513px;
	float: left;
	margin-right: 61px;
	margin-left: -7px;
}

#call-to-action h4 {
	font-weight: 200;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
}

#coming-soon h2 {
	margin: 0;
	padding: 0;
}

#coming-soon {
	margin: 1.5em auto 0 auto;
	padding: 0;
	display: block;
	line-height: 1em;
	width: 190px;
	height: 62px;
	background-image: url('../img/coming-soon-badge.png');
	background-size: 190px 62px;
	background-repeat: no-repeat;
}

h1#logo-logotype {
	display: block;
	width: 210px;
	height: 290px;
	margin: 44px 0 0 0;
	padding: 0;
	background-image: url('../img/logo_logotype.png');
	background-repeat: no-repeat;
	background-size: 210px 290px;
}

.app-store-badge {
	display: block;
	margin: 24px auto 0 auto;
	width: 190px;
	height: 62px;
	background-image: url('../img/app_store_badge.png');
	background-size: 190px 62px;
}

/* - - - - - - - */
/*    BULLETS    */
/* - - - - - - - */

#bullets {
	color: rgb(148, 168, 182);
	width: 100%;
	text-align: left;
}

ul#bullet-list{
	margin: 80px 0 0 0;
	padding: 0;
	font-weight: lighter;
	list-style:none;
	line-height: 2em;
}

.bullet-list-li {
	margin: 0 0 50px 0;
	padding: 0 0 0 100px;
	display: block;
	float: left;
	width:428px;
	min-height: 100px;
	background-repeat: no-repeat;
	background-size: 144px 144px;
	background-position: left top;
}

#bullet-list h4 {
	color:rgb(220, 224, 229);
	margin: 0;
	padding: 0;
	line-height: 1.75em;
	font-size: 1.25em;
}

li#bullet-from-scratch {
	background-image: url('../img/app-dot-net-icon.png');
}

li#bullet-full-screen {
	background-image: url('../img/full-screen-icon.png');
}

li#bullet-one-hand {
	background-image: url('../img/thumb-icon.png');
}

li#bullet-hop-ons {
	background-image: url('../img/hop-ons-icon.png');
}

li#bullet-push {
	background-image: url('../img/push-icon.png');
}

li#bullet-details {
	background-image: url('../img/ruler-icon.png');
}

ul.list-inside-bullet {
	list-style: square !important;
	box-sizing: border-box;
	margin: 0 !important;
	margin-left: 18px !important;
	padding: 0 !important;
}

li.list-inside-bullet {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	min-height: 0 !important;
}

/* - - - - - - */
/*    IPHONE   */
/* - - - - - - */

#phone {
	width: 264px;
	height: 513px;
	float: left;
}

#phone-back {
	width: 264px;
	height: 513px;
	position: relative;
	top: 0;
	right: -20px;
	background-image: url('../img/phone_body.png');
	background-repeat: no-repeat;
	background-size: 264px 513px;
}

#screenshot {
	width: 194px;
	height: 341px;
	position: relative;
	top: -427px;
	left: 55px;
	z-index: 999;
}

.loader {
	display: none !important;
}

.spinner {
	display: none !important;
}

.caption {
	border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

#phone-glare {
	width: 264px;
	height: 513px;
	position: relative;
	top: -854px;
	right: -20px;
	z-index: 1000;
	opacity: 0.5;
	background-image: url('../img/phone_glare.png');
	background-size: 264px 513px;
	background-repeat: no-repeat;
}

/* - - - - - - */
/*    FOOTER   */
/* - - - - - - */

#footer {
	margin: 0 auto;
	padding-top: 10px;
	width: 100%;
	height: 200px;
	font-size: 0.75em;
	border-top: 1px solid rgb(128, 148, 162);
}

#footer a {
	font-weight: bold;
}

#copyright {
	width: 264px;
	height: 200px;
	float: left;
	text-align: left;
}

#made-by {
	width: 264px;
	height: 200px;
	float: left;
	text-align: right;
}

/* - - - - - - - - - */
/*    ATTRIBUTIONS   */
/* - - - - - - - - - */

#attributions-outer-wrapper {
	padding: 20px;
}

#attributions-outer-wrapper h2 {
	margin: 0;
	padding: 0;
	line-height: 1em;
}

#attributions-outer-wrapper h4 {
	margin: 0;
	padding: 0;
	line-height: 2em;
}


#why-were-free {
	text-align: left;
	color:rgb(188, 208, 222);
	padding-bottom: 4em;
}

#why-were-free h1 {
	text-align: center;
	color:rgb(255,255,255);
}

#why-were-free h3 {
	color:rgb(255,255,255);
}

#why-were-free blockquote {
	color:rgb(128, 148, 162);
	padding-bottom: 1.5em;
	padding-top: 1.5em;
}

/* - - - - - - - - - - - - - - */
/*    SIDEBAR CALL TO ACTION   */
/* - - - - - - - - - - - - - - */

#sidebar-call-to-action {
	text-align: center;	
	width: 210px;
	height: 513px;
	float: left;
	margin-right: 54px;
	margin-left: -7px;
}

#sidebar-call-to-action h4 {
	font-weight: 200;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
}

h1#sidebar-logo-logotype {
	display: block;
	width: 210px;
	height: 290px;
	margin: 0;
	padding: 0;
	background-image: url('../img/logo_logotype.png');
	background-repeat: no-repeat;
	background-size: 210px 290px;
}

.app-store-badge {
	display: block;
	margin: 24px auto 0 auto;
	width: 190px;
	height: 62px;
	background-image: url('../img/app_store_badge.png');
	background-size: 190px 62px;
}


/* - - - - - - - - - - - - - - */
/*         RELEASE NOTES       */
/* - - - - - - - - - - - - - - */ 

#release-notes-column {
	text-align: left;	
	width: 376px;
	float: left;
}

#release-notes-column h2 {
	width: 100%;
	border-bottom: 1px dotted rgba(188, 208, 222, 0.5);
	margin-bottom: 24px;
}

#release-notes-inner-wrapper {
	width: 640px;
	margin: 0 auto;
	padding: 0;
}


/* - - - - - - - - - - - - - - */
/*           404 PAGE          */
/* - - - - - - - - - - - - - - */

#four-o-four-graphic {
	background-image: url('../img/riposte-404@2x.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 500px 202px;
	height: 44px;
	padding-top: 202px;
	width: 500px;
}


/* - - - - - - - - - - - - - - */
/*       WHISPER HOME          */
/* - - - - - - - - - - - - - - */

#wspr-body {
	min-width: 1072px;
	font-family: "Avenir Next", "AvenirNextLTPro-Regular";
	color:#353a3b;
	text-shadow: 0 1px 1px #f3f3f3;
	-webkit-text-size-adjust: none;
}

#wspr-body a {
	color:#358acb;
	text-decoration: none;
}

#wspr-body a:visited {
	color:#358acb;
}

#wspr-body a:hover,
#wspr-body a:active {
	color:#65bafb;
}

#wspr-outermost-wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

#wspr-middle-wrapper {
	width: 1072px;
	margin: 0 auto;
	padding: 0; 
	overflow: hidden;
}

.whisper-bg-pattern {
	background-color: #e6e6e4;
	background-image: url('../img/fancy_deboss.png');
	background-repeat: repeat;
	background-position: center center;
	font-family: "Avenir Next", "AvenirNextLTPro-Regular";
}

#wspr-left-div {
	width: 50%;
	margin: 0;
	margin-bottom: -10000px;
	padding:0;
	padding-bottom: 10000px;
	float: left;
	overflow: hidden;
	height: 100%;
}

#wspr-right-div {
	width: 50%;
	margin: 0;
	margin-bottom: -10000px;
	padding: 0;
	padding-bottom: 10000px;
	float: left;
	overflow: hidden;
	height: 100%;
}

#wspr-left-inner-div {
	width: 472px;
	margin-bottom: -10000px;
	padding: 280px 64px 10064px 0;
	float: right;
	border-right: 1px solid #f3f3f3;
	text-align: right;
}

#wspr-right-inner-div {
	width: 472px;
	padding: 280px 0 10064px 72px;
	margin-bottom: -10000px;
	float: left;
	border-left: 2px solid #d3d3d3;
}

#wspr-right-inner-div h1 {
	font-family: "AvenirNextLTPro-Bold";
	font-weight: normal;
	font-size:6em;
	margin: 0;
	padding: 0;
	text-shadow: 0 1px 1px #fff;
	color:#137ad1;
}

#wspr-right-inner-div h3 {
	font-family: "AvenirNextLTPro-Regular";
	font-weight: normal;
	font-size:1.75em;
	margin: -0.25em 0 0 0;
	padding: 0;
	color:#a92568;
}

#wspr-topper-div {
	width:1072px;
	height: 310px;
	position: absolute;
	margin:0;
	padding: 0;
}

#wspr-topper-inner-div {
	width:1072px;
	height: 310px;
	margin: 0 auto;
	padding: 20px 0 0 0;
	background-image: url('../img/topper-graphic.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 720px 310px;
}

#wspr-logotype {
	display: block;
	width: 402px;
	height: 126px;
	background-image: url('../img/logotype-tagline.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 402px 126px;
}

#wspr-feature-list {
	list-style: disc;
	line-height: 1.5em;
	font-size: 1.1em;
	margin: 3em 0;
	padding: 0 0 0 16px;
	width: 402px;
}

#wspr-feature-list li {
	margin-bottom: 1.5em;
}

#wspr-phone {
	width: 392px;
	height: 828px;
	float: right;
}

#wspr-phone-back {
	width: 392px;
	height: 828px;
	position: relative;
	top: 0;
	right: 0;
	background-image: url('../img/portrait-phone-.png');
	background-repeat: no-repeat;
	background-size: 392px 828px;
}

#wspr-screenshot {
	position: relative;
	width: 320px;
	height: 568px;
	margin-top: -713px;
	margin-left: 36px;
	z-index: 999;
}

#wspr-footer-div {
	width:100%;
	margin:0;
	padding: 0;
	float: left;
	text-align: center;
	border-top: 1px solid #d3d3d3;
}

#wspr-footer-inner-div {
	width:100%;
	margin:1px 0 0 0;
	padding: 64px 0;
	float: left;
	border-top: 1px solid #f3f3f3;
	text-align: center;
	-webkit-text-size-adjust: none
}

a:hover#wspr-footer-inner-div {
	color:#013748;
}

a:hover#wspr-footer-inner-div {
	color:#013748;
}

#wspr-lower-mobile-div {
	display: none;
	visibility: hidden;
}

#wspr-wwdc-div {
	background-color: #43374f;
	background-image: url('../img/sfo-cablecar-tracks.jpg');
	background-position: center center;
	background-size: cover;
	width:100%;
	margin:0;
	padding: 0;
	float: left;
	border-top: 2px solid rgba(0,0,0,0.25);
	border-bottom: 2px solid rgba(0,0,0,0.15);
	text-align: center;
}

#wspr-wwdc-inner-div {
	width:50%;
	margin:0 auto;
	padding: 164px 0;
	text-align: center;
	-webkit-text-size-adjust: none;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

#wspr-wwdc-inner-div h2 {
	font-weight: normal;
	font-family: "AvenirNextLTPro-Bold";
	font-size: 6em;
	margin: 0;
	padding: 0;
}

#wspr-wwdc-inner-div h3 {
	font-weight: normal;
	font-family: "AvenirNextLTPro-Bold";
	font-size: 3em;
	margin: 0;
	padding: 0;
}

#wspr-wwdc-inner-div p {
	font-size: 1.5em;
	text-align: left;
}

#whisper-appstore-badge {
	display: block;
	width: 188px;
	height: 60px;
	margin: 0 auto;
	background-image: url('../img/whisper-appstorebadge.png');
	background-size: 188px 60px;
	background-repeat: no-repeat;
	background-position: center top;
}

.whisper-logotype {
	font-family: "AvenirNextLTPro-Bold";
	font-weight: normal;
	font-size:3em;
	margin: 0;
	padding: 0;
	text-shadow: 0 1px 1px #fff;
	color:#137ad1;
}

h1.whisper-release-notes {
	margin-top: 3px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (max-width: 740px) {
	
	#wspr-body {
		min-width: 536px;
		-webkit-text-size-adjust:auto !important;
	}	
	
	#wspr-outermost-wrapper {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	#wspr-middle-wrapper {
		width: 100%;
		margin: 0 auto;
		padding: 0; 
		overflow: hidden;
	}
	
	#wspr-left-div {
		display: none;
		visibility: hidden;
	}
	
	#wspr-right-div {
		width: 100%;
		margin: 0;
		margin-bottom: -10000px;
		padding: 0;
		padding-bottom: 10000px;
		float: left;
		overflow: hidden;
		height: 100%;
	}
	
	#wspr-right-inner-div {
		width: 100%;
		box-sizing: border-box;
		padding: 280px 40px 10000px 40px;
		margin-bottom: -10000px;
		float: left;
		border-left: none;
		text-align: center;
	}
	
	#wspr-topper-div {
		width:100%;
		min-width: 536px;
		height: 310px;
		position: absolute;
		margin:0;
		padding: 0;
	}
	
	#wspr-topper-inner-div {
		width:100%;
		height: 310px;
		background-image: url('../img/topper-graphic.png');
		background-repeat: no-repeat;
		background-position: center top;
		background-size: 720px 310px;
	}
	
	#wspr-feature-list {
		width: 100%;
		text-align: left;
	}

	#wspr-lower-mobile-div {
		display: block;
		visibility: visible;
		float: left;
		width: 100%;
		text-align: center;
		padding-bottom: 64px;
	}
	
	#wspr-lower-mobile-inner-div {
		text-align: center;
		width: 392px;
		height: 828px;
		margin: 0 auto;
	}

	#wspr-lower-mobile-phone {
		width: 392px;
		height: 828px;
	}
	
	#wspr-lower-mobile-phone-back {
		width: 392px;
		height: 828px;
		background-image: url('../img/portrait-phone-.png');
		background-repeat: no-repeat;
		background-size: 392px 828px;
	}
	
	#wspr-lower-mobile-screenshot {
		width: 320px;
		height: 568px;
		margin-top: -713px;
		margin-left: 36px;
		z-index: 999;
	}

	#wspr-wwdc-inner-div {
		width:80%;
	}
}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
    
    body.home {
		background-image: url('../img/gradient@2x.png');
	}
	
	#coming-soon {
		background-image: url('../img/coming-soon-badge@2x.png');
	}

	h1#logo-logotype {
		background-image: url('../img/logo_logotype@2x.png');
	}

	.app-store-badge {
		background-image: url('../img/app_store_badge@2x.png');
	}
	
	li#bullet-from-scratch {
		background-image: url('../img/app-dot-net-icon@2x.png');
	}
	
	li#bullet-full-screen {
		background-image: url('../img/full-screen-icon@2x.png');
	}
	
	li#bullet-one-hand {
		background-image: url('../img/thumb-icon@2x.png');
	}
	
	li#bullet-hop-ons {
		background-image: url('../img/hop-ons-icon@2x.png');
	}
	
	li#bullet-push {
		background-image: url('../img/push-icon@2x.png');
	}
	
	li#bullet-details {
		background-image: url('../img/ruler-icon@2x.png');
	}
	
	#phone-back {
		background-image: url('../img/phone_body@2x.png');
	}
	
	#phone-glare {
		background-image: url('../img/phone_glare@2x.png');
	}
	
	#wspr-phone-back {
		background-image: url('../img/portrait-phone-@2x.png');
	}
	
	#wspr-topper-inner-div {
		background-image: url('../img/topper-graphic@2x.png');
	}
	
	#wspr-logotype {
		background-image: url('../img/logotype-tagline@2x.png');
	}
	
	#whisper-appstore-badge {
		background-image: url('../img/whisper-appstorebadge@2x.png');
	}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
