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

/* Mobile */
		
@media handheld, only screen and (max-width: 1023px) {
	.reveal-modal-bg { 
		position: absolute; 
		}
	.reveal-modal,
	.reveal-modal.small,
	.reveal-modal.medium,
	.reveal-modal.large,
	.reveal-modal.xlarge { 
		width: 60%; 
		top: 60px; 
		left: 15%; 
		margin-left: 0; 
		padding: 20px; 
		height: auto; 
		}
		
	/* Theme iPad */
	
	.headline {
		font-size: 3.2em;
		}
	.tagline, #features .tagline {
		font-size: 1.8em;
		}
	#features .callout .headline {
		font-size: 2.2em;
		}
	.callout .headline {
		font-size: 2em;
		}
	#grass, #leaves-left, #leaves-right {
		display: none !important;
		}
	.hentry, #bottom, #footer {
		padding-left: 16px;
		padding-right: 16px;
		}
	#header,
	#home-banner {
		width: auto;
		padding-left: 16px;
		padding-right: 16px;
		}
	#features .title {
		margin-top: 12px;
		}
	#navigation {
		font-size: 1em;
		}
	#themes span.btn.view {
		margin-top: -30px;
		}
	#themes .six.columns {
		width: 44.5%;
		margin-top: 16px;
		margin-bottom: 16px;
		padding-left: 12px;
		padding-right: 12px;
		}
	#themes .callout {
		margin-top: 0px;
		margin-bottom: 0px;
		}
	#themes .callout .information {
		width: auto;
		}
	#themes .callout .headline {
		font-size: 2em;
		}
	.theme h2 {
		font-size: 1.6em;
		}
	.theme a.btn.buy {
		font-size: 0.78em;
		}
	.theme a.btn.setup {
		font-size: 1em;
		}
	.theme .purchase-buttons .or {
		top: 12px;
		}
	.theme ul.feature-list li {
		font-size: 0.85em;
		line-height: 1.6;
		}
	.banner a.btn.demo {
		left: 42%;
		top: 52%;
		}
	.like-btn {
		width: 78px;
		}
	.tweet-btn {
		width: 80px;
		}
	.plus-btn {
		width: 62px;
		}
	#showcase a.btn, 
	#showcase-feature a.btn {
		font-size: 0.9em;
		padding: 12px 10px;
		}
	#showcase a.btn i, 
	#showcase-feature a.btn i {
		display: none;
		}
	#packages-bg {
		display: none;
		}
	#tbtestimonials-widget li.testimonial-slide .testimonial-data {
		width: auto;
		}
	#tbtestimonials-widget li.testimonial-slide .testimonial-gravatar {
		display: none;
		}
	#comments .fb_iframe_widget {
		display: none !important;
		}
	#s {
		width: 62%;
		}
	.sitemap, .copyright, .menufooter li {
		float: none;
		}
	.footer.left {
		width: 100%;
		text-align: center;
		}
	.footer.right, .datebox, .truste {
		display: none;
		}
	}

@media handheld, only screen and (max-width: 767px) {
	.reveal-modal-bg { 
		position: absolute; 
		}
	.reveal-modal,
	.reveal-modal.small,
	.reveal-modal.medium,
	.reveal-modal.large,
	.reveal-modal.xlarge { 
		width: 80%; 
		top: 15px; 
		left: 5%; 
		margin-left: 0; 
		padding: 20px; 
		height: auto; 
		}
	}
	
/* Typography */
	
@media handheld, only screen and (max-width: 767px) {
	h1 { 
		font-size: 1.5rem; 
		line-height: 1.3; 
		}
	h2 { 
		font-size: 1.4rem; 
		line-height: 1.3; 
		}
	h3 { 
		font-size: 1.2rem; 
		line-height: 1.3; 
		}
	h4 { 
		font-size: 1.1rem; 
		line-height: 1.4; 
		}
	h5 { 
		font-size: 1rem; 
		line-height: 1.4; 
		}
	h6 { 
		font-size: 0.9rem; 
		line-height: 1.4; 
		}
	blockquote {
		font-size: 1rem;
		margin: 6px 0px;
		padding: 10px;
		}
	blockquote p {
		line-height: 1.6;
		}
	.headline {
		font-size: 1.2rem;
		line-height: 1.3;
		letter-spacing: -0.4px;
		}
	.headline.small {
		font-size: 1.6rem;
		}
	.page-headline, .banner .headline {
		font-size: 1.6rem;
		line-height: 1.1;
		letter-spacing: -0.6px;
		}
	.post-headline {
		font-size: 1.4rem;
		line-height: 1.2;
		letter-spacing: -1.4px;
		}
	.tagline {
		font-size: 1.1rem !important;
		}
	body, p {  
		font-size: 0.9em; 
		line-height: 2; 
		}
	}
	
