/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 2560px) {
	.hp-listings {
		padding: 0px 260px;
	}

	.about-flex {
		justify-content: center;
	}

	.form-overlay {
		font-size: 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 57%;
		height: 121%;
	}
}

@media only screen and (min-width: 1920px) {
	.controller-wrap {
		position: relative;
		width: 835px;
		height: 644px;
		background: #343a3c;
		z-index: -1;
		overflow: hidden;
	}

	.form-overlay {
		font-size: 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 52%;
		height: 111%;
	}

	.form-overlay img {
		width: 100%;
		height: 100%;
	}

	.hp-properties .btn-container.absol {
		right: 310px;
	}
}

@media only screen and (max-width: 1598px) {

	/* .properties-img img{
		width: 400px;
		height: 315px;
	} */
	.properties-container {
		height: 315px;
	}

	.hp-properties .btn-container.absol {
		position: absolute;
		bottom: 235px;
		right: 150px;
	}
}

@media only screen and (max-width: 1585px) {
	.section-title span {
		font-size: 60px;
	}

	.listings-slider {
		width: 73%;
	}

	.about-content {
		width: 45%;
		margin-left: 90px;
	}

	.headshots-container:last-child {
		/* right: 12%; */
	}

	.team-details {
		/* width: 70%; */
	}

	.form-wrap {
		width: 48.3%;
	}

	.form-overlay img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: right;
	}

	.form-overlay {
		width: 53.1%;
		height: 100%;
	}

	.form-bg canvas {
		background-position: center;
	}

	.properties-container:nth-child(3),
	.properties-container:nth-child(6) {
		top: -175px;
	}

	.hp-properties {
		height: 1100px;
	}
}

@media only screen and (max-width: 1440px) {
	.about-content {
		width: 45%;
		margin-left: 70px;
	}

	.headshots-container:first-child {
		/* left: 25%; */
	}

	.headshots-container img {
		/* width: 85%;
		height: 100%; */
	}

	.headshots-container:last-child {
		/* right: 10%; */
	}

	.hp-team {
		/* height: 700px; */
	}

	.properties-container:nth-child(3),
	.properties-container:nth-child(6) {
		top: -160px;
	}

	.hp-properties .btn-container.absol {
		position: absolute;
		bottom: 235px;
		right: 130px;
	}

	#nav li {
		padding: 30px 20px;
	}

	#ip-element-contact #breadcrumbs {
		margin-left: 100px;
		margin-right: 100px;
	}
}

@media only screen and (max-width: 1366px) {
	.section-title span {
		font-size: 55px;
	}

	#nav li a {
		font-size: 12px;
	}

	.hp-team .section-title {
		/* left: 12%; */
	}

	.form-details p {
		font-size: 22px;
	}

	.about-text p {
		font-size: 13px;
	}

	.about-img {
		width: 635px;
		height: 725px;
	}

	.popup-container {
		top: -135px;
	}

	#ip-element-contact #breadcrumbs {
		margin-left: 75px;
		margin-right: 75px;
	}

}

