/* @override 
	http://dev.aspectphotography.net/wp-content/themes/aspect-photography/_css/smartphone.css */

/* RESET */

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, 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, nav, section, article, header, footer, section, header, footer, article, aside, hgroup { margin: 0; padding: 0; border: 0; outline: 0; font-size: 1em; vertical-align: baseline; background: transparent; font-weight: normal; } 
body{ line-height: 1; }
ol, ul{ list-style: none; }
blockquote, q{ quotes: none;  }
blockquote:before, blockquote:after, q:before, q:after{ content: ''; content: none; }
:focus{ outline: 0; }
ins{ text-decoration: none; }
del{ text-decoration: line-through; }
table{ border-collapse: collapse; border-spacing: 0; }
a{ text-decoration: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{ display: block; }

html{ font-family: 'NeuzeitGro-Reg', sans-serif; font-size: 62.5%; background-color: #ffffff; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; }
/* allows us to specify font sizes as EMs - 1em = 1px */

input, textarea, button{ font-family: 'NeuzeitGro-Reg', sans-serif; -webkit-font-smoothing: antialiased; -moz-border-radius: 0px; border-radius: 0px; margin: 0px; line-height: 1; }
/* inputs seem to need font family specified separately, and iOS seems to like to do its own thing */

input[type=submit], button{
	cursor: pointer;
}

input[type=text], input[type=email], input[type=search], input[type=submit], button, textarea{ -webkit-appearance: none; }

img { -ms-interpolation-mode: bicubic; }
/* takes care of image resizing issues in Internet Explorer */

a{ color: inherit; font-weight: inherit; }

p, h1, h2, h3, h4, h5, h6, h7, li, li li, li ul, li ul li, label, dd, dt, input, a { font-size: 1em; }
/* helps take care of unexpected effects due to inheritence of font sizes */ 

/*
Reminders:

-webkit-transition: opacity .4s; -moz-transition: opacity .4s; -o-transition: opacity .4s; transition: opacity .4s;
transform:rotate(7deg); -ms-transform:rotate(7deg); -moz-transform:rotate(7deg); -webkit-transform:rotate(7deg); -o-transform:rotate(7deg);

filter: alpha(opacity = 40); opacity: 0.4;

-moz-border-radius: 3px; border-radius: 3px;

-webkit-transform: translate3D(0px,0px,0px); -o-transform: translate3D(0px,0px,0px); -moz-transform: translate3D(0px,0px,0px); transform: translate3D(0px,0px,0px);

input::-webkit-input-placeholder
input:-moz-placeholder

box-sizing: content-box

-moz-box-shadow: 		inset 0px 1px 5px rgba(0,0,0,0.15);
-webkit-box-shadow: 	inset 0px 1px 5px rgba(0,0,0,0.15);
box-shadow: 			inset 0px 1px 5px rgba(0,0,0,0.15);

CSS gradient generator: http://www.colorzilla.com/gradient-editor/
*/

/* ************************************** HIDDEN FROM SMARTPHONE ************************************** */

/* hide totally */
#dynamic_page, #loading_overlay, #carousel, #progress_indicator, #carousel_nav, #ap_img_logo_light, #ap_text_logo, #main_nav, #links_list, #categories_list, #archives_list, #projects_list, #links_form, #projects_form{
	display: none;
}

/* just hide if it's a page showing the smartphone gallery */
.content_page #banner, .content_page #main, .gallery #banner, .gallery #main{
	display:  none;
}

/* hide from the blog article only */

.blog_article #sidebar{
	display: none;
}

/* ************************************** COMMON ELEMENTS ************************************** */

#interact_nav li a, #share_buttons li a{
	width: 45px; height: 45px;
}

/* ************************************** HOMEPAGE / GALLERY PAGE ************************************** */

#iphone_screen{
	position: relative;
	overflow: hidden;
	width: 320px; height: 600px;
	background: #000000;
}

#iphone_header{
	position: absolute; top: 0px; left: 0px;
	width: 100%;
}

#iphone_body{
	box-sizing: border-box; -webkit-box-sizing: border-box;
	position: absolute; top: 514px; left: 0px;
	width: 100%;
	padding-left: 20px; padding-right: 20px;
	
}

#iphone_text_logo{
	width: 214px;
	margin-bottom: 20px;
}

#iphone_body p{
	margin-bottom: 20px;
	font-size: 1.3em; color: #ffffff; line-height: 1.5;
}

