/*
 Copyright (C) 2017 Jan-Dirk van Dingenen
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

.account {
    position: absolute;
    top: 0px;
    right: 10%;
    background-color: #313131;
    border-radius: 0 0 10px 0;
    padding: 5px 10px 15px 10px;
    color: #feffcc;
    transition: all 1s;
    z-index: 5000;
    box-shadow: 5px 2px 10px #484848;
    border: outset 1px #feffcc;
    border-top: none;
}

.account.closed {
    transform: translate(0,-100%);
}

.account.closed:hover {
    transform: translate(0,-95%);
}

.accountHead {
    margin-bottom: 5px;
    font-size: 110%;
    text-decoration: underline;
}

.accountRow {
    height: 30px;
}

.accountValue {
    width: 173px;
}

.accountLabel, .accountValue {
    display: inline-block;
}

.accountLabel {
    width: 120px;
    margin: 5px 0px;
}

.accountTab {
    position: absolute;
    bottom: -27px;
    background-color: #313131;
    left: -1px;
    padding: 5px 10px;
    border-radius: 0px 0px 5px 5px;
    cursor:pointer;
    border: outset 1px #feffcc;
    border-top: none;
}

input.accountField {
    border: solid 1px #979a00;
    padding-left: 3px;
    background-color: #feffcc;
    border-radius: 3px;
    outline:none;
}

input.accountField:focus {
    background-color: #fff;
    border: solid 1px #ffffff;
}

input.accountField:hover {
    border: solid 1px #ffffff;
}

.accountValue button {
    border: solid 1px rgb(136, 123, 56);
    background-color: rgb(60, 58, 42);
    border-bottom: 3px solid rgb(128, 107, 0);
    padding: 4px 10px;
    border-radius: 4px;
    color: rgb(232, 195, 0);
    outline: none;
    background-position: -152px -85px, 0 0;
    transition: background-position 0s ease;
    font-family: monospace;
}

.accountValue button[disabled] {
    filter: grayscale(100%);
}

.accountValue button:not([disabled]):hover, .accountValue button:not([disabled]):focus {
    cursor:pointer;
    filter: brightness(125%);
}

.accountValue button:not([disabled]):active {
    border-bottom-width: 1px;
}

.accountUpdate {
    float:right;
}

.accountError {
    color: #f00;
}

.smallSpan {
    font-size:70%;
}