/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1584px) {
	.fc-content .fc-title {
		bottom: -90px;
		bottom: 0;
	}

	.openfixedheader .header_logo {
		margin-right: 30px;
	}

	.header-contact-icon ul li:first-child {
		padding-left: 10px;
	}
}

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

	/* HEADER */
	.openfixedheader .header_logo {
		margin-right: 50px;
	}

	.openfixedheader .navigation .dh-nav>li {
		padding: 0 7px;
	}

	.header-contact-icon ul li:first-child {
		padding-right: 15px;
		padding-left: 25px;
	}

	.openfixedheader .burger-menu {
		top: 54px;
	}

	#main-wrapper .openfixedheader .dh-nav .sub-menu {
		padding: 29.2px 0 0;
	}

	/* FEATURED COMMUNITIES */
	.fc-content .fc-title {
		/*		bottom: -120px;*/
	}

	/* .fc-content:hover .fc-title {
		bottom: 70px;
	} */
	/* SOCIAL */
	.social-left {
		padding: 130px 40px;
	}

	.ip-container .header_logo .client-logo {
		max-width: 220px;
		height: auto;
	}

	.ip-container .header .container {
		margin-top: 55px;
	}

	.ip-container .openfixedheader .header_logo {
		margin-top: 13px;
	}

}

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

	.page-id-16 #content #breadcrumbs,
	.page-id-16 #content .entry-title {
		margin-left: 100px;
		margin-right: 100px;
	}
}

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

	/* HEADER */
	.openfixedheader .header_logo {
		margin-right: 20px;
	}

	.openfixedheader .navigation .dh-nav>li {
		padding: 0 0px;
	}

	.openfixedheader .header-contact-icon {
		margin-right: 125px;
	}

	.header-contact-icon ul li:first-child {
		padding-left: 10px;
	}

	.openfixedheader .burger-menu {
		top: 53px;
	}

	.header_logo .exp-icon {
		margin-left: 15px;
	}


	/* WELCOME */
	.welcome-photo {}

	.welcome-right .welcome-right-inner {
		padding-top: 50px;
		padding-left: 60px;
		width: calc(100% - 30px);
	}

	.welcome .section-title h2 span {
		font-size: 50px;
	}

	.welcome-desc {
		margin-top: 40px;
	}

	.welcome-desc .second-col {
		margin-left: 20px;
	}

	/* NEXT STEP */
	.up-content-one .next-step-title {
		padding-left: 20px;
	}

	.up-content-one.third .next-step-title {
		padding-right: 20px;
	}

	/* FEATURED COMMUNITIES */
	/* .fc-content:hover .fc-title {
		bottom: 35px;
	} */
	.fc-content .fc-title {
		/* bottom: -155px; */
		/*		bottom: -120px;*/
	}

	/* SOCIAL */
	.social-left .section-title h2 span {
		font-size: 48px;
	}

	.social-left {
		padding: 75px 30px;
	}

	.newsletter-modal-card {
		width: 1000px;
	}

	/* .newsletter-modal-card .left-area,
	.newsletter-modal-card .right-area{
		max-height: 500px;
	} */
	.newsletter-modal-card .left-area {
		padding: 80px 60px 80px 50px;
	}

	.newsletter-modal-card .section-title h2 span {
		font-size: 40px;
	}

	.newsletter-modal-card .message-area {
		margin-top: 10px;
	}

	.ip-container .navigation .dh-nav>li {
		padding: 0 18px;
	}

	.ip-container .openfixedheader .navigation .dh-nav>li {
		padding: 0 7px;
	}

	.page-id-16 #content #breadcrumbs,
	.page-id-16 #content .entry-title {
		margin-left: 75px;
		margin-right: 75px;
	}
}

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

	.page-id-16 #content #breadcrumbs,
	.page-id-16 #content .entry-title {
		margin-left: 50px;
		margin-right: 50px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

	/* FIXED BG */
	html.mobile .hp-contact-bg canvas {
		background-attachment: scroll;
	}

	.section-title h2 span {
		font-size: 40px;
	}

	/* HEADER */
	.header .container {
		margin-top: 60px;
	}

	.burger-menu {
		top: 55px;
	}

	.navigation .dh-nav>li {
		padding: 0 40px;
	}

	#menuToggle .burger-open-icon em {
		font-size: 10px;
	}

	.openfixedheader .header_logo {
		margin-top: 14px;
	}

	.openfixedheader .header_logo img {
		max-width: 200px;
		height: auto;
	}

	.openfixedheader .header-contact-icon {
		margin-right: 120px;
	}

	.openfixedheader .header-contact-icon>div {
		margin-top: 49px;
	}

	.header-contact-icon ul li:first-child {
		padding-left: 10px;
	}

	.openfixedheader .burger-menu {
		top: 52px;
	}

	.navigation .dh-nav>li>a {
		padding: 0 10px;
	}

	#main-wrapper .openfixedheader .dh-nav .sub-menu {
		padding: calc(31.2px + (30.2 - 31.2) * ((100vw - 992px) / (1199 - 992))) 0 0;

	}

	/* BURGER MENU */
	#menuToggle .slide-menu {
		top: -58px;
		width: 800px;
	}

	/* FLOATING SMI */
	.floating-smis-wrap ul li a {
		height: 30px;
		width: 30px;
	}

	.floating-smis-wrap ul li::after,
	.floating-smis-wrap ul li:first-child::after {
		left: 14px;
	}

	/* FEATURED PROPERTIES */
	.fp-content .fp-title h3 {
		font-size: 20px;
	}

	.fp-content .fp-title p {
		font-size: 25px;
	}

	/* NEXT STEP */
	.next-step-title p {
		font-size: 27px;
	}

	/* FEATURED COMMUNITIES */
	.fc-content .fc-title h3 {
		font-size: 21px;
	}

	.fc-content .fc-title {
		/*		bottom: -155px;*/
		left: 45px;
		padding-right: 20px;
	}

	/* .fc-content:hover .fc-title {
		bottom: 10px;
	} */
	.fc-content:hover .fc-title p {
		margin-top: 0;
	}

	/* TESTIMONIALS */
	.testimonials-inner .section-title {
		margin-top: 50px;
	}

	.testimonials-inner .quote-icon {
		margin-top: 20px;
	}

	.testimonials-content {
		padding: 30px 70px;
	}

	.testimonials-content .name {
		margin-top: 40px;
	}

	.testimonials-inner .default-site-button {
		margin-top: 30px;
	}

	/* SOCIAL */
	.social-left .section-title h2 span {
		font-size: 40px;
	}

	.social-left .social-client p {
		font-size: 15px;
	}

	.social-left .desc {
		padding-right: 0px;
	}

	.hp-contact-wrap {
		padding: 60px 20px;
	}

	/* FOOTER */
	.footer-logo img {
		max-width: 400px;
		height: auto;
	}

	.footer-contact-info-wrap .first-col {
		width: 43.76%;
		padding-left: 60px;
	}

	.footer .brokerage-services-info {
		font-size: 14px
	}

	.footer-contact-info-wrap::after {
		right: 0;
		width: 90%;
		margin: auto;
	}

	.footernav li {
		padding: 0 40px;
	}

	/* NEWSLETTER */
	.newsletter-modal-card {
		width: 800px;
	}

	.newsletter-modal-card .use-floating-validation-tip .wpcf7-not-valid-tip {
		font-size: 12px;
	}

	.newsletter-modal-card .left-area {
		padding: 50px 60px 50px 50px;
	}

	.ip-container .navigation .dh-nav>li {
		padding: 0 7px;
	}

	.ip-container .header .container {
		margin-top: 35px;
	}

	.ip-container .openfixedheader .navigation .dh-nav>li {
		padding: 0 0px;
	}

	.ip-container .openfixedheader .header_logo .client-logo {
		max-width: 190px;
		height: auto;
	}
    .page-id-60 .ip-listings-wrap .section-title h2 span{
        font-size: 30px;
    }
    .page-id-161 .ai-classic-about-greetings .section-title h2 span em{
        font-size: 30px;
    }
	.ip-banner canvas{
		background-attachment: scroll !important;
	}
}