@media only screen and (max-width: 1280px) {
	.testimonials-container {
		width: 450px;
	}

	.testimonials-slider {
		width: 965px;
	}

	.numbers-container {
		width: 250px;
	}

	.cta-container a {
		width: 360px;
		height: 360px;
	}

	.about-content {
		width: 49%;
		margin-left: 70px;
	}

	.about-img {
		width: 535px;
		height: 650px;
	}

	.section-title span {
		font-size: 50px;
	}

	.headshots-container:last-child {
		/* right: 5%; */
	}

	.form-wrap {
		width: 48.4%;
	}

	.form-details p {
		font-size: 20px;
	}

	.hp-listings .section-title {
		margin-left: 10%;
	}

	.hp-listings .btn-container {
		margin-right: 7.5%;
	}

	.header-logo img {
		width: 150px;
		height: 100%;
	}

	.properties-container:nth-child(3),
	.properties-container:nth-child(6) {
		top: -140px;
	}

	/* .properties-img img {
		width: 380px;
		height: 315px;
	} */
	.properties-container {
		height: 315px;
	}

	.hp-properties .btn-container.absol {
		position: absolute;
		bottom: 235px;
		right: 105px;
	}

	#ip-element-contact #breadcrumbs {
		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) {
	.cta-container a {
		width: 310px;
		height: 310px;
	}

	.popup-container {
		top: -245px;
	}

	#nav li {
		padding: 30px 10px;
	}

	header.header .header-container {
		padding: 0px 60px;
	}

	.numbers-container .counting {
		font-size: 40px;
	}

	.numbers-container {
		width: 195px;
		height: 200px;
	}

	.numbers-container {
		padding: 50px 0;
	}

	.testimonials-slider {
		width: 820px;
	}

	.testimonials-container {
		width: 380px;
		height: 430px;
	}

	.testimonials-text p {
		font-size: 12px;
	}

	.headshots-container img {
		/* width: 75%;
		height: 100%; */
	}

	.headshots-container:last-child {
		/* right: 0%; */
	}

	.team-details {
		/* width: 80%; */
	}

	.hp-team {
		/* height: 580px; */
	}

	.hp-about .section-title span strong {
		font-size: 40px;
	}

	.about-img {
		width: 430px;
		height: 565px;
	}

	.listings-slider {
		height: 480px;
	}

	.listings-container {
		height: 480px;
	}

	.listings-wrap {
		height: 733px;
	}

	.controller-wrap {
		width: 500px;
		height: 535px;
	}

	.hp-listings .btn-container {
		margin-right: 5.5%;
	}

	.section-title span {
		font-size: 40px;
		padding-left: 15px;
	}

	.section-title p {
		margin-right: 15px;
	}

	.form-wrap {
		width: 50.3%;
		padding: 50px 80px 40px 80px;
		margin-top: 25px;
		margin-right: 30px;
	}

	.form-details p {
		font-size: 16px;
	}

	.form-overlay img {
		height: 95%;
	}

	/* .properties-img img {
		width: 315px;
		height: 260px;
	} */
	.properties-container {
		height: 260px;
	}

	.properties-container {
		width: 32%;
	}

	.properties-container:nth-child(3),
	.properties-container:nth-child(6) {
		top: -130px;
	}

	.properties-details {
		width: 270px;
		height: 80px;
	}

	.properties-title span {
		font-size: 15px;
	}

	.properties-address p {
		font-size: 13px;
	}

	.hp-properties {
		height: 950px;
	}

	.hp-properties .btn-container {
		right: 70px;
	}

	#nav .sub-menu {
		left: -65px;
	}

	.hp-properties .btn-container.absol {
		position: absolute;
		bottom: 200px;
		right: 95px;
	}

	.properties-info {
		margin-bottom: 25px;
	}

	.properties-info span {
		font-size: 12px;
	}

	.porperties-hover {
		top: 60px;
	}


}

@media only screen and (min-width: 992px) {

	body #agents-single .agents-contact,
	body #agents-single .agents-contact li.agent-contact-centered>div {
		justify-content: left;
	}
}

