/*//////////////////
Connexion / inscription ////////////
//////////////////*/

#block_connect {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#choix_connect {
  display: flex;
  position: relative;
  justify-content: center;
  width: 94%;
  max-width: 600px;
}

#choix_connexion {
  display: block;
  position: relative;
  padding: 8px;
  width: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top-left-radius: 10px;
  z-index: 2;
}

#choix_connexion.active{
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
}

.choix_ic {
  display: block;
  position: relative;
  padding: 8px;
  width: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top-left-radius: 10px;
  z-index: 3;
  cursor: pointer;
  transition: all ease 0.4s;
}

.choix_ic:nth-child(2){
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
}

.choix_ic.active{
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
  background: #383838;
}

.choix_ic p{
  text-align: center;
  width: 100%;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.choix_ic.active p{
  color: #fff;
}

#block_form_connexion_inscrition{
  display: block;
  position: relative;
  justify-content: center;
  width: 94%;
  max-width: 600px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
  padding: 15px;
}

.block_form_connexion_inscription{
  display: none;
  position: relative;
}

.block_form_connexion_inscription.active{
  display: block;
}

#block_form_connexion {
  
}

#block_form_inscrition {
  
}

.block_form_connexion_inscription form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.block_form_connexion_inscription form .case_form{
  padding-top: 12px;
  margin-bottom: 15px;
  display: block;
  position: relative;
  width: 94%;
  max-width: 500px;
}

.block_form_connexion_inscription form .case_form .msg_erreur{
  color: red;
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
}


.block_form_connexion_inscription form .case_form label{
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

.block_form_connexion_inscription form .case_form input{
  border: none;
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.1);
  height: 30px;
  width: 94%;
  max-width: 500px;
  padding: 4px 8px;
  font-weight: bold;
}

.block_form_connexion_inscription form .case_form input[type="submit"]{
  background: #e84d1c;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  height: auto;
  padding: 12px 8px;
}

.block_sans_co{
 display: block;
 position: relative;
 margin-top: 10px;
 width: 100%;
}

.block_sans_co form{
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.block_sans_co form .case_sans_co{
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  position: relative;
  width: 94%;
  max-width: 500px;
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.1);
}

.block_sans_co form .case_sans_co input[type="submit"].sans_co{
  background: transparent;
  color: #383838;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
  text-transform: initial;
  height: auto;
  padding: 12px 8px;
  border: none;
}


/*//////////////////
Page compte ////////////
//////////////////*/


#liste_commandes {
  display: block;
  position: relative;
  margin-bottom: 40px;
}

#liste_commandes h2 {
  margin: 0;
  font-size: 24px;
  margin-bottom: 15px;
}

#block_liste_commandes {
  display: block;
  position: relative;
}

/* Styles pour la table */
#block_liste_commandes table {
  width: 100%;
  border-collapse: collapse;
}

#block_liste_commandes th, td {
  padding: 10px;
  text-align: center;
}

#block_liste_commandes th {
  background-color: #383838;
  color: #fff;
  transition: all ease 0.4s;
}

#block_liste_commandes tr:nth-child(even) {
  background-color: #fff;
}

#block_liste_commandes tr.single_list_cmd{
  cursor: pointer;
  transition: all ease 0.4s;
}

#block_liste_commandes tr:hover {
  background-color: #d8d8d8;
}


#adresse_commande {
  display: flex;
  justify-content: space-bewteen;
  position: relative;
  margin-bottom: 40px;
}

@media (max-width: 1020px) {
  #adresse_commande {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

#adresse_commande .case_adresse_commande{
  display: block;
  position: relative;
  width: 48%;
}

@media (max-width: 1020px) {
  #adresse_commande .case_adresse_commande{
    margin-bottom: 60px;
    width: 100%;
  }
}

#adresse_commande h2 {
  margin: 0;
  font-size: 24px;
  margin-bottom: 15px;
}

#block_adresse_commande {
  display: block;
  position: relative;
}


#block_form_adresse_commande form{
  display: block;
  position: relative;
}

#block_form_adresse_commande form.block_form_adresse_commande_panier{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#block_form_adresse_commande form.block_form_adresse_commande_panier .case_block_form_adresse_commande_panier{
  display: block;
  position: relative;
  width: 48%;
}

#block_form_adresse_commande form.block_form_adresse_commande_panier .case_block_form_adresse_commande_panier.full_l{
  width: 100%;
}

#block_form_adresse_commande form .case_form{
  padding-top: 12px;
  margin-bottom: 15px;
  display: block;
  position: relative;
  width: 94%;
  max-width: 600px;
}


#block_form_adresse_commande form .case_form.check{
  display: block;
  position: relative;
  width: 100%;
}

#block_form_adresse_commande form .case_form.check input{
  width: 30px;
  height: 30px;
  box-shadow: none;
}

#block_form_adresse_commande form .case_form.check label{
  position: relative;
  line-height: 37px;
}



#block_form_adresse_commande form .case_form .msg_erreur{
  color: red;
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
}


#block_form_adresse_commande form .case_form label{
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

#block_form_adresse_commande form .case_form input{
  border: none;
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.1);
  height: 30px;
  width: 94%;
  max-width: 600px;
  padding: 4px 8px;
  font-weight: bold;
}

#block_form_adresse_commande form .case_form input.desactiv,
#block_form_adresse_commande form .case_form input:disabled{
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

#block_form_adresse_commande form .case_form input[type="submit"]:disabled {
  display: none;
}



#block_form_adresse_commande form .case_form input[type="submit"]{
  background: #e84d1c;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  height: auto;
  padding: 12px 8px;
}


#block_form_adresse_commande form .case_form .msg_valid{
  color: green;
  font-style: italic;
  font-weight: bold;
}

#block_deconnexion{
  display: block;
  position: relative;
  margin-top: 60px;
}

#block_deconnexion a{
  text-align: center;
  width: 200px;
  background: #383838;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  height: auto;
  padding: 12px 8px;
}



/*/////////////////////////////*/
/*/////  Single commande   /////////*/
/*/////////////////////////////*/

.block_single_cmd{
  display: block;
  position: relative;
  background: #fff;
  padding: 15px;
  margin-bottom: 30px;
}

.block_single_cmd .case_single_cmd{
  display: block;
  position: relative;
  margin-bottom: 15px;
}

.block_single_cmd .case_single_cmd{
  
}

.block_single_cmd .case_single_cmd p{
  
}

.block_single_cmd .case_single_cmd p.el_cmd_titre{
  font-weight: bold;
  font-size: 18;
}


.block_single_cmd.block_details_prod{
  display: flex;
}

@media (max-width: 480px) {
  .block_single_cmd.block_details_prod{
    flex-direction:column
  }
}


.block_single_cmd.block_details_prod .img_prod{
  max-width: 120px;
  margin-right: 20px;
}

@media (max-width: 480px) {
  .block_single_cmd.block_details_prod .img_prod{
    margin-right: 0px;
  }
}

.block_single_cmd.block_details_prod .img_prod img{
  width: 100%;
}
