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


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1600px){
	/*HP Ultimate Guides*/
	.hp-ultimate-guides-title h2 span em {
	    right: -32vw;
	    height: 5vw;
	}
	/*HP Ultimate Guides*/
}
@media only screen and (max-width: 1440px){
	#nav > li > a {
		padding: 0 26px;
	}
	#nav > li:hover > a:after {
		width: calc(100% - 52px);
	}
	.map-wrapper .map-main {
		margin: 0 -135px 0 -345px;
	}
}
@media only screen and (max-width: 1366px){
	#nav > li > a {
		padding: 0 18px;
	}
	#nav > li:hover > a:after {
		width: calc(100% - 44px);
	}
	.map-wrapper .map-main {
		margin: 0 -80px 0px -330px;
	}
	#fixednav > li > a {
		position: relative;
		padding: 0 22px;
	}
	#fixednav > li:hover > a:after {
		width: calc(100% - 44px);
	}


/*
	.hpqs-wrapper {
			padding: 198px 50px;
	} */




	.qs-field input, .qs-field select {
	    font-size: 12px;
	}

	.range-labels span {
	    font-size: 12px;
	}

	.qs-field.qsf-s.qs-as a {
	    font-size: 12px;
	}

	.qs-field.qsf-l {
	    margin-bottom: 30px;
	}

	.qs-title h2 {
	    font-size: 45px;
	}





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

	#hp-slide .cycloneslider-template-video video{

    max-width: 150%;
    max-height: 150%;
	}/*
	.header .main-header {
		padding: 25px 0 0;
	}*/
	.header .main-header .logo {
		padding: 0 0 0 0;
	}
	.navigation {
		margin: 32px 0 0;
		text-align: right;
	}
	#nav a{
		font-size: 14px;
	}
	#nav > li > a {
		padding: 0 24px;
	}
	#nav > li:last-child > a{
		padding-right: 0;
	}
	#nav > li:hover > a:after {
		width: calc(100% - 16px);
	}
	#fixednav a{
		font-size: 13px;
	}
	#fixednav > li > a {
		padding: 0 8px;
	}
	#fixednav > li:hover > a:after {
		width: calc(100% - 16px);
	}
	.header .fixed-header .fh-logo{
		max-width: 205px;
	}
	.cta-wrapper a .cta-name{
		font-size: 25px;
	}
	.welcome-wrapper .welcome-content {
		padding: 40px 25px 81px 165px;
	}
	.fp-wrapper .fp-list:before {
		left: -10px;
		top: -30px;
		max-height: 310px;
	}
	#hp-map {
		padding: 65px 0 0;
	}
	.map-wrapper .map-title h2 {
		font-size: 18px;
		letter-spacing: 0.420em;
		line-height: 40px;
	}
	.map-wrapper .map-title h2 span {
		font-size: 80px;
		line-height: 75px;
		letter-spacing: 0.100em;
	}
	.map-wrapper .map-links ul {
		margin: 20px 0 0;
	}
	.map-wrapper .map-links li a{
		font-size: 17px;
		min-width: 180px;
		padding: 7px 0 7px 18px;
	}
	.map-wrapper .map-main {
		margin: 0 -10px 0px -350px;
	}
	.sp-wrapper .sp-desc{
		width: calc(100% - 20px);
		padding: 35px 10px 30px;
	}
	.sp-wrapper .sp-desc:before{
		height: 85px;
	}
	.testi-wrapper {
		padding: 50px 0 0;
	}
	.testi-wrapper .testi-right {
		min-height: 360px;
		padding: 50px 0 0 40px;
	}
	.testi-wrapper .testi-title h2 span {
		font-size: 55px;
		letter-spacing: 0.020em;
		padding: 0 35px 0 0;
	}
	.testi-wrapper .testi-all .slick-slide{
		padding: 5px 40px;
	}
	#hp-lpost {
		padding: 60px 0 75px;
	}
	.lpost-wrapper .lpost-list ul {
		margin: 0 -20px;
	}
	.lpost-wrapper .lpost-list ul li{
		padding: 0 20px;
	}
	.lpost-wrapper .lpost-list h3 {
		font-size: 17px;
	}
	.footernav > li {
		/* margin: 0 0 0 32px; */
		margin: 0 0 0 25px;
	}
	.footernav > li > a{
		font-size: 16px;
		letter-spacing: 0.020em;
	}
	.footer-contact-wrap li > div{
		font-size: 11px;
	}
	.footernav li li a {
		font-size: 12px;
		line-height: 20px;
	}
	.footer-contact-wrap .footer-email span {
		font-size: 11px;
	}
	.sb-cta a .cta-name {
		font-size: 18px;
	}
	.footernav {
		left: 0;
		padding-left: 50px;
	}

	.custom-page-title em {
		font-size: 35px;
	}
	.custom-page-title span {
		font-size: 50px;
	}
}

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

	.navigation {
		margin: 27px 0 0;
	}
	#nav > li > a {
		padding: 0 14px;
	}
}

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

  .line-dot {
      top: 70px;
      width: 15%;
  }

}

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


    section#featured-listing-luxury .cs-cont{
        width: 81.25vw;
        max-width: 1300px;
        padding: 0;
    }

    section#hp-ultimate-guides > .container {
	    width: 85vw;
	    max-width: 1400px;
	    padding: 0;
	}

}





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


	.hpqs-wrapper {
	    width: 100%;
	    max-width: 500px;
	    flex-flow: row wrap;
	    padding: 70px 15px;
	}

	.qs-title {
	    width: 100%;
	    margin-bottom: 50px;
	}

	.qs-form {
	    width: 100%;
	}

	.qs-field.qsf-l {
	    width: 100%;
	}

	.qs-field.qsf-s {
	    width: calc(100% / 2 - 10px);
	}

	.qs-field.qsf-s.qs-sbmt {
	    margin-top: 30px;
	}

	.qs-field.qsf-s.qs-as {
	    margin-top: 30px;
	    height: 50px;
	}
	
	.fll-video {
    width: 100%;
    max-width: 100%;
}