@media only screen and (min-width: 992px) {
	.page-id-55.aios-custom-ihomefinder-results-template .ip-banner-listings canvas {
/*		background-position: center -15vw;*/
	}

	.page-id-6 .ip-banner canvas {
/*		background-position: center -20vw;*/
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

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

	.ip-banner .ip-banner-logo {
		display: none;
	}

	/* POJO */
	#pojo-a11y-toolbar {
		display: none;
	}

	/* DEFAULT SITE CSS */
	.section-title {
		text-align: center;
	}

	.section-title h2 span::before {
		display: none;
	}

	.section-title h2 span {
		margin-left: 0;
		font-size: 58px;
	}

	/********** NAVIGATION *********/
	.navigation {
		display: none;
	}

	.header {
		position: relative;
		margin-top: 52px;
		background: var(--primary-color);
		height: max-content;
		padding: 45px 0 30px;
	}

	.header_logo {
		display: block;
		margin-right: unset;
	}

	.header .container {
		margin-top: 0;
	}

	.burger-menu {
		display: none
	}

	/* FLOATING SMI */
	.floating-smis-wrap {
		display: none;
	}

	/********* HEADER SLIDESHOW **********/
	.hp-slideshow .aios-slider {
		position: relative;
		z-index: 1;
		height: auto;
	}

	.hp-slideshow .aios-slider * {
		height: auto;
	}

	.hp-logo-holder {
		display: none;
	}

	.hp-slideshow-wrap .scroll-down-holder {
		display: none;
	}

	/************ WELCOME **********/
	.hp-welcome-wrap {
		padding: 20px 0 40px;
	}

	.hp-welcome-bg {
		height: 100%
	}

	.welcome-inner {
		display: block;
	}

	.welcome-left,
	.welcome-right {
		width: 100%;
	}

	.welcome-photo {
		max-width: 500px;
		margin: auto;
	}

	.welcome-photo img {
		height: auto;
		width: 100%;
	}

	.welcome-right .welcome-right-inner {
		padding-top: 50px;
		padding-bottom: 50px;
		padding-left: 30px;
		padding-right: 30px;
		width: 90%;
		margin: auto;
		margin-top: 50px;
	}

	.welcome .section-title h2 span {
		font-size: 58px;
	}

	.welcome .section-title h2 span em {
		margin-left: 0;
	}

	.welcome-desc {
		display: block;
		text-align: center;
	}

	.welcome-desc .first-col,
	.welcome-desc .second-col {
		width: 100%;
		max-width: unset;
	}

	.welcome-desc .first-col {
		padding-right: 0px;
		margin-bottom: 25px;
	}

	.welcome-desc .second-col {
		margin-left: 0;
		padding-right: 0;
	}

	/****** FEATURED PROPERTIES *******/
	.hp-fp-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.fp-inner .fp-content {
		max-width: 500px;
		margin: auto;
		display: block !important;
	}

	.fp-inner .section-title {
		width: 100%;
	}

	.fp-content .fp-title h3 {
		font-size: 26px;
	}

	.fp-content .fp-title p {
		font-size: 38px;
	}

	/* NEXT STEP */
	.hp-next-step-wrap {
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 20px;
		padding-bottom: 50px;
	}

	.next-step-content {
		max-width: 500px;
		margin: auto;
		display: block !important;
	}

	.next-step-title p {
		font-size: 32px;
	}

	.up-content-one .next-step-title::before,
	.down-content .next-step-title::before {
		width: calc(120px + (227 - 120) * ((100vw - 320px) / (991 - 320)));
		display: none;
	}

	.down-content .next-step-title,
	.up-content-one .next-step-title,
	.up-content-one.third .next-step-title,
	.down-content.fourth .next-step-title {
		padding-left: 0;
		padding-right: 0;
		text-align: center;

	}

	.up-content-one.third .next-step-title p {
		margin-right: 0;
	}

	/* FEATURED COMMUNITIES */
	.hp-fc-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.fc-inner .section-title {
		width: 100%;
	}

	.fc-inner .fc-area {
		display: block;
	}

	.fc-inner .fc-content {
		width: 100%;
		max-width: 500px;
		margin: auto;
		margin-bottom: 20px;
	}

	.fc-content .fc-title {
		/*		bottom: -80px;*/
		left: 55px;
	}

	/* .fc-content:hover .fc-title {
		bottom: 100px;
	} */
	.fc-content .fc-title h3 {
		font-size: 26px;
	}

	/* TESTIMONIALS */
	.hp-testimonials-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.testimonials-inner {
		display: block;
	}

	.testimonials-left {
		width: 100%;
		max-width: 500px;
		margin: auto;
	}

	.testimonials-right {
		width: 100%;

	}

	.testimonials-inner .section-title {
		margin-top: 50px;
	}

	/* SOCIAL */
	.hp-social-wrap {
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 50px;
	}

	.social-inner {
		display: block;
	}

	.social-left {
		padding: 0;
		width: 100%;
	}

	.social-left .desc {
		text-align: center;
		padding: 0 80px;
	}

	.social-left .social-client {
		justify-content: center;
	}

	.social-left .social-client p {
		font-size: 20px;
	}

	.social-left .default-site-button {
		margin-top: 40px;
	}

	.social-right {
		width: 100%;
		margin-top: 40px;
	}

	.contact-inner .section-title {
		width: 100%;
	}

	/* FOOTER */
	.footer {
		padding: 50px 20px 35px;
	}

	.footer-contact-info-wrap {
		display: block;
	}

	.footer-contact-info-wrap .first-col {
		width: 100%;
		padding-left: 0;
		text-align: center;
	}

	.footer-contact-info-wrap .second-col {
		width: 100%;
		text-align: center;
		margin-top: 40px;
	}

	.footernav li {
		display: block;
		padding: 15px 0;
		border-right: none;
	}

	/* TRANSLATE */
	.header .translate {
		right: 15px;
		top: 10px;
	}

	/* NEWSLETTER */
	.close-newsletter-btn-wrap {
		top: -8px;
		right: 0;
	}

	.newsletter-modal-card .right-area {
		display: none;
	}

	.newsletter-modal-card .left-area {
		width: 100%;
		padding: 59px 60px 90px 50px;
	}

	.newsletter-modal-card {
		justify-content: center;
		width: 80%;
		margin: auto;
	}

	.newsletter-modal-card .left-area p {
		text-align: center;
	}

	.newsletter-modal-card .wpcf7 form .wpcf7-response-output {
		margin-left: auto;
		margin-right: auto;
	}

	/* TREC */
	.trec-modal-card {
		width: 90%;
		margin: auto;
	}

	.trec-site-off-canvas {
		top: 0;
	}

	.ip-container .header_logo .client-logo {
		max-width: unset;
	}

	.ip-container .header_logo .exp-icon {
		display: block;
	}

	.page-id-16 #content #breadcrumbs,
	.page-id-16 #content .entry-title {
		margin-left: 30px;
		margin-right: 30px;
	}

	.single-aios-communities .listings-results {
		width: 100%;
		padding: 0;
	}

	#content .ai-classic-about-greetings h1 {
		text-align: center;
		width: 100%;
	}

	#content .ai-classic-about-greetings h1 img {
		margin: 15px auto 0;
	}

	#content .ai-classic-about-greetings h1::after {
		display: none;
	}
    .post-page-meet-the-team .agent-item{
        margin: auto !important;
        margin-bottom: 25px !important;
    }
    .ip-container .concierge-row{
        margin-bottom: 50px;
    }
    .ip-container .concierge-row:nth-child(odd){
        flex-direction: column-reverse;
    }
    .ip-container .concierge-row .img-wrap img{
        width: 100%;
        max-width: 100% !important;
        padding: 0;
    }
    .ip-container .concierge-row > div{
        width: 100%;
    }
    .page-id-161 .ai-classic-about-greetings .section-title h2 span em{
        display: block;
        margin-top: 5px;
        line-height: 1;
        padding: 0;
    }
    .ip-banner canvas,
    .ip-banner-listings canvas{
        height: 100% !important;
    }

	body.ihf-homes-for-sale-results #content ul.ihf-navbar-nav,
	body.page-id-176 #content ul.ihf-navbar-nav {
        margin-top: 0;
    }
}

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

	.section-title h2 span {
		font-size: 52px;
	}

	/* NEXT STEP */
	.next-step-btn {
		position: relative;
		margin-top: 70px;
	}

	.next-step-slick-btn {
		display: flex;
		justify-content: center;
	}

	.next-step-slick-btn .next-step-slide-prev,
	.next-step-slick-btn .next-step-slide-next {
		position: relative;
		margin: 0 30px;
	}

	/* FEATURED COMMUNITIES */
	/* .fc-content:hover .fc-title {
		bottom: 65px;
	} */
	/* TESTIMONIALS */
	.testimonials-content {
		padding: 30px 60px;
	}

	/* SOCIAL */
	.social-left .desc {
		padding: 0 45px;
	}

	.social-right {
		max-width: 500px;
		margin: auto;
		margin-top: 40px;
	}

	.social-left .social-client {
		display: block;
	}

	.social-left .social-client p {
		text-align: center;
	}

	.social-left .social-client-logo {
		margin: auto;
		margin-bottom: 30px;
	}

	.social-content {
		width: 50%;
	}

	.newsletter-modal-card {
		width: 90%;
	}

	.close-newsletter-btn-wrap {
		/* top: -47px;
		right: -6px; */
	}

	/* TREC */
	.close-trec-btn-wrap {
		right: 14px;
	}

	#content .entry-title,
	#content .archive-title {
		font-size: 40px;
	}

	.single-aios-communities .listings-results {
		display: block;
		text-align: center;
	}

	.single-aios-communities .refine-sort-wrap {
		justify-content: center;
	}

	.single-aios-communities .refine-sort-wrap select {
		background-position-x: 100%;
		max-width: 235px;
	}

}



