/*
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_RightPanel {
    position: relative;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}

.mx_RightPanel_header {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;

    -webkit-flex: 0 0 83px;
    flex: 0 0 83px;
}

/** Fixme - factor this out with the main header **/

.mx_RightPanel_headerButtonGroup {
    margin-top: 32px;
    float: left;
    background-color: #fff;
    margin-left: -4px;
}

.mx_RightPanel_headerButton {
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;    
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.mx_RightPanel_headerButton object {
    pointer-events: none;
}

.mx_RightPanel_headerButton_highlight {
    position: absolute;
    bottom: -2px;
    left: 10px;
    width: 25px;
    height: 4px;
    background-color: #76cfa6;
}

.mx_RightPanel_headerButton_badge {
    position: absolute;
    top: 4px;
    left: 28px;
    font-size: 12px;    
    background-color: #76cfa6;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 0px;
}

.mx_RightPanel .mx_MemberList,
.mx_RightPanel .mx_MemberInfo {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}
