/* *********************** CONNEXION//INSCRIPTION *********************** */

.login-box {
  width: 50vw;
}

.inscription-box {
  width: 75vw;
}

#formInscription {
    display: none;
    opacity: 0;
}

.mdp-show {
  cursor: pointer;
}

.animate-rotate {
  -webkit-animation:spin 2s linear infinite;
  animation:spin 2s linear infinite;
}
@-webkit-keyframes spin { 
  100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
  100% { 
      -webkit-transform: rotate(360deg); 
      transform:rotate(360deg); 
  } 
}

.slide-out {
  animation: slideOut 0.3s forwards ease-in;
}

@keyframes slideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}

.slide-in {
  animation: slideIn 0.4s forwards ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

[id^="formInscription-p"] {
    display: none;
    opacity: 0;
    position: relative;
}

.panel-active {
    display: block !important;
    opacity: 1;
}

.slide-in-right {
    animation: slideInRight .35s ease-out forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-out-left {
    animation: slideOutLeft .35s ease-in forwards;
}

@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-40px); }
}

.slide-in-left {
    animation: slideInLeft .35s ease-out forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-out-right {
    animation: slideOutRight .35s ease-in forwards;
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* *********************** CONNEXION//INSCRIPTION *********************** */

/* *********************** PLATEFORME *********************** */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    flex-shrink: 0;
}

.fade-toggle {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fade-toggle.fade-visible {
  opacity: 1;
  pointer-events: auto;
}

.fade-toggle.d-none {
  display: none !important;
}

#sessionstab {
  z-index:2;
}

#sessionadd {
  position: relative;
  z-index:1;
}

.session-step {
  display: none;
  opacity: 0;
  position: relative;
}

.session-step.active {
  display: block;
  opacity: 1;
}

.largeModal {
  --bs-modal-width: 60%;
}

#candidat_cnaps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

#candidat_cnaps .cnaps-num {
  text-align: center;
  min-width: calc(var(--digits, 1) * 0.75ch + 1ch);
  padding: 0.375rem 0.5rem;
}

#candidat_cnaps .cnaps-num.grow {
  flex: 1 1 120px;
  min-width: 100px;
}

#candidat_cnaps .input-group-text {
  padding: 1rem 0.5rem;
  flex: 0 0 auto;
}

#candidat_cnaps select.form-select {
  flex: 0 0 auto;
  min-width: 175px;
}

@media (max-width: 576px) {
  #candidat_cnaps {
    flex-direction: column;
    align-items: stretch;
  }

  #candidat_cnaps .input-group-text {
    display: none; 
  }
}

#nvcentre-docs {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

#nvcentre-docs.open {
    opacity: 1;
    max-height: 1000px;
}

/* *********************** PLATEFORME *********************** */

/* *********************** AD *********************** */

.hcard {
  margin: 0 0.5rem 0 0;
  padding: 0;
  line-height: 0.85;
  font-size: 4.5rem !important;
}

/* *********************** AD *********************** */

#partnerSuggestions {
    max-height: 250px;
    overflow-y: auto;
}