/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media(max-width: 1920px) {
	#ip-element-contact p#breadcrumbs {
		width: 100%;
		max-width: 100%;
		margin: 0 122px;
	}
	.single-aios-communities p#breadcrumbs {
	    max-width: 100%;
	    padding: 0 2%;
	}	
}
@media(max-width: 1600px) {
	.single-aios-communities p#breadcrumbs {
	    max-width: 100%;
	    padding: 0 1%;
	}	
}
@media(max-width: 1500px) {
	.hdrnav>li:not(:last-child) {
		margin-right: 30px;
	}
}

@media(max-width:1440px) {
	.ct-box {
		margin-left: 45px;
	}
	#ip-element-contact p#breadcrumbs {
		margin: 0 90px;
	}
	.cf-box {
		padding: 60px 50px 100px;
	}
}

@media(max-width:1366px) {
	.hp-floating-smis-wrap {
		top: 50%;
	}

	.hp-fv-main {
		padding-right: 0;
	}

	.hdrnav>li:not(:last-child) {
		margin-right: 15px;
	}
	#ip-element-contact p#breadcrumbs {
		margin: 0 75px;
	}	
}

@media(max-width:1280px) {
	.section-title h2 {
		font-size: 50px;
	}

	.hdrnav>li>a {
		font-size: 12px;
	}

	.hdrnav>li:not(:last-child)::after {
		top: -5px;
	}

	.prop-ctas .section-btn {
		font-size: 16px;
		height: 45px;
		line-height: 45px;
	}

	.hp-qs-wrap .hp-qs-toggle {
		font-size: 22px;
		width: 22%;
	}

	.hp-qs-wrap .custom-container {
		justify-content: flex-start;
	}

	.hp-qs-wrap .powered-by {
		max-width: 95%;
	}
	#contact-popup {
		padding: 5vw 5vw 7vw !important;
	}
}

@media(min-width:1200px) {
	html:not(.mobile):not(.safari.ipad):not(.safari.iphone):not(.mobile.android):not(.android) .bg-wrap.is-fixed canvas {
		background-attachment: fixed;
	}
}

