/*portrait*/
@media screen and (max-width: 480px) and (max-aspect-ratio: 13/9) { 
	 
	 body {
	 	min-width: 0px;
	 }
	 
  	.main_content {
		position: relative;
		/*padding-top: 75px;*/
	}
	
	#outer {}
	
	#logo {
		margin: 0px 0px 0px 10px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
	}
	
	#logo img {
		max-width: 180px;
	}
	
	#top_menu {
		/*float: right;
		margin: 30px 20px 10px 20px;*/
	}
	
	#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;
	}
  	
  	.content { 
  		height: 700px;
  	}
  	
  	.content h1 { 
		font-size: 32px;
		padding-top: 140px;
	}
	
  	/* 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;
	}
	
	.menu_content {
		display: none;
	}
	
	.header_mobile_menu_link {
		display: block;
	}
	
	.header_mobile_menu_container a {
		text-decoration: none;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		/*text-align: center;*/
		position: relative;
	}
	
	.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: 150px;
		left: 160px;		
	}
	
	.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: 140px; 
		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_logo { 
		top: 10px;
		left: 10px;
	}
	
	.home_logo img {
		max-width: 300px;
	}

	.home_banner {
		position: absolute;
		top: 110px;
		left: 0; right : 0; margin-left : auto; margin-right : auto;
		background-color: rgba(0, 0, 0, 0.40);
		height: 280px;
		/*width: 350px;*/
		width: 100%;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	.home_banner_text {
		font-size: 20px;
		color: #FFFFFF;
		text-align: center;
		padding: 0px 10px 20px 10px;
		text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	}
	
	.home_banner .home_banner_text h1 {
		border-bottom: 1px solid #FFFFFF;
		margin-bottom: 0px;
		font-weight: 400;
	}
	
	.home_banner .home_banner_text h3 {
		margin-top: 5px;
		font-size: 20px;
		font-weight: 400;
	}
	
	.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('/images/paretosystems_banner_1600.jpg');
		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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page One --------------------------------------------------------------------- */
	.page_one_banner { 
		width: 320px;
		top: 120px;
	}
	
	.page_one_banner .page_one_banner_text h1 { 
		font-size: 32px;
	}
	
	.page_one_banner .page_one_banner_text h3 { 
		font-size: 22px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page Two --------------------------------------------------------------------- */
	
	/* ------------------------------------------------------------------------------ */
	
	/* Page Three ------------------------------------------------------------------- */
	a.wire_large.button { 
		font-size: 14px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Contact Form ----------------------------------------------------------------- */
	.contact_page_section {
		margin: 20px auto 20px auto;
		width: 90%;
	}
	
	.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;	
	}
	/* ------------------------------------------------------------------------------ */


	/* --- Buttons ------------------------------------------------------------------ */
	a.contact.button {
		cursor: pointer;
		position: relative;
		overflow: visible;
		font-family: "museo-sans-rounded", sans-serif;
		font-style: normal;
		font-weight: 500;
		font-size: 16px;
		color: white;
		text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
		text-decoration: none;
		border: 2px solid #FFFFFF;
		padding: 15px 20px;
	}
	a.contact.button:active {
		top: 2px;
	}
	a.contact.button:hover {
		background: #B2B2B2;
	}
	/* ------------------------------------------------------------------------------ */

	/* --- 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: 75px;*/
	}
	
	#outer {}
	
	#logo {
		margin: 0px 0px 0px 10px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
	}
	
	#logo img {
		max-width: 200px;
	}
	
	#top_menu {
		/*float: right;
		margin: 30px 20px 10px 20px;*/
	}
	
	#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: 75px;
		height: 75px;
		margin: 0px;
	}
  	
  	.content { 
  		height: 500px;
  	}
  	
  	.content h1 { 
		font-size: 32px;
		padding-top: 140px;
	}
	
	.content p { 
		font-size: 18px;
	}
	
  	/* 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;
	}
	
	.menu_content {
		display: none;
	}
	
	.header_mobile_menu_link {
		display: block;
	}
	
	.header_mobile_menu_container a {
		text-decoration: none;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		/*text-align: center;*/
		position: relative;
	}
	
	.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: 80px;
		left: 280px;		
	}
	
	.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: 90px; 
		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_logo { 
		top: 10px;
		left: 10px;
	}
	
	.home_logo img {
	    max-width: 300px;
	}
	
	.home_banner {
		position: absolute;
		top: 110px;
		left: 0; right : 0; margin-left : auto; margin-right : auto;
		background-color: rgba(0, 0, 0, 0.40);
		height: 220px;
		/*width: 350px;*/
		width: 100%;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	.home_banner_text {
		font-size: 20px;
		color: #FFFFFF;
		text-align: center;
		padding: 0px 10px 20px 10px;
		text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	}
	
	.home_banner .home_banner_text h1 {
		border-bottom: 1px solid #FFFFFF;
		margin-bottom: 0px;
		font-weight: 400;
	}
	
	.home_banner .home_banner_text h3 {
		margin-top: 5px;
		font-size: 20px;
		font-weight: 400;
	}
	
	.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('/images/paretosystems_banner_1600.jpg');
		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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page One --------------------------------------------------------------------- */
	.page_one_banner { 
		width: 600px; 
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Page Two --------------------------------------------------------------------- */
	
	/* ------------------------------------------------------------------------------ */
	
	/* Page Three ------------------------------------------------------------------- */
	
	/* ------------------------------------------------------------------------------ */
	
	/* Contact Form ----------------------------------------------------------------- */
	.contact_page_section {
		margin: 20px auto 20px auto;
		width: 90%;
	}
	
	.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%;
		/*display: inline-block;*/
		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;	
	}
	/* ------------------------------------------------------------------------------ */
	
	/* BUTTONS ---------------------------------------------------------------------- */
	a.contact.button {
		cursor: pointer;
		position: relative;
		overflow: visible;
		font-family: "museo-sans-rounded", sans-serif;
		font-style: normal;
		font-weight: 500;
		font-size: 16px;
		color: white;
		text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
		text-decoration: none;
		border: 2px solid #FFFFFF;
		padding: 15px 20px;
	}
	a.contact.button:active {
		top: 2px;
	}
	a.contact.button:hover {
		background: #B2B2B2;
	}
	/* ------------------------------------------------------------------------------ */

	/* --- 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;
	}
}

