/*-- Palette colorimétrique --*/
/* https://www.w3schools.com/colors/colors_picker.asp */
/*
-- Aésio -- 
#b50f7c
#e62434
-- Aquitanis --
#ed7626
-- Région Bretagne --
#999999
#262626

----------------------------

#f1f1f1
#e5e5e5
#bfbfbf
#999999
#54b2d1
#29487D
rgba(84, 178, 209,0.1)

*/
* , html, body {
  all: revert;
}

:root {
  /* Main */
  --company-main-color: #54b2d1;
  --title-color:  #595959;
  --icon-input: #595959;
  /* Input */
  --input-login-color-focus: #54b2d1;
  /* Button */
  --button-login-color: #54b2d1;
  --button-login-color-hover: #3094b5;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.flex {
  display: flex;
}

.flex-direction-c {
  flex-direction: column;
}

.background {
  background-color: var(--company-main-color);
}

.page-login {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  height: 100vh;
}

.login-company {
  /* flex-basis: 28rem; */
  flex-grow: 2;
  /*plus*/
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0px 2px 6px -1px rgb(0 0 0 / 12%);
}

.login-main {
  flex-basis: 0;
  /* flex-grow: 999; */
  flex-grow: 12;
  min-width: 50%;
  /*plus*/
  align-self: center;
  margin: 4rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
}

/* Left */
.login-img-case {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  max-width: 260px; /*260px*/
  height: auto;
  padding: 30px;
  border-radius: 36px;
}

/* Right */
.login-case {
  width: fit-content;
  width: -moz-fit-content;
  background-color: white;
  padding: 2.5rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  border-radius: 4px;
  /* box-shadow: 0px 2px 6px -1px rgb(0 0 0 / 12%); */
  /* box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24); */
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px; */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  max-width: 300px;
}

/* Title */
.login-title {  
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  margin-bottom: 30px;
  font-family: inherit;
  color: var(--title-color);
}

/* Input */
.input-container {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  width: 100%;
  position: relative;
}

.login-input-icon {
  padding: 17px 7px 10px 1px;
  background: white;
  color: black;
  text-align: center;
  font-size: 18px;
}

.input-field {
  background-color: rgba(229, 229, 229, 0.3);
  width: 100%;
  outline: none  !important;
  border: none;
  color: #0d0d0d;
  padding: 7px 26px 6px 10px;
  font-size: 16px;
  margin: 6px 0px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.9);
  transition: all 0.5s ease-in-out;
  margin-left: 5px;
  height: fit-content;
  height: -moz-max-content;
  box-shadow: none;
  border-radius: 0;
}

.input-field:focus {
  background-color: #ffffff;
  border-bottom: 1px solid var(--input-login-color-focus);
  outline: none !important;
  box-shadow: none;
}

.input-field::placeholder {
  color: #b3b3b3;
  font-size: 15px;
}

.login-icon-right {
  position: absolute;
  right: 0;
  padding: 0;
  margin-top: 16px;
  margin-right: 5px;
  font-size: 13px;
  background-color: transparent;
}

.login-icon-color {
  color: var( --icon-input);
}

.icon-lock-red {
  color: #dc3545;
}

/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  /* border: 1px solid green; */
  /* -webkit-text-fill-color: green; */
  -webkit-box-shadow: 0 0 0px 100px rgba(229, 229, 229, 0.3) inset;
  /* transition: background-color 5000s ease-in-out 0s; */

  appearance: menulist-button;
  background-color: rgba(229, 229, 229, 0.3) !important;
  background-image: none !important;
  color: -internal-light-dark(black, white) !important;
}

/* Text */

.login-text {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 8px;
  cursor: pointer;
  color: #595959;
}

.btn-action {
  background: #fefefe;
  border-radius: 4px;
  box-shadow: none;
  color: #595959;
  padding-bottom: 0;
  padding-right: 0;
  padding-left: 0;
  padding-top: 0;
  --ripple-color: #fefefe;
  margin: 2px 0px;
  width: 100%;
  height: 20px;
  border: none;
  text-align: start;
}

.btn-action:active {
  background: #fefefe;
  color: #0d0d0d;
}

.btn-action:focus {
  background: #fefefe;
  color: #0d0d0d;
}

.btn-action:hover {
  background: #fefefe;
  color: #0d0d0d;
}

.login-txt-criteria {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 2px;
}

.login-text-space {
  margin-top: 15px;
  padding-bottom: 0;
  /* padding-top: 10px; */
  padding-left: 2px;
}

.login-text-criteria {
  margin-right: 5px;
  margin-top: 4px;
}

.login-p span i.fa, .test {
  color: var(--icon-input);
  font-size: 18px;
  line-height: 46px;
  transition: all 0.5s ease-in-out;
  vertical-align: middle;
}

.field-icon {
  float: right;
  margin-left: -18px;
  position: relative;
  z-index: 2;
  color: var(--title-color);
  font-size: 24px;
  line-height: 46px;
  transition: all 0.5s ease-in-out;
}

