/*===============================================================================	
	Nalytics

	Style Sheet for login page


	� Copyright Nalanda Technology Limited, 2013-2025. All rights reserved. 
=============================================================================== 
 Change History
 
 NAL-925		JRL		08-Oct-2018
 NAL-1383		JRL		20-Jan-2020
 NAL-2927		JRL		01-May-2025
 =============================================================================== 	
*/

/* Remove default styles */
img {
	vertical-align: middle;
}

* {
	margin: 0;
	font-family: 'Arial', sans-serif;
}

span {
	display: block;
}

html,body {
	height: 100%;
	width: 100%;
	margin: 0;
	border: 0;
	padding: 0;
	background-color: #4E5B63;
	font-size: 100%;
}

/* Input */
input,
select {
	outline: none; 
	padding-left: 5px;
}

/*
** Standardize checkboxes and radio buttons
** 
** Combined solution from https://www.weirdpattern.com/standardizing-the-checkbox-and-radio-buttons-using-css-and-only-css
**
** and https://developer.mozilla.org/en-US/docs/Learn/Forms/Advanced_form_styling
**
*/

/* remove default style */
input[type="radio"],
input[type="checkbox"] {
  float: left;
  clear: both;
  margin: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
}

/*
 ** Checkbox and Radio button using border and FontAwesome
 */
input[type="radio"]::before,
input[type="checkbox"]::before {
  content: "";
  cursor: pointer;
  font-weight: 900;
  padding: 0.125em;
  margin-right: 0.125em;
  border: 1px solid #BFBFBF;
  background-color: #FFF;
  font-family: "FontAwesome";
  font-size: 10px;
  color: transparent;
}

/*
 ** Add check
 */
input[type="checkbox"]::before {
  content: "\f00c";
  border-radius: 3px;
}

/*
 ** Add circle
 */
input[type="radio"]::before {
  content: "\f111";  
  border-radius: 50%;
  font-size: 8px;
  padding: 2px;
}

/**
 * handles ie 10+
 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { 
  input[type="radio"],
  input[type="checkbox"] {
    padding: 3px;
  }

  input[type="radio"]::before,
  input[type="checkbox"]::before {
    padding: 0.15em;
  }
}

/**
 * handles checked
 */
input[type="radio"]:checked::before,
input[type="checkbox"]:checked::before {
  color: inherit;
}

/**
 * handles disabled
 */ 
input[type="radio"]:disabled,
input[type="radio"]:disabled::before,
input[type="radio"]:disabled:checked::before,
input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled::before,
input[type="checkbox"]:disabled:checked::before {
  cursor: default;  
}

input[type="radio"]:disabled,
input[type="radio"]:disabled:checked::before,
input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled:checked::before {
  color: #BBBBBB;
}

/* get rid of Safari and Chrome focus boxes and IE */
:focus, :active{
   outline-color: transparent;
   outline-style: none;
   outline: none;
}


#clientPage {
	position: absolute;
	width: 100%;
	height: 100%;
	min-width: 500px; /* Don't wrap on small screens */
	min-height: 600px;
	/*width: expression(document.body.clientWidth < 500 ? '500px' : 'auto');*/
	background-color: #4E5B63;
	scroll: hidden;
}

#scrollPage {
	position: static;
}

#version {
	display: block;
	position: absolute;
	top: 5px;
	right: 15px;
	font-size: small;
	color: #FFA725;
	cursor: pointer;
}

#centerView {
	display: block;
	position: absolute;
	width: 99%;
	height: 440px;
	top: 50%;
	margin-top: -270px;
}

#logo {
	display: block;
	position: relative;
	top: 0px;
	left: 5px;
	right: 5px;
}

#title {
	display: block;
	position: relative;
	top: 53px;
	width: 100%;
	color: #FFFFFF;
}

#environment {
	display: block;
	position: relative;
	top: 55px;
	width: 100%;
	font-size: small;
	color: #FFFFFF;
}

#loginMessage {
	display: block;
	position: relative;
	top: 290px;
	width: 100%;
	font-size: small;
	color: #FFFFFF;
}

#loginView {
	display: inline-block;
	position: relative;
	top: 80px;
	width: 99%;
}

#loginForm {
	display: block;
	width: 250px;
	margin-left: auto;
	margin-right: auto;
	color: #FFFFFF;
	background-color: #4E5B63;
	font-size: 15px;
}

#password, #username{
	width: 100%;
	padding: 3px 0px 3px 5px;
	border:1px solid #4E5B63;
	font-size: 14px;
	border-radius: 4px;
}

