/* 
Ghost : 
2671BB; -> grey
FCDF10; -> white;
*/

/* Gblue to test : 1565c0*/

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url(/core/gui/fonts/OpenSans-Regular/OpenSans-Regular.ttf) format('truetype');
}

/*
 * GChange design system
 * Shared foundations used by every public, account and marketplace view.
 */
:root {
	--gc-font-sans: "Open Sans", Arial, Helvetica, sans-serif;
	--gc-color-canvas: #f6f9fc;
	--gc-color-surface: #ffffff;
	--gc-color-surface-subtle: #f7fafd;
	--gc-color-surface-accent: #edf6fc;
	--gc-color-border: #e2eaf1;
	--gc-color-border-strong: #bfd5e7;
	--gc-color-text: #24384c;
	--gc-color-text-muted: #60758a;
	--gc-color-heading: #173f63;
	--gc-color-link: #064184;
	--gc-color-primary: #2a78b8;
	--gc-color-primary-hover: #236da8;
	--gc-color-primary-active: #1d5f91;
	--gc-color-primary-soft: #eaf4fc;
	--gc-color-focus: rgba(42, 120, 184, .26);
	--gc-color-success: #287a59;
	--gc-color-success-soft: #e7f5ee;
	--gc-color-danger: #b94a55;
	--gc-color-danger-soft: #fbecef;
	--gc-radius-sm: 8px;
	--gc-radius-md: 13px;
	--gc-radius-lg: 18px;
	--gc-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	--gc-transition: 160ms ease;
}

/**
 * Core Layout - HTML TAGS
 */

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	font: 13px var(--gc-font-sans);
	margin: 0;
	padding: 0;
	background-color: var(--gc-color-surface);
	color: #064184;
	line-height: 1.5;
	overflow-wrap: break-word; /* Insert line breaks (use case : large string in mobile view would display x scrollbar) */
}

body:has(> #banner) {
	background-color: var(--gc-color-canvas);
}

a {
	text-decoration: none;
	color: #064184;
	transition: color var(--gc-transition);
}

a:visited,
a:active {
	color: #064184;
}

a:hover {
	color: #d32f2f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--gc-color-focus);
	outline-offset: 2px;
}

p {
	margin-bottom: 0;
}

::selection {
  background-color: #e9f0fa; /* Lighter blue for a soft, elegant background */
  color: #064184; /* Deeper blue for the text, enhancing contrast and elegance */
}

h1 {
	box-sizing: border-box;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	padding: 9px 14px;
	background: #2671bb;
	color: #FFF;
	border-radius: var(--gc-radius-md) var(--gc-radius-md) 0 0;
}

@media all and (max-width: 960px) {
	h1 {
		padding: 9px 14px;
	}
}

h2 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: normal;
	font-size: 100%;
	margin: 0;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

video {  
   width: 100%;
   height: auto;
}

figcaption {
	text-align: center;
	color: #3D3D3D;
}

header {
	width: 100%;
	background: #2671bb;
	position: fixed;
	top: 0;
	z-index: 150;
	box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .1);
}

/*header:before {
	position: fixed;
	width: 100%;
	margin: auto;
	text-align: center;
	background-color: #4e4e4e;
	color: #FFF;
	z-index: 1000;
	opacity: 0.9;
	content: "Tu testes actuellement la version beta-public-fr.";
}*/

header > nav {
	display: flex;
	box-sizing: border-box;
	font-size: 13px;
	margin: auto;
	text-align: center;
	background: transparent;
}