#iphone_footer{
	box-sizing: border-box; -webkit-box-sizing: border-box;
	position: absolute; bottom: 0px; left: 0px;
	width: 100%;
	padding: 20px; padding-bottom: 24px;
}

#iphone_footer p{
	font-family: 'NeuzeitGro-Bol'; color: #ffffff; font-size: 1.9em; line-height: 1.1;
}

#iphone_blog_link{
	margin-top: 14px;
}

/* photo gallery */

#smartphone_gallery{
	position: relative;
	overflow: hidden;
	width: 320px; height: 480px;
}

#iphone_ap_logo{
	position: absolute; top: 168px; left: 98px;
	width: 124px;
}

.js #iphone_ap_logo{
	opacity: 0;
	-webkit-transition: opacity 1s; -moz-transition: opacity 1s; -o-transition: opacity 1s; transition: opacity 1s;
}

#iphone_ap_logo.active{
	opacity: 0;
}

#smartphone_gallery_slides{
	-o-transition: -o-transform 0.3s; -webkit-transition: -webkit-transform 0.3s; -moz-transition: -moz-transform 0.3s; transition: transform 0.3s;
	-webkit-transform: translate3D(0px,0px,0px); -o-transform: translate3D(0px,0px,0px); -moz-transform: translate3D(0px,0px,0px); transform: translate3D(0px,0px,0px);
}

#smartphone_gallery_slides li{
	position: absolute; left: 321px; top: 0px;
	overflow: hidden;
	width: 320px; height: 480px;
	
	-webkit-transform: translate3D(0px,0px,0px); -o-transform: translate3D(0px,0px,0px); -moz-transform: translate3D(0px,0px,0px); transform: translate3D(0px,0px,0px);
}

#smartphone_gallery_slides li.first{
	left: 0px;
}

/* ************************************** BLOG PAGES ************************************** */

#main{
	min-width: 0px;
	margin-top: 0px; margin-bottom: 0px;
}

.blog_index #main, .blog_article #main{
	margin-top: 0;
}

.blog_article #main{
	margin-bottom: 20px;
}

#blog_list, #blog_article{
	float: none;
	width: 100%;
	margin-right: 0;
}

/* banner */

#logo_banner{
	margin-left: 20px; margin-top: 20px;
}

#logo_banner img{
	width: 95px; height: 78px;
}

#interact_nav{
	position: absolute; top: 0px; right: 20px;
}

#logo_interact_banner_container hr{
	margin: 20px 20px 0 20px; border: none; border-top: 1px solid #000000;
}

/* blog list */

#pagination{
	margin-bottom: 20px;
	font-size: 1.8em;
}

#pagination p, #pagination ul{
	float: none; overflow: hidden;
}

#pagination ul{
	margin-bottom: 10px;
}

#pagination li{
	margin-right: 15px; margin-bottom: 8px;
}

#pagination_viewing_text{
	display: none;
}

#pagination_totals{
	margin-left: 0;
}

/* blog article */

.blog article{
	margin-top: 40px; margin-bottom: 70px;
}

/* sidebar */

#sidebar{
	float: none; overflow: hidden;
	width: 100%;
	margin-top: 40px;
}

#sidebar.active{
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 40px;
}

#sidebar h2{
	display: none;
}

#sidebar select{
	width: 100%;
}

#search_form{
	max-width: 100%;
	margin-bottom: 40px;
}

#categories_form, #archives_form, #projects_form, #links_form{
	display: none;
	float: left;
	border-top: none; padding: 0; margin-bottom: 40px;
	width: 47%;
}

#sidebar.active #categories_form, #sidebar.active #archives_form, #sidebar.active #projects_form, #sidebar.active #links_form{
	display: block;
}

#categories_form, #archives_form{
	margin-bottom: 20px;
}

#categories_form, #links_form{
	margin-right: 6%;
}

/* ************************************** LANDSCAPE ORIENTATION ************************************** */

@media (orientation : landscape) {

	/* smartphone page */
	
	#iphone_screen{
		height: 675px;
	}
	
	#iphone_body{
		top: 247px;
	}
	
	#smartphone_gallery{
		height: 213px;
	}
	
	#iphone_ap_logo{
		top: 55px;
	}
	
	#smartphone_gallery_slides li{
		top: 0px;
	}
	
	/* blog sidebar */
	
	#categories_form, #archives_form, #projects_form, #links_form{
		width: 22%;
		margin-bottom: 40px;
	}
	
	#categories_form, #links_form, #archives_form{
		margin-right: 4%;
	}
}

