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

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
/*for mac purpose*/
@media only screen and (min-width: 1601px) {
	.Communities-wrapper::before {
		   left: 20%;
	}
	 .welcome-inner::before{
	 	/* left: 12%; */
		left: calc(((100vw - 1170px) / 2) + 65px);
	 }
	 .welcome-inner::after{
		 width: calc(((100vw - 1170px) / 2) + 65px);
	 }

	 .testimonials-wrapper::before {
	 	right: 13.6%;
	 }
	 .blog-inner::before {
	 	    left: 12.1%;
	 }
}
@media only screen and (max-width: 1520px) {
	.welcome-inner::after {
		width: 240px;
	}
}
@media only screen and (max-width: 1440px) {
	.welcome-inner::after {
		/* top: 26%; */
		width: 196px;
	}
	.welcome-inner::before {
		top: 23%;
		left: 13%;
	}

	.Communities-wrapper::after {
		width: 367px;
	}

	.Communities-wrapper::before {
		left: 25%;
	}

	.testimonials-wrapper::after {
		width: 500px;
	}

	.testimonials-wrapper::before {
		right: 16.6%;
	}

	.blog-inner::after {
		width: 217px;
	}

	.blog-inner::before {
		left: 14.1%;
	}

	#nav .sub-menu {
		padding-top: 56px;
	}
}
/*end of mac device*/
/*for title and header purpose*/
@media only screen and (max-width: 1366px) {
	.slideshows-smi {
		margin-top: 128px;
	}

	.slideshow-smi {
		top: 67%;
	}

	.slideshow-address::after {
		top: 76px;
		height: 89px;
	}

	.Communities-wrapper::after {
		/* width: 326px; */
		width: 310px;
	}

	.Communities-wrapper::before {
		left: 22%;
	}

	.welcome-inner::after {
		/* top: 26%; */
	    width: 115px;	
	}

	.welcome-inner::before {
		top: 23%;
	    /* left: 12%;	 */
	    left: 10.5%;	
	}

	.testimonials-wrapper::after {
		width: 450px;
	}

	.testimonials-wrapper::before {
		/* right: 15.6%; */
		right: 13.6%;
	}

	.blog-inner::after {
		/* width: 212px; */
		width: 170px;
	}

	.blog-inner::before {
		/* left: 14.1%; */
		left: 11.1%;
	}


	#nav .sub-menu {
		padding-top: 37px;
	}

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

	#nav li {
		margin-right: 18px;
	}

	#nav > li > a {
		font-size: 14px;
	}

	.header-bottom {
		padding-top: 16px;
	}

	.header-right-logo img {
		max-width: 77px;
	}

	header.header {
		padding: 33px 20px;
	}

	header.header.black .header-logo img {
		max-width: 288px;
	}

	header.header.black .header-right-logo img {
		max-width: 74px;
	}

	.welcome-title h1 {
		font-size: 52px;
	}

	.qs-form-wrapper {
	    padding: 0 34px;
	}
	.sidebar-qs .qs-form-wrapper{
		padding: 0;
	}
	.sidebar-qs .qs-form-wrapper .bootstrap-select.btn-group .dropdown-menu{
		min-width: 200px;
	}
	.slideshow-smi-inner {
		padding: 17px 0 10px;
	}

	.slideshow-smi a {
		margin-bottom: 14px;
	}

	.slideshows-smi {
		margin-top: 101px;
	}

	.slideshow-address::after {
		height: 71px;
	}

	.slideshow-smi {
		top: 66%;
	}

	.welcome-inner::after {
		width: 180px;
	}

	.welcome-inner::before {
		left: 8%;
	}

	.Communities-wrapper::after {
		width: 185px;
	    top: 10.6%;	
	}

	.Communities-wrapper::before {
		left: 13%;
	    top: 8.6%;	
	}

	.welcome-inners {
		padding-right: 127px;
	}

	.testimonials-wrapper::after {
		width: 320px;
	}

	.testimonials-wrapper::before {
		right: 4.6%;
	}

	.blog-inner::after {
		width: 130px;
	}

	.blog-inner::before {
		left: 10.1%;
	}

	.ip-desc {
		font-size: 15px;
	}

	.ip-desc-hover {
		font-size: 10px;
	    line-height: 1.3;	
	}


#nav .sub-menu {
    padding-top: 32px;
}


} 

