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

@media only screen and (min-width:992px) {
	body .popup-content-wrap * {
		color: var(--secondary-background-color) !important;
	}
}

@media only screen and (max-width:1440px) {
	#site-header .container {
		max-width: 96.5vw;
	}

	.header-translate {
		right: 4.3%;
	}

	#site-header.position-fixed .header-translate {
		bottom: 55%;
		right: 3.3%;
	}

	.slider-content .cycloneslider canvas {
		height: 100% !important;
	}

	.lined-text h2:before,
	.lined-text h2:after {
		width: 270px !important;
	}
}

@media only screen and (max-width:1366px) {
	.header-translate {
		right: 8.1%;
	}

	.header-translate {
		right: 7.3%;
	}

	.site-header-logo a {
		max-width: 200px;
	}

	#nav li a {
		font-size: max(0.875vw, 11px);
	}

	.header-translate {
		right: 4.3%;
		top: -60%;
	}

	#site-header.position-fixed #nav li {
		padding: 3.625vw 0;
	}

	#site-header.position-fixed .header-translate {
		bottom: 60%;
		right: 3.3%;
	}

	.footernav li a {
		font-size: max(0.875vw, 12px);
	}

	.slider-content .cycloneslider canvas {
		height: 100% !important;
	}

	.cycloneslider-template-video video {
		max-height: 113% !important;
	}

	.lined-text h2:before,
	.lined-text h2:after {
		width: 200px !important;
	}

	/*.post-page-kayat-designs .entry.entry-content a,*/
	.post-page-kayat-designs .entry.entry-content > div:nth-child(2) .col-md-3 > p {
		font-size: 13px !important;
	}

	.post-page-kayat-designs .entry.entry-content i {
		font-size: 12px !important;
	}
}

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

	/*.post-page-kayat-designs .entry.entry-content a,*/
	.post-page-kayat-designs .entry.entry-content > div:nth-child(2) .col-md-3 > p {
		font-size: 12px !important;
	}

	.post-page-kayat-designs .entry.entry-content i {
		font-size: 11px !important;
		letter-spacing: 0;
	}

	.lined-text h2:before,
	.lined-text h2:after {
		width: 130px !important;
	}

	#send-message .container {
		width: 100%;
	}

	.post-page-contact #content .contact-form-inner p {
		font-size: max(1vw, 14px);
	}

	.send-message-title > span {
		font-size: 18px !important;
	}

	.site-header-logo a {
		max-width: 180px;
	}

	#nav li a {
		letter-spacing: 0.2px;
	}

	#site-header.position-fixed #nav li {
		padding: 3.625vw 0;
	}

	#site-header.position-fixed .header-translate {
		bottom: 55%;
		right: 3.3%;
	}

	.header-translate {
		right: 4.1%;
		top: -70%;
	}

	.footernav li {
		padding: 0 max(1.25vw, 10px);
	}

	.page-id-752 #content .aios-about-form h2,
	.page-id-757 #content .aios-about-form h2 {
		font-size: 16px;
	}

	.aios-about-inner .aios-about-form {
		padding: 13px 15px 16px !important;
	}

	#content .aios-about-form h2 {
		font-size: 25px !important;
	}
}

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


	.copyright p {

		width: calc(100% - 80px);
	}

	body .home-properties-item-base-title {
		align-items: baseline;
	}

	body .home-properties-item-base-title strong.font-title span {
		display: block;
	}

	body .home-properties-item-base img.image-responsive-cover {
		height: 61vw;
	}

	body .home-properties-item-base-text strong {
		font-size: max(10.375vw, 30px);
		font-weight: 600;
		text-shadow: 1px 2px 3px #000;
		line-height: 1.5;
	}

	body .home-properties-item-base-title strong {
		font-size: max(5.375vw, 24px);
		font-weight: 600;
		text-shadow: 1px 2px 3px #000;
		line-height: 1.5;
	}
	body.post-page-international-featured-properties .home-properties-item-base-title strong {
	    font-size: max(4.375vw, 24px);
	}

	body.home .home-properties-item-base img.image-responsive-cover {
		height: 61vw;
	}

	body.home .home-properties-item-base-title strong {
		font-size: max(4.375vw, 24px);
		font-family: "Lora", serif;
	}
	body.home .interprop .home-properties-item-base-title strong {
		font-size: max(3.375vw, 24px);
	}

	body.home .home-properties-item-base-text strong {
		font-size: max(7.375vw, 30px);
		font-weight: 600;
		text-shadow: 1px 2px 3px #000;
		line-height: 1.5;
	}

	.home-properties-actions {
		display: block !important;
	}

	.home-properties-button {
/*		display: none !important;*/
        position: relative !important;
	}

	.home-properties-arrows {
		margin-top: 0px !important;
        margin-bottom: 30px !important;
	}

	.home-properties-actions .container {
		margin-top: 10px !important;
        flex-flow: column-reverse !important;
	}

	body .aios-about-title strong {
		font-family: var(--font-family-title);
		font-size: max(8vw, 33px);
		margin-bottom: 1.5vw;
		text-align: center;
		display: block;
		text-transform: capitalize;
		font-weight: 400 !important;
	}

	body .home-expertise-content-text .section-title {
		font-size: max(8vw, 33px);
		margin-bottom: 1.5vw;
	}

	body .home-expertise-content-text p strong {
		font-size: 18px;
		line-height: 20px;
	}

	body .home-expertise-content-text a.afif {
		font-size: 18px;
	}

	body .aios-about-inner a.afif {
		text-align: center;
		display: block;
		font-size: 18px;
	}

	#content .aios-about-content h2 {
		text-align: center;
		font-size: 18px;
		margin-top: 0;
	}

	.aios-about-content p {
		text-align: center;
	}

	#home-slider {
		/*margin-bottom: 40px;*/
	}


	header#site-header {
		padding: 20px 0;
		background: #20233e;
		position: relative;
		top: 0;
	}

	/* html .header-translate {
	    position: relative;
	    top: inherit !important;
	} */
	div#main-wrapper {
		margin-top: 54px;
	}

	header#site-header > div {
		max-width: 100% !important;
		justify-content: center;
		flex-flow: row wrap;
	}

	.site-header-logo {
		margin: 0;
		padding: 0;
		width: 100%;
		display: flex;
		justify-content: center;
		margin-bottom: 20px;
	}

	#home-slider {
		margin-top: 0 !important;
	}








	#home-slider .slider-content .cycloneslider-template-video .cycloneslider-volume {
		opacity: 0 !important;
	}

	body #listings-results .listings-table .listings-table-body .listings-img {
		overflow: hidden;
	}

	body .popup-content-wrap {
		max-width: 100%;
	}

	#home-expertise,
	#home-cta,
	#send-message,
	.footer {
		display: block;
	}

	.popup-content-wrap {
		max-width: 100%;
		padding: 10px;
		bottom: 0;
		right: -70px;
		border-radius: 0;
		background: #20233e;
		border: 3px solid var(--secondary-background-color);
	}

	.popup-btn {
		margin-bottom: 15px;
	}

	.popup-content > span {
		font-size: 12px;
	}

	.popup-content a {
		font-size: 13px;
	}

	.popup-btn-footer {
		z-index: 999999;
	}

	.mobileview-popup-content {
		display: flex;
	}

	.mobileview-popup-content > div {
		width: 50%;
	}

	.mobileview-popup-content > div a {
		font-size: 17px;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 45px;
	}

	.mobileview-popup-content > div a span {
		padding-right: 10px;
	}

	.popup-content-wrap::after {
		content: '';
		width: 1px;
		height: 100%;
		background: #000;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		opacity: 0.3;
	}

	.pop-close {
		top: 0;
		color: #fff;
	}

	body #home-properties .section-title {
		margin: 0 -18px 0 -15px;
		width: 120%;
		background-color: var(--secondary-background-color);
		padding: 20px;
	}

	/*.ip-projects-feed {
	    background: var(--secondary-background-color);
	    padding: 1px 0;
	    max-width: 290px;
	}*/
	.aios-mobile-header-1 .amh-navigation .amh-menu li.open > a {
		color: #edd454 !important;
	}

	.post-page-kayat-designs span.space {
		padding-left: 28px;
	}

	.post-page-kayat-designs .entry.entry-content > div:nth-child(2) .col-md-3 > p {
		font-size: 16px !important;
	}

	.post-page-kayat-designs .entry.entry-content i {
		font-size: 13px !important;
		margin-right: 10px;
	}

	.post-page-kayat-designs i.ai-font-envelope.envelope {
		margin-right: 7px !important;
	}

	#listings-results .listings-list .listings-img a:after,
	#listings-results .listings-grid .listings-img:after,
	#listings-results .listings-table .listings-table-body .listings-img:after {
		opacity: 0.1 !important;
	}

	#home-slider .slider-content .cycloneslider-template-video .cycloneslider-volume {
		bottom: 5% !important;
		display: block;
	}

	#inner-page-wrapper p#breadcrumbs,
	.ip-banner .container,
	p#breadcrumbs {
		width: 100%;
	}

	.ip-container #inner-page-wrapper .container.container-vw {
		width: 100%;
	}

	.post-page-testimonials #aios-testimonials .aios-testimonials-lists {
		padding: 0 !important;
	}

	.post-page-contact #inner-page-wrapper p#breadcrumbs,
	.post-page-contact .ip-banner .container {
		padding: 0 30px;
	}

	.aios-custom-ihomefinder-shortcode .listings-plan.listings-plan-logo-attribution,
	.ihf-results-template .listings-plan.listings-plan-logo-attribution,
	.site-header-nav {
		display: none !important;
	}

	.header-translate {
		right: 0 !important;
		left: 0 !important;
		margin: auto !important;
		top: 23px !important;
		bottom: auto !important;
		position: relative;
		top: auto !important;
		padding: 0 !important;
		right: -15px !important;
		margin-right: -15px !important;
	}

	.header-translate .ai-translator-dropdown {
		position: absolute;
	}

	.site-header-logo {
		width: calc(100% - 149px) !important;
		margin: 0 !important;
	}

	#site-header .container {
		max-width: max-content !important;
	}

	.ip-stats-item {
		width: 100%;
		margin-bottom: 20px;
	}

	.ip-stats-item::after {
		display: none;
	}

	.home-cta-item {
		width: 100% !important;
	}

	#home-slider .cycloneslider-template-video video {
		top: -12%;
		left: 0;
		transform: translate(0);
		width: 100%;
	}

	#home-slider .slider-content .cycloneslider canvas,
	#home-slider .cycloneslider-template-video .cycloneslider-slides {
		min-height: 100%;
	}

	#home-slider {
		margin-top: 50px;
	}

	.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: 5px;
		display: block;
		max-width: 451px;
	}

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

	.footer-brokerage-logos span {
		/*width: calc(100% / 5);*/
		/*padding: 0 20px;*/
	}

	section#home-expertise {
		margin-bottom: 30px;
	}

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

	.footer-realtor {
		font-size: max(5vw, 50px);
		margin: 25px 0 0;
	}

	span.ftr-dre.font-default {
		padding-left: 107px;
	}

	.page-id-752 #content .aios-about-form h2,
	.page-id-757 #content .aios-about-form h2 {
		font-size: 25px;
	}

	#listings-results .listings-table .listings-table-body .listings-plan p,
	#listings-results .listings-table .listings-table-body .listings-plan a {
		font-size: 15px;
		color: var(--secondary-background-color) !important;
		font-weight: 600;
	}

	.listings-plan.listings-address,
	#listings-results .listings-table .listings-table-body .listings-plan a {
		background: var(--secondary-background-color) !important;
		color: var(--primary) !important;
	}

	#aios-testimonials .aios-testimonials-lists:not(:first-child) {
		margin: 20px 0 0;
	}

	#content .aios-about-inner .aios-about-form div.wpcf7-response-output {
		margin: 0 auto;
		width: auto;
		left: 0;
		right: 0;
		max-width: 100%;
	}

	.aios-mobile-header-wrapper {
		display: block !important;
	}

	.send-message-title > strong span,
	.send-message-title > p {
		font-size: 60px;
	}

	.send-message-title > span {
		margin-bottom: 30px;
	}

	#home-properties .home-properties-password-protected {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	#home-properties .home-properties-password-protected > .password-protected-left {
		display: none;
	}

	#home-properties .home-properties-password-protected > .password-protected-right {
		display: none;
	}

	#home-properties .slick-slide:has(.home-properties-password-protected) {
		height: 61vw;
	}

	#home-properties .slick-slide > div:has(.home-properties-password-protected) {
		height: 100%;
	}

	.home-properties-item:has(.home-properties-password-protected) {
		height: 100%;
	}

	#home-properties .home-properties-password-protected {
		height: 100%;
	}

	#home-properties .home-properties-password-protected .aios-content-popup {
		display: block;
	}

	#home-properties .home-properties-password-protected .aios-content-popup {
		height: 100%;
	}

	#home-properties .home-properties-password-protected .aios-content-popup .password-protected-left {
		height: 100%;
	}

	#home-properties .home-properties-password-protected .aios-content-popup .password-protected-left .password-protected-img {
		height: 100%;
		max-width: none;
	}

	#home-properties .home-properties-password-protected .aios-content-popup .password-protected-left .password-protected-img img {
		height: 100%;
	}

	.post-page-featured-properties .home-properties-password-protected {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.post-page-featured-properties .home-properties-password-protected > .password-protected-left {
		display: none;
	}

	.post-page-featured-properties .home-properties-password-protected > .password-protected-right {
		display: none;
	}


	.post-page-featured-properties #popupMobileProtected2 .home-properties-password-protected > .password-protected-left {
		display: block;
	}

	.post-page-featured-properties #popupMobileProtected2 .home-properties-password-protected > .password-protected-right {
		display: block;
	}

	.post-page-featured-properties .home-properties-item:has(.home-properties-password-protected) {
		height: 61vw;
	}

	.post-page-featured-properties .home-properties-password-protected {
		height: 100%;
	}

	.post-page-featured-properties .home-properties-password-protected .protected-popup {
		display: block;
	}

	.post-page-featured-properties .home-properties-password-protected .protected-popup {
		height: 100%;
	}

	.post-page-featured-properties .home-properties-password-protected .protected-popup .password-protected-left {
		height: 100%;
	}

	.post-page-featured-properties .home-properties-password-protected .protected-popup .password-protected-left .password-protected-img {
		height: 100%;
		max-width: none;
	}

	.post-page-featured-properties .home-properties-password-protected .protected-popup .password-protected-left .password-protected-img img {
		height: 100%;
	}

	body #listings-details .listings-slideshow-control .listings-slideshow-arrow i {
		font-size: 29px !important;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.home-properties-item-details-button span strong {
		font-size: 16px;
		font-family: "Lora", serif;
	}

	body .footer-brokerage-logos.bottom-logo span {
		width: calc(100% / 2);
	}

	.lined-text h2:before,
	.lined-text h2:after {
		width: 65px !important;
	}

	.container {
		width: 100%;
	}

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

	.footernav li {
		padding: 7px;
	}

	.footer-brokerage-logos span {
		width: calc(100% / 2);
	}

	.mls-holder {
		display: block;
	}

	.mls-holder > div {
		padding: 10px 15px;
	}

	/*.post-page-virtual-architecture .twentytwenty-container {
	    height: 300px !important;
	}*/
	.post-page-about .aios-about-content iframe {
		height: 300px;
	}

	.post-page-international-sold-listings .ip-banner h1 span,
	.post-page-international-active-listings .ip-banner h1 span {
		line-height: 1.2;
	}

	.footer-brokerage-logos:nth-child(2) {
		padding-top: 0;
	}

	body.ip-container #listings-results .listings-grid {
		width: 100%;
	}

	body.ip-container #listings-results .home-properties-item {
		margin-bottom: 10px;
	}

	body.ip-container #listings-results .home-properties-item-base-title {
		align-items: center;
		padding: max(2vw, 14px);
		line-height: 1;
	}

	body.ip-container #listings-results .home-properties-item-base-title strong {
		font-size: max(3.129vw, 14px);
		line-height: 1.2;
	}

	body.ip-container #listings-results .home-properties-item-base-title span.home-properties-status {
		white-space: nowrap;
		padding: 0.75em 1.25em;
		font-size: max(2.086vw, 12px);
	}

	body.ip-container #listings-results .home-properties-item-base-text {
		bottom: max(2.438vw, 9px);
	}

	body.ip-container #listings-results .home-properties-item-base-text strong {
		font-size: max(5.215vw, 20px);
	}

	body.ip-container #listings-results .home-properties-item-details .home-properties-item-details-button {
		padding-right: max(4.563vw, 16px);
	}

	body.ip-container #listings-results .home-properties-item-details .home-properties-item-details-button span strong {
		font-size: max(2.086vw, 12px);
	}

	body #listings-details .listings-slideshow-control .listings-slideshow-prev {
		width: 40px;
		height: 80px;
		padding-left: 6px;
	}

	body #listings-details .listings-slideshow-control .listings-slideshow-next {
		width: 40px;
		height: 80px;
		padding-right: 6px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.ip-banner .container {
		bottom: 20px;
	}

	.ip-banner h1 {
		line-height: 1.1;
	}

	body .footer-brokerage-logos.bottom-logo span {
		width: calc(100% / 1);
	}

	.footer-brokerage-logos span {
		padding: 0 15px;
	}

	/*.post-page-virtual-architecture .twentytwenty-container {
	    height: 200px !important;
	}*/

	.post-page-about .aios-about-content iframe {
		height: 190px;
	}

	.post-page-benelian-foundation .lined-text h2 {
		font-size: 20px !important;
	}

	.lined-text h2:before,
	.lined-text h2:after {
		width: 40px !important;
	}

	.slider-content .cycloneslider-template-video .cycloneslider-volume {
		right: 15px !important;
	}

	span.ftr-dre.font-default {
		padding-left: 69px;
		margin-top: -5px;
	}

	.footer-site-logo {
		max-width: 290px;
	}

	body.home .home-properties-item-base-title strong {
		font-size: 18px;
		line-height: 1.4;
	}

	body.ip-container #listings-results .home-properties-item-base-title strong {
		font-size: max(4.129vw, 14px);
	}
	body.ip-container.post-page-international-featured-properties #listings-results .home-properties-item-base-title strong {
	    font-size: max(3vw, 9px);
	}

	body #listings-details .listings-slideshow-control .listings-slideshow-arrow i {
		font-size: 19px !important;
	}

	.send-message-title > strong span,
	.send-message-title > p {
		font-size: 40px;
	}

	.smf-submit-control input {
		letter-spacing: 0.1em;
	}

	.show-mobile {
		display: block !important;
	}

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

	.send-message-title > span {
        font-size: max(min(4.186vw, 18px), 13px) !important;
    }
}

/* IPhone 14 Pro Max & iPhone 14 Plus */
@media only screen and (max-width: 430px) {
	#content p {
		font-size: max(3.72vw, 15px);
	}

	#content .aios-about-content p {
		text-wrap: balance;
		padding: 0 1em;
	}

	#content .aios-about-form h2 span {
		padding: 0 30px;
	}

	#content .aios-about-form h2 span br {
		display: none;
	}
}

/* IPhone 14 & iPhone 14 Pro */
@media only screen and (max-width: 393px) {
	#content .aios-about-content p {
		padding: 0 0.5em;
	}

	#content .aios-about-form h2 span {
		padding: 0 15px;
	}

	.copyright p {
		width: 82%;
		text-wrap: balance;
	}

	.copyright p br {
		display: none;
	}
}

@media only screen and (max-width: 389px) {
	.page-id-253 .show-mobile {
		display: none !important;
	}

	#content .contact-info ul {
		margin: 0 -20px !important;
	}

	#content .contact-info ul li p br.show-mobile {
		display: block !important;
	}
}