/* Login page background and layout */
div.login-ui {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: table;
    background: #f5f7fa;
    z-index: 20;
}

.login-ui {
    animation: fadein 0.125s linear;
    -moz-animation: fadein 0.125s linear;
    -webkit-animation: fadein 0.125s linear;
}

.login-ui p.login-error {
    display: none;
}

.login-ui.error p.login-error {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 1em;
    margin: 0.2em;
    background: #FDD;
    border: 1px solid #964040;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius: 0.25em;
    text-align: center;
    color: #964040;
}

.login-ui .login-dialog-middle {
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.login-ui .login-dialog {
    width: 100%;
    text-align: left;
    font-size: 1.25em;
    display: inline-block;
    max-width: 390px;
    padding: 40px 60px 45px 60px;
    -webkit-box-shadow: 0 3px 5px 5px rgba(0,0,0,0.05);
    box-shadow: 0 3px 5px 5px rgba(0,0,0,0.05);
    border-radius: 3px;
    border: 0;
}

.login-ui .login-dialog .buttons {
    text-align: right;
    margin: 80px 0 0 0;
}

.login-ui .login-dialog .version {
    padding: 0.5em 0;
}

.login-ui .login-dialog .version .app-name {
    font-weight: bold;
    text-align: center;
    font-size: 1.25em;
}

/* Hide stock Guacamole logo and version badge */
.login-ui .login-dialog .logo,
.login-ui .login-dialog .version .version-number {
    display: none !important;
}

.login-ui .login-fields .form-field .password-field .toggle-password {
    display: none;
}

.login-ui .login-fields .labeled-field {
    margin-top: 45px;
    display: block;
    position: relative;
    z-index: 1;
}

.login-ui .login-fields .labeled-field .field-header {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: -1;
    margin: 0.5em;
    font-size: 0.9em;
    opacity: 0.5;
}

.login-ui .login-fields .labeled-field.empty input {
    background: transparent;
}

.login-ui .login-fields .labeled-field input:focus {
    background: white;
}

.login-ui .login-dialog .login-fields input {
    display: block;
    font-family: Carlito, FreeSans, Helvetica, Arial, sans-serif;
    width: 100%;
    margin: 0;
    margin-bottom: 0.5em;
    padding: 0.5em 0.75em;
    max-width: none;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
}

.login-ui .login-dialog .buttons input[type="submit"] {
    width: 100%;
    margin: 0;
}

.login-ui.continuation .login-dialog .buttons input[type="submit"] {
    width: auto;
}

.login-ui.initial .login-dialog input.continue-login,
.login-ui.continuation .login-dialog input.login {
    display: none;
}

.login-ui.continuation .login-dialog {
    border-right: none;
    border-left: none;
    box-shadow: none;
    max-width: 6in;
}

.login-ui.continuation .login-dialog .version,
.login-ui.continuation .brand-logo,
.login-ui.continuation .brand-logo-bottom {
    display: none;
}

.login-ui.error .login-dialog {
    animation-name: shake-head;
    animation-duration: 0.25s;
    animation-timing-function: linear;
    -webkit-animation-name: shake-head;
    -webkit-animation-duration: 0.25s;
    -webkit-animation-timing-function: linear;
}

/* Brand logos */
.brand-logo {
    display: inline-block;
    width: 100%;
    margin-bottom: 40px;
}

.brand-logo-bottom {
    margin-top: 80px;
    width: 100%;
    display: inline-block;
}

/* Button colors (ecomDATA cyan) */
input[type="submit"], button, a.button {
    -webkit-appearance: none;
    text-decoration: none;
    background-color: #24b0d1;
    color: white;
    text-shadow: -1px -1px rgba(0, 0, 0, 0.3);
    font-size: 1em;
    font-weight: bold;
    font-family: Carlito, FreeSans, Helvetica, Arial, sans-serif;
    padding: 0.35em 1em;
    min-width: 5em;
    margin: 0.25em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border: 0;
    border-radius: 3px;
}

input[type="submit"]:hover, button:hover, a.button:hover {
    background-color: #1d8ca7;
}

input[type="submit"]:active, button:active, a.button:active {
    background-color: #1d8ca7;
}

input[type="submit"]:disabled, button:disabled, button.danger:disabled {
    background-color: #3C3C3C;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.75;
}
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
