/*Index Custom form*/

.page-template-home-for-sale .ff-container {
    display: none;
}

.page-template-home-for-sale #inner-page-wrapper{
    margin-bottom: 0;
    overflow: hidden;
    z-index: unset;

}

.page-template-home-for-sale #inner-page-wrapper > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.ip-hfs-main-wrapper {
    width: 100%;
    max-width: calc(100% - 76px);
    padding: 0 15px;
    margin: 0 auto;
}

.ip-hfs-canvas{
    position: relative;
}

.ip-hfs-canvas canvas{
    display: block;
    width: 100%;
    height: auto;
}

.ip-hfs-canvas img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}


.ip-hfs-banner {
    position: relative;
}

.ip-hfs-tagline {
    margin-bottom: 60px;
}

.ip-hfs-tagline h2 {
    font-size: clamp(30px,4.500vw,71px);
    text-transform: uppercase;
    text-align: center;
    font-family: var(--title-font);
    color: #fff;
}

.ip-hfs-field label {
    display: block;
}

.ip-hfs-field input, .ip-hfs-field select {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 21px;
    border: none;
    color: #999;
    margin-top: 5px;
}

.ip-hfs-submit-sch {
    width: 53px;
    height: 53px;
    position: relative;
}

.ip-hfs-submit-sch input {
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.ip-hfs-submit-sch i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
}

.ip-hfs-submit-sch {
    background: #2f2118;
    margin-right: 7px;
    transition: 0.3s;
}

.ip-hfs-submit-sch:hover,
.ip-hfs-field-submit-adv a:hover {
    background: #febe3a;
}

.ip-hfs-field-submit-adv a {
    display: flex;
    width: 135px;
    height: 53px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #fff;
    background: #2f2118;
    transition: 0.3s;
}

.ip-hfs-qs {
    max-width: 1102px;
    margin: 0 auto;
    padding: 16px;
    background: #fff;
    padding: 12px 16px;
}

.ip-hfs-field {
    border-left: 1px solid #ccc;
    width: 11.5%;
    padding-left: 14px;
}

.ip-hfs-field.wide {
    width: 19%;
}

.ip-hfs-qs form {
    display: flex;
    justify-content: center;
    align-items: center;
}

form.ip-hfs-form .ip-hfs-field:first-child {
    border: navajowhite;
}

.ip-hfs-banner-content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ip-hfs-banner-arrow span {
    display: flex;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin: auto;
    transform: rotate(90deg);
    color: #999;
}

.ip-hfs-banner-arrow {
    position: absolute;
    width: 99px;
    height: 99px;
    bottom: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    bottom: -65px;
}



/** FP **/

