/*portrait*/
@media screen and (max-width: 780px) and (max-aspect-ratio: 13/9) { 

	 body {
	 	min-width: 0px;
	 }
	 
  	.main_content {
		position: relative;
		padding-top: 50px;
	}
	
	#outer {}
	
	.logo {
	    max-width: 145px;
	    margin-top: 5px;
	}
	
	.top_menu {
	}

  	.masthead {
  		height: auto;
  	}
  	
  	.masthead_slim {
  		height: 50px;
  		min-height: 50px;
  	}
  	
  	.side_menu_container {
  		display: none;
  	}
  	/* Header ----------------------------------------------------------------------- */
  	#header_main {
  		flex-flow: row !important;
  	}
  	  	
  	.header_buttons {
  		display: none;
  	}  	  	
  	
  	.header_logo_container {
  		margin: 0px 0px 0px 10px;
  	}
  	
	.header_text {
		background-color: black;
		color: rgba(255, 255, 255, 0.6);
		font-size: 12px;
		height: auto;
		padding: 5px;
		padding-left: 10px;
		text-align: right;
	}
	
	.header_middle_text {
		/*padding-left: 10px;*/
	}
	
	.header_middle_text_small, .header_middle_container {
		display: none;
	}
	
	.header_right_text {
		float: inherit;		
	}
	
	.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_right_content_left_side {
		display: none;
	}
	
	.header_button {
		padding-left: 7px !important;
		padding-right: 7px !important;
		letter-spacing: 1px;
		margin-top: 0px;
	}
	
	.header_mobile_menu {
    	margin-right: 0px;
    	margin-left: 10px;
	}
	
	.header_beta_img {
		display: none;
	}
	
	.header_right_content_left_side_pre {
	    margin-right: 5px;
	    padding-top: 0px;
	}
	
	.header_logo_container_slim {
	    margin: 0px 40px 0px 10px;
	}
	
	.header_logo_middle_cont {
		align-items: flex-start !important;
	}	
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		position: relative;
	}
	
	.footer_emaillist {
		display: block;
		width: 90%;
		margin: 10px 0px;
		position: absolute;
		top: 190px;
		left: 20px;
	}
	
	.footer_emaillist_input {
		width: 200px;
	}
	
	.footer_logo {
		position: absolute;
		right: 0;
    	left: 0;
    	top: 200px;
    	text-align: center;
    	width: 100%;		
	}
	
	.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;	    
    	position: absolute;
    	margin: 0px auto;
    	top: 20px;
    	left: 50%;
    	width: 95vw;
    	text-align: center;
    	-webkit-transform: translateX(-50%);
    	transform: translateX(-50%);
	}
	
	.footer_email_text {
		font-size: 12px !important;
	}
	
	.footer_right_links {
	    padding-left: 0px;
	}
	
	.footer_copy {
	}
	
	.footer_social_links {
		flex-flow: row !important;
	}
	
	.footer_social_links img {
		max-width: 32px;
		margin: 0px 5px;
	}
	
	.footer_social_youtube_img {
		max-height: 31px;
		max-width: 100% !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Navigation Menu -------------------------------------------------------------- */
	
	#topnav { display: none; }
	#top_menu { margin: 0px 0px 0px 0px; }
	.nav_div { width: auto; float: right; margin-top: 10px; margin-right: 5px; }
	.nav_div_small { width: 60px; float: right; margin-top: 15px !important; margin-right: 5px; }
	.nav_primary { margin-right: 10px; }
	.header_mobile_menu_link {
		display: block;
	}
	/* ------------------------------------------------------------------------------ */
	
	.custom_video {
		display: none;
	}
	
	.video_frame {
		display: none;
	}
	
	.video_frame_mobile {
		display: block;	
		height: 120px;
		width: 250px;
		text-align: center;
		margin: 0px auto;
    	padding-top: 10px;
	}
	
	.custom_mobile_video_frame {
		display: block;	
		height: 138px;
    	width: 250px;
		text-align: center;
		margin: 0px auto;
	}
	
	.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;
	}
	
	.no_center {
		text-align: inherit !important;
	}
	
	.mobile_br {
		display: block;	
	}
	
	.page_section {
    	width: 100%;
	}
	
	.section {
		width: 90%;
	}
	
	.section_thin {
		width: 90%;
	}
	
	.section_flex {
    	display: flex;
    	flex-flow: column-reverse;
    	align-items: unset;
	}
	
	.flex_container {
		flex-flow: column;
	}
}

