@font-face {
    font-family: 'GothamBold';
    src: url('../webfonts/Gotham-Bold.otf') format('opentype');
}
@font-face {
    font-family: 'GothamBook';
    src: url('../webfonts/Gotham-Book.otf') format('opentype');
}

body{
    font-family: 'GothamBook';
}

h1,h2,h3,h4,h5,h6{
    font-family: 'GothamBold';
}
.footer-container{
    background-color: #e6e7e9;
    color:#333;
}
.nav-link.current,.nav-link.w--current {
    background-color: #000;
    color: #fff !important;
}
.d-md-show-flex,.d-sm-show-flex{
    display: none;
}
.property-image{
    z-index: 1;
}
.propertyimages-overlay{
    z-index: 2;
}
.propertyimage-lightbox:hover .property-image{
    transform: scale(1.05);
}

.scrolled{
	background:white;
  box-shadow: 0 0 5px 0 rgb(0 0 0 / 24%);
  transition: all ease 400ms
}
.scrolled .nav-link, .scrolled .menu-button.w-nav-button{
	color: #333333;
}
.logo{
    height:25px;
    width: auto;
}
.logo.logo.white{
    display: inline;
    padding-left:10px;
}
.scrolled .logo.black{
display: inline;
padding-left: 10px;
}
.scrolled .logo.white{
display:none;
}
.scrolled .nav-line{
background-color: #333;
}
.menu-button{
    font-size: 40px;
}
.menu-button.w-nav-button, .menu-button.w-nav-button.w--open{
    color:white;
}
.spec-icon{
    height:40px;
}
.endless_loading {
    display: none;
	margin: auto;
	height:6rem;
}
.realtor-box {
    padding: 30px;
    margin-bottom:20px;
}
.realtor-info{
    grid-template-columns: auto 1fr;
}
.loader{
    background-image: url('../images/ajax-loader.svg');
    background-position: center center;

    height:100%;
    width:100%;
	background-repeat: no-repeat;
}
.brand{
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
}
.form fieldset{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-top: 10px;
}
.news-submit{
    margin-top: 10px;
}
#wf-form-Newsletter-Subscription_FullName_Holder,#wf-form-Newsletter-Subscription_Email_Holder{
    margin-right:7px;
}
.tns-outer{
    width: 100%;
}
.tns-outer button{
    display:none;
}
.hide{
    display: none;
}
.middleColumn.fieldgroup{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
footer .primary-cta{
    border: 1px solid #00263A;
}
footer .outline{
    color:#00263A;
}
.primary-cta:hover{
    border-color: #0c6594;
}
.outline{
    background: transparent;
}
.inline-field{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: center;
    border-bottom: 1px solid #00263A;
    padding-bottom: 20px;
}
#Form_BuyersForm .w-input, .w-select,label{
    margin-bottom: 0px;
}

.range{
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 1px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    padding: 0px;
    margin-top: 20px;
}
.range:hover {
    opacity: 1; /* Fully shown on mouse-over */
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #00263A; /* Green background */
    cursor: pointer; /* Cursor on hover */
    border-radius: 50%;
  }

  .range::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #00263A; /* Green background */
    cursor: pointer; /* Cursor on hover */
    border-radius: 50%;
  }

.div-block-909.normal.center{
    max-width: 1600px;
}
.div-block-909.narrow.center{
    max-width: 1300px;
}
.ui-widget-content{
    height: 1px;
    border-color: #333;
    margin-bottom: 10px;
    margin-top: 10px;
}
.ui-slider-handle{
    border-radius: 50px;
    background: #00263A !important;
    border-color: #00263A !important;
    margin-top: -0.3em;
}
.ui-slider-range{
    background: #00263A !important;
    height: 4px !important;
    margin-top: -2px;
}

.container.normal{
    margin-top:60px;
}


