/*
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_RoomDirectory {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    color: #4a4a4a;

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

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

.mx_RoomDirectory_list {
    -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_RoomDirectory_input {
    margin: auto;
    border-radius: 3px;
    border: 1px solid #c7c7c7;
    font-weight: 300;
    font-size: 13px;
    padding: 9px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.mx_RoomDirectory_tableWrapper {
    overflow-y: auto;
    -webkit-flex: 1 1 0;    
    flex: 1 1 0;
}

.mx_RoomDirectory_table {
    width: 100%;
    text-align: left;
    table-layout: fixed;
}

.mx_RoomDirectory_table th {
    font-weight: 400;
    font-size: 11px;
}

.mx_RoomDirectory_table tbody {
    cursor: pointer;
}

.mx_RoomDirectory_table td {
    font-weight: 300;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.mx_RoomDirectory_table .mx_RoomDirectory_name {
    font-weight: 400;
}

.mx_RoomDirectory_table .mx_RoomDirectory_topic {
    font-weight: 400;
    font-size: 11px;
}

.mx_RoomDirectory_table td,
.mx_RoomDirectory_table th, {
    padding: 6px;
}