.login-body {
  background-color: #003e6e;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 3px;
  right: 0;
  margin: 0;
  font-family: sans-serif;
}

#pasrel-logon-form{
  width: 283px;
}

.login-window-container {
  display: inline-block;
}

@media (max-width: 768px) {
  .login-window-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

#tblMain {
  -webkit-animation: login-window-childs-animation 0.5s forwards 0.5s;
  animation: login-window-childs-animation 0.5s forwards 0.5s;
  opacity: 0;
}

#tbl2fa {
    -webkit-animation: login-window-childs-animation 0.2s forwards 0.2s;
    animation: login-window-childs-animation 0.2s forwards 0.2s;
    opacity: 0;
}

@media (max-width: 768px) {
  #tblMain {
    -webkit-animation: mobile-login-window-childs-animation 0.5s forwards;
    animation: mobile-login-window-childs-animation 0.5s forwards;
  }
}

@media (max-width: 768px) {
    #tbl2fa {
        -webkit-animation: mobile-login-window-childs-animation 0.2s forwards;
        animation: mobile-login-window-childs-animation 0.2s forwards;
    }
}

.login-window {
  background-color: white;
  position: absolute;
  top: 0;
  bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 465px;
  -webkit-animation: login-window-appear-animation 0.5s ease forwards;
  animation: login-window-appear-animation 0.5s ease forwards;
}

@media (max-width: 768px) {
  .login-window {
    position: relative;
    border-radius: 8px;
    padding: 10px 0px;
    width: auto;
    margin: 20px;
    -webkit-animation: none;
    animation: none;
  }
}

@-webkit-keyframes login-window-appear-animation {
  from {
    width: 0px;
  }

  to {
    width: 465px;
  }
}

@keyframes login-window-appear-animation {
  from {
    width: 0px;
  }

  to {
    width: 465px;
  }
}

@-webkit-keyframes login-window-childs-animation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes login-window-childs-animation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes mobile-login-window-childs-animation {
  from {
    opacity: 0;
    -webkit-transform: translate(-20%, 0);
    transform: translate(-20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(0%, 0);
    transform: translate(0%, 0);
  }
}

@keyframes mobile-login-window-childs-animation {
  from {
    opacity: 0;
    -webkit-transform: translate(-20%, 0);
    transform: translate(-20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(0%, 0);
    transform: translate(0%, 0);
  }
}

.icta-map-world {
  width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 768px) {
  .icta-map-world {
    position: absolute;
  }
}

.icta-logo {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 75px;
}

@media (max-width: 768px) {
  .icta-logo {
    display: none;
  }
}

.login-window-icta-logo {
  width: 210px;
  margin-bottom: 65px;
  -webkit-animation: login-window-childs-animation 0.5s forwards 0.5s;
  animation: login-window-childs-animation 0.5s forwards 0.5s;
  opacity: 0;
}

@media (max-width: 768px) {
  .login-window-icta-logo {
    width: 160px;
    margin-bottom: 15px;
    -webkit-animation: mobile-login-window-childs-animation 0.5s forwards;
    animation: mobile-login-window-childs-animation 0.5s forwards;
  }
}

.icta-actions-container {
  -webkit-animation: login-window-childs-animation 0.5s forwards 0.5s;
  animation: login-window-childs-animation 0.5s forwards 0.5s;
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Les libelles francais sont plus longs que les anglais : sans repli, la
     rangee deborde de la fenetre de login. */
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (max-width: 768px) {
  .icta-actions-container {
    -webkit-animation: mobile-login-window-childs-animation 0.5s forwards;
    animation: mobile-login-window-childs-animation 0.5s forwards;
  }
}

.btn {
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    padding: 10px;
    font-weight: bold;
    border-style: solid;
    border-color: transparent;
    border-radius: 5px;
    -webkit-transition: 0.5s ease all;
    transition: 0.5s ease all;
    text-decoration: none;
    text-align: center;
    font-size: smaller;
}

.btn-primary {
  background-color: #C77E00;
  color: white;
}

.button--loading .button__text {
    visibility: hidden;
    opacity: 0;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.btn-pasrel {
  background-color: #514b63;
  color: white;
}

@media (max-width: 768px) {
  .btn {
    border-radius: 25px;
  }
}

.btn-primary:hover:not([class*="button--loading"]) {
    background-color: white;
    color: #C77E00;
    border-color: #C77E00;
}

.btn-pasrel:hover {
  background-color: white;
  color: #514b63;
  border-color: #514b63;
}

.authentication-buttons-vertical-separator {
  text-align: center;
  margin: 13px 0;
  font-size: small;
  font-weight: bold;
}

.icta-action-anchor {
  color: #C77E00;
  text-decoration: none;
  padding: 10px;
}

@media (max-width: 768px) {
  .icta-action-anchor {
    font-size: 12px;
    padding: 4px;
  }
}

.icta-action-resend-code {
    font-size: 12px;
    color: #C77E00;
}

.icta-resend-title {
    text-align: center;
    padding: 10px;
    font-size: 12px;
}
.icta-action-resend-code {
    color: #C77E00;
}

.kemp-copyright-table {
  margin-top: 10px;
}

.kemp-copyright-title {
  font-size: 12px;
}

.kemp-copyright-subtitle {
  font-size: 10px;
}

.login-content-table {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.error-message-container {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.div-password {
  position: relative;
  width: 82%;
}

#password {
  margin: 0px;
  width: 100%;
}

#toggle-password {
  position: absolute;
  top: 0;
  border-radius: 20px;
  right: 0px;
  z-index: 2;
  border: none;
  top: 2px;
  height: 30px;
  width: 30px;
  cursor: pointer;
  color: black;
  outline: none;
  background-color: lightgrey;
  transform: translateX(2px);
}

#target-png {
  width: 18px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
/* Selecteur de langue (icta-i18n.js).
   Positionne en haut a droite de la fenetre de login, qui sert de bloc
   conteneur (elle est deja position: absolute / relative selon le media). */
.icta-lang-picker {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  text-align: left;
}

.icta-lang-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #003e6e;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: bold;
}

.icta-lang-button:hover {
  background-color: #00538f;
}

.icta-lang-globe {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  -ms-flex: none;
      flex: none;
}

.icta-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 150px;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
}

.icta-lang-picker.is-open .icta-lang-menu {
  display: block;
}

.icta-lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: #333333;
  white-space: nowrap;
}

.icta-lang-option:hover {
  background-color: #f0f0f0;
}

.icta-lang-option.is-current {
  color: #003e6e;
  font-weight: bold;
}

@media (max-width: 768px) {
  .icta-lang-picker {
    top: 8px;
    right: 8px;
  }
}

.icta-pin-validity {
  text-align: center;
  padding: 2px 10px 12px 10px;
  font-size: 12px;
  color: #6b6b6b;
}
