/*
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection {background: #999; color: #fff; text-shadow: none; }
::selection {background: #999; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7 http://h5bp.com/d
 * 2. Remove the gap between images and borders on image containers http://h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/* =============================================================================
   Forms
   ========================================================================== */

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

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

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


/* =============================================================================
   Primary styles
   Author: Christian Delahousse
   ========================================================================== */

body{
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12NgYGC4DAAA2ADUwvUnWwAAAABJRU5ErkJggg==) transparent repeat;  /* TODO: Make work in IE7*/ 
	font: normal normal 16px/1.2 'Open Sans', Helvetica, Arial, Sans-Serif;
	
}
#container {
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-ms-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
	width: 700px;
	margin: 50px auto;
	padding: 25px 25px 10px;
	background-color: #EFEFEF;
	background-image: -webkit-gradient( linear, left 40, left top, color-stop(0.34, rgb(239,239,239)), color-stop(0.77, rgb(221,221,221)), color-stop(0.94, rgb(222,222,222))); 
	background-image: -moz-linear-gradient( center 40, rgb(239,239,239) 34%, rgb(221,221,221) 77%, rgb(222,222,222) 94%);
}

#screenshot {
	width: 44%;
	float: left;
}

#the-copy {
	width: 53%;
	float: right;
}
#screenshot img {
	max-width:100%;  /*TODO Make image file smaller.*/ 
	-webkit-box-shadow: 3px 3px 6px #aaa;
	-moz-box-shadow: 3px 3px 6px #aaa;
	-o-box-shadow: 3px 3px 6px #aaa;
	-ms-box-shadow: 3px 3px 6px #aaa;
	box-shadow: 3px 3px 6px #aaa;
}

#the-copy span, #the-copy a {
	display: block;
}

h1 {
	/*font-weight: normal;*/
	text-shadow: 2px 2px 2px #ccc;
	text-align: center;
	line-height: 1.7;
	font-size: 2.3em;
	margin: 0;
}
#the-copy h2, #try-it-now {
	color: #143D88;
	text-shadow: 2px 2px 2px #ccc;
	font-family:  Helvetica, Arial;
	font-size: 1.3em;
}
#the-copy h2 {
	line-height: 1.3;
	font-weight: normal;
	margin: .5em 0;
}
#the-copy span, #the-copy p {
	text-shadow: 1px 1px 2px #bbb;
}
#the-copy p {
	line-height: 1.7;
	margin: .5em 0;
}

#call-to-action {
	margin: 1.7em 0 0;
}

#call-to-action a {
	width: 54%;
	float: left;
	margin: 0 0 1em;
	color: #D2E9D5;
	font-size: 1.7em;
	font-weight: bold;
	line-height: 3em;
	text-align: center;
	text-decoration: none;
	background: #ff3019; /* Old browsers */
	background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ff3019 0%,#cf0404 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #ff3019 0%,#cf0404 100%); /* W3C */

	-webkit-border-radius: 13px;
	-moz-border-radius: 13px;
	-o-border-radius: 13px;
	-ms-border-radius: 13px;
	border-radius: 13px;
	border: solid 2px #143D88;
	-webkit-box-shadow: 3px 3px 6px #aaa;
	-moz-box-shadow: 3px 3px 6px #aaa;
	-o-box-shadow: 3px 3px 6px #aaa;
	-ms-box-shadow: 3px 3px 6px #aaa;
	box-shadow: 3px 3px 6px #aaa;

	text-shadow: 3px 3px 3px #8E3223;
}

#call-to-action span {
	width:40%;
	float: right;
	padding: .3em 0;
}
#try-it-now {
	background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAcCAYAAAB2+A+pAAAGG0lEQVRIx72X3W9cVxXF1zrn3Dsztmc8nnhsz9ixkzhuPI6TWIlsklQhL0DUqEWlhaASEKKVeKJCVAIEQqD2D+CpiAeoqkpAaYUAkQQCBVI1FWmatqlKPkhoQr4/HDu2Y3u+71k8jBPUioS0tTjS1b26Wvf89t5HW3tdYhHXpseiriBAZ7GIc/Uaim8/byu303KxoIXP+dbVg3i2M4vPzM/jnbk5vDo5hX0XL+O1k78xF96vd4sFNkJHJo2BoUEA4tqJSaydmcWX8l062pn1P9//qn6JY3Zi0cFBKFWqqB56i1etEZYvY1uuQ82tKYwuaedwKqX7Dnf7Jy69ZE4AgFkssAfUt4yxoSEkkynwtUO6cOSErnmPKJ1SrHAPt20YwdNDD0dLFxccEQBMPM4gmVTQ14vExISZPfQWLpUrrMViVE8en8jn+JXhHT6wiwVO9n+/GjimfYRCECBWKrHmPXB9CpWpKVS780g5A84V0VMq42cf+IybRqP8yn6u9J7njrzIMzffn/qdnZ8v6al0i3YNr+YP29tRgFB1AcyNWZWLRVZjIWPWKB84xO8a3LPNJ1NJfGpsFN/qyWPs4iXtvTIefXniZTt+U3PlJforwJsXr0Q7t27hL1qauVxeCkPYeByBjwRjGVoHd1fgwmf95pUr8NXCIB7oW8bWdKskoK8nb9ITwPj79bMH7IVrg/4n8nqKhBkusBMAvaeiOupRBH9HcNuWem5gpX18eMg/1NvLfCykHb+sWmkWrlJFPZmC/uuHg/WuuTmMLl+G+NAgkok4w2pF3nt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ipH/TXLubwXNbl9m33ee68/zug9v1xaF7mA4DwaDRFuPjKP/oOT63/6C+HR02Mx/GONx2SJz9vbl8Fnj82AntffgB//WPb+SWXAfiC+GK8Mejw3bmwzqW/zmPp/dzzzP76wfOfA07t2zEY4P9XDcxiflT53nso1ilD2To1z0SrVnVz83VGqZ+u5u7cJQl/N9WX0SsqH/kP5B/A3UguoCVzEyEAAAAAElFTkSuQmCC) no-repeat left center; 
}

#try-it-now strong {
	padding-left: 36px;
}
#click {
	font-size: 0.8em;
	line-height: 1.5em;
}
#call-to-action p {
	clear:both;
}

#install {
	font-size: .8em;
}

#disclaimer,footer {
	padding: 1em 0;
	font-size: .7em;
}

#disclaimer {
	color:#969696;
}

footer{
	clear: both;
	text-align: right;
}

@media only screen and (max-width: 800px) {
	#container {
		width:550px;
	}
	#screenshot, #the-copy {
		float: none;
		width: 100%;
	}
}
@media only screen and (max-width: 600px) {
	#container {
		width:380px;
	}
	#screenshot, #the-copy {
		float: none;
		width: 100%;
	}
}
@media only screen and (max-width: 430px) {
	#container {
		width:320px;
		margin:1px auto;
		padding:1.4em 0.5em;
	}
	#screenshot, #the-copy{
		float: none;
		width: 100%;
	}
	#call-to-action * {
		float: none!important;
		margin:1em auto!important;
		width:80%!important;
	}
}
/*@media only screen and (max-width: 300px) {*/
	/*#container {*/
		/*width:250px;*/
		/*margin:0;*/
		/*padding:1em 0.5em;*/
	/*}*/
	/*#screenshot, #the-copy {*/
		/*float: none;*/
		/*width: 100%;*/
	/*}*/
/*}*/
/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }




/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}