/* Content */
	
@media only screen and (max-width: 767px) {		

	/* Theme iPhone */
	
	.content {
		padding-top: 30px;
		padding-bottom: 10px;
		border-top: none;
		}
	.postarea {
		margin-bottom: 16px;
		padding: 16px;
		}
	#header, #homepage {
		padding-left: 12px;
		padding-right: 12px;
		}
	#header .row, #homepage #header .row {
		height: auto;
		border-bottom: none;
		}
	#custom-header {
		float: none;
		display: block;
		}
	#home-banner .row {
		padding-top: 30px;
		}
	#home-banner a.btn {
		font-size: 0.9rem;
		margin-bottom: 20px;
		padding: 12px 10px;
		}
	#navigation {
		width: 100%;
		}
	#navigation .menu li {
		display: inline-block;
		width: 50%;
		}
	#navigation .menu a {
		position: relative;
		top: -2px;
		color: #EEEEEE;
		font-size: 16px;
		text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.2);
		line-height: 2.4;
		margin: 4px;
		padding: 6px 10px;
		border-radius: 2px;
		-moz-border-radius: 2px;
		-khtml-border-radius: 2px;
		-webkit-border-radius: 2px;
		background-color: #99cc00;
		background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.00)),to(rgba(0, 0, 0, 0.20)));
		background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.20));
		background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.20));
		background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.20));
		background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.20));
		background-image: linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.20));
		box-shadow: 0px 3px 0px #336600;
		-moz-box-shadow: 0px 3px 0px #336600;
		-webkit-box-shadow: 0px 3px 0px #336600;
		border: none;
		}
	#navigation .menu a:hover,
	#navigation .menu a:focus,
	#navigation .menu a:active,
	#navigation .menu .current_page_item a,
	#navigation .menu .current_page_ancestor a,
	#navigation .menu .current-menu-item a,
	#navigation .menu .current-cat a {
		top: 0px;
		color: #FFFFFF;
		background-color: #669900;
		text-decoration: none;
		box-shadow: inset 0px 3px 0px rgba(0, 0, 0, .2);
		-moz-box-shadow: inset 0px 3px 0px rgba(0, 0, 0, .2);
		-webkit-box-shadow: inset 0px 3px 0px rgba(0, 0, 0, .2);
		border: none;
		}
	#home-banner .row {
		border-top: none;
		}
	.intro {
		padding-bottom: 0px;
		}
	.callout {
		text-align: center;
		margin-top: 30px;
		padding: 0px;
		}
	#themes .callout {
		margin: 0px;
		}
	.callout .information,
	#themes .callout .information {
		float: none;
		display: block;
		width: 100% !important;
		overflow: hidden;
		}
	.callout .headline,
	#features .callout .headline,
	#themes .callout .headline {
		float: none;
		font-size: 0.9rem;
		line-height: 50px;
		padding: 0px;
		}
	.callout a.btn, 
	.callout.alt a.btn {
		float: none;
		display: block;
		text-align: center;
		margin: 0px;
		padding: 12px;
		border-top: 1px solid rgba(0, 0, 0, .08);
		}
	#features {
		padding-top: 30px;
		padding-bottom: 30px;
		}
	#features .feature {
		margin-top: 20px;
		margin-bottom: 0px;
		padding-top: 20px;
		border-top: 1px solid #DDDDDD;
		}
	#features .icon {
		width: 30%;
		max-width: none;
		margin-right: 6%;
		}
	#features .icon img {
		float: right;
		}
	#features .feature .information {
		width: 64%;
		}
	#features .information p {
		display: none;
		}
	#edd-security-msg,
	#edd_purchase_form {
		float: none;
		display: block;
		width: auto;
		margin: 12px 0px;
		}
	#edd-security-msg {
		padding: 18px;
		width: auto;
		}
	#themes h2 {
		font-size: 1.8em;
		}
	#themes .theme-btns .btn {
		margin-top: 6px;
		margin-bottom: 6px;
		}
	#themes .six.columns {
		margin-left: 0;
		}
	#themes .six.columns.first {
		float: none;
		}
	.theme {
		padding-bottom: 8px;
		}
	.theme .purchase-buttons .or {
		top: 12px;
		}
	.banner a.btn.demo {
		margin-left: -36px;
		}
	.postinfo p {
		font-size: 0.7em;
		}
	#tutorials .postarea .columns {
		padding-left: 0px;
		padding-right: 0px;
		}
	#hosting .content {
		padding-bottom: 0px;
		}
	#packages .package.first {
		margin-top: 0px !important;
		}
	#packages .package {
		width: 100% !important;
		margin: 20px 0px 0px 0px !important;
		padding: 0px;
		}
	#showcase .four.columns.first {
		float: none;
		}
	#showcase .four.columns {
		margin-bottom: 0px;
		}
	#showcase-feature .content {
		padding-bottom: 0px;
		}
	#showcase-feature .postarea {
		margin-bottom: 16px;
		}
	#showcase-feature .postarea .tagline {
		font-weight: bold;
		text-align: center;
		}
	#showcase-feature .featureimg {
		float: none;
		display: block;
		width: auto;
		margin-right: 0px;
		margin-bottom: 12px;
		}
	#showcase-feature .btn-holder-showcase {
		text-align: center;
		margin: 0px auto 12px;
		}
	#showcase a.btn i, 
	#showcase-feature a.btn i {
		display: inline;
		}
	#tutorials .featureimg {
		margin-bottom: 20px;
		}
	#bottom {
		padding-top: 20px;
		}
	#bottom .three.columns, 
	#bottom .four.columns {
		display: none;
		}
	.sidebar {
		margin-top: 20px;
		}
	.sidebar.left {
		display: none;
		}
	.copyright {
		display: none;
		}
	.menufooter {
		margin-top: 0px;
		}
	#edd_purchase_form input[type='url'],
	#edd_purchase_form input[type='tel'],
	#edd_purchase_form input[type='email'],
	#edd_purchase_form input[type='text'],
	#edd_purchase_form input[type='password'] {
		width: 94%;
		}
	.container form input[type='url'],
	.container form input[type='tel'],
	.container form input[type='email'],
	.container form input[type='text'],
	.container form input[type='password'],
	.container form input[type='number'] {
		width: 94%;
		}
	.container form textarea,
	#commentform textarea {
		width: 94% !important;
		}
		
	/* Grid */
	
	.single-theme .five.columns {
		margin-left: 0;
		}
	body { 
		-webkit-text-size-adjust: none; 
		-ms-text-size-adjust: none; 
		width: 100%; 
		min-width: 320px; 
		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; 
		}
}
	
	
/* Block Grids */	
	
