/*===== FONTS =====*/
@font-face {
    font-family: 'Mano';
    src: url('fonts/mano.woff') format('woff');
}
@font-face {
    font-family: 'ManoB';
    src: url('fonts/mano_bold.woff') format('woff');
}
@font-face {
    font-family: 'Louis';
    src: url('fonts/louis.woff') format('woff');
}

/*===== VALEURS GLOABLES =====*/
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-family: 'Louis';
	color: black;
	
}
#back1, #back2 {
	position: fixed;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
}
	#back1 {
		background: linear-gradient(180deg, rgba(194,230,228,1) 0%, rgba(170,125,182,1) 100%);
		z-index: 1;
	}
	#back2 {
		background: url('img/fond.png') no-repeat;
		background-size: cover;
		z-index: 2;
	}
a {
	text-decoration: none;
	color: white;
}
	a:hover { color: black; }
h1 {
    text-shadow: 1px 1px white, -1px 1px white, 1px -1px white, -1px -1px white, 4px 4px rgba(255,255,255,0.4);
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 4em;
}
h2 {
	color: rgb(128,130,132);
	font-weight: normal;
	font-size: 1.3em;
}
h3 img {
	vertical-align: middle;
}
hr {
	width: 100%;
	height: 50px;
	border: 0;
}
p { text-align: justify; text-indent: 35px; position: relative; }
ul { list-style: none; text-align: left; padding: 0 0 0 10px; }

/*===== VALEURS SPECIFIQUES =====*/
.no_pc { display: none; }
.menu_on a { color: black; }
p.ligne_plus, ul.ligne_plus li { line-height: 30px; text-indent: 0; }
.fl_left { float: left; margin-right: 5px; }
.fl_right { float: right; margin-left: 5px; }
ul.tiret { list-style: none; }
	ul.tiret li::before { content: '- '; }
.flex_egal { display: flex; justify-content: center; margin-top: 20px; }
.citation::before, .citation::after {
	position: absolute;
	font-size: 2.5em;
	color: rgb(230,230,230);
}
.citation::before { top: 5px; margin-left: -20px; content: '“'; }
.citation::after { bottom: 5px; margin-left: 5px; content: '“'; transform: rotate(180deg); }
.fade { opacity: 0.5; }
.no_indent { text-indent: 0; }
.marj_g { padding-left: 20px; }
.marj_d { padding-right: 20px; }
.souligne { text-decoration: underline; }
.gras { font-weight: bold; font-size: 1.1em; }
.penche { font-style: italic; font-size: 0.9em; }
.petit { font-size: 0.8em; }
.centre { text-align: center; }
.justify { text-align: justify; }
.chariot { clear: both; }
.doigt { cursor: pointer; }
.milieu { vertical-align: middle; }
.nowrap { white-space: nowrap; }

.rose { color: rgb(159,117,132); }
.rouge { color: rgb(255,0,0); }
.gris_clair { color: rgb(130,130,130); }

.fd_noir { background-color: black; }

.valid_oui { font-weight: bold; color: green; text-align: center; }
.valid_non { font-weight: bold; color: red; text-align: center; }

.t1, .t2, .t3, .t4, .t5 { font-weight: bold; text-indent: 25px; }
.t1 { font-size: 1.2em; }
.t2 { font-size: 1.4em; }
.t3 { font-size: 1.6em; }
.t4 { font-size: 1.8em; }
.t5 { font-size: 2em; }

.w25 { width: 25%; }
.w50 { width: 50%; }
.w75 { width: 75%; }
.w100 { width: 100%; }

