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


/*@media only screen and (max-height: 800px) {
	._header ul li:nth-child(5) ul.sub-menu {
		max-height: 370px;
	}
}
*/


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */









@media only screen and (min-width: 992px) {


  section#hero {
      margin-top: 134px;
  }



}

@media only screen and (max-width: 1199px) {

}

@media only screen and (max-width: 1120px) {
	._header ul li {
		margin: 0 0.4vw;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
header.header {
	position: relative !important;
    height: auto !important;
}
	.section-header {
		text-align: center;
	}

	.section-header strong {
		font-size: 60px;
		line-height: 60px;
	}

	.section-header span {
		font-size: 21px;
		line-height: 21px;
	}

	.section-header:after {
		margin: 20px auto 0;
	}

	.section-header.sh-center:after {
	    margin: 20px auto;
	}

	.nav-control-wrap .slick-controls {
	    margin-top: 20px!important;
	}

	.slick-controls span.sc-nav,
	.slick-controls span.sc-nav em {
	    font-size: 16px;
	    line-height: 16px;
	}

	.contact-row .contact-info {
	    font-size: 15px;
	    line-height: 24px;
	}

	.social-media a {
		font-size: 28px;
	}

	.social-media a span {
	    font-size: 12px;
	    line-height: 12px;
	}

	.social-media a canvas {
	    max-width: 23px;
	}

	.styled-btn {
		font-size: 16px;
		line-height: 20px;
		padding: 18px 15px;
		max-width: 200px;
	}


	.fixed-social-media,
	.slide-overlay {
		display: none;
	}

	header.header {
	    z-index: 1 !important;
	    margin-top: 52px;
	    position: relative;
	    padding: 30px 0;
	}


	.header-logo {
		width: 100%;
	}

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

	.header-logo .textwidget {
		justify-content: center;
	}

	.header-nav,
	.header-contact-wrap {
		display: none;
	}


	#map-communities-wrap .map-area {
		display: none;
	}

	#map-communities-wrap .map-area-mobile {
	    display: block;
	    padding: 50px 20px;
	}

	#map-communities-wrap .map-area-mobile .section-header {
		margin-bottom: 30px;
	}

	#map-communities-wrap .map-area-mobile .section-header strong {
		margin-bottom: 10px;
	}

	#map-communities-wrap .map-area-mobile .map-links {
	    max-width: 90%;
	    margin: 0 auto;
	}

	.communities-list .slick-slide {
		transform: unset!important;
	}

	.communities-list {
	    max-width: 600px;
	    margin: 0 auto;
	}

	.communities-list .slick-list {
	    padding: unset!important;
	}

	.community-entry a .ce-overlay {
	    padding: 30px;
	}

	.community-entry a .ce-overlay strong {
		font-size: 30px;
		line-height: 30px;
	}

	.community-entry a .ce-overlay strong:after {
	    margin-top: 10px;
	    width: 65px;
	}


	.welcome-widget {
	    flex-direction: column;
	}

		.welcome-left, .welcome-right {
		    width: 100%;
		    margin: 0;
		}

		.welcome-left {
			max-width: 500px;
		}

			.welcome-agent-details-wrap .wad-inner {
				padding: 25px 40px;
			}

			.welcome-agent-details-wrap .contact-row {
				margin-bottom: 24px;
			}

			.welcome-agent-details-wrap .contact-row {
			    flex-direction: column;
			}

			.welcome-agent-details-wrap .contact-row > div:nth-child(2) {
				margin-left: 0;
				padding-left: 0;
				border-left: none;
			}

			.welcome-agent-details-wrap .contact-row .contact-info em {
			    min-width: 75px!important;
			    text-align: left;
			}

			.welcome-agent-details-wrap .contact-row .cinfo {
			    min-width: 180px;
			}

			.welcome-agent-details-wrap .social-media {
			    max-width: 160px;
			}




		.welcome-right {
			margin-top: 60px;
			text-align: center;
		}

			.welcome-right .section-header {
			    text-align: center;
			    margin-bottom: 30px;
			}

			.welcome-right .section-header strong {
			    font-size: 50px;
			}

			.welcome-right .section-header:after {
				margin: 20px auto 0;
			}

			.welcome-right .welcome-btn {
			    justify-content: center;
			    margin-top: 30px;
			}

			.welcome-right .welcome-btn .styled-btn {
			    margin: 0 10px;
			    max-width: 211px;
			}

			.welcome-right p {
				margin-bottom: 20px;
			}


	#testimonials .textwidget {
	    display: block;
	    width: 100%;
	}

		.testimonial-left,
		.testimonial-right {
		    width: 100%;
		}

		/*.testimonial-right canvas {
			max-height: 300px;
		}*/

		.testimonial-right {
			display: none;
		}

		.testimonial-left {
			text-align: center;
		}

		.testimonial-left .section-header {
		    margin-left: 0;
		}

		.testimonials-wrapper {
		    margin: 0;
		    padding: 30px;
		    max-width: 500px;
		    margin: 0 auto;
		}


		.testimonial-control-wrap .styled-btn {
		    max-width: 160px;
		}

		.testimonial-control-wrap .nav-control-wrap .slick-controls {
			margin-top: 0!important;
		}

		.testimonials-list:before {
		    width: 50px;
		    height: 40px;
		    margin: 0 auto 20px;
		}


		.testimonials-list .testimonial-entry p {
		    font-size: 16px;
		    line-height: 24px;
		}

		.testimonials-list .testimonial-entry strong {
		    font-size: 16px;
		    line-height: 24px;
		}


	.fl-entry .fl-details-main .fl-details-view {
	    font-size: 16px;
	    line-height: 16px;
	}

	.fl-entry strong {
	    font-size: 20px;
	    line-height: 20px;
	    margin-bottom: 10px;
	}

	.fl-entry span {
		font-size: 14px;
		line-height: 14px;
		margin-bottom: 0;
	}

	.fl-entry em {
		font-size: 14px;
		line-height: 14px;
		margin-top: 20px;
	}

	#quick-search{
		z-index: 0;
	}
	#quick-search .section-header {
		width: 100%;
	}
	#quick-search .bootstrap-select.btn-group .dropdown-menu {
	    max-width: none;
	}
	#quick-search .idx-text {
	    text-align: center;
	}

	.qs-form-wrap {
		background: transparent;
	}

	.qs-form-wrap form {
	    flex-direction: column;
	    align-items: center;
	    justify-content: center;
	    max-width: 500px;
	    margin: 0 auto;
	}

	.qs-form-wrap .field-area,
	.qs-form-wrap .qs-action {
		width: 100%;
	}

	.qs-form-wrap input[type=submit], .qs-form-wrap button, .qs-form-wrap a.adv-btn {
		padding: 20px 5px;
		height: unset;
	}

	.qs-form-wrap .field-area {
		margin-bottom: 3px;
		flex-direction: column;
	}

	.qs-form-wrap select, .qs-form-wrap input[type=text] {
		height: unset;
		border-left: none;
		border: 1px solid #e8e8e8;
	}
	.hp-quick-search .bootstrap-select.btn-group {
	    height: unset;
	}
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle {
	    border-left: none;
		border: 1px solid #e8e8e8;
	}
	.qs-form-wrap .field-wrap {
		width: 100%!important;
		margin-bottom: 2px;
	}

	.qs-form-wrap .field-wrap:last-child {
		margin-bottom: 0;
	}


	#social {
		height: unset;
		padding-bottom: 30px;
	}

	#social .section-header {
		margin-bottom: 20px;
	}

	.social-header {
	    flex-direction: column;
	    align-items: center;
	    justify-content: center;
	}

	.social-list a .social-entry-photo:after {
		font-size: 20px;
	}


	#blog {
	    padding: 100px 0;
	}

	#blog .nav-control-wrap .styled-btn {
	    max-width: 220px;
	}

	.news-entry strong {
	    font-size: 20px;
	    line-height: 25px;
	}

	.news-entry p {
	    display: block;
	    padding: 20px;
	    margin-bottom: 24px;
	}

	#contact {
		padding: 120px 0;
	}


	.footer-panel-wrap {
	    flex-direction: column;
	    align-items: center;
	    justify-content: center;
	}

	.footer-contact-wrap {
	    width: auto;
	    margin-bottom: 40px;
	}

	.footer-contact-wrap .contact-row .contact-info em {
		min-width: 85px;
		text-align: left;
	}



	.footer-copyright-wrap {
	    width: 100%;
	    text-align: center;
	    font-size: 14px;
	    line-height: 18px;
	}

	.footer-logo {
	    margin-top: 20px;
	}

	.footer-logo .textwidget {
	    align-items: center;
	    justify-content: center;
	    font-size: 26px;
	    line-height: 26px;
	}


	.footer-nav-wrap {
	    width: 100%;
	    max-width: unset;
	    text-align: center;
	}

	.footer-contact-wrap h3, .footer-nav-wrap h3 {
		font-size: 20px;
		line-height: 20px;
		text-align: center;
		margin-bottom: 20px;
	}

	.footernav {
	    max-height: unset;
	    flex-direction: row;
	    align-items: center;
	    justify-content: center;
	    margin: 15px 0 40px;
	}

	.footernav li {
	    width: auto;
	    margin: 5px;
	}

	.footernav li a {
	    font-size: 15px;
	}

	.footer-copyright-wrap .footer-social {
	    margin-bottom: 20px;
	    align-items: center;
	    justify-content: center;
	}

	.footer-social .social-media {
		margin: 0 auto;
	}

	.footer-disclaimer {
	    font-size: 13px;
	    line-height: 20px;
	}


	.container #agents-single .agents-listings-slider,
	.container #agents-single .agents-testi {
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	#agents-single .agents-testi-arrow {
		bottom: 0 !important;
	}
	#agents-single .agents-testi {
		padding-bottom: 100px;
	}




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

	body.ip-container {
		padding-top: 0;
	}

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

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {


	.map-links a {
	    margin: 0;
	}

	.social-list {
	    flex-wrap: wrap;
	}

	.social-list a {
	    width: 100%;
	    max-width: 180px;
	    margin: 10px 0;
	}

	.footer-contact-form-wrap .form-row.fr-col-3 {
	    flex-direction: column;
	}

	.footer-contact-form-wrap .form-row.fr-col-3 label {
	    width: 100%;
	    margin-bottom: 5px;
	}

	#contact .section-header {
		margin-bottom: 20px;
	}

	.footer-widget {
		flex-direction: column;
	}

	.footer-widget > div {
	    width: 100%;
	    max-width: 142px;
	    margin: 20px auto ;
	}

	.footer-widget .site-logo {
	    width: 100%;
	    height: auto;
	    margin: 0 auto;
	    max-width: 380px;
	}

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

    .communities-heading h2 {
	    font-size: 50px !important;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 567px) {
	.section-header strong {
	    font-size: 40px;
	    line-height: 40px;
	}

	.section-header span {
	    font-size: 17px;
	    line-height: 21px;
	}

	.map-links {
		max-height: unset;
	}

	.community-entry a .ce-overlay {
		text-align: center;
		align-items: center;
		justify-content: center;
		background: rgba(0,0,0,0.2);
	}

	.community-entry a .ce-overlay strong {
	    font-size: 20px;
	    line-height: 20px;
	}

	.community-entry a .ce-overlay strong:after {
	    margin: 10px auto 0;
	}

	.welcome-agent-details-wrap {
		width: 100%;
	}


	.welcome-right .section-header strong {
	    font-size: 45px;
	}


	.welcome-right .welcome-btn {
		flex-direction: column;
	}

	.welcome-right .welcome-btn .styled-btn {
		margin: 5px 0;
	}

	.testimonial-control-wrap {
	    flex-direction: column;
	    margin-top: 20px;
	}

	.testimonial-control-wrap .nav-control-wrap {
	    margin-top: 20px;
	}

	#featured-videos .nav-control-wrap {
	    padding: 0 20px;
	}

	.featured-video-entry a .fv-overlay .fv-button {
	    transform: scale(0.5);
	}

	.social-header-btn-wrap {
		width: 100%;
	}

	.social-header .social-header-btn-wrap .styled-btn {
	    max-width: unset;
	    min-width: unset;
	    width: 100%;
	    display: block;
	    margin: 0;
	}

	.news-list {
		padding: 0 10px;
	}

	#blog .nav-control-wrap {
		padding: 0 20px;
	}

	.footer-contact-form-wrap .wpcf7 form .wpcf7-response-output {
	    line-height: 20px;
	    font-size: 14px;
	}

	.contact-box-wrap {
		padding-top: 85px;
	}

	.communities-heading h2 {
	    font-size: 35px !important;
	}
}


@media only screen and (max-width: 420px) {
	.nav-control-wrap .styled-btn {
	    padding: 15px 5px;
	    font-size: 12px;
	}

	.slick-controls span.sc-nav, .slick-controls span.sc-nav em {
	    font-size: 12px;
	    line-height: 16px;
	}


}

@media print{
	.aios-custom-ihomefinder-printable-template #content .listings-printable-header span,
	.aios-custom-ihomefinder-printable-template .grecaptcha-badge,
	.aios-custom-ihomefinder-printable-template #pojo-a11y-toolbar {
	    display: none !important;
	}

	.aios-custom-ihomefinder-printable-template #content .listings-printable-inner{
	    width: 90% !important;
	}

	.aios-custom-ihomefinder-printable-template #main-wrapper{
	    overflow: unset!important;
	}

	.aios-custom-ihomefinder-printable-template #content .listings-printable-git ul li a[href]:after {
	    content: none !important;
	}
}
