/* ----------- iPad 3 and 4 ----------- */

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (device-aspect-ratio: 3/4) {
  
  	body {
  		min-width: 0px;
  	}
  	
  	.main_content {
		position: relative;
		padding-top: 75px;
	}
	
	#outer {}
	
	#logo {
		margin: 0px 0px 0px 20px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
	}
	
	#logo img {
		max-width: 200px;
	}
	
	#top_menu {
		/*float: right;
		margin: 30px 20px 10px 20px;*/
		margin-right: 80px !important;
	}
	
	#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;
	}
  	
  	/* 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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		text-align: center;
		position: relative;
	}
	
	.footer_emaillist {
		display: block;
		width: 90%;
		margin: 10px 0px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
	}
	
	.footer_emaillist_input {
		width: 200px;
	}
	
	.footer_logo {
		text-align: right;
		display: inline-block;
		float: none;
		margin-right: 0px;
		width: 40%;
		position: absolute;
		top: 70px;
		right: 40px;		
	}
	
	.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: 80px; 
		left: 40px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* 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: 12%;
		left: 0; right : 0; margin-left : auto; margin-right : auto;
		background-color: rgba(0, 0, 0, 0.40);
		height: 220px;
		/*width: 350px;*/
		width: 65%;
		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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* 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;
		width: 600px !important;
	}
	
	.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;	
	}
	
	.google_map {
		width: 70%;
	}
	/* ------------------------------------------------------------------------------ */

	/* 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 {
    	width: 150px !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 only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (device-aspect-ratio: 3/4) {

	body {
  		min-width: 0px;
  	}
  	
	.main_content {
		position: relative;
		padding-top: 75px;
	}
	
	#outer {}
	
	#logo {
		margin: 0px 0px 0px 40px; /*10px 20px 10px 60px;*/
		vertical-align: middle;
	}
	
	#logo img {
		max-width: 200px;
	}
	
	#top_menu {
		/*float: right;
		margin: 30px 20px 10px 20px;*/
		float: none;
		margin-right: 150px !important;		
	}
	
	#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;
	}
  	
  	/* 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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		/*text-align: center;*/
	}
	
	.footer_text {
		float: left;
		margin-left: 60px;
	}
	
	.footer_emaillist {
		width: 35%;
		margin-left: 40px;
	}
	
	.footer_emaillist_input {
		width: 180px;
	}
	
	.footer_subscribe_button {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	
	.footer_logo {
		text-align: right;
		display: inline-block;
		float: right;
		margin-right: 60px;
		width: 28%;
	}

	.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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* 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: 15%;
		left: 0; right : 0; margin-left : auto; margin-right : auto;
		background-color: rgba(0, 0, 0, 0.40);
		height: 220px;
		/*width: 350px;*/
		width: 50%;
		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: 90%;
		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;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* 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;
		width: 600px !important;
	}
	
	.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;	
	}
	
	.google_map {
		width: 50%;
	}
	/* ------------------------------------------------------------------------------ */
	/* 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 {
    	width: 150px !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;
	}
}

