/* ---------------------------------- */
/* --- Fontes. Dossier /css/fonts --- */
/* ---------------------------------- */
@font-face {					/* Fonte Celtic pour le titre */
	font-family: "Celtic Garamond the 2nd";
	src: url("fonts/CELTG___.eot"); 										/* IE9*/
	src: url("fonts/CELTG___.eot?#iefix") format("embedded-opentype"),		/* IE6-IE8 */
		 url("fonts/CELTG___.woff") format("woff"),							/* chromeãfirefox */
		 url("fonts/CELTG___.ttf") format("truetype"),						/* chromeãfirefoxãoperaãSafari, Android, iOS 4.2+*/
		 url("fonts/CELTG___.svg#Celtic Garamond the 2nd") format("svg");	/* iOS 4.1- */
	font-style: normal;
	font-weight: 400;
}

@font-face {					/* Fonte par défaut */
	font-family: "Lato";
	src: url('fonts/Lato-Regular.ttf');
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "Lato";
	src: url('fonts/Lato-Bold.ttf');
	font-style: normal;
	font-weight: 800;
}

@font-face {
	font-family: "Lato";
	src: url('fonts/Lato-Italic.ttf');
	font-style: italic;
	font-weight: 400;
}



/* ------------------ */
/* --- css global --- */
/* ------------------ */

* {
	box-sizing: border-box;
}

body, html {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 19px;
	font-weight: 400;
	font-style: normal;
	background-color: #000;
}

img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, video {
	max-width: 100%;
}

a {
	color: #dead78;
	text-decoration: none;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

a:hover {
	color: #4bab91;
}

i {								/* Balise utilisée pour les icones Font Awesome */
	font-size: 1.5em;
}



/* ----------------------------- */
/* --- header (haut de page) --- */
/* ----------------------------- */

header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background: #000;
	-webkit-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	-ms-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	-o-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
}

header h1 {
	display: none;				/* Titre du header masqué. Affiché après scroll sur la page (voir script.js) */
	position: fixed;
	top: 0;
	left: 20px;
	margin: 0;
	height: 60px;
	line-height: 60px;
	font-family: "Celtic Garamond the 2nd",Helvetica,Arial,sans-serif;
	font-weight: normal;
	font-size: 1.5em;
	letter-spacing: .1em;
}

header h1 a, header h1 a:hover {
	color: #eee;
}



/* ----------------------------------------- */
/* --- Menu de navigation dans le header --- */
/* ----------------------------------------- */
nav {
	max-width: 1100px;
	margin: 0 auto;
	height: 60px;
	line-height: 60px;
}

nav div {
	float: right;
}

nav a {
	float: left;
	display: block;
	color: #dead78;
	text-align: center;
	padding: 0px 20px;
	text-decoration: none;
}

nav a:hover {
	color: #000;
	background-color: #dead78;
}

nav i {
	font-size: 1em;
}

nav .active {
	color: #000;
	background-color: #dead78;
}

nav .facebook {					/* Icône facebook dans le menu */
	font-size: 1.2em;
}

nav .burger {					/* Icône du menu. Affiché uniquement en mode responsive (smartphone) ou si fenêtre réduite */
	float: right;
	display: none;
	font-size: 1.5em;
}



/* ----------------------------------------- */
/* --- Ecran d'accueil du site avec logo --- */
/* ----------------------------------------- */
#banner {
	/* background: url('../img/banner.jpg') no-repeat center center fixed;	/* image de fond */
	background: url('../img/banner-medium.jpg') no-repeat center center fixed;	/* image de fond */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: 100%;
	width: 100%;
	text-align: center;
}

#banner div {					/* Contient logo et titre, centrés sur la page */
	position: relative;
	width: 100%;
	top: 50%;
	-webkit-transform: translate(0%, -50%);	/* Centrage vertical */
	-moz-transform: translate(0%, -50%);
	-ms-transform: translate(0%, -50%);
	-o-transform: translate(0%, -50%);
	transform: translate(0%, -50%);
	text-align: center;
}

#banner img {
	max-width: 100%;
	height: auto;
	opacity: 0;
}

#banner h1 {
	opacity: 0;
	margin: 20px 0;
	color: #dead78;
	font-family: "Celtic Garamond the 2nd",Helvetica,Arial,sans-serif;
	font-size: 1.7em;
	font-weight: normal;
	letter-spacing: .1em;
	text-shadow: 2px 2px 1px #000, 2px 2px 2px #000;
}



/* ---------------------------------------------------------------------------- */
/* --- Sections : 1 section par rubrique (accueil, actualités, ateliers...) --- */
/* ---------------------------------------------------------------------------- */
section {
	position: relative;
	padding: 1px 0;				/* Pour éviter la "fusion des marges" https://www.alsacreations.com/article/lire/629-fusion-des-marges.html (marge en bas de la section qui disparait) */
	line-height: 1.8em;
}

