/*
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_UserSettings {
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

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

.mx_UserSettings .mx_RoomHeader {
    -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;
}

.mx_UserSettings_body {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;

    -webkit-flex: 1 1 0;
    flex: 1 1 0;

    overflow-y: auto;    
}

.mx_UserSettings_spinner {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    width: 32px;
    height: 32px;
}

.mx_UserSettings_button {
    display: inline;
    vertical-align: middle;
    border: 0px;
    border-radius: 36px;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    background-color: #76cfa6;
    width: auto;
    margin: auto;
    padding: 7px;
    padding-left: 1.5em;
    padding-right: 1.5em;
    cursor: pointer;
}

.mx_UserSettings h2 {
    clear: both;
    margin-top: 32px;
    margin-bottom: 8px;
    margin-left: 63px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.mx_UserSettings h3 {
    font-weight: bold;
    font-size: 15px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.mx_UserSettings_section {
    margin-left: 63px;
    margin-top: 28px;
    margin-bottom: 28px;
}

.mx_UserSettings_accountTable
.mx_UserSettings_notifTable
{
    display: table;
}

.mx_UserSettings_profileTable
{
    display: table;
    float: left;
}

.mx_UserSettings_profileTableRow
{
    display: table-row;
}

.mx_UserSettings_profileLabelCell
{
    padding-bottom: 21px;
    display: table-cell;
    font-weight: bold;
    padding-right: 24px;
}

.mx_UserSettings_profileInputCell {
    display: table-cell;
    padding-bottom: 21px;
    width: 240px;
}

.mx_UserSettings_profileInputCell input,
.mx_UserSettings_profileInputCell .mx_EditableText
{
    display: inline-block;
    border: 0px;
    border-bottom: 1px solid rgba(151, 151, 151, 0.5);
    padding: 0px;
    width: 240px;
    color: rgba(74, 74, 74, 0.9);
    font-family: 'Open Sans', Helvetica, Arial, Sans-Serif;
    font-size: 16px;
}

.mx_UserSettings_addThreepid {
    display: table-cell;
    padding-left: 0.5em;
    position: relative;
    cursor: pointer;
}

.mx_UserSettings_changePasswordButton {
    float: right;
    margin-right: 32px;
    margin-left: 32px;
}

.mx_UserSettings_logout {
    float: right;
    margin-right: 32px;
    margin-left: 32px;
}

.mx_UserSettings_avatarPicker {
    margin-left: 32px;
    margin-right: 32px;
    float: right;
    cursor: pointer;
}

.mx_UserSettings_avatarPicker_edit {
    text-align: center;
    margin-top: 10px;
}

.mx_UserSettings_avatarPicker_edit > input {
    display: none;
}
