.bf-md-wrapper {
    display: flex;
    border: 1px solid #C6C6C6;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    position: relative;
}

.bf-md-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #C6C6C6;    
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.bf-md-column.bf-md-details {
    border-right: none;
}

.bf-md-header {
    background: #f8f8f8;    
    position: sticky;
    top: 0;
    z-index: 2;
}

.bf-md-title-wrap {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background-color: #F3F5F9;
}

.bf-md-search-wrap {
    padding: 10px 15px;
    border-bottom: 1px solid #C6C6C6;
    position: relative;
    display: flex;
    align-items: center;
}

.bf-md-title {
    margin: 0 0 0px; 
    font-size: 24px !important;
    text-align: center;
    font-weight: 800 !important;
}

.bf-md-search {
    width: 100%;
    padding: 6px 36px 6px 10px;
    border: 1px solid #CECECE;
    border-radius: 100px !important;
    box-sizing: border-box;
}

.bf-md-search::placeholder {
    color: #3B3A64;
    opacity: 0.6;
}

.bf-md-search-btn {
    position: absolute;
    right: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #3B3A64;
    padding: 0;
}

.bf-md-list {
    overflow-y: auto;
    flex: 1;
    padding: 10px;
    background: #fff;
    position: relative;
}

#bf-md-member-list {
    padding: 0px;
}

#bf-md-employee-list {
    padding: 0px;
}

#bf-md-employee-list > p {
    padding: 10px;
}

.bf-md-item {
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

#bf-md-member-list .bf-md-item {
    border-bottom: 1px solid #C6C6C6;
}

.bf-md-item:hover {
    background-color: #f2f2f2;
}

#bf-employee-list ul {
    list-style: none;
    padding-left: 0;
}

.initial-circle {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.bf-md-item.bf-md-employee {
    width: calc(100% - 39px);
    font-size: 16px;
    font-weight: 600;
    color: #3B3A64;
}

.bf-md-item.bf-md-employee small {
    font-size: 14px;
    font-weight: 400;
}

.bf-md-emp-detail-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #C6C6C6;
    padding: 4px 12px;
    cursor: pointer;
}

.bf-md-avatar {
    width: 39px;
    height: 39px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin: 0px auto 12px;
}

#bf-md-details {
    padding: 40px 20px 15px 20px;
}

#bf-md-details .bf-md-avatar {
    width: 95px;
    height: 95px;
    font-size: 32px;
}

.bf-md-name-card-wrap {
    border-bottom: 1px solid #C6C6C6;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.bf-name-wrap strong {
    font-size: 24px;
    font-weight: 800;
    color: #3B3A64;
}

.bf-phone-wrap, 
.bf-mail-wrap, 
.bf-address-wrap, 
.bf-web-link-wrap,
.bf-type-wrap,
.bf-detl-wrap {
    display: flex;
    padding-bottom: 12px;
    justify-items: center;
    align-items: center;
}
.bf-detl-wrap {
    align-items: start;
}
.bf-detl-wrap strong {    
    margin-right: 10px;
}

.bf-icon-wrap {
    width: 35px;
    height: 35px;
    background-color: #DDECF5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 6px;
    min-width: 35px;
    max-width: 35px;
}

.bf-icon-wrap img {
    width: 15px;
}

.bf-mail-wrap .bf-icon-wrap img {
    width: 18px;
}

.bf-md-info-wrap .bf-phone-wrap a, 
.bf-md-info-wrap .bf-mail-wrap a, 
.bf-md-info-wrap .bf-address-wrap,
.bf-md-member-info .bf-web-link-wrap a,
#bf-md-member-details .bf-web-link-wrap a,
#bf-md-member-details .bf-phone-wrap a, 
#bf-md-member-details .bf-mail-wrap a, 
#bf-md-member-details .bf-address-wrap,
.bf-type-wrap,
.bf-detl-wrap {
    font-size: 18px;
    font-weight: 500;
    color: #565577;
}

.bf-md-info-wrap .bf-phone-wrap a:hover, 
.bf-md-info-wrap .bf-mail-wrap a:hover,
.bf-md-member-info .bf-web-link-wrap a:hover,
#bf-md-member-details .bf-web-link-wrap a:hover,
#bf-md-member-details .bf-phone-wrap a:hover, 
#bf-md-member-details .bf-mail-wrap a:hover {
    color: #0681C5;
}

.bf-md-details .bf-desg-wrap {
    font-size: 22px;
    font-weight: 500;
    color: #828295;
}

.bf-md-item.bf-md-member.active,
.bf-md-item.bf-md-emp-detail-wrap.active {
    background-color: #ECF1F5;
}

/* Load More styling */
.bf-md-load-more {
    position: sticky;
    bottom: 0;
    background: #fff;
    text-align: center;
    padding: 10px;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.bf-md-load-more-link {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.bf-md-load-more-link:hover {
    background: #005f8c;
}

.bf-md-visible-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

#bf-md-visible-members {
    flex-grow: 1;
    overflow-y: auto;
}

.bf-md-load-more {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

#bf-md-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* white background with 70% opacity */
    z-index: 998;
    display: none;
}

.bf-md-loader {    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    text-align: center;
    /* background-color: rgba(255, 255, 255, 0.8); */
    padding: 12px;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}
.bf-md-loader img {
    width: 90px;
    height: 90px;
    margin: 12px;
    /* background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

@media(max-width: 1023px){
    .bf-md-wrapper {
        overflow: scroll;
    }
    .bf-md-column {
        min-width: 300px;
    }
}
.active-member{
    background-color: #f2f2f2;
    color: #0073aa;
}