/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (max-width: 1440px) {
	.post-page-contact  .addtoany_content {
		margin: 16px 100px;
	}
 }
 @media only screen and (max-width: 1366px){
	.post-page-contact  .addtoany_content {
		margin: 16px 75px;
	}
 }
 @media only screen and (max-width: 1280px){
	.post-page-contact  .addtoany_content {
		margin: 16px 50px;
	}
 }

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

@media only screen and (max-width: 1080px) {
	#site-header.position-fixed #nav li{
		padding: 0 5px;
	}
}



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

	.mobile-screen {
		display: block;
	}

	.desktop-screen {
		display: none;
	}

	#site-header {
		display: none !important;
	}

	.post-page-contact  .addtoany_content {
		margin: 16px 30px;
	}
	.home-expertise-image img {
		height: 475px;
		margin-top: 15px;
	}
	.footernav li {
		padding: 0 max(1.25vw, 20px);
		margin-bottom: 15px;
	}
	.footernav {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		flex-direction: column;
	}
	.footernav li {
		padding: 0px 7px;
	}

	.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%;
	}

	#content .aios-communities-metropolitan .aios-communities-metropolitan-item-title .section-title{
		font-size: 26px;
	}
	.slider-logo.font-title {
	    font-size: 45px;
	}

	/* START NEW QUICK SEARCH */
	.qs-container {
        padding: 0 0 15px;
        top: 52PX;
		bottom: unset;
        transform: none;
        background: #fff;
    }

    .qs-disclaimer {
        color: #363636;
    }

    .qs-main {
        max-width: 567px;
        padding-top: 15px;
    }

    .qs-field.submit {
        min-width: 70px;
    }

    .qs-field {
        width: calc(100% - 70px);
    }

	.qs-field select#cityzipneighborhood {
        height: 50px!important;
        background-color: #f5f5f5;
    }

	.qs-field button.btn.dropdown-toggle.btn-default, .qs-field input#qs-sort {
        font-size: 13px;
        background-color: #f5f5f5;
        height: 50px;
        border: none;
    }

    .qs-field .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 13px;
    }

    .qs-field.submit button#qs-sub {
        background-color: #f5f5f5;
        color: #989898;
        font-size: 20px;
        height: 50px;
    }

    .qs-field.submit button#qs-sub:hover {
        background-color: #f5f5f5;
    }

	.bs-searchbox .form-control {
        text-align: center;
    }
	/* END NEW QUICK SEARCH */
	#pojo-a11y-toolbar {
		display:none;
	}
}

/* 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) {
	/* START NEW QUICK SEARCH */
	.qs-disclaimer {
        font-size: 13px;
        letter-spacing: normal;
    }

    .qs-field.submit {
        min-width: 50px;
    }

    .qs-field {
        width: calc(100% - 50px);
    }

    .qs-field button.btn.dropdown-toggle.btn-default, .qs-field input#qs-sort {
        font-size: 11px;
        letter-spacing: normal;
        padding: 0 15px;
    }

    .qs-field .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 11px;
        letter-spacing: normal;
    }

    .qs-main {
        max-width: 312px;
    }
	/* END NEW QUICK SEARCH */
}

@media only screen and (max-width: 360px) {
    .qs-field button.btn.dropdown-toggle.btn-default, .qs-field input#qs-sort {
        font-size: 11px;
        padding: 0 10px;
    }
}