.ip-hfs-fp-title.global-title-holder.is-left {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ip-hfs-fp-wrap {
    margin-top: 95px;
}

.ip-hfs-fp-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.ip-hfs-fp-right-btn {
    width: 215px;
}

.ip-hfs-fp-slider .slick-slide > div {
    margin: 13px;
}

.ip-hfs-fp-slider .slick-list {
    margin-left: -13px;
    margin-right: -13px;
}

.ip-hfs-address h2 {
    font-size: 22px;
}

.ip-hfs-address h2 span {
    font-size: 17px;
    color: #999;
}

.ip-hfs-address h2 span {
    display: block;
    font-size: 17px;
    color: #999;
    margin-top: 10px;
}

.ip-hfs-info {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    align-items: end;
}

.ip-hfs-price span {
    font-size: 22px;
}

.ip-hfs-fp-slide-content {
    padding: 30px 25px;
}

.ip-hfs-bed span {
    padding: 0 8px;
    border-right: 1px solid #ccc;
}

.ip-hfs-bed span:last-child {
    border: none;
}

.ip-hfs-slide-nav .next {
    right: -35px;
}
.ip-hfs-slide-nav .prev {
    left: -35px;
}
.ip-hfs-slide-nav >div {
    position: absolute;
    width: 73px;
    height: 73px;
    bottom: 0;
    background: #fff;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: 30%;
}

.ip-hfs-fp-slider {
    position: relative;
}

.ip-hfs-fp-slide a{
    display: block;
}

.ip-hfs-fp-slides {
    margin-top: 27px;
}

.ip-hfs-fp-slides {
    margin-top: 25px;
}

.ip-hfs-fp-slide-photo {
    overflow: hidden;
}

.ip-hfs-fp-slide-photo:hover img {
    transform: scale(1.2);
}

.ip-hfs-fp-slider > p {
    font-size: 16px;
}


/** FC **/

.ip-hfs-fc-title.global-title-holder.is-left {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ip-hfs-fc-wrap {
    margin-top: 95px;
}

.ip-hfs-fc-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.ip-hfs-fc-right-btn {
    width: 215px;
}

.ip-hfs-fc-slider .slick-slide > div {
    margin: 13px;
}

.ip-hfs-fc-slider .slick-list {
    margin-left: -13px;
    margin-right: -13px;
}

.ip-hfs-address h2 {
    font-size: 22px;
}

.ip-hfs-address h2 span {
    font-size: 17px;
    color: #999;
}

.ip-hfs-address h2 span {
    display: block;
    font-size: 17px;
    color: #999;
    margin-top: 10px;
}

.ip-hfs-info {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    align-items: end;
}

.ip-hfs-price span {
    font-size: 22px;
}

.ip-hfs-fc-slide-content {
    padding: 30px 25px;
}

.ip-hfs-bed span {
    padding: 0 8px;
    border-right: 1px solid #ccc;
}

.ip-hfs-bed span:last-child {
    border: none;
}

.ip-hfs-slide-nav .next {
    right: -35px;
}
.ip-hfs-slide-nav .prev {
    left: -35px;
}
.ip-hfs-slide-nav >div {
    position: absolute;
    width: 73px;
    height: 73px;
    bottom: 0;
    background: #fff;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: 30%;
    transition: 0.3s;
}

.ip-hfs-fc-slider {
    position: relative;
}

.ip-hfs-fc-slide a{
    display: block;
}

.ip-hfs-fc-slides {
    margin-top: 27px;
}

.ip-hfs-fc-slides {
    margin-top: 25px;
}

.ip-hfs-fc-slide-photo {
    overflow: hidden;
}

.ip-hfs-fc-slide-photo:hover img {
    transform: scale(1.2);
}

.ip-hfs-fc-slider > p {
    font-size: 16px;
}

.ip-hfs-slide-nav.fc-nav >div {
    top: 40%;
}

.ip-hfs-slide-nav > div:hover {
    /* background: red; */
    background: rgb(184,142,52);
    background: -moz-linear-gradient(left, rgba(184,142,52,1) 0%, rgba(255,193,59,1) 47%, rgba(184,142,52,1) 100%);
    background: -webkit-linear-gradient(left, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
    background: linear-gradient(to right, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
}

/** Ip Welcome **/

.hfs-welc-container {
    display: block;
    position: relative;
    font-size: 0;
    background-color: #fff;
    z-index: 1;
    padding: 40px 0 119px;
}

.hfs-welc-wrapper {
    display: block;
    position: relative;
}

.hfs-welc-main {
    display: block;
    position: relative;
}

.hfs-welc-row {
    display: block;
    position: relative;
    margin: 0 -15px;
}

.hfs-welc-col {
    display: inline-block;
    vertical-align: bottom;
    width: 50%;
    position: relative;
    padding: 0 15px;
}

.hfs-welc-agent-holder {
    display: block;
    position: relative;
}

.hfs-welc-agent-holder {
}

.hfs-welc-agent-holder img {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.hfs-welc-content-container {
    display: block;
    position: relative;
}

.hfs-welc-content {
    display: block;
    position: relative;
    margin: 0 -15px;
}

.hfs-welc-btn {
    display: block;
    position: relative;
    margin-top: 40px;
}

.hfs-welc-content p {
    font-size: max(0.938vw, 10px);
    display: block;
    position: relative;
    line-height: 1.667;
    letter-spacing: 0.010em;
    color: #555555;
}

.hfs-welc-content-col {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    position: relative;
    padding: 0 15px;
}

.hfs-welc-content p:not(:last-child) {
    margin-bottom: 25px;
}

.hfs-welc-content-container .global-title h2, .hfs-welc-content-container .global-title h3 {
    text-transform: uppercase;
}

.hfs-welc-content-container .global-title h3 {
    margin-top: -30px;
    display: block;
}

.hfs-welc-btn a {
    max-width: 213px;
}

.hfs-welc-content p strong {
    font-size: max(1.125vw, 10px);
    line-height: 1.806;
    color: #000;
    letter-spacing: 0.010em;
    font-family: var(--title-font);
}

.hfs-welc-agent-holder-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /*     background-image: url(images/gradient-text-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #C4AE5B; */
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#b88e34+0,ffc13b+47,b88e34+100 */
    background: rgb(184,142,52);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(184,142,52,1) 0%, rgba(255,193,59,1) 47%, rgba(184,142,52,1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b88e34', endColorstr='#b88e34',GradientType=1 );
    /* IE6-9 */
    ;}

.hfs-welc-agent-holder-bg {
    position: absolute;
    top: 40px;
    right: 12px;
    width: 50%;
    height: calc(100% - 149px);
}

.hfs-welc-content-inner {
    display: block;
    position: relative;
    margin-left: 89px;
}

.hfs-welc-col:first-child {
    width: 37.936%;
}

.hfs-welc-col:last-child {
    width: 62.064%;
}

.hfs-welc-wrapper .custom-container {
    padding: 0 15px;
}

.hfs-welc-content-container .global-title {
    padding-right: 90px;
}

/** Popup Form **/
.show-popup{
    display: flex !important;
}

.ip-hfs-popup-wrap {
    position: fixed;
    z-index: 1100;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    display: none;
}

.ip-hfs-popup-inner {
    width: 870px;
    display: flex;
}

.ip-hfs-popup-left {
    width: 47.2%;
}
.ip-hfs-popup-right {
    background: #fff;
    width: 52.8%;
    padding: 55px 40px 20px;
    text-align: center;
    position: relative;
}

.ip-hfs-popup-form-intro {
    margin-top: 40px;
    margin-bottom: 20px;    
}

.ip-hfs-popup-form-intro h2 {
    font-size: 28px;
    font-family: var(--title-font);
    margin-bottom: 13px;
}

.hfs-cf-field input {
    font-size: 14px;
    width: 100%;
    border: none;
    border-bottom: 1px solid;
    color: #999;
    padding-bottom: 17px;
    margin-top: 25px;
}

.hfs-cf-field.global-btn input, .hfs-cf-field.global-btn span {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
    text-transform: uppercase;
    color: #dfab38;
    letter-spacing: 0.05em;
}

.hfs-cf-field.global-btn {
    margin: 30px auto 0;
    width: 220px;
}

.hfs-popup-close-btn {
    position: absolute;
    right: 25px;
    top: 38px;
    font-size: 17px;
    color: #999;
}

.hfs-cf-field.global-btn:hover input {
    color: #fff !important;
}


/** Navigation **/

.hfs-header-phone a:after {
    z-index: -1;
}

#hfsnav {
    display: flex;
}

ul#hfsnav li a {
    letter-spacing: 0.05em;
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
}

#hfsnav > li {
    padding: 0 23px;
}

.hfs-header-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: calc(100% - 76px);
    padding: 34px 15px;
    margin: 0 auto;
    z-index: 99;
}

.hfs-header-wrap nav.hfs-navigation {
    display: flex;
    align-items: center;
}

.hfs-header-phone a {
    width: clamp(185px,19.125vw,306px);
    height: 50px;
}

.hfs-header-phone {
    margin-left: clamp(20px,2.5vw,40px);
}

.hfs-header-wrap .logo img {
    width: clamp(150px,21.813vw,349px);
    height: auto;
}

.sticky{
    position: fixed !important;
    padding: 34px 50px !important;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    background: #fff;
    box-shadow: 0 0 5px #999;
}

#hfsnav li {
    position:relative;
    display: block;
    text-align: center;
    background: #fff;
}

