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

@media only screen and (max-width: 1366px) {
	.header-inner,
	.fixed-header-inner {
	    margin: 0 -15px;
	}

    .logo-holder span,
	.fixed-header-inner .header-logo a {
	    font-size: 22px;
	}

	nav.header-nav ul#nav-fixed > li {
	    margin: 0 12px;
	}

	.fp-content {
	    padding-left: 30px;
	    margin-right: -15px;
	}

	.fp-title,
	.blog-title{
	    font-size: 40px;
	}

	.fp-title span,
	.testi-title,
	.blog-title span,
	.gt-title {
	    font-size: 65px;
	}

	.fc-holder {
	    margin: 0 -18px;
	}

	.fb-feed-holder {
	    margin: 0 -15px;
	}
    
    #instagram-feed {
	    margin: 0 -15px;
    }
    
    .blog-row-wrap {
        margin: 0 -15px;
    }

	footer.main-footer {
	    padding: 125px 0 80px;
	}
	.map-outer {
		margin-right: -55px;
	}
}

@media only screen and (max-width: 1280px) {
	.map-outer {
	 	 margin-right: 0;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .wc-content {
        padding-right: 15px;
    }

    #content .about-form div.wpcf7-response-output {
        font-size: 12px !important;
    }
	.site-name span {
	    font-size: 35px;
	    bottom: 17px;
	}

	.cta-aios-popup input[type="submit"] {
		    margin: 9px auto 11px;
	}

	header.main-header {
		padding: 18px 0;
	}

	.logo-holder {
		    max-width: 127px;
	}

    .logo-holder span,
	.fixed-header-inner .header-logo a {
	    font-size: 18px;
	}

	nav.header-nav ul#nav > li,
	nav.header-nav ul#nav-fixed > li {
	    margin: 0 5px;
	}
    
    .burger-holder {
        margin-left: 20px;
    }

	.broker-logo {
	    max-width: 120px;
	}

	.quick-search-area {
	    bottom: 50px;
	}

	.cta-label {
	    font-size: 25px;
	}

	.cta-label span {
	    font-size: 40px;
	}

	.wc-content h1 {
	    font-size: 60px;
	    margin-bottom: 30px;
	}

	.wc-content p {
	    font-size: 15px;
	}

	.wc-agent-photo {
	    margin-left: -30px;
	    margin-right: -10px;
	}

	.fp-holder {
	    width: calc((100vw - 940px) / 2 + 100%);
	}

	.fp-content {
	    padding-left: 0;
	}

	.fp-title, 
	.blog-title {
	    font-size: 30px;
	}

	.fp-title span, 
	.testi-title, 
	.blog-title span, 
	.gt-title {
	    font-size: 50px;
	}

	.fp-content-list p {
	    font-size: 15px;
	}

	.fc-label {
	    font-size: 20px;
	}

	.fc-title {
	    font-size: 22px;
	}

	.fb-feed-content {
	    padding: 30px 20px 28px;
	}

	.fb-time span {
	    font-size: 16px;
	    padding-left: 20px;
	}

	.fb-time span em {
	    font-size: 11px;
	}

	.ins-feed-col1 .ins-feed-list:nth-child(2) {
	    padding-left: 50px;
	}

	.ins-feed-head {
	    padding-left: 45px;
	}

	.blog-photo {
	    max-width: 300px;
	}

	.blog-content h2 a {
	    font-size: 15px;
	    margin-bottom: 10px;
	}

	.blog-content p {
	    font-size: 12px;
	    padding-bottom: 10px;
	}

    .bootstrap-extend-left {
        margin-left: calc((100vw - 940px) / -2);
    }

    .bootstrap-extend-right {
        margin-right: calc((100vw - 940px) / -2);
    }
	.map-title {
		font-size: 45px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .wc-content {
        padding-right: 0;
    }

    .page-id-64 #content .about-form div.wpcf7-response-output {
        bottom: 54px !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0;
        transform: translateX(0) !important;
        width: 100% !important;
    }
	
	/* 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 .entry-title,
    #content .archive-title {
        font-size: 50px;
    }

    #content .cu-form {
    	position: relative;
    }

    #content .about-form div.wpcf7-response-output,
    #content .cu-form div.wpcf7-response-output {
	    left: 50% !important;
	    right: 0 !important;
	    width: calc(100% + 34px) !important;
	    transform: translateX(-50%) !important;
	    bottom: -58px !important;
	}

    header.main-header {
        position: relative;
        padding: 15px;
        margin: 53px 0 0;
        z-index: 100;
    }

    .header-inner{
        justify-content: center;
        margin: 0;
    }
    .fixed-header,
    nav.header-nav,
    .burger-holder{
		display: none;
	}

	section.slideshow-area {
	    margin-top: 0;
	}

	.site-name span {
	    bottom: 0;
	}

	.quick-search-area {
	    bottom: 0;
	    position: relative;
	    background: #232222;
	    padding: 30px 0;
	}

	.qs-title {
	    font-size: 25px;
	    width: 100%;
	    text-align: center;;
	    margin-bottom: 15px;
	}

	.qs-title span {
	    margin-top: 5px;
	    right: 0;
	}

	.long-form.qs-field {
	    width: 100%;
	}

	.qs-form {
	    width: 100%;
	   	padding: 9px 30px 0;
	}

	.btn-form.qs-field.qsbtn1 {
	    margin: 5px auto 0;
	    display: block;
	}

	.btn-form.qs-field.qsbtn2 {
	    width: 100%;
	    text-align: center;
	}

	.qs-holder {
	    padding: 26px 0 17px;
	}

	.cta-list a {
	    text-align: center;
	    margin: 30px auto;
	}

	section.cta-area {
	    padding: 50px 0;
	}

	.cta-list a:hover {
	    -webkit-transform: scale(1.2);
	    -ms-transform: scale(1.2);
	    transform: scale(1.2);
	}

	section.welcome-area {
	    padding: 30px 0;
	}

	.row.fp-row {
	    display: flex !important;
	    flex-direction: column-reverse;
		margin-top: 20px;    
	}

	.wc-content {
	    margin-right: 0;
	    margin-top: 20px;
	    text-align: center;
	}

	.wc-agent-photo {
	    margin: 25px auto 0;
	    max-width: 300px;
	}

	.row.fp-row{
		display: block;
	}

	.fp-holder {
	    width: 100%;
	    float: none;
	    padding-right: 0;
	    height: auto;
	}

	.fp-title, 
	.blog-title {
	    text-align: center;
	}

	.fp-title {
	    left: 0;
	    margin-bottom: 25px;
	    margin-top: 50px;
	}

	a.fp-view {
	    margin-top: 15px;
	}

	.fp-content-list {
	    text-align: center;
	    margin-bottom: 23px;
	}

	.fp-holder {
	    max-width: 500px;
	    margin: 0 auto;
	}

	.fp-content {
	    margin-right: 0;
	}

	.fp-content-slick-slider {
	    max-width: 500px;
	    margin: 0 auto;
	}

	section.featured-communities-area {
	    padding: 60px 0;
	}

	.fc-holder {
	    margin: 0 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		max-width: 500px;
    	margin: 0 auto;
	}

	.fc-col1,
	.fc-col2{
		width: 100%;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.fc-col1 .fc-list,
	.fc-col3 .fc-list,
	.fc-col3 {
	    width: 100%;
	}

	.fc-col3 {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}

	.fc-col3 .fc-list {
	    height: auto;
	}

	.fc-list.fc-title-holder .fc-photo {
	    display: none;
	}

	.fc-title-inner {
	    position: relative;
	}

	.fc-title-content {
	    padding: 30px 15px;
	}

	.fc-photo canvas {
	    height: 250px !important;
	}

	.fc-label {
	    font-size: 24px;
	}

	.fb-feed-bg{
		display: none;
	}

	.fb-like a {
	    border: solid 1px #3b5997;
	}

	.fb-feed-header{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-bottom: 30px;
	}

	.fb-logo {
	    margin-bottom: 30px;
	}

	section.facebook-feed-area {
	    padding: 25px 0 0;
	}

	.ins-feed-holder {
	    margin: 0 0;
	    -webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.ins-feed-list.ins-feed-title-holder {
	    padding: 0;
	    height: auto;
	    width: 100%;
	}

	.ins-feed-col1,
	.ins-feed-col2,
	.ins-feed-col3 {
	    width: 100%;
	}

	.ins-feed-head {
	    padding: 30px 0;
	}	

	.ins-feed-col1 .ins-feed-list:nth-child(2) {
	    padding-left: 0;
	}

	.ins-feed-col3 .ins-feed-list {
	    width: 100%;
	}

	.ins-feed-list {
	    padding: 5px !important;
	    width: 100%;
	    max-width: 500px;
	    margin: 0 auto;
	}

	.ins-feed-photo canvas {
	    height: 300px;
	}

	.fp-title span, 
	.testi-title, 
	.blog-title span, 
	.gt-title {
	    font-size: 40px;
	}

	.fb-feed-holder {
	    margin: 0 0;
	}

	section.instagram-feed-area {
	    padding: 50px 0 0;
	}

	section.testimonials-area {
	    padding: 70px 0;
	}

	.blog-bg {
	    width: 100%;
	    background-position: center;
	    background-attachment: local;
	}

	.row.blog-row{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.blog-title {
	    margin-bottom: 0;
	}

	.blog-view-more {
	    text-align: center;
	    margin-bottom: 30px;
	}

	.blog-photo {
	    max-width: 390px;
	}

	.blog-list {
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -webkit-flex-direction: column;
	    -ms-flex-direction: column;
	    flex-direction: column;
	    max-width: 390px;
	    margin: 0 auto 15px;
	}

	.blog-content {
	    padding: 20px;
	    text-align: center;
	}

	section.blog-area {
	    padding: 80px 0 60px;
	}

	.blog-content h2 a {
	    font-size: 18px;
	}

	.blog-content p {
	    font-size: 13px;
	}

	footer.main-footer {
	    padding: 60px 0 50px;
	}

	.gt-fields {
	    width: 100%;
	}

	.footer-smi {
	    margin: 40px 0;
	}

	.ft-contact span {
	    margin: 0 0 15px;
	    display: block;
	}

	ul.footernav li {
	    margin: 0 12px 5px;
	}

    .bootstrap-extend-left {
        margin-left: 0;
    }

    .bootstrap-extend-right {
        margin-right: 0;
    }
    
    #instagram-feed {
        margin: 0;
    }
    
    #instagram-feed .ig-btns {
        margin-top: 30px;
    }
    
    .blog-row-wrap {
        margin: 0;
	}
	section.map-area {
		padding: 50px 0;
		text-align: center;
	}

	section.map-area::before {
		top: 0;
		height: 100%;
	}

	.map-holder {
		display: block;
	}

	.map-text {
		padding: 0;
	}

	.map-text-line {
		margin: 30px auto 0;
	}

	.map-text-line::after {
		width: 100vw;
	}

	.map-text > ul {
		margin: 0 auto;
	}


	#content .aios-testimonials-lists.aios-primary-testimonials p,
	#content .aios-testimonials-lists.aios-primary-testimonials h3 {
		font-size: 17px !important;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .cta-aios-popup h2 {
        margin: 25px 0 15px;
    }

    #join-our-mailing-list .aiosp-close{
        top: -11px !important;
    }

    #content .entry-title,
    #content .archive-title {
        font-size: 45px;
    }
    
    .ip-banner .container{
        width: 100%;
    }

    .site-name span,
    .footer-site-name {
	    font-size: 30px;
	}

	.cta-label {
	    font-size: 20px;
	}

	.cta-label span {
	    font-size: 30px;
	}

	.wc-content h1 {
	    font-size: 40px;
	}

	.fp-title, 
	.blog-title {
	    font-size: 25px;
	}

	.fp-title span, 
	.testi-title, 
	.blog-title span, 
	.gt-title {
	    font-size: 35px;
	}
    
    #instagram-feed .sf-main-feed a {
        width: 50%;
    }
    #instagram-feed .sf-heading-left {
	    flex-direction: column;
	    justify-content: center;
	    align-items: center;
	    text-align: center;
	    width: 100%;
	}
    .slicker-instagram-placeholder, .slicker-youtube-placeholder {
	    width: 50% !important;
	}
}

@media only screen and (max-width: 568px){
    .aiosp-content .listings-popup-form .ihf-captcha .g-recaptcha > div {
        margin: 0 auto;
        transform: scale(.8);
        position: relative;
        left: -30px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    .footer-copyright a {
        line-height: 17px;
    }

    #listings-results .listings-sort .dropdown-menu {
        min-width: 222px !important;
    }

.ig-prop-container{
    display: block !important;
}

#content .about-form div.wpcf7-response-output, #content .cu-form div.wpcf7-response-output {
	    bottom: -62px !important;
    font-size: 12px !important;
    line-height: 1.2;
}


    #content .entry-title,
    #content .archive-title {
        font-size: 40px;
    }
    
	.site-name span, .footer-site-name {
	    font-size: 20px;
	}

	.qs-form select, 
	.qs-form input {
	    letter-spacing: 0;
	}

	.wc-content h1 {
	    font-size: 30px;
	}

	.fc-photo canvas {
	    height: 200px !important;
	}

	.fb-time{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		text-align: center;
	}

	.fb-links{
		text-align: center;
	}

	.fb-time span {
	    padding-left: 0;
	    margin-top: 10px;
	}

	.ins-feed-photo canvas {
	    height: 250px;
	}

	.testi-list {
	    padding: 0 0;
	}

	.slider-holder .swiper-slide canvas {
	    height: 200px;
	}
	.map-title {
		font-size: 30px;
	}

	.map-title span {
		font-size: 50px;
	}

	#listings-results .listings-sort > div {
	    margin-left: auto !important;
	}

	.ihf-captcha iframe {
	    transform: translateX(-9px) scale(.9);
	}

	.ihf-captcha iframe {
	    transform: translateX(-43px) scale(0.7);
	}

	.aiosp-content .listings-popup > h2 {
		    font-size: 40px !important;
	}

	.aiosp-content.aios-popup-body.aix-testimonial-wrap {
	    width: 100% !important;
	}
}

@media only screen and (max-width: 340px) {
	#ihf-main-container .btn-group > .btn-group {
	    float: right!important;
	}
}

@media only screen and (max-width: 321px){
    #listings-results .listings-sort .dropdown-menu {
        min-width: 268px !important;
    }
    
}

@media print{
	
}
 
