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

 @media only screen and (min-width: 992px) {
	.aios-contact-info ul li a br {
		display: none;
	}
}

@media only screen and (max-width: 1490px) {
	.news-item-title {
		font-size: 25px;
	}

	.news-item-txt p,
	.news-item-txt em {
		font-size: 13px;
	}

	.navigation {
		max-width: 715px;
	}

	.list-thumb-details-address {
		font-size: 11px;
	}

	.footer-partner-logo-item:nth-child(n + 3)~div {
		padding: 6px 5px;
	}

	.footer-partner-logo-item {
		padding: 20px 10px;
	}

	.page-id-15 #ip-element-contact #breadcrumbs,
	.page-id-15 #ip-element-contact .entry-title {
		margin-left: 100px;
		margin-right: 100px;
	}
}

@media only screen and (max-width: 1366px) {
	.navigation {
		max-width: 640px;
	}

	#nav>li>a {
		font-size: 13px!important;
	}

	.pp-logo-sm-item {
		padding: 0 10px;
	}

	.test-title .section-title-1 .section-title-sub {
		padding-left: 98px;
	}

	.news-item-title {
		font-size: 20px;
	}

	.news-item-txt p,
	.news-item-txt em {
		font-size: 11px;
	}

	.pp-details {
		min-width: 320px;
	}

	.page-id-15 #ip-element-contact #breadcrumbs,
	.page-id-15 #ip-element-contact .entry-title {
		margin-left: 75px;
		margin-right: 75px;
	}
}