/*===== HEADER =====*/
header {
	position: fixed;
	z-index: 1500;
	top: 0;
	left: 0;
	width: 100%;
	height: 120px;
}
	header a {
		color: rgb(128,130,132);
	}
	#H_menu {
		position: absolute;
		top: -10px;
		left: calc(50% - 600px);
		width: calc(50% + 600px);
		height: 100px;
	}
		#H_logo {
			position: relative;
			z-index: 1010;
			float: left;
			width: 100px;
			height: 100px;
			padding: 15px;
			background-color: white;
			border-radius: 100%;
			box-shadow: 0 0 5px;
		}
			#H_logo img {
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				max-width: 80%;
				max-height: 80%;
			}
			.H_logo_kaiten { color: rgb(207,11,15); }
		#H_nav {
			position: relative;
			width: 100%;
			height: 50px;
			list-style: none;
			margin: 40px 0 0 105px;
			padding: 0 0 0 300px;
			font-family: 'Louis';
			font-size: 1.3em;
			line-height: 45px;
			background-color: white;
			box-shadow: -5px 0 5px;
		}
			#H_nav:before {
				position: absolute;
				z-index: 1020;
				top: 0;
				left: 10px;
				width: 22px;
				height: 50px;
				background-color: white;
				content: '';
			}
			#H_nav li {
				display: inline-block;
				margin: 0 10px;
			}
			#H_nav li#H_nav_KM {
				position: absolute;
				top: 5px;
				left: 25px;
				font-family: 'Mano';
				text-transform: uppercase;
				font-size: 2.0em;
				letter-spacing: 1px;
				line-height: 50px;
			}
				#H_nav li#H_nav_KM a { color: black; }
				#H_nav li#H_nav_KM a span.H_nav_kaiten { color: rgb(34,177,76); }
			#H_nav li#H_nav_infos,
			#H_nav li#H_nav_exposants,
			#H_nav li#H_nav_animations,
			#H_nav li#H_nav_billeterie,
			#H_nav li#H_nav_contact,
			li#F_mentions { background: url('img/back_nav.png') no-repeat center; background-size: contain; }
			#H_nav li#H_nav_slogan {
				position: absolute;
				top: 45px;
				left: 25px;
				color: white;
				text-shadow: 0 0 10px black;
				font-size: 1.1em;
			}
		#H_nav_M { display: none; }

/*===== CORPS =====*/
#corps {
	position: relative;
	z-index: 1000;
	width: 75%;
	min-height: calc(100% - 135px);
	margin: 0 auto 20px;
	padding: 120px 50px 30px;
	box-sizing: border-box;
	font-size: 1.1em;
}
/*===== PAGES =====*/
/* -- INDEX --*/
#pasdecompte {
	text-align: center;
	font-size: 1.2em;
	margin-top: 15px;
}
	#pasdecompte a {
		color: black;
		text-decoration: underline;
	}
/* -- INFOS -- */
.infos_logo {
	width: 200px;
	margin-right: 10px;
}
.infos_indic {
	text-decoration: underline;
	font-style: italic;
	font-size: 0.9em;
	font-weight: bold;
}
.mod_infos {
	background-image: linear-gradient(to right, #314755 0%, #26a0da  51%, #314755  100%);
	margin: 10px;
	text-align: center;
	transition: 0.5s;
	background-size: 200% auto;
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
	width: 150px;
	height: 45px;
	float: right;
	border: none;
	font-size: 1.1em;
	font-family: 'Louis';
	color: white;
	line-height: 45px;
}
	.mod_infos:hover {
		background-position: right center;
		cursor: pointer;
	}

/* -- EVENTS -- */
.event_table {
	border-collapse: collapse;
	background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(237,3,32,0.87) 20.8%, rgba(242,121,1,0.84) 74.4% );
	margin-top: 20px;
}
	.event_table tr:hover { background-color: rgba(255,255,255,0.1); }
	.event_table tr td {
		border: 1px solid black;
		padding: 5px 10px;
	}
		.event_titre {
			min-width: 700px;
		}
		.event_candi { text-align: center; }
			.event_candi:hover {
				background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(242,121,1,0.84) 20.8%, rgba(237,3,32,0.87) 74.4% );
				box-shadow: inset 0 0 1px white;
			}
			.event_candi img { vertical-align: sub; }
			.event_candi a { color: white; font-weight: bold; }
				.event_candi a:hover { text-decoration: underline; }
