/* Dark Theme for Apache Guacamole */

/* Login page */
.login-ui {
    background: #1a1a2e !important;
}

.login-ui .login-dialog {
    background: #16213e !important;
    border: 1px solid #0f3460 !important;
    border-radius: 8px !important;
}

.login-ui .login-dialog .header {
    background: #0f3460 !important;
    border-radius: 8px 8px 0 0 !important;
}

.login-ui .login-dialog .header h1,
.login-ui .login-dialog .header h2 {
    color: #e0e0e0 !important;
}

.login-ui .login-dialog .fields label {
    color: #b0b0b0 !important;
}

.login-ui .login-dialog .fields input {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
    border: 1px solid #0f3460 !important;
    border-radius: 4px !important;
}

.login-ui .login-dialog .buttons input[type="submit"] {
    background: #e94560 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
}

.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: #c73e54 !important;
}

/* Main navigation / home */
.home .header,
.settings .header,
.connection-list .header {
    background: #16213e !important;
}

/* Top navigation bar */
.navbar {
    background: #16213e !important;
    border-bottom: 1px solid #0f3460 !important;
}

.navbar a,
.navbar .menu-dropdown {
    color: #e0e0e0 !important;
}

/* General body / background */
html, body,
.home,
.settings,
.client,
.connection-group,
.home-ui,
.settings-ui {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
}

/* Page content */
.view-content,
.section-tabs,
.settings .settings-content,
.home .home-content {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
}

/* Headers */
h1, h2, h3, h4, h5, h6,
.section .header,
.titled-panel .title,
.panel .header {
    color: #e0e0e0 !important;
}

/* Connection list */
.connection-group .caption,
.connection .name,
.connection .protocol,
.recent-connection .name {
    color: #e0e0e0 !important;
}

.connection:hover,
.recent-connection:hover {
    background: #0f3460 !important;
}

/* Tables */
table, table th, table td {
    border-color: #2a2a4a !important;
}

table th {
    background: #16213e !important;
    color: #e0e0e0 !important;
}

table td {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
}

table tr:hover td {
    background: #0f3460 !important;
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
select,
textarea {
    background: #16213e !important;
    color: #e0e0e0 !important;
    border: 1px solid #0f3460 !important;
    border-radius: 4px !important;
}

/* Buttons */
button, .button,
input[type="submit"],
input[type="button"] {
    background: #0f3460 !important;
    color: #e0e0e0 !important;
    border: 1px solid #1a5276 !important;
    border-radius: 4px !important;
}

button:hover, .button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #1a5276 !important;
}

/* Tabs */
.section-tabs .section-tab {
    background: #16213e !important;
    color: #b0b0b0 !important;
    border-color: #0f3460 !important;
}

.section-tabs .section-tab.active,
.section-tabs .section-tab:hover {
    background: #0f3460 !important;
    color: #ffffff !important;
}

/* Sidebar */
.sidebar {
    background: #16213e !important;
    border-right: 1px solid #0f3460 !important;
}

.sidebar a {
    color: #b0b0b0 !important;
}

.sidebar a:hover,
.sidebar a.active {
    color: #ffffff !important;
    background: #0f3460 !important;
}

/* Links */
a {
    color: #5dade2 !important;
}

a:hover {
    color: #85c1e9 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #0f3460;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5276;
}

/* Panels / dialogs */
.dialog,
.modal,
.panel {
    background: #16213e !important;
    color: #e0e0e0 !important;
    border: 1px solid #0f3460 !important;
}

/* Checkboxes and labels */
label {
    color: #e0e0e0 !important;
}

/* Status indicators */
.connection .usage .active-users {
    color: #5dade2 !important;
}
/*
 * 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;

}
