/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#send-message .container {
		width: 100%;
	}
}
@media only screen and (min-width: 992px) {
	/*AIOS Listing Single Details*/

/*	.single-aios-listings #site-header{
		background: var(--secondary-background-color);
	    height: 120px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    top: 0;
	}

	.single-aios-listings .listings-hero{
		padding-top: 120px;
	}*/

	.single-aios-listings #listings-details .listings-slideshow .listings-slideshow-img img, 
	.single-aios-listings #listings-details .listings-slideshow-layout-a-img, 
	.single-aios-listings #listings-details .listings-slideshow-layout-b-img, 
	.single-aios-listings #listings-details .listings-slideshow-layout-d-img, 
	.single-aios-listings #listings-details .listings-slideshow-layout-c-img{
	    height: min(max(47.5vw, 350px), 900px);
	}

	/*AIOS Listing Single Details*/
}
/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	.container {
		width: 750px;
	}

	.mobile-screen {
		display: block;
	}

	.desktop-screen {
		display: none;
	}

	#site-header {
		display: none !important;
	}

	.amh-header-buttons.amh-2a .amh-navigation-trigger span,
	.amh-header-buttons.amh-2a .amh-header-right-btn {
		font-family: var(--font-family-default);
		font-size: 16px !important;
	}

	.amh-header-buttons.amh-2a .amh-header-right-btn {
		padding-top: 20px;
	}

	.qsearch-submit {
		margin-top: 20px;
	}

	.qsearch-close {
		display: none;
	}

	#aios-testimonials .aios-testimonials {
		margin: 0 !important;
	}

	#send-message .container {
		max-width: 750px !important;
		width: 100% !important;
	}

	#send-message .container .row {
		flex-direction: column;
	}

	.send-message-title,
	.send-message-form {
		width: 100% !important;
	}

	.send-message-title .section-title {
		margin-bottom: 40px;
	}

	.footer-logo {
		flex-direction: column;
	}

	.footer-site-logo {
		margin-right: 0;
		margin-bottom: 30px;
	}

	/* The following are used on inner pages. Please edit carefully. */

	.inner {
		width: 100%;
	}

	#content-sidebar,
	#content-full {
		width: 100%;
	}

	.outer {
		width: 100%;
		min-width: 100%;
	}

	#content-sidebar #content {
		width: 100%;
	}

	#content .aios-communities-metropolitan .aios-communities-metropolitan-item-title .section-title {
		font-size: 26px;
	}

	/*AIOS Listing Single Details*/

	/*.single-aios-listings .listings-hero{
		padding-top: 52px;
	}*/

	/*AIOS Listing Single Details*/

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.container {
		width: 100%;
	}

	.ip-banner .container {
		width: 100%;
	}

	.footernav li {
		padding: 7px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {}

@media only screen and (max-height: 800px) {
	#nav ul.sub-menu li a {
		font-size: max(min(1.625vh, 13px), 10px);
	}
}