/* Colour codes used */
/*    Guacamole grassy green: #ef3b32 */
/*    Warning red #ff2233 */
/*    Main background charcoal #3f3f3f */
/*    Input fields dark charcoal #2b2b2b */
/*    Login dialog background black #000000 */
/*    All text: #ececec */


/* General Style */
body {
    color: #ececee; 
    background-color: #3f3f3f;
}
pre {
    color: #ececee;
    background-color: #2b2b2b;
    border: 1px solid #000000;
}

a[href]:visited {
    color: #ffffff;
}
a[href] {
    color: #ececee;
}

div.location,
input[type=text],
input[type=email],
input[type=number],
input[type=password],
textarea {
    background-color: #2b2b2b;
    color: #ececec;
}
/* FIN General Style */

/* Login */
div.login-ui {
    background-image: url('app/ext/tempnamespace/images/LGL_Camion.jpg');
    color: #c7baba;
    background-color: #3f3f3f;
    background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
    display: flex; /* Permet de placer les différentes div*/
    flex-direction: column; /* Placement en colonne */
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    min-height: 100vh;       /* Assure que le conteneur occupe toute la hauteur de la page */
}

.login-ui .login-dialog .version .version-number {
    display : none;
}

.login-ui .login-fields .labeled-field input:focus {
    background-color: #3f3f3f;
    color: #ececec;
}

.login-ui .login-fields .labeled-field {
    background-color: #3f3f3f;
    color: #eceece;
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/tempnamespace/images/LGL_Bastion.png');
    width: 7em;
    height:	7em;
    -webkit-background-size: 7em auto;
}

.login-ui .login-dialog {
	background-color: rgb(255, 255, 255, 0.5);
	backdrop-filter: blur(2px);
}


.login-ui .login-dialog .version .app-name { /* Texte LGL Bastion */
    font-weight: 300;
    text-transform: none;
    text-align: center;
    font-size: 1.8em;
    color: #3f3f3f;
    font-family: arial black, sans-serif;
}

div.logged-out-modal .ng-scope {
    color: #ececec;
    background-color: #000000;
}

div.logged-out-modal .ng-scope button {
    color: #ececec;
    background-color: #3f3f3f;
    border: 1px solid #ececec;
}

div.modal-contents {
    color: #ececec;
    background-color: #3f3f3f;
}

.logged-out-modal guac-modal {
    color: #ececec;
    background-color: #3f3f3f;
}

div.notification.ng.scope {
    border: 1px solid #ececec;
}

.notification.error {
    background-color: #ff2233;
}

.client-status-modal .notification.error {
    background-color: #ff2233;
}

button.danger {
    background: #ff2233;
 }

.login-ui.error p.login-error {
    color: #ececec;
    background-color: #ff2233;
}

 /*** "Bouton" SAML ***/
.login-ui .sso-providers {
    /* Placement du DIV contenant le lien SAML*/
    display: block;
    position: static !important;

    /* Masque le texte contenu dans le DIV */
    visibility: hidden;
}

.login-ui .sso-providers .sso-provider-list {
    /* Placement du DIV contenant la liste avec le lien SAML*/
    display: block;
}

.login-ui .sso-providers .sso-provider-list .sso-provider a{
    /* Affiche le contenu du lien SAML uniquement et le place */
    visibility: visible;
    display: block;

    /* Style "bouton" pour le lien SAML */
    text-decoration: none; /* Retire de soulignement */
    background-color: #ff2233; /* Couleur de fond du bouton */
    color: #ffffff;            /* Couleur du texte */
    padding: 10px 20px;        /* Ajuste l'espace interne du bouton */
    border-radius: 5px;        /* Coins arrondis */
    text-align: center;        /* Centrage du texte */
    cursor: pointer;           /* Curseur en forme de main pour un effet de bouton */
    transition: background-color 0.3s ease; /* Transition douce pour le survol */
    font-size: 27px; /* Taille du texte du lien */
    font-weight: bold; /* Texte du lien en gras */
}

.login-ui .sso-providers .sso-provider-list .sso-provider a::before{
    /* Ajoute le mot "Connexion" devant le lien SAML et style du texte */
    content: url('app/ext/tempnamespace/images/Microsoft_logo.png') " Connexion ";
    font-size: 27px;
    font-weight: bold;
}

.login-ui .sso-providers .sso-provider-list .sso-provider a:hover {
    /* Change la couleur de fond au survol du lien SAML*/
    background-color: #ef3b32;
}
 /*** Fin "Bouton" SAML ***/

/* FIN Login */

/* Home */
.recent-connections .connection:hover {
    background-color: #ef3b32;
}

.menu-dropdown .menu-contents {
    background-color: #2b2b2b;
}
.menu-dropdown .menu-contents li a {
    color: #ececec;
}
.menu-dropdown .menu-contents li a:hover {
    background-color: #ef3b32;
}

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

.settings.connections .connection-list .new-sharing-profile {
    opacity: .6;
}

.notification {
    color: #ececec;
    background-color: #2b2b2b;
}


/* Menus */
.menu {
    color: #ececec;
    background-color: #3f3f3f;
}

.clipboard,
.clipboard-service-target {
    background-color: #2b2b2b;
    color: #ef3b32;
}

.menu-dropdown .menu-contents li a.danger {
    color: #ececec;
    font-weight: 700;
    background-color: #ff2233;
}

/* Connections */
#connection-warning {
    background-color: #3f3f3f;
}

.transfer-manager {
    background-color: #2b2b2b;
}
.transfer.error {
    background-color: #ff2233;
}


/* Settings */
.page-tabs .page-list li a[href],
.section-tabs li a {
    color: #ececec;
}
.page-tabs .page-list li a[href]:hover,
.section-tabs li a:hover {
    background-color: #ef3b32;
}
.page-tabs .page-list li a[href]:visited {
    color: #ececec;
}

.settings table.session-list tr.session:hover {
    background-color: #ef3b32;
}

.location-chooser .dropdown {
    background-color: #2b2b2b;
}

.settings.connectionHistory a.history-session-recording {
    color: #ef3b32;
}

.settings.connectionHistory a.history-session-recording:after {
    opacity: .0;
}

.user a,
.user-group a,
.connection a,
.connection-group a {
    color: #ececec;
}
.user a:hover,
.user-group a:hover,
.connection a:hover,
.connection-group a:hover {
    color: #ececec;
}
.user a:visited,
.user-group a:visited,
.connection a:visited,
.connection-group a:visited {
    color: #ececec;
}

.manage-user .notice.read-only {
    color: #ececec;
    background-color: #2b2b2b;
}

#filesystem-menu .header.breadcrumbs .breadcrumb:hover {
    background-color: #ef3b32;
}

#guac-menu #zoom-out:hover,
#guac-menu #zoom-in:hover {
    background-color: #ef3b32;
}/*
 * 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;

}
/*
 * 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;
}
