.nav-searchbox {
    height: 18rem;
    position: absolute;
    z-index: 9002;
    background-color: #282728;
    top: 2rem;
    width: 100vw;
    transition: all 250ms linear;
}
.search-wrap{
    height: 10rem;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-inline: 2rem;
    position: relative;
    z-index: 11; 
}


.nav-searchbox form{
    margin-bottom: 2rem !important;
}

.landing-banner-poly.nav-overlay{
    opacity: 0.04;

}

.enhanced-by {
    color: rgb(255, 255, 255);
    display: inline-block;
    text-align: center;
    font-size: 0.75rem;
    position: relative;
    width: 20rem;
    left: -22rem;
    top: -1rem;
}
.google {
    display: inline-block;
}
.google svg {
    display: inline;
    width: 5rem;
    margin-bottom: -0.5rem;
}

.hovered {
    background: #282728;

}
.hovered svg{
    stroke: white !important;
}
.close-search-wrap{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-right: 3rem;
    margin-top: 1rem;
    position: relative; 
    z-index: 11;

}
.close-search {
    display: flex;
    align-self: flex-end;
    justify-self: end;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: right;
    cursor: pointer;
    position: relative;
}
.close-search h4 {
    color: #fff;
    display: inline;
}



@media screen and (max-width: 1250px) {
 
    .enhanced-by {
        left: -16.25rem;
    }
    .results-container .gsc-above-wrapper-area{
        margin-right: 2.25rem;
    }
}

@media screen and (max-width: 925px) {
    .enhanced-by {
        left: -13.75rem;
    }
    .results-container .gsc-above-wrapper-area{
        margin-right: 1.5rem;
    }
}

@media screen and (max-width: 800px) { 
    .enhanced-by {
        left: -6.75rem;
        margin-top: -3rem;
    }
}

@media screen and (max-width: 767px) {
    .nav-searchbox {
        top: 4.25rem;
        left: 0;
    }
    .landing-banner.basic {
        margin-top: 5rem;
    }
   .hovered{
    background: var(--color-primary-white);
   }
   .hovered svg{
    stroke: black !important;
   }
   
}

@media screen and (max-width: 500px) {
    .nav-searchbox{
        display: flex;
        flex-flow: column wrap;
    }
    .enhanced-by {
        display: none;
    }
    .results-container{
        margin-inline:2rem;
    }
    .close-search{
        align-self: center;
        justify-self: center;
        left: unset;
        
    }
}
