/* -------------
    SOMMAIRE
------------- */

/*
  	Tunnel de commande
    Auteur : Nicolas BOUDOT
    Date de Création : 22/12/13
*/

/*
  00 - GÉNÉRAL
  01 - MON ADHÉSION
  02 - RENOUVELER MON ADHESION
        Étape 1
        Étape 2
  03 - MA FICHE ADHÉRENT
*/



/* ---------------
  00 - GÉNÉRAL
--------------- */

.box.no-title .widget_title {
  display: none;
}

.box-border-radius {
  background-color: #ffffff;
  border-radius: 15px;
  margin-bottom: 50px;
  padding: 40px 40px 50px;
}

.box-border-radius__fieldset+.box-border-radius__fieldset {
  margin-top: 20px;
}

.box-border-radius__title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.box-border-radius__title::after {
  content: "";
  display: block;
  background: #979797;
  height: 1px;
  margin: 10px 0;
  width: 100%;
}



.box-border-radius__title .infos {
  position: relative;
  margin-left: 10px;
}

.box-border-radius__title .infos .label {
  font-weight: normal;
  font-size: 10px;
  position: absolute;
  left: 0;
  top: 40px;
  background-color: #444444;
  width: 240px;
  max-width: 100vw;
  padding: 12px;
  color: #fff;
  opacity: 0;
  height: 0;
  transition: 0.2s ease-in-out;
  border-radius: 8px;
}

.box-border-radius__title .infos:hover .label {
  opacity: 1;
  height: auto;
  top: 24px;
}


.btn-vert {
  cursor: pointer;
  display: inline-block;
  background: #96B622;
  color: #ffffff;
  border: 1px solid #96B622;
  border-radius: 24px;
  padding: 12px 22px;
  font-size: 15px;
  line-height: 18px;
  transition: all 0.4s;
}

.btn-vert:hover {
  background: #ffffff;
  color: #96B622;
  border: 1px solid #96B622;
}

.btn-download {
  position: relative;
  color: #686868;
  font-size: 14px;
}

.btn-download {
  position: relative;
  display: flex;
  align-items: center;
  color: #686868;
  font-size: 14px;
}

.btn-download::before {
  content: "";
  display: block;
  background-image: url(/images/extranet/telechargement.png);
  margin-right: 10px;
  width: 14px;
  height: 17px;
}

.extranet #wrapperInner {
  padding: 60px 120px;
}

.extranet #wrapperInner #container {
  width: 100%;
}

.product {
  max-width: 544px;
}


/* ----------------------
  01 - MON ADHÉSION
---------------------- */

.extranet__title {
  color: #444444;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.extranet__subtitle {
  color: #686868;
  font-size: 15px;
  margin-bottom: 15px;
}

.extranet__adherent {
  color: #000000;
  margin-bottom: 15px;
}

.membership strong {
  /* @changelog 2023-03-31 [FIX] (Nicolas) Nouvelle mise en forme pour anticipé les cas sur 2 lignes */
  display: block;
  width: 100%;
  margin-bottom: 5px;
}

.membership .btn-vert {
  margin-top: 15px;
}


/* Mes adhésions passées */
.membership .extranet__title {
  margin-bottom: 30px;
}


.card-adhesions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  margin-bottom: 5px;
  padding: 20px;
}



/* -------------------------------
  02 - RENOUVELER MON ADHESION
        Étape 1
------------------------------- */

.cart .extranet__title {
  margin-bottom: 36px;
}

.cart .extranet__adherent {
  margin-bottom: 30px;
}

/* Étapes */
#steps {
  counter-reset: number;
  margin-bottom: 35px;
  display: flex;
  flex-wrap: wrap;
}

#steps>span {
  counter-increment: number;
  margin-right: 85px;
}

