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

/* Tableau de bord -- Mon Compte --
---------------------------------------------------------------------- */
.account.main .account-blocs { display: flex; flex-wrap: wrap; padding: 0 15px; }
.account.main .account-blocs > 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 .account-blocs > article.large { flex: 1 1 100%; max-width: 100%; }
.account.main .account-blocs > article > h2 { font-family: 'Roboto'; margin: 0; padding: 10px; text-align: center; font-size: 16px; background: var(--main-color); color: var(--alt-txt-color); font-variant: normal; }
.account.main .account-blocs > article > div { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1 1; padding: 15px; }
.account.main .account-blocs > article > div > .stats { margin-bottom: 10px; font-size: 14px; }
.account.main .account-blocs > article > div > .stats .nb { font-weight: bold; color: var(--main-color); }
.account.main .account-blocs > article > nav { text-align: center; margin-top: auto; padding: 15px; }

main.myAccount { background: var(--main-bg); box-shadow: unset; }
main.myAccount > .struct-blocs { padding: 0; }
main.myAccount .welcome { font-family: 'Roboto'; font-size: 20px; letter-spacing: 0.095em; text-align: center; color: #fff; padding: 20px 0; }
main.myAccount .welcome > span { color: var(--alt-color); }
main.myAccount > .struct-blocs > .account { background: var(--alt-bg); }
main.myAccount > .struct-blocs > .account > header > nav { position: relative; background: #c7d0d7; padding: 14px; display: flex; justify-content: space-around; }
main.myAccount > .struct-blocs > .account > header > nav > a { padding: 8px; border-bottom: 2px solid #444; color: var(--main-color); text-transform: uppercase; font-size: 16px; }
main.myAccount > .struct-blocs > .account > header > nav > a.on { border-color: var(--alt-color); }
main.myAccount > .struct-blocs > .account > header > nav > a.home { position: absolute; left: 14px; border-bottom: none; font-size: 20px; justify-self: start; }
main.myAccount > .struct-blocs > .account > header > nav > a.logout { position: absolute; right: 14px; border-bottom: none; font-size: 20px; justify-self: end; }
main.myAccount > .struct-blocs > .account > header > nav > a.on { color: var(--alt-color); }
main.myAccount > .struct-blocs > .account > header > h1 { padding: 20px; }
main.myAccount > .struct-blocs > .account > .account-content { padding: 20px; }

main.myAccount > .struct-blocs > .account > .account-content h3 { position: relative; color: var(--main-color); margin-bottom: 20px; }
main.myAccount > .struct-blocs > .account > .account-content h3::after { position: absolute; left: 0	; top: calc(100% + 5px); content: ''; width: 120px; border-bottom: 2px solid var(--alt-color); }


main.myAccount.login { max-width: 600px; margin-left: auto; margin-right: auto; }
main.myAccount.login h1 { margin-top: 20px; }

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

/* Mon compte - Page générique
---------------------------------------------------------------------- */

/* 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 ul.orders { display: flex; flex-direction: column; align-items: center; border: 1px solid var(--alt-color); max-width: 1000px; margin: 0 auto; }
.account.orders ul.orders > li {
	padding: 20px;
	background: #fbfbfb;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.account.orders ul.orders > li > h3 { font-size: 14px; text-transform: uppercase; font-weight: bold; color: var(--main-color); margin-bottom: 6px !important; }
.account.orders ul.orders > li > h3::after { content: none !important; }
.account.orders ul.orders > li > .date { color: var(--alt-color); }
.account.orders ul.orders > li > .price { color: var(--main-color); }
.account.orders ul.orders > li:not(:last-child) {
	border-bottom: 1px solid #999;
}
.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 nav.actions { display: flex; padding: 25px 0; }
.account.order nav.actions > .btn:not(:last-child) { margin-right: 10px; }
.account.order 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; }

.account.order .bills .bill > nav.actions > a { margin: 5px; }

/* 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%; }

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


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


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


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


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



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

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