/* @override 
	http://www.photorescueapp.dev/lib/css/style.css?v=1
	http://photorescueapp.dev/lib/css/style.css?v=1
*/

/* _________________________________________________

320 and Up boilerplate extension

Author: Andy Clarke
Version: 0.9b
URL: http://stuffandnonsense.co.uk/projects/320andup/
_____________________________________________________

1.ROOT
2.HEADINGS
3.TYPOGRAPHY
4.LINKS
5.FIGURES & IMAGES
6.TABLES
7.FORMS (See css/mylibs/forms.css)
8.BANNER header[role="banner"]
9.NAVIGATION nav[role="navigation"]
10.CONTENT
11.MAIN div[role="main"]
12.COMPLIMENTARY div[role="complementary"]
13.CONTENTINFO footer[role="contentinfo"]
14.GLOBAL OBJECTS
15.VENDOR-SPECIFIC 
16.TEMPLATE SPECIFICS
17.MODERNIZR

COLOURS 

*/

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

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

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

/* 1.ROOT */

html {
overflow-y : scroll;
background : rgb(255,255,255) /*url(/lib/img/tmp/grid.png) repeat-y 50% 0*/;
}

body { 
margin : 0 auto;
/*width : 90%  252px ;*/
font : 100%/1.4 "Helvetica Neue", Helvetica, Arial;
color : #333333; 
background-color : transparent; }

/* 2.HEADINGS */

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
font-family : "Helvetica Neue", Helvetica, Arial;
font-weight : bold; }

h1 { 
display: none;
margin-bottom : 0.75em;
font-size : 3em; /* 48 / 16 = 3 */
line-height : 1.2; }

h2 {
color: #838181;
font-weight: normal;
font-style: italic;
margin-bottom : .75em;
font-size : 1em; /* 20 / 16 = 1.25em */
line-height : 1.5; }

h3 {
color: #838181;
margin-bottom : 1em;
font-size : 1.5em; /* 21 / 16 = 1.3125em */
line-height : 1.3125em; }

h4 {
color: #555555;
margin-bottom : 1.25em;
font-size : 1.25em; /* 20 / 16 = 1.25 */
line-height : 1.25; }

h5 {
color: #444444;
margin-bottom : 0;
font-size : 0.875em; /* 14 / 16 = 0.875em */
line-height : 1.2857; }

h6 { 
font-size : 1em; /* 16 / 16 = 1 */ }

/* 3.TYPOGRAPHY */

p, 
ol, 
ul, 
dl, 
address { 
margin-bottom : 1.5em; 
font-size : 0.8125em; /* 16 / 16 = 1 */
line-height: 1.5; }

ul, 
ol { 
margin : 0 0 1.5em -24px; 
padding-left : 24px; }

ul { 
list-style-type : disc; }

ol { 
list-style-type : decimal; }

li ul, 
li ol { 
margin : 0;
font-size : 1em; /* 16 / 16 = 1 */ }

ul p,
ol p {
	color: #777777;
	font-size: 0.923em;
	margin-bottom: 0;
}

ul h4,
ol h4 {
	margin-bottom: 0;
}

dl, 
dd { 
margin-bottom : 1.5em; }

dt { 
font-weight : normal; }

blockquote  { 
margin : 0 0 1.5em -24px; 
padding-left : 24px; 
border-left : 1px solid rgb(200,200,200);
font-style : italic; }

blockquote:before, 
blockquote:after, 
q:before, 
q:after {
content : '';
content : none; }

b, 
strong	{ 
font-weight : bold; }

i, 
em { 
font-style : italic; }

sup, 
sub { 
position : relative;
font-size : 75%; 
line-height : 0; }

sup { 
top : -.5em; }

sub { 
bottom : -.25em; }

address { 
font-style : normal; }

pre { 
margin-bottom : 1.5em; 
white-space : pre; 
white-space : pre-wrap; 
word-wrap : break-word; }

pre, 
code { 
font : .875em 'andale mono', 'lucida console', monospace; 
line-height : 1.5; }

small {
font-size : 1em; /* 16 / 16 = 1 */ }

p.note {
	color: #777777;
	font-size : 0.6875em; /* 11 / 16 = 0.6875em */
	line-height: 1.454em;
	margin-bottom: 0;
}

/* 4.LINKS */

a, 
a:visited {
outline : none;
color : rgb(23,119,175);
text-decoration : none; }
 
a:hover { 
outline : none;
color : rgb(40,40,40); 
text-decoration : underline; }
 
a:active, 
a:focus { 
outline : none;
color : rgb(0,0,0); }

