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

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

}

@media only screen and (max-height: 665px) {
	.hp-sec1-right {
		margin-right: -113px;
	}


	.contact-form {
	    margin-top: 14px;
	}

	.section-9 .pp-tableCell {
	    padding-top: 40px;
	}

	.contact-address .textwidget{
		margin-top: 25px;
	}

	.contact-nav {
		margin-top: 20px;
	}

	.copyright {
		margin-top: 20px;
	}
	
}

@media only screen and (max-height: 629px) {
	.hp-sec1-right {
		margin-right: -89px !important;
	}

	.hp-sec1-desc {
   		padding-top: 77px;
	}


	.safari-true .hp-welcome-right,
	.firefox-true .hp-welcome-right {
	    padding-bottom: 47px;
	}

	.welcome-title {
	    margin-bottom: 19px;
	}

	.hp-welcome-right {
		margin-top: 8px;
	}

	.section-6 .pp-tableCell {
	    padding-top: 128px;
	}

	.copyright {
		margin-top: 10px;
	}

}

@media only screen and (max-height: 600px) {
	.section-8 .pp-tableCell {
		padding-top: 25px;
	}

	.msedge-true .hp-slide-slick .hp-agent-know {
	    margin-top: 54px;
	}

	.contact-form {
		margin-top: 8px;
	}

	.contact-long {
		margin-top: 30px;
	}

	.float-mouse-click {
		margin-top: 92px;
	}

	.float-mouse-click::after {
	    bottom: 120%;
	    height: 77px;
	}

	.hp-welcome-right {
	    margin-top: 0;
	}

	.welcome-title {
	    margin-bottom: 4px;
	}

	.section-5 .pp-tableCell {
	    padding-top: 188px;
	}

	.gal-desc p {
	    line-height: 21px;
	}

	.menu-list {
		    padding-top: 82px;
	}

	.hp-slide-slick .hp-agent-know {
	    margin-top: 54px;
	}

	.hp-agent-know {
	    margin-top: 53px;
	}

	.welcome-wrap .row {
	    display: flex;
	    /* align-items: flex-end; */
	}

	.welcome-wrap .row:before {
		display: none;
	}

}

@media only screen and (max-width: 1440px) {
	.hp-sec1-right {
	    margin-left: -96px;
	    margin-right: -161px;
	}

	.pp-viewing-communities .section-label {
	    left: 3px;
	}

	.hp-section1-cta .container {
	    max-width: 1040px;
	    margin: 0 auto;
	}

	.hp-agent-know.welcome-btn {
	    margin-top: 19px !important;
	}

	.hp-slide-slick .hp-agent-know {
		    margin-top: 66px;
	}

	.hp-welcome-vid-git {
		margin-top: 23px;
	}

	.prop-list {
		margin: 0;
	}

	.prop-item a:hover .prop-hover {
		padding: 10px;
	}

	.prop-hov-add {
		margin-bottom: 26px;
	}

	.welcome-desc p {
		line-height: 17px;
	    margin-bottom: 13px !important;   
	}

	.welcome-desc {
	    max-width: 450px; 
	}

	.prop-wrap {
	    max-width: 1292px;
	}

	.section-6 .pp-tableCell {
	    padding-top: 151px;
	}

	.pp-viewing-videos .section-label {
		left: 0;
	}

	.contact-address {
		margin-top: 22px;
	}

	.contact-logo {
	    margin-top: 34px;
	}

	.hp-welcome-vid-git {
		margin-top: 22px;
	}

} 

