/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1599px) {}

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


	.default-title h2 {
		font-size: 48px;
	}

	.default-title h2 span {
		margin-bottom: 5px;
	}

	.mainHeader .navigation ul li {
		padding: 0 25px;
	}

	.mainHeader .navigation ul li a {
		font-size: 12px;
	}

	.hpAgentRankings ul li span {
		font-size: 12px;
	}

	.hpAgentRankings ul li h3 {
		font-size: 24px;
	}

	.hpAboutUs .hpAboutUs--container {
		padding: 0 10%;
	}

	.featuredNeighborhoods--container {
		padding: 0 10%;
	}
}

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

	.post-page-contact-us .aios-contact-photo img,
	.post-page-contact-us .side-bar-agent-info {
		margin: 0 auto;
	}

	.post-page-contact-us .side-bar-agent-info {
		max-width: 100%;
	}

	.post-page-contact-us .aios-contact-form-inner {
		margin: 0 auto;
	}

	#content .entry-title,
	#content .archive-title,
	.page-id-15 #content hr+h2,
	#content .aios-contact-title {
		font-size: 32px;
	}

	#hero .hpQuickSearch .hp-qs-close {
		display: none;
	}

	.nexusRelocation::after,
	.featuredProperties::after,
	.featuredNeighborhoods::after,
	.featuredVideos::after,
	.followSocial::after,
	.globalForm {
		background-attachment: initial;
	}

	.floatingSmi,
	.mainHeader .navigation {
		display: none;
	}

	.mainHeader {
		position: relative;
		z-index: 10;
		padding: 100px 0 50px;
	}

	.mainHeader.fixedHeader {
		display: none;
	}

	#hero .slideshow--tagline {
		align-items: flex-start;
		padding: 133px 0;
	}

	#hero .slideshow--tagline h1 {
		font-size: 40px;
	}

	#hero .slideshow--tagline p {
		font-size: 25px;
	}

	#hero .slideshow--tagline button {
		display: none;
	}

	#hero .hpQuickSearch {
		position: relative;
		background: #000;
		padding: 50px 0;
		bottom: 0;
		z-index: 20;
	}

	.hpQuickSearch .default-title {
		display: flex;
		padding-bottom: 40px;
	}

	#hero .hpQuickSearch form {
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
	}

	#hero .hpQuickSearch .hpQuickSearch--col {
		width: calc(100% / 2);
		padding: 5px;
	}

	#hero .hpQuickSearch .hpQuickSearch--col:first-of-type {
		width: 100%;
	}
	#hero .hpQuickSearch .hpQuickSearch--col:first-of-type .qs-select {
		max-width: 100%;
	}

	#hero .hpQuickSearch .hpQuickSearch--buttn {
		justify-content: center;
		margin-top: 40px;
	}

	#hero .bannerContactForm {
		bottom: 25%;
	}

	.hpAboutUs .hpAboutUs--container {
		flex-flow: column;
		padding: 0 5%;
	}

	.hpAboutUs .hpAboutUs--image {
		width: 100%;
	}

	.hpAboutUs .hpAboutUs--content {
		width: 100%;
		margin: 40px 0;
	}

	.hpAgentRankings {
		padding: 20px 0;
	}

	.hpAgentRankings ul {
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
	}

	.hpAgentRankings ul li,
	.hpAgentRankings ul:nth-child(2)>li {
		width: calc(100% / 2);
	}

	.hpMeetTheTeam {
		padding: 50px 0;
	}


	.nexusRelocation .nexusRelocation--container {
		flex-flow: row wrap;
	}

	.nexusRelocation .nexusRelocation--container .nexusRelocation--img {
		width: 100%;
		max-width: 300px;
		margin: 10px auto !important;
	}

	.nexusRelocation .nexusRelocation--container .nexusRelocation--content {
		padding: 40px 0 0;
	}


	.featuredProperties {
		padding: 50px 0;
	}

	.featuredProperties .featuredProperties--list.featuredProperties--title {
		display: flex;
		flex-flow: column;
		align-items: center;
		padding-bottom: 40px;
	}

	.featuredProperties .featuredProperties--lists {
		flex-flow: column;
	}

	.featuredProperties .featuredProperties--list {
		width: 100% !important;
		height: auto;
	}

	.featuredProperties .featuredProperties--list>a:hover {
		transform: scale(1);
	}

	.featuredProperties .featuredProperties--list a .featuredProperties--img canvas {
		display: block;
	}

	.featuredProperties .featuredProperties--list.featuredProperties--buttons {
		padding: 40px 0;
	}

	.featuredNeighborhoods {
		padding: 50px 0;
	}

	.featuredNeighborhoods .featuredNeighborhoods--lists {
		flex-flow: column;
	}

	.featuredNeighborhoods .featuredNeighborhoods--list {
		width: 100%;
	}

	.followSocial {
		padding: 50px 0;
	}

	.followSocial::before,
	.followSocial::after {
		height: 100%;
	}

	.followSocial .followSocial--container {
		flex-flow: column;
	}

	.followSocial .followSocial--container .followSocial--text {
		width: 100%;
		display: flex;
		flex-flow: column;
		align-items: center;
	}

	.followSocial .followSocial--container .followSocial--lists {
		width: 100%;
		margin-top: 40px;
	}


	.globalForm .globalForm--wrap {
		padding: 0;
	}

	/* 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 .footer--details {
		flex-flow: column;
	}

	.footer .footer--details>div {
		padding: 20px 0;
	}

	.footer .footer--details h3 {
		text-align: center;
	}

	.footer .footer--details .footer--nav li {
		text-align: center;
	}

	.footer .footer--details .footer--contactInfo p {
		text-align: center;
	}

	.footer .footer--details .footer--contactInfo li {
		justify-content: center;
	}

	.footer .footer--details .footer--getInTouch {
		width: 100%;
	}

	.footer .footer--details .footer--getInTouch ul {
		justify-content: center;
	}

	.footer .footer-disclaimer {
		text-align: center;
	}

	.footer .footer-copyright {
		text-align: center;
	}

	.footer .footer-copyright .copyright-logos {
		justify-content: center;
	}

	.ip-holder {
		padding: 50px 15px;
	}

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

	.ip-form .wpcf7 form .wpcf7-response-output {
		bottom: -45px;
	}

	.aios-contact-form div.wpcf7-response-output {
		margin: 5px 0 0 !important;
		line-height: 1;
	}

	.post-page-contact-us .contact-page-container {
		flex-flow: column-reverse;
		align-items: center;
	}

	.post-page-contact-us .contact-page-container .side-bar-agent-profile,
	.post-page-contact-us .contact-page-container .aidefcf-wrapper {
		width: 100%;
		max-width: 400px;
		text-align: center;
	}

	.post-page-contact-us .contact-page-container .wpcf7 {
		margin: auto;
	}

	.post-page-contact-us .contact-page-container .ai-default-cf7wrap>.ai-contact-wrap {
		display: none;
	}

	#inner-page-wrapper .ipQuickSearch {
		position: relative;
		/*background: #000;*/
		padding: 50px 0;
		bottom: 0;
		z-index: 20;
	}

	.ipQuickSearch .default-title {
		display: flex;
		padding-bottom: 40px;
	}

	#inner-page-wrapper .ipQuickSearch form {
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
	}

	#inner-page-wrapper .ipQuickSearch .ipQuickSearch--col {
		width: calc(100% / 2);
		padding: 5px;
	}

	#inner-page-wrapper .ipQuickSearch .ipQuickSearch--col:first-child {
		width: 100%;
	}

	#inner-page-wrapper .ipQuickSearch .ipQuickSearch--buttn {
		justify-content: center;
		margin-top: 40px;
	}
	
	.followSocial .followSocial--container .followSocial--text ul {
	    padding-left: 0;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.ip-title span {
		font-size: 55px;
	}

	.aiosp-content.aios-popup-body.newsletter-popup-body button.aiosp-close {
		top: 15px;
		right: 15px;
	}

	div#introNewsletterPopup::after,
	div#introNewsletterPopup::before {
		top: -10px;
		left: -10px;
	}

	div#introNewsletterPopup::before {
		bottom: -10px;
		right: -10px;
		top: auto;
		left: auto;
	}

	.ip_form_row {
		flex-wrap: wrap;
	}

	.ip_form_col.w-50 {
		width: 100%;
	}

	.aiosp-content.aios-popup-body.newsletter-popup-body {
		margin-top: 20px !important;
	}

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

	.aios-mobile-header-2 .amh-navigation .amh-menu li a {
		text-transform: uppercase;
	}

	#hero .bannerContactForm {
		display: none;
	}

	.default-title h2 {
		font-size: 30px;
	}

	.hpAgentRankings ul li,
	.hpAgentRankings ul:nth-child(2)>li {
		width: 100%;
	}

	.hpMeetTheTeam .hpMeetTheTeam--lists {
		flex-flow: column;
	}

	.hpMeetTheTeam .hpMeetTheTeam--list {
		padding-bottom: 30px;
	}

	.nexusRelocation .nexusRelocation--container {
		padding: 0 30px;
	}

	.featuredProperties .featuredProperties--container {
		padding: 0 30px;
	}

	.featuredProperties .featuredProperties--list a .featuredProperties--img canvas {
		min-height: 300px;
	}

	.featuredNeighborhoods .featuredNeighborhoods--list a .featuredNeighborhoods--image canvas {
		min-height: 300px;
	}

	.featuredNeighborhoods .featuredNeighborhoods--list a .featuredNeighborhoods--content span {
		white-space: nowrap;
	}

	.featuredVideos .featuredVideos--lists a canvas {
		min-height: 400px;
	}

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

	.page-id-15 #content h2:first-child {
		font-size: 40px;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.ip-title span {
		font-size: 35px;
	}

	.ip-head {
		margin-bottom: 25px;
	}

	.ip-holder {
		padding: 50px 15px 60px;
	}

	.ip-form .wpcf7 form .wpcf7-response-output {
		bottom: -55px;
	}

	.page-id-15 #content h2:first-child {
		font-size: 35px;
	}

	.page-id-15 #content h3 {
		font-size: 18px;
	}

	.footer .footer--details .footer--getInTouch ul li {
	    padding: 0 10px;
	}
}