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

/* iPad Styles */
	
@media handheld, only screen and (max-width: 1023px) {
	
	/* Typography iPad */
	
	body {  
		font-size: 0.9rem; 
		line-height: 1.4; 
		}
	blockquote {
		font-size: 1.4rem;
		}
	.headline {
		font-size: 2rem;
		}
	}
		
@media handheld, only screen and (max-width: 1023px) {
	
	/* Theme iPad */
	
	.row {
		width: auto;
		padding-left: 24px;
		padding-right: 24px;
		}
	#contact .contact-info,
	#contact .language-icons {
		font-size: 0.9em;
		}
	#header {
		padding-bottom: 20px;
		}
	#header .columns {
		float: none;
		width: 100%;
		text-align: left;
		}
	#custom-header img {
		margin: 0px auto 0px;
		}
	.menu {
		float: none;
		}
	.menu a {
		font-size: 0.9em;
		padding: 0px 10px;
		}
	.slider-background {
		padding: 24px 0px;
		}
	.slideshow .loading {
		min-height: 260px;
		}
	.slideshow .flex-control-nav {
		display: none;
		}
	.featured-tagline .description {
		font-size: 1.2rem;
		line-height: 1.4;
		}
	.featured-page, .featured-projects,
	.featured-team, .featured-tagline {
		padding: 22px 0px;
		}
	.search-results .post-author p {
		float: left;
		display: block;
		width: 100%;
		font-size: 0.9em;
		}
	.footer {
		text-align: left;
		}
	.footer .align-left,
	.footer .align-right {
		float: none;
		}
	.footer .align-right {
		margin-top: 12px;
		}
	#navigation {
		margin-top: 18px;
	}
	
	}
	
/* iPhone */
	
@media handheld, only screen and (max-width: 767px) {

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

	/* Theme iPhone */
	
	#contact {
		font-size: 1.0em;
		position: relative;
		}
	#contact .align-left {
		height: 1.8em;
		overflow: hidden !important;
		float: none;
		}
	#contact .align-left .contact-info {
		padding-left: 10px;
		padding-right: 0px;
		}

	#contact .align-right {
		float: left;
		}
	#contact .language-icons {
		font-size: 0.9em;
		}
	#header {
		display: inline-block;
		width: 100%;
		height: auto;
		padding: 24px 0px;
		}
	#header .site-title {
		padding: 0px;
		}
	#masthead {
		text-align: left;
		}
	#custom-header {
		margin: 0px;
		}
	#navigation {
		background: #333333;
		position: relative;
		top: auto;
		margin: 22px 0px 0px 0px;
		padding: 0px;
		}
	.mobile-menu {
		margin: 0px;
		padding: 0px;
		}
	.menu-toggle,
	.main-small-navigation ul.mobile-menu.toggled-on {
		display: block;
		}
	.navigation-main ul.menu,
	.sf-sub-indicator, .menu-divider {
		display: none;
		}
	.menu {
		display: block;
		}
	.menu-toggle {
		color: #FFFFFF;
		font-size: 1.0em;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: none;
		text-align: center;
		margin: 0;
		padding: 8px 12px;
		}
	.menu-toggle:before {
		color: #FFFFFF;
		font-family: 'FontAwesome';
		content: ' ';
		top: 1px;
		margin-right: 4px;
		position: relative;
		}
	.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;
		text-align: left;
		padding-left: 10px;
		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: #EEEEEE !important;
		text-decoration: none;
		padding: 6px 0px;
		border-top: 1px solid rgba(0,0,0, 0.1);
		}
	.mobile-menu a:hover {
		background: rgba(0,0,0, 0.08);
		color: #FFFFFF !important;
		text-decoration: none;
		}
	.slideshow .feature-img, 
	.slideshow .feature-vid {
		padding-right: 0px;
		}
	.slideshow .information {
		padding: 24px;
		}
	.slideshow .information p {
		display: block;
		}
	.slideshow .loading {
		min-height: 180px;
		}
	.flex-direction-nav .flex-next {
		right: 0;
		border-radius: 2px 0px 0px 2px;
		-moz-border-radius: 2px 0px 0px 2px;
		-khtml-border-radius: 2px 0px 0px 2px;
		-webkit-border-radius: 2px 0px 0px 2px;
		}
	.flex-direction-nav .flex-prev {
		left: 0;
		border-radius: 0px 2px 2px 0px;
		-moz-border-radius: 0px 2px 2px 0px;
		-khtml-border-radius: 0px 2px 2px 0px;
		-webkit-border-radius: 0px 2px 2px 0px;
		}
	.flex-control-nav, .slideshow .information { 
		display: none;
		}
	.featured-page .feature-img {
		margin: 0px 0px 24px 0px;
		}
	.featured-page .information {
		padding-left: 0px;
		}
	.featured-page, .featured-projects,
	.featured-team, .featured-tagline {
		padding: 36px 0px;
		}
	.featured-tagline .description {
		font-size: 1rem;
		text-align: center;
		}
	.featured-projects .project-links {
		display: block;
		text-align: center;
		margin: 0px auto 0px;
		padding: 0px;
		}
	.featured-projects .project-links .button {
		display: inline-block;
		margin: 12px 4px;
		}
	.featured-projects .information {
		text-align: center;
		}
	.featured-team .four.columns, 
	.featured-team .four.columns:last-child,
	.team-members .four.columns, 
	.team-members .four.columns:last-child {
		display: block;
		}
	.postarea, .postarea.middle, .postarea.full {
		padding: 24px 0px;
		}
	.pagination {
		margin-bottom: 12px;
		}
	.archive-column {
		width: 100%;
		padding-right: 0;
		}
	.sidebar {
		margin: 24px 0px;
		display: none;
		}
	.sidebar.left {
		display: none;
		}
	.footer {
		margin-top: 24px;
		}
	.footer-information {
		padding: 36px 0px;
		text-align: left;
		}
	.footer p {
		font-size: 0.85em;
		}
	.container form textarea {
		width: 94% !important;
		}

	/* Banner Images*/
	
	.banner-img {
	padding: 0px 0px 180px 0px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
}
	/* 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; 
		}
	.row {  
		min-width: 0; 
		margin-left: 0; 
		margin-right: 0;
		overflow: visible !important;
		}
	.row .single, 
	.row .half, 
	.row .third, 
	.row .fourth { 
		width: 100%; 
		}
	.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; 
		}
	}