/* ----- Polices ----- */
@font-face {
    font-family: 'Moyko';
    src: url('../fonts/Moyko.ttf') format('truetype');
}

@font-face {
    font-family: 'Bonzai';
    src: url('../fonts/bonzai.ttf') format('truetype');
}

@font-face {
    font-family: 'Chowfun';
    src: url('../fonts/Chowfun.ttf') format('truetype');
}

@font-face {
    font-family: 'President';
    src: url('../fonts/presdntn.ttf') format('truetype');
}

:root {
    /* COLOR */
    --black: #000000;
    --black30: #00000050;
    --black40: #00000066;
    --black70: #000000b0;
    --blue: #00b7ff;
    --gold: #ffd900;
    --green: #65d500;
    --green30: #65d50050;
    --red: #e20000;
    --white: #ffffff;
    --white70: #ffffffb0;

    /* SHADOW */
    --goldShadow: 0 0 10px var(--gold);
    --redShadow: 0 0 10px var(--red);
    --whiteShadow: 0 0 10px var(--white);
    --whiteShadow70: 0 0 10px var(--white70);

    /* BACKGROUND */
    --bgGradientRed: linear-gradient(107deg, #dc0000, var(--black), #dc0000, var(--black), #dc0000);
    --bgGradientBlue: linear-gradient(107deg, #0400ff, var(--black), #0400ff, var(--black), #0400ff);
    --bgPlumeBlack: url(../images/backgrounds/wcl-bgd-fnlr.jpg) no-repeat;
    --bgPlumeBlue: url(../images/backgrounds/wcl-bgd-fblr.jpg) no-repeat;
    --bgPlumeRed: url(../images/backgrounds/wcl-bgd-frlr.jpg) no-repeat;

    /* FONTS */
    --fontsWCL: 'President', 'Bonzai', 'Comic Sans MS', Arial, serif;
    --fontsInputs: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2, h3
{
	font-family : var(--fontsWCL);
}

li 
{
	margin-bottom : 0.3em;
}

a
{
	color : white;
	cursor: pointer;
	font-size : 1rem;
}

body
{
	font-family : Liberation Sans;
	letter-spacing: 0.05em;
	background : url(../images/backgrounds/background.jpg);
	background-size : cover;
	background-position : center;
	width : 100vw;
	height : 100vh;
	display : flex;
	flex-direction : column;	
	margin : 0px;	
}

#header
{
	position : sticky;
	top : 0px;
	background : white;
	display : flex;
	flex-direction : row;
	flex-wrap : nowrap;
	align-items: center;
	height : 70px;
	width:100%;
	z-index: 1000;
    font-family: var(--fontsWCL);
    color: var(--white);
}

@media only screen and (min-width: 800px) 
{
	#header
	{		
		height : max-content;		
		box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 3px 0px;
	}
}

#header .nav-logo
{
	display : flex;
	height:100%;
	align-items:center;
	text-decoration : none;
	cursor : pointer;
}

#header h1
{
	text-align : center;
	margin-left : 0em;
}

@media only screen and (min-width: 800px) 
{
	#header h1
	{
		margin-left : 0px;
	}
}

#header .nav-logo .logo
{
	height:80%;
	max-height:150px;
}

#header .title
{
	line-height: 1.3em;
	font-style: oblique;
	background-image: linear-gradient(to top left, #ff0000, #300000, #ff0000);
  	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

#menus
{
	display : none;
	position : absolute;
	top:70px;
	background : white;
	flex-wrap : wrap;
	flex-direction:column;
	width : 100%;
	row-gap : 1.5rem;
	column-gap : 1.5rem;
	padding : 1rem 2rem 2rem 2rem;
	box-sizing: border-box;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 3px 0px;
}

@media only screen and (min-width: 800px) 
{
	#menus
	{
		position : relative;
		top:0px;
		width : 100%;
		height : max-content;
		display : flex;
		flex-wrap : wrap;
		flex-direction:row;
		padding : 0rem 2rem;
		box-shadow: unset;
	}

	#menus .menu
	{
		font-size : 1rem;
	}
}

.menu
{
	flex : 1;
	min-width : max-content;
	background : transparent;
	color : black;
	text-align:center;
	padding : 0em;
	font-size : 1.5rem;
}

#hamburger
{
	display : block;
	background-image: linear-gradient(to top left, #ff0000, #300000, #ff0000);
  	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-right: 1em;
	height : 40px;
	width : 40px;
	margin-left : auto;
}

@media only screen and (min-width: 800px) 
{
	#hamburger
	{
		display : none;
	}	
}

#page
{
	flex : 1;
	width : 100%;
	border : 0px solid white;
	background : var(--bgGradientRed);
	box-sizing: border-box;
	padding : 1em;
	color : white;
}

@media only screen and (min-width: 800px) 
{
	#page
	{
		padding : 2em;
	}
}


#page img,
#page .map,
#page video
{
	border : 1px solid orange;
	padding :0.5em;
	margin : 0em;
	background : white;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 3px 0px;
}

#updates
{
	position : fixed;
	width : 100%;
	text-align:center;
	opacity : 0.8;
	right : 0px;
	bottom : 0px;
	color : black;
	background : white;
	font-size : 0.8em;
	padding : 0.2em 0em;	
	transition : all 0.6s;
	color : black;
}

#updates:hover,
#updates.active
{
	opacity:1;
	padding : 2em 0em;
	transition : all 0.6s;
	background: red;
	color: white;
	font-size: 1em;
}

#updated_date
{
	margin-bottom:0em;
	padding: 0em 1em;
}
 
#updates:hover #updated_date,
#updates.active #updated_date
{
	margin-bottom:1em;
}

#recent_updates
{
	display:none;
	height : max-content;
	flex-wrap : wrap;
	justify-content : center;
	row-gap : 1em;
	column-gap : 1em;	
}

#updates:hover #recent_updates,
#updates.active #recent_updates
{
	display : flex;
}

#recent_updates > div
{
	display:flex;
	justify-content : center;
	flex-wrap:nowrap;
	height : 0em;
	width : 0em;
	margin : 0em 0em 0em 0em;	
	flex : 1;
	width : max-content;
	text-wrap: nowrap;
	padding : 0em 1em;
}

#recent_updates > div span
{
	display : block;
}

#updates:hover #recent_updates > div,
#updates.active #recent_updates > div
{
	width : max-content;
	height : 1em;
	margin : 0.5em 0em 0em 0em;
}

.galerie-directory
{
	position : relative;
}

/*********************************/
/* STICKER                      */
/*******************************/

.sticker {
  display: none;
  background: red;
  color: white;
  font-size: 0.8em;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
}

.sticker.visible {
  display: inline-block;
}

.galerie-directory .sticker
{
	position : absolute;
	top:0.2rem;
	right:0.2rem;
}

/*********************************/
/* VIDEOS                       */
/*******************************/

.videos
{
	margin : 1rem;
	display : flex;
	flex-wrap : wrap;
	justify-content: space-around;	
	gap : 1.5rem;
}

.video
{
	display : flex;
	flex-direction : column;
	align-items : center;
}

.video video
{
	max-width :250px;
}

.video .legend
{
	padding:0.5rem;
	font-weight:bold;
	text-align:center;
}

/*********************************/
/* IMAGES                       */
/*******************************/

.images
{
	margin : 1rem;
	display : flex;
	flex-wrap : wrap;
	justify-content: space-around;	
	gap : 1.5rem;
}

.image-container
{
	display : flex;
	flex-direction : column;
	align-items : center;
}

.image-container img
{
	max-width :100%;
	box-sizing : border-box;
}

@media only screen and (min-width: 800px) 
{
	.image-container img
	{
		max-width :250px;
		box-sizing : border-box;
	}
}

.image-container .legend
{
	padding:0.5rem;
	font-weight:bold;
	text-align:center;
}

.vignette
{
	width : 200px;
	height : auto;
}

.vignette img
{
	margin : 0px !important;
	width : 100%;
	height : 100%;
	box-sizing: border-box;
}

/*********************************/
/* PAGES                        */
/*******************************/

/* ACCUEIL */

#page.pages-accueil-html
{
	display : flex;
	flex-direction : column;
	background : unset;
}

#accueil_gif_container
{
	flex:1;
}

#accueil_footer
{
	padding : 1em;
	background : transparent;
	color : white;
	height : max-content;
}

#accueil_gif
{
	width : 100%;
	height : 100%;
	background: url(../images/accueil/KFWCSL.gif);
    background-position: center;
    background-repeat: no-repeat;
	background-size: contain;
}

#citation
{
	position : relative;
	bottom:0px;
	left:0px;
	width : 100%;
	text-align:center;
	display : flex;
	justify-content : center;
	align-items:center;
    font-family: var(--fontsWCL);
    font-size : 1.5em;
}

#citation img
{
	background : transparent !important;
	border : 0px solid red;
	box-shadow: unset;
}

/* KUNG FU */

#page.pages-kungfu-html
{
}

#yipman
{
	display : flex;
	flex-direction : column;
	align-items : center;
}

#yipman .images
{
	display : flex;
	flex-direction : row;
	justify-content : center;
}

#yipman .legend
{
}

/* ASSOCIATION */ 

#page.pages-association-html #enseignants_container
{
	display : flex;
	flex-direction : row;
	flex-wrap : wrap;	
	justify-content: space-around;
	gap : 2rem;
}

#page.pages-association-html #enseignants_container .enseignant
{
	display : flex;
	flex-direction : column;
	align-items: center;
}

/* LIEUX ET HORAIRES */ 

#page.pages-horaires-html
{
}

#page.pages-horaires-html .map-container
{
	width : 100%;
	display : flex;
	flex-direction : column;
	align-items : center;	
}

#page.pages-horaires-html .map-container .map
{
	margin : 2rem 2rem 1rem 2rem;
}

#page.pages-horaires-html .map-container .legend
{
	margin : 0rem 0rem 2rem 0rem;
}

/* NOUVEAUTES */

#page.pages-nouveautes-txt
{
	background : unset;
}

#page.pages-nouveautes-txt .info
{
	background: var(--bgGradientRed);
	border : 1px solid red;
	border-radius : 0.5rem;
	color : white;
	padding : 2rem;
	margin : 1rem;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 3px 0px;
}

#page.pages-nouveautes-txt .info a
{
	color : white;
	cursor : pointer;
}


/* GALERIES */

#page.pages-galeries-php
{
	background : unset;
}

/* LIENS */ 

#page.pages-liens-html
{

}


/* LIEUX ET HORAIRES */ 



