/* -------------------------------------------------------------------
----------------------------------------------------------------------
								MON COMPTE
----------------------------------------------------------------------
---------------------------------------------------------------------- */

/* Tableau de bord -- Mon Compte --
---------------------------------------------------------------------- */
.account.main { display: flex; flex-wrap: wrap; padding: 0 15px; }
.account.main > article { display: flex; flex-direction: column; flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); margin: 10px; overflow: hidden; border: 1px solid var(--main-color); border-radius: 8px; }
.account.main > article.large { flex: 1 1 100%; max-width: 100%; }
.account.main > article > h2 { margin: 0; padding: 10px; text-align: center; font-size: 16px; line-height: 20px; background: var(--main-color); color: var(--alt-txt-color); font-variant: normal; }
.account.main > article > div { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1 1; padding: 15px; }
.account.main > article > div > .stats { margin-bottom: 10px; font-size: 14px; }
.account.main > article > div > .stats .nb { font-weight: bold; color: var(--main-color); }
.account.main > article > nav { text-align: center; margin-top: auto; padding: 15px; }

@media all and (max-width: 799px) {
	.account.main > article { flex: 1 1 100%; max-width: 100%; }
}

/* Mon compte - Page générique
---------------------------------------------------------------------- */
.account:not(.main) { padding: 0 15px; max-width: var(--wrap-width); margin: 0 auto; }

/* Mes adresses
---------------------------------------------------------------------- */
.account.addresses ul.address-list { display: flex; justify-content: center; flex-wrap: wrap; }
.account.addresses ul.address-list > li {
	display: flex;
	flex-direction: column;
	justify-content: center;

	background: #fcfcfc;

	width: 240px;
	height: 150px;
	padding: 15px;
	margin: 20px;

	border-radius: 5px;
	border: 1px solid var(--main-color);

	font-size: 14px;
	line-height: 1.3;

	cursor: pointer;

	transition: all 0.3s;
}
.account.addresses ul.address-list > li:hover { background: var(--main-color); color: var(--alt-txt-color); box-shadow: 0 0 20px rgba(0,0,0,0.2); }
.account.addresses ul.address-list > li .name { margin-bottom: 10px; }
.account.addresses ul.address-list > li i::before { font-size: 24px; }

/* Mes identifiants
---------------------------------------------------------------------- */
.account.ids .ct-blocs > article { margin: 15px; }
.account.ids .ct-blocs > article form > article { margin: 15px 0; }
.account.ids .ct-blocs > article form > article > label > span { display: block; margin: 5px 0; }
.account.ids .ct-blocs > article form > article > div { padding: 8px 0; font-size: 14px; }

/* Mes identifiants (bloc tableau de bord)
---------------------------------------------------------------------- */
.account.main .account-ids article { width: 100%; }
.account.main .account-ids article > label { display: block; font-weight: bold; text-align: center; }
.account.main .account-ids article > div { padding: 10px; text-align: center; font-size: 16px; }


/* Mes devis
---------------------------------------------------------------------- */


/* Mes commandes
---------------------------------------------------------------------- */
.account.orders { padding: 0 15px; }
.account.orders ul.orders { display: flex; flex-direction: column; align-items: center; }
.account.orders ul.orders > li {
	background: #fbfbfb;
	border: 1px solid #eee;
	border-radius: 5px;

	width: 100%;
	max-width: 1000px;

	margin: 10px 0;
}
.account.orders ul.orders > li.last-order { margin-bottom: 45px; box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1); border-color: var(--main-color); }

.account.orders ul.orders > li > header,
.account.orders ul.orders > li > section.order,
.account.orders ul.orders > li > .order-footer { padding: 10px }