.event_logo {
	max-width: 80%;
	text-align: center;
	margin: 10px auto;
}
.event_disclaimer {
	width: 80%;
	box-sizing: border-box;
	margin: 0 auto 20px;
	padding: 10px 20px;
	border: 6px solid rgb(237,28,36);
	background-color: rgb(254,239,234);
	color: rgb(237,28,36);
	text-align: justify;
	font-style: italic;
	font-size: 0.95em;
}
.event_reglement {
	width: 90%;
	background-color: white;
	box-sizing: border-box;
	margin: 10px auto;
	padding: 30px;
	box-shadow: 0 0 30px black;
	font-size: 0.8em;
}
	.event_reglement h3 {
		font-family: 'ManoB';
		font-size: 2.6em;
		text-indent: 40px;
		margin: 0;
		padding: 0;
		text-transform: uppercase;
	}
	.event_reglement hr {
		width: 100%;
		height: 10px;
		background-image: linear-gradient(90deg, rgba(249,176,149,1) 0%, rgba(251,189,154,1) 21%, rgba(255,255,168,1) 52%, rgba(255,251,204,1) 79%, rgba(255,255,255,1) 100%);
		margin: 5px 0 20px;
	}
	.event_reglement h5 {
		font-size: 1.4em;
		font-weight: bold;
		text-indent: 25px;
		margin: 0;
		padding: 0;
	}
	.event_reglement h6 {
		font-size: 1.1em;
		font-weight: bold;
		margin: 0;
		padding: 0;
	}
	.event_reglement_txt {
		column-count: 3;
		column-rule: 1px solid rgb(200,200,200,0.5);
		column-fill: balance;
		text-align: justify;
	}
		.event_reglement_txt em {
			color: rgb(26,117,186);
			font-style: italic;
		}
.event_tarif {
    margin: 10px auto;
    border-radius: 5px;
    box-shadow: 0 0 30px black;
    background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);
	border-collapse: collapse;
}
	.event_tarif tr td {
		padding: 10px 0;
		border-bottom: 1px solid grey;
	}
		.event_tarif tr td:first-child {
			text-align: center;
			vertical-align: middle;
		}
		.event_tarif tr td:last-child {
			text-align: center;
			vertical-align: middle;
			font-size: 1.2em;
			font-weight: bold;
			color: darkblue;
		}
	#evinsc_pack {
		width: 35px;
	}

/* -- FORMULAIRES -- */
fieldset {
	border: 0;
	background: linear-gradient(to bottom, rgb(251,209,195), rgb(252,250,193));
	box-shadow: 0 0 5px grey;
	border-radius: 5px;
	font-size: 1.1em;
	min-height: 150px;
	box-sizing: border-box;
	margin-top: 30px;
	padding: 10px 15px;
}
	fieldset.insc_field { background-image: linear-gradient(225deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%); }
	fieldset.infos_field { background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(237,3,32,0.87) 20.8%, rgba(242,121,1,0.84) 74.4% ); }
	legend {
		background-color: #FBAB7E;
		background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
		text-transform: uppercase;
		box-shadow: 0 0 5px grey;
		font-weight: bold;
		padding: 5px 8px;
		border-radius: 5px;
	}
	input[type=text], input[type=password], input[type=tel], input[type=email], textarea, select {
		display: inline-block;
		height: 35px;
		margin: 8px 15px;
		background-color: white;
		border: 1px solid lightgrey;
		font-size: 1em;
		font-family: 'Louis';
		line-height: 20px;
		box-shadow: 0 0 2px lightgrey;
		border-radius: 5px;
		width: 80%;
	}
	textarea { height: 200px; resize: vertical; }
		input[type=text]:hover, input[type=tel]:hover, input[type=email]:hover, textarea:hover { border: 1px solid lightgrey; }
	input[type=submit] {
		background-color: rgb(215,26,33);
		min-width: 150px;
		height: 45px;
		float: right;
		clear: both;
		border: none;
		border-radius: 5px;
		margin: 10px 0 0 0;
		font-size: 1.2em;
		font-family: 'Louis';
		font-weight: bold;
		color: white;
	}
		input[type=submit]:hover {
			color: rgb(252,176,64);
			cursor: pointer;
			box-shadow: 0 0 3px grey;
		}
	select:required:invalid { color: gray; }
	option[value=""][disabled] { display: none; }
	option { color: black; }
		.mini_form input[type=text] {
			height: 20px;
			width: 100px;
			margin: 0;
			padding: 0;
			font-size: 0.7em;
		}
		.mini_form input[type=submit] {
			height: 20px;
			min-width: initial;
			width: 30px;
			margin: 0;
			padding: 0;
			font-size: 0.7em;
			float: initial;
			text-align: center;
		}

	/*=============*/
	/*--- ADMIN ---*/
	/*=============*/
	.a_table {
		margin: 10px auto;
		border-collapse: collapse;
	}
		.a_table tr th {
			text-transform: uppercase;
			font-style: oblique;
			font-size: 2.1em;
			padding: 10px 0;
			font-family: 'Mano';
		}
		.a_table tr:nth-child(2n+2) { background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%); box-shadow: 0 0 20px black; }
		.a_table tr:nth-child(2n+3) { background-image: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%); box-shadow: 0 0 20px black; }
		.a_table tr td {
			padding: 8px;
			border-bottom: 1px solid grey;
		}
			.a_table tr td:first-child {
				text-align: center;
			}
		.a_table img { border-radius: 100%; border: 1px solid rgba(0,0,0,0); }
			.a_table img:hover { border: 1px solid rgba(0,0,0,0.4); box-shadow: 0 0 5px black; }
		.a_table a { color: darkblue; }
			.a_table a:hover { text-decoration: underline; }
		/* Exception Admin */
		.a_table img.docs { border-radius: 0; border: none; }
			.a_table img.docs:hover { border: none; box-shadow: none; }

		