section:nth-of-type(odd) {		/* odd = section impaire */
	color: #333;
	background: #fff4d1;
}

section:nth-of-type(even) {		/* even = section paire */
	color: #eee;
	background: #282e3a;
}

section h1 {
	margin: 0;
	padding: 20px 0 0 0;
	text-align: center;
	font-family: "Celtic Garamond the 2nd",Helvetica,Arial,sans-serif;
	font-weight: normal;
	letter-spacing: .2em;
	font-size: 2.5em;
	overflow: hidden;
}

section:nth-of-type(odd) h1 {
	color: #b88d4d;
}

section:nth-of-type(even) h1 {
	color: #b3e2e2;
}

section:nth-of-type(odd) a {	/* La couleur des liens pour les sections de type even est la couleur par défaut (voir css global plus haut) */
	color: #4bab91;
}

section:nth-of-type(odd) a:hover {
	color: #dead78;
}

section h1:before, section h1:after {	/* Affichage décoration avant et après le titre de la section */
	content: ' ';
	display: block;
	height: 15px;
	width: 142px;
	margin: 40px auto;
	background-repeat: no-repeat;
	background-position: center;
	border: 0;
}

section:nth-of-type(odd) h1:before, section:nth-of-type(odd) h1:after {
	background: url(../img/hr-odd.png);
}

section:nth-of-type(even) h1:before, section:nth-of-type(even) h1:after {
	background: url(../img/hr-even.png);
}

section:after {						/* Affichage décoration à la fin de la section */
	content: ' ';
	display: block;
	height: 15px;
	width: 142px;
	margin: 40px auto;
	background-repeat: no-repeat;
	background-position: center;
	border: 0;
}

section:nth-of-type(odd):after {
	background: url(../img/hr-odd.png);
}

section:nth-of-type(even):after {
	background: url(../img/hr-even.png);
}

.section-separation {			/* Images de séparation des sections */
	position: relative;			/* Pour le span du coypright */
	max-width: 100%;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
}

#section-separation1 {
	background-image: url("../img/separation1.jpg");
}

#section-separation2{
	background-image: url("../img/separation2.jpg");
}

#section-separation3{
	background-image: url("../img/separation3.jpg");
}

#section-separation4{
	background-image: url("../img/separation4.jpg");
}

.section-separation span {		/* span pour le coypright */
	position: absolute;
	left: 20px;
	bottom: 20px;
	color: #555;
	font-size: 0.8em;
}



/* ---------------------------------- */
/* --- Articles dans les sections --- */
/* ---------------------------------- */
article {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
}

article p {
	margin: 0;
	padding: 20px 0;			/* padding plutôt que margin sinon bug d'affichage */
	text-align: justify;		/* For Edge */
	text-justify: inter-word;	/* FF, IE, Edge */
	text-align-last: left;
}

article strong {
	color: #333;
}

article strong.celticalpes {
	font-family: "Celtic Garamond the 2nd",Helvetica,Arial,sans-serif;
	font-size: 1.2em;
	font-style: normal;
	word-spacing: -.2em;
	letter-spacing: .1em;
}

article blockquote {
	margin: 0;
	padding: 20px 0;
	color: #333;
}

article blockquote::before, article blockquote::after {
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
}

article blockquote::before {
	margin: 0 10px 0 0;
	content: "\f10d";			/* quote-left */
}

article blockquote::after {
	margin: 0 0 0 10px;
	content: "\f10e";			/* quote-right */
}

article img {
	width: 100%;
}

article ul {
	list-style-type: circle;
}

article i {
	margin: 0 4px 0 0;
}

article.galerie-2colonnes figure {	/* Affichage d'images sur 2 colonnes */
	float: left;
	width: 50%;
	margin: 0;
	overflow: hidden;
}

article.galerie-2colonnes figcaption {
	font-style: italic;
	text-align: center;
}

article.galerie-2colonnes img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

article.galerie-2colonnes:after {
	content: '';
	display: block;
	clear: both;
}

article.galerie-3colonnes {		/* Affichage d'images sur 3 colonnes (pour le diaporama) */
	padding: 20px 0 0 0;
	text-align: center;
}