main {
	display: flex;
	z-index: 1;
	width: 100%;
	max-width: 1270px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

main[full-width] {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

aside {
	flex: 100%;
	order: 1;
}

section {
	flex: 100%;
	order: 2;
}

section[one-and-only] {
	max-width: 926px;
}

/* Width : 960px and more */
@media all and (min-width:961px) {
	main {
		padding-bottom: 30px;
	}
	aside {
		max-width: 230px;		
		margin-left: auto;
		margin-right: 30px;
	}
	section {
		margin-left: auto;
		margin-right: auto;
		width: 0; /* Force content x-scroll instead of page x-scroll */
	}
}

/* Width : 0 - 960px */
@media all and (max-width: 960px) {
	main {
		flex-direction: column;
	}
	aside {
		margin-right: 0;
	}

	aside[device=large-screen] {
		display: none;
	}
	/* Used by signup & login page */
	section[device=large-screen] {
		display: none;
	}
}

/**
 * Header - Left 
 */

header > nav > #flx_lft {
	flex: 100%;
	z-index: 0; /* Minimal number - Required for language dropdown (element) to be over flx_rgt links/bar (on small screen) */
}

/* Header Links - Left */
header > nav > #flx_lft > #links {
	display: flex;
	box-sizing: border-box;
	width: 100%; /* (sub)Required for content (html link <a>) to stretch */
}

header > nav > #flx_lft > #links > a {
	display: flex;
	width: 100%; /* stretch links */
	flex-direction: column; /* (sub)Required by justify-content: center */
	justify-content: center; /* vertical centering */
}

header > nav > #flx_lft > #links > a > #logo {
	/* width: auto; */
	height: 30px;
	margin: auto;
	display: block;
	object-fit: contain;
}

header > nav > #flx_lft > #links > #languages {
	position: relative;
	min-width: 30px; /* Use of min-width + max-width to avoid display anomalies */
	max-width: 30px; /* Use of min-width + max-width to avoid display anomalies */
	height: 50px;
	cursor: pointer;
	background-repeat: no-repeat;
    background-position: center 17px, center 31px;
	background-color: #3b7ec1;
}

header > nav > #flx_lft > #links > #languages > #content {
	position: absolute;
	top: 50px;
	left: 0;
	margin-top: 0;
	display: none;
	z-index: 1; /* Required for language dropdown (element) to be over flx_rgt links/bar (on small screen) */
	box-shadow: var(--gc-shadow);
}

header > nav > #flx_lft > #links > #languages > #content > a > .flag { /* menu left margin div */
	width: 105px;
	padding: 10px 0px 10px 30px;
	background-repeat: no-repeat;
	background-position: 8px center;
	cursor: pointer;
	background-color: #FFF;
	color: #064184;
	text-align: left;
}

header > nav > #flx_lft > #links > #languages > #content > a > .flag:hover { /* menu left margin div */
	background-color: var(--gc-color-primary-soft);
	color: #064184;
}

header > nav > #flx_lft > #links > a{
	align-items: center;
}

header > nav > #flx_lft > #links > a > .shortcut { /* menu left margin div */
	width: 24px;
	height: 24px;
	cursor: pointer;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
    border-radius: 4px;
}

#small_link_box_img_profil,
#small_link_box_img_inbox,
#small_link_box_img_inbox_closed,
#small_link_box_img_inbox_loading,
#small_link_box_img_shop,
#small_link_box_img_collection,
#small_link_box_img_disconnect {
	background-color: #FFF;
}

header > nav > #flx_lft > #links > #menubutton {
	min-width: 50px;
	min-height: 50px;
	display: none;
	cursor: pointer;
	background-image: url('/core/gui/img/design/design_header_menu-icon.png');
	background-repeat: no-repeat;
	background-position: center center;
}

/**
 * Header - Right 
 */

header > nav > #flx_rgt {
    display: flex;
	flex: 100%;
}

/* Header Links - Right */
header > nav > #flx_rgt > #links {
	display: flex;
	width: 100%; /* (sub)Required for content (html link <a>) to stretch */
}

header > nav > #flx_rgt > #links > a {
	display: flex;
	flex-direction: column; /* (sub)Required by justify-content: center */
	height: 50px;  /* (sub)Required by justify-content: center */
	justify-content: center; /* vertical centering */
	width: 100%; /* stretch links */
	color: #FFF;
}

