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

@media only screen and (max-width: 1440px) {
	.post-page-contact .addtoany_content {
		margin: 16px 96px;
	}

	.post-page-contact .ip-banner>.container,
	.post-page-contact p#breadcrumbs {
		margin-left: 100px !important;
		margin-right: 100px !important;
	}
}

@media only screen and (max-width: 1366px) {
	.post-page-contact .addtoany_content {
		margin: 16px 71px
	}

	.post-page-contact .ip-banner>.container,
	.post-page-contact p#breadcrumbs {
		margin-left: 75px !important;
		margin-right: 75px !important;
	}

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


@media only screen and (max-width: 1280px) {
	.post-page-contact .addtoany_content {
		margin: 16px 46px;
	}

	.post-page-contact .ip-banner>.container,
	.post-page-contact p#breadcrumbs {
		margin-left: 50px !important;
		margin-right: 50px !important;
	}

	.footernav li {
		padding: 0 max(1vw, 14px);
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#send-message .container {
		width: 100%;
	}

	.footernav li {
		padding: 0 9px;
	}

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

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	body .site-header-logo img {		
		padding-top: 80px;
	}
	
	.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: 30px;
	}

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

	.post-page-contact .addtoany_content {
		margin: 16px 26px;
	}

	.post-page-contact .ip-banner>.container,
	.post-page-contact p#breadcrumbs {
		margin-left: 30px !important;
		margin-right: 30px !important;
	}
    #home-properties{
        z-index: 1;
    }
    .footernav{
        display: block;
        text-align: center;
    }

}

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

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

	.footernav li {
		padding: 7px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .page-template-interior-design .ip-id-elegance-inner{
        padding: 55px 14px 68px;
    }
    .page-template-interior-design .ip-elegance-content .elegance-blockquote{
        padding: 38px 35px !important;
    }
}

@media only screen and (max-width: 400px) {
	.post-page-contact #content .contact-main {
		padding: 60px 15px 0;
	}
}