.srch-left{
    float: left;
}
.srch-right{
    float: right;
}

.nav-search-results {
    right: 0;
    z-index: 101;
    display: none;
    width: 350px;
    background-color: #fff;
    list-style: none;
    position: absolute;
    top: 6.5em;
    padding: 0 1em 1em 1em;
    border-radius: 2rem;
    box-shadow: 0 20px 30px 0px rgba(0,0,0,0.1);
}

.nav-search-bar.mobile .nav-search-results {
    top: 50px;
    left: 0;
    width: 100%;
}
.nav-search-results li{
    height: 45px;
    padding: 1em 0;
    border-radius: 30px;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    transition: 0.3s all;
}

.nav-search-results li div {
    color: black;
    margin-left: 20px;
    font-size: 15px;
}

.nav-search-results li div.user, #last-search-text {
    display: flex;
    margin-left: 0;
    align-items: center;
    width: calc(100% - 70px);
}

.nav-search-results li div.user > div {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nav-search-results li .search {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
    border-radius: 50%;
    transition: 0.3s all;
}

.nav-search-results li .search img {
    width: 15px;
    transition: 0.3s all;
}

.nav-search-results li:hover{
    background-color: #f0f0f0;
}

.nav-search-results li:hover .search {
    background-color: #cccccc;
    min-width: 45px;
    height: 45px;
}

.nav-search-results li:hover .search img {
    width: 18px;
}

.nav-search-results .no-result {
    margin-top: 1em;
    text-align: center;
    height: 20px;
    line-height: 20px;
}

.search-pp{
    min-width:36px;
    height:36px;
    background-size: cover;
    border-radius:50%;
    margin-left: .5em !important;
    margin-right: 0px;
    border: 2px solid white;
    box-shadow: 0 0px 20px rgba(0,0,0,0.3);
}

.result-overlay{
    background-color: #fff;
    opacity: 0.9;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 9%;
    z-index: 1;
}

.result-wrapper {
    display: none;
    border-radius: 1.5em;
    background-color: white;
    height: 80vh;
    width: 620px;
    /* width: 42vw; */
    position: fixed;
    left: 50%;
    z-index: 2;
    flex-direction: row;
    transform: translate(-50%, 65%);
    box-shadow: 0 0 12px 1px #0000002e;
}

.result-window {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    width: 90%;
    height: 83%;
    margin-left: 4%;
}

.result-header-title{
    font-family: 'Roboto Slab';
    font-size: 28px;
    padding-left:2em;
}

.result-header {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: inherit;
    padding-top: 1.5em;
}

.result-cross {
    cursor: pointer;
    border: 1px solid #187ae5;
    border-radius: 50%;
    width: 4em;
    height: 4em;
    right: 4em;
    display: flex;
    justify-content: center;
    position: absolute;
    transition-duration: 200ms;
}

.result-cross:hover {
    box-shadow: 0 0 11px 0px #187ae552;
    transition-duration: 200ms;
}

.result-cross img{
    width: 1em;
    /* ref: https://codepen.io/sosuke/pen/Pjoqqp */
    filter: invert(38%) sepia(65%) saturate(1527%) hue-rotate(186deg) brightness(93%) contrast(91%);
}

.nav-search-results-expand {
    right: 5%;
    height: 83%;
    width: inherit !important;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 101;
    width: 350px;
    background-color: #fff;
    list-style: none;
    position: absolute;
    top: 6.5em;
    padding: 1em;
}
.nav-search-results-expand li {
    font-size: 12;
    height: 80px;
    padding: 1em 0;
    border-radius: 5em;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.nav-search-results-expand li div.user {
    font-size: 18px;
    display: flex;
    margin-left: 0;
    align-items: center;
    width: calc(100% - 70px);
    height: inherit;
    color: black
}
.nav-search-results-expand li:hover {
    background-color: #f0f0f0;
}

.search-pp-expand {
    width: 80px;
    height: 80px;
    background-size: cover;
    border-radius: 5em;
    margin-left: 0em !important;
    margin-right: 1.2em;
    border: 2px solid white;
    box-shadow: 0 0px 20px rgba(0,0,0,0.3);
}
#spacer-expanded{
    display: inline-block;
    width: 5px;
}

.search-location-expand{
    /* Temp: Untill followers feature is implemented in user search */ 
    position: absolute;
    left: 70%;
    
}

.search-location-expand img {
    width:15px;
}

.search-star-expand {
    padding-bottom:5px;
}

.search-star-expand img {
    height:20px;
    width:20px;
    margin-bottom: 6px;
}

#search-separator{
    border: 0.5px solid #dfdfdf;
}

#last-search-icon{
    background-color: #187ae5 !important;
}

#row-data{
    display: flex;
}

@media only screen and (max-width:990px){
    .result-wrapper {
        margin-top: -55%;
    }
}

@media only screen and (max-width:900px){
    .result-wrapper {
        transform: translate(-50%,60%);
    }
}

@media only screen and (max-width:780px){
    .result-wrapper {
        transform: translate(-50%,55%);
    }
}

@media only screen and (min-width:770px){
    .result-wrapper {
        width: 620px;
    }
}

@media only screen and (max-width:769px){
    .result-wrapper {
        width: 110vw;
    }

}

@media only screen and (max-width:568px){
    .search-location-expand {
        position: relative;
        left: 0;
    }
    #row-data{
        flex-direction: column;
        margin-left: 1.5em;
    }
    .user{
        width: 100% !important;
        display: flex;
    }
}

@media only screen and (max-width:485px){
    .result-wrapper {
        /* transform: translate(-50%,30%);  */
        margin-top: 65vh;
        top: -85%;
        font-size: 0.7em;
    }
}

@media only screen and (max-width:430px){
    .user {
        font-size: 15px !important;
    }
}

@media only screen and (max-width:380px){
    .user {
        font-size: 13.5px !important;
    }
    .search-star-expand{
        height: 12px;
        width: 12px;
    }
}