article.galerie-3colonnes figure {
	float: left;
	width: 33.33%;
	height: 200px;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	border: solid 1px transparent;
	-webkit-transition: 0.3s;	/* Pour opactity article.galerie-3colonnes figure:hover */
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

article.galerie-3colonnes figure:hover {
	opacity: 0.7;
}

article.galerie-3colonnes img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

article.galerie-3colonnes i {	/* Bouton "+" affiché uniquement en mode responsive (smartphone): affichage limié à 3 images. Affiche 3 nouvelles images si clique sur "+" (voir script.js) */
	float: left;
	display: none;
	width: 100%;
	margin: 20px 0 0 0;
	color: #dead78;
}

article.galerie-3colonnes:after {
	content: '';
	display: block;
	clear: both;
}



/* -------------- */
/* --- Medias --- */
/* -------------- */
iframe.google-maps {			/* Incrustation de google map dans la page */
	margin: 10px 0 0 0;
}

a.google-maps {					/* iframe Google Map remplacé par un lien en mode responsive (smartphone) */
	display: none;
}



/* --------------------------- */
/* --- Rubrique Actualitée --- */
/* --------------------------- */
#section-actualites article {
	height: 400px;
	background-image: url(../img/actu-bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#section-actualites article p {
	padding: 80px 10px;
	font-size: 1.2em;
	text-align: center;
	text-align-last: center;
	background-color: rgba(0, 0, 0, 0.7);
}

#section-actualites a {
	text-decoration: underline;
}

#section-actualites i {
	margin: 0 0 0 4px;
}



/* ------------------------- */
/* --- Rubrique Ateliers --- */
/* ------------------------- */
#section-ateliers ul {			/* Liste des dates */
	margin: 0 0 20px 0;
	list-style-type: circle;
}



/* ----------------------------- */
/* --- Rubrique Liens Utiles --- */
/* ----------------------------- */
#section-liens-utiles div {
	overflow-x: auto;
}

#section-liens-utiles table {
	width: 100%;
	margin: 20px 0 40px 0;
	background-color: #444d60;
	border-collapse: collapse;
	border-spacing: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	-o-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.7);
}

#section-liens-utiles table:last-of-type {
	margin-bottom: 10px;		/* 10px min pour shadow */
}

#section-liens-utiles th {
	font-weight: normal;
	text-align: left;
	font-size: 1.3em;
	padding: 10px 10px 20px 10px;
	background: url(../img/hr-liensutiles.png) repeat-x bottom;
}

#section-liens-utiles tr {
	border-bottom: solid 1px #282e3a;
}

#section-liens-utiles tr:last-of-type {
	border: 0;
}

#section-liens-utiles td {
	padding: 6px 10px;
}

#section-liens-utiles td:nth-of-type(1) {		/* 1ère colonne des tableaux */
	width: 450px;
}

#section-liens-utiles td:nth-of-type(3) {		/* 3ème colonne des tableaux */
	width: 160px;
	color: #999;
	text-align: right;
	font-size: 0.8em;
}

#section-liens-utiles td i {					/* css du cadenas affiché dans le tableau des Partitions */
	margin: 0 8px 5px 0;
	vertical-align: middle;
	font-size: 0.9em;
}

#section-liens-utiles span.mp3 {
	float: right;
	font-size: 0.8em;
}

/* ------------------------- */
/* --- Rubrique Adhésion --- */
/* ------------------------- */
#section-adhesion .contact {
	font-weight: 800;			/* Voir font Lato Bold */
}



/* -------------------- */
/* --- Pied de page --- */
/* -------------------- */
footer {
	position: relative;
	padding: 20px 0;
	color: #eee;
	background-color: #171717;
	text-align: center;
}

footer p {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 0;
}

footer p i {
	margin: 0 0 0 4px;
}

footer form {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 20px 0;
}

footer input[type="password"] {
	width: 200px;
	height: 40px;
	padding: 0px 6px;
	vertical-align: middle;
	border: none;
	font-size: 17px;
}

footer input[type="password"]:focus {
	outline: none;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	border-color: inherit;
	-webkit-box-shadow: none;
	box-shadow: none;
}

footer button {
	height: 40px;
	border: none;
	cursor: pointer;
	background-color: #dead78;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

footer button:hover {
	background-color: #4bab91;
}

#erreur {
	width: 250px;
	margin: 20px auto 0px auto;
	padding: 10px;
	color: #fff;
	background: #b85151;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}



/* ------------------------- */
/* --- Lien Haut de page --- */
/* ------------------------- */
#haut-page {
	display: none;				/* Affiché si scroll dans la page. Voir script.js */
	position: fixed;			/* Affiché en bas à droite de la page */
	right: 20px;
	bottom: 20px;
	width: 60px;
	height: 60px;
	z-index: 150;
	cursor: pointer;
	background: url('../img/haut.png') no-repeat;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

#haut-page:hover {
	background: url('../img/haut-hover.png') no-repeat;
}

#message {
	display: none;
	position:fixed;
	bottom: 20px;
	left: 50%;
	-webkit-transform: translate(-50%);		/* centrage */
	-moz-transform: translate(-50%);
	-ms-transform: translate(-50%);
	-o-transform: translate(-50%);
	transform: translate(-50%);
	z-index: 300;
	padding: 10px;
	color: #fff;
	background: #4bab91;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}