#login-button {
    display: block;
    margin: 2em auto;
}

.rechnung {
    color: #444;
    font-family: 'Helvetica Neueu', Helvetica, Arial, sans-serif;
}

.rechnung button {
    cursor: pointer;
    padding: 8px 12px;
}

.rechnung button.small {
    font-size: 12px;
    padding: 6px 12px;
}

.rechnung table {
    border: 1px solid #ddd;
    padding: 6px;
}

.rechnung table th {
    text-align: left;
}

.rechnung table th,
.rechnung table td {
    padding: 6px 24px;
}

.rechnung .login-bar {
    background: #bbb;
    display: flex;
    font-size: 12px;
    height: 24px;
    justify-content: flex-end;
    left: 0;
    line-height: 24px;
    padding: 0 20px;
    position: fixed;
    right: 0;
    top: 0;
}

.rechnung .login-bar button {
    background: none;
    border: none;
    display: inline-block;
    margin-left: 12px;
    padding: 0;
}

.rechnung header {
    align-items: center;
    background-color: #ddd;
    display: flex;
    height: 80px;
    left: 0;
    line-height: 80px;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    right: 0;
    top: 24px;
}

.rechnung header .logo {
    display: flex;
    font-family: monospace;
    font-size: 32px;
}

.rechnung header .logo a {
    color: #444;
    text-decoration: none;
}

.rechnung header .logo .loading-dots {
    display: none;
}

.rechnung header .logo .loading-dots[data-active="true"] {
    display: inline-block;
}

.rechnung header .logo .loading-dots span:nth-child(1) {
    animation-duration: 1s;
    animation-name: show-hide-dot-1;
    animation-iteration-count: infinite;
    visibility: hidden;
}

.rechnung header .logo .loading-dots span:nth-child(2) {
    animation-duration: 1s;
    animation-name: show-hide-dot-2;
    animation-iteration-count: infinite;
    visibility: hidden;
}

.rechnung header .logo .loading-dots span:nth-child(3) {
    animation-duration: 1s;
    animation-name: show-hide-dot-3;
    animation-iteration-count: infinite;
    visibility: hidden;
}

@keyframes show-hide-dot-1 {
    0%   { visibility: hidden; }
    25%  { visibility: hidden; }
    100% { visibility: visible; }
}

@keyframes show-hide-dot-2 {
    0%   { visibility: hidden; }
    50%  { visibility: hidden; }
    100% { visibility: visible; }
}

@keyframes show-hide-dot-3 {
    0%   { visibility: hidden; }
    75%  { visibility: hidden; }
    100% { visibility: visible; }
}

.rechnung header .flash-message {
    font-size: 14px;
    height: 50%;
}

.rechnung header .flash-message.error {
    background-color: rgba(255, 0, 0, 0.3);
}

.rechnung header .flash-message.success {
    background-color: rgba(0, 255, 0, 0.3);
}

.rechnung header .flash-message p {
    line-height: 40px;
    margin: 0;
    padding: 0 24px;
}

.rechnung header .invoices-link,
.rechnung header .settings-link {
    cursor: pointer;
}

.rechnung header .settings-link:hover {
    text-decoration: underline;
}

.rechnung header button {
    cursor: pointer;
    font-size: 18px;
    margin-left: 16px;
    padding: 6px 16px;
}

.rechnung .main {
    margin-top: 80px;
    padding: 20px;
}

.rechnung .submit-button-wrapper {
    margin: 36px 0;
    text-align: right;
}

.rechnung .invoice-form fieldset,
.rechnung .settings-form fieldset {
    border: none;
    padding: 0;
}

.rechnung .invoice-form .field input,
.rechnung .invoice-form .field textarea,
.rechnung .settings-form .field input,
.rechnung .settings-form .field textarea {
    border: 1px solid #ccc;
    padding: 6px 12px;
    width: 360px;
}

.rechnung .invoice-form .field textarea,
.rechnung .settings-form .field textarea {
    height: 120px;
}

.rechnung .invoice-form .field label,
.rechnung .settings-form .field label {
    display: block;
    margin: 12px 0;
}

.rechnung .invoice-form table input {
    border: 1px solid #ccc;
    padding: 6px 12px;
    width: 80px;
}

.rechnung .invoice-form table input.line-item-description {
    width: 360px;
}
.rechnung .invoice-form .add-line-button-wrapper {
    margin: 16px 0;
}

.rechnung .invoice-form .payment-details {
    margin: 16px 0;
}

.rechnung .invoice-form .payment-details label {
    margin-right: 16px;
}

.rechnung .settings-form .add-new-series-wrapper,
.rechnung .settings-form .add-new-tax-wrapper {
    margin: 16px 0;
}

.rechnung .invoice-form .invoice-totals-sep td {
    padding: 12px 24px;
}

.rechnung .invoice-form .invoice-totals-sep td hr {
    border: 1px solid #eee;
}

.rechnung .invoices .invoice-table tr:hover td {
    cursor: pointer;
    background-color: #fffdb7;
}
