/*
Copyright 2015, 2016 OpenMarket Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_MemberList {
    height: 100%;

    -webkit-flex: 1;
    flex: 1;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    flex-direction: column;
    -webkit-flex-direction: column;
}

.mx_MemberList_chevron {
    position: absolute;
    right: 35px;
    margin-top: -15px;
}

.mx_MemberList_border {
    overflow-y: auto;

    order: 1;
    -webkit-flex: 1 1 0;
    flex: 1 1 0px;
}

.mx_MemberList .mx_SearchableEntityList {
    order: 1;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
}

.mx_MemberList .mx_SearchableEntityList_expanded {
    flex: 1 1 100%;
    -webkit-flex: 1 1 100%;
}

.mx_MemberList_joined {
    order: 2;
    flex: 1 1 50%;
    -webkit-flex: 1 1 50%;

    overflow-y: auto;
}

/*
.mx_MemberList_invited {
    order: 3;
    flex: 0 0 100px;
    -webkit-flex: 0 0 100px;
    overflow-y: auto;
}
*/

.mx_MemberList_bottom {
    order: 4;
    flex: 0 0 72px;
    -webkit-flex: 0 0 72px;
}

.mx_MemberList_bottomRule {
    border-top: 2px solid #e1dddd;
    margin-right: 15px;
}

.mx_MemberList_invited h2 {
    text-transform: uppercase;
    color: #3d3b39;
    font-weight: 600;
    font-size: 13px;
    padding-left: 3px;
    padding-right: 12px;
    margin-top: 8px;
    margin-bottom: 4px;    
}

/* we have to have display: table in order for the horizontal wrapping to work */
.mx_MemberList_wrapper {
    display: table; 
    table-layout: fixed;
    width: 100%;
}

.mx_MemberList_outerWrapper {
    height: 0px;
}
