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

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

	/* sidemenu */
	.side-menu .side-menu-nav {
		padding-top: 70px;
	}

	.side-menu #nav > li {
		margin-bottom: 40px;
	}
	/* end sidemenu */

	/* hp home */
	.hp-home .home-logo img {
		max-width: 280px;
	}

	.hp-home .home-smi {
		margin-top: 10px;
	}
	
	.hp-home .home-smi a {
		width: 38px;
		height: 38px;
	}

	.hp-home .home-smi a i {
		font-size: 17px;
	}

	.hp-home .home-smi i[class*="youtube"] {
		font-size: 20px;
	}

	.hp-home .home-smi i[class*="google-plus"] {
		font-size: 22px;
	}

	.hp-home .home-smi i[class*="instagram"] {
		font-size: 21px;
	}
	/* end hp home */

	/* hp welcome */
	.hp-wc h1 {
		font-size: 47px;
	}

	.hp-wc h1 span {
		font-size: 17px;
		letter-spacing: 6px;
	}

	.hp-wc p {
		font-size: 16px;
		line-height: 26px;
		max-width: 854px;
		margin-bottom: 27px;
	}
	/* end hp welcome */

	/* hp cta */
	/* .hp-cta .cta-item {
		max-width: 430px;
	}

	.hp-cta .cta-item a {
		height: 340px;
	} */

	.hp-cta .cta-item {
		max-width: 410px;
	}

	.hp-cta .cta-hdr {
		font-size: 18px;
		letter-spacing: 1px;
		margin-top: 44px;
	}

	.hp-cta .cta-item a {
		padding: 14% 12% 7.7%;
	}

	.hp-cta .cta-a .cta-img::before {
		top: -9%;
	}

	.hp-cta .cta-line {
		top: -19px;
	}

	.hp-cta .cta-b .cta-img::before {
		height: calc(100% - 99px);
		left: -7%;
	}
	/* end hp cta */

	/* hp quick search */
	.hp-qs .qs-title {
		font-size: 48px;
		letter-spacing: 1px;
	}

	.hp-qs .qs-title span {
		font-size: 16px;
		letter-spacing: 3px;
		margin-bottom: 6px;
	}

	.hp-qs .qs-form {
		max-width: 362px;
		margin-top: 27px;
	}

	.hp-qs .qs-img-holder {
		max-width: 235px;
	}

	.hp-qs .qs-img-holder::before, 
	.hp-qs .qs-img-holder::after {
		width: calc(100% - 10px);
		height: calc(100% - 77px);
	}

	.hp-qs .qs-field input, 
	.hp-qs .qs-field select,
	.hp-qs .qs-btn {
		height: 34px;
		font-size: 11px;
	}

	.hp-qs .qs-left {
		margin-left: 22%;
		margin-top: 36px;
	}

	.hp-qs .qs-img-holder {
		margin-right: 123px;
	}
	/* end  hp quick search */

	/* hp featured properties */
	.hp-fp .fp-slider-wrap {
		max-width: 674px;
		margin-left: 11%;
	}

	.hp-fp .fp-details .fp-price {
		font-size: 18px;
	}

	.hp-fp .fp-details .fp-address {
		font-size: 12px;
		line-height: 15px;
		max-width: 172px;
		margin-top: 10px;
	}

	.hp-fp .fp-details .fp-bed, 
	.hp-fp .fp-details .fp-bath {
		font-size: 12px;
	}

	.hp-fp .fp-details .fp-bed::before {
		top: 1px;
		height: 9px;
	}

	.hp-fp .fp-details .fp-link-item {
		width: 122px;
		height: 37px;
		display: block;
		margin: 10px auto 0;
	}

	.hp-fp .fp-details .fp-link-item em {
		font-size: 11px;
	}

	.hp-fp .slick-arrow {
		width: 74px;
		height: 74px;
	}

	.hp-fp .slick-arrow.slick-prev {
		left: 215px;
		top: 181px;
	}

	.hp-fp .slick-arrow.slick-next {
		right: 215px;
		bottom: 77px;
	}

	.hp-fp .fp-title {
		font-size: 50px;
		letter-spacing: 3px;
	}

	.hp-fp .fp-title span {
		font-size: 18px;
		letter-spacing: 4px;
		margin-bottom: 5px;
	}

	.hp-fp .fp-inner-content p {
		font-size: 13px;
		line-height: 23px;
		max-width: 329px;
	}

	.hp-fp .fp-view-all {
		width: 194px;
		height: 43px;
	}

	.hp-fp .fp-view-all span {
		font-size: 12px;
	}

	.hp-fp .fp-inner-content {
		padding-left: 33%;
	}
	/* end hp featured properties */

	/* hp about */
	.hp-about .about-title {
		font-size: 48px;
		letter-spacing: 2.3px;
	}

	.hp-about .about-title span {
		font-size: 16px;
		letter-spacing: 4px;
		margin-bottom: 6px;
	}

	.hp-about .about-text p {
		font-size: 13px;
		line-height: 21px;
		max-width: 312px;
	}

	.hp-about .about-text li:first-child {
		margin-right: 1%;
	}

	.hp-about .about-read-more {
		width: 132px;
		height: 39px;
		margin-top: 20px;
	}

	.hp-about .about-read-more span {
		font-size: 12px;
	}

	.hp-about .about-gallery {
		margin-top: 22px;
		max-width: 673px;
	}

	.hp-about .about-thumb-nail {
		margin-right: 5px;
	}

	.hp-about .about-inner {
		margin-top: 12px;
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-slider-wrap {
		margin: 0;
	}

	.hp-fc .fc-item .fc-name {
		font-size: 16px;
	}

	.hp-fc .fc-title {
		font-size: 38px;
		letter-spacing: 2.3px;
	}

	.hp-fc .fc-title span {
		font-size: 15px;
		margin-bottom: 3px;
	}

	.hp-fc .fc-slider-wrap {
		margin: 0 50px;
	}

	.hp-fc .fc-item a::before {
		bottom: -19px;
		left: -18px;
	}
	/* end hp featured communities */

	/* hp testimonials */
	.hp-testi .testi-title {
		font-size: 46px;
		letter-spacing: 2px;
	}

	.hp-testi .testi-title span {
		font-size: 16px;
		letter-spacing: 5px;
		margin-bottom: 5px;
	}

	.hp-testi .testi-quote {
		width: 9.11%;
	}

	.hp-testi .testi-item-text p {
		font-size: 14px;
		line-height: 22px;
	}

	.hp-testi .testi-preview-text p {
		font-size: 12px;
		line-height: 14px;
	}

	/* .hp-testi .testi-preview-img {
		width: 67px;
		height: 67px;
	} */

	.hp-testi .slick-current.slick-active + .slick-active p {
		font-size: 14px;
		line-height: 15px;
	}

	.hp-testi .testi-preview .slick-list {
		padding-top: 0;
		padding-bottom: 40px;
	}

	.hp-testi .testi-preview {
		padding-right: 12%;
		padding-left: 6%;
	}


	.hp-testi .testi-item-text {
		width: 80.89%;
	}

	.hp-testi .testi-main-wrap {
		margin-left: 15%;
	}

	.hp-testi .testi-slider-wrap {
		padding-right: 9%;
	}

	.hp-testi .slick-current.slick-active + .slick-active .testi-preview-img img {
		max-width: 40px;
	}

	.hp-testi .slick-current.slick-active + .slick-active .testi-preview-img {
		left: 4px;
	}

	.hp-testi .testi-preview-item a {
		min-height: 57px;
	}

	.hp-testi .slick-current.slick-active + .slick-active a {
		min-height: 75px;
	}
	/* end hp testimonials */

	/* hp contact */
	.hp-cntct .cntct-logo img {
		max-width: 171px;
	}

	/* .hp-cntct .cntct-photo-wrap {
		width: 36.66%;
	} */

	.hp-cntct .cntct-form-wrap {
		padding-top: 53px;
		padding-bottom: 60px;
	}

	.hp-cntct .cntct-agent h2 {
		font-size: 21px;
		margin-bottom: 3px !important;
	}

	.hp-cntct .cntct-agent p {
		font-size: 17px;
	}

	.hp-cntct .cntct-agent-info span {
		font-size: 15px;
	}

	.hp-cntct .cntct-photo-wrap img {
		max-width: 250px;
	}

	.hp-cntct .cntct-form-wrap h2 {
		font-size: 30px;
		letter-spacing: 2px;
	}

	/* .hp-cntct .cntct-lt-col:last-child {
		width: 42.33%;
	} */

	.hp-cntct .cntct-form .cntct-field > span input, 
	.hp-cntct .cntct-form .cntct-field > span textarea {
		height: 43px;
		font-size: 12px;
	}

	.hp-cntct .cntct-form .cntct-field {
		margin-bottom: 8px;
	}

	.hp-cntct .cntct-info-wrap {
		padding-left: 20%;
	}
	/* end hp contact */

	.hp-testi .testi-preview .slick-track {
		margin-top: 0;
	}

	.hp-testi .testi-slider-wrap {
		margin-top: 35px;
	}

	.hp-cntct .cntct-photo-wrap canvas {
		max-height: 395px;
	}

	.onepage-pagination {
		bottom: 48px;
	}

	/*.onepage-pagination li a {
		width: 12px !important;
		height: 12px !important;
	}
*/
	/*.onepage-pagination li a::before, .onepage-pagination li a.active::before {
		width: 5px !important;
		height: 5px !important;
	}*/

	.onepage-pagination li a::after {
		font-size: 12px;
	}

	footer.main-ftr .ftr-bottom {
		padding: 11px 30px;
	}

	#ihf-main-container .ihf-grid-result-container span.ihf-grid-result-address{
		display: block;
	}
 }

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.qs-form .btn-group ul.dropdown-menu {
	    max-height: 100px !important;
	}
	.hp-cntct div.wpcf7-response-output {
		bottom: -34px;
		margin: 0;
		font-size: 10px;
	}

	header.main-hdr .hdr-right {		
		padding-top: 6px;
	}

	.qs-form .qs-field .qs-select .dropdown-menu {
	    right: 0;
	    left: auto;
	}
    
    .hp-fc .fc-item .fc-name {
        font-size: 14px;
    }

    .hp-fc .fc-img::after {
        top: 15px;
        left: 15px;
        width: calc(100% - 30px);
        height: calc(100% - 30px);
	}
	
	header.main-hdr .hdr-translate .translator-dropdown {
		top: calc(100% + 33px);
	}
} 

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

	/* main header */
	header.main-hdr .contact-item {
		font-size: 16px;
	}

	header.main-hdr .hdr-phone {
		font-size: 18px;
	}

	header.main-hdr {
		padding: 30px 45px;
	}
	/* end main header */

	/* side menu */
	.side-menu .side-menu-top {
		padding-top: 30px;
	}
	/* end side menu */

	/* hp home */
	.hp-home .cta-home-item span {
		font-size: 12px;
	}

	.hp-home .cta-home-item a {
		height: 44px;
	}

	.hp-home .cta-home-item {
		max-width: 197px;
	}
	/* end hp home */

	/* hp quick search */
	.hp-qs .qs-left {
		margin-left: 12%;
	}

	.hp-qs .qs-img-holder {
		margin-right: 0;
	}
	/* end hp quick search */

	/* hp about */
	.hp-about .about-text p {
		font-size: 11px;
		line-height: 18px;
	}

	.hp-about .about-text li:first-child {
		margin-right: 3%;
		max-width: 264px;
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-slider-wrap {
		margin: 0 10px;
	}

	.hp-fc .fc-item a::before {
		bottom: -16px;
		left: -15px;
		width: calc(100% - 110px);
		height: calc(100% - 43px);
	}
	/* end hp featured communities */

	/* hp testimonials */
	.hp-testi .testi-preview {
		padding-right: 7%;
		padding-left: 0;
	}

	.hp-testi .testi-main-wrap {
		margin-left: 5%;
	}

	.hp-testi .testi-item-text p {
		font-size: 12px;
		line-height: 20px;
	}

	.hp-testi .testi-item-text {
		width: 77.89%;
	}
	/* end hp testimonials */

	/* hp contact */
	.hp-cntct .cntct-agent-info span {
		font-size: 13px;
	}

	.hp-cntct .cntct-form-wrap {
		padding-top: 30px;
		padding-bottom: 40px;
		margin-left: -36px;
	}

	.hp-cntct .cntct-photo-wrap img {
		max-width: 204px;
	}

	.hp-cntct .cntct-form .cntct-field > span input, 
	.hp-cntct .cntct-form .cntct-field > span textarea {
		height: 35px;
		font-size: 10px;
	}

	.hp-cntct .cntct-form .cntct-field:nth-child(4) {
		margin-top: 40px;
	}
	/* end hp contact */

	/* end footer */

	/* ip header */
	header.ip-hdr #nav2 li a {
		font-size: 10px;
	}

	header.ip-hdr #nav2 > li {
		margin-left: 5px;
	}
	/* end ip header */

	/* ip quick search */
	.ip-qs .qs-title {
		font-size: 25px;
	}

	.ip-qs .qs-field input, 
	.ip-qs .qs-field select {
		font-size: 11px;
		padding: 0 12px;
	}
	/* end ip quick search */

	/* ip cta */
	.ip-cta .cta-item span {
		font-size: 13px;
	}
	/* end ip cta */

	/* ip contact form */
	.ip-cntct-form {
		padding: 30px 17px;
	}

	.ip-cntct-form h2 {
		font-size: 24px;
	}
	/* end ip contact */

	/* ip smi */
	.ip-smi a {
		margin-right: 3px;
	}
	/* end ip smi */

	/* ip footer */
	.ip-container footer.main-ftr .ftr-bottom{
		padding: 15px 40px;
	}
	/* end ip footer */


	/* main header */
	header.main-hdr .contact-item {
		font-size: 13px;
		margin-right: 13px;
	}

	header.main-hdr .hdr-phone {
		font-size: 14px;
	}

	header.main-hdr {
		padding: 30px 45px;
	}

	header.main-hdr .gTranslator-dropdown::before {
		font-size: 13px;
	}

	header.main-hdr .hdr-translate {
		margin-left: 2.5%;
	}

	header.main-hdr .translator-dropdown ul li .translator-name {
		font-size: 13px;
	}
	
	header.main-hdr .translator-dropdown ul li {
		height: 23px;
	}
	/* end main header */

	/* side menu */
	.side-menu .side-menu-top {
		padding-top: 30px;
	}
	/* end side menu */

	/* hp home */
	.hp-home .cta-home-item span {
		font-size: 12px;
	}

	.hp-home .cta-home-item a {
		height: 44px;
	}

	.hp-home .cta-home-item {
		max-width: 197px;
	}
	/* end hp home */

	/* hp quick search */
	.hp-qs .qs-left {
		margin-left: 12%;
	}

	.hp-qs .qs-img-holder {
		margin-right: 0;
	}

	.hp-fp .slick-arrow.slick-prev {
		left: 165px;
    	top: 138px;
	}

	.hp-fp .slick-arrow.slick-next {
		right: 165px;
    	bottom: 77px;
	}
	/* end hp quick search */

	/* hp about */
	.hp-about .about-text p {
		font-size: 11px;
		line-height: 18px;
	}

	.hp-about .about-text li:first-child {
		margin-right: 3%;
		max-width: 264px;
	}

	.hp-about .agent-photo {
		height: calc(100% - 135px);
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-slider-wrap {
		margin: 0 10px;
	}

	.hp-fc .fc-item a::before {
		bottom: -16px;
		left: -15px;
		width: calc(100% - 110px);
		height: calc(100% - 43px);
	}
	/* end hp featured communities */

	/* hp testimonials */
	.hp-testi .testi-preview {
		padding-right: 7%;
		padding-left: 0;
	}

	.hp-testi .testi-main-wrap {
		margin-left: 5%;
	}

	.hp-testi .testi-item-text p {
		font-size: 12px;
		line-height: 20px;
	}

	.hp-testi .testi-item-text {
		width: 77.89%;
	}
	/* end hp testimonials */

	/* hp contact */
	.hp-cntct .cntct-agent-info span {
		font-size: 13px;
	}

	.hp-cntct .cntct-form-wrap {
		padding-top: 30px;
		padding-bottom: 40px;
		margin-left: -36px;
	}

	.hp-cntct .cntct-photo-wrap img {
		max-width: 204px;
	}

	.hp-cntct .cntct-form .cntct-field > span input, 
	.hp-cntct .cntct-form .cntct-field > span textarea {
		height: 35px;
		font-size: 10px;
	}

	.hp-cntct .cntct-form .cntct-field:nth-child(4) {
		margin-top: 40px;
	}
	/* end hp contact */

	/* ip header */
	header.ip-hdr #nav2 li a {
		font-size: 10px;
	}

	header.ip-hdr #nav2 > li {
		margin-left: 5px;
	}
	/* end ip header */

	/* ip quick search */
	.ip-qs .qs-title {
		font-size: 25px;
	}

	.ip-qs .qs-field input, 
	.ip-qs .qs-field select {
		font-size: 11px;
		padding: 0 12px;
	}
	/* end ip quick search */

	/* ip cta */
	.ip-cta .cta-item span {
		font-size: 13px;
	}
	/* end ip cta */

	/* ip contact form */
	.ip-cntct-form {
		padding: 30px 17px;
	}

	.ip-cntct-form h2 {
		font-size: 24px;
	}
	/* end ip contact */

	/* ip smi */
	.ip-smi a {
		margin-right: 3px;
	}
	/* end ip smi */

	/* ip footer */
	.ip-container footer.main-ftr .ftr-bottom{
		padding: 15px 40px;
	}

	footer.main-ftr .ip-ftr-form .cntct-photo-wrap img {
		max-width: 218px;
	}

	footer.main-ftr .ip-ftr-form .cntct-form-wrap {
		padding: 35px 30px 41px;
	}

	footer.main-ftr .ip-ftr-form .cntct-form .cntct-field:nth-child(4) {
		margin-top: 34px;
	}

	footer.main-ftr .ip-ftr-form .cntct-form .cntct-field > span input,
	 footer.main-ftr .ip-ftr-form .cntct-form .cntct-field > span textarea {
		height: 43px;
	}
	/* end ip footer */
	
	.hp-testi .testi-preview .slick-list {
		padding-right: 10px;
	}

	.hp-testi .slick-active.testi-preview-item {
		padding-left: 60px;
	}
	#ihf-main-container #ihf-main-search-form .chosen-container ul.chosen-results {
	    max-height: 100px !important;
	}

    footer.main-ftr .ip-ftr-form .cntct-form-wrap h2 {
        font-size: 24px;
	}
	footer.main-ftr .ip-ftr-form div.wpcf7-response-output {
		bottom: -41px;
		font-size: 10px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	/* 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%;
	}
	.sidebar {
	    margin-top: 37px !important;
	}
	#content-sidebar #content{
		width: 100%;
	}

	html, body {
		height: auto !important;
		min-height: unset !important;
		overflow: auto !important;
	}

	/* ip header */
	header.ip-hdr .ip-nav {
		display: none;
	}

	header.ip-hdr {
		position: relative;
		text-align: center;
		padding: 65px 0 20px;
	}

	.hp-fp .fp-view-all {
		margin-bottom: 11px;
	}

	header.ip-hdr .ip-hdr-logo img {
		margin: 0 auto;
		max-width: 150px;
	}
	/* end ip header */

	/* ip footer */
	footer.main-ftr {
		position: relative;
		text-align: center;
	}

	footer.main-ftr .ftr-brokerage {
		text-align: center;
		margin-top: 15px;
	}

	footer.main-ftr .ftr-copyright p {
		line-height: 20px;
	}
	/* end ip footer */

	#content .entry-title, 
	#content .archive-title {
		font-size: 33px;
	}

	/* main header */
	header.main-hdr {
		padding: 65px 0 15px;
	}

	header.main-hdr .hdr-contact, header.main-hdr .hdr-left {
		display: none;
	}

	header.main-hdr .hdr-right {
		text-align: center;
	}

	header.main-hdr .hdr-translate {
		margin-left: 0;
	}

	header.main-hdr .hdr-translate .translator-dropdown {
		right: unset;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		top: calc(100% + 16px);
	}
	/* end main header */

	/* hp main */
	.hp-main {
		position: relative;
		height: auto !important;
		min-height: unset !important;
	}
	/* end hp main */

	/* hp home */
	.hp-home .home-explore {
		display: none;
	}

	.hp-home .g-section-wrapper {
	    padding: 120px 0 60px;
	    margin-top: 52px;
	}
	/* end hp home */

	/* hp welcome */
	.hp-wc .g-section-wrapper {
		padding: 80px 0;
	}

	.hp-wc .wc-content {
		text-align: center;
	}
	/* end hp welcome */

	/* hp cta */
	.hp-cta .cta-item {
		display: block;
		margin: 30px auto 0;
	}

	.hp-cta .g-section-wrapper {
		padding: 40px 0 70px;
	}
	/* end hp cta */

	/* hp quick search */
	.hp-qs .qs-left {
		margin-left: 0;
	}

	.hp-qs .qs-form {
		margin: 0 auto;
	}

	.hp-qs .qs-title {
		text-align: center;
		margin-bottom: 40px;
	}

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

	.hp-qs .qs-img-holder {
		margin-left: 25%;
	}

	.hp-qs .g-section-wrapper {
		padding: 50px 0 95px;
	}

	.hp-qs .qs-adv {
		margin-top: 9px;
	}

	.hp-qs .qs-btn {
		display: block;
		width: 100%;
		float: none !important;
	}
	/* end hp quick search */

	/* hp featured properties */
	.hp-fp .fp-inner-content {
		padding-left: 0;
	}

	.hp-fp .fp-inner-content {
		padding-left: 0;
		text-align: center;
		margin-right: 0;
	}

	.hp-fp .fp-inner-content p {
		margin: 0 auto;
		margin-top: 40px;
	}

	.hp-fp .fp-item:nth-child(1) {
		display: inline-block;
	}

	.hp-fp .fp-item:last-child {
		margin-top: 0;
	}

	.hp-fp .fp-item {
		width: 50%;
	}

	.hp-fp .fp-slider-wrap {
		margin: 0 auto;
		max-width: 602px;
	}

	.hp-fp .slick-arrow {
		position: relative;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
	}

	.hp-fp .fp-details .fp-link-item {
		display: block;
		margin: 15px auto 0;
	}

	.hp-fp .slick-arrow.slick-prev {
		margin-right: 4px;
	}

	.hp-fp .g-section-wrapper {
		padding: 40px 0;
	}
	/* end hp featured properties */

	/* hp about */
	.hp-about .agent-photo {
		display: none;
	}

	.hp-about .agent-photo-mob {
		display: block;
	}

	.hp-about .about-inner {
		text-align: center;
	}

	.hp-about .agent-photo-mob {
		display: block;
		position: relative;
		top: 0;
		left: 0;
		margin: 25px auto;
		height: auto;
		width: 100%;
		max-width: 295px;
	}

	.hp-about .about-text li {
		display: block;
		margin: 0 auto !important;
	}

	.hp-about .about-text li:first-child {
		max-width: unset;
		margin-bottom: 10px !IMPORTANT;
	}

	.hp-about .about-text p {
		max-width: unset;
	}

	.hp-about .about-gallery {
		margin: 30px auto;
	}

	.hp-about .g-section-wrapper {
		padding: 50px 0 30px;
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-slider-wrap {
		margin: 0 80px;
	}

	.hp-fc .slick-arrow.slick-prev {
		left: -6.1%;
	}

	.hp-fc .slick-arrow.slick-next {
		right: -3.3%;
	}

	.hp-fc .g-section-wrapper {
		padding: 40px 0 30px;
	}
	/* end hp featured communities */

	/* hp testimonials */
	.hp-testi .g-section-wrapper::after {
		display: none;
	}

	.hp-testi .g-section-wrapper::before {
		right: 0;
	}

	.hp-testi .testi-main-wrap {
		margin-left: 0;
		text-align: center;
	}

	.hp-testi .testi-slider-wrap {
		padding-right: 0;
		margin: 50px auto;
	}

	.hp-testi .testi-quote {
		display: block;
		margin: 3px auto;
	}

	.hp-testi .testi-client-name {
		display: block;
		margin: 0 auto;
	}

	.hp-testi .testi-client-img {
		margin-bottom: 10px;
	}

	.hp-testi .testi-preview {
		padding-right: 0;
		margin: 30px auto;
		max-width: 400px;
	}

	.hp-testi .g-section-wrapper {
		padding: 50px 0 5px;
	}
	/* end hp testimonials */

	/* hp contact */
	.hp-cntct .cntct-info-wrap {
		padding-left: 0;
		text-align: center;
	}

	.hp-cntct .cnct-smi {
		padding-left: 0;
	}

	.hp-cntct .cntct-agent-info {
		text-align: left;
		display: inline-block;
	}

	.hp-cntct .cntct-lt-col {
		display: block;
		margin: 0 auto;
	}

	.hp-cntct .cntct-lt-wrap {
		margin-top: 30px;
	}

	.hp-cntct .cntct-form-wrap {
		margin-left: 0;
		padding: 47px 36px;
		text-align: center;
		margin-top: 10px;
	}

	.hp-cntct .g-section-wrapper {
		padding: 50px 0 30px;
	}
	/* end hp contact */

	.g-section-content {
		display: block;
	}

	.ip-hdr .ip-hdr-translate {
		text-align: center;
	}

	.ip-hdr .ip-hdr-translate .translator-dropdown {
		left: 50%;
		right: unset;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	footer.main-ftr .cntct-lt-wrap {
   		margin-left: 0;
	}

	footer.main-ftr .ip-ftr-form .cntct-lt-col {
		display: block;
		margin: 0 auto;
	}

	footer.main-ftr .ip-ftr-form .cntct-photo-wrap {
		max-width: 249px;
		width: 100%;
	}

	footer.main-ftr .ip-ftr-form .cntct-form-wrap {
		margin-left: 0;
		padding: 43px 36px;
		text-align: center;
		margin-top: 15px;
	}
	footer.main-ftr .ip-ftr-form div.wpcf7-response-output {
		bottom: -50px;
		font-size: 12px;
	}

	footer.main-ftr .ip-ftr-form .cntct-lt-col:last-child {
		width: 100%;
		max-width: 80%;
	}

	.page-id-23 #content .entry {
	    text-align: center;
	} 
    
    .hp-cntct .cntct-form-wrap {
        margin-right: 0;
    }
	.hp-fc .fc-item .fc-name{
		font-size: 16px;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
	}
	
	/* hp home */
	.hp-home .cta-home-item {
		display: block;
		margin: 5px auto;
	}
	/* end hp home */

	/* hp welcome */
	/* .hp-wc h1 {
		font-size: 32px;
		letter-spacing: 2px;
	}

	.hp-wc h1 span {
		font-size: 15px;
		letter-spacing: 4px;
		margin-bottom: 6px;
	} */
	/* end hp welcome */

	/* hp quick search */
	.hp-qs .qs-img-holder {
		margin-left: 201px;
	}

	.hp-qs .qs-img-holder::after {
		top: 28.6%;
	}
	/* end hp quick search */

	/* hp about */
	.hp-about .about-text p {
		font-size: 13px;
		line-height: 18px;
	}

	.hp-about .about-text li {
		width: 100% !important;
		max-width: unset;
	}

	.hp-about .about-thumb-nail {
		margin-right: 0;
		display: block;
		margin: 7px auto;
		width: 100%;
		max-width: 181px;
	}

	.hp-about .about-thumb-nail:last-child {
		margin: 0 auto;
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-slider-wrap {
		margin: 0 auto;
	}

	.hp-fc .fc-slider-wrap {
		margin: 0 auto;
		max-width: 300px;
	}

	.hp-fc .slick-arrow.slick-prev {
		left: -11.1%;
	}

	.hp-fc .slick-arrow.slick-next {
		right: -8.3%;
	}
	/* end hp featured communities */

	/* hp contact */
	.hp-cntct .cntct-lt-col {
		width: 100% !important;
        max-width: 500px !important;
	}

	.hp-cntct .cntct-photo-wrap {
		max-width: 257px;
	}

	.hp-cntct .cntct-photo-wrap img {
		max-width: 226px;
	}

	.hp-cntct .cntct-lt-col:last-child {
		width: 100%;
		max-width: 365px;
	}
	#content .entry-title, #content .archive-title {
	    font-size: 21px !important;
	    line-height: 1.4 !important;
	}

	#ihf-main-container .ihf-grid-result-container span.ihf-grid-result-address {
	    display: block;
	}
	/* end hp conatact */
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

	footer.main-ftr .ip-ftr-form .cntct-lt-col,
	footer.main-ftr .ip-ftr-form .cntct-lt-col:last-child{
		width: 100%;
		max-width: 320px;
	}

	footer.main-ftr .ip-ftr-form .cntct-form-wrap {
	    padding: 50px 20px;
	}

	/* hp home */
	.hp-home .home-logo img {
		max-width: 200px;
	}

	div#ui-datepicker-div {
		left: 17px !important;
		max-width: 276px !important;
		width: 100% !important;
	}

	.hp-home .g-section-wrapper {
		padding: 120px 0 30px;
	}

	#content .entry-title, #content .archive-title {
	    font-size: 21px !important;
	    line-height: 1.4 !important;
	}
	
	/* end hp home */

	/* hp welcome */
	.hp-wc h1 {
		font-size: 37px;
	}
	/* end hp welcome */
	
	/* hp cta */
	.hp-cta .cta-hdr {
		font-size: 14px;
		margin-top: 35px;
	}

	.hp-cta .cta-a .cta-img::before {
		width: calc(100% - 164px);
		height: calc(100% - 65px);
	}

	.hp-cta .cta-a .cta-img::after {
		width: calc(100% - 145px);
	}
	
	.hp-cta .cta-line,
	.hp-cta .cta-hdr::before {
		display: none;
	}

	.hp-cta .cta-hdr {
		text-align: center;
		right: 0 !important;
	}

	.hp-cta .cta-b .cta-img::before {
		height: calc(100% - 98px);
		left: -14px;
		width: calc(100% + 28px);
	}
	/* end hp cta */

	/* hp quick search */
	.hp-qs .qs-title {
		font-size: 35px;
	}
	

	.hp-qs .qs-img-holder::before, 
	.hp-qs .qs-img-holder::after {
		display: none;
	}

	.hp-qs .qs-img:nth-child(2) {
		top: 0;
		left: 0;
	}

	.hp-qs .qs-img {
		display: block;
		position: relative !important;
		margin-bottom: 10px;
	}

	.hp-qs .qs-img-holder {
		margin-left: 0;
		width: 100%;
		max-width: 233px;
	}
	/* end hp quick search */

	/* hp featured properties */
	.hp-fp .fp-title {
		font-size: 43px;
		letter-spacing: 1px;
	}
	/* end hp featured proeprties */

	/* hp about */
	.hp-about .about-title {
		font-size: 34px;
	}
	/* end hp about */

	/* hp featured communities */
	.hp-fc .fc-title {
		font-size: 33px;
	}
	/* end hp featured communities */

	/* hp testimonials */
	.hp-testi .testi-title {
		font-size: 33px;
	}

	.hp-testi .slick-current.slick-active + .slick-active p {
		font-size: 13px;
	}

	.hp-testi .testi-preview-item a {
		padding: 7px 10px;
		padding-left: 36px;
	}

	.hp-testi .slick-current.slick-active + .slick-active p {
		font-size: 13px;
	}

	.hp-testi .testi-preview .slick-list {
		padding: 0 20px 54px;
	}

	.hp-testi .testi-preview {
		max-width: 355px;
	}

	.hp-testi .slick-current.slick-active + .slick-active a {
		padding: 14px 7px;
		padding-left: 57px;
	}

	/* .hp-testi .testi-preview-item a {
		padding-left: 35px;
		padding: 7px 18px;
		padding-left: 35px;
	} */
	/* end hp testimonials */

	.hp-fp .fp-item {
		width: 100%;
		display: block;
		margin: 2px auto;
	}

	.hp-fp .fp-slider-wrap {
		max-width: 300px;
	}

	.hp-qs .qs-field.qs-sm {
		float: left;
	}

	.hp-qs .qs-field.qs-field-right {
		float: right;
	}

}
@media only screen and (max-width: 360px) {
	#ihf-main-container .pagination {
	    min-width: 160px;
	}

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


