/*
 * 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;
}
.login-dialog-middle {
	background-image: url('app/ext/iuem/images/iuem_background.png');
	background-size: 100vw 100vh;
	background-repeat: no-repeat;
}

.login-ui .login-dialog .logo {
	background-image: url('app/ext/iuem/images/iuem_logo.png');
	width: 10em;
	height: 6em;
	-webkit-background-size: 10em auto;
	background-repeat: no-repeat;
}

div.login-ui {
	background: #050505;
	background-color: white;
}

.login-ui .login-dialog {
	background-color: white;
	max-width: 20vw;
	padding: 1vw;
}

.login-dialog {
	box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.app-name {
	text-indent: -9999px;
	line-height: 0;
}

.app-name::after {
	content: "Bureau à distance";
	text-indent: 0;
	display: block;
	line-height: initial;
}

input[type="submit"] {
	background-color: #6d9636;
	border: 0;
	text-shadow: none;
}

#id_div_custom_html_hr {
	width: 18vw;
	max-width: 20vw;
	text-align: center;
}

#id_div_custom_html_hr p {
	display: inline-block;
	color: #ababab;
	margin-left: 2%;
	margin-right: 2%;
	text-align: center;
	vertical-align: middle;
}

#id_hr1 {
	display: inline-block;
	width: 40%;
	height: .1vh;
	border: 0;
	background: linear-gradient(to right, #fff, #778899, #fff);
	vertical-align: middle;
}

#id_hr2 {
	display: inline-block;
	width: 40%;
	height: .1vh;
	border: 0;
	background: linear-gradient(to right, #fff, #778899, #fff);
	vertical-align: middle;
}

#id_p_texte_connection_iuem {
	margin-top: 0;
	margin-bottom: 5%;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.25em;
}

#id_div_custom_html_bouton {
	display: flex;
	width: 18vw;
	max-width: 20vw;
	text-align: center;
	background-color: #0474ba;
	color: white;
	padding: 3px;
	box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

/* bouton openid-connect */
#id_div_custom_html_bouton a {
	width: 100%;
	color: white;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
	padding: .35em 1em;
}

.login-ui .sso-providers:last-child {
	display: none;
}

/* Numero de version en bas à droite  */
.version-number {
	display: none;
}

/* Masque l'authentification là où elle ne doit pas être */
form.notification.ng-pristine.ng-valid.ng-isolate-scope #id_div_custom_html_hr,
form.notification.ng-pristine.ng-valid.ng-isolate-scope #id_div_custom_html_bouton {
    display: none;
}