/*portrait*/
@media screen and (max-width: 480px) and (max-aspect-ratio: 13/9) { 

	 body {
	 	min-width: 0px;
	 }
	 
  	.main_content {
		position: relative;
		padding-top: 50px;
	}
	
	#outer {}
	
	.logo {
	    max-width: 145px;
	    margin-top: 5px;
	}
	
	.top_menu {
	}
	/*
	.masthead {
		min-width: 340px;
		background-color: #FFFFFF;
		border-bottom: 1px solid black;
		width: 100%;
		display: block;
		position: fixed;
		z-index: 1000;
		min-height: 60px;
		height: 60px;
		margin: 0px;
	}
  	
  	.masthead_small {
  		min-width: 340px;
  	}
  	*/
  	
  	.masthead {
  		height: auto;
  	}
  	
  	.masthead_slim {
  		height: 50px;
  		min-height: 50px;
  	}
  	
  	.side_menu_container {
  		display: none;
  	}
  	/* Header ----------------------------------------------------------------------- */
  	#header_main {
  		flex-flow: row !important;
  	}
  	  	
  	.header_buttons {
  		display: none;
  	}
  	
  	.header_logo_container {
  		margin: 0px 0px 0px 10px;
  	}
  	
	.header_text {
		background-color: black;
		color: rgba(255, 255, 255, 0.6);
		font-size: 12px;
		height: auto;
		padding: 5px;
		padding-left: 10px;
		text-align: right;
	}
	
	.header_middle_text {
		padding-left: 10px;
	}
	
	.header_middle_text_small, .header_middle_container {
		display: none;
	}
	
	.header_right_text {
		float: inherit;		
	}
	
	.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_right_content_left_side {
		display: none;
	}
	
	.header_button {
		padding-left: 7px !important;
		padding-right: 7px !important;
		letter-spacing: 1px;
		margin-top: 0px;
	}
	
	.header_mobile_menu {
    	margin-right: 0px;
    	margin-left: 10px;
	}
	
	.header_beta_img {
		display: none;
	}
	
	.header_right_content_left_side_pre {
	    margin-right: 5px;
	    padding-top: 0px;
	}
	
	.header_logo_container_slim {
	    margin: 0px 40px 0px 10px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		position: relative;
	}
	
	.footer_emaillist {
		display: block;
		width: 90%;
		margin: 10px 0px;
		position: absolute;
		top: 190px;
		left: 20px;
	}
	
	.footer_emaillist_input {
		width: 200px;
	}
	
	.footer_logo {
		position: absolute;
		right: 0;
    	left: 0;
    	top: 200px;
    	text-align: center;
    	width: 100%;		
	}
	
	.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;	    
    	position: absolute;
    	margin: 0px auto;
    	top: 20px;
    	left: 50%;
    	width: 95vw;
    	text-align: center;
    	-webkit-transform: translateX(-50%);
    	transform: translateX(-50%);
	}
	
	.footer_email_text {
		font-size: 12px !important;
	}
	
	.footer_right_links {
	    padding-left: 0px;
	}
	
	.footer_copy {
	}
	
	.footer_social_links {
		flex-flow: row !important;
	}
	
	.footer_social_links img {
		max-width: 32px;
		margin: 0px 5px;
	}
	
	.footer_social_youtube_img {
		max-height: 31px;
		max-width: 100% !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Navigation Menu -------------------------------------------------------------- */
	
	#topnav { display: none; }
	#top_menu { margin: 0px 0px 0px 0px; }
	.nav_div { width: auto; float: right; margin-top: 10px; margin-right: 5px; }
	.nav_div_small { width: 60px; float: right; margin-top: 15px !important; margin-right: 5px; }
	.nav_primary { margin-right: 10px; }
	.header_mobile_menu_link {
		display: block;
	}
	/* ------------------------------------------------------------------------------ */
	
	.custom_video {
		display: none;
	}
	
	.video_frame {
		display: none;
	}
	
	.video_frame_mobile {
		display: block;	
		height: 120px;
		width: 250px;
		text-align: center;
		margin: 0px auto;
    	padding-top: 10px;
	}
	
	.custom_mobile_video_frame {
		display: block;	
		height: 138px;
    	width: 250px;
		text-align: center;
		margin: 0px auto;
	}
	
	.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;
	}
	
	.no_center {
		text-align: inherit !important;
	}
	
	.mobile_br {
		display: block;	
	}
	
	.section {
		width: 90%;
	}
	
	.section_thin {
		width: 90%;
	}
	
	.section_flex {
    	display: flex;
    	flex-flow: column-reverse;
    	align-items: unset;
	}
	
	.flex_container {
		flex-flow: column;
	}
}

