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

@media only screen and (min-width: 992px) {

	/***Global IP Listings***/
	.props-banner-subtitle {
		padding: 0 0 0 min(11.875vw, 190px);
	}

	.props-banner-subtitle:before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		height: 1px;
		background: #999;
		width: min(8.3125vw, 133px);
		margin: auto 0;
	}

	.props-list:not(.props-slide) .prop-item:nth-child(n + 4) {
		margin-top: 77px;
	}

	/***Global IP Listings End***/
	body #ai-modern-about .ai-modern-about-photo {
		margin-right: 38px;
	}

	body.single-aios-agents .ip-com-head,
	body.post-category-press .ip-com-head,
	body.category-press .ip-com-head,
	body.single-aios-concierge .ip-com-head,
	body.page-id-638 .ip-com-head,
	body.page-id-615 .ip-com-head,
	body.single-aios-rm-financing .ip-com-head,
	body.page-id-209 .ip-com-head,
	body.page-id-18 .ip-com-head {
		display: none;
	}

	body.single-aios-agents .header:not(.fixed),
	body.post-category-press .header:not(.fixed),
	body.category-press .header:not(.fixed),
	body.single-aios-concierge .header:not(.fixed),
	body.page-id-638 .header:not(.fixed),
	body.page-id-615 .header:not(.fixed),
	body.single-aios-rm-financing .header:not(.fixed),
	body.page-id-209 .header:not(.fixed),
	body.page-id-18 .header:not(.fixed) {
		background: #002b5c;
		padding: 0px 15px;
	}

	body.single-aios-agents .ip-banner,
	body.post-category-press .ip-banner,
	body.category-press .ip-banner,
	body.single-aios-concierge .ip-banner,
	body.page-id-638 .ip-banner,
	body.page-id-615 .ip-banner,
	body.single-aios-rm-financing .ip-banner,
	body.page-id-209 .ip-banner,
	body.page-id-18 .ip-banner {
		display: none;
	}

	body.single-aios-agents #inner-page-wrapper,
	body.post-category-press #inner-page-wrapper,
	body.category-press #inner-page-wrapper,
	body.single-aios-concierge #inner-page-wrapper,
	body.page-id-638 #inner-page-wrapper,
	body.page-id-615 #inner-page-wrapper,
	body.single-aios-rm-financing #inner-page-wrapper,
	body.page-id-209 #inner-page-wrapper,
	body.page-id-18 #inner-page-wrapper {
		margin-top: 160px;
	}

	body #agents-results .agents-list .agents-box-col > .agents-box > div .agent-image-photo .agent-box-hover .agent-box-hover-info .agent-numbers .agent-numbers-phone {
		padding-left: 0;
	}
}