@media only screen and (max-width: 1280px) {
	.navigation {
		max-width: 595px;
	}

	.list-thumb-details-address {
		font-size: 10px;
	}

	.section-title-main {
		color: var(--secondary);
		font-size: 145px;
	}

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

	.section-title-2 .section-title-main {
		font-size: 240px;
	}

	.section-title-2 .section-title-sub {
		font-size: 58px;
		margin: 0 0 -105px;
		padding: 0 6px 0 0;
	}

	.page-id-15 #ip-element-contact #breadcrumbs,
	.page-id-15 #ip-element-contact .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) {
	.logo {
		max-width: 180px;
	}

	.broker-logo {
		max-width: 160px;
	}

	.navigation {
		/* max-width: 525px; */
		max-width: 555px;
	}


	#nav>li>a {
		font-size: 12px!important;
		height: 12px;
	}

	.fh #nav .sub-menu {
		padding: 42px 0 0;
	}

	.qs-label {
		font-size: 14px;
	}

	.cta-label-main {
		font-size: 100px;
	}

	.cta-label-sub {
		font-size: 28px;
	}

	.cta-item .cta-label-inner,
	.cta-item:nth-child(even) .cta-label-inner {
		max-width: 340px;
	}

	.list-thumb-details {
		padding: 0 9px 11px;
	}

	.list-thumb-details-address {
		font-size: 9px;
	}

	.section-title-2 .section-title-main {
		font-size: 210px;
	}

	.wc-txt {
		margin: 54px 0 17px;
	}

	.section-title-main {
		font-size: 100px;
	}

	.section-title-sub {
		font-size: 45px;
		margin: -16px 0 0;
		padding-left: 107px;
	}

	.pp-details {
		min-width: 280px;
	}

	.pp-details-name {
		font-size: 18px;
	}

	.news-title .section-title-3 .section-title-sub {
		margin: -8px 0 0;
		padding-left: 0;
	}

	.news-title .section-title-3 .section-title-sub::before {
		width: 86px;
	}

	.pp-label .section-title-1 .section-title-sub {
		margin: -21px 0 0;
	}

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

	.news-item-title {
		font-size: 17px;
	}

	.news-item-details {
		padding: 15px 20px;
	}

	.footernav li {
		padding: 0 20px;
	}

	.footer-cd-label {
		font-size: 29px;
	}

	.footer-cdf a span {
		font-size: 12px;
	}

	.list-title .section-title-1 .section-title-sub {
		padding-left: 134px;
		margin: -21px 0 0;
	}
}

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

	/* Custom */
	.hidden-m {
		display: none !important;
	}

	.aios-mobile-header-wrapper {
		z-index: 1010 !important;
	}

	.amh-header-buttons {
		color: var(--primary);
	}

	.header,
	.fh.header {
		position: relative;
		padding: 62px 15px 10px;
		background: var(--primary);
	}

	.header-main {
		padding: 0;
		justify-content: center;
	}

	.logo {
		max-width: 100%;
	}

	.slider-wrap {
		padding: 10px 10px 0;
	}

	.slider-bg {
		height: 200px;
	}

	.qs-slider-wrap {
		position: relative;
		bottom: 0;
		padding: 30px 15px;
		background: var(--primary);
		margin: 30px 0 0;
	}

	.qs-field {
		width: 100% !important;
		text-align: center;
		padding: 0 0 2px !important;
	}

	.qs-label {
		font-size: 20px;
		margin: 0 0 20px;
	}

	.qs-submit {
		justify-content: center;
		margin: 20px 0;
	}

	.cta-item {
		width: 100%;
		padding: 10px 0;
	}

	.cta-item a {
		margin: auto;
	}

	.cta-label-main {
		font-size: 60px;
	}

	.cta-label-sub {
		font-size: 21px;
		margin: -7px 5px 0 0;
	}

	.cta-item .cta-label-inner,
	.cta-item:nth-child(even) .cta-label-inner {
		max-width: 209px;
	}

	.list-col.lg,
	.list-col.md {
		width: 100%;
	}

	.list-thumb-holder-wrap {
		max-width: 100%;
		width: 100%;
		margin: auto;
	}

	.list-thumb-holder::before {
		display: none;
	}

	.list-col.md .list-col-inner {
		padding: 10px 0 0;
	}

	.list-thumb-holder {
		margin: 0 -6px;
	}

	.list-container {
		max-width: 600px;
	}

	.list-main-details-address {
		font-size: 14px;
	}

	.list-main-details-price {
		font-size: 29px;
		letter-spacing: 1px;
	}

	.list-main-details {
		position: absolute;
		left: 7px;
		bottom: 16px;
		padding: 0 12px 2px;
	}

	.list-main-img::after {
		height: 100%;
	}

	.list-main-img::before {
		display: none;
	}

	.cta-list-bg canvas {
		min-height: auto;
		background-size: cover;
	}

	.wc-img {
		width: 100%;
		padding: 0;
	}

	.wc-img img {
		max-width: 360px;
		width: 100%;
		margin: auto;
	}

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

	.section-title-main {
		justify-content: center !important;
		font-size: 80px !important;
	}

	.section-title-sub {
		padding: 0 !important;
		margin: 0 !important;
		justify-content: center !important;
		font-size: 30px !important;
	}

	.section-title-wrap.section-title-2 {
		justify-content: center;
	}

	.section-title-2 .section-title-sub {
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.section-title-2 .section-title-inner::after {
		display: none !important;
	}

	.section-title-2 .section-title-main {
		font-size: 120px;
	}

	.wc-content {
		width: 100%;
		padding: 40px 0 0;
		justify-content: center;
		text-align: center;
	}

	.wc-btn .section-btn-wrap {
		margin: auto;
	}

	.pp-wrap {
		padding: 0 0 130px;
	}

	.pp-details-name {
		font-size: 24px;
	}

	.pp-logo-main {
		width: 100%;
	}

	.pp-logo-main-item {
		margin: 0 auto 30px;
	}

	.pp-logo-sm-holder {
		padding: 0 !important;
		flex-wrap: wrap;
	}

	.pp-logo-sm-item {
		padding: 10px 0;
		width: 100%;
	}

	.pp-logo-sm-holder {
		padding: 0 !important;
		flex-wrap: wrap;
		margin: 0 !important;
	}

	.pp-details {
		position: relative;
		left: 0;
		top: 0;
		opacity: 1;
		visibility: visible;
		min-width: auto;
		width: 100%;
	}


	.pp-details-logo {
		width: 100%;
		filter: grayscale(0);
		padding-right: 0;
		padding: 0 0 20px;
	}

	.pp-details-name {
		width: 100%;
		margin: 0 0 20px;
	}

	.pp-details-name br {
		display: none;
	}

	.pp-details-txt {
		padding: 0;
	}

	.pp-logo-sm {
		width: 100%;
	}

	.test-title {
		width: 100%;
		padding: 85px 15px;
	}

	.test-img {
		width: 100%;
		margin-top: 0;
	}

	.test-img canvas {
		height: auto;
	}

	.test-holder-container::after {
		display: none;
	}

	.test-btn {
		padding: 0;
		order: 3;
		width: 100%;
	}

	.test-holder-container {
		padding: 110px 10px 0;
	}

	.test-btn .section-btn-wrap {
		margin: auto;
	}

	.c-slick-nav button {
		margin: 10px;
	}

	.socials-title {
		width: 100%;
		justify-content: center;
	}

	.socials-icons {
		width: 100%;
	}

	.socials-icons-holder {
		max-width: 500px;
		width: 100%;
		margin: auto;
	}

	.socials-icons-wrap {
		margin-right: 0;
		padding-left: 0;
	}

	.socials-icons-item {
		width: 50%;
	}

	.socials-title-wrap {
		margin: 0 0 30px;
	}

	.news-content {
		width: 100%;
		text-align: center;
	}

	.news-content-inner {
		min-height: auto;
	}

	.news-holder-wrap {
		width: 100%;
		text-align: center;
		padding: 30px 0 0;
	}

	.news-holder {
		height: 100%;
		max-width: 360px;
		width: 100%;
		margin: auto;
	}

	.news-item canvas {
		min-height: auto;
	}

	.news-item-details {
		padding: 30px 15px;
		min-height: auto;
		text-align: center;
	}

	.news-holder .slick-slide:nth-child(even) .news-item .news-item-inner,
	.news-item:nth-child(even) .news-item-inner {
		flex-direction: column;
	}

	.news-item-title {
		font-size: 24px;
	}

	.news-item-txt p,
	.news-item-txt em {
		font-size: 15px;
	}

	.section-title-wrap {
		justify-content: center;
	}

	.news-content-bot {
		flex-direction: column;
	}

	.news-content-btn .section-btn-wrap {
		margin-left: 0;
		margin-right: 0;
	}

	.cf-row.cf-field-2 .cf-field {
		width: 100%;
		padding: 0 !important;
	}

	.cf-row.cf-field-2 .cf-field:nth-child(odd) {
		margin-bottom: 15px;
	}

	.footer-logo {
		width: 100%;
		padding: 0 0 30px;
	}

	.footer-logo-inner {
		justify-content: center;
	}

	.footer-logo-item {
		width: 100% !important;
		padding: 5px 0 !important;
	}

	.footer-logo-item img {
		margin: auto;
	}

	.footer-partner-logo {
		width: 100%;
		padding: 30px 0 50px;
	}

	.footer-partner-logo img {
		margin: auto;
	}

	.footer-partner-logo-item {
		padding: 10px !important;
		width: auto !important;
	}

	.footer-cd {
		width: 100%;
		padding: 0;
		max-width: 220px;
		margin: auto;
	}

	.footernav {
		flex-direction: column;
	}

	.footernav li {
		padding: 5px;
	}

	.footer-copyright {
		line-height: 1.5;
	}

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

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

	/*hp map*/
	.map-list-holder {
		position: relative;
		top: 0;
		left: 0;
		padding: 0 15px;
		margin: 0 auto;
	}

	div#fc-map-wrap {
		height: auto !important;
	}

	#fc-map {
		width: 100%;
		transform: none !important;
		transform-origin: unset !important;
	}

	#fc-map>img,
	map#myMap,
	.hovers {
		display: none !important;
	}

	.fc-map-head {
		position: relative;
		top: 0;
		left: 0;
		text-align: center;
	}

	.fc-map-head .fc-map-title {
		display: inline-block;
		margin-bottom: 50px;
	}

	.map-list-holder .section-btn-wrap {
		margin: 0 auto 20px;
	}

	.map-list-holder ul {
		margin-left: 0;
		column-count: 2;
	}

	.resp-iframe {
		position: relative;
		width: 100%;
		max-width: unset;
	}

	.single-aios-communities #ai-modern-community-details .ai-modern-community-details-title h2 {
		font-size: clamp(28px, 5vw, 45px);
	}

	.single-aios-communities #ai-modern-community-details #breadcrumbs,
	.page-id-18 #ai-modern-about #breadcrumbs {
		padding: 0 15px;
	}

	.page-id-15 #ip-element-contact #breadcrumbs,
	.page-id-15 #ip-element-contact .entry-title {
		margin-left: 30px;
		margin-right: 30px;
	}

	.popup-left {
		display: none;
	}

	.popup-right {
		width: 100%;
	}

	.popup-inner:before {
		display: none;
	}

	.popup-title {
		text-align: center;
	}

	.ihf-details-template #listings-details .listings-slideshow .listings-slideshow-img canvas {
		height: calc(100vh - 157px);
		max-height: calc(100vh - 157px);
	}

	.ihf-details-template #listings-details .listings-hero.disable-overlay .listings-slideshow-splide:after,
	.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;
	}

	.ihf-details-template #listings-details .listings-main {
		margin-top: 10px;
	}

	body.page-id-15 p#breadcrumbs {
		padding: 0 15px;
		max-width: 750px;
		margin-left: auto;
		margin-right: auto;
	}

	.page-id-18 #ai-modern-about .ai-template-form {
		padding: 50px 0 30px
	}

	.aios-custom-ihomefinder-results-template .ai-classic-properties-heading {
		padding-top: 30px;
		margin-bottom: 30px;
	}

	html .ai-classic-testimonials-wrap {
		padding-top: 0;
	}
	html .ai-classic-testimonials-container {
		margin-top: 50px;
	}
	html .ai-classic-testimonials h1 span {
		width: 80%;
		padding: 0 10px;
	}	

	.ip-ec-wrap .sec-b .sec-text iframe {
		max-width: 100% !important;
		background: #000;
	}

	.ip-ec-wrap .sec-disclaimer, .single-aios-communities .ai-classic-properties-search.ai-classic-properties-heading-col {
		padding: 0 15px;
	}
}

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

	.map-list-holder ul {
		column-count: 1;
	}

	.fc-map-title {
		font-size: 100px;
	}

	.fc-map-title span {
		font-size: 52px;
	}

	.ihf-details-template #listings-details .listings-slideshow .listings-slideshow-img canvas {
		height: 100%;
		max-height: 100%;
	}

	.aios-custom-ihomefinder-results-template .ai-classic-properties-search .ai-classic-properties-search-row {
		flex-shrink: 1;
	}

	.aios-custom-ihomefinder-results-template .ai-classic-properties-search .save-search {
		width: 100%;
		padding: 0;
	}
}

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

	.slider-bg {
		height: 100px;
	}

	.list-thumb-item {
		width: 100%;
	}

	.list-thumb-details-address {
		font-size: 11px;
	}

	.page-id-15 #ai-modern-contact .ai-modern-contact-form-field {
		width: 100%;
	}

	.page-id-18 #ai-modern-about .ai-template-form .ai-template-form-container .ai-template-form-row.ai-template-form-col-2 .ai-template-form-col {
	    width: 100%;
	}

	.page-id-18 #ai-modern-about .ai-template-form .ai-template-form-container .ai-template-form-row.ai-template-form-col-2 .ai-template-form-col:last-child {
		margin-top: 46px;
	}

	.aios-custom-ihomefinder-results-template .ai-classic-properties-listings[data-view="list"] .ai-classic-properties-listing, 
	.aios-custom-ihomefinder-results-template .ai-classic-properties-listings[data-view="table"] .ai-classic-properties-listing {
		padding-left: 0;
		padding-right: 0;
	}

	.ip-ec-wrap .sec-b .sec-text iframe	{
		height: 250px !important;
	}
}

@media only screen and (max-width: 400px) {
	.aios-contact-main {
		padding: 60px 0 0 !important;
	}

	.aios-contact-form {
		margin-right: 15px !important;
		margin-left: 15px !important;
	}

	.popup-title .section-title-main.alli {
		font-size: 50px !important;
	}

	#content .entry-title,
	#content .archive-title {
		font-size: 25px !important;
	}		
}

@media(max-width: 320px) {
	.ip-ec-wrap .sec-b .sec-text iframe	{
		height: 180px !important;
	}
}