#cpwBtn {
	position: absolute;
	left: 50%;
	margin-left: 44px;
	margin-top: 4px;
	width: 125px;
	font-size: 12px;
	color: #FFFFFF;
	cursor: pointer;
}

/* Change Chome yellow to white */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

#submitBtn {
	display: block;
	position: absolute;
	height: 22px;
	margin-top: -23px;
	margin-left: 265px;
	border-radius: 4px;
	border-width: 0px;
}

#submitBtn:hover {
	background-color: #FAFAFA;	
}

#submitBtn:active {
	background-color: #FFFFFF;	
}

#guideLabel {
	display: block;
	position: absolute;
	bottom: 12px;
	right: 45px;
	color: #FFFFFF;
	font-size: small;
	font-weight: bold;
}

#guideForm {
	display: block;
	position: absolute;
	bottom: 10px;
	right: 15px;
	font-size: small;
}

#warningView {
	display: block;
	position: absolute;
	left: 15px;
	bottom: 35px;
	height: 80px;
	width: 500px;
	padding: 5px 5px 0 5px;
	color: #FFFFFF;
	border: 1px solid #FFA725;
}

#logBackIn {
	display: block;
    position: relative;
    top: 85px;
    width: 100%;
    font-size: 18px;
    font-weight: bold; 
    color: #FFFFFF;
    cursor: pointer;
}

#cookieForm {
	display: block;
	position: absolute;
	bottom: 5px;
	left: 110px;
	font-size: small;
}

#cookieLabel {
	display: block;
	position: absolute;
	bottom: 7px;
	left: 5px;
	color: #FFFFFF;
	font-size: small;
	font-weight: bold;
}

#footer {
	display: block;
	position: absolute;
	bottom: 2px;
	left: 5px;
	width: 350px;
	height: 20px;
	font-size: small;
	color: #FFFFFF;
	z-index: 100;
	cursor: pointer;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	vertical-align: middle;
}

/* cookieMaintenance pop-up */
#cookieMaintenancePane {
	display: none;
	position: absolute;
	top: 195px;
	left: 50%;
	margin-left: -400px;
	height: 160px;
	width: 800px;
	font-size: medium;
	border-width: 2px;
	border-style: solid;
	/*
	border-radius: 15px;
	*/
	z-index: 2000;
}

#cookieMaintenanceView {
	display: block;
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	font-size: medium;
	/*
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	*/
	background-color: #F3F3F3;
	z-index: 750;
}

#cookieMaintenanceTitle {
	display: block;
	position: absolute;
	top: 10px;
	width: 100%;
	text-align: center;
}

#cookieMaintenanceLabel {
	display: block;
	position: absolute;
	top: 60px;
	left: 10px;
}

#cookieNameBox,
#cookieValueBox,
#cookieMaintenanceSelect {
	display: block;
	position: absolute;
	top: 60px;
	left: 120px;
	width: 180px;
	z-index: 100;
}

#cookieNameBox {
	border:1px solid rgb(169, 169, 169);
	border-right: none;
	height: 17px;
}

#cookieValueBox {
	left: 330px;
	width: 440px;
}

#cookieMaintenanceSelect {
	height: 21px;
	left: 120px;
	width: 203px;	
	z-index: 50;
}

#cookieMaintenanceDeleteBtn,
#cookieMaintenanceSaveBtn,
#cookieMaintenanceGetBtn {
	display: block;
	position: absolute;
	top: 4px;
	height: 30px;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 800;
	opacity: .5;
}

#cookieMaintenanceGetBtn {
	top: 7px;
	right: 102px;
	background-image: url('../images/magnifier.webp');
}

#cookieMaintenanceSaveBtn {
	right: 69px;
	background-image: url('../images/saveblack.webp');
}

#cookieMaintenanceDeleteBtn {
	top: 5px;
	right: 34px;
	background-image: url('../images/trashcan.webp');
}

#cookieMaintenanceDeleteBtn:hover,
#cookieMaintenanceSaveBtn:hover,
#cookieMaintenanceGetBtn:hover {
	opacity: .7;
}

#cookieMaintenanceDeleteBtn:active,
#cookieMaintenanceSaveBtn:active,
#cookieMaintenanceGetBtn:active {
	opacity: 1.0;
}

.button {
	position: absolute;
	height: 25px;
	width: 25px;
	border-radius: 25%;
	cursor: pointer;
	background-repeat: no-repeat;
}

.cancel {
	display: block;
	position: absolute;
	top: 5px;
	right: 5px;
	height: 25px;
	border: none;
	cursor: pointer;
	background-image: url('../images/close.webp');
	z-index: 1000;
}