.fll-content {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

ul.fll-bbs {
    justify-content: center;
}

.line-dot {
    width: 20%;
}

	.footernav{
		left: 0px;
		padding-left: 0;
	}

	li.footer-add > div:nth-child(2){
		max-width: 100%;
		    width: auto;
	}

	/* 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%;
	}
	#hp-slide .cycloneslider-template-video .cycloneslider-volume {
		bottom: 5px;
		right: 5px;
		transform: scale(.8);
		-moz-transform: scale(.8);
		-webkit-transform: scale(.8);
	}
	#hp-slide,
	#hp-slide .cycloneslider-template-video .canvas-holder{
		min-height: 0;
	}
	/* #hp-slide .cycloneslider-template-video .cycloneslider-slides {
		height: auto !important;
	} */
	.cta-wrapper {
		padding: 50px 0;
	}
	.header{
		position: relative;
		background:#2e2d2b;
		/* padding: 70px 0 20px; */
		padding: 52px 0 0;
	}
	#scroll-down, .fp-wrapper .fp-list .fp-single:after, .testi-wrapper .testi-left, .map-wrapper .map-right, .fp-wrapper .fp-list:before, .navigation{
		display: none;
	}
	.header .main-header{
		background: none;
		min-height: 0;
		padding: 0 0 0;
		display: none;
	}
	.header .main-header .logo img{
		margin: 0 auto;
	}
	.header .fixed-header {
	    position: relative;
	    opacity: 1;
	    padding: 35px 15px;
	    top: unset;
	    flex-direction: column;
	    max-height: unset;
	    gap: 15px;
	    pointer-events: auto;
	}

	.header .fixed-header .fh-nav {
	    display: none;
	}

	.header .fixed-header .fh-logo {
	    max-width: 400px;
	    margin: 0;
	}
	.cta-wrapper a {
		max-width: 360px;
		margin: 0 auto 26px;
	}
	.welcome-wrapper {
		display: block;
	}
	.welcome-wrapper .welcome-photo-content {
		margin: 0 0 0 0;
	}
	.welcome-wrapper .welcome-photo {
		width: 100%;
		max-width: 500px;
		margin: 0 auto 20px;
	}
	.welcome-wrapper .welcome-content {
		padding: 30px 20px 81px 20px;
		width: 100%;
	}
	#hp-fp{
		min-height: 0;
	}
	.fp-wrapper .fp-list .slick-slide {
		margin: 0 10px;
	}
	.fp-wrapper .fp-list ul {
		margin: 0 0;
	}
	.fp-wrapper .fp-list li {
		padding: 0 0 0;
	}
	.fp-wrapper .fp-list .slick-slide.slick-current + .slick-active a{
		top: 0;
		margin: 0 0 0 0;
	}
	.map-wrapper .map-title {
		text-align: center;
	}
	.map-wrapper .map-links ul {
		margin: 20px 0 0;
		font-size: 0;
		text-align: center;
	}
	.map-wrapper .map-links li{
		display: inline-block;
		width: calc((100% / 2) - 10px);
		margin: 0 5px 5px;
	}
	.map-wrapper .map-links li a {
		border-top: 0px solid #e3e3e3;
		display: block;
		padding: 10px 7px;
		border-radius: 8px;
		background: #debf89;
		text-align: center;
	}
	.map-wrapper .map-links a span {
		margin: 0 8px 0 0;
	}
	.testi-wrapper {
		overflow: hidden;
	}
	.testi-wrapper .testi-title {
		overflow: unset;
	}
	.testi-wrapper .testi-right {
		min-height: 0;
		padding: 50px 0 20px 15px;
		margin: 0 auto 0 auto;
		width: calc(100% - 30px);
		max-width: 720px;
	}
	.testi-wrapper .testi-list {
		margin: 10px 0 0;
	}
	.testi-wrapper .testi-all .slick-slide {
		border-left: 0px solid #fff;
	}
	.testi-wrapper .testi-nav a.testi-nav-left{
		left: 35px;
	}
	.testi-wrapper .testi-nav a.testi-nav-right{
		right: 35px;
	}
	.lpost-wrapper .lpost-list ul {
		margin: 0 0;
	}
	.lpost-wrapper .lpost-list ul li {
		display: block;
		width: calc(100% / 1);
		margin: 25px 0 0;
		text-align: center;
		border-top: 1px dotted rgba(0,0,0,.5);
		padding: 30px 0 0;
	}
	.lpost-wrapper .lpost-list ul li:before{
		display: none;
	}
	.lpost-wrapper .lpost-list ul li:first-child {
		margin: 0 0 0 0;
		border-top: 0px dotted rgba(0,0,0,.5);
		padding: 0 0 0;
	}
	.lpost-wrapper .lpost-list .lpost-img canvas{
		max-width: 315px;
		margin: 0 auto;
	}
	.footernav li {
		text-align: center;
	}
	.footernav > li {
		display: block;
		text-align: center;
		margin: 20px 0 0 0;
	}
	.footernav li ul {
		margin: 5px 0 0;
	}
	.copyright-re {
		flex-flow: column wrap;
		text-align: center;
	}
	.re-logos {
		padding: 20px 0 0;
	}

	.ip-banner canvas {
		min-height: 250px;
	}


	/*HP Ultimate Guides*/
	.hp-ultimate-guides-inner {
	    display: flex;
	    flex-direction: column-reverse;
	    padding: clamp(60px, 8.5vw, 150px) 0 clamp(15px, 2.125vw, 37.5px);
	    justify-content: center;
	    align-items: center;
	}

	.hp-ultimate-guides-title {
	    text-align: center;
	}

	.hp-ultimate-guides-text, .hp-ultimate-guides-photo {
	    width: 100%;
	}

	.hp-ultimate-guides-button {
	    align-items: center;
	    justify-content: center;
	    padding-bottom: max(40px, 2.25vw);
	}

	.hp-ultimate-guides-text-inner {
	    padding: 0;
	    margin: 0;
	}

	.hp-ultimate-guides-title h2 span em {
        right: -7vw;
        height: 47px;
    }
	/*HP Ultimate Guides*/

	.steps-item {
	    width: 100%;
	    margin: 0px !important;
	}

	/* Community Details Pages: START */
	.ip-communities-wrap {
		display: block;
		margin: 0 auto 50px;
	}
	.ip-comm-photo {
		margin-bottom: 10px;
	}
	/* Community Details Pages: END */

	/* Videos Page: START */
	.ip-video-wrap {
		display: block;
		margin: 0 auto 50px;
	}
	/* Videos Page: END */

	#content #agents-results .agents-col:nth-child(even) .agents-button {
		margin-left: 0;
		margin-right: auto;
	}
	#content #agents-results .agents-col:nth-child(even) .agents-contact {
		justify-content: flex-start;
	}

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }
	#hp-sp {
		padding: 40px 0 0;
	}
	.fp-wrapper .fp-title h2 span,
	.sp-wrapper .sp-title span {
		font-size: 45px;
		letter-spacing: 0.040em;
		padding: 0 40px;
	}
	.sp-wrapper .sp-list {
		margin: 30px 0 0;
	}
	#hp-fp {
		padding: 35px 0 0;
	}
	.fp-wrapper .fp-list {
		margin: 35px 0 0;
	}
	.testi-wrapper .testi-content {
		padding: 25px 15px;
	}
	.testi-wrapper .testi-all .slick-slide {
		padding: 5px 0px;
	}
	.testi-wrapper .testi-nav{
		font-size: 0;
		text-align: center;
	}
	.testi-wrapper .testi-nav a{
		display: inline-block;
		vertical-align: middle;
		position: relative;
		margin: 0 10px 0;
		font-size: 25px;
	}
	.testi-wrapper .testi-nav a.testi-nav-left{
		left: 0;
	}
	.testi-wrapper .testi-nav a.testi-nav-right{
		right: 0;
	}
	.footer-logo {
		padding: 30px 0 35px;
	}
	#content a.btn-link.ihf-advanced-search-launch{
		white-space: normal;
	}
}