.account.orders ul.orders > li > header { display: flex; flex-direction: row; align-items: baseline; border-bottom: 1px solid #eee; }
.account.orders ul.orders > li > header > h2 { text-align: left; margin: 0; font-size: 15px; text-transform: none; }
.account.orders ul.orders > li > header > h2 .order-status { color: #6e6f71; }
.account.orders ul.orders > li > header > h2 .order-status > i { color: var(--main-color); font-size: 17px; }
.account.orders ul.orders > li > header > h2 .order-status > span { margin-left: 5px; }
.account.orders ul.orders > li > header > h2 .order-status::before { content: '-'; margin: 0 10px; }
.account.orders ul.orders > li > header > .order-date { margin-left: auto; }

.account.orders ul.orders > li > .order .order-products { display: block; }
.account.orders ul.orders > li > .order .order-products li { margin: 2px 0; }

.account.orders ul.orders > li > .order-footer { display: flex; }
.account.orders ul.orders > li > .order-footer .total { font-weight: bold; color: #444; }
.account.orders ul.orders > li > .order-footer .order-link { margin-left: auto; }
.account.orders ul.orders > li > .order-footer .order-link .fa { margin-right: 5px; }

.account.orders ul.orders > li.with-products > .order-footer { border-top: 1px solid #eee; }

@media (max-width: 499px) {
	.account.orders ul.orders > li > header { flex-direction: column; }
	.account.orders ul.orders > li > header > .order-date { margin: 5px 0 0 0; }

	.account.orders ul.orders > li > .order-footer { flex-direction: column-reverse; }
	.account.orders ul.orders > li > .order-footer > .order-link { margin: 0 0 7px 0; }
}

/* Mes commandes (bloc tableau de bord)
---------------------------------------------------------------------- */
.account.main .list-purchases table {	max-width: 750px; width: 100%;	margin: 0 auto; }
.account.main .list-purchases table caption { padding: 5px; text-align: center; font-weight: bold; }
.account.main .list-purchases table th,
.account.main .list-purchases table td { padding: 10px;}
.account.main .list-purchases table td.state > i { color: var(--main-color); font-size: 14px; }
.account.main .list-purchases table td.state > span { margin-left: 5px; }
.account.main .list-purchases table td.date,
.account.main .list-purchases table td.price { text-align: right;}
.account.main .list-purchases table tr.empty td { text-align: center;}

/* Détails commande
---------------------------------------------------------------------- */
.account.order .overview nav.actions { display: flex; padding: 25px 0; position:relative; }
.account.order .overview nav.actions.highlight { border:2px solid #000; width:80%; margin:0px auto 20px auto; padding:30px; }
.account.order .overview nav.actions.highlight > i { position:absolute; top:-16px; left:calc(50% - 16px); font-size:32px;  width:31px; height:31px; text-align:center; border-radius:50%; color:#FFF; animation: highlight 2s ease infinite; }
.account.order .overview nav.actions.highlight.validation { border-color:var(--type-success); }
.account.order .overview nav.actions.highlight.validation > i { background-color:var(--type-success); }
.account.order .overview nav.actions.highlight.tosign { border-color:var(--type-success); }
.account.order .overview nav.actions.highlight.tosign > i { background-color:var(--type-success); }
.account.order .overview nav.actions.center { justify-content:center; }
.account.order .overview nav.actions.center > div, .account.order .overview nav.actions.center > div > p { text-align:center; }
.account.order .overview nav.actions > .btn:not(:last-child) { margin-right: 10px; }
.account.order .overview nav.actions > .right { margin-left: auto; }
.account.order .overview .state > .canceled { font-size: 16px; text-align: center; font-weight: bold; color: var(--type-error); padding: 25px; }
.account.order .details .titles { margin-bottom: 15px; }
.account.order .details .titles > div { font-size: 14px; }

.account.order .details .actions { display: flex; justify-content: space-between; padding: 8px 0; }
.account.order .details .actions .actions-left { text-align: left; }
.account.order .details .actions .actions-right { text-align: right; }

.account.order .details .shipping > .addresses { display: flex; flex-wrap: wrap; }
.account.order .details .shipping > .addresses > div { flex: 1 1; padding: 15px 0; }
.account.order .details .shipping > .addresses > div address { font-size: 12px; line-height: 15px; }

/* Signature commande
---------------------------------------------------------------------- */
.order-sign .pdf-preview { width: 100%; position: relative; padding-bottom: 124%; margin-bottom: 40px; }
.order-sign .pdf-preview > iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.order-sign [for="checkbox_signature"] { width: unset; font-size:15px; text-align:left; width:calc(100% - 30px); margin-left:10px; }
.order-sign [for="checkbox_signature"] a { text-decoration:underline; }
.cgv-container { background-color:#F2F2F2; padding:15px; margin-bottom:20px; max-width:480px;  margin-left:auto; margin-right:auto; }
.cgv-container.right { margin-right:0px; }
.cgv-container > p { text-align:center; font-size:16px; }
.cgv-container a { text-decoration:underline; }
.cgv-container article { margin:0px; }
.cgv-container article p { text-align:center; font-size:16px; }

/* Mon Equipe
---------------------------------------------------------------------- */


/* Mes invités
---------------------------------------------------------------------- */


/* Mes favoris
---------------------------------------------------------------------- */


/* Mes Shopping Lists
---------------------------------------------------------------------- */


/* Ma Fiche Exposant
---------------------------------------------------------------------- */



/* Mon Stand
---------------------------------------------------------------------- */

/* Mes données personnells (RGPD)
---------------------------------------------------------------------- */
.account.gdpr { padding: 15px; }