/* 5.FIGURES & IMAGES */

figure {
margin-bottom : 1.5em; }

figure img,
figure object,
figure embed {
margin-bottom : .75em;
max-width : 100%; }

figcaption {
display : block;
font-weight : normal; }

/* 6.TABLES */

table { 
border-collapse : collapse;
border-spacing : 0;
margin-bottom : 1.4em; 
width : 100%;
font-size : .875em; /* 14 / 16 = .875 */ }

th { 
font-weight : bold; }

th, td, caption { 
padding : .25em 10px .25em 5px; }

tfoot { 
font-style : italic; }

caption { 
background-color : transparent; }

/* 7.FORMS (See css/mylibs/forms.css) */

/* 8.HEADER/BANNER */

header {
	text-align: center;
	padding-top: 1.875em;
	padding-bottom: 110px;
	background: url(/lib/img/layout/header-bg-gradient.png) repeat-x center 100%;
}

.ie8 header {
	padding-top: 40px;	
}

header img {
	max-width: 100%;
	margin-left: -10px;
}

header video {
	width: 100%;
	height: auto;
	vertical-align: top;
}

header #video {
	max-width: 415px;
	height: inherit;
	margin: 0 auto -60px auto;
	-webkit-box-reflect: below 0 -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.8, transparent), to(rgba(255,255,255,0.2)));
}

hgroup {
	text-align: left;
}

header h2 {
	margin-top: -1em;
	margin-left: 30%;
}

header h3,
header p {
	padding-top: 16px;
	margin-left: 28%;
}

header a {
	margin: 0 20px 0 0;
}

/* 9.NAVIGATION */
/* 10.CONTENT */

header,
#main,
#complementary,
footer {
	padding-left: 30px;
	padding-right: 30px;
	margin: 0 auto;
}

.content {
	padding-top: 72px;
	background: url(/lib/img/layout/content-bg-gradient.png) repeat-x center top;
}

/* 11.MAIN */

#main {
	padding-top: 3.75em;
	padding-bottom: 3.75em;
}

#main ul,
#complementary ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#main ul.features {
	clear: both;
	border-top: 1px dotted #ccc;
	margin-top: 1.875em;
	padding-top: 1.875em;
}

ul.features li {
	padding: 0 0 0.9375em 48px;
	background: url(/lib/img/content/iOS-icon.png) no-repeat 0 0;
}

ul.features li:nth-child(2) {
	background-image: url(/lib/img/content/thumbnails-icon.png);
}

ul.features li:nth-child(3) {
	background-image: url(/lib/img/content/interface-icon.png);
}

ul.features li:last-child {
	background-image: url(/lib/img/content/speed-icon.png);
	padding-bottom: 0;
}

#cart {
	margin-bottom: 3em;
}

#cart img.icon {
	float: left;
}

#cart form {
	margin-top: 43px;
	margin-left: 60px;
	background: #ccc;
	border-radius: 20px;
	padding: 5px;
	text-align: right;
	margin-bottom: 10px;
}

#cart h4 {
	display: inline;
	margin: 0;
	/*top: -8px;*/
	line-height: 30px;
}

#cart h4 span {
	margin-top: -10px;
}

#purchase_button {
	margin-left: 10px;
	float: right;
}

#cart h4,
#cart p {
	text-align: right;
}

#cart p {
	margin-right: 10px;
}

/* 12.COMPLIMENTARY */

#complementary {
	clear: both;
	padding-top: 1.875em;
	padding-bottom: 0.375em;
	background: url(/lib/img/layout/fabric.jpg);
	background: url(/lib/img/layout/shadow-top.png) 0 0 repeat-x,
				url(/lib/img/layout/shadow-bottom.png) 0 bottom repeat-x,
				url(/lib/img/layout/fabric.jpg) 0 0 repeat;
	background-color: #a3a4a6;
}

#complementary ul {
	background: url(/lib/img/layout/apple.png) no-repeat 10px 0;
	min-height: 35px;
}

#complementary li {
	margin-bottom: 1.5em;
}

#complementary li p {
	color: #555555;
	font-size : 0.6875em; /* 11 / 16 = 0.6875em */
	line-height: 1.636em;
}

#complementary li:first-child {
	padding-left: 48px;
	
}

/* 13.CONTENTINFO */

footer {
	margin-top: 1.875em;
	margin-bottom: 7.5em;
}

footer p {
	color: #777777;
	font-size : 0.6875em; /* 11 / 16 = 0.6875em */
	line-height: 2.182em;
	margin-bottom: 0;
}

footer iframe
{
	padding-top: 10px;
	display: block;	
	clear: left;
}