/*===== FOOTER =====*/
footer {
	position: relative;
	z-index: 499;
	width: 100%;
	height: 80px;
	clear: both;
	background-color: white;
}
	footer a {
		color: rgb(128,130,132);
	}
	footer #upper_line {
		width: calc(50% + 250px);
		height: 100%;
	}
		#footer_liens {
			float: left;
			margin: 0 0 0 10px;
		}
			#footer_liens img {
				max-height: 70px;
				margin: 5px 5px 0;
			}
		footer ul {
			float: right;
			list-style: none;
			margin: 0;
			padding: 0;
			color: rgb(88,88,91);
			font-family: 'Louis';
			font-size: 1.3em;
			letter-spacing: 1px;
		}
			footer ul li {
				display: inline-block;
				margin: 0 15px;
				line-height: 80px;
			}
				footer ul li#reseaux { padding: 0 50px 0 130px; }
					footer ul li#reseaux svg.icon {
						margin: 0 10px;
						width: 40px;
						height: 40px;
						fill: rgb(88,88,91);
						vertical-align: middle;
					}
						footer ul li#reseaux svg#icon_fb:hover { fill: rgb(71,89,147); }
						footer ul li#reseaux svg#icon_insta:hover { fill: rgb(197,54,164); }
						footer ul li#reseaux svg#icon_linked:hover { fill: rgb(0,132,177); }
		#footer_perso {
			position: absolute;
			z-index: 500;
			bottom: 0;
			right: 0;
			width: 30vw;
			overflow: hidden;
			vertical-align: bottom;
		}
		