header > nav > #flx_rgt > #links > a:hover {
	background-color: #FFF;
	color: #064184;
}

header > nav > #flx_rgt > #links > a[selected] {
	background-color: #FFF;
	color: #064184;
}

header > nav > #flx_rgt > #links > .header-account-action {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: auto;
	height: 50px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: 0;
	flex-direction: row;
	align-items: center;
	gap: 6px;
}

header > nav > #flx_rgt > #links > .header-account-action::before {
	content: "";
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

header > nav > #flx_rgt > #links > .header-account-login::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-5.33 0-8 2.67-8 6v2h16v-2c0-3.33-2.67-6-8-6Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-5.33 0-8 2.67-8 6v2h16v-2c0-3.33-2.67-6-8-6Z'/%3E%3C/svg%3E");
}

header > nav > #flx_rgt > #links > .header-account-login {
	margin-right: 6px;
}

header > nav > #flx_rgt > #links > .header-account-signup::before {
	display: none;
}

header > nav > #flx_rgt > #links > .header-account-signup {
	height: 34px;
	margin: 8px 8px 8px 0;
	padding: 0 14px;
	border-radius: 6px;
	background-color: #FFF;
	color: #064184;
}

header > nav > #flx_rgt > #links > .header-account-action:hover {
	background-color: transparent;
	color: #FFF;
}

header > nav > #flx_rgt > #links > .header-account-signup:hover {
	background-color: #F3F7FA;
	color: #064184;
}

header > nav > #flx_rgt > #links > .header-account-action[selected] {
	background-color: transparent;
	color: #FFF;
}

header > nav > #flx_rgt > #links > .header-account-signup[selected] {
	background-color: #FFF;
	color: #064184;
}

/* Media Queries */

/* Full desktop width */
@media all and (min-width:1270px) {
	header > nav {
		width: 1270px;
	}
}

@media all and (min-width: 961px) {
	header > nav > #flx_lft {
		flex: 0 0 240px;
		max-width: 240px;
	}

	header > nav > #flx_lft > #links {
		padding-right: 30px;
	}

	header > nav > #flx_lft > #links > a {
		flex: 0 0 30px;
		width: 30px;
		height: 50px;
	}

	header > nav > #flx_lft > #links > a:has(> #logo) {
		flex: 1 1 auto;
		width: auto;
		box-sizing: border-box;
	}
}

@media all and (max-width: 960px) {
	header > nav > #flx_lft > #links > #menubutton {
		display: block;
		background-color: #3b7ec1;
		order: 1; /* Reorder*/
	}

	header > nav > #flx_rgt {
		display: none;
	}

	header > nav > #flx_lft > #links > #languages {
		min-width: 50px; /* Use of min-width + max-width to avoid display anomalies */
		max-width: 50px; /* Use of min-width + max-width to avoid display anomalies */
		background-color: #3b7ec1;
		order: 3; /* Reorder*/
	}

	header > nav > #flx_lft > #links > #languages > #content {
		right: 0;
		left: auto;
	}

	header > nav > #flx_lft > #links > a {
		order: 2; /* Reorder*/
	}
}

/**
 * Footer
 */