/* 14.GLOBAL OBJECTS */

.clearfix { 
zoom : 1; }

.clearfix:before, 
.clearfix:after { 
content : "\0020"; 
display : block; 
height : 0; 
overflow : hidden; }

.clearfix:after { 
clear : both; }

/* 15.VENDOR-SPECIFIC */

body {
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

a:link { 
-webkit-tap-highlight-color : rgb(52,158,219); }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

/* input[type=search] {
-webkit-appearance : none; }

input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
display : none; } */

::-webkit-input-placeholder {
padding : 10px;
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
padding : 10px;
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

div,
input,
textarea  { 
-webkit-box-sizing : border-box;
-moz-box-sizing : border-box;
-o-box-sizing : border-box;
box-sizing : border-box; }

/* Non-semantic helper classes */

/* Image replacement */
.ir { 
display : block; 
text-indent : -999em; 
overflow : hidden; 
background-repeat : no-repeat; 
text-align : left; 
direction : ltr; }

/* Hide for screenreaders and visual browsers */
.hidden { 
display : none; 
visibility : hidden; }

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

/* Allow an element to be focusable via keyboard  */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { 
position : static;
clip : auto; 
overflow : visible;
height : auto; 
margin : 0;   
width : auto; }

/* Hide but maintain layout */
.invisible { 
visibility : hidden; }

/* 16.TEMPLATE SPECIFICS */

#goog-fixurl ul  {
list-style-type : none; }

#goog-fixurl input  {
margin-bottom : 1.5em; }

/* 17.MODERNIZR */

/* MEDIA QUERIES */

/*Print __________________________________________________________________________________________________________ */
@media print {
* { 
background : transparent !important; 
color : black !important; 
text-shadow : none !important; 
filter : none !important;
-ms-filter : none !important; } 

a, a:visited { 
color : #444 !important; 
text-decoration : underline; }

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

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

a[href^="javascript:"]:after, 
a[href^="#"]:after { 
content : ""; }
  
pre, blockquote { 
border : 1px solid #999; 
page-break-inside : avoid; }

thead { 
display : table-header-group; }

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

@page { 
margin : .5cm; }

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

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

/*480px __________________________________________________________________________________________________________ */
@media only screen and (min-width: 480px) {

/* 1.ROOT */
/* 2.HEADINGS */
/* 3.TYPOGRAPHY */
/* 4.LINKS */
/* 5.FIGURES & IMAGES */
/* 6.TABLES */
/* 7.FORMS */
/* 8.BANNER */
header h2 {
	margin-left: 109px;
}
/* 9.NAVIGATION */
/* 10.CONTENT */
/* 11.MAIN */
/* 12.COMPLIMENTARY */
/* 13.CONTENTINFO */
/* 14.GLOBAL OBJECTS */
/* 15.VENDOR-SPECIFIC */
/* 16.TEMPLATE SPECIFICS */
/* 17.MODERNIZR */

}/*/mediaquery*/

/*768px __________________________________________________________________________________________________________ */
@media only screen and (min-width: 768px) {

/* 1.ROOT */
/* 2.HEADINGS */
/* 3.TYPOGRAPHY */
/* 4.LINKS */
/* 5.FIGURES & IMAGES */
/* 6.TABLES */
/* 7.FORMS */
/* 8.BANNER */

header {
	padding-bottom: 80px;
}

header video {
	width: 415px;
	height: 235px;
}

header #video {
	width: 415px;
	height: 235px;
	background: url(/lib/img/layout/iMac.png) no-repeat 0 0;
	padding: 23px 80px 198px 23px;
	-webkit-box-reflect: none;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.no-flexbox header #video {
	top: 0;
	width: 518px;
	height: 456px;
}

/* 9.NAVIGATION */
/* 10.CONTENT */
/* 11.MAIN */

#main>p {
	width: 48%;
	float: left;
}

#main>p+p {
	float: right;
}

ul.features li {
	width: 40%;
	float: left;
}

ul.features li:nth-child(2n) {
	float: right;
}

ul.features li:last-child {
	padding-bottom: 4.615em;
}

/* 12.COMPLIMENTARY */
#complementary {
	padding-bottom: 1.5em;
}

#complementary li {
	padding-left: 48px;
	margin-bottom: 0.545em;
}

#complementary li:first-child p {
	display: inline;
}
/* 13.CONTENTINFO */

footer p {
	float: left;
	width: 50%;
}

footer p:nth-child(2) {
	clear: both;
}

footer p:nth-child(3) {
	margin-top: -2.182em;
}

