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

/**
 * Core Layout - HTML TAGS
 */

body {
	font: 13px "Open Sans", Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #eef2f7;
	overflow-wrap: break-word; /* Insert line breaks (use case : large string in mobile view would display x scrollbar) */
}

@media (max-width: 760px) {
	/* Remove box shadow : Causes content to hide on fast scrolling (mobile performance issue) */
	body .content,
	.loading_data,
	.content-twocolumns > .column {
	    box-shadow: none !important;
	}
}

a {
	text-decoration: none;
	color: #064184;
}

a:hover {
	color: red;
}

p {
	margin-bottom: 0;
}

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

h1 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	padding: 8px 12px 8px 12px;
	background-color: #2671BB;
	color: #FFF;
	border-radius: 20px;
}

@media all and (max-width: 960px) {
	h1 {
		padding: 10px 14px 10px 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;
}

/*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;
	margin: auto;
	text-align: center;
	background: #2671BB;
	box-shadow: 0 20px 20px -20px rgba(100,100,100,1);
}

main {
	display: flex;
	z-index: 999;
	max-width: 1270px;
	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: 210px;		
		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: 170px;
	margin: auto;
	padding-top: 2px;
/*	padding-bottom: 9px; /* Christmas logo */
}

header > nav > #flx_lft > #links > #languages {
	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 {
	margin-top: 50px;
	display: none;
	z-index: 1; /* Required for language dropdown (element) to be over flx_rgt links/bar (on small screen) */
	box-shadow: 0 20px 20px -20px rgba(100,100,100,1);
}

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: #FCDF10;
	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: #FCDF10;
}

header > nav > #flx_lft > #links > a > .shortcut[selected] {
	background-color: #FCDF10;
}

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: #2671BB;
}

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

/* Media Queries */

/* Width : 1250 and more */
@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 {
		position: absolute;
		right: 0;
	}

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

/**
 * Footer
 */


footer {
	background-color: #fff;
	display: flex;
	width: 100%;
	margin: auto;
	position: fixed;
	bottom: 0;
	z-index: 10;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0;
}

footer > #links > a {
	display: flex;
    margin: 20px 30px 20px 30px;
}

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

/* Footer - Left */
footer .text {
	display: flex;
    margin: 20px 30px 20px 30px;
    color: #838383;
}


/* Width : 0 - 960px */
@media (max-width: 960px) {
/*	section {
		padding-bottom: 40px; // Available space to display cart 
	}	*/
	footer .mobile-hide {
		display: none;
	}
}
	
/**
 * 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;
	}
}