/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.header_logo a>img {
		height: auto;
	}

	.header_logo a>img:first-child {
		width: 235px;
		height: auto;
	}

	.header_logo .exp-icon {
		margin-left: 9px;
		width: 50px;
	}

	/* DEFAULT SITE CSS */
	.section-title h2 span {
		font-size: 38px;
	}

	.section-title h2 {
		line-height: 1.5;
	}

	/* FEATURED PROPERTIES */
	.fp-inner .default-site-button .site-btn {
		width: 270px;
	}

	.fp-inner .section-title {
		margin-bottom: 30px;
	}

	.fp-inner .default-site-button {
		margin-top: 40px;
	}

	.fp-content .fp-title h3 {
		font-size: 20px;
	}

	/* COMMUNITIES */
	.hp-fc-wrap {
		padding-top: 20px;
	}

	.fc-inner .section-title h2 span {
		font-size: 35px;
	}

	.fc-inner .default-site-button .site-btn {
		width: 275px;
	}

	.fc-content .fc-title {
		/*		bottom: -125px;*/
		left: 35px;
	}

	.fc-content .fc-title h3 {
		font-size: 23px;
	}

	/* .fc-content:hover .fc-title{
		bottom: 10px;
	} */
	.fc-content .logo-bg {
		width: 150px;
		height: auto;
	}

	.fc-content .fc-img {
		min-height: 280px;
	}

	.fc-inner .default-site-button {
		margin-top: 35px;
	}

	/* TESTIMONIALS */
	.testimonials-inner .default-site-button .site-btn {
		width: 275px;
	}

	.testimonials-inner .section-title h2 span {
		font-size: 34px;
	}

	.testimonials-content {
		padding: 30px 0px;
	}

	/* SOCIAL */
	.social-right {
		display: block;
	}

	.social-content {
		width: 100%;
		max-width: 280px;
		margin: auto;
		margin-bottom: 20px;
	}

	.social-left .desc {
		padding: 0;
	}

	.footer-logo img {
		max-width: 280px;
	}

	.footer-contact-info-wrap h3 {
		font-size: 23px;
	}

	.footer-contact-info-wrap ul li {
		font-size: 12px;
	}

	.footer .brokerage-services-info {
		font-size: 12px;
	}

	.footer-disclaimer-wrap {
		padding: 0;
	}

	.newsletter-modal-card .left-area {
		padding: 50px 30px 80px 30px;
	}

	.newsletter-modal-card .section-title h2 span {
		font-size: 27px;
	}

	.newsletter-submit {
		position: relative;
		width: max-content;
		margin: auto;
		margin-top: 10px;
		bottom: 0;
	}

	.newsletter-modal-card .newsletter-form textarea {
		padding-right: 10px;
		height: 70px;
	}

	.close-newsletter-btn-wrap {
		top: -8px;
		right: 0;
	}

	.close-newsletter-btn:hover {
		filter: brightness(0);
	}

	.newsletter-modal-card .use-floating-validation-tip .wpcf7-not-valid-tip {
		width: 100%;
	}

	.newsletter-modal-card .left-area p {
		font-size: 12px;
	}

	.newsletter-modal-card .wpcf7 form .wpcf7-response-output {
		margin: auto;
		margin-top: 13px;
	}

	/* TREC */
	.trec-modal-card {
		width: 100%;
		padding: 10px;
	}

	.trec-modal-canvas {
		bottom: 450px;
	}

	.post-page-contact-us .ai-contact-wrap span.context-email,
	.post-page-contact-us .ai-contact-wrap span.context-mob {
		font-size: 13px;
	}

	#content .entry-title,
	#content .archive-title {
		font-size: 35px;
	}

	.page-id-16 #content #breadcrumbs,
	.page-id-16 #content .entry-title {
		margin-left: 15px;
		margin-right: 15px;
	}

	#content .ai-modern-concierge-lists .ai-modern-concierge-images canvas {
	    height: 400px;
	}
    .aios-contact-title {
        font-size: 20px !important;
    }

}

@media only screen and (max-width: 382px) {
	.fc-content .fc-title {
		/*		bottom: -190px;*/
	}
}