@media only screen and (max-width: 1365px) {
	.prop-wrap {
		max-width: 1138px;
	}

	.hp-sec1-right {
		margin-right: -61px;
	}

	.hp-agent-name {
		font-size: 26.96px;
	}

	.hp-sec1-desc {
		padding-top: 67px;
	}

	.welcome-desc p {
		font-size: 14px;
	}

	.hp-welcome-vid-git {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	.hp-git-social {
		margin-right: 1px;
		margin-left: 23px;
	}

	.communities-wrap {
		max-width: 1164px;
	}

	.com-name {
		font-size: 21px;
	}

	.communities-list {
		margin: 0;
	}

	.communities-arrows {
		right: 6px;
	}

	.pp-viewing-communities .section-label {
	    left: -20px;
	}

	.prop-list {
	    margin: 0;
	}

	.videos-wrap {
		max-width: 1097px;
	}

	.gallery-left{
		margin-left: 15%;
	}

	.gallery-right {
		margin-right: -1px;
	}

	.gal-title {
		font-size: 24px;
	}

	.gal-desc p {
		font-size: 15px;
	}
}



@media only screen and (max-width: 1199px) {
	.communities-wrap {
		max-width: 978px;
	}

	.hp-section1-cta .container {
	    max-width: 750px;
	}

	.cta-item {
		font-size: 14.66px;
	}

	.aios-roadmaps .aios-roadmap-link {
		width: 111px;
    	height: 111px;
	}

	#ihf-main-container .ihf-listing-detail .carousel-control.right {
	    right: -14px;
	}

	.com-name {
		font-size: 16px;
	}

	.prop-wrap {
	    max-width: 943px;
	}

	.hp-agent-name {
	    font-size: 22.96px;
	}

	.hp-sec1-right {
	    margin-right: -170px;
	}

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

	.welcome-wrap .row{
		/* align-items: flex-end; */
	}

	.section-border.section-bordertwo {
		top: 0;
    	right: -25vw;
	}

	.hp-welcome-right{
		padding: 2%;
	}

	.hp-welcome-left {
		width: calc(((100vw - 877px) / 2) + 50%);
		left: 1vw;
		min-width: 300px;
	}

	.welcome-desc {
	    max-width: 100%;
	}

	.welcome-desc p {
		font-size: 13px;
	}

	.videos-wrap {
	    max-width: 958px;
	}

	.testi-item {
		padding: 0 10px;
	}

	.section-5 .pp-tableCell{
		padding-top: 20%;
	}

} 

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 

	.hp-section1-cta {
		bottom: 106px;
	}

	.pp-viewing-gallery .section-label span {
		color: #444444 !important;
	}

	.hp-sec1-right {
	    margin-right: -230px;
	}

	.hp-section1-qs {
		bottom: 32px;
	}

	.ip-container .hp-section1-qs {
	    bottom: 0;
	}
}
@media only screen and (max-width: 1023px) {}
@media only screen and (max-width: 1024px) {
	.hp-section1-qs {
		bottom: 0;
	}


}



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

	.cycloneslider-template-video .cycloneslider-volume{
		top: unset !important;
	    bottom: 3% !important;
	}

	.slideshow-holder #aios-slider-hp-slideshow .aios-slider-volume {
	    top: unset !important;
	    bottom: 3% !important;
	}

	.aios-mobile-header-wrapper{
		z-index: 99999991 !important;
	}

	#pp_interactivemap .map-logo {
		display: none;
	}

	.map-titles {
	    position: relative;
	    text-align: center;
	}

	#pp_interactivemap .map-button a {
	    margin: 0 auto;
	}

	.hp-section1-qs .container,
	.hp-section1-cta .container {
	    width: 100%;
	}

	.hp-section1-cta .row .col-md-3 {
	    width: 100%;
	}

	.hp-section1-cta .row .col-md-3 {
	    margin: 0 auto;
	}

	.hp-slick-holder {
	    bottom: 0;
	}
	
	/* The following are used on inner pages. Please edit carefully. */
	#pagepiling {
    	height: initial;
	}
	.iframe-holder {
	    position: relative;
	    overflow: hidden;
	    padding-top: 56.25%;
	}
	.iframe-holder iframe {
		position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    border: 0;
	}
	section.section {
	    position: relative;
	    height: auto;
	    -webkit-transition: none;
	            transition: none;
	    width: 100%;
	    overflow: initial;
	}

	.header-left {
		width: 100%;
		display: none;
	}

	.ip-container .header-left {
	    display: block;
	}

	.header-fix {
	    display: none;
	}

	.floating-smi {
		display: none;
	}

	.header-holder {
	    display: block;
	}

	.header-logo a {
	    max-width: 239px;
	    margin: 0 auto;
	    display: block;
	    width: 100%;
	}

	.header-right {
		display: none;
	}

	header.header {
	    position: relative;
	    margin: auto;
	    text-align: center;
	    margin-top: 52px;
	    background: #000;
	}

	.hp-slick-image, .hp-slick-image .cycloneslider-template-responsive, .hp-slick-image .cycloneslider .cycloneslider-slides, .hp-slick-image .cycloneslider .cycloneslider-slide-image, .hp-slick-image .cycloneslider .cycloneslider-slide canvas, .hp-slick-image .cycloneslider .cycloneslider-canvas, .hp-slick-image .cycloneslider-template-video  {
		height: 100% !important;
	}

	.hp-slick-holder {
		/* display: none; */
	}

	.hp-slick-image .cycloneslider-template-video .cycloneslider-volume {
	    top: unset;
	    bottom: 50px;
	}

	.hp-sec1-right-img img {
		max-width: 100%;
		width: 662px;
		width: 66.801vw;
		margin-left: auto;
		display: block;
		margin-bottom: -25px;
		margin-bottom: -2.523vw;
	}

	.hp-slick-inner.hero-slick-item {
		display: none!important;
	}

	.hp-sec1-desc {
		display: none!important;
	}

	.hp-slick-image canvas {
		min-height: 25.227vw;
	}

	.hp-sec1-right {
		margin: 0;
	}

	.hp-slick-item .slick-list {
		padding-top: 0;
	}


	.hp-section1-cta {
	    position: relative;
	    background: #000 !important;
	    bottom: 0;
		padding: 40px 0 20px;    
	}

	.hp-slick-item::after {
		bottom: 0;
	}

	.hp-section1-cta .row {
	    display: block;
	}

	.hp-section1-cta a {
	    max-width: 450px;
	    margin: 0 auto;
	    margin-bottom: 11px;
	}

	.cta-hover {
		width: 100%;
		max-width: 450px;
		height: 100%;
	}

	.welcome-wrap .row {
	    display: flex;
	    flex-direction: column-reverse;
	    align-items: center;
	}

	.hp-agent-know a,
	.properties-btn.hp-agent-know a,
	.hp-agent-know.testi-btn a {
	    padding: 0;
	    text-align: center;
	}

	.hp-agent-know.testi-btn a::before {
		right: 0;
	}

	.hp-agent-know a::before,
	.hp-agent-know a::after {
		width: 32px !important;
	}

	.hp-agent-know a:hover span,
	.hp-agent-know.gallery-btn a span {
		left: 0 !important;
	}

	.hp-section1-qs {
		bottom: 0 !important;
	}

	.welcome-wrap .row::before {
		display: none;
	}

	.hp-welcome-left {
	    width: 100%;
	    display: block;
	}

	.welcome-title {
	    text-align: center;
	}

	.welcome-desc {
	    max-width: 100%;
	    text-align: center;
	    max-width: 500px;
	    margin: 0 auto;
	}

	.welcome-desc p {
	    font-size: 19px;
	    line-height: 1.5;
	}

	section#pp_welcome {
	    padding-top: 20px;
	}

	.hp-section1-qs {
	    position: relative;
	    background-size: cover;
	}

	.hp-welcome-vid-git {
	    display: block;
	}

	.hp-agent-know a {
	    max-width: 200px;
	    margin: 38px auto;
	    display: block;
	}

	.hp-agent-know.gallery-btn a {
	    max-width: 206px;
	}

	.hp-agent-know a::before {
		right: 0;
	}

	.hp-welcome-video-item {
	    margin: 0 auto;
	}

	.hp-git-social {
	    margin: 0 auto;
	    margin-top: 25px;
	    margin-bottom: 25px;
	}

	.section-3 {
		background: #25292a !important;
	}

	.qs-form-wrapper {
		max-width: 600px;
	}

	.qs-title {
	    width: 100%;
	    display: block;
	    text-align: center;
	    margin-bottom: 20px;    
	}

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

	.qs-mid {
		width: 50%;
		padding: 0;
		margin-bottom: 5px;
	}

	.qs-btn.btnsubmit-wrap {
	    width: 100%;
	    margin-bottom: 5px;
	}

	.qs-btn input.btnsubmit {
		max-width: 100%;
	}

	.qs-btn.advancewrap {
	    width: 100%;
	    margin-bottom: 5px;
	}

	.qs-btn.advancewrap a {
	    width: 100%;
	    text-align: center;
	} 

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

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

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

	.communities-item {
	    width: 50%;
	    margin-top: 20px;
	}

	.communities-item .com-img {
	    margin: 0 auto;
	    width: 100% !important;
	    max-width: 100% !important;
	}

	.communities-arrows {
	    right: -1px;
	}

	.prop-wrap{
		max-width: 600px;
    	width: 100%;
	}

	.prop-item {
	    width: 100%;
	    margin: 0 auto;
	    display: block;
	    margin-top: 28px;
	}

	.hp-agent-know.properties-btn {
	    margin: 0;
	    padding: 30px 0;
	}

	section#pp_communities {
	    padding-bottom: 20px;
	}

	.hp-get-property-section-photo-inner canvas {
	    height: auto;
	}

	.hp-get-property-section-inner {
	    padding: 45px 25px;
	}

	.videos-item {
	    width: 50%;
	}

	section#pp_videos {
	    padding: 0 10px;
	}

	.gallery-inner .row {
	    display: flex;
	    flex-direction: column-reverse;
	}

	.gallery-right {
	    margin-right: 0;
	    padding: 0;
	    max-width: 500px;
	    margin: 0 auto;
	    text-align: center;
	}

	.gallery-left {
		margin-left: 0;
		padding: 0;
	}

	section#pp_gallery {
	    padding: 45px 15px;
	}

	.gal-desc {
	    padding: 0;
	}

	.gallery-wrap {
	    margin: 0;
	}

	.hp-agent-know.testi-btn {
		margin-top: 0;
	}

	.testi-item-inner {
		margin: 0 auto !important;
	}

	section#pp_contactus {
	    padding: 20px 0;
	}

	section#pp_testimonials {
	    padding: 20px 0;
	}

	.section-label {
		display: none !important;
	}

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}

	.grecaptcha-badge {
		bottom: 14px !important;
	}
	
	.ip-container header.header {
	    position: relative;
	}

	.agents-item {
	    max-width: 500px;
	    margin: 0 auto;
	}

	.hp-agent-know a:hover span {
	    left: 16px;
	}

	.hp-agent-know.gallery-btn a {
	    max-width: 177px;
	}

	.hp-agent-know.gallery-btn a span {
	    left: -38px;
	}

	.hp-agent-know.gallery-btn a:hover span {
	    left: -12px;
	}

	.hp-agent-know.testi-btn a {
		max-width: 174px;
	}

	aside.sidebar {
	    margin-top: 20px !important;
	}

	.map-inner{
		display: none;
	}
	.map-outer{
		height: auto;
	}
	.map-titles{
		padding: 40px 15px;
		top: 0;
    	transform: none;
    	left: 0;
    	position: relative;
	}

	.map-outer canvas{
		display: none;
	}

	.hp-git-socialmedia{
		justify-content: center;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.footernav li {
	    margin-bottom: 10px;
	}

	.contact-short {
	    width: 100%;
	    padding: 0;
	}

	.aios-roadmaps .aios-roadmap-link {
	    width: 111px;
	    height: 111px;
	}

	.footernav {
		display: block;
		text-align: center;
	}

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

@media only screen and (max-width: 740px) {
	.aios-roadmaps .aios-roadmap-link {
		width: 67px;
	}

	.aios-roadmaps.no-border .aios-roadmap-link .aios-roadmap-name {
		font-size: 11px;
	}
}

@media only screen and (max-width: 568px) {
	.aios-roadmaps .aios-roadmap-link {
		width: 100%;
	}

	.hp-slide-logo {
	    width: 100%;
	}

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

	.hp-contact-item a{
		font-size: 25px;
	}

	.hp-section1-cta {
	    padding-left: 15px;
	    padding-right: 15px;
	}

	.hp-section1-cta .row{
		margin: 0;
	}


} 
/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.communities-item {
	    width: 100%;
	}

	.section-8 .wpcf7-response-output {
		font-size: 13px;
	}

	.contact-add-item {
		margin-top: 4px;
	}

	div#ui-datepicker-div {
	    left: 50% !important;
	    transform: translateX(-50%);
	    width: 300px;
	}

	.ihf-listing-detail #ihf-leadcapture-btns a {
	    width: 32%;
	}

	.contact-address .textwidget {
	    display: block;
	}

	.videos-item {
	    width: 100%;
	}

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

	.gallery-item {
	    width: 100%;
	}

	.contact-title em {
		font-size: 39px;
	}

	.contact-address {
	    display: block;
	    text-align: center;
	}

	#content .entry-title, #content .archive-title {
		font-size: 30px;
		letter-spacing: 0;
	}
}

@media print{
    header#main-header,
    .ip-container header.header,
    .ip-banner,
    .sidebar,
    div#page-bg,
    h1.entry-title,
    aside.sidebar,
    p#breadcrumbs,
    .entry.entry-content > a,
    .addtoany_content,
    div#ihf-leadcapture-btns,
    .ip-container footer.footer{
        display: none!important;
    }

    #content{
        width: 100% !important;
    }

    #ihf-main-container .col-xs-5 {
    width: 41.66666666666667%;
    float: right!important;
    }

}

 
