/* -------------------------------------------------------------------
----------------------------------------------------------------------
								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(33.333333% - 30px); max-width: calc(33.333333% - 30px); 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; }

.account.main > article.default-bloc { padding: 0; }
.account.main > article.default-bloc > a { display: block; text-decoration: none; }
.account.main > article.default-bloc > a > figure { position: relative;  width: 100%; height: 240px; overflow: hidden; }
.account.main > article.default-bloc > a > figure > img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }
.account.main > article.default-bloc > a:hover > figure > img { transform: scale(1.1); }
.account.main > article.default-bloc > a > figure > .member-bloc-overlay { position: absolute; top: 0; left: 0; bottom: 0; right: 0; font-size: 14px; padding: 14px; line-height: 1.6; display: flex; justify-content: center; align-items: center; color: #fff; background-color: rgba(0, 0, 0, 0.4); opacity: 1; transition: all 0.4s ease; }
.account.main > article.default-bloc > a > figure > .member-bloc-overlay p,
.account.main > article.default-bloc > a > figure > .member-bloc-overlay li,
.account.main > article.default-bloc > a > figure > .member-bloc-overlay span { color: #fff; font-size: 14px; line-height: 1.6; }

.account.main > article.default-bloc > a:not(:hover) > figure > .member-bloc-overlay { opacity: 0; }
.account.main > article.default-bloc .member-bloc-title { background-color: var(--main-color); color: #fff; height: 40px; display: flex; justify-content: center; align-items: center; font-family: 'amaranth', Arial, sans-serif; font-size: 16px; line-height: 1.2; font-weight: bold; }
.account.main > article.default-bloc.disable { position: relative; opacity: 1; cursor: not-allowed; border-color: #888;}
.account.main > article.default-bloc.disable a { cursor: not-allowed;}
.account.main > article.default-bloc.disable .member-bloc-title { background-color: #ebebeb; color: var(--main-color); position: absolute; z-index: 10; top: 0; left: 0; right: 0; bottom: 0; display: flex; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.1); text-shadow: 1px 1px rgba(255, 255, 255, 0.3); font-size: 24px; text-align: center; opacity: 1; font-size: 24px; padding: 20px; }
.account.main > article.default-bloc.disable figure { height: 280px; opacity: 0.8; }

@media all and (max-width: 1099px) {
	.account.main > article { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); margin: 10px; }
}

@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 {
	background: #fcfcfc;

	width: 280px;
	min-height: 160px;
	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 > header { background-color: var(--main-color); display: flex; height: 50px; justify-content: center; align-items: center; text-align: center; font-size: 12px; color: #fff; }
.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; padding: 15px 15px 0 15px; }
.account.addresses ul.address-list > li .address { padding: 0 15px 15px 15px; }
.account.addresses ul.address-list > li i::before { font-size: 24px; }
.account.addresses ul.address-list > li.addAddress { display: flex; flex-direction: column; justify-content: center; align-items: center; }
/* 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 .account-orders table {	max-width: 750px; width: 100%;	margin: 0 auto; }
.account.main .account-orders table caption { padding: 5px; text-align: center; font-weight: bold; }
.account.main .account-orders table th,
.account.main .account-orders table td { padding: 10px;}
.account.main .account-orders table td.state > i { color: var(--main-color); font-size: 14px; }
.account.main .account-orders table td.state > span { margin-left: 5px; }
.account.main .account-orders table td.date,
.account.main .account-orders table td.price { text-align: right;}
.account.main .account-orders table tr.empty td { text-align: center;}

/* Détails commande
---------------------------------------------------------------------- */
.account.order .overview nav.actions { display: flex; padding: 25px 0; }
.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; }

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


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


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


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


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



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

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