@media only screen and (max-width: 992px) {
	.headshots-container:first-child {
		/* left: 20%; */
	}

	.headshots-container:last-child {
		/* right: -10%; */
	}

	.team-details {
		/* width: 92%; */
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	/* The following are used on inner pages. Please edit carefully. */

	.section-title p {
		font-size: 13px;
	}

	.headshots-container:last-child {
		right: 0%;
	}

	#pojo-a11y-toolbar {
		display: none;
	}

	.inner {
		width: 100%;
	}

	#content-sidebar,
	#content-full {
		width: 100%;
	}

	.outer {
		width: 100%;
		min-width: 100%;
	}

	#content-sidebar #content {
		width: 100%;
	}

	header.header {
		display: none;
	}

	.popup-container {
		top: -125px;
	}

	.hp-slider {
		/* margin-top: 50px; */
	}

	.hp-listings .section-title {
		margin-left: 0;
		left: 0;
		right: 0;
		margin: auto;
		align-items: center;
		justify-content: center;
		position: relative;
		padding: 40px 0px;
		top: 0;
	}

	.listings-controller {
		display: none;
	}

	.listings-slider {
		position: relative;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		width: 75%;
	}

	.hp-listings .btn-container {
		position: relative;
		bottom: 0;
		right: 0;
		display: flex;
		margin: 0;
		align-items: center;
		justify-content: center;
		padding: 110px 0px 0px;
	}

	.controller-container {
		position: relative;
		bottom: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 1;
		padding: 20px 0px 0px;
	}

	.listings-wrap {
		height: 820px;
		overflow: hidden;
	}

	.about-img {
		width: 45%;
		height: 100%;
		margin-bottom: 35px;
	}

	.about-content {
		width: 50%;
		margin-left: 0;
	}

	.about-text {
		text-align: center;
	}

	.hp-about .btn-container {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.hp-about .section-title {
		margin-bottom: 25px;
		justify-content: center;
		align-items: flex-start;
	}

	.about-flex {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.hp-team {
		height: 440px;
		overflow: hidden;
		height: auto;
		padding: 70px 0px;
	}

	.team-wrap {
		width: 90%;
	}

	.hp-team .section-title {
		position: relative;
		/* bottom: -30%; */
		left: 0;
		/* right: 0; */
		margin: 0px auto;
		transform: none;
		justify-content: center;
	}

	.hp-team .section-title p {
		/* text-shadow: 2px 0px 2px white, 0 0 2em #ffffff, 0 0 0.5em #ffffff; */
	}

	.hp-team .section-title span {
		/* text-shadow: 1px 1px 2px black, 0 0 1em #040404, 0 0 0.2em #000000; */
	}

	.team-details {
		width: 95%;
	}

	.team-name {
		text-align: center !important;
	}

	.team-name span {
		font-size: 18px;
	}

	.team-bg canvas {
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

	.headshots-container {
		position: relative;
		bottom: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 30px;
	}

	.headshots-container img {
		/* width: 60%;
		height: 100%; */
	}

	.headshots-wrap {
		/* left: 85px; */
	}

	.headshots-container:first-child {
		/* left: 0%; */
	}

	.headshots-wrap {
		/* align-items: flex-end; */
	}

	.headshots-wrap {
		left: 0;
		position: relative;
		align-items: center;
		flex-direction: column;
		gap: 50px;
		padding: 50px 0 0;
	}

	.hp-team .section-title p {
		text-shadow: none;
	}

	.headshots-container:first-child {
		width: 100%;
		max-width: 360px;
		left: 0;
	}

	.headshots-container:nth-child(2) {
		width: 90%;
		max-width: 310px;
		left: 0;
	}

	.headshots-container:last-child {
		width: 100%;
		max-width: 420px;
		left: 0;
	}

	.team-details {
		/* display: none; */
		width: 100%;
		max-width: 700px;
		margin: auto;
		flex-wrap: wrap;
	}

	.headshots-container.team-headshots-container {
		left: auto;
		right: auto;
		transform: none;
		max-width: 700px;
	}

	.team-details .team-name {
		position: relative;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		width: calc(100% / 3);
		padding: 0 15px;
	}

	.cta-flex {
		flex-direction: column;
	}

	.cta-container {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.numbers-container {
		margin-right: 0;
		margin-bottom: 40px;
	}

	.numbers-flex {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		flex-direction: column;
	}

	.hp-numbers {
		height: 100%;
		padding: 65px 0px 15px;
	}

	.counting em {
		display: none;
	}

	.counting strong {
		display: block;
	}

	.numbers-container .counting {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.form-overlay {
		display: none;
	}

	.ftr-form {
		/*display: flex;*/
		justify-content: center;
		align-items: center;
	}

	.form-wrap {
		width: 80%;
		margin-top: 0;
		margin-right: 0;
	}

	.ftr-form {
		height: 800px;
	}

	.form-bg {
		height: 100%;
	}

	footer.footer {
		height: 100%;
		padding: 50px 0px;
	}

	.copyright {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		text-align: center;
	}

	.copyright-icons {
		margin-top: 10px;
	}

	.testimonials-container {
		width: 570px;
		height: 430px;
	}

	.testimonials-slider {
		width: 570px;
	}

	.hp-testimonials .section-title {
		margin-bottom: 45px;
		padding-top: 0;
	}

	.hp-testimonials {
		height: 100%;
		padding: 100px 0px;
	}



	.contact-container a {}

	.hp-properties {
		height: 100%;
		padding: 50px 0px;
	}

	.properties-container:nth-child(1),
	.properties-container:nth-child(4) {
		top: 0;
	}

	.properties-container:nth-child(3),
	.properties-container:nth-child(6) {
		top: 0;
	}

	.properties-flex {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		flex-wrap: wrap;
	}

	.hp-properties .section-title {
		margin-bottom: 180px;
		display: flex;
		position: relative;
		top: 140px;
		margin-left: 0;
		justify-content: center;
	}

	.properties-container {
		position: relative;
		margin-right: 0;
		margin-bottom: 4px;
	}

	/* .properties-img img {
		width: 400px;
		height: 330px;
	} */
	.properties-container {
		height: 330px;
	}

	.hp-properties {
		margin-top: 0;
	}

	.hp-properties .section-title {
		margin-bottom: 60px;
		top: 0;
	}

	.hp-properties .btn-container {
		right: 0 !important;
		position: relative !important;
		bottom: 0 !important;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 13px;
	}

	.hp-slider {
		/* margin-top: 40px; */
		clip-path: none;
	}

	.contact-container a {
		font-size: 12px;
	}

	.team-details .team-name:last-child {
		margin-right: 0;
	}

	.mobile-logo {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 100px 0 50px;
	}

	.ip-container .mobile-logo {
		padding: 100px 0 50px;
	}

	.mobile-logo .textwidget {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.properties-container {
		width: 50%;
	}

	.porperties-hover {
		top: 105px;
	}

	#ip-element-contact .aios-contact-main {
		margin-left: 0;
		margin-right: 0;
		padding-left: 10px;
		padding-right: 10px;
	}

	#ip-element-contact .aios-contact-form {
		margin-right: 0;
		margin-left: 0;
	}

	#ip-element-contact .aios-contact-info ul li {
		padding: 0;
	}

	#agents-single ul.agents-contact li.agents-contact-half>div {
		width: fit-content;
		margin: auto;
	}

	#agents-single .agents-contact li.agent-email-address {
		margin-top: 0 !important;
	}

	#agents-single .agents-img {
		max-width: 360px;
		margin: auto;
	}

	#agents-results .agents-img {
		max-width: 350px;
		margin: auto;
	}

	#agents-single ul.agents-contact li>div {
		padding: 0 !important;
	}

	#agents-single .agents-contact li {
		height: auto !important;
	}

	#agents-single .agents-contact li.agents-contact-half {
		margin: 0 0 20px !important;
	}

	#agents-results .agents-col:nth-child(even) .agents-item,
	#agents-results .agents-col:nth-child(even) .agents-main {
		flex-direction: row !important;
	}

	#ip-element-contact #breadcrumbs {
		margin-left: 0px;
		margin-right: 0px;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.ip-banner .container {
		width: 100%;
	}

	.hp-testimonials {
		height: 100%;
		padding: 40px 0px;
	}

	.testimonials-container {
		width: 300px;
		height: 520px;
	}

	.testimonials-slider .slick-list {
		height: 540px;
	}

	.testimonials-slider {
		width: 300px;
	}

	.hp-testimonials .next {
		bottom: 50%;
	}

	.hp-testimonials .prev {
		bottom: 50%;
	}

	.testimonials-content button {
		width: 40px;
		height: 40px;
		background: #71828d;
		color: white;
		border: none;
	}

	.about-content {
		width: 85%;
	}

	.about-content {
		width: 85%;
	}

	.about-img {
		width: 75%;
		height: 100%;
		margin-bottom: 35px;
	}

	.form-wrap {
		width: 90%;
	}

	.footer .container {
		width: 100%;
	}

	.ftr-contact {
		flex-direction: column;
	}

	.ftr-contact .contact-container {
		margin-right: 0;
		margin-bottom: 15px;
		text-align: center;
	}

	.footernav {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.footernav li {
		margin-right: 0;
		margin-bottom: 40px;
	}

	.listings-details {
		width: 100%;
	}

	.listing-title span {
		font-size: 22.76px;
	}

	.listings-status p {
		font-size: 16px;
	}

	.hidden-desktop {
		display: block;
	}

	/* 
	.hp-team {
		height: 100%;
		overflow: hidden;
		padding: 50px 0px;
	}

	.team-wrap {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		width: 100%;
		height: 100%;
	}

	.headshots-wrap {
		left: 0;
		position: relative;
		align-items: center;
		flex-direction: column;
	}

	.headshots-container img {
		width: 60%;
		height: 100%;
		margin-bottom: 25px;
	}

	.headshots-container {
		position: relative;
		bottom: 0;
		display: flex;
		margin-bottom: 50px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.team-details {
		display: none;
	}

	.hp-team .section-title p {
		text-shadow: none;
	}

	.headshots-container:first-child img {
		width: 50%;
	} */

	.aiosp-wrap .aiosp-container .aios-popup-body {
		width: 400px !important;
		padding: 35px !important;
	}

	.popup-form .wpcf7 form .wpcf7-response-output {
		bottom: -50px;
	}

	.listings-container {
		height: 415px;
	}

	.hp-slider {
		/* margin-top: 52px; */
		clip-path: none;
	}

	.properties-info span {
		font-size: 12px;
		margin-bottom: 5px;
	}

	.properties-info span:nth-child(2) {
		border: 0;
		border-top: 0;
		border-bottom: 0;
	}
	.properties-info {
		display: flex
	;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}

	.porperties-hover .hp-btn {
		font-size: 12px;
		width: 160px;
		height: 45px;
	}

	.properties-info {
		margin-bottom: 0px;
	}

	.porperties-hover {
		top: 135px;
	}

	.porperties-hover .btn-container {
		margin-top: 7px;
	}

	.properties-container {
		width: 75%;
	}

	.properties-container {
		height: 370px;
	}

	#inner-page-wrapper .archive-title,
	#content .archive-title,
	#inner-page-wrapper .agent-entry-title,
	#inner-page-wrapper .entry-title,
	#content .entry-title {
		font-size: 30px;
		word-wrap: break-word;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.hp-testimonials .next {
		right: -20px;
	}

	.hp-testimonials .prev {
		left: -20px;
	}

	.testimonials-container {
		width: 270px;
		height: 520px;
	}

	.testimonials-slider {
		width: 270px;
	}

	.hp-testimonials {
		height: 100%;
		padding: 30px 0px;
	}

	.testimonials-text {
		padding: 0px 22px;
		margin-top: 95px;
	}

	.section-title span {
		font-size: 23px;
	}

	.hp-about .section-title span strong {
		font-size: 25px;
	}

	.listing-title span {
		font-size: 11px;
	}

	.listing-address p {
		font-size: 14.51px;
	}

	.section-title p {
		margin-bottom: 45px;
		margin-right: 15px;
	}

	.cta-container a {
		width: 300px;
		height: 300px;
	}

	.aiosp-wrap .aiosp-container .aios-popup-body {
		width: 90% !important;
		padding: 20px !important;
		height: 500px !important;
	}

	.home .aios-popup-body .aiosp-close {
		top: -40px;
		right: -25px;
	}

	.listings-slider {
		width: 90%;
	}

	/* .properties-img img {
		width: 300px;
		height: 245px;
	} */
	.properties-container {
		height: 250px;
	}

	.listings-container {
		height: 385px;
	}

	.hp-slider {
		/* margin-top: 50px; */
		clip-path: none;
	}

	.properties-container {
		width: 91%;
	}

	.porperties-hover {
		top: 44px;
	}

	.team-details .team-name {
		width: 100%;
		padding: 0;
		margin: 5px 0;
	}

	#aios-testimonials.aios-testimonials-page h1 {
        font-size: 27px !important;
    }
}