@media only screen and (max-width: 600px) {
	.hp-ultimate-guides-title h2 span em {
        right: -31vw;
    }
}

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

	.line-dot {
	    display: none;
	}

	.hp-ultimate-guides-title h2 span em{
		display: none;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.welcome-wrapper .welcome-content h1 em {
		font-size: 50px;
	}
	.welcome-wrapper .welcome-content h1 span{
		font-size: 25px;
	}
	.welcome-wrapper .welcome-content a.site-button{
		display: block;
		max-width: 220px;
	    margin-left: auto;
	    margin-right: auto;
	}
	.fp-wrapper .fp-title h2{
		font-size: 17px;
	}
	.fp-wrapper .fp-title h2 span,
	.sp-wrapper .sp-title span {
		font-size: 35px;
		letter-spacing: 0.020em;
		padding: 0 30px;
	}
	.map-wrapper .map-title h2 {
		letter-spacing: 0.150em;
	}
	.map-wrapper .map-title h2 span {
		font-size: 60px;
		line-height: 55px;
		letter-spacing: 0.100em;
	}
	.map-wrapper .map-links li {
		display: block;
		width: calc((100% / 1) - 0px);
		margin: 0 0 5px;
	}
	.testi-wrapper .testi-title h2 span {
		font-size: 30px;
		letter-spacing: 0.010em;
		padding: 0 25px 0 0;
	}
	.testi-wrapper .testi-title h2 {
		font-size: 16px;
		text-transform: uppercase;
		letter-spacing: 0.220em;
	}
	.lpost-wrapper .lpost-title h2 span {
		font-size: 60px;
		letter-spacing: 0.040em;
		padding: 0 30px;
	}
	.lpost-wrapper .lpost-title h2 {
		font-size: 17px;
		letter-spacing: 0.220em;
	}
	#ihf-main-container #areaPickerContainer > div.col-xs-12,
	#ihf-main-container #areaPickerContainer #areaPickerExpandAll{
		padding: 0;
	}
}
