.treeadvisor-section {
    min-height:100vh;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.treeadvisor-main {
    background: radial-gradient(45.37% 106.71% at 60.23% 40.84%, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0) 100%), linear-gradient(0deg, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url(Cut-End-Of-Tree-Rings-Texture.jpg);
    /*background-image: url("../images/treeadvisor_bg.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
}
.treeadvisor-main + footer {
    display:none;
}
.treeadvisor-left {
    position:absolute;
    top: 10vh;
}
.treeadvisor-splash {
    position: absolute;
    z-index: 1;
    left: -4vw;
}
.treeadvisor-splash img{
    width: auto;
    height: 90vh;
}
.treeadvisor-image {
    position:absolute;
    z-index:2;
}
.treeadvisor-image img {
    width: auto;
    height: 90vh;
}
.treeadvisor-right {
    width: 50%;
    margin-left: 50%;
    margin-top: 35vh;
    z-index: 9;
    position:relative;
}
.treeadvisor-title h1{
    color:#fff;
    font-size: 100px;
    line-height: 90%;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.treeadvisor-title .treeadvisor-subtitle{
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.treeadvisor-title {
    margin-bottom:60px;
}
.contacts-box__item{
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom:16px;
    display: flex;
    align-items: center;
}
.contacts-box__item > a > img {
    margin-right: 15px;
}
.treeadvisor-contacts-box {
    margin-bottom:60px;
}
.treeadvisor-btns .btn {
    margin-right:10px;
}
.treeadvisors__field_to_hide, .nf-field-container.treeadvisors__field_to_hide {
    max-height: 0;
    transition: max-height .1s ease-out;
    overflow: hidden;
    margin-bottom: 0;
}
.treeadvisors__field_to_hide.active {
    max-height: 500px;
    overflow: visible;
    transition: max-height .2s ease-in, overflow 2s;
}
.treeadvisors__more_btn {
    display:block;
    text-align:left;
    position:relative;
}
.treeadvisors__more_btn:hover span {
    color: #313131;
}
.treeadvisors__more_btn span {
    cursor:pointer;
    position:relative;
    font-size:20px;
    transition:color .4s;
}

.treeadvisors__more_btn span:before {
    content:'+';
    display:inline-block;
    font-size: 23px;
    padding-right: 5px;
}
.treeadvisors__more_btn.active span:before {
    content:'-';
}
.popup-content[data-rel="connect-treeadvisor-popup"] .h2.text-uppercase.light{
    font-size:50px;
    line-height:1;
}
.treeadvisors__form .nf-error .ninja-forms-field {
    border: none;
    border-bottom: 1px solid #e80000;
}
.contacts-box__item a.contacts-box__item-link {
    position: relative;
}
.contacts-box__item a.contacts-box__item-link:after, .treeadvisors__more_btn span:after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    content: "";
    position: absolute;
    transform: scaleX(0);
    will-change: transform;
    transition: all 0.33s ease-in;
}
.contacts-box__item a.contacts-box__item-link:after {
    background-color: #fff;
}
.treeadvisors__more_btn span:after{
    background-color: #4e4e4e;
}
.contacts-box__item a.contacts-box__item-link:hover:after, .treeadvisors__more_btn:hover span:after {
    transform: none;
}
.nf-field-container.nf_uf_unified_source-container {
    display: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    transition: background-color 500000s, border 0.5s !important;
    border: none !important;
    -webkit-text-fill-color: #1a1a1a !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 15, 40, 0) inset !important;
}

.instagram-tab-form input:-webkit-autofill,
.instagram-tab-form input:-webkit-autofill:hover,
.instagram-tab-form input:-webkit-autofill:focus,
.instagram-tab-form select:-webkit-autofill,
.instagram-tab-form select:-webkit-autofill:hover,
.instagram-tab-form select:-webkit-autofill:focus {
    transition: background-color 500000s, border 0.5s !important;
    border: none !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 15, 40, 0) inset !important;
}
/* notebook */
@media screen and (max-width:1380px) {
    .treeadvisor-right {
        width: 40%;
        margin-left: 60%;
    }
    .treeadvisor-title h1 {
        font-size: 60px;
    }
    .treeadvisor-left {
        top: 20vh;
    }
    .treeadvisor-splash img, .treeadvisor-image img {
        height: 80vh;
    }
}

@media screen and (max-width:1200px) {
    .treeadvisor-section {
        display: flex;
        flex-direction: column;
    }
    .treeadvisor-right {
        order: 0;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 140px;
        margin-bottom: 65px;
    }
    .treeadvisor-title h1 {
        font-size: 80px;
    }
    .treeadvisor-title .treeadvisor-subtitle {
        font-size: 24px;
    }
    .contacts-box__item {
        font-size: 18px;
    }
    .treeadvisor-btns .btn{
        padding: 16px 60px;
        font-size:20px;
    }
    .treeadvisor-left {
        position: inherit;
        order: 1;
        height: 500px;
        top: 0;
        display: flex;
        justify-content: center;
    }
    .treeadvisor-splash {
        position: inherit;
        z-index: 1;
        left: inherit;
        top: inherit;
    } 
    .treeadvisor-main:not(.is-mobile) {
        background-image: url("../images/treeadvisor_tablet.jpg")!important;
    }
    .treeadvisor-section:before {
        content:'';
        background-color:#1A1A1A;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 28%;
        width: 100%;
    }
    .treeadvisor-splash img, .treeadvisor-image img {
        height: 65vh;
    }
}
@media screen and (max-width: 1200px) and (orientation : landscape) {
    .treeadvisor-splash img, .treeadvisor-image img {
        height: 500px;
    }
}

/* laptop */
@media screen and (max-width:768px) {
    .treeadvisor-right {
        margin-top: 100px;
        width: 100%;
        margin-bottom:0;
        /*z-index: 9;
        position: relative;*/
    }
    .treeadvisor-left {
        height: 580px;
        margin-top: -45px;
        overflow: hidden;
        position: relative;
    }
    .treeadvisor-splash {
        position: absolute;
        z-index: 1;
        left: inherit;
        top: 0;
    }
    .treeadvisor-splash img, .treeadvisor-image img {
        height: auto;
        width: 100%;
    }
    .treeadvisor-left:before {
        height: 17%;
    }
    .treeadvisor-title {
        margin-bottom: 30px;
    }
    .treeadvisor-title h1 {
        font-size: 40px;
    }
    .treeadvisor-contacts-box {
        margin-bottom: 30px;
    }
    .treeadvisor-title .treeadvisor-subtitle {
        font-size: 18px;
    }
    .contacts-box__item {
        font-size: 16px;
    }
    .treeadvisor-btns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .treeadvisor-btns .btn {
        padding: 16px 32px;
        font-size: 16px;
        margin-right:0;
        margin-bottom:10px;
    }
    .contacts-box__item img {
        width:20px;
        height:20px;
        -o-object-fit: contain;
           object-fit: contain;
    }
}
/* mobile */
@media screen and (max-width:500px) {
    .treeadvisor-left {
        height: 450px;
        margin-top: -45px;
        overflow: hidden;
        position: relative;
    }
    .treeadvisor-splash {
        position: absolute;
        z-index: 1;
        left: inherit;
        top: 0;
        height: 100%;
    }
    .treeadvisor-image {
        position: absolute;
        z-index: 2;
        height: 100%;
    }
    .treeadvisor-splash img, .treeadvisor-image img {
        height: 100%;
        width: 100%;
        -o-object-fit: contain;
           object-fit: contain;
        -o-object-position: bottom;
           object-position: bottom;
    }
    .treeadvisors__more_btn span {
        font-size: 16px;
    }
    .popup-content[data-rel="connect-treeadvisor-popup"] .h2.text-uppercase.light {
        font-size: 30px;
    }
    .popup-content[data-rel="connect-treeadvisor-popup"] .nf-after-field .nf-error-msg {
        font-size: 14px;
    }
}
@media screen and (max-width:420px) { 
    .treeadvisor-left {
       
        margin-top: -45px;
        overflow: hidden;
        position: relative;
    }
    .treeadvisors__more_btn span {
        font-size: 14px;
    }
}
@media screen and (max-width:500px) and (min-height:750px){
    .treeadvisor-left {
        height: 430px;
    }
}
@media screen and (max-width:500px) and (min-height:800px){
    .treeadvisor-left {
        height: 590px;
    }
}
@media screen and (max-width:500px) and (min-height:900px){
    .treeadvisor-left {
        height: 700px;
    }
}
@media screen and (max-width:375px) and (min-height:800px){
    .treeadvisor-left {
        height: 540px;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) {
    .treeadvisor-left {
        margin-top: 70px;
    }
}

@media screen and (max-width:1024px) {
    .single-employee div[id^='bf-revz-widget'] {
        display: none !important;
    }
}

body:has(.flatpickr-calendar.open) .popup-content.active {
    overflow: hidden;
}