footer {
	width: 100%;
	margin: 0 auto;
	padding: 54px max(30px, calc((100% - 1270px) / 2)) 28px;
	box-sizing: border-box;
	position: static;
	flex: 0 0 auto;
	z-index: 10;
	border-top: 0;
	background: linear-gradient(120deg, #2671bb 0%, #1f64a2 58%, #164f82 100%);
	box-shadow: 0 -12px 34px rgba(15, 54, 86, .08);
	color: #d6e4ee;
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(240px, 1.25fr) repeat(2, minmax(150px, .7fr)) minmax(330px, 1.2fr);
	gap: 44px 54px;
	max-width: 1270px;
	margin: 0 auto;
}

.footer-brand__logo {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.footer-brand__logo:hover,
.footer-brand__logo:visited,
.footer-brand__logo:active {
	color: #fff;
}

.footer-brand__logo > img {
	display: block;
	/* width: 180px; */
	height: 30px;
	object-fit: fill;
}

.footer-brand > p {
	margin: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.footer-column .text {
	margin: 2px 0 17px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.footer-column > a {
	display: block;
	width: fit-content;
	margin: 10px 0;
	color: #b9cddd;
	font-size: 13px;
	transition: color .18s ease, transform .18s ease;
}

.footer-column > a:visited,
.footer-column > a:active {
	color: #b9cddd;
}

.footer-column > a.footer-column__icon-link {
	display: flex;
	align-items: center;
	gap: 7px;
}

.footer-column__icon-link > svg {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.footer-column > a:hover {
	color: #fff;
	transform: translateX(2px);
}

.footer-column > a:focus-visible,
.footer-brand__logo:focus-visible,
.footer-partners__logos > a:focus-visible {
	border-radius: 4px;
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.footer-partners__logos {
	display: grid;
	grid-template-columns: minmax(170px, 190px);
	gap: 10px;
}

.footer-partners__logos > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	margin: 0;
	padding: 3px 5px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 9px;
	background: #fff;
}

.footer-partners__logos img {
	width: auto;
	max-width: 160px;
	max-height: 50px;
	object-fit: contain;
	filter: none;
	opacity: 1;
}

.footer-legal {
	max-width: 1270px;
	margin: 30px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-disclaimer {
	width: 100%;
	max-width: none;
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	hyphens: none;
	line-height: 1.65;
	text-align: justify;
}

.footer-collaboration {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 1.6;
}

.footer-collaboration a,
.footer-collaboration a:visited,
.footer-collaboration a:active {
	color: inherit;
}

.footer-collaboration a:hover,
.footer-collaboration a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 960px) {
	footer {
		padding: 46px 30px 26px;
	}

	.footer-main {
		grid-template-columns: 1.2fr repeat(2, minmax(145px, .8fr));
		gap: 40px;
	}

	.footer-partners {
		grid-column: 1 / -1;
	}

	.footer-partners__logos {
		grid-template-columns: minmax(170px, 190px);
	}
}

@media (max-width: 680px) {
	footer {
		padding: 40px 22px 24px;
	}

	.footer-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 28px;
	}

	.footer-brand,
	.footer-partners {
		grid-column: 1 / -1;
	}

	.footer-partners__logos {
		grid-template-columns: minmax(170px, 190px);
	}

	.footer-legal {
		margin-top: 36px;
	}

	.footer-disclaimer {
		line-height: 1.6;
	}
}

@media (max-width: 430px) {
	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-brand,
	.footer-partners {
		grid-column: auto;
	}

	.footer-partners__logos {
		grid-template-columns: minmax(180px, 1fr);
	}

	.footer-partners__logos > a {
		height: 54px;
	}
}
	
/**
 * Layount - Animations
 */

@keyframes anim_FadeInDown{
	0% {opacity:0;transform: translate(0px,-25px);}
	100% {opacity:1;transform: translate(0px,0px);}
}
@-moz-keyframes anim_FadeInDown{
	0% {opacity:0;-moz-transform: translate(0px,-25px);}
	100% {opacity:1;-moz-transform: translate(0px,0px);}
}
@-webkit-keyframes anim_FadeInDown {
	0% {opacity:0;-webkit-transform: translate(0px,-25px);}
	100% {opacity:1;-webkit-transform: translate(0px,0px);}
}
@-o-keyframes anim_FadeInDown {
	0% {opacity:0;-o-transform: translate(0px,-25px);}
	100% {opacity:1;-o-transform: translate(0px,0px);}
}

.anim_FadeInDown {
	animation: anim_FadeInDown ease 0.1s;
	animation-iteration-count: 1;
	transform-origin: 50% 50%;
	animation-fill-mode:forwards; /*when the spec is finished*/
	-webkit-animation: anim_FadeInDown ease 0.1s;
	-webkit-animation-iteration-count: 1;
	-webkit-transform-origin: 50% 50%;
	-webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
	-moz-animation: anim_FadeInDown ease 0.1s;
	-moz-animation-iteration-count: 1;
	-moz-transform-origin: 50% 50%;
	-moz-animation-fill-mode:forwards; /*FF 5+*/
	-o-animation: anim_FadeInDown ease 0.1s;
	-o-animation-iteration-count: 1;
	-o-transform-origin: 50% 50%;
	-o-animation-fill-mode:forwards; /*Not implemented yet*/
}

@keyframes anim_BlinkingLoading{
    0% {background-color: rgba(212,212,212,1);}
    50% {background-color: rgba(212,212,212,0.5);}
    100% {background-color: rgba(212,212,212,1);}
}
@-moz-keyframes anim_BlinkingLoading{
    0% {background-color: rgba(212,212,212,1);}
    50% {background-color: rgba(212,212,212,0.5);}
    100% {background-color: rgba(212,212,212,1);}
}
@-webkit-keyframes anim_BlinkingLoading {
    0% {background-color: rgba(212,212,212,1);}
    50% {background-color: rgba(212,212,212,0.5);}
    100% {background-color: rgba(212,212,212,1);}
}
@-o-keyframes anim_BlinkingLoading {
    0% {background-color: rgba(212,212,212,1);}
    50% {background-color: rgba(212,212,212,0.5);}
    100% {background-color: rgba(212,212,212,1);}
}

.anim_BlinkingLoading {
	width: 50px;
	height: 50px;
	-webkit-animation: anim_BlinkingLoading 1s infinite;  /* Safari 4+ */
	-moz-animation: anim_BlinkingLoading 1s infinite;  /* Fx 5+ */
	-o-animation: anim_BlinkingLoading 1s infinite;  /* Opera 12+ */
	animation: anim_BlinkingLoading 1s infinite;  /* IE 10+, Fx 29+ */
}


@keyframes anim_Heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.anim_Heartbeat {
  animation: 20s infinite anim_Heartbeat;
}

/* Remove sticky elements on edge (Edge 16+ ?) */
@supports (-ms-ime-align:auto) {
	#subnav {
		position: relative !important;
		top:0 !important;
	}
	#breadcrumb[stick=yes] {
		position: relative !important;
		top: 0 !important;
	}
	.accordionlist .accordion[status=opened] {
		position: relative !important;
		top: 0 !important;
	}
	.product_tcg_name {
		position: relative !important;
		left: 0 !important;
	}
}

/* Remove sticky elements on edge (Edge 12-15 ?) */
@supports (-ms-accelerator:true) {
	#subnav {
		position: relative !important;
		top:0 !important;
	}
	#breadcrumb[stick=yes] {
		position: relative !important;
		top: 0 !important;
	}
	.accordionlist .accordion[status=opened] {
		position: relative !important;
		top: 0 !important;
	}
	.product_tcg_name {
		position: relative !important;
		left: 0 !important;
	}
}
/* Shared pagination */
.gc-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: fit-content;
	max-width: calc(100% - 24px);
	margin: 30px auto 0;
	padding: 6px;
	overflow-x: auto;
	background: #fff;
	border: 1px solid #d8e3ef;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(31, 69, 103, 0.10);
}

.gc-pagination__page,
.gc-pagination__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	height: 36px;
	min-width: 36px;
	line-height: 1;
	text-align: center;
	border-radius: 8px;
}

.gc-pagination__page:hover,
.gc-pagination__arrow:hover {
	background: #e3eef9;
	color: #145f9f;
}

.gc-pagination__arrow { background: #e9f0fa; }
.gc-pagination__arrow svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gc-pagination__page--current {
	background: #3b7ec1;
	color: #fff;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(27, 91, 151, 0.25);
}

.gc-pagination__ellipsis {
	padding: 0 4px;
	color: #6c8198;
}