/*landscape*/
@media screen and (max-width: 700px) and (orientation: landscape) { 
 
	body {
  		min-width: 0px;
  	}
  	
	.main_content {
		position: relative;
		padding-top: 50px;
	}
	
	#outer {}
	
	.top_menu {
	}
	
	.logo {
	    max-width: 175px;
	}
	
	.masthead {
		min-width: 0px;
		background-color: #FFFFFF;
		border-bottom: 1px solid black;
		width: 100%;
		display: block;
		position: fixed;
		z-index: 1000;
		min-height: 50px;
		height: 50px;
		margin: 0px;
	}
  	
  	.masthead_small {
  		min-width: 340px;
  	}
  	
  	.side_menu_container {
  		display: none;
  	}
  	
  	/* Header ----------------------------------------------------------------------- */
	.header_logo_container {
  		margin: 0px 0px 0px 10px;
  	}
  	
	.header_text {
		background-color: black;
		color: rgba(255, 255, 255, 0.6);
		font-size: 12px;
		height: auto;
		padding: 5px;
		padding-left: 10px;
		text-align: right;
	}
	
	.header_right_text {
		float: inherit;
	}
	
	.header_middle_text_small {
		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_right_content_left_side {
		padding-top: 0px;
	}
	
	.free_trial_button { 
		margin-top: 0px;
	}
	
	.header_beta_img {
		display: none;
	}
	
	.header_right_content_left_side_pre {
	    margin-right: 5px;
	    padding-top: 0px;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Footer ----------------------------------------------------------------------- */
	.footer {
		margin-bottom: 40px;
		position: relative;
	}
	
	.footer_emaillist {
		display: none;
		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: 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: 20px; 
		left: 20px;
	}
	
	.footer_right_links {
	    padding-left: 0px;
	}
	
	.footer_copy {
	    position: absolute;
	    width: 100%;
	}
	
	.footer_social_links {
		flex-flow: row !important;
	}
	
	.footer_social_links img {
		max-width: 32px;
		margin: 0px 5px;
	}
	
	.footer_social_youtube_img {
		max-height: 31px;
		max-width: 100% !important;
	}
	/* ------------------------------------------------------------------------------ */
	
	/* Navigation Menu -------------------------------------------------------------- */
	#topnav { display: none; }
	#top_menu { margin: 0px 0px 0px 0px; }
	.nav_div { width: auto; float: right; margin-top: 10px; margin-right: 5px; }
	.nav_div_small { width: 60px; float: right; margin-top: 15px !important; margin-right: 5px; }
	.nav_primary {  }
	.header_mobile_menu_link {
		display: block;
		padding-left: 10px;
	}
	/* ------------------------------------------------------------------------------ */	

	.custom_video {
		display: none;
	}
	
	.video_frame {
		display: none;
	}
	
	.video_frame_mobile {
		display: block;	
	    height: 250px;
    	width: 450px;
    	margin: 0px auto;
    	padding-top: 10px;
	}
	
	.custom_mobile_video_frame {
		display: block;	
	    height: 250px;
    	width: 450px;
    	margin: 0px auto;
    	padding-top: 10px;
	}
	
	.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;
	}
	
	.no_center {
		text-align: inherit;
	}
	
	.concierge_pfo_button_container {
		display: block;
		margin-bottom: 10px;
	}
	
	.mobile_br {
		display: block;	
	}
	
	.section {
		width: 90%;
	}
	
	.section_flex {
    	display: flex;
    	flex-flow: column-reverse;
    	align-items: unset;
	}
	
	.flex_container {
		flex-flow: column;
	}
	
	.main_content_simple {
    	padding-top: 40px;
	}
}

/* -- Tablets (Android) ------------------------- */

/*Portrait*/
@media (min-width: 768px) and (max-width: 1300px) {	
	body {
    	min-width: 0px;
	}
	
	#logo {
		max-height: 50px;
	}
	
	#topnav {
		display: none;
	}
	
	.masthead {
	    height: 66px;		
	}
	
	.header_logo_container {
	    margin: 0px 0px 0px 0px;
	}
	
	.header_middle_container {
		display: none;
	}
	
	.header_middle_text {
    	font-size: 11px;
    	display: block;
    	padding-top: 0px;
	}
	
	#header_button_admin {
	    margin-right: 10px;
	}	
	
	.header_buttons {
	    margin-top: 2px;
	}
	
	.nav_div {
		width: 45vw;
	}
	
	.nav_primary .flex_container {
	    justify-content: flex-end;
	}
	
	.header_mobile_menu_link {
		display: block;
	}
	
	.header_mobile_menu {
		margin-left: 20px;
    	margin-top: 13px;
	}
	
	.footer_text .flex_container {
		justify-content: left;
	}
	
	.section {
		width: 95vw;
	}
	
	.section_thin {
    	width: 90%;
	}
}

/*Landscape*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	body {
    	min-width: 0px;
	}
	
	.masthead {
    	min-width: 0px;
    	height: 50px;
    	min-height: 50px;
	}
	
	#topnav {
		display: none;
	}
	
	.nav_primary .flex_container {
		justify-content: flex-end;
		padding-right: 20px;
	}
	
	.nav_div {
		margin-top: 0px;
	}
	
	.top_menu {
	    margin: 0px 0px 0px 0px;
	}
	
	.header_mobile_menu {
		margin-right: 0px;
	}
	
	.header_middle_text {
		display: inline-block;
	}
	
	.main_content {
	    padding-top: 50px;
	}

	.footer_text {
    	margin-left: 60px;
    	width: 25vw;
	}
	
	.footer_logo {
    	margin-right: 60px;
    	width: 25vw;
	}
		    
	.footer_copy {
		text-align: right;
	}
}