/* Criteria */
.login-title-criteria {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Button */
.login-button-box {
  display: flex;
  justify-content: center;
}

.login-log-button {
  background: var(--button-login-color);
  border: none;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  /* font-size: 13px; */
  font: 400 13.3333px Arial;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  /*plus*/
  width: 100%;
  /*after*/
  border-radius: 0px;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.login-log-button:hover, .login-log-button:focus   {
  background: var(--button-login-color-hover) !important;
  text-decoration: none;
  color: white;
}

.login-log-button:focus {
  outline: none !important;
  outline-offset: 0px;
}

.login-log-button:active {
  transform: scale(0.99);
}

.login-log-button[disabled] {
  background: var(--button-login-color) !important;
}

.login-log-button[disabled]:hover {
  background: var(--button-login-color) !important;
}

.login-txt-exp {
  padding: 7px;
  max-width: 250px;
  margin: 11px 0px;
  font-weight: 400;
  line-height: 18px;
  font-size: 11px;
  border-radius: 4px;
}

.login-btn-reset {
  background: #fff;
  border: none;
  color: #333;
  padding: 10px 25px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  /* width: fit-content; */
  /* align-self: center; */
  transition: all 0.5s ease-in-out;
  border: 1px solid #ccc;
  font: 400 13.3333px Arial;
}

.login-btn-reset:hover {
  background-color: #e6e6e6;
  border: 1px solid #adadad;
}

.login-btn-close {
  background-color: rgba(245, 61, 61,0.8) !important;
  border: none;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  /* width: fit-content; */
  /* align-self: center; */
  transition: all 0.5s ease-in-out;
  font: 400 13.3333px Arial;
}

.login-btn-close:hover {
  background-color: #f53d3d !important;
}

/* or */
.login-or {
  position: relative;
  color: #aaa;
  margin-top: 16px;
  margin-bottom: 8px;
  padding-top: 10px;
}

.hr-or {
  height: 1px;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  border-top: 1px solid #bfbfbf;
}

.span-or {
  display: block;
  position: absolute;
  left: 50%;
  top: -2px;
  margin-left: -25px;
  background-color: #fff;
  width: 50px;
  text-align: center;
}

.login-flag {
  margin-top: 14px;
  margin-left: 2px;
}

/* Fade-in Animation */
/* .underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 1px;
  background-color: var(--input-login-color-focus);
  content: "";
  transition: width 0.3s;
  margin-top: 3px;
} */

/* .underlineHover:hover {
  color: #0d0d0d;
} */

/* .underlineHover:hover:after{
  width: 100%;
} */

/* Deconnexion */
.logout-case {
  width: fit-content;
  width: -moz-fit-content;
  background-color: white;
  padding: 2.5rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  border-radius: 4px;
  /* box-shadow: 0px 2px 6px -1px rgb(0 0 0 / 12%); */
  color: #595959;
  /* box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24); */
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  min-width: 250px;
  max-width: 250px;
}

.logout-deco {
  font-size: 10pt;
  margin-bottom: 20px;
  color: #595959;
  line-height: 1.2;
  font-weight: 900;
  font-family: inherit;
}

.logout-text {
  /* margin: 0;
  line-height: 20px;
  font-size: 10.0pt; */
  /* padding: 7px; */
  text-align: justify;
  text-justify: inter-word;
  margin: 11px 0px;
  font-weight: 400;
  line-height: 18px;
  font-size: 9pt;
  border-radius: 4px;
}


/* Alert */
.login-alert {
  width: 100%;
  max-width: 234px;
  margin: 16px auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  border-radius: 2px;
  line-height: 17px;
}

.login-alert h3 {
  text-align: justify;
  text-justify: inter-word;
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  color: #262626;
  margin: 10px auto;
  line-height: 17px;
}

.login-danger-alert {
  background-color: rgba(245, 61, 61, 0.2);
  border: 1px solid rgba(226, 248, 247,0.1);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.login-info-alert {
  background-color: #e2f8f7;
  border: 1px solid rgba(245, 61, 61, 0.1);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}


/* Animations */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
  }
  100% {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
  }
}

@keyframes fadeInDown {
  0% {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
  }
  100% {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
  }
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:0.5s;
  -moz-animation-duration:0.5s;
  animation-duration:0.5s;
}

.fadeIn.zero {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

/* MEDIA */
@media (max-width: 992px) {
  .login-main {
    display: flex;
    justify-content: center;
  }
  .login-case {
    padding: 2rem;
    max-width: 240px;
    min-width: 240px;
  }
  .login-company {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .logout-case {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .page-login {
    height: auto;
  }
  .login-main {
    margin: 4rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}

.hidden_block {
	/* visibility: hidden; */
	display: none;
  /* position: absolute; 
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  height: 1px; 
  width: 1px; 
  margin: -1px; 
  padding: 0; 
  border: 0; */
}

.visible_block {
	/* visibility: visible; */
  display: block;
}

input {
  background-color: #fefefe !important;
}
input:-webkit-autofill {
  background-color: #fefefe !important;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
input:-webkit-autofill:hover {
  background-color: #fefefe !important;
}
input:-webkit-autofill:focus {
  background-color: #fefefe !important;
  outline: none;
}