@media only screen and (max-width: 1380px) {


	.hdrnav > li {
		margin: 0 0 0 min(2.563vw, 73px);
	}


	.hdrnav > li > a {
		font-size: 12px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.hdrnav > li {
		margin: 0 0 0 min(1vw, 73px);
	}

	.hdrnav > li > a {
		font-size: 10px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	body .new-const-content {
		padding-left: 0;
		padding-top: 20px;
	}

	body .new-const-img:after {
		height: 94%;
		top: 30px;
	}

	.header {
		top: 70px;
		padding: 40px 15px 40px !important;
	}

	.page-template-template-new-construction #content-full #content {
		padding: 0 50px 100px;
	}

	.page-template-template-new-construction.ip-container #main-wrapper {
		margin-top: 50px;
	}

	.page-template-video-page #content ul.slick-dots {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hp-distinction-item {
		font-size: 18px;
	}

	.hp-distinction-item > div {
		font-size: 45px;
	}

	.hide-mobile {
		display: none !important;
	}

	.column-m {
		flex-direction: column;
	}

	.full-width-m {
		width: 100% !important;
	}

	.mobile-center {
		text-align: center !important;
	}

	.section-title,
	.section-title .sub-title {
		text-align: center !important;
		padding: 0 !important;
	}

	.section-title .sub-title:before {
		display: none !important;
	}

	.section-title h2.with-line:after {
		left: 50%;
		transform: translateX(-50%);
	}

	.section-title .sub-title span {
		padding-left: 0;
	}

	.header {
		position: relative;
		background: var(--primary);
		padding: 80px 15px 30px;
	}

	.hp-cta-welcome .accent {
		height: 50%;
	}

	.hp-cta {
		padding: 50px 15px 25px;
	}

	.hp-cta .section-title {
		padding-right: 0;
	}

	.hp-welcome-wrap {
		flex-direction: row-reverse;
		flex-wrap: wrap;
	}

	.hp-welcome {
		padding-bottom: 50px;
	}

	.section-title :is(h1, h2),
	.hp-welcome-left .section-title :is(h1, h2) {
		font-size: 40px !important;
	}

	.hp-welcome-left p {
		padding-right: 0;
	}

	.hp-welcome-left .welcome-video {
		margin: 0 auto 50px;
		width: 85px;
		height: 85px;
	}

	.hp-partners {
		padding-top: 50px;
	}

	.hp-partners p {
		padding: 0;
		font-size: 18px;
		line-height: 28px;
	}

	.hp-distinction,
	.hp-fp,
	.hp-advisor {
		padding: 50px 15px;
	}

	.hp-distinction-list .sep {
		width: 100%;
		height: 1px;
		margin: 30px 0;
	}

	.hp-fc-info h2 {
		font-size: 26px;
	}

	.hp-fc-title .hp-fc-info h2 {
		font-size: 34px;
		line-height: 1;
	}

	.hp-advisor-item {
		max-width: 430px;
		margin: 10px auto;
		text-align: center;
	}

	.hp-advisor-item h2,
	.hp-advisor-item p {
		padding-right: 0;
	}

	.hp-advisor-btn {
		margin: 0 auto 20px;
	}

	.hp-video,
	.hp-newsletter {
		padding: 50px 0;
	}

	.hp-video-play {
		width: 85px;
		height: 85px;
	}

	.hp-work p {
		max-width: 100%;
		text-align: center;
	}

	.hp-work-btn {
		margin: 0 auto;
	}

	.f-logo-wrap {
		justify-content: center;
	}

	.f-contact-col {
		text-align: center;
		margin-left: 0 !important;
	}

	.f-contact-col:last-of-type {
		margin-top: 30px;
		white-space: normal;
	}

	.f-contact-col span.ai-font-location-c {
		float: none;
		margin: 0;
	}

	.footernav {
		display: flex;
		justify-content: center;
		flex-flow: column wrap;
		text-align: center;
	}

	.footernav li {
		margin: 10px 0 0;
	}

	.f-smi {
		margin-top: 30px;
		justify-content: center;
	}

	.footer .copyright {
		text-align: center;
		flex-direction: column-reverse;
	}


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

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

	/***Global IP Listings***/
	.props-banner-inner {
		padding: 70px 0;
		filter: drop-shadow(1px 1px 3px #000);
		-webkit-filter: drop-shadow(1px 1px 3px #000);
	}

	.props-banner-title,
	.props-banner-subtitle {
		text-align: center;
		width: 100%;
		max-width: none;
	}

	.props-list .prop-item:nth-child(n + 3) {
		margin-top: 77px;
	}

	.props-list .prop-item {
		width: 50%;
	}

	/***Global IP Listings End***/

	/***Custom Blog Template***/
	#content .archive-list > article {
		width: 100%;
	}

	#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
		margin: 0.75em 0;
		font-size: 24px
	}

	#content .archive-list .article-long p {
		font-size: 17px;
	}

	#content .archive-list .article-long .archive-thumbnail,
	#content .archive-list .article-long .archive-has-thumbnail {
		width: 100%;
		margin-left: 0;
	}

	/***End Custom Blog Template***/
	/***IP Custom Banner***/
	.ip-com-head .section-title .sub-title span {
		margin-right: 0;
	}

	/***IP Custom Banner End***/
	body.page-id-18 p#breadcrumbs {
		width: 100%;
		padding: 0 15px;
	}

	#content .entry-title,
	#content .archive-title {
		font-size: min(10vw, 50px);
	}

	.page-id-631 #inner-page-wrapper, .page-id-632 #inner-page-wrapper {
		margin-top: 70px;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.video-item {
		margin: 0 auto;
		display: inline-block;
		max-width: 100%;
		margin-bottom: 50px;
	}

	.aiosp-container.aiosp-inline-holder[class*="popup-form"] .aiosp-content {
		min-height: 350px;
	}

	.popup-img {
		display: none;
	}

	.news-form {
		width: 100%;
		padding: 75px 30px;
	}

	.news-form h2 {
		font-size: 22px;
		line-height: 30px;
	}

	.section-title :is(h1, h2),
	.hp-welcome-left .section-title :is(h1, h2) {
		font-size: 26px !important;
	}

	.hp-cta .section-title h2,
	.hp-work .section-title h2 {
		line-height: 23px !important;
	}

	.section-title h1.with-accent,
	.section-title h2.with-accent {
		padding-left: 50px;
	}

	.section-title h1.with-accent:before,
	.section-title h2.with-accent:before {
		width: 33px;
		height: 23px;
		background-size: cover;
	}

	.section-title .sub-title {
		font-size: 22px;
	}

	.hp-fp-beds > span {
		padding: 0 10px;
	}

	.prop-beds > span {
		padding: 0 10px;
	}

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

	/***Global IP Listings***/
	.props-banner-title {
		font-size: 35px;
	}

	.props-list {
		flex-flow: column wrap;
		align-items: center;
		justify-content: center;
	}

	.props-list:not(.props-slide) .prop-item {
		width: 100%;
		max-width: 430px;
	}

	.props-list:not(.props-slide) .prop-item:nth-child(n + 2) {
		margin-top: 30px;
	}

	/***Global IP Listings End***/
	/***IP Custom Banner***/
	.ip-com-head {
		top: -80px;
	}

	/***IP Custom Banner End***/
}

