/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
	.category #content .archive-subtitle {
		margin-top: -12px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#send-message .container {
		width: 100%;
	}

	#nav li a,
	.footernav li a {
		font-size: max(0.875vw, 11px);
	}

	.footernav li {
		padding: 0 max(1.25vw, 16px);
	}

}

/* 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;
	}

	.footernav li {
		width: 100%;
		text-align: center;
		padding: 7px 0;
	}

	.footernav li a {
		font-size: 12px;
	}

	/* 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;
	}

	.ihf-details-template #listings-details .listings-slideshow-splide #splide01::after,
	.ihf-details-template #listings-details .listings-slideshow.slick-slider::after,
	.ihf-details-template #listings-details .listings-hero-single::after {
		display: none !important;
	}

	.ihf-details-template #listings-details .listings-smi ul {
		flex-flow: row wrap;
	}

	.ihf-details-template #listings-details .listings-open-house,
	.ihf-details-template #listings-details .listings-open-house ul {
		display: flex;
		flex-direction: column;
	}

	.single-aios-agents .ip-banner .container {
		width: 750px;
	}

	.single-aios-agents #content #breadcrumbs {
		width: auto;
	}

	.single-aios-agents #agents-single ul.agents-contact li>div {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		word-break: break-word;
		text-align: center;
		justify-content: center;
		font-size: 14px;
	}

	.single-aios-agents #agents-single .agents-img {
		margin: 0 auto;
		max-width: 360px;
	}

	.single-aios-agents #agents-single .agents-contact li.agent-contact-centered>div>div {
		width: auto;
	}

	#pojo-a11y-toolbar {
		display: none;
	}

	.page-id-92 #content .about-inner .about-img {
		margin: auto;
		padding: 20px 0;
	}
	
	.slider-realtor {
		display: block;
  left: 3.125vw;
  top: 60px;
  right: auto;
  bottom: auto;
	}

}

/* 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;
	}

	.single-aios-agents .ip-banner .container {
		width: 100%;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.single-aios-agents #agents-single .agents-contact li {
		height: 100%;
	}

	.single-aios-agents #agents-single .agents-contact li.agent-email-address {
		margin: 0 0 16px;
	}

	.single-aios-agents #agents-single .agents-contact li.agent-email-address>div {
		margin: 0;
	}

	.single-aios-agents #agents-single .agents-contact li.agent-email-address>div>span {
		align-self: flex-start;
		line-height: 2;
	}
	.slider-realtor img {
		width: 200px;
	}
}