.panel-search {
    display: flex;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 15px;
}

.panel-search .col-left {
    flex: 1;
}

.panel-search .col-right {
    width: 300px;
    padding: 15px 0;
}

.search-bar {
    position: relative;  
    outline-offset: 0;
    outline: none;  
}

.search-bar input {
    padding: 6px 100px 6px 20px;
    opacity: 0.8;
    margin-bottom: 0;
}

.search-result {
    position: absolute;    
    right: 0;
    top: 100%;
    white-space: nowrap;
    min-width: 100%;
    max-width: 450px;
    padding-top: 10px;
    z-index: 1;
    display: none;
}

.focused input, .focused .btn-search {
    opacity: 1;
    outline: none;
}

.focused .search-result {
    display: block;
}

.search-bar input {
    outline: none;
}


.search-result span.info {
    padding: 10px 20px;
    display: block;
    width: 100%;
    background: #fff; 
    box-shadow: 0px 1px 7px 0 #e2e2e2;
    border-radius: 21px;
    color: #757575;
}

.search-result span.not-found {
    
}

.search-result .result-footer {
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    color: #757575;
}

.search-result ul {
    list-style: none;
    background: #fff !important;
    box-shadow: 0px 1px 7px 0 #e2e2e2;
    border-radius: 21px;
}

.search-result ul li {
    white-space: nowrap;    
}

.search-result ul li:hover {
    background: #fbfbfb !important;    
}

.search-result .result-footer:hover {
    background: #fff;
}

.search-result ul li:last-child a {
    border-bottom: none;
}

.search-result ul li a {
    padding: 10px 20px !important;
    display: flex !important;
    width: 100%;
    color: #3a405b;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
}

.search-result ul li a span {
    flex: 1;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.search-result ul li a i {
    font-style: normal;
    margin-left: 15px;
    color: #757575;
}

.search-result ul li:hover a {
    color: #3b55e6 !important; 
    background: #fbfbfb !important;   
}

.search-result ul li:hover i {
    color: #424242;   
}

.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #3b55e6;
    color: #fff;
    padding: 7px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    opacity: 0.8;
    user-select: none;
}

.btn-search:hover {
    background-color: #213ddc;
}

.col-left .tabs {
    line-height: 36px;
    display: flex;
}

.tabs a {
    display: block;
    height: 100%;
    padding: 15px 20px;
    color: #3a405b;
    border-bottom: 2px solid transparent;
}

.tabs .tab-all {

}

.tabs .tab-online {

}

.tabs a:hover {
    border-bottom: 2px solid #ededed;
}

.tabs a.selected {
    border-bottom: 2px solid #6175eb;
}

.tabs-right {
    display: flex;
}

.tabs-right .dialogs {
    flex: 1;
}

.tabs-right .category-list {
    width: 210px;
    margin-left: 30px;
    margin-bottom: 0;
    margin-top: 15px;
    border-left: 1px solid #ededed;
    padding-left: 20px;
}

.tabs-right .category-list a {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    padding: 8px 15px;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 0px;
    border: 2px solid #3a3a3a;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #d4d4d4 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
  
@media only screen and (max-width: 1024px) {
    .col-left .tabs {
        line-height: 24px;
    }
    .panel-search .col-right {
        width: 250px;
    }
    #page-friends .msg-nick {
        font-size: 16px;
    }
    .tabs-right .category-list {
        margin-left: 10px;
        padding-left: 10px;
    }
}

@media screen and (max-width: 640px) {
    .panel-search .col-left, .friend-steam, .msg-date {
        display: none;
    }
    .tabs-right {
        display: block;
    }
    .tabs-right .dialogs {
        width: 100%;
    }
    .panel-search .col-right {
        width: 100%;
    }
    .tabs-right .category-list {
        width: 100%;
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-bottom: 0;
        margin-top: 30px;
    }
    .props {
        display: block;
    }
    .props .prop {
        margin-right: 0;
        margin-bottom: 10px;
    }
}