@media only screen and (max-width: 567px) {

	/***Global IP Listings***/
	.props-banner-title {
		font-size: 31px;
	}

	/***Global IP Listings End***/

	.bottom-bar {
		margin-top: 60px;
		flex-flow: column;
		justify-content: center;
	}

	.arrows,
	.button-holder {
		justify-content: center;
	}
}

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

	.section-title :is(h1, h2),
	.hp-welcome-left .section-title :is(h1, h2) {
		font-size: 22px !important;
	}

	.section-title .sub-title {
		font-size: 18px;
	}

	.hp-cta-title {
		font-size: 18px;
		line-height: 22px;
	}

	.hp-fc-title .hp-fc-info h2 {
		font-size: 30px;
	}

	.hp-newsletter .form-row {
		flex-wrap: wrap;
	}

	.hp-newsletter .form-col,
	.hp-newsletter .form-sub {
		width: 100%;
		margin: 5px 0;
	}

	.f-logo-wrap img {
		width: auto;
		max-height: 80px;
	}

	/***Global IP Listings***/
	.props-banner-title {
		font-size: 20px;
	}

	.props-banner-subtitle {
		line-height: 1.2;
		font-size: 16px;
	}

	/***Global IP Listings End***/

}

@media only screen and (min-width: 768px) {
	body.page-id-22 p#breadcrumbs {
		width: 750px;
	}
}

@media only screen and (min-width: 992px) {
	body.page-id-22 p#breadcrumbs {
		width: 970px;
	}
}

@media only screen and (min-width: 1200px) {
	body.page-id-22 p#breadcrumbs {
		width: 1170px;
	}
}