footer p:nth-child(3),
footer p:nth-child(4) {
	float: right;
	text-align: right;
}

.ie8 footer p + p {
	text-align: right;	
}

.ie8 footer p + p + p {
	text-align: left;	
}

.ie8 footer p + p + p + p {
	text-align: right;	
}

/* 14.GLOBAL OBJECTS */
/* 15.VENDOR-SPECIFIC */
/* 16.TEMPLATE SPECIFICS */
/* 17.MODERNIZR */

}/*/mediaquery*/

/*992px __________________________________________________________________________________________________________ */
@media only screen and (min-width: 992px) {

/* 1.ROOT */
/* 2.HEADINGS */
/* 3.TYPOGRAPHY */
/* 4.LINKS */
/* 5.FIGURES & IMAGES */
/* 6.TABLES */
/* 7.FORMS */
/* 8.BANNER */

header>div {
	position: relative;
	min-height: 400px;
}

.ie8 header>div {
	height: 400px;
}

header #video {
	position: absolute;
	bottom: -60px;
	margin-bottom: 0;
	left: 0;
}

header hgroup {
	float: right;
	width: 420px;
}

#missing-memories {
	width: 420px;
	height: 250px;
	position: absolute;
	bottom: -60px;
	right: 0;
	background: url(/lib/img/layout/frames.png) no-repeat 50% 50%;
	clear: right;
}

/* 9.NAVIGATION */
/* 10.CONTENT */

header>div,
#main,
#complementary ul,
footer div {
	max-width: 940px;
	padding-left: 0;
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
}

/* 11.MAIN */

#intro {
	width: 290px;
	float: left;
	padding-bottom: 2.5625em;
}

#main ul.features,
#cart {
	border: 0 none;
	margin-top: 0;
	padding-top: 0;
	clear: none;
	width: 620px;
	float: right;
}

ul.features li {
	width: 252px;
}

ul.features li:last-child {
	padding-bottom: 1.818em;
}

/* 12.COMPLIMENTARY */

#complementary li {
	width: 300px;
	padding: 0;
	float: left;
	margin-left: 20px;
}

#complementary li:first-child {
	width: 252px;
	margin-left: 0;
}

#complementary li:first-child p {
	display: block;
}

/* 13.CONTENTINFO */
/* 14.GLOBAL OBJECTS */
/* 15.VENDOR-SPECIFIC */
/* 16.TEMPLATE SPECIFICS */
/* 17.MODERNIZR */

}/*/mediaquery*/

/*1382px __________________________________________________________________________________________________________ */
@media only screen and (min-width: 1382px) {

/* 1.ROOT */
/* 2.HEADINGS */
/* 3.TYPOGRAPHY */
/* 4.LINKS */
/* 5.FIGURES & IMAGES */
/* 6.TABLES */
/* 7.FORMS */
/* 8.BANNER */
/* 9.NAVIGATION */
/* 10.CONTENT */
/* 11.MAIN */
/* 12.COMPLIMENTARY */
/* 13.CONTENTINFO */
/* 14.GLOBAL OBJECTS */
/* 15.VENDOR-SPECIFIC */
/* 16.TEMPLATE SPECIFICS */
/* 17.MODERNIZR */

}/*/mediaquery*/

/*2x __________________________________________________________________________________________________________ */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {

/* 1.ROOT */
/* 2.HEADINGS */
/* 3.TYPOGRAPHY */
/* 4.LINKS */
/* 5.FIGURES & IMAGES */
/* 6.TABLES */
/* 7.FORMS */
/* 8.BANNER */
/* 9.NAVIGATION */
/* 10.CONTENT */
/* 11.MAIN */
/* 12.COMPLIMENTARY */
/* 13.CONTENTINFO */
/* 14.GLOBAL OBJECTS */
/* 15.VENDOR-SPECIFIC */
/* 16.TEMPLATE SPECIFICS */
/* 17.MODERNIZR */

}/*/mediaquery*/

/* 
Sources: 
http://meyerweb.com/eric/tools/css/reset
http://people.opera.com/patrickl/experiments/keyboard/test
http://gist.github.com/413930
http://pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap
http://sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars
http://tjkdesign.com/ez-css/css/base.css
http://viget.com/inspire/styling-the-button-element-in-internet-explorer
http://code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing
http://html5doctor.com/html-5-reset-stylesheet/
http://praegnanz.de/weblog/htmlcssjs-kickstart/
http://camendesign.com/design/
http://yui.yahooapis.com/2.8.1/build/base/base.css
http://webaim.org/techniques/css/invisiblecontent/
http://drupal.org/node/897638
*/