/** Smaller Screen Height */
@media only screen and (min-height: 400px) and (max-height: 680px) {
    .hp-wc h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .hp-wc h1 span {
        font-size: 14px;
    }
    
    .hp-wc p {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hp-qs .qs-left {
        margin-top: 16px;
    }
    
    .hp-qs .qs-right {
        margin: 60px auto 0;
        width: 400px;
        max-width: 100%;
    }
    
    .hp-testi .testi-title {
        font-size: 36px;
    }
    
    .hp-testi .testi-client-name {
        font-size: 16px;
    }
    
    .hp-testi .testi-client {
        margin-top: 12px;
    }
    
    .hp-testi .testi-preview-img img {
        max-width: 20px;
    }
    
    .hp-testi .slick-current.slick-active + .slick-active .testi-preview-img img {
        max-width: 30px;
    }
    
    .hp-testi .testi-preview-item a {
        padding: 15px 8px 15px 30px;
    }
    
    .hp-testi .g-section-inner {
        padding-top: 50px;
    }
    
    .hp-testi .testi-preview {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
    .hp-cntct .cntct-photo-wrap canvas {
		max-height: 350px;
	}
	.hp-about .about-inner,
	.hp-about .about-gallery,
	.hp-about .about-read-more {
		margin-top: 10px;
	}

	.hp-cta .cta-item a {
		padding: 37px 12% 20px;
	}
	.hp-cta .cta-hdr {
		margin-top: 33px;
	}
	.hp-fp .fp-inner-content {
		margin-top: 50px;
	}

	.fp-slider {
	    transform: scale(.9) translateZ(0);
	    transform-origin: center;
	}
    
}

@media print {
    .main-hdr,
    .ip-hdr,
    .main-ftr,
    .addtoany_content,
    .header-bg,
    .header-fixed.ease-transition,
    .aios-mobile-header-wrapper,
    .textwidget,
    .footer-wrapper,
    footer.footer-wrap,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default,
    .menu-main-navigation-container,
    .entry.entry-content>a,
    .footer-links,
    p#breadcrumbs
    {
        display: none !important;
    }
    #content{
        width: 100% !important;

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

    html {
    	height: auto !important;
    }
}	
 
