@import '../../../style/css/fonts/lato.css';
@import '../../../style/css/fonts/fontello.css';

* {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
}

HTML {
  height: 100%;
  min-height: 100%;
  height: 100dvh;
  min-height: 100dvh;
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

BODY {
  background-color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #363636;
  overflow: hidden;
  position: absolute;
  inset: 0;
}
BODY > CENTER {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background-position: center;
  overflow: auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.todayIs {
  display: none;
}

.loginFormContainer{
  width: max(25%, 300px);
  max-width: 450px;
  background-color: #fafafa91;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
  0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 5px 15px;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width : 640px) {
  .loginFormContainer{
    width: 95%;
  }
}

.actionsBar {
  padding: 15px 15px 0 15px;
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.actionsBar .button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  outline: none;
  width: 140px;
  background-color: #434A96;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor : pointer;
  padding: 8px 5px;
}

.actionsBar .button:hover {
  background-color: #5F65A6;
}

.actionsBar .button:active {
  background-color: #3D438E;
}

.actionsBar .button > .loaderLogin {
  display: none;
}

.actionsBar .button.loading > SPAN {
  visibility: hidden;
}

.actionsBar .button.loading > .loaderLogin {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: progress;
}

.actionsBar .button.loading > .loaderLogin:before {
  --width-loader: 0.6em;
  content: '';
  display: flex;
  width: var(--width-loader);
  height: var(--width-loader);
  border-radius: 0 0 0 var(--width-loader);
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform-origin: top right;
  translate: -50% 50%;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-name: rotate-360;
}

@keyframes rotate-360 {
  0% {
    rotate: 0;
  }
  100% {
    rotate: 360deg;
  }
}

.actionsBar .button:focus-visible {
  box-shadow: 0 0 0 2px #4C9AFFFF inset;
}

input, input:-webkit-autofill {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  width: 100%;
  padding: 4px 10px;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  box-sizing: border-box;
  border: 2px solid #dfe1e6;
  border-radius: 5px;
  background-color: #fffffc;
  transition: all 0.24s;
}

input:-webkit-autofill::first-line {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
}

input:hover, input:-webkit-autofill:hover {
  background-color: #ebecf0;
}

input:focus, input:active, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  border-color: #4c9aff;
  background-color: #FFFFFC;
}

.lostPwdLink {
  margin-top: 12px;
}

.soeman-logo{
  padding: 15px 0;
}
.soeman-logo > img {
  max-height: 45px;
  max-width: 90%;
}
.poweredBy-soeman-logo> .poweredBy{
  color: #757575;
  font-size: 0.75em;
}

.poweredBy-soeman-logo{
  display: flex;
  justify-content: right;
  align-items: center;
  padding-bottom:5px;
}

.poweredBy-soeman-logo > img {
  max-height: 20px;
  max-width: 90%;
}

.logoContainer{
  padding-top: 5%;
}
.logoContainer > IMG ,.subLogoContainer> IMG{
  box-sizing: border-box;
  margin: 5px;
  max-width: 90%;
  border-radius: 5px;
}

DIV.statusBar{
  width: max(30%, 450px);
  text-align:center;
  font-style:italic;
  position: relative;
  font-size: 110%;
  margin-bottom:20px;
}

@media (max-width : 640px) {
  DIV.statusBar {
    width: 95%;
  }
}

.info {
  color: #1e5b7d;
}
.err {
  color: #690000;
}

.loginPageLabel{
  font-size: 110%;
  color: #616161;
  margin-left: 5px;
}

.loginPageAuthMethod{
  text-align:center;
  font-style:italic;
  margin:20px 0;
}

.sendpassButtonOk{
  background-color: green !important;
  cursor : auto !important;
  border-radius: 15px 15px 15px 15px !important;
}

.sendpassButtonKo{
  background-color: red !important;
  cursor : auto !important;
  border-radius: 15px 15px 15px 15px !important;
}

#pageContentLoaderBg {
  position:fixed;
  z-index:9999;
  opacity:0.70;
  text-align:center;
}

#pageContentLoader {
  background:transparent;
  color:#ffffff;
  font-weight:bold;
  text-align:center;
  padding-top:20px;
}

.highlightText{
  background-image: linear-gradient(
    -100deg, rgba(255, 255, 255, 0), yellow 25%, rgba(255, 255, 255, 0)
  );
}

.separator {
  margin: 20px;
  border-top: 1px solid #616161;
}

.oauth {
  display: flex;
  flex-wrap: wrap;
  margin: 0 15px;
  justify-content: space-around;
}

.button-oauth {
  margin: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #616161;
  border-radius: 5px;
  padding: 5px 10px;
  background-color: #fff;
  font-size: 16px;
  color: #616161;
  text-decoration: none;
  transition: background-color 200ms;
}
.button-oauth:hover {
  background-color: #E0E0E0;
}

.button-oauth > img {
  margin-right: 10px;
}