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

main.accountPage h2 { font-size:28px; }
main.accountPage h1+h2 { padding-top:0px; }
main.accountPage .content { padding-bottom:45px; }

/* Tableau de bord -- Mon Compte --
---------------------------------------------------------------------- */
.account.main { display: flex; flex-wrap: wrap; padding: 0 0px; margin-left:-10px; margin-right:-10px; }
.account.main > article { position:relative; display: flex; flex-direction: column; flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); padding:20px; margin: 10px; border-radius: 0px; background-color:#EAF1F4; }
.account.main > article:after { content: '';
    width: 31px;
    height: 49px;
    content: '';
    background-image: url(/img/squares.png);
    top: -15px;
    left:calc(50% - 16px);

    position: absolute;
    z-index: 15; }
.account.main > article.large { flex: 1 1 100%; max-width: 100%; }
.account.main > article > h2 { margin: 0; padding: 20px 0px 20px 0px; text-align: center; font-size: 22px; line-height: 20px; color: var(--main-txt-color); font-variant: normal; border-bottom:2px solid var(--main-txt-color); width:auto; display:inline-block;  }
.account.main > article > div { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1 1; padding: 15px; }
.account.main > article > div p { font-size:14px; }
.account.main > article > div > .stats { margin-bottom: 10px; font-size: 16px; }
.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 > div > .sub-sections li { text-align:center; justify-content:center; padding:2px 0px; }
.account.main > article > div > .sub-sections li a { color:var(--main-color); font-size:14px; font-weight:bold; text-decoration:underline; }

@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; }
.ft-default { color:var(--main-txt-color); }
.account.main > article > div p.ft-default { font-size:16px; color:var(--main-txt-color); }

/* 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:space-between;

	background: #fcfcfc;

	width: calc(50% - 20px);
	padding: 15px;
	margin: 10px;

	border:2px solid var(--main-txt-color);

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

	cursor: pointer;

	transition: all 0.3s;
}
.account.addresses ul.address-list > li:last-child { justify-content:center; }
.account.addresses ul.address-list > li:hover { box-shadow: 0 0 20px rgba(0,0,0,0.2);}
.account.addresses ul.address-list > li .name { margin-bottom: 20px; font-size:22px; font-weight:bold; transition: all 0.3s; text-align:center; }
.account.addresses ul.address-list > li:hover .name { color:var(--main-color); }
.account.addresses ul.address-list > li .address { margin-bottom:20px;  text-align:center; line-height:22px; }
.account.addresses ul.address-list > li .but { justify-content:center; text-align:center; }
.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; font-weight:bold; }
.account.ids .ct-blocs > article form > article > div { padding: 8px 0; font-size: 16px; }

/* 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
---------------------------------------------------------------------- */
.account.quotes ul.orders li { border-bottom:1px solid #DFDFDF; padding:20px 0px; text-align:center; }
.account.quotes ul.orders h2 { font-size:24px; margin-bottom:10px; text-align:center; padding:0px; }
.account.quotes ul.orders h3 { font-size:20px; color:var(--main-color); text-align:center; padding:0px 0px 20px 0px; margin:0px; }

.account.quote h4.date { text-align:center; padding-bottom:0px; }
.account.quote h5 { text-align:center; font-size:20px; color:var(--main-color2); }
.account.quote .details h2 { font-size:26px; }
.account.quote i.fa { margin-right:12px; }
.account.quote .shipping .addresses h3 { color:var(--main-color); text-align:center; font-weight:bold; font-size:20px; }
.account.quote .shipping .addresses address {text-align:center; font-size:16px;  }
.account.quote table.basket { width:100%; }
.account.quote table.basket td { padding:12px 8px; border:1px solid #DFDFDF; }
.account.quote table.basket thead td, .account.quote table.basket tfoot td { font-weight:bold; background-color:var(--main-color4); color:#FFF; }
.account.quote table.basket tfoot td { background-color:var(--main-color); font-size:20px; }
.account.quote table.basket td.name { font-weight:bold; }
.account.quote table.basket td.name a { text-decoration:underline; }

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

/* Mon Stand
---------------------------------------------------------------------- */
.account-menu { display:flex; align-items:center; justify-content:center; background-color:var(--main-color2); }
.account-menu > li.menu-title { font-size:13px; padding-right:12px; font-weight:bold; }
.account-menu > li a { padding:14px 12px; display:inline-block; color:#FFFFFF; background:rgba(0,0,0,0); font-size:14px;  }
.account-menu > li a.active { background-color:#FFF; color:var(--main-color2); font-weight:bold; }
.account-menu > li a:hover { background:rgba(0,0,0,0.15); }
.account-menu > li a.active:hover { background:rgba(255,255,255,0.85); }