/************************************************
*	Media Queries								*
************************************************/

/* iPad Styles */

@media handheld, only screen and (max-width: 1023px) {
	
	/* Typography iPad */
	
	body {  
		line-height: 1.7; 
		}
	blockquote {
		font-size: 1.4rem;
		}
	}
		
@media handheld, only screen and (max-width: 1023px) {
		
	/* Theme iPad */
	
	.container {
		padding: 0px 20px;
		}
	#navigation {
		height: auto;
		position: relative;
		font-size: 0.8em;
		}
	.logged-in.admin-bar #navigation {
		margin-top: 0px;
		}
	.menu a {
		padding: 0px 10px;
		}
	#header {
		margin-top: 0px;
		}
	#header #logo,
	#header #masthead {
		margin: 0px;
		}
	#header .site-title {
		font-size: 2.8rem;
		}
	#header .site-description {
		font-size: 1.1rem;
		}
	#custom-header {
		background-position: center;
		background-attachment: scroll;
		background-repeat: no-repeat;
		background-size: cover;
		margin: 0px;
		}
	.callout-text {
		padding: 24px;
		}
	.callout-text h2 {
		font-size: 2rem;
		margin: 0px;
		}
	.callout-text h4 {
		font-size: 1.2rem;
		margin: 0px;
		}
	.slideshow .loading {
		min-height: 320px;
		}
	.article {
		padding: 24px;
		}
	.post-column {
		display: none;
		}
	}
	
/* iPhone Styles */

@media handheld, only screen and (max-width: 767px) {
	
	/* Typography */
	
	h1 { 
		font-size: 1.8rem; 
		line-height: 1.2; 
		}
	h2 { 
		font-size: 1.6rem; 
		line-height: 1.2; 
		}
	h3 {  
		font-size: 1.4rem; 
		line-height: 1.4; 
		}
	h4 { 
		font-size: 1.2rem; 
		line-height: 1.4; 
		}
	h5 {  
		font-size: 1.0rem; 
		line-height: 1.4; 
		}
	h6 { 
		font-size: 1.0rem; 
		line-height: 1.4; 
		}
	body, p {  
		font-size: 0.9rem; 
		line-height: 1.6; 
		}
	blockquote {
		font-size: 1.1rem;
		}
	.headline {
		font-size: 1.8rem;
		margin: 0px;
		padding: 0px;
		}
	}
	
@media only screen and (max-width: 767px) {		

	/* Theme iPhone */
	
	.container {
		padding: 0px 10px;
		}
	#header {
		margin-bottom: 12px;
		}
	#navigation {
		position: relative;
		top: auto;
		margin: 0px;
		padding: 0px;
		}
	.mobile-menu {
		float: left;
		width: 100%;
		margin: 0px;
		padding: 0px;
		overflow: hidden;
		}
	.menu-toggle,
	.main-small-navigation ul.mobile-menu.toggled-on {
		display: block;
		}
	.navigation-main ul.menu,
	.sf-sub-indicator {
		display: none;
		}
	.menu {
		display: block;
		}
	.menu-toggle {
		float: left;
		font-size: 1.8em;
		font-weight: 400;
		line-height: 40px;
		text-transform: none;
		margin: 0;
		padding: 0px 12px;
		}
	.menu-toggle i {
		color: #666666;
		}
	.menu-toggle i:hover,
	.menu-toggle i:focus,
	.menu-toggle i:active {
		color: #ffffff;
		}
	.mobile-menu ul.sub-menu {
		display: block !important;
		visibility: visible !important;
		left: auto;
		margin: 0;
		padding: 0;
		}
	.mobile-menu ul,
	.mobile-menu li {
		list-style: none;
		margin: 0;
		padding: 0;
		}
	.mobile-menu li {
		display: block;
		line-height: 30px;
		}
	.mobile-menu li li a:before {
		content: '- ';
		}
	.mobile-menu li li li a:before {
		content: '-- ';
		}
	.mobile-menu li li li li a:before {
		content: '--- ';
		}
	.mobile-menu a {
		display: block;
		color: #666666;
		font-size: 1.2em;
		text-decoration: none;
		padding: 6px 12px;
		border-top: 1px solid #000000;
		}
	.mobile-menu a:hover {
		background: #000000;
		color: #ffffff;
		text-decoration: none;
		}
	.slideshow {
		margin-bottom: 12px;
		}
	.slideshow .loading {
		min-height: 240px;
		}
	.format-image, 
	.format-standard, 
	.format-video {
		min-height: 0px;
		}
	.type-post, .type-page, .archive-result, .post-comments {
		margin-bottom: 12px;
		}
	.article {
		padding: 18px;
		}
	.post-meta .align-left, 
	.post-meta .align-right {
		width: 100%;
		text-align: center;
		padding: 4px 0px;
		}
	.post-meta p {
		font-size: 0.7rem;
		}
	.sidebar {
		margin-top: 12px;
		}
	.widget {
		margin-bottom: 12px;
		}
	.container #author, 
	.container #email, 
	.container #url {
		width: 96%;
		padding: 2%;
		}
	#footer {
		height: auto;
		padding: 0px;
		}
	#footer .columns {
		height: auto;
		}
	#footer .align-left {
		width: 70%;
		}
	#footer .align-right {
		width: 30%;
		}
	#footer p {
		font-size: 0.7rem;
		}
	#footer .one.column {
		display: none;
		}
	.container ul.products li.product {
		width: 100%;
		}
		
	/* Grid */
	
	body { 
		-webkit-text-size-adjust: none; 
		-ms-text-size-adjust: none; 
		width: 100%; 
		min-width: 0; 
		margin-left: 0; 
		margin-right: 0; 
		padding-left: 0; 
		padding-right: 0; 
		}
	.container { 
		min-width: 0;
		margin-left: 0; 
		margin-right: 0; 
		}
	.row { 
		width: 100%; 
		min-width: 0; 
		margin-left: 0; 
		margin-right: 0; 
		}
	.row .row .column, .row .row .columns { 
		padding: 0; 
		}
	.column, .columns { 
		width: auto !important; 
		float: none; 
		margin-left: 0; 
		margin-right: 0; 
		}
	.column:last-child, .columns:last-child { 
		margin-right: 0; 
		float: none; 
		}
	[class*="column"] + [class*="column"]:last-child { 
		float: none; 
		}
	[class*="column"]:before, [class*="column"]:after { 
		content:""; 
		display:table; 
		}
	[class*="column"]:after { 
		clear: both; 
		}
	}