/* ============================================================
   FORTIUM SUBSCRIPTIONS
   ============================================================ */

/* ------------------------------------------------------------
   Actions
   ------------------------------------------------------------ */


.fortium-subscriptions-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

}



.fortium-subscriptions-actions>.btn {
  width: 100%;
  min-width: 0;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fortium-subscription-form label[for] {
  font-size: 0.8rem;
  margin-bottom: .3rem;
}

/* ------------------------------------------------------------
   Desktop
   ------------------------------------------------------------ */

@media (min-width: 768px) {


  .fortium-subscriptions-actions {
    flex-direction: row;
  }


  .fortium-subscriptions-actions>.btn {
    flex: 1 1 0;
    width: 0;
  }
}

.fortium-password-field {
  position: relative;
}

.fortium-password-field .form-control {
  padding-right: 3rem;
}

.fortium-password-field .fortium-password-toggle {
  position: absolute;
  z-index: 5;

  top: 50%;
  right: .75rem;
  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  color: #555;
  opacity: .65;

  cursor: pointer;
}

.fortium-password-field .fortium-password-toggle:hover,
.fortium-password-field .fortium-password-toggle:focus {
  color: #000;
  background: transparent;
  opacity: 1;
  box-shadow: none;
}

.fortium-password-field .fortium-password-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}




/* ============================================================
   HEADER : COMPTE + PANIER
   ============================================================ */

.fortium-header-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.fortium-header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;

  padding: 0;

  border: 0;
  background: none;

  color: inherit;
  text-decoration: none;

  cursor: pointer;

}

.fortium-header-action:hover,
.fortium-header-action:focus {
  color: var(--brand-secondary);
  background-color: none !important;
}

.fortium-header-action svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}

.user-dropdown .fortium-header-action svg {
  transform: scale(1.25);
}

.fortium-header-action svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}




/* ============================================================
   TABLEAUX FORTIUM
   ============================================================ */

.fortium-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;

  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  line-height: 1.35;

  color: #333;
}


/* ------------------------------------------------------------
   EN-TÊTES
   ------------------------------------------------------------ */

.fortium-table thead th {
  padding: .55rem .7rem;

  border: 0;
  border-bottom: 1px solid #cfcac0;

  background: transparent;

  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;

  color: #666;

  text-align: center;
  vertical-align: middle;
}


/* ------------------------------------------------------------
   CELLULES
   ------------------------------------------------------------ */

.fortium-table tbody td {
  padding: .7rem;

  border: 0;
  border-bottom: 1px solid #e5e1da;

  vertical-align: middle;
}


/* ------------------------------------------------------------
   DERNIÈRE LIGNE
   ------------------------------------------------------------ */

.fortium-table tbody tr:last-child td {
  /* border-bottom: 0; */
}


/* ------------------------------------------------------------
   SURVOL
   ------------------------------------------------------------ */

.fortium-table tbody tr {
  transition: background-color .15s ease;
}

.fortium-table tbody tr:hover {
  background: rgba(0, 0, 0, .025);
}


/* ------------------------------------------------------------
   TEXTES SECONDAIRES
   ------------------------------------------------------------ */

.fortium-table .text-muted {
  display: inline-block;

  margin-top: .15rem;

  font-size: .82rem;
  line-height: 1.25;

  color: #777 !important;
}


/* ------------------------------------------------------------
   VALEURS À NE PAS COUPER
   ------------------------------------------------------------ */

.fortium-table .text-nowrap {
  white-space: nowrap;
}


/* ------------------------------------------------------------
   MENU DE L'ESPACE SOUSCRIPTIONS
   ------------------------------------------------------------ */
.fortium-subscriptions-menu {
  margin-bottom: 40px;
  background-color: white;
  padding: 0 1rem;
  border: 1px solid var(--brand-secondary);
  border-radius: 1rem;
}

.fortium-subscriptions-menu ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;

}

.fortium-subscriptions-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.fortium-subscriptions-menu li:last-child {
  border-bottom: none;
}

.fortium-subscriptions-menu li a {
  position: relative;
  display: block;
  padding: 13px 34px 13px 0;

  color: #1b1b1b;
  text-decoration: none;

  font-size: 0.9rem;
  line-height: 1.3;

  transition:
    padding-left 0.2s ease,
    color 0.2s ease;
}

.fortium-subscriptions-menu li a:hover {
  color: var(--brand-secondary);
}

.fortium-subscriptions-menu li a::after {
  content: "→";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);

  opacity: 0.35;
  transition:
    right 0.2s ease,
    opacity 0.2s ease;
}

.fortium-subscriptions-menu li:hover a {
  padding-left: 10px;
}

.fortium-subscriptions-menu li:hover a::after {
  right: 0;
  opacity: 1;
}

.fortium-subscriptions-menu li.is-active a {
  padding-left: 14px;
  font-weight: 600;
}

.fortium-subscriptions-menu li.is-active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: currentColor;
}