﻿@font-face {
  font-family: 'OpenSans';
  src:url("webwb/pxfont-OpenSans-Regular.woff2?") format("woff2"),
  url("webwb/pxfont-OpenSans-Regular.woff?") format("woff");
  font-weight: 400;
  font-style: normal
}
@font-face {
  font-family: 'OpenSans';
  src:url("webwb/pxfont-OpenSans-Bold.woff2?") format("woff2"),
  url("webwb/pxfont-OpenSans-Bold.woff?") format("woff");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Budicons";
  src:url("webwb/px-font-pega-icons.woff2?") format("woff2"),
  url("webwb/px-font-pega-icons.woff?") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing:border-box;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  text-align: center;
  background-repeat: no-repeat;
  background-color: rgb(31,37,85);
  color:#FFF;
  padding: 0 14px;
  -webkit-tap-highlight-color: transparent
}

form {
  display: flex;
  height: 100vh;
  min-height: 480px;
  flex-direction: column;
  text-align: center;
}
#login {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

body,
input,
button {
  font: 14px/1.5 'OpenSans', sans-serif;
  font-weight: 400;
  font-style: normal;
}
.content-container {
  flex-direction:column;
  /*display:flex;*/
  flex-wrap:nowrap;
  flex-grow:1;
  margin-top: 44px;
}
.logo {
  width: 280px;
  -ms-interpolation-mode: bicubic;
  margin: 9% auto 0 auto;
}

.logo-container:after {
  font-family: OpenSans,sans-serif;
  font-weight: 400;
  word-spacing: 1px;
  line-height: 26px;
  font-size:26px;
  color:#FFF;
  display:block;
}

.field {
  display: flex;
  text-align: left;
  background-color: #FFF;
  overflow: hidden;
  border:solid 1px transparent;
  border-radius:2px;
}

.field > input {
  padding: 0 14px;
  text-align: left;
  color: #1F2555;
  font-size: 14px;
  background: transparent;
  flex: 1;
  height: 44px;
  margin: 0;
  border:none;
}

::-webkit-input-placeholder {
   color: #aaa;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #aaa;
}

:-ms-input-placeholder {
   color: #aaa;
}

input:focus {
  outline: none;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset;
}

#version {
  color: #FFF;
  font-size: 14px;
  text-shadow: none;
  font-weight: 400;
  margin: 0 0 10px 0;
}

#login,
footer {
  text-align: center;
  position: relative;
}

.field.user, .field.passwordChange {
  margin: 4px 0;
}

.field.passwordChange {
  margin-top: 4px;
}

.field.passwordStrength {
  background:#D6F1FB;
  border-color:#9fd5ea;
}

.field.passwordChangeFail {
  margin-top: 4px;
}

.field.passwordChangeOK {
  margin-top: 4px;
}
.field.password.solo {
  margin-top: 4px;
}

#passwordStrengthLabel {
  font: 14px 'OpenSans', sans-serif;
  color: #FFF;
  margin-top: 5px;
  margin-left:10px;
}

#error,
#info {
    margin:4px 0;
    color: #A6020D;
    background: #FFD9DB;
    padding: 14px 0;
    font-size: 0.9em;
  	border-radius:2px;
    border: solid 1px transparent;
}

.label {
  font: 14px 'OpenSans', sans-serif;
  color: #95a5a6;
}

.field > label {
  background:rgba(31, 37, 85, .07);
  font-size:13px;
  color:rgba(31, 37, 85, .75);
  display: flex;
  align-items: center;
  flex-basis: 130px;
}

.loginButton:before,
.field label:before {
 font-family: "Budicons" !important;
 font-style: normal !important;
 font-weight: normal !important;
 font-variant: normal !important;
 text-transform: none !important;
 speak: none;
 display: inline-block;
 vertical-align: middle;
 font-size: 24px;
 text-rendering: auto;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 transform-origin:50% 50% 0;
 -webkit-transform-origin:50% 50% 0;
 -ms-transform-origin:50% 50% 0;
}


.field > label:before {
 line-height:42px;
 height:44px;
 margin: 0 9px;
}

.field.password label:before {
  content: "\e06d";
}

.field.user label:before {
  content: "\e027";
}

.field.passwordChange label:before {
  content: "\e06d";
}

.field.passwordChangeOK label:before {
  content: "\2713";
  color: #2eb719;
}

.field.passwordChangeFail label:before {
  content: "\e06d";
  color: #f20e0e;
}

.field.passwordChangeConfirmOK label:before {
  content: "\2713";
  color: #2eb719;
}

.field.passwordChangeConfirmFail label:before {
  content: "\e06d";
  color: #f20e0e;
}

@media screen and (max-width: 600px) {
  .logo {
    width: 200px;
  } 
}


footer > p {
  color: #95a5a6;
  font-weight: normal;
  font-size: 11px;
  padding: 14px 0;
  text-transform: uppercase;
  margin:0;
}

button {
  background: #179595;
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .1s;
  width: 100%;
  padding: 10px 0;
  margin-top: 30px;
  outline: none;
  position:relative;
}
button:focus,
button:hover {
  background: #28c1b9;
  -webkit-tap-highlight-color: #28c1b9;
}
button:active {
  background: #10685a;
  -webkit-tap-highlight-color: #10685a;
}
.linkButton {
  background:none;
  font-weight:400;
  opacity:0.85;
  margin-top:14px
}
.linkButton:focus,
.linkButton:hover,
.linkButton:active {
  background:none;
  -webkit-tap-highlight-color:none;
  opacity:1;
}

