/* ==========================================================
   OLD CODE FOR _login.jsp (commented to avoid breaking)
   ========================================================== */

/*
*	{ 
	margin:0px;
	padding: 0; 
}
body	{ 
	font-family:sans-serif;
	background: url(../images/login/login_page_bg_klb_blanc.jpg) top center no-repeat #c4c4c4;
	color: #3a3a3a;  
}
.clear	{
	clear: both; 
}

form	{ 
	width: 406px; 
	margin:auto;
	margin-top:175px !important;
	padding-top:175px !important;
}

legend	{
	display: none; 
}

fieldset {
	border: 0; 
}

.errorMessage {
	color:red;
	font-size: 10px;
	font-style:italic;
}
.errorLabel {
	color:red;
}

label	{
	width: 115px;
	text-align: right;
	float: left;
	margin: 0 10px 0 0;
	padding: 9px 0 0 0;
	font-size: 16px; 
	font-weight:bold;
}

input	{
	width: 220px;
	display: block;
	padding: 4px;
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #3a3a3a; 
	font-family:sans-serif;
}
input[type=checkbox]{
	width: 20px;
	margin: 0;
	display: inline-block; 
}

#div_legend {
	text-align:center;
	margin-top:24px;
	font-size: 12px;
	font-style:oblique; 
	margin-top:28px\9
}

.button	{
	background: url(../images/login/button_bg_klb.png) repeat-x top center; 
	border: 1px solid #999;
	-moz-border-radius: 5px; 
	padding: 5px; 
	color: black; 
	font-weight: bold;
	-webkit-border-radius: 5px; 
	font-size: 16px;  
	width: 70px; 
}
.button:hover { 
	background: #BF222D; 
	color: white;
}

.submit {
	background: url(../images/login/test-but_2.png) no-repeat; 
	color:white; 
	font-size: 14px;  
	font-weight: bold;
	width: 120px;	
	border: 1px solid #999;
	border-radius: 5px; 
	padding-top:7px;
	cursor:pointer;
}
.submit:hover { 
	background: url(../images/login/test-but_2_eclaire.png) no-repeat; 
	width: 120px; 
	color:white;
	-moz-border-radius: 5px; 
	font-weight: bold;
	border: 1px solid #999;
	padding: 5px; 
	-webkit-border-radius: 5px; 
	font-size: 14px;
	padding-top:7px;
	cursor:pointer;
}

#login_error_part {
	position: absolute; 
	width:42.5%;
	top:100px;
	left:31.5%;
}

#demo-top-bar {
	height: 74px;
	margin-left:0;
	border-width:0px;
	background-color: #C6C7C9;
	background: url(../images/logo/banniere.png) top left no-repeat #c4c4c4;
	color: white !important; 
	font-size: 16px;  
	font-family:sans-serif;
	position: relative; 
	zoom: 1; 
	width: 100% !important; 
	z-index: 6000;
	-webkit-box-shadow: 0 0 10px black;
	-moz-box-shadow:    0 0 10px black;
	box-shadow:         0 0 10px black;
	border-color:black;
	border-bottom:1px solid black\9
}
#welcome{
	padding-top:50px;
	color:white;
	font-family:sans-serif;
	font-weight:bold;
}
#demo-bar-inside {
	left:175px;
	height: 77px; 
	margin-left:145px;
}
#demo-bar-buttons {
	position: absolute; 
	left: 300px; 
	top: 7px; 
	width: 200px;
	line-height: 2.4; 
}
#demo-bar-ad {
	width: 416px; 
	position: absolute; 
	right: 0; top: 0;
}
#demo-bar-badge {
	width: 270px !important;
	height: 65px !important;
	margin: 0 !important;
	padding: 0 !important;
	color:#BF222D;
	position: absolute;
	top:4px;
}
#demo-bar-badge:before, #demo-bar-badge:after {
	display: none !important;
}

.header-button {
	display: inline-block;
	padding: 3px 15px;
	-webkit-border-radius: 18px;
	-moz-border-radius:    18px;
	border-radius:         18px;
	font: 12px "Lucida Grande", Sans-Serif;
	background-color: #b6d3f4;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#b6d3f4), to(#5483b8)) !important; 
	background-image: -webkit-linear-gradient(top, #b6d3f4, #5483b8) !important; 
	background-image:    -moz-linear-gradient(top, #b6d3f4, #5483b8) !important; 
	background-image:     -ms-linear-gradient(top, #b6d3f4, #5483b8) !important; 
	background-image:      -o-linear-gradient(top, #b6d3f4, #5483b8) !important; 
	color: white !important;
	box-shadow: inset 0 1px 1px white, 0 3px 3px rgba(0,0,0,0.6);
	border: 1px solid #9ac9ff !important;
	font-weight: 600;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
	text-decoration: none;
	margin: 0;
	position: relative;
}

.header-button:hover {
	box-shadow: inset 0 2px 6px white, 0 3px 3px rgba(0,0,0,0.6);
}

.header-button:active {
	box-shadow: inset 0 2px 6px white, 0 1px 1px rgba(0,0,0,0.6);
	top: 2px;
}

.view-source-button {
	position: fixed !important;
	top: auto !important;
	bottom: 10px;
	right: 10px;
	z-index: 100;
}
*/


/* ==========================================================
   STYLES FOR PASSWORD TOGGLE BUTTON (current login.jsp)
   ========================================================== */

/* Password field container with relative positioning */
.pwd-field {
  position: relative !important;
  display: inline-block !important;
  vertical-align: middle;
  line-height: 0;
  width: 100%; /* same width as input */
}

/* Input inside must leave space for the button */
.pwd-field input {
  padding-right: 34px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  display: block !important;
}

/* Button inside input, vertically centered */
.pwd-toggle {
  position: absolute !important;
  right: 2px;
  top: 50%;
  margin-top: -15px;   /* adjusted for proper centering */
  width: 28px;
  height: 28px;

  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;

  color: #777;
  opacity: 0.85;

  /* avoid Bootstrap button effects */
  box-shadow: none !important;
  outline: none !important;
  z-index: 10;
}

/* Icon centered */
.pwd-toggle i {
  line-height: 28px;
  font-size: 14px;
}

/* Hover / focus (clean) */
.pwd-toggle:hover {
  opacity: 1;
  color: #333;
}

.pwd-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}