/*====================================================================================*/
/*=================================== MOBILE =========================================*/
/*====================================================================================*/
@media screen and (max-width: 1200px) {
	/*=== VALEURS SPECIFIQUES ===*/
	.no_mobile { display: none; }
	.no_pc { display: initial; }
	h1 { font-size: 1.6em; margin-top: 40px; }
		h1::after { top: 0; left: -50px; }
	h2 { font-size: 1.2em; }
	img { max-width: 100%; }
	hr {
		height: 35px;
		margin: 10px 0;
	}
	/*=== HEADER ===*/
	header { height: 70px; }
	#H_menu {
		width: 100%;
		height: 60px;
		left: initial;
		top: 0;
		background-color: white;
	}
	#H_logo {
		width: 60px;
		height: 60px;
		padding: 0;
		border-radius: none;
		box-shadow: none;
	}
		#H_logo img {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			max-width: 80%;
			max-height: 80%;
		}
		.H_logo_KM {
			position: absolute;
			top: 0;
			left: 60px;
			font-family: 'Mano';
			text-transform: uppercase;
			font-size: 1.5em;
			letter-spacing: 1px;
			line-height: 65px;
			color: black;
			white-space: nowrap;
		}
			.H_logo_kaiten { color: rgb(34,177,76); }
	#H_nav { display: none; }
	#H_nav_M { display: block; }
		#H_burger {
			position: relative;
			display: block;
			top: 0;
			right: 0;
			z-index: 1;
		}
			#H_burger input {
				position: absolute;
				display: block;
				top: 4px;
				right: 10px;
				width: 40px;
				height: 32px;
				margin: 0;
				padding: 0;
				cursor: pointer;
				opacity: 0;
				z-index: 2;
			}
			#H_burger div {
				position: absolute;
				top: 19px;
				right: 4px;
			}
			#H_burger div span {
				position: relative;
				display: block;
				float: right;
				clear: both;
				right: 15px;
				width: 33px;
				height: 4px;
				margin-bottom: 5px;
				background: black;
				z-index: 1;
				transform-origin: 4px 0px;
				transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
						  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
						  opacity 0.55s ease;
			}
				#H_burger div span:first-child { transform-origin: 0% 0%; }
				#H_burger div span:nth-last-child(2) { transform-origin: 0% 100%; }
				#H_burger input:checked ~ div span:first-child { transform: rotate(45deg) translate(1px, -5px); }
				#H_burger input:checked ~ div span:nth-last-child(1) { transform: rotate(-45deg) translate(0, -1px); }
				#H_burger input:checked ~ div span:nth-last-child(2) { opacity: 0; }
				#H_burger ul {
					position: absolute;
					width: 100%;
					top: 58px;
					right: 0;
					margin: 0;
					padding: 0 20px 10px 0;
					box-sizing: border-box;
					background-color: white;
					list-style-type: none;
					transform-origin: 0% 0%;
					transform: translate(100%, 0);
					transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
					text-align: right;
				}
					#H_burger ul li {
						padding: 10px 0 10px 15px;
						font-size: 1.4em;
					}
				#H_burger input:checked ~ ul { transform: translate(0, 0); }	
	/*=== CORPS ===*/
	#corps {
		width: 100%;
		padding: 60px 20px 30px;
		min-height: calc(100% - 150px);
	}
	/*===== PAGES =====*/
	/*--- Accueil ---*/
	#accueil { min-height: calc(100% - 40px); padding-top: 60px; box-sizing: border-box; }
		#accueil img { opacity: 1.0; }
	.mod_infos {
		width: 100px;
		height: 35px;
		line-height: 35px;
	}

	/* -- EVENTS -- */
	.event_table {
		font-size:0.8em;
	}
			.event_titre {
				min-width: 10px;
			}
				.event_candi img { height: 24px; }
	.event_logo {
		max-width: 100%;
	}
	.event_disclaimer {
		width: 100%;
		padding: 7px 10px;
		border: 4px solid rgb(237,28,36);
		font-size: 0.85em;
	}
	.event_reglement {
		width: 100%;
		padding: 5px;
		box-shadow: 0 0 20px black;
		font-size: 0.7em;
	}
		.event_reglement h3 {
			font-size: 1.6em;
			text-indent: 5px;
		}
		.event_reglement hr {
			height: 8px;
			margin: 0 0 15px;
		}
		.event_reglement h5 {
			font-size: 1em;
			text-indent: 5px;
		}
		.event_reglement h6 {
			font-size: 0.8em;
		}
	.event_reglement_txt {
		column-count: 2;
	}
	.event_tarif {
		margin: 10px auto;
		border-radius: 5px;
		box-shadow: 0 0 30px black;
		background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);
		border-collapse: collapse;
	}
		.event_tarif tr td {
			padding: 10px 0;
			border-bottom: 1px solid grey;
		}
			.event_tarif tr td:first-child {
				text-align: center;
				vertical-align: middle;
			}
			.event_tarif tr td:last-child {
				text-align: center;
				vertical-align: middle;
				font-size: 1.2em;
				font-weight: bold;
				color: darkblue;
			}
		#evinsc_pack {
			width: 35px;
		}


	/*--- Contact ---*/
	fieldset { width: 100%; font-size: 0.9em; }
	label { display: block; width: 100%; text-align: left; }
	textarea { height: 150px; }
	input[type=submit] {
		min-width: 100px;
		height: 40px;
	}
	
	/*--- Mentions Légales ---*/
	.flex_egal { flex-direction: column; }
	.mentions { width: initial; }

	/*=== FOOTER ===*/
	footer { height: 40px; }
	footer #upper_line { width: 100%; }
		#footer_liens img { max-height: 30px; }
		footer ul { float: left; width: 100%; }
			footer ul li::first-child { float: left; }
			footer ul li::last-child { float: right; }
			footer ul li#reseaux { padding: 0; }
				footer ul li#reseaux svg.icon { width: 25px; height: 25px; margin: 0 5px; }
}
