/*
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_MessageComposer_wrapper {
    max-width: 960px;
    vertical-align: middle;
    margin: auto;
    border-top: 2px solid #e1dddd;
}

.mx_MessageComposer_row {
    display: table-row;
    width: 100%;
}

.mx_MessageComposer .mx_MessageComposer_avatar {
    display: table-cell;
    padding-left: 10px;
    padding-right: 28px;
    vertical-align: middle;
}

.mx_MessageComposer .mx_MessageComposer_avatar .mx_MemberAvatar {
    display: block;
}

.mx_MessageComposer_input {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    height: 70px;
}

.mx_MessageComposer_input textarea {
    display: block;
    font-size: 15px;
    width: 100%;
    padding: 0px;
    margin-top: 6px;
    margin-bottom: 6px;
    border: 0px;
    resize: none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    /* needed for FF */
    font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
}

/* hack for FF as vertical alignment of custom placeholder text is broken */
.mx_MessageComposer_input textarea::-moz-placeholder {
    line-height: 100%;
    color: #76cfa6;
}
.mx_MessageComposer_input textarea::-webkit-input-placeholder {
    color: #76cfa6;
}

.mx_MessageComposer_upload,
.mx_MessageComposer_hangup,
.mx_MessageComposer_voicecall,
.mx_MessageComposer_videocall {
    display: table-cell;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.mx_MessageComposer_upload object,
.mx_MessageComposer_hangup object,
.mx_MessageComposer_voicecall object,
.mx_MessageComposer_videocall object {
    pointer-events: none;
}

.mx_MessageComposer_videocall {
    padding-right: 10px;
    padding-top: 4px;
}

.mx_MessageComposer_voicecall {
    padding-right: 10px;
    padding-top: 4px;
}

.mx_MessageComposer_upload object {
    margin-top: 5px;
}