.loginButton:before {
  content:'\e00d';
  position:absolute;
  right:10px;
  top:0;
  color:#FFF;
  line-height:50px;
}

#spnLoginFrgtPwd {
  font-size:16px;
  cursor:pointer;
}
#spnLoginFrgtPwd.loginButton {
  margin-top:4px;
}
#spnLoginFrgtPwd.loginButton:before {
  content:'';
}

#do_not_submit_row {
  display:none;
}

.progress-bar {
  width: 100%;
  height: 7px;
  background: #080C2C;
  border-radius: 4px;
  position: relative;
}

.progress-bar .current-progress {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: #00A6A7;
}

.progress-bar > .label {
  display: block;
  margin-top: 7px;
  color: #FFF;
  font-weight: 400;
  font-size: 12px;
}

div.progress-bar.hidden {
  display: none;
}

/*  styling fingerprint authenticator checkbox */

.iOS {
  display:flex;
}

.iOS .label {
  text-align: left;
  min-height: 42px;
  line-height: 30px;
  height: 30px;
  flex-grow: 1;
}

.iOS .checkbox [type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: 1;
}

.iOS .checkbox label,
.iOS .checkbox label::before,
.iOS .checkbox label::after {
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
    box-sizing: border-box;
    line-height: 30px;
    height: 30px;
}

.iOS .checkbox label {
    position: relative;
    padding-left: 50px;
    display: inline-block;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    min-height: 42px;
    font-size: 18px/* adjust as preferred - is not inherited */;
}

.iOS .checkbox label::before,
.iOS .checkbox label::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .15s;
}

.iOS .checkbox label::before {
    border-radius: 15px;
    border: 1px solid #ddd;
    background: #eee;
    width: 50px;
    margin-left: 0;
}

.iOS .checkbox label::after {
    border-radius: 15px;
    width: 30px;
    background: #fff;
    box-shadow: 0 0 10px -5px #999;
}

.iOS .checkbox [type="checkbox"]:not([disabled]):active+label::before {
    background: #aaa;
}

.iOS .checkbox [type="checkbox"]:checked+label::before {
  background-color: #295ED9;
  color: #295ED9;
  height: 30px;
  width: 50px;
  margin: 0;
}

.iOS .checkbox [type="checkbox"]:checked+label::after {
    margin-left: 20px;
}

.iOS .checkbox [type="checkbox"]:not([disabled]):checked:focus+label::before,
.iOS .checkbox [type="checkbox"]:not([disabled]):checked:active+label::before {
    border: 2px solid #10387B;
}

.iOS .checkbox [type="checkbox"]:not([disabled]):focus+label::before,
.iOS .checkbox [type="checkbox"]:not([disabled]):active+label::before {
    border: 2px solid #aaa;
}

.iOS .checkbox [type="checkbox"]:not([disabled]):checked:active+label::before {
    background: #0D2F68;
}

.iOS .checkbox [type="checkbox"]:not([disabled]):active+label::after {
    background: #ddd;
}

.iOS input[type='checkbox']:not([disabled]):focus.checkbox:checked + label:before,
.iOS input[type='checkbox']:not([disabled]):active.checkbox:checked + label:before {
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.3);
}

/*  styling fingerprint authenticator row */

#fingerprintAuthenticator_checkbox_row {
  margin-top: 0.5em;
}

/* Logs container */

#paddingContainer{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  display: none;
  z-index: 30645;
}

#logsContainer{
  width: 100%;
  height: 100%;
  z-index: 30646;
  background-color: #ffffff;
  opacity: 1;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  display: none;
  position: relative;
}

#logsContainerBackground{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 30644;
  background-color: #000000;
  opacity: 0.5;
  display: none;
}

#closeLogsContainer{
  height: 18px;
  font-size: 26px;
  font-family: Helvetica;
  font-weight: 400;
  display: block;
  line-height: 20px;
  float: right;
  margin-right: 5px;
  text-align: center;
}
#loadMoreLogs{
  width: 140px;
  margin: 10px auto;
}
.lastCell, .loadCell{
  text-align: center;
  width: 40%;
  font-weight: 400;
}
.closeCell{
  width: 20%;
}
.lastCell p{
  margin: 18px;
}
.lastCell, .loadCell, .closeCell{
  color: #525559;
}
.resultCell{
  text-align: center;
  padding: 10px 0;
  height: 100%;
}
.levelCell{
  text-align: center;
  font-weight: 400;
  color: #525559;
}
#logsTable{
  width: 100%;
  height: 100%;
}
.logsHeader{
  float: left;
}
#resultTextarea{
  width: 98%;
  height: 100%;
  overflow: scroll;
  word-break: break-all;
  font-size: 10px;
  font-family: monospace;
}
.smallButton{
  color: #000;
  font-weight:800;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 8px;
  margin: 10px;
}
.inactive{
  background-color: rgba(255, 255, 255, 0.25);
}
.logsLayoutRow{
  width: 100%;
  clear: both;
  overflow: hidden;
  position: absolute;
}
.rowBorder{
  border-top: 2px solid #525559;
  border-bottom: 2px solid #525559;
}
#logsRow2{
  top: 55px;
  bottom: 50px;
}
#logsRow3{
  bottom: 0px;
}
.textUnderline{
  text-decoration: underline;
}
.disabled{
  background: rgba(255, 255, 255, 0.25);
}
.changePasswordText {
  font-weight: 800;
  line-height:30px;
}
.passwordStrength {
  padding-bottom:14px;
}