@media only screen and (max-width: 767px) {
	.block-grid.mobile { 
		margin-left: 0; 
		}
	.block-grid.mobile > li { 
		float: none; 
		width: 100%; 
		margin-left: 0; 
		}
}
	
	

/* -------------------------------------------------- 
	:: Mobile Visibility Affordances
---------------------------------------------------*/
	
	
.show-on-phones { display: none !important; }	
.show-on-tablets { display: none !important; }
.show-on-desktops { display: block !important; }

.hide-on-phones { display: block !important; }	
.hide-on-tablets { display: block !important; }
.hide-on-desktops { display: none !important; }


/* Modernizr-enabled tablet targeting */
@media only screen and (max-width: 1280px) and (min-width: 768px) {
	.touch .hide-on-phones { display: block !important; }
	.touch .hide-on-tablets { display: none !important; }
	.touch .hide-on-desktops { display: block !important; }
	
	.touch .show-on-phones { display: none !important; }
	.touch .show-on-tablets { display: block !important; }
	.touch .show-on-desktops { display: none !important; }
}

	
@media only screen and (max-width: 767px) {
	.hide-on-phones { display: none !important; }
	.hide-on-tablets { display: block !important; }
	.hide-on-desktops { display: block !important; }
	
	.show-on-phones { display: block !important; }
	.show-on-tablets { display: none !important; }
	.show-on-desktops { display: none !important; }
}


/* Specific overrides for elements that require something other than display: block */

table.show-on-desktops { display: table !important; }
table.hide-on-phones { display: table !important; }	
table.hide-on-tablets { display: table !important; }

@media only screen and (max-width: 1280px) and (min-width: 768px) {
	.touch table.hide-on-phones { display: table !important; }
	.touch table.hide-on-desktops { display: table !important; }
	.touch table.show-on-tablets { display: table !important; }
}

@media only screen and (max-width: 767px) {
	table.hide-on-tablets { display: table !important; }
	table.hide-on-desktops { display: table !important; }
	table.show-on-phones { display: table !important; }
}