/*
Copyright 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_DirectorySearchBox {
    position: relative;
    border-radius: 3px;
    border: 1px solid $strong-input-border-color;
}

.mx_DirectorySearchBox_container {
    display: flex;
    padding-left: 9px;
    padding-right: 9px;
}

.mx_DirectorySearchBox_input {
    flex-grow: 1;
    border: 0;
    padding: 0;
    font-weight: 300;
    font-size: 13px;
}
input[type=text].mx_DirectorySearchBox_input:focus {
    border: 0;
}

.mx_DirectorySearchBox_joinButton {
    display: table-cell;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: $plinth-bg-color;
    border-radius: 3px;
    background-image: url('../../img/icon-return.svg');
    background-position: 8px 70%;
    background-repeat: no-repeat;
    text-indent: 18px;
    font-weight: 600;
    font-size: 12px;
    user-select: none;
    cursor: pointer;
}

.mx_DirectorySearchBox_clear_wrapper {
    display: table-cell;
}

.mx_DirectorySearchBox_clear {
    display: inline-block;
    vertical-align: middle;
    background: url('../../img/icon_context_delete.svg');
    background-position: 0 50%;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