@media(max-width: 1200px) {

	.hp-floating-smis-wrap {
		top: 290px !important;
	}

	.hp-floating-smis-wrap a span {
		font-size: 16px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.section-title h2 {
		font-size: 40px;
	}

	.header .logo img {
		max-width: 280px;
		height: auto !important;
	}

	.hp-slider-tagline {
		top: 65%;
	}

	.hp-qs-wrap .hp-qs-toggle {
		font-size: 20px;
	}

	.hp-qs-field {
		width: 60px;
	}

	.hp-qs-field-long {
		width: 150px;
	}

	.prop-wrap .section-title h2 {
		margin-bottom: 0;
	}

	.sm-feed-list .sm-item {
		flex-wrap: wrap;
	}

	.sm-feed-list .sm-item .sm-item-content {
		width: 100%;
		text-align: center;
		padding: 20px 0;
	}

	.sm-feed-list .sm-item .canvas-img {
		margin: 0 auto;
	}
}

@media(max-width:1087px) {
	.sm-feed-box {
		padding: 20px;
	}
}

@media(max-width: 1060px) {
	.hdrnav>li>a {
		font-size: 11px !important;
	}
	.hdrnav>li:not(:last-child){
		margin-right: 10px !important;
	}
	.header .logo img {
		max-width: 250px !important;
	}
}

@media(max-width: 1024px) {
	.ct-box {
		width: 60%;
	}
	.side-navi {
		padding: 0 40px 0 20px !important;
	}
	.side-navi>li {
		font-size: 25px !important;
	}
}

@media(min-width:992px) {
	.hidden-desktop {
		display: none !important;
	}
	#hp-slider .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-img {
		min-height: 550px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	.hidden-mobile {
		display: none !important;
	}

	.header {
		top: 0;
		z-index: 90;
		padding: 80px 0 20px;
		position: relative;
		background: #000;
	}

	.hp-qs {
		position: relative;
		background: #000;
	}

	.hp-qs-wrap .custom-container {}

	.hp-qs-wrap .hp-qs-toggle {
		pointer-events: none;
		width: 100%;
		justify-content: center;
		margin-bottom: 30px;
		text-align: left;
	}

	.hp-qs-wrap .hp-qs-toggle i {
		display: none;
	}

	.hp-qs-wrap form {
		pointer-events: all;
		opacity: 1;
		width: 100%;
		text-align: center;
	}

	.hp-qs-field {
		width: 45%;
	}

	.hp-qs-btn {
		margin-left: 0;
		width: 40%;
		margin-top: 30px;
	}

	.hp-qs .powered-by {
		text-align: center;
	}

	#hp-slider::before {
		display: none;
	}

	.hp-slider-tagline {
		top: 40%;
	}

	.slider-tagline-wrap h2 {
		font-size: 50px;
	}

	.slider-tagline-wrap h3 {
		font-size: 30px;
	}

	.slider-tagline-wrap p {
		font-size: 12px !important;
	}

	.header .custom-container {
		justify-content: center
	}

	.section-title.text-center h2 {
		padding-left: 0;
	}

	/* 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%;
	}


	/* home */
	.section-title h2 {
		font-size: 35px;
		letter-spacing: normal;
		line-height: normal;
	}

	.section-title h2 small {
		font-size: 14px;
		letter-spacing: 1.5px;
	}

	.hp-slider-content {
		bottom: auto;
		position: relative;
		background-color: var(--primary);
		padding: 40px 0;
	}

	.section-title .section-num {
		position: relative;
		display: block;
		left: 0;
		margin-bottom: 10px;
	}

	.section-title.with-line::before {
		display: none;
	}

	.hp-wc .ab-wrap .custom-container {
		width: 90%;
		flex-wrap: wrap;
	}

	.hp-wc .ab-text {
		padding: 40px 0 20px;
		border-right: 0;
		text-align: center;
	}

	.hp-wc .ab-img {
		margin: 0 auto 30px;
	}

	.prop-item,
	.prop-list::before {
		width: 50%;
	}

	.prop-wrap .section-title h2 {
		text-align: left
	}

	.prop-more,
	.fv-more,
	.ln-more {
		display: flex;
		flex-wrap: wrap;
		width: 250px;
		justify-content: center;
		margin: 0 auto;
	}

	.prop-more .section-btn,
	.fv-more .section-btn,
	.ln-more .section-btn {
		order: 1;
		margin: 0;
		letter-spacing: normal;
		margin-bottom: 20px;
		width: 100%;
	}

	.prop-more .slide-arrow,
	.fv-more .slide-arrow,
	.ln-more .slide-arrow {
		order: 2;
		margin: 0 10px;
	}

	.cta-box {
		height: 250px;
	}

	.hp-fv-vids {
		width: 100%;
		margin-bottom: 100px;
	}

	.hp-fv-wrap::before {
		display: none;
	}

	.fv-list {
		max-width: 780px;
		margin: 0 auto;
	}

	.hp-fv-main {
		text-align: center;
	}

	/* footer */
	.footer-cf-wrap .bg-wrap::after {
		display: none;
	}

	.footer-contact .contact-info {
		width: 100%;
	}

	.cf-row {
		flex-wrap: wrap;
	}

	.cf-field {
		width: 100%;
		flex: auto;
	}

	#pojo-a11y-toolbar {
		display: none;
	}

	.cf-radio .wpcf7-list-item:not(:last-child) {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.footer {
		padding-top: 50px;
	}

	.footer-top {
		padding: 0;
	}

	.footer-top>div {
		width: 100%;
		text-align: center;
		margin: 20px 0;
		left: 0;
	}

	.footer-logo {
		order: 1;
	}

	.footer-contact {
		order: 2;
	}

	.footer-nav {
		order: 3;
	}

	.footernav {
		columns: 1;
	}

	.footer-contact .fc-info {
		padding-left: 0;
		line-height: 1.5;
	}

	.footer-contact .fc-info i {
		position: relative;
		margin-right: 5px;
	}

	.hp-floating-smis {
		display: none;
	}

	.fc-list {
		width: 95%;
		max-width: 534px;
		margin: 0 auto 40px;
	}

	.hp-fc-wrap {
		padding-bottom: 50px
	}

	.hp-ct-wrap {
		padding-bottom: 0;
	}

	.ct-nav {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		margin: 0 auto;
		width: 90%;
		max-width: 320px;
	}

	.ct-nav .section-btn {
		order: 1;
		width: 100%;
		margin-bottom: 20px;
	}

	.ct-nav .slide-arrow {
		order: 2;
		margin: 0 20px;
	}

	.footer-contact {
		margin-bottom: 0;
	}

	.hp-ab .ab-text {
		text-align: center;
		padding: 0;
	}

	.hp-ab .ab-img {
		width: 100%;
		margin-bottom: 20px;
	}

	.hp-ab .ab-img .canvas-img {
		max-width: 627px;
	}

	.hp-ct-wrap .ct-agent-photo {
		position: relative;
		margin: 0 auto;
		z-index: 2;
		width: 100%;
		max-width: 620px;
	}

	.hp-ct-wrap .bg-wrap {
		width: 100%;
		height: 50%;
	}

	.ct-box {
		width: 100%;
		max-width: 100%;
		text-align: center;
		margin-left: 0;
		padding-bottom: 0;
	}

	.ct-list::before {
		margin: 35px auto;
	}

	.sm-feeds {
		flex-wrap: wrap;
	}

	.sm-feed-box {
		width: 100%;
		margin: 20px 0;
	}

	.pu-field {
		width: 92%;
	}

	.ln-item {
		max-width: 420px;
		margin: 0 auto;
		display: block !important;
	}

	#content .entry-title,
	#content .archive-title {
		line-height: 1.2;
	}

	.f-disclaimer-links a {
		display: block;
	}
	.f-disclaimer-links {
		line-height: 1;
	}
	.f-disclaimer-links span {
		display: none;
	}

	.ip-community-details-video {
		max-width: 530px;
		padding: 0 15px;
		margin-left: auto;
		margin-right: auto;
	}
	.ip-community-details-video-item {
		width: 100%;
	}

	#agents-results .agents-img,
	#agents-single .agents-img{
		max-width: 350px;
		margin: 0 auto;
	}
	#agents-results .agents-col .agents-name, #agents-results .agents-col:nth-child(odd) .agents-name {
		align-items: center;
	}
	#agents-results .agents-description{
		text-align: center !important;
	}
	#content #agents-results .agents-button {
		margin: 0 auto;
	}

	html.offcanvas-open .offcanvas-menu {
		right: 100%;
	}
	html.offcanvas-open {
		overflow: auto;
		height: auto;
	}

	#aios-modern-community-page .amcp-top .amcp-search form > div:first-child input[type="text"] {
		text-align: center;
		margin-left: 0;
	}

	.ai-modern-community-details-content, #listings-results .listings-sort, .aios-custom-ihomefinder-template-credits, .single-aios-communities p#breadcrumbs, .single-aios-communities .listings-inner{
		padding: 0 25px;
	}

	#ip-element-contact p#breadcrumbs {
		margin: 0 30px;
	}
	.aios-contact-form .wpcf7-not-valid-tip {
		font-size: 11px !important;
	}

	.hp-qs-wrap .powered-by {
		max-width: 100%;
	}
}


