/*
 * 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;
}
input[type="checkbox"],
input[type="radio"] {
        accent-color: #E2001A;
    }

a.button,
button,
input[type="submit"] {
    background-color: #E2001A;
    color: white;
}

a.button, button, input[type="submit"] {
    background-color: #E2001A;
    border-color: #E2001A;
    color: white;
    padding: .375rem .75rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

a.button:disabled,
button:disabled,
input[type="submit"]:disabled {
  background-color: #5C6971 !important;
  border-color: #5C6971 !important;
  opacity: inherit !important;
  color: white !important;
}

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

input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #E2001A;
    border-radius: 4px;
}

.header {
    background-color: white;
}

.header h2 {
    padding: 1rem;
    color: #5C6971;
}

.header .menu-dropdown {
    padding-left: 0.5em;
    background-color: inherit;
    border-left: none;
}

.header .menu-dropdown:hover {
    background-color: #E2001A;
}

.login-ui .login-dialog .logo {
    width: 215px;
    height: 50px;
    background-image: url('app/ext/de.dhbw-loerrach/images/logo-dhbw-loerrach.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0em;
}

.login-ui .login-dialog .version {
    padding-top: 0em;
    padding-bottom: 1em;
}

.login-ui .login-dialog .version .app-name {
    color: #5C6971;
    font-size: 0.85em;
    font-weight: normal;
    text-transform: none;
}

.login-ui .login-dialog .buttons input[type="submit"] {
    background-color: #E2001A;
    border-color: #E2001A;
}

.login-ui .welcome h2 {
    padding: 0;
    text-transform: none;
}

.login-ui .welcome p {
    font-size: 0.85em;
}

.login-ui .welcome a {
    color: #5C6971;
    text-decoration: underline;
}

.login-ui .welcome a:hover {
    color: #E2001A;
}

.menu-dropdown.open, .menu-dropdown.open:hover {
  background-color: #E2001A;
  color: white;
}

.menu-dropdown .menu-contents {
    background-color: white;
}

.menu-dropdown .menu-contents li a:hover {
    background-color: #E2001A;
    color: white;
}

.menu-dropdown .menu-contents li a.current {
  cursor: default;
  opacity: .25;
}
.menu-dropdown .menu-contents li a.current:hover {
  color: black;
}

.page-tabs .page-list li a[href]:hover,
.section-tabs li a:hover {
    background-color: #E2001A;
    color: white;
}
.page-tabs .page-list li a[href].current,
.page-tabs .page-list li a[href].current:hover,
.section-tabs li a.current,
.section-tabs li a.current:hover {
    background: #E2001A;
    color: white;
}

.recent-connections .connection:hover {
    background-color: #E2001A;
}

.recent-connections .connection:hover .caption {
    color: white;
}

.list-item .caption:hover {
    background-color: #E2001A;
}

.list-item:not(.selected) .caption:hover {
    background-color: #E2001A;
}

.list-item .caption:hover .name {
    color: white;
}

.login-ui .login-dialog {
    width: 100%;
    max-width: 4in;
    text-align: left;
    margin: 1em;
    padding: 2em;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    font-size: 1.25em;
    display: inline-block;
    color: #5C6971;
}

.login-ui .login-fields .labeled-field input:focus {
    color: #5C6971;
    border: 1px solid #5C6971;
    border-color: #FF6375;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(226,0,26,.25);
}
/*
 * 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;

}
