/*portrait*/
@media screen and (max-width: 480px) and (max-aspect-ratio: 13/9) { 
	 
	 body {
	 	min-width: 0px;
	 }
	 
  	.main_content {
		position: relative;
		padding-top: 45px;
	}
	
	#outer {}
	
	#logo {
		margin: 5px 0px 0px 10px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
	}
	
	#logo img {
		max-width: 180px;
	}
	
	#top_menu {
		float: none;
		width: 390px;		
	}
	
	#masthead {
		min-width: 340px;
		background-color: #FFFFFF;
		border-bottom: 1px solid black;
		width: 100%;
		display: block;
		overflow: hidden;
		position: fixed;
		z-index: 1000;
		min-height: 75px;
		height: 75px;
		margin: 0px;
	}
  	
  	.masthead_tall {
  		min-height: 70px !important;
  	}
  	
  	.main_content_tall {
  		padding-top: 70px !important;
  	}
  	
  	/* Header ----------------------------------------------------------------------- */
	.header_text {
		background-color: black;
		color: rgba(255, 255, 255, 0.6);
		font-size: 12px;
		height: auto; /*35px;*/
		padding: 5px;
		padding-left: 10px;
	}
	
	.header_right_text {
		/*float: right;
		margin-right: 10px;
		margin-top: 5px;*/
		display: none;
	}
	
	.header_right_text:before {
		content: url("/images/phone_white_12.png");
		margin-right: 5px;
		filter: alpha(opacity = 60);
		-moz-opacity: 0.6;
		-khtml-opacity: 0.6;
		opacity: 0.6;
	}
	
	#header_logo img {
		margin-top: 0px;
	}
	
	.template_return_link_container {
		width: 100%;
		text-align: center;
		font-size: 14px;
		margin-left: 0px;
	}
	
	.header_mobile_menu_link {
		display: block;
	}
	
	.header_mobile_menu_container {
		z-index: 9;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		position: relative;
		padding-bottom: 65px;
	}
	
	.footer_emaillist {
		display: block;
		width: 90%;
		margin: 10px 0px;
		position: absolute;
		top: 0;
		left: 20px;
	}
	
	.footer_emaillist_input {
		width: 200px;
	}
	
	.footer_logo {
		text-align: right;
		display: inline-block;
		float: none;
		margin-right: 0px;
		width: 50%;
		position: absolute;
		top: 20px;
		left: 160px;		
	}
	
	#footer_logo img {
		max-width: 150px;
	}
	
	.footer_social_link_container {
		width: 60px;
	}
	
	.footer_social_image {
		max-width: 40px;
	}
	
	.footer_social_image:hover {
		max-width: 60px;
	}
	
	.footer_email_text:before {
		content: url("/images/email_16.png");
		margin-right: 10px;
		filter: alpha(opacity = 60);
		-moz-opacity: 0.6;
		-khtml-opacity: 0.6;
		opacity: 0.6;
	}
	
	.footer_text {
		margin-left: 0px;
		width: 50%;		
		position: absolute;
		top: 10px; 
		left: 20px;
	}
	
	.footer_email_text {
		font-size: 12px !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Navigation Menu -------------------------------------------------------------- */
	
	#topnav { display: none; }
	#top_menu { margin: 0px -10px 0px 0px; }
	.nav_div { width: 150px; float: right; margin-top: 10px; margin-right: 5px; }
	.nav_primary {  }
	.select-menu { display: block; }

	/* ------------------------------------------------------------------------------ */
	
	/* Home Page (Index) ------------------------------------------------------------ */
	.home_banner {
		position: absolute;
		top: 50px;
		right: 0px;
		left: 0px;
		height: 250px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
	}
	
	.home_banner_text {
		font-size: 14px;
		color: #fff;
		text-align: center;
		padding: 20px 40px 20px 40px;
		text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
		display: none;
	}
	
	.home_banner .home_banner_text h1 {
		border-bottom: 1px solid #fff;
		margin-bottom: 20px;
		font-weight: 400;
		padding-bottom: 10px;
		font-size: 32px;
	}
	
	.home_banner .home_banner_text h3 {
		margin-top: -15px;
		font-size: 20px;
		font-weight: 400;
		font-size: 18px;
	}
	
	#home_banner_button_1_container {
		position: absolute;
		left: -365px;
	}
	
	#home_banner_button_2_container {
		position: absolute;
		right: -365px;
	}
	
	.home_big_button {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		margin: 0px 5px 0px 5px;
	}
	
	.home_banner_image {
		text-align: center;
		background-image:
			url('');
		background-size: cover;
		background-position: center;
		background-origin: padding-box;
		background-repeat: no-repeat;
		height: 400px;
		width: 100%;
	}
	
	.home_tile_main {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		width: 98%;
		margin-top: -102px;
	}
		
	.home_tile {
		width: 25%;
		display: inline-block;
		cursor: pointer;
		vertical-align: top;
	}
	
	.home_tile_inner {
		width: 95%;
		padding: 40px 0px 10px 0px;
		height: 125px;
	}

	.home_tile_inner_text h2 {
		font-size: 12px;
	}
	
	.home_duncan_content {
		display: inline-block;
		margin-left: 40px;
	}
	
	.home.container {
		width: 90%;
		max-width: 90%;
	}
	
	.home.container_content {
		max-width: 90%;
		padding-bottom: 40px;
	}
	
	.home.container_content h2 {
		font-size: 22px !important;
	}
	
	section.home.module.parallax {
		height: 250px;
		background-position: 0px 0px;
		background-size: cover;
		background-attachment: inherit;
	}
		
	section.home.module.parallax h1 {
		font-size: 28px;
		line-height: 220px;	
	}
	
	section.home.module p {
		font-size: 14px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page One --------------------------------------------------------------------- */
	.page_one_banner {
		top: 40px;
		left: 0px;
		width: 100%;
		height: 250px;
	}
	
	.page_one_banner_text {
		font-size: 24px;
	}
	
	.page_one.module.parallax.parallax-1 {
		height: 300px;
		background-position: -265px -120px;
		background-size: cover;
	}
	
	.page_one.container_content {
		max-width: 90%;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page Two --------------------------------------------------------------------- */
	.page_two_banner {
		top: 40px;
		left: 0px;
		width: 100%;
		height: 250px;
	}
	
	.page_two_banner_text {
		font-size: 24px;
	}
	
	.page_two_banner_text h1 {
		font-size: 38px;
	}
	
	.page_two.module.parallax.parallax-1 {
		height: 300px;
		background-position: -265px -20px;
		background-size: cover;
	}
	
	.page_two.container_content {
		max-width: 90%;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* About ------------------------------------------------------------------------ */
	.about_banner {
		top: 50px;
		left: 0px;
		right: 0px;
		width: 100%;
		height: 250px;
	}
	
	.about_banner_text {
		padding: 20px !important;
	}
	
	.about_banner_text h1 {
		font-size: 48px !important;
		margin-bottom: -5px !important;
	}
	
	.about.module.parallax.parallax-1 {
		height: 300px;
	}
	
	section.about.module.parallax {
		background-position: -440px -140px;
		background-size: cover;
	}
	
	.about.container_content {
		max-width: 90%;
	}
	
	.about_box_container {
		text-align: center;
	}
	
	.about_box {
		width: 75%;
		height: 240px;
		margin: 20px 15px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Contact Form ----------------------------------------------------------------- */
	.contact_form_element_container {
		width: 45%;
		display: inline-block;
		padding: 10px 10px 0px 5px;
	}
	
	.contact_number_info {
		display: block;
		margin-bottom: 40px;
	}
	
	.contact_form_container {
		display: block;
		float: none;
	}
	
	.contact_form_element_container {
		width: 94%;
		padding: 10px 10px 0px 5px;
	}

	.contact_inner_div {
		width: 100%;
		display: inline-block;
	}
	
	.contact_section_text {		
		font-size: 30px;
		font-weight: 400;
	}
	
	.contact_email_text {
		font-size: 14px !important;
	}
	
	.contact_email_indicator {
		width: 15%;		
	}
	
	.contact_email_response {
		width: 85%;
	}	
	
	.contact_phone_text {
		font-size: 14px;
	}
	
	.contact_location_info {
		margin-top: 40px;	
	}
	
	.contact.module.parallax.parallax-1 {
		background-position: -140px 0px;
		background-size: cover;
		height: 690px;
	}
	
	.contact_banner {
		top: 90px;
		left: 40px;
		width: 90%;
	}
	
	.google_map {
		margin-top: 0px;
	}
	
	#locationIframe {
		margin-top: 0px;
	}
	/* ------------------------------------------------------------------------------ */

	/* --- Buttons ------------------------------------------------------------------ */
	a.wire_dark_large.button {
		font-size: 10px;
		padding: 10px 5px;
	}
	
	a.getstarted.button {
		font-size: 20px;
	}
	
	a.templates.button {		
		font-size: 22px;		
	}
	
	a.about.button {		
		font-size: 20px;		
	}
	
	a.wire_large.button {
		font-size: 18px;
	}
	/* ------------------------------------------------------------------------------ */

	/* --- Sidebar ------------------------------------------------------------------ */
	#sidebar {
		top: 110px !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	.form_input {
		width: 95%;
		height: 40px !important;
		font-size: 18px !important;
		padding: 0px 0px 0px 10px;
		margin-bottom: 5px;
	}
	
	.section_text {
		margin-left: 10px;
		font-size: 21px;
		font-weight: 400;
	}
	
	.saleable_tile {
		border: 2px solid #ccc;
		display: inline-block;
		height: auto;
		max-width: 450px; /*340px;*/
		margin: 7.5px;
		vertical-align: top;
		position: relative;
		padding: 15px;
		margin: 10px;
	}

	.saleable_tile img {
		width: 300px;
	}
}

/*landscape*/
@media screen and (max-width: 700px) and (orientation: landscape) { 
	
	body {
  		min-width: 0px;
  	}
  	
	.main_content {
		position: relative;
		padding-top: 45px;
	}
	
	#outer {}
	
	#logo {
		margin: 5px 0px 0px 10px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
		height: 50px;
		width: 30%;
	}
	
	#logo img {
		max-width: 200px;
		margin-top: 0px;
	}
	
	#top_menu {
		width: 10%;		
	}
	
	#masthead {
		min-width: 0px;
		background-color: #FFFFFF;
		border-bottom: 1px solid black;
		width: 100%;
		display: block;
		overflow: hidden;
		position: fixed;
		z-index: 1000;
		min-height: 45px;
		height: 45px;
		margin: 0px;
	}
  	
  	.masthead_tall {
  		min-height: 70px !important;
  	}
  	
  	.main_content_tall {
  		padding-top: 70px !important;
  	}
  	/* Header ----------------------------------------------------------------------- */
	.header_text {
		background-color: black;
		color: rgba(255, 255, 255, 0.6);
		font-size: 12px;
		height: auto; /*35px;*/
		padding: 5px;
		padding-left: 10px;
	}
	
	.header_right_text {
		/*float: right;
		margin-right: 10px;
		margin-top: 5px;*/
		display: none;
	}
	
	.header_right_text:before {
		content: url("/images/phone_white_12.png");
		margin-right: 5px;
		filter: alpha(opacity = 60);
		-moz-opacity: 0.6;
		-khtml-opacity: 0.6;
		opacity: 0.6;
	}
		   
	.template_return_link_container {
		width: 55%;
	    text-align: center;
	    font-size: 14px;
	    margin-left: 0px;
	}
	
	.header_mobile_menu_link {
		display: block;
	}
	
	.header_mobile_menu_container {
		z-index: 9;
		top: 45px !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		/*text-align: center;*/
		position: relative;
		padding-bottom: 65px;
	}
	
	.footer_emaillist {
		display: block;
		width: 90%;
		margin: 10px 0px;
		position: absolute;
		top: 20px;
		left: 20px;
	}
	
	.footer_emaillist_input {
		width: 200px;
	}
	
	.footer_logo {
		text-align: right;
		display: inline-block;
		float: none;
		margin-right: 0px;
		width: 200px;
		position: absolute;
		top: 20px;
		right: 20px;		
	}
	
	.footer_email_text:before {
		content: url("/images/email_16.png");
		margin-right: 10px;
		filter: alpha(opacity = 60);
		-moz-opacity: 0.6;
		-khtml-opacity: 0.6;
		opacity: 0.6;
	}
	
	.footer_text {
		margin-left: 0px;
		width: 50%;		
		position: absolute;
		top: 10px; 
		left: 20px;
	}
	
	/* ------------------------------------------------------------------------------ */
	
	/* Navigation Menu -------------------------------------------------------------- */
	
	#topnav { display: none; }
	#top_menu { margin: 0px -10px 0px 0px; }
	.nav_div { width: 150px; float: right; margin-top: 10px; margin-right: 5px; }
	.nav_primary {  }
	.select-menu { display: block; }

	/* ------------------------------------------------------------------------------ */
	
	/* Home Page (Index) ------------------------------------------------------------ */
	.home_banner {
		position: absolute;
		top: 20px;
		right: 0px;
		left: 0px;
		height: 470px;
		width: 410px;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
	}
	
	.home_banner_text {
		font-size: 14px;
		color: #fff;
		text-align: center;
		padding: 20px 40px 20px 40px;
		text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
		display: none;
	}
	
	.home_banner .home_banner_text h1 {
		border-bottom: 1px solid #fff;
		margin-bottom: 20px;
		font-weight: 400;
		padding-bottom: 20px;
		font-size: 38px;
	}
	
	.home_banner .home_banner_text h3 {
		margin-top: 5px;
		font-size: 28px;
		font-weight: 400;
	}
	
	.home_big_button {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		margin: 0px 5px 0px 5px;
	}
	
	#home_banner_button_1_container {
		position: absolute;
		left: -390px;
	}
	
	#home_banner_button_2_container {
		position: absolute;
		right: -390px;
	}

	.home_banner_image {
		text-align: center;
		background-image:
			url('');
		background-size: cover;
		background-position: center;
		background-origin: padding-box;
		background-repeat: no-repeat;
		height: 400px;
		width: 100%;
	}
	
	.home_tile_main {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		width: 98%;
		margin-top: -102px;
	}
		
	.home_tile {
		width: 25%;
		display: inline-block;
		cursor: pointer;
		vertical-align: top;
	}
	
	.home_tile_inner {
		width: 95%;
		padding: 40px 0px 10px 0px;
		height: 125px;
	}

	.home_tile_inner_text h2 {
		font-size: 12px;
	}
	
	.home_duncan_content {
		display: inline-block;
		margin-left: 40px;
	}
	
	.home.container {
		width: 90%;
		max-width: 90%;
	}
	
	.home.container_content h2 {
		font-size: 32px !important;
	}
	
	section.home.module.parallax {
		height: 400px;
		background-position: 0px 45px;		
	}
		
	section.home.module.parallax h1 {
		font-size: 50px;
		line-height: 400px;	
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page One --------------------------------------------------------------------- */
	.page_one_banner {
		top: 40px;
		left: 0px;
		width: 450px;
	}
	
	.page_one_banner_text {
		font-size: 24px;
	}
	
	.page_one.module.parallax.parallax-1 {
		height: 300px;
		background-size: cover;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page Two --------------------------------------------------------------------- */
	.page_two_banner {
		top: 40px;
		left: 0px;
		right: 0px;
		width: 450px;
	}
	
	.page_two_banner_text {
		font-size: 24px;
	}
	
	.page_two.module.parallax.parallax-1 {
		height: 300px;
		background-size: cover;
		background-position: 0px 0px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* About ------------------------------------------------------------------------ */
	.about_banner {
		top: 50px;
		left: 0px;
		right: 0px;
		width: 450px;
	}
	
	.about_banner_text {
		padding: 20px !important;
	}
	
	.about_banner_text h1 {
		font-size: 48px !important;
	}
	
	.about.module.parallax.parallax-1 {
		height: 300px;
	}
	
	section.about.module.parallax {
		background-position: 0px 0px;
		background-size: cover; 
	}
	
	.about.container_content {
		max-width: 90%;
	}
	
	.about_box_container {
		text-align: center;
	}
	
	.about_box {
		width: 75%;
		height: 200px;
		margin: 20px 15px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Contact Form ----------------------------------------------------------------- */
	.contact_form_element_container {
		width: 45%;
		display: inline-block;
		padding: 10px 10px 0px 5px;
	}
	
	.contact_number_info {
		display: block;
		margin-bottom: 40px;
	}
	
	.contact_form_container {
		display: block;
		float: none;
	}
	
	.contact_form_element_container {
		width: 94%;
		padding: 10px 10px 0px 5px;
	}

	.contact_inner_div {
		width: 100%;
		display: inline-block;
	}
	
	.contact_section_text {		
		font-size: 30px;
		font-weight: 400;
	}
	
	.contact_email_text {
		font-size: 14px !important;
	}
	
	.contact_email_indicator {
		width: 15%;		
	}
	
	.contact_email_response {
		width: 85%;
	}
	
	.contact_phone_text {
		font-size: 14px;
	}
	
	.contact_location_info {
		margin-top: 40px;	
	}	
	
	.contact_banner {
		top: 90px;
		left: 40px;
	}
	
	.contact.module.parallax.parallax-1 {
		background-position: 0px 0px;
		background-size: cover;
		height: 650px;
	}
	
	.google_map {
		margin-top: 0px;
	}
	
	#locationIframe {
		margin-top: 0px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* BUTTONS ---------------------------------------------------------------------- */
	a.wire_dark_large.button {
		font-size: 14px;
	}
	
	a.wire_large.button {
		font-size: 28px;
	}
	
	a.getstarted.button {		
		font-size: 34px;		
	}
	
	a.templates.button {		
		font-size: 32px;		
	}
	
	a.portfolio.button {		
		font-size: 34px;		
	}
	
	a.about.button {		
		font-size: 32px;		
	}
	/* ------------------------------------------------------------------------------ */

	/* --- Sidebar ------------------------------------------------------------------ */
	#sidebar {
		top: 110px !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	.form_input {
		width: 95%;
		height: 40px !important;
		font-size: 18px !important;
		padding: 0px 0px 0px 10px;
		margin-bottom: 5px;
	}
	
	.section_text {
		margin-left: 10px;
		font-size: 21px;
		font-weight: 400;
	}
	
	.saleable_tile {
		border: 2px solid #ccc;
		display: inline-block;
		height: auto;
		max-width: 450px; /*340px;*/
		margin: 7.5px;
		vertical-align: top;
		position: relative;
		padding: 15px;
		margin: 10px;
	}

	.saleable_tile img {
		width: 300px;
	}
}