.stars__wrapper{
    display: grid;
    grid-template-columns: .7fr 400px .7fr;
    background-color:#f3f3f3;
    padding-top:60px;
    padding-bottom:60px;
    gap:20px;
    margin-bottom:30px;
}
.stars-avg{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stars-avg__title{
    font-size: 50px;
}
.stars-avg__stars{
    color:#00263A;
    font-size: 25px;
}
.stars-sliders{
    display: grid;
    flex-direction: column;
    align-items: center;
    gap:10px;
    grid-gap:10px;
}
.stars-sliders__slide{
    display: flex;
    width: 100%;
}
.stars-sliders__prog-border{
    width: auto;
    flex-grow: 1;
    border: 1px solid #fff;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    margin:0px 5px;
}
.stars-sliders__prog{
    height:100%;
    background:#00263A;
}

.feedback-wrapper{
    display:grid;
    grid-template-columns: 1fr 1fr;
}
.feedback-wrapper .slide {
    width:100%;
}
.review-wrapper{
    padding:30px;
    -webkit-box-pack: start;
    -webkit-justify-content: start;
    -ms-flex-pack: start;
    justify-content: start;
    background: #282828;
}

.videoThumb {
    position: relative;
}

.videoPlaybtn {
    position: absolute;
    width: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.review-wrapper a{
    color:#fff;
}
.review-wrapper a:hover{
    color: #0c6594;
}
.give-review__wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.give-review__icon{
    height:80px;
    width: 80px;
}
.accordion-icon{
    font-size:35px;
    transition: all ease 1s;
}
.accordion-icon.rotate{
    transform: rotate(45deg);
}
.accordion-toggle{
    padding-bottom: 20px;
    padding-top:50px;
}
.grid-2{
gap:40px;

}
.tns-slider{
    display:flex;
}
.slide{
    height:auto;
}



.selling-grid {
    padding:20px 0px;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items: center;  

}

.stepFormBlock .selling-grid {
    display: flex;
    flex-direction: column-reverse;
}

.selling-grid__content {
    margin-bottom: 28px;
}

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

        .stepFormBlock .selling-grid {
            display: grid;
        }

        .selling-grid__content {
            margin-bottom: 0px;
        }
}
.selling-video__wrap,
.stepForm-video__wrap{
    position:relative;
    border-radius:10px;
    height:100%;
    max-width: 450px;
    width:100%;
    margin-right:50px;

}
.selling-video__video-wrapper,
.stepForm-video__video-wrapper{
    position:relative;
    height: 100%;
}

.stepForm-video__notShort .fluid-width-video-wrapper {
    padding-top: 66% !important;
}

.stepFormBlock .primary-cta {
    cursor: pointer;
}


.selling-video__text-block,
.stepForm-video__text-block{
    bottom: 32px;
    left: 32px;
    max-width: 420px;
    padding-right: 32px;
    position: absolute;
    width: 100%;
    z-index: 2;
    color: #fff;

}
.selling-video__text-block-title,
.stepForm-video__text-block-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    margin-bottom: 32px;
}
.selling-video__text-block-name,
.stepForm-video__text-block-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
.selling-video__text-block-tagline,
.stepForm-video__text-block-tagline{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.selling-video__video-button,
.stepForm-video__video-button{
    cursor: pointer;
    height: 80px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80px;
    z-index: 3;
    background:transparent;
}
.stepForm-video__video-button {
    width: 50px;
    height: 50px;
}
.selling-video__preview {
    height:100%;
    width:100%;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 1s;
    border-radius: 10px;
    overflow:hidden;
}

.stepForm-video__preview {
    transition: all 1s;
    border-radius: 10px;
    overflow:hidden;
}
.selling-video__preview img,
.stepForm-video__preview img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
.selling-video__main,
.stepForm-video__main{
    border-radius: 10px;
    bottom: 0;
    left: 0;
    opacity: 0;
    right: 0;
    top: 0;
    transition: all 1s;
    z-index: 0;
    overflow:hidden;
}

.stepForm-video__main {
    position: absolute !important;
}
.selling-video__main.active,
.stepForm-video__main.active{
    opacity: 1;
transition: all 1s;
z-index: 3;
}


.contact-info{
    display:grid;
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
    margin: auto;
}

.mini-mode{
    grid-template-columns: .3fr 1fr;
    min-height: 400px;
}
.mini-mode.left{
    grid-template-columns: 1fr .3fr;
}
.mini-mode .team-photo{
    min-height: auto;
    background-position: center;
}
.mini-mode .grey-box{
    padding: 20px;
    background-position: right;
}
.mini-mode.left .grey-box{
    padding: 20px;
    background-position: left;
}


.ray-white {
    right: 0px;
    bottom: 0px;
    width:auto;
    height:100px;
    z-index: 0;
}
.jm__models__blocks__videobanner .div-block-909{
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(0%, -50%);
}
.grey-box,.grey,.grey-section{
    background-image: none;
    background-color: #e6e7e9 !important;
}
.counter .flex{
    justify-content: center;
}
.countup{
    margin-right: 10px;
    color: #00263A;
    font-size: 52px;
    font-weight: 800;
}
.sold-tag{
    background: transparent;
    color: transparent;
    margin-top:0px;
    width: 384px;
    height: 46px;
    padding:0px;
}

.slide-out{
    list-style: none;
    margin: 0;
    padding: 0;
    left: 100%;
    position: fixed;
    z-index: 401;
    display: block;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}
.slide-out__content{
    list-style: none;
    margin: 0;
    padding: 0;
    right: -455px;
    position: fixed;
    z-index: 401;
    display: block;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    box-shadow: 0 0 8px 0 rgb(0 0 0 / 19%);
    transition: all ease 1s;
}
.slide-out__btn-close{
    font-weight: bold;
    position: absolute;
    top:30px;
    right:30px;
}
.slide-out__btn-close:hover{
    color:#0c6594;
    cursor: pointer;
}
.slide-out__content .realtor-box.grey{
    margin:0px;
}
.slide-out__content.active{
    right: 0px;
    left: unset;
    transition: all ease 1s;

}
.slide-out__btn{
    position: relative;
    left: -45px;
    margin-bottom: 2px;
    white-space: nowrap;
    padding: 5px;
    transition: ease-out 400ms;
    background-color: #0c6594;
    color: #fff;
    line-height: 40px;
    height: 150px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide-out__btn:hover{
    cursor: pointer;
    background: #00263A;

}
.open-popup-link:hover{
    cursor: pointer;
}
.slide-out__btn span{
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform:  rotate(90deg);
    transform: rotate(90deg);
}
.tab-link{
    min-width: 200px;
    width: auto;
}
.calendar-code{
    display: none;
}
.calendar-code.active{
    display: block;
}
.contact-img{
    height: 800px;
    width: 100%;
}
.contact-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.tabs-menu{
    display: flex;
    flex-wrap: wrap;
}
.review-icon{
    background-color: #f3f3f3;
}
.footer-cta{
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.footer-logo{
    margin:auto;
}
.banner__down-arrow-section{
    position: absolute;
    width: 100%;
    margin: 0px;
    bottom: -15px;
}
.banner__down-arrow{
    background-color: #0c6594;
    padding:15px;
    float: right;
}
.banner__down-arrow:hover{
    background-color: #00263A;
}
.banner__down-arrow img{
}
.logo.bayleys{
    width: auto;
    height: 35px;
    display: inline-block;
}
.desktop--padding-right{
    padding-right:20px;
    max-width: 1050px;
}
.brand{
    align-items: center;
    display: flex;
}
.realtor-links{
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.videoBlock {
    padding: 20px 0;
}

.videoBlock__title h2 {
    margin-bottom: 20px;
}

.stepForm-video__text-block {
    background: #edf2fa;
    border-radius: 0 0 10px 10px;
    bottom: unset;
    left: unset;
    max-width: unset;
    padding: 20px;
    position: relative;
    top: -3px;
    color: #333;
}

@media screen and (max-width: 1200px) {
    .nav-link{
        padding:5px;
    }
    .logo{
        height:20px;
    }
    .logo.bayleys{
        height:30px;
    }

.hero-caption{
    font-size: 50px;
    z-index: 201;
}
.contact-img{
    height: 600px;
}
}

@media screen and (max-width: 991px) {
    .footer-logo{
        margin-left:0px;
    }
    .footer-cta,#w-node-c6d35388-4217-fc66-7c35-4a3149cb232d-a11b8fa9{
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .footer-grid{
        grid-template-columns: 1fr;

    }
    .mini-mode{
        grid-template-columns: .5fr 1fr;
    }
    .mini-mode.left{
        grid-template-columns: 1fr .5fr;
    }
    .selling-video__text-block {
        background: #edf2fa;
        border-radius: 0 0 10px 10px;
        bottom: unset;
        left: unset;
        max-width: unset;
        padding: 32px;
        position: relative;
        top: -3px;
        color: #333;
    }
    .selling-video__video-wrapper,
    .stepForm-video__video-wrapper{
        min-height:400px;
        height:auto;
    }
    

    .stepFormBlock .selling-video__video-wrapper,
    .stepFormBlock .stepForm-video__video-wrapper {
        min-height: unset;
    }
    #w-node-c6d35388-4217-fc66-7c35-4a3149cb232d-a11b8fa9{
        -ms-grid-column: span 1;
    grid-column-start: span 1;
    -ms-grid-column-span: 1;
    grid-column-end: span 1;
    }
    .stars__wrapper{
        grid-template-columns: 1fr;
        padding-left: 30px;
        padding-right: 30px;
    }
    .feedback-wrapper{
        grid-template-columns: 1fr;

    }
    .d-md-show-flex{
        display: flex;
    }
    .nav-link, .scrolled .nav-link {
        width: 100%;
        text-align: center;
        color: #fff;
    }
    .realtor-links{
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .footer-copyright{
        margin-left:16px;
    }
    .desktop--padding-right{
        padding:0px;
    }
    .mini-mode{
        grid-template-columns: 1fr;
    }
    .mini-mode.left{
        grid-template-columns: 1fr;
    }
    .mini-mode .team-photo{
        min-height: 500px;
    }
    .mini-mode.left .team-photo{
        order:1;
    }
    .mini-mode.left .grey-box{
        order:2;
    }
    .selling-grid,.inline-field,.contact-info{
        grid-template-columns: 1fr;

    }
    .selling-video__wrap,
    .stepForm-video__wrap{
        margin:0px;
    }
    .footer-cta{
        grid-column: span 1;
        flex-direction: column;
    }
    .footer-cta .primary-cta{
        width:100%;
    }
    .d-sm-show-flex{
        display: flex;
    }
    .d-sm-hide{
        display: none;
    }
    .propertyimagegrid{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .property-image{
        max-height: 100%;
    }
    .hero-caption{
        font-size: 40px;
    }

}

@media screen and (max-width: 479px) {
    .div-block-909{
        left:15px;
    }
    .slide-out{
        display: none;;
    }
    .footer-content{
        font-size: 14px;
    }
}
