/* iPhone (portrait) */
@media (max-width: 767px) {
	.x-navbar .x-container.width {
		max-width: 80%;
		margin: 0 auto;
	}

	#teaser-expand, .flexslider .slides > li {
		width:320px!important
	}

	body {
		padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
	}
	#logo {
		text-align: center;
		margin-bottom: 25px
	}

	#main-menu-select {
		width: 95%;
		margin-left: 7px
	}

	header {
		padding-bottom:0!important
	}

	#contact_form {
		width: 300px;
		margin-left: 20px;
		margin-bottom: 50px
	}

	#teaser-expand iframe {
		border: 0
	}

	#portfolio-gallery a,.over {
		pointer-events: none!important;
    	cursor: default!important
   }

   blockquote {padding: 0 10px 0 110px}

   #quote_wrap {
		background-position: 10px 4px
	}

	.section-odd .leftalign, .section-even .leftalign {
		text-align: center!important
	}

	.captcha-input-field {
		width: 12%!important;
		margin-right: 30px
	}

	.form-btn {
		width: 91%!important
	}

	.gmap {
		width: 95%;
		margin-left: 7px
	}

	footer {text-align:center}

	footer p {
		float:none
	}

	#footer-navigation {
		margin: 8px 0 0 0;
		padding: 0;
		float: none
	}

	#footer-navigation li {
		float:none;
		display:-moz-inline-stack;
		display:inline-block;
		zoom:1;
		*display:inline
	}

	.team-member {
		margin: 20px 0 30px 0;
		padding: 10px 15px
	}

	.memberimage {
		text-align: center
	}

	#teaser h2 {
		padding: 0 15px
	}

	.price-box {
		float: none;

		width: 260px
	}

	.featured-box {

		width: 260px
	}

	.price-box {
		margin-bottom: 70px	
	}

	.featured-box .price-box-price {
		left: 80px
	}

	.price-box-price {
		left: 80px
	}

	#teaser-splash {
		width:85%;
		margin-left:25px
	}

	#teaser-expand iframe {width: 100%}

	.content-box p {padding: 0 20px 20px 0}

	#content {padding: 0 15px 0 15px}

	#sidebar {padding: 0 15px 0 0}

}

/* iPhone (landscape) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

	#teaser-expand, .flexslider .slides > li {
		width:480px!important
	}

	#main-menu-select {
		margin-left: 11px
	}

	#contact_form {
		width: 430px;
		margin-left: 48px
	}

	.captcha-input-field {
		width: 12%!important;
		margin-right: 53px
	}

	.form-btn {
		width: 87%!important
	}

	#teaser-splash {
		width: 85%;
		margin-left: 35px
	}

}

/* iPad (portrait) */
@media (min-width: 768px) and (max-width: 979px) {

	#main-navigation {
		margin-right: 10px
	}

	#contact_form {
		width: 320px
	}

	.captcha-input-field {
		width: 23%!important;
		margin-right: 29px
	}

	.form-btn {
		width: 91%!important
	}

	.price-box {
		width: 250px	
	}

	.featured-box .price-box-price {
		left: 75px
	}

	.price-box-price {
		left: 75px
	}

	#teaser-expand, .flexslider .slides > li {
		width:720px!important
	}

	#teaser-expand iframe {width: 100%}

}

/* iPad (landscape) */
@media (min-width: 979px) and (max-width: 1025px) {

}