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

@media only screen and (max-width: 1440px) {
	#site-header.position-fixed #nav li a {
		padding: 0.375vw 5px;
	}
}

@media only screen and (max-width: 1366px) {
	.site-header-logo img {
		width: 15vw;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#site-header .container {
		max-width: 94.5vw;
	}

	.site-header-logo img {
		width: 10vw;
	}

	#send-message .container {
		width: 100%;
	}

	.site-header-logo a {
		font-size: 20px;
	}

	#agents-results .agents-name {
		font-size: 27px;
	}

	#agents-results .agents-name span {
		font-size: 20px;
	}

}

/* 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;
	}

	.slider-logo img {
		width: 400px;
	}

	.footer-brand .footer-site-logo img {
		width: 400px;
	}

	.aios-mobile-header-wrapper {
		display: inline-block !important;
	}

	#pojo-a11y-toolbar {
		display: none;
	}

	.post-page-contact .addtoany_content {
		margin-left: -35px;
	}

	.footernav {
		display: block;
		text-align: center;
	}

	.footernav li a {
		font-size: 14px;
	}

	.post-page-contact #content .contact-form div.wpcf7-response-output {
		bottom: 30px;
		font-size: 10px !important;
	}

	#agents-single .agents-contact li.agents-contact-half {
		width: fit-content !important;
	}

	.post-page-aios-custom-idx-broker-results-page #breadcrumbs {
		width: 100% !important;
	}

	.post-page-aios-custom-idx-broker-results-page .ip-banner>.container>.row>.col-md-12 {
		padding: 0px 15px;
	}

	.post-page-aios-custom-idx-broker-results-page .ip-banner .container {
		width: 100% !important;
	}

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

	.ip-container #content p#breadcrumbs {
		width: 100%;

	}
}

/* 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;
	}

	.post-page-communities #content .aios-communities-metropolitan .aios-communities-metropolitan-item-title .section-title {
		font-size: 40px !important;
	}

	.post-page-aios-custom-idx-broker-details-page .ip-banner h1 {
		font-size: 16px;
	}
}

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

	.footer-brand .footer-site-logo img {
		width: 290px;
	}

	.single-aios-agents #agents-single .agents-contact li {
		font-size: 13px;
	}
}

@media only screen and (max-width: 400px) {
	#listings-results .listings-sort>.sort-dropdown+.sort-dropdown:last-child {
		margin-left: 50%;
	}
}