/*
 * 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.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
/*
 * 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;

}
:root {
    /* Bootsrap colors */
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --info: #17a2b8;
    --dark: #242a40;
    --secondary: #6c757d;

    --hzb-rot: #d15e57;
    --hzb-blau: #184e8b;
    --hzb-cyan:#6cabe9;

    --buttonBG: #d1e109;
    --buttonBGHover: #ccdc00;

}


/* body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
} */


.login-ui .login-dialog .logo {
    background-image: url("app/ext/guacamole-HZB-Theme/images/logo.png");
    width: 100px !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.login-ui .login-dialog {
    background-color: rgb(24, 78, 139);
}

/* .login-dialog{
    background-color: transparent !important;
    border: none;
    box-shadow: none;
}    */
.login-ui {

    background-color: #184E8B !important;
    background-image: url("app/ext/guacamole-HZB-Theme/images/background.png") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    background-attachment: fixed !important;
}

input.login,
input.continue-login {
    background: var(--buttonBG);
    color: #003560;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1.4em;
}

input.login:hover,
input.continue-login:hover {
    background: var(--buttonBGHover);
}

a:link,
a:visited {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

div.app-name {
    color: #fff !important;
}

.form-field {
    background-color: #fff !important;
}

form p {
    color: #fff;
}

/* .login-dialog,
input.login {
    border-radius: 10px !important;
} */

.login-dialog {
    background-color: transparent !important;
    box-shadow: none;
    border: none;
}

/* Custom Versoin Tag*/
.hzb-version {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: .25em .75em;
    margin: .25em;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    -khtml-border-radius: .5em;
    border-radius: .5em;
    color: #000;
    background: #fff;
    font-size: .6em;
    font-style: italic;
    opacity: .5;
}

/* 
Links sind durch CSS eigentlich weiß, in der Anwendung sorgt das für weiße Schrift auf weißem Grund.
Links sind nur in Tabellen zu finden, also in einem <td> Tag -> also Schriftfarbe für alle Links in einer Tabelle auf schwarz setzen
einige Input Felder setzen default weiße Schrift -> gleiches Problem
*/
input,
td a {
    color: black !important;
}

.welcome {
    color: #fff !important;
}

/* Fehlermeldungen hatten weiße Schrift auf wießem Grund */
p.text {
    color: black;
}

div.body>p.text {
    color: white;
}

div.app-name {
    font-size: 3em !important;
    transform: 0.1s;
}


.clipboard {
    width: 100% !important;
    resize: vertical !important;
}

.caption {
    color: #000;
}

/*
Wenn js die Elemente mit passenden CSS-Klassen nicht zuverlässig entfernen kann, ist hier noch die billige Lösung:
einfach die Klassen per CSS verstecken
*/

/* .form-concurrency,
.form-load-balancing,
.form-guacd,
.form-clipboard,
.form-typescript,
.form-screenrecording,
.form-sftp,
.form-wol,
.form-audio,
.form-container,
.form-repeater,
.form-device-redirection,
.form-preconnection-pdu,
.form-recording {
    display: none;
} */

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes wiggler {
    0% {
        transform: rotate(0deg) scale(-1, 1);
    }

    30% {
        transform: rotate(10deg) scale(-1, 1);
    }

    60% {
        transform: rotate(-10deg) scale(-1, 1);
    }

    100% {
        transform: rotate(0deg) scale(-1, 1);
    }
}

.goat {
    opacity: 1 !important;
}

.goatl {
    font-size: 5em !important;
    position: fixed;
    transition: 0.5s;
    transition-timing-function: linear;
    /* ease-out;*/
    animation: wiggle 1s infinite;
}

.goatr {
    font-size: 5em !important;
    position: fixed;
    transition: 0.5s;
    transition-timing-function: linear;
    /*ease-out;*/
    animation: wiggler 1s infinite;
}

div.button {
    background-color: var(--buttonBG);
    color: #003560;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1em;
    padding: 0.3em 1em;
    text-align: center;

}

div.button:hover {
    background: var(--buttonBGHover);
}

.wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 1.5em;
    margin-top: 0.3em;
}

/* Css für Info Leiste */
.m-wrapper {
    display: inline-block;
}

.maintenance {
    border-left: var(--danger) 10px solid;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    max-width: 6in;
}

.m-icon {
    font-size: 3em;
    margin-left: 20px;
    align-self: center;
    /*transform: rotate(-36deg);*/
}

.m-info-text {
    color: black;
    /* margin: 20px 5px 20px 20px; */
    margin: 20px;
    text-align: left;
}

.m-info-text>p {
    margin: 0;
    text-align: justify;
}

.m-info-header {
    font-weight: bold;
    color: var(--danger);
    margin: 0 0 0.3em 0;
}

hr#m-line {
    color: var(--danger);
    width: 90%;
    background-color: var(--danger);
    margin: 5%;
    height: 1%;
    border: none;
}

.connection-group .icon,
.connection .icon,
.sharing-profile .icon {
    height: 4em !important;
    width: 4em !important;
    background-size: contain;
    background-repeat: no-repeat;
}