@media only screen and (max-width: 1080px) {
	.welcome-inner::after {
		width: 100px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	body .row.qs-add-search .col-md-4 {
		padding: 4px 0 0px 0px;
	}
	header.header {
		position: relative;
		margin-top: 52px !important;
		text-align: center;
	}
	.header-holder{
		flex-direction: column;
	}
	.header-right {
		display: none;
	}

	header.header::after {
		display: none;
	}

	.header-left {
		width: 100%;
		margin: 0;
	}

	.header-logo a {
		display: inline-block;
		vertical-align: middle;
		margin: 0 10px;
	}
	.header-logo img {
		max-width: 300px;
		width: 100%;
		margin: 0 auto;
	}

	.slideshow-smi {
		display: none;
	}

	.quick-search-wrapper {
		position: relative;
		bottom: 0 !important;
	    background: #5a7617;	
	    padding: 20px 0;
	}

	.qs-form-wrapper {
		max-width: 550px;
		margin: 0 auto;
	}

	.qs-long {
		width: 100%;
		padding: 0;
		padding-bottom: 4px;
	}

	.qs-short {
		width: 50%;
		padding: 0;
		padding-bottom: 4px;	
	}

	.qs-sub {
	    padding: 0;
	    width: 100%;
	}

	.qs-left { padding-right: 2px; }
	.qs-right { padding-left: 2px; }

	.cta-inner a {
		max-width: 400px;
		margin: 0 auto;
		margin-bottom: 20px;
	} 

	.welcome-inners {
		text-align: center;
		padding-left: 70px;
    	padding-right: 70px;
	}

	.welcome-desc{
		margin: 29px auto;
	}

	.welcome-btn a {
		margin: 0 auto;
	}

	.welcome-holder .row {
		display: block;
	}

	.hp-slideshow::after {
		display: none;
	}
	.welcome-left{
		max-width: 100%;
	}
	.welcome-right {
		margin: 0;
		margin-top: 30px !important;
	}

	.welcome-right img {
	    max-width: 428px;
	    margin: 0 auto;
	}

	.communities-inner a {
		max-width: 500px;
		margin: 0 auto;
	    padding-bottom: 20px;	
	}

	section.testimonials-wrapper {
		padding: 100px 30px 105px;
	}

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

	.footer-logo img {
	    margin: 0 auto;
	}

	.com-left{ margin: 0 !important; }
	.com-right{ margin: 0 !important; }

	.welcome-inner::before, 
	.welcome-holder::before,
	.Communities-wrapper::after,
	.Communities-wrapper::before,
	.testimonials-wrapper::after,
	.testimonials-wrapper::before,
	.welcome-inner::after,
	.blog-inner::after,
	.blog-inner::before{ 
		display: none;
	}

	.footer-right {
		margin-top: 40px;
	}

	.footer-form {
		margin: 0 auto;
		padding: 0;
	}

	.footer-form-title {
		text-align: center;
	}

	.footer-smi a:last-child {
		padding: 0 !important
	}

	.footer-nav ul#menu-mainmenu {
		text-align: center;
	}

	.footer-bottom-right {
		text-align: center;
		width: 100%;
		float: none;
		margin-top: 20px;
	}

	.copyright{
		text-align: center;
	}

	.footernav > li:last-child {
		padding: 0;
	}

	.footer-bottom-left {
		display: block;
	}

	.blog-global {
		margin: 0 auto;
	}

	.header-right-logo {
		display: none;
	}

	.ip-com-item {
		max-width: 400px;
		margin: 0 auto;
		margin-bottom: 10px;
	}

	.ip-desc {
		font-size: 21px;
	}

	.ip-desc-hover {
		font-size: 17px;
	}
	/* 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%;
	}
	.qs-sub input.btnsubmit{
		background: #364e00;
	}
	#ihf-advsearch-features .field-label{
		padding-left: 0;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.header-logo .textwidget {
		display: flex;
		align-items: center;
		justify-content: center;
	}
    .ip-banner .container{
        width: 100%;
    }

    .welcome-inners {
    	padding-right: 40px;
        padding-left: 40px;	
    }

    .welcome-title h1 {
    	font-size: 43px;
    }

    .comu-title {
    	font-size: 30px;
        padding: 30px 0;	
    }

    .blog-title {
    	text-align: center;
    	padding: 0;
    	display: block;
    }

    .blog-date-title {
		display: block;
		margin: 0 auto;
    }

    .blog-global-holder {
		text-align: center;
		padding: 30px 30px;
    }

    .footernav > li {
    	padding-right: 14px;
    }

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	/* .header-logo img {
		max-width: 140px;
	} */

	.qs-title span {
		font-size: 26px;
	}

	.qs-form-wrapper {
		padding: 0 !important;
	}

	.welcome-inners{
		padding-right: 10px;
		padding-left: 10px;
	}

	.welcome-title h1 {
	    font-size: 32px;
	}

	.welcome-right img {
	    max-width: 250px;
	}

	.comu-title {
		font-size: 20px;
	}

	.com-desc-para {
		font-size: 10px;
		padding: 0 5px;
	}

	.testi-title {
		font-size: 40px;
	}

	.testi-desc {
	    margin-top: 30px;
	}

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

	.ip-desc-hover {
		font-size: 14px;
		line-height: 1.3;
	} 
	#ihf-advsearch-features .field-label{
		font-size: 11px;
	}
	#ihf-main-container .btn-group>.btn-group{
		float:right;
	}
	.page-id-31 #inner-page-wrapper .ai-contact-wrap span.content-title {
		font-size: 16px;
	}
}
 

@media print{
    header.header,
    .ip-banner,
    aside.sidebar,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    p#breadcrumbs,
    h1.entry-title,
    div#ihf-leadcapture-btns,
    .entry.entry-content > a,
    footer.footer,
    .footer-img,
    footer .foo-phone,
    footer .foo-email,
    .extra-link.ihf-virtual-tour-link{

        display: none;
    }
    .wrapper{
        min-width: 900px;
    }
    #content .entry-title, #content .archive-title, #ihf-main-container .mb-10{
        font-size: 30px;
        padding-bottom: 0px!important;
        margin-bottom: 0px!important;
    }

     div#inner-page-wrapper{
        padding-top: 0px!important;
    }


	.col-xs-5.ihf-listing-number{
    	font-size: 14px!important;
    	line-height: 1!important;
    	
  }

  #ihf-main-container .property-main-detail-item{
  	 font-size: 16px;
  	line-height: 1!important;
  }

}