/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.ip-banner .container {
		width: 100%;
	}

	.hp-fp .prop-nav {
		position: relative;
		bottom: 0;
		right: 0;
		background-color: var(--primary);
		padding: 10px;
		text-align: center;
		margin-top: -5px;
	}

	.footernav li {
		padding: 10px 0;
		;
		letter-spacing: normal;
		display: block;
	}

	.footer-contact .contact-info,
	.footer-copyright {
		font-size: 12px;
	}

	.hp-ps .ps-item-img canvas {
		height: 400px;
	}

	.hp-ps .ps-details h4 {
		font-size: 30px;
		letter-spacing: normal;
		margin-bottom: 20px;
	}

	.hp-slider-content {
		padding: 20px 15px;
	}

	.slider-ctas .slider-cta {
		width: 100%;
		margin: 5px 0;
	}

	.prop-wrap .section-title {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}


	.prop-wrap .section-title h2 {
		text-align: center;
		margin-bottom: 20px;
	}

	.prop-list {
		width: 95%;
		max-width: 535px;
		margin: 0 auto 40px;
	}

	.prop-item,
	.prop-list::before {
		width: 100%;
	}

	.prop-item {
		margin: 5px 0;
	}

	.hp-qs-field {
		width: 50%;
	}

	.hp-qs-field {
		width: 100%;
		border-right: 0 !important;
		height: 60px;
		border-bottom: 1px var(--tertiary) solid;
	}

	.hp-qs-field input[type="text"] {
		font-size: 13px;
	}

	.hp-qs-btns button,
	.hp-qs-btns a {
		height: 60px;
	}

	.hp-qs .powered-by {
		text-align: center;
	}

	.fv-list .slick-list {
		padding: 0
	}

	.fv-nav {
		margin-top: 20px;
	}

	.fv-nav .slide-arrow:hover {
		opacity: 1;
	}

	.slick-current .fv-item-img img {
		opacity: .80 !important;
	}

	.footer-logo .flex {
		flex-direction: column;
	}

	.footer-broker-logo {
		margin-left: 0;
		margin-top: 40px;
	}

	.fv-nav {
		text-align: center;
		margin-top: 20px;
	}

	.fv-nav .slide-arrow {
		position: relative;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: translateY(0) !important;
		filter: brightness(100) invert(1);
		opacity: .5
	}

	.fv-nav .slide-arrow.arrow-next {
		transform: translateY(0) scaleX(-1) !important;
	}

	.cta-box {
		width: 100%;
		margin: 5px 0;
	}

	.sm-feed-top {
		flex-direction: column;
	}

	.sm-feed-source-info {
		margin-top: 25px;
		text-align: center;
	}

	.sm-feed-source-avatar {
		position: relative;
		left: 0;
		top: 0;
		transform: translateY(0);
		margin: 20px auto;
	}

	.cf-box,
	.cf-img {
		width: 100%;
	}

	.cf-img {
		margin-top: 40px;
	}

	.cf-box {
		padding: 50px 20px 100px;
	}


	.sm-feed-box {
		padding: 20px;
	}

	.sm-feed-grid .sm-item {
		width: calc(50% - 10px);
	}

	.hp-slider-tagline {
		position: relative;
		top: 0;
		transform: translateY(0);
		background-color: #000;
		padding: 20px;
		text-align: center;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.hp-aoe .aoe-item {
		width: 100%
	}

	.hp-fp .prop-item-img canvas {
		height: 400px;
	}

	.hp-fp .prop-item-details {
		left: 0;
		display: block;
		bottom: 15px;
		width: 100%;
		text-align: center;
	}

	.prop-item-address::after {
		margin: 20px auto;
	}

	.hp-fp .prop-item-details .section-btn {
		margin-left: 0;
		margin-top: 10px;
	}

	.hp-ctas .ctas-wrap {
		padding: 50px 0;
	}

	.hp-ctas .cta-item {
		width: 100%;
	}

	.offcanvas-menu-inner {
		width: 70%;
	}

	.cf-wrap .wpcf7-text {
		margin-bottom: 20px;
	}

	.sm-feed {
		flex-wrap: wrap;
		max-width: 320px;
		margin: 0 auto;
	}

	.sm-item {
		width: 100%;
	}

	.hp-fv-wrap .fv-item .play-btn {
		width: 60px;
		height: 60px;
	}

	.section-title h2 {
		font-size: 25px;
		letter-spacing: normal;
		line-height: normal;
	}

	.aiosp-container.aiosp-inline-holder.aiosp-ref-\#contact-popup .aios-popup-body::before {
		display: none;
	}

	.slider-tagline-wrap .custom-container {
		padding-left: 15px;
	}

	.slider-tagline-wrap h2 {
		font-size: 35px;
	}

	.slider-tagline-wrap h3 {
		font-size: 20px;
	}


	#content .entry-title,
	#content .archive-title {
		font-size: 40px;
	}

	#contact-popup .section-btn {
		margin-top: 0 !important;
	}
	
	#contact-popup .wpcf7-response-output {
		background: #fff;
		bottom: -7px !important;
		z-index: 20;
		margin-left: 10px;
	}
	
	#contact-popup {
		padding: 5vw 5vw 50px !important;
	}

	.ip-banner canvas {
		min-height: 200px;
	}

	body #ai-minimalist-testimonials-wrap h1 {
		font-size: 30px;
	}
	.aiosp-wrap div[class*=ai-minimalist-testimonials-results-popup-] button.aiosp-close {
		right: 20px !important;
	}

	#agents-popup-form  + .aiosp-close {
		right: 40px;
	}
}


@media(max-width: 375px) {
	.hp-fv-wrap .fv-item .play-btn {
		top: 35%;
	}
	.aios-contact-main{
		padding: 20px !Important;
	}
	#ip-element-contact .aios-contact-info ul li {
		font-size: 11px;
		line-height: 1.5;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2 {
		font-size: 30px;
	}
}


body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-plan {
    flex: 1 !important;
    width: 10% !important;
    flex-basis:auto !important;
    min-width: unset !important;;
    max-width:unset !important;
}

body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-img {    
    width: 30% !important;
}
body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-plan-logo-attribution img {
	max-width: 85px !important;
}

@media(max-width:1440px) {
    body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-plan {
        width: 20% !important;
    }
    body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-break {
        width: 100% !important;
    }
}

@media(max-width: 991px) {
    body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-img,
    body.single-aios-communities #listings-results .listings-table .listings-table-body .listings-plan {
        width: 100% !important;
    }
}