@media (min-width:1200px) {
  #steps>span {
    display: flex;
    margin: 0;
    flex: 1 0 25%;
    max-width: 25%;
    align-items: center;

  }

  #steps>span:before {
    content: counter(number);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #979797;
    border-radius: 15px;
    margin-right: 10px;
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  #steps>span.active:before {
    background-color: #96B622;
    color: #ffffff;
    border: 1px solid #96B622;
  }
}
  /* cart_update_profile */

  /* @changelog 2023-02-08 [FIX] (Anne-Lyse Volant) Mise en forme du formulaire de modification de compte (202302070010) */
  #container .cart_update_profile form .row select,
  #container .cart_update_profile form .row input {
    min-height: 40px;
    border: 1px solid #D7D7D7;
    border-radius: 7px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }

  #container .cart_update_profile fieldset {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }

  #container .cart_update_profile .row .error_form {
    position: absolute;
    top: 20px;
    right: 30px;
    background-color: crimson;
    padding: 2px 8px;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
  }

  #container .cart_update_profile .row {
    position: relative;
    margin: 0;
    display: block;
    padding: 0 15px;
  }

  @media (min-width:992px) {
    #container .cart_update_profile .row {
      max-width: 46%;
      flex: 1 0 46%;
    }
  }

  /* Formulaire */
  select[name="spec_category"] {
    background-color: #f9f9f9;
    padding: 8px 15px;
  }

  #container .cart input[type="submit"] {
    background-color: #96B622;
    color: #ffffff;
    border: 1px solid #96B622;
    margin: 0;
  }

  #container .cart input[type="submit"]:hover {
    background-color: #ffffff;
    color: #96B622;
  }

  .cart #selections_cart .submit input[type="submit"][name="validcarsubmit"],
  #container .cart .submit input[type="submit"][name="ordervalidation"] {
    margin-left: 0;
  }

  /* Masquage des boutons non utilisés */
  .cart #selections_cart .submit input[type="submit"]:not([name="validcarsubmit"]) {
    display: none;
  }


  /* @changelog 2022-12-14 [FIX] (Nicolas) CSS récupérer du starter */
  #formcart table tr:nth-child(even) {
    background: #e7e9ed;
  }

  #formcart table [id*=quantity] {
    max-width: 50px;
  }

  a.send_cart {
    display: block;
    text-decoration: none;
  }

  a.send_cart:before {
    padding-right: 4px;
    content: "2";
    position: relative;
    top: 1px;
  }

  a.viewcart {
    display: block;
    text-decoration: none;
  }

  a.viewcart:before {
    padding-right: 4px;
    content: "E";
    position: relative;
    top: 1px;
  }

  a.delete_product {
    text-decoration: none;
  }

  a.delete_product span.label {
    display: none;
  }

  a.delete_product:before {
    content: "i";
    font-size: 1.4em;
    position: relative;
    top: 2px;
  }

  #payment_actions a:not([name='paymentmethod']) {
    background: #34a0da;
    color: #fff;
  }

  #payment_actions a:not([name='paymentmethod']):hover {
    background: #1e75a4;
  }

  #payment_actions a:not([name='paymentmethod']):last-child {
    background: #1e75a4;
  }

  #payment_actions a:not([name='paymentmethod']):last-child:hover {
    background: #124763;
  }

  table td.boardCategory {
    background: #34a0da;
    color: #fff;
  }



  /* -------------------------------
  02 - RENOUVELER MON ADHESION
        Étape 2
------------------------------- */

  /* Paiement */
  #payment_module {
    margin-bottom: 50px;
  }

  #payment_module .block_row {
    margin-bottom: 15px;
    margin-left: 20px;
  }

  /* Facturation */
  .cart .invoicing_address {
    margin-bottom: 50px;
  }

  .cart .invoicing_address address {
    margin-left: 20px;
  }

  .cart .delivery_address {
    margin-bottom: 30px;
  }

  /* Recevoir la confirmation (...) */
  .cart .invoicing_address .block_row {
    display: flex;
    flex-wrap: wrap;
  }

  .cart .invoicing_address .spec-additional-email {
    margin-bottom: 20px;
  }

  #container .cart .invoicing_address .block_row input[type='checkbox'] {
    margin-right: 10px;
    width: auto;
  }

  .cart .invoicing_address .block_row .condition_label {
    flex: 1;
  }

  .cart .invoicing_address .block_row .condition_label span {
    color: #9E9E9E;
    font-size: 14px;
  }

    .cart .invoicing_address .block_row .condition_label span.obligatory {
      color: #ff0000;
    }

  .cart .invoicing_address #spec_add_emails {
    margin: 20px 20px 0;
    width: 100%;
  }

  .cart .invoicing_address #spec_add_emails .spec-text-mail {
    color: #9E9E9E;
    font-size: 14px;
    margin-bottom: 5px;
  }

  .cart .invoicing_address #spec_add_emails input[type="text"] {
    background-color: #F9F9F9;
    margin: 0;
    height: 35px;
    width: 450px;
  }

  /* Submit */
  /* .cart .submit a{
    margin-bottom: 10px;
  } */
  .cart .submit {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    margin: 30px 0 15px;
  }

  #container .cart .submit input[type="submit"][name="ordervalidation"] {
    margin: 0;
    width: auto !important;
  }

  .cart .invoicing_address u a {
    color: #444444;
  }



  /* Montant de la cotisation */
  .cart_detail__table {
    margin-left: 20px;
    width: calc(100% / (9 / 4));
  }

  .cart_detail__table td {
    padding: 12px 0;
  }

  .cart_detail__table td+td {
    text-align: right;
  }

  .cart_detail__acceptation {
    margin-top: 25px;
  }

  .cart_detail__acceptation .block_row {
    display: flex;
    flex-wrap: wrap;
  }

  .cart_detail__acceptation .block_row .error {
    color: red;
    width: 100%;
  }

  #container .cart_detail__acceptation .block_row input[type='checkbox'] {
    margin-right: 10px;
    width: auto;
  }

  .cart_detail__acceptation .condition_label {
    flex: 1;
  }

  .amount.tva {
    color: #AFAFAF;
  }

  .amount.ttc {
    /* font-weight: 700; */
    border-top: 1px solid #AFAFAF;
  }

  .amount.ttc .value {
    font-size: 18px;
  }



  /* -------------------------------
  02 - RENOUVELER MON ADHESION
        Étape 3
------------------------------- */
.cart__confirmation{
  text-align: center;
}

  .cart__confirmation svg{
    margin-right:10px;
  }
  .cart__confirmation p{
    font-weight: bold;
    font-size: 20px;
  }

  .cart__confirmation h1{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #96B622;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px;
  }

  .cart__message {
    color: #646464;
    font-size: 15px;
    margin: 40px 0;
  }

  .cart__revenir a {
    display: inline-block;
    background-color: #96B622;
    color: #ffffff;
    border: 1px solid #96B622;
    border-radius: 24px;
    padding: 12px 22px;
    transition: all .4s;
  }

  .cart__revenir a:hover {
    background-color: #ffffff;
    color: #96B622;
  }


  /* -------------------------
  03 - MA FICHE ADHÉRENT
------------------------- */

  /* @changelog 2022-12-15 [TMP] (Nicolas) Intégration temporaire depuis le formualire récupérer sur DEV */

  /* Formulaire */
  .action_edit_product_file {
    max-width: 515px;
  }

  .action_edit_product_file h1+p {
    margin-bottom: 20px;
  }

  /* Img */
  .action_edit_product_file #logo_adherent {
    margin-bottom: 15px;
  }

  .action_edit_product_file #logo_adherent img {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
  }

  /* Ajouter une image */
  .add_logo_adherent {
    /* position: relative;
  width: calc(50% - 15px); */
  }

  .add_logo_adherent::before {
    /* content: "Importer un logo";
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #AAAAAA;
    border: 1px solid #CCCED6;
    width: 100%;
    height: 100%;
    z-index: 0; */
  }

  #logo_adherent_upload {
    cursor: pointer;
    /* position: relative; */
    border: 1px solid #CCCED6;
    margin-bottom: 20px;
    /* width: 250px; */
    /* height: 85px; */
    /* z-index: 1; */
  }

  /* Champs */
  .product_adherent_content {
	  flex: 1;
   /* width: auto;*/
  }

  .product_adherent_content input.error{
    border: 1px solid red !important;
  }
  .product_adherent_content label.error{
    position: absolute;
    top: -7px;
    right: 13px;
    font-size: 10px;
    color: white;
    background-color: red;
    padding: 3px 8px;
    border-radius: 50px;
  }
  .product_adherent_content .row:nth-child(2){
    display: none !important;
  }
  #container form.action_edit_product_file .row {
    margin-right: 15px;
  }

  #container form.action_edit_product_file .row input,
  #container form.action_edit_product_file .row textarea {
    margin-bottom: 10px;
    width: 500px;
    height: 35px;
  }

  #container form.action_edit_product_file #adresse_1_adherent,
  #container form.action_edit_product_file #activite_adherent,
  #container form.action_edit_product_file #college_adherent {
    margin-top: 20px;
  }

  #container form.action_edit_product_file #email_adherent,
  #container form.action_edit_product_file #tel_adherent,
  #container form.action_edit_product_file #code_postal_adherent,
  #container form.action_edit_product_file #ville_adherent {
    width: 240px;
  }

  #container form.action_edit_product_file #activite_adherent {
    font-family: 'Roboto', sans-serif;
    padding: 8px 10px;
    height: 114px;
  }

  /* Bouton */
  .btn-edit #edit-product-file,
  #container input[type='submit'] {
    display: block;
    background-color: #96B622;
    color: #ffffff;
    border: 1px solid #96B622;
    margin: 30px 15px 0 auto;
  }

  .btn-edit #edit-product-file:hover,
  #container input[type='submit'] {
    background-color: #ffffff;
    color: #96B622;
  }



  /* @changelog 2023-11-08 [FIX] (Anne-Lyse Volant) Correction dans le tunnel de commande afin de répondre aux besoins du client (202309280020) */


    .catalogLightCart .obligatory {
      color: red;
    }
    #container form #spec_add_emails .row{
      display: inline-flex;
      align-items: center;
    }
    #spec_add_emails input[type="text"].error,
    .catalogLightCart .field.error:focus,
    .catalogLightCart .field.error {
      border: 1px solid red;
      border-radius: 4px;
      outline: none;
    }
    #spec_add_emails #spec_new_mails-error,
    .catalogLightCart #spec_additional_email_user-error,
    .catalogLightCart #spec_category-error {
      margin: 0 10px;
      color: white;
      font-size: 12px;
      display: inline-block;
      padding: 3px 8px;
      border-radius: 50px;
      background-color: red;
    }


    .catalogLightCart .spec-additional-admin{
      margin-bottom: 40px;
    }

    .catalogLightCart .cart__message h2{
      font-size: 18px;
      color: #96B622;
      font-weight: bold;
      margin-bottom: 20px;
    }


    #spec_previous_page {
      margin-right: 10px;
      background: #7e7e7e52;
      padding: 12px 22px;
      border: 1px solid #817e7e00;
      color: #fff;
      font-size: 15px;
      line-height: 18px;
      border-radius: 24px;
      cursor: pointer;
      transition: all 0.4s;
    }


/* @changelog 2024-11-22 [FIX] (Anne-Lyse Volant) Description de la modification (Numéro du ticket ou de la commande) */

.turnoverMember{
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  max-width: 150px;
  height: 40px;
}
.turnoverMember input:focus{
  outline: none;
}
.turnoverMember input{
  width: 100%;
  height: 40px;
  margin: 0;
}
.turnoverMember::before {
  content: "\0020AC";
  position: absolute;
  right: 0;
  height: calc(100% - 2px);
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  padding: 0 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #96B622;
  background-color: #f9f9f9;
  font-size: 15px;
  z-index: 100;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid #D7D7D7;
  border-right: 1px solid #D7D7D7;
  border-bottom: 1px solid #D7D7D7;
}