#hfsnav .sub-menu {
    list-style: none outside none;
    margin: 0;
    display: none;
    padding: 42px 0 19px;
    position: absolute;
    width:100%;
    min-width: 225px;
    z-index: 99;
    left: 50%;
    transform: translateX(-50%);
}
#hfsnav .sub-menu a {
    color: #000;
    display: block;
    padding: 12px 10px;
}
#hfsnav .sub-menu a:hover {
    background: none repeat scroll 0 0 var(--light);
    color: var(--font-color-default);
    text-decoration: none;
}
#hfsnav .sub-menu .sub-menu {
    margin-left: 100%;
    top:0;
}
#hfsnav li:hover > .sub-menu {
    display: block;
}
#hfsnav .sub-menu li {
    position: relative;
}

#hfsnav .sub-menu a:hover {
    color: #f1b739;
}

#hfsnav > li:before {
    position: absolute;
    content: '';
    width: 0px;
    height: 2px;
    top: -20px;
    left: 50%;
    /* background: red; */
    transform: translateX(-50%);
    background: rgb(184,142,52);
    background: -moz-linear-gradient(left, rgba(184,142,52,1) 0%, rgba(255,193,59,1) 47%, rgba(184,142,52,1) 100%);
    background: -webkit-linear-gradient(left, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
    background: linear-gradient(to right, rgba(184,142,52,1) 0%,rgba(255,193,59,1) 47%,rgba(184,142,52,1) 100%);
    transition: 0.3s;
}

