/* 
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 {
	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) */
}

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;
	padding-right: 10px;
	padding-left: 10px;
	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;
	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: 107px;
	height: 30px;
	margin: auto;
	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-color: #FFF;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
    border-radius: 4px;
}

header > nav > #flx_lft > #links > a > .shortcut:hover {
	background-color: var(--gc-color-primary-soft);
}

header > nav > #flx_lft > #links > a > .shortcut[selected] {
	background-color: var(--gc-color-primary-soft);
}

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 {
		margin-right: 30px;
		max-width: 210px;
	}
}

@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 {
	background-color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	column-gap: 48px;
	row-gap: 14px;
	width: 100%;
	margin: 0 auto;
	padding: 30px max(30px, calc((100% - 1270px) / 2)) 24px;
	box-sizing: border-box;
	position: static;
	flex-grow: 1;
	flex-shrink: 0;
	z-index: 10;
	border-top: 1px solid var(--gc-color-border);
	box-shadow: 0 -12px 32px rgba(23, 63, 99, .08);
	border-radius: var(--gc-radius-lg) var(--gc-radius-lg) 0 0;
}

footer > #links {
	flex: 0 1 220px;
	min-width: 180px;
}

footer > #links > a {
	display: flex;
	width: fit-content;
	margin: 10px 0;
}

footer > #links > a:hover {
/*	color: #fcdf10;*/
}

/* Footer - Left */
footer .text {
	display: flex;
	margin: 0 0 13px;
	color: #064184;
	font-weight: 600;
	letter-spacing: -.01em;
}

.footer-partners__logos {
	display: flex;
	flex-direction: column;
}

.footer-partners__logos > a {
	display: flex;
	width: fit-content;
	margin: 5px 0;
}

.footer-partners__logos img {
	max-width: 160px;
	max-height: 52px;
	object-fit: contain;
}

.footer-mobile-links {
	display: none;
}

.footer-disclaimer {
	flex: 0 0 100%;
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--gc-color-border);
	color: #6b7d90;
	text-align: justify;
	line-height: 1.55;
}

/* Width : 0 - 960px */
@media (max-width: 960px) {
/*	section {
		padding-bottom: 30px; // Available space to display cart 
	}	*/
	footer {
		column-gap: 40px;
		padding: 30px 30px 24px;
	}
}

/* Compact footer below 800px */
@media (max-width: 799px) {
	footer .mobile-hide {
		display: none;
	}

	footer {
		justify-content: center;
		padding: 24px 20px;
		background: #fff;
	}

	footer > #links {
		flex-basis: 100%;
	}

	footer > .footer-partners {
		min-width: 0;
		text-align: center;
	}

	.footer-partners > .text {
		justify-content: center;
		margin-bottom: 16px;
		font-size: 100%;
		letter-spacing: normal;
		text-transform: none;
	}

	.footer-partners__logos {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 12px;
	}

	.footer-partners__logos > a {
		align-items: center;
		justify-content: center;
		flex: 1 1 0;
		max-width: 150px;
		height: 54px;
		margin: 0;
		padding: 8px;
		box-sizing: border-box;
		background: none;
		border: 0;
		border-radius: 0;
	}

	.footer-partners__logos img {
		max-width: 100%;
		max-height: 120px;
	}

	.footer-mobile-links {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		gap: 8px 18px;
		margin-top: 20px;
		padding-top: 16px;
		border-top: 1px solid var(--gc-color-border);
	}

	.footer-mobile-links > a {
		color: #56708b;
	}

	.footer-disclaimer {
		line-height: 1.5;
		font-size: 90%;
	}
}

@media (max-width: 500px) {
	.footer-partners__logos {
		flex-direction: column;
	}

	.footer-partners__logos > a {
		width: 160px;
		flex: 0 0 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;
	}
}
