body {
  font-family: "Arial", sans-serif;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

@-webkit-keyframes bckg {
  0% {
    background-color: #333;
  }
  100% {
    background: #fff;
  }
}

@keyframes bckg {
  0% {
    background-color: #333;
  }
  100% {
    background: #fff;
  }
}

@-webkit-keyframes intro_blur {
  from {
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
  }
  to {
    z-index: 1;
    background: rgba(0, 0, 0, 0);
  }
}

@keyframes intro_blur {
  from {
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
  }
  to {
    z-index: 1;
    background: rgba(0, 0, 0, 0);
  }
}

@-webkit-keyframes intro_card {
  from {
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) scale(1);
    transform: rotateY(0deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes intro_card {
  from {
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) scale(1);
    transform: rotateY(0deg) scale(1);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

@-webkit-keyframes ping {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 0.8;
  }
  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(2.2);
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes ping {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 0.8;
  }
  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(2.2);
    transform: scale(2.2);
    opacity: 0;
  }
}

.animation-helper {
  z-index: -1; /*prevent overflow over page-scroller*/
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-animation: intro_blur ease-in-out 1s;
  animation: intro_blur ease-in-out 1s;
}

.bckg {
  background-image: url("../img/login_background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.login-container {
  width: 100vw;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.animation-container {
  -webkit-animation: intro_card ease-in-out 1s;
  animation: intro_card ease-in-out 1s;
}

.animation-ping-container {
  width: 40%;
  margin: 0 auto;
  flex-direction: row;
}

.animation-ping-item {
  flex: 1;
}

.animation-ping-delay0,
.animation-ping-delay1,
.animation-ping-delay2,
.animation-ping-delay3,
.animation-ping-delay4 {
  width: 20px;
  height: 20px;
  background-color: #00539b;
  border-radius: 35%;
  margin: 0 auto;
}

.animation-ping-delay0 {
  -webkit-animation: ping 1s ease-in-out infinite both;
  animation: ping 1s ease-in-out infinite both;
  -webkit-animation-delay: 0;
  animation-delay: 0;
}
.animation-ping-delay1 {
  -webkit-animation: ping 1s ease-in-out infinite both;
  animation: ping 1s ease-in-out infinite both;
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}
.animation-ping-delay2 {
  -webkit-animation: ping 1s ease-in-out infinite both;
  animation: ping 1s ease-in-out infinite both;
  -webkit-animation-delay: 400ms;
  animation-delay: 400ms;
}
.animation-ping-delay3 {
  -webkit-animation: ping 1s ease-in-out infinite both;
  animation: ping 1s ease-in-out infinite both;
  -webkit-animation-delay: 600ms;
  animation-delay: 600ms;
}
.animation-ping-delay4 {
  -webkit-animation: ping 1s ease-in-out infinite both;
  animation: ping 1s ease-in-out infinite both;
  -webkit-animation-delay: 800ms;
  animation-delay: 800ms;
}

.logo-container {
  width: 100%;
  flex-shrink: 0;
}

.main-logo {
  background-color: #fff;
  width: 100%;
}

.two-row {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}

.one-row {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.login-form {
  -webkit-box-shadow: 0px 3px 21px rgba(0, 0, 0, 0.8);
  box-shadow: 0px 3px 21px rgba(0, 0, 0, 0.8);
  width: 400px;
  height: 470px;
  flex-direction: column;
  -ms-flex-direction: column;
}

.login-form form {
  padding: 30px;
}

.login-content {
  background: rgba(255, 255, 255, 0.92);
  height: 100%;
}

.loginBusyIndicatorIcon {
  min-width: 100px;
  min-height: 100px;
  width: 100px;
  height: 100px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 4px solid #ffffff;
  position: absolute;
}

.loginBusyIndicatorRotate {
  -webkit-animation: rotateBusyIndicator linear 1000ms;
  -o-animation: rotateBusyIndicator linear 1000ms;
  animation: rotateBusyIndicator linear 1000ms;
  -webkit-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}
.loginBusyIndicatorBorder {
  border-right-color: #0054a6;
}

.loginBusyIndicatorFullBorder {
  border-color: #0054a6;
}

.login-info {
  width: 100%;
  height: 100%;
  flex-direction: column;
  -ms-flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.login-info .text {
  margin-top: 50%;
}

.login-info .imgInfo {
  height: 36px;
  position: absolute;
}

.login-err {
  flex: 1;
  width: 100%;
  align-items: center;
}

.login-err span {
  word-wrap: break-word;
  flex: 6;
}

.login-err .imgErr {
  height: 48px;
  flex: 1;
  margin-right: 12px;
}

.login-reconnect {
  flex-direction: column;
  flex: 1;
  width: 100%;
  align-items: center;
}

.login-reconnect span {
  word-wrap: break-word;
  flex: 1;
  text-align: center;
}

.login-reconnect .svg {
  flex: 4;
  margin: 36px;
}

.reconnect-info .reconnectBtn {
  background-color: gray;
  margin-top: 12px;
}

.reconnect-info .reconnectBtn:focus,
.reconnectBtn:active {
  background-color: rgb(70, 69, 69);
}

.reconnect-info .reconnectBtn:hover {
  background-color: rgb(70, 69, 69);
}

.input-field {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.input-field label {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  color: #00539b;
  line-height: 20px;
  font-size: 12px;
  letter-spacing: 0px;
  height: 19px;
  padding: 2px;
  padding-right: 7px;
  padding-left: 4px;
}

.input-field input {
  padding: 3px;
  font-size: 16px;
  border: 1px solid #00539b;
}

::-ms-reveal {
  display: none;
}

.password-wrapper {
  position: relative;
}

.input-password {
  padding-right: 30px;
  width: 100%;
}

.reveal-password-btn {
  position: absolute !important;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: none;
  height: 20px;
}

.reveal-password-btn svg {
  height: 20px;
  fill: #00539b;
}

.shakeOn {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  background-color: #00539b;
}

.input-field input#k2_user {
  transition: background-color 1s linear;
}

.error_message {
  font-size: 90%;
  text-align: justify;
  border: 2px #004291 solid;
  padding: 5px 2px;
  margin-bottom: 15px;
}

#notConnectMessage {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: -4px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
}

.one-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.one-column h2 {
  font-size: 1em;
  color: #00539b;
}

.two-column {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.info {
  flex-basis: 100%;
  display: inline-block;
  font-size: 11px;
}

.loginBtn {
  width: 70%;
  height: 32px;
  background-color: #3fb784;
  border: none;
  color: #fff;
}

.loginBtn:focus,
.loginBtn:active {
  background-color: #329169;
}

.loginBtn:hover {
  background-color: #3bac7c;
}

.loginBtn-container {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
}

.logo-footer {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
  text-align: right;
}

.logo-footer img {
  width: 100%;
}

.cleaner {
  display: block;
  width: 100%;
  height: 0;
  clear: both;
}

.height10 {
  height: 10px;
}

.height20 {
  height: 20px;
}

.height30 {
  height: 30px;
}

@media (max-width: 220mm) {
  .login-form {
    width: 500px;
    height: 500px;
  }

  .input-field input {
    padding: 3px;
    font-size: 18px;
  }

  .logo-footer {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
  }
}

@media (max-width: 150mm) {
  body {
    overflow-y: auto;
    margin: 0;
  }

  .info {
    min-width: fit-content;
  }

  .main-logo {
    margin-top: 5vh;
    width: 80%;
  }

  .login-form {
    width: 100vw;
    height: 100vh;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .input-field input {
    padding: 3px;
    font-size: 20px;
  }

  .bckg {
    background: transparent;
  }
}