#hfsnav > li:hover:before{
    width: 75px;
}
/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1399px) {
    .ip-hfs-main-wrapper{
        max-width: 100%;
    }

    .hfs-header-wrap{
        max-width: 100%;
    }

    #hfsnav > li {
        padding: 0 10px;
    }

    .hfs-header-phone a {
        width: 210px;
    }

    .sticky{
        padding: 34px 15px !important;
    }
} 

@media only screen and (max-width: 1199px) {
    /** FP **/
    .ip-hfs-bed span{
        font-size: 10px;
    }

    .ip-hfs-price span {
        font-size: 16px;
    }
    .ip-hfs-fp-slide-content {
        padding: 20px;
    }

    /** Welcome **/
    .hfs-welc-content-inner{
        margin-left: 25px;
    }

    .hfs-welc-content-container .global-title h3{
        line-height: 1.7;
    }
} 

@media only screen and (max-width: 1080px){
    ul#hfsnav li a{
        font-size: 12px;
    }
}



/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	.ip-hfs-banner-content {
        position: initial;
        transform: none;
        background: #000;
        padding: 50px 20px;
    }

    /** QS **/
    .ip-hfs-qs form {
        flex-direction: column;
        padding: 30px 0 20px;
    }

    .ip-hfs-field {
        padding-bottom: 10px;
        width: 100% !important;
        max-width: 600px;
        margin: 0 auto 20px;
        border: none;
        border-bottom: 1px solid #ccc !important;
    }

    .ip-hfs-submit-sch {
        width: 100%;
        margin: 0 0 10px;
        max-width: 600px;
    }

    .ip-hfs-field-submit-adv {
        width: 100%;
        max-width: 600px;
    }

    .ip-hfs-field-submit-adv a {
         width: 100%; 
    }

    .ip-hfs-banner-arrow{
        display: none;
    }

    /** FP **/

    .ip-hfs-fp-right-btn.mobile-btn.hidden {
        display: block !important;
        margin: 30px auto;
    }

    .ip-hfs-fp-header .ip-hfs-fp-right-btn {
        display: none;
    }

    .ip-hfs-fp-header{
        justify-content: center;
    }

    .ip-hfs-fp-slider,
    .ip-hfs-fc-slider {
        max-width: 600px;
        margin: 0 auto;
    }

    .ip-hfs-fp-slider,
    .ip-hfs-fc-slider {
        text-align: center;
    }

    .ip-hfs-info {
        flex-direction: column;
        align-items: center;
    }

    .ip-hfs-price span {
        font-size: 22px;
        margin-bottom: 20px;
        display: block;
    }

    /** FCx **/

    .ip-hfs-fc-header {
        justify-content: center;
    }

    /** Welcome **/

    .hfs-welc-row{
        text-align: center;
    }

    .hfs-welc-row > div:first-child {
        max-width: 600px;
        margin: 0 auto !important;

    }

    .hfs-welc-row > div {
        width: 100% !important;
    }

    .hfs-welc-content-col {
        width: 100% !important;
    }

    .hfs-welc-content-container .global-title {
        padding-right: 0;
        text-align: center;
    }

    .hfs-welc-btn a {
        margin: 0 auto;
    }

    .hfs-welc-content-inner {
        margin-left: 0;
    }


    .hfs-header-wrap.sticky {
        position: relative !important;
    }

    .hfs-header-wrap {
        margin-top: 52px;
    }

    .hfs-header-wrap nav.hfs-navigation {
        display: none;
    }

    .hfs-header-wrap {
        justify-content: center;
    }
    .hfs-header-wrap .logo img{
        width: 260px;
    }

    	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-hfs-popup-left.ip-hfs-canvas {
        display: none;
    }

    .ip-hfs-popup-inner {
        flex-direction: column;
        align-items: center;
    }

    .ip-hfs-popup-right{
        width: 100%;
        max-width: 450px;
    }

    .ip-hfs-popup-wrap{
        padding: 20px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    .ip-hfs-slide-nav >div{
        top: 20%;
    }

    .ip-hfs-slide-nav.fc-nav >div {
        top: 35%;
    }

    .hfs-welc-content-container .global-title h2, .hfs-welc-content-container .global-title h3{
        font-size: 40px;
        line-height: 1.7;
    }
}