/*
Theme Name: Céline Faudot by Galisurf
Text Domain: g_celinefaudot
Version: 1.0
Requires PHP: 7.3
Description: Thème créé en 2023 par Galisurf, sans additif 
Author: Magali alias Galisurf
Author URI: https://galisurf.eu/
Theme URI: https://galisurf.eu/themes/g_celinefaudot/
License: Utilisation réservé au site Galisurf.Eu
*/

:root {
	--ea-rose: #7F67E8;
}

* { margin: 0; padding: 0; }
 
BODY 
{ font-size: 1.1rem; 

	/** Personnalisation **/
	color: #9317B7; /*#B7438A;*/ 
	font-family: 'Chakra Petch', Arial;
}
  
H1, H2, H3, H4, H5, H6 
{ font-family: 'Cinzel', serif; 
	margin: 0; padding: 0;
} 
H1 { text-align: center; padding: .6rem 0; margin: .6rem 0; }
H1.titre-large
{ background-color: #000000; 
	padding: 5rem 1rem;
	margin: 2rem 0;
}

H1.titre {
	text-align: center;
	font-size: 140%;
	margin: 0;
	color: #f29595;
	letter-spacing: 18px;
	word-spacing: 20px;
}

.logo { max-height: 80px; } 
@media screen and (max-width: 780px) { .logo { max-height: 60px; } }

.content-center { text-align: center!important; }

.breadcrumbs 
{ padding: .5rem;
	margin: 0 .5rem;
  background-color: #efe7f6;
  border-radius: .5rem;
	text-align: left; 
}
P { margin: .5rem 0; text-align: justify; }
A 
{ text-decoration: none;
	color: #FFFFFF;/*#B7438A;*/
}
UL { list-style: none; }
LI { font-family: 'Chakra Petch', sans-serif; }

IMG { border-radius: 1rem; }

MAIN { padding: .8rem 1rem; }

/*** MENU ***/

.logo { max-height: 80px; } 
@media screen and (max-width: 780px) { .logo { max-height: 60px; } }

/* Menu du Haut */
.navbar-toggle {
  display: inline-block;
  background: transparent;
  cursor: pointer; 
  padding: 10px 15px;
	border: 0;
	border-radius: .5rem;
}

.navbar-toggle:focus {
  outline: none;
}

.toggle-bar {
  display: block;
  width: 25px;
  height: .15rem;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

#menuPrincipal li { list-style-type: none; }
#menuPrincipal.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;

  background: linear-gradient(#7F67E8, #F29595 40%, #F29595 60%, #7F67E8);
	padding: 1rem 2rem;
}

#menuPrincipal.navbar a {
	display: block; 
	padding: .8rem 1.2rem;
	color: #ffffff;
	text-decoration: none;
}

@media (min-width: 993px) {
	#menuPrincipal .navbar-toggle { display: none; }

	#menuPrincipal ul.menu {
		display: flex;
		padding-left: 0;
		margin: 0;
	}

	#menuPrincipal a {
		padding: 10px 15px;
		color: gray;
		text-decoration: none;
	}

	#menuPrincipal a:hover,
	#menuPrincipal .current-menu-item > a {
		color: #72249b;
	}

	/* Cache les sous-menus par défaut */
	#menuPrincipal li ul {
		display: none; 
		position: absolute;
		background-color: #fff;
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
		padding: 0;
	}

	#menuPrincipal li:hover > ul {
		display: block;
	}

	/*** Flèche à droite ***/
	#menuPrincipal ul.menu .menu-item-has-children > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	#menuPrincipal ul.menu .menu-item-has-children > a:after {
		content: " ▼";
		margin-left: 5px;
		font-size: 0.8em;
	}
}

@media (max-width: 992px) {
	#menuPrincipal ul.menu {
    display: none;
  }
	
	#menuPrincipal > div {
			position: absolute;
			background: #FFFFFF;
			top: 90px;
			width: 100%;
			z-index: 9999;
	}
}

/*** ACCUEIL ***/
#page-accueil { margin-top: 0; } 
.bandeau
{ height: 320px;
  background-color: var(--ea-rose);
  background-repeat: no-repeat;
  background-position: center bottom;
  margin: 0 auto;  
} 

/** FORMULAIRE **/
FORM { margin: 1rem auto; }
FIELDSET { margin: 20px 0; }
LEGEND 
{	color: #2ebdf3;
  text-align: center; 
}
LABEL 
{ display: block;
  font-size: .9rem;
  margin-bottom: 0.3rem;
	text-align: left;
}  
INPUT, SELECT, TEXTAREA
{	display: block;
	background-clip: padding-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	
	width: 100%;
	box-sizing: border-box;
	line-height: 1.5;
	margin-bottom: .8rem; 
	padding: .3rem .75rem;
	border-radius: .25rem;
	border: 1px solid #ced4da;
	color: #0d6efd;
	/*font-family: cursive;*/
	font-size: .95rem;
}

INPUT:focus, SELECT:focus, TEXTAREA:focus 
{ outline-color: #28baf1; }

INPUT[type="submit"] { padding: 0.35rem 0.5rem; }

/*** BOUTON ***/
.btn
{ background-color: #612c89;
	color: #efe7f6;
	border: 1px solid transparent;
	font-size: .875rem;
  border-radius: .25rem;
	padding: .25rem .5rem; 
	margin: 0;
	width: auto;
	line-height: normal;
} 
A.btn {	color: #efe7f6; } 
.btn:hover { background-color: #efe7f6; }
.pastille { border-radius: 48%; }
.btn-sm {}

/*** Background  ***/
.bg-rouge, .champs-invalide { background-color: red; color: #eff4f7; }
.bg-orange { background-color: #ffa500;  color: #eff4f7; }
.bg-bleu { background-color: #0d6efd;  color: #eff4f7; }
.bg-blanc { background-color: #eff4f7; }
.bg-vert { background-color: #0aa911; color: #ccf0cd; }
.bg-img 
{ background-position: center; 
	Background-size: cover; 
	height: 200px; 
	width: 100%;
	border-radius: .5rem .5rem 0 0;
}
.bg-img A { height: 200px; display: block; }

.reponse, .champs-invalide { border-radius: .5rem; padding: .8rem .6rem; text-align: center; }
.champs-invalide { margin-top: -0.8rem; margin-bottom: .8rem; }

/** CONTENT **/
#content { min-height: 490px; }
.contentCenter { width: 100%; max-width: 1240px; margin: 5rem auto 1rem; } 

/** PAGE D'ACCUEIL **/
.home SECTION { max-width: 1240px; margin: 2rem auto 0; padding: 0 1rem; }
/*.home SECTION#nos-atouts { max-width: 840px; }*/
.home SECTION#nos-atouts P { text-align: center; }


SECTION#accueil-epingle 
{ display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-gap: 2rem; 
	justify-content: space-evenly;
  justify-items: center;
}
	@media screen and (max-width: 480px) 
	{	SECTION#accueil-epingle 
		{ grid-template-columns: repeat(1,1fr) }
	}

/** CATEGORY **/
.category MAIN > HEADER 
{	border-top: .2rem solid;
	text-align: center;
	margin: 1rem 0;
	padding: 1rem 0; 
}
.category #wrapper 
{ display: grid;
	grid-template-columns: repeat(3, 1fr); 
	grid-gap: 1rem; 
	justify-content: space-evenly;
  justify-items: center;
}
	@media screen and (max-width: 768px)
	{	.category #wrapper { grid-template-columns: repeat(2,1fr); }}
	@media screen and (max-width: 480px)
	{	.category #wrapper { grid-template-columns: repeat(1,1fr); }}	

/** LISTE ARTICLES **/
.article
{ display: grid;
	grid-gap: .7rem;
	border-radius: .5rem;
	border: .05rem solid #e3cbf6;
	max-width: 300px;
	align-content: space-between;
}
	@media screen and (max-width: 480px)
	{	.article { max-width: 100%; }}

.article .contenu { padding: 0 .7rem; }
.article .lire-suite 
{ text-align: end; 
	line-height: 2rem;
	background-color: #efe7f6;
	border-radius: 0 0 .5rem .5rem;
	padding: 0 .5rem;
	font-size: 90%; 
} 

/** ARTICLE SEUL **/
.single {}

.single H2 { margin-top: 2.5rem; }

UL.pagination
{ display: flex;
  justify-content: space-between;
  justify-items: stretch;
  align-items: center;
  flex-wrap: nowrap;

	padding: .5rem .6rem;
  margin: 2rem -.5rem 0;
  background-color: #efe7f6;
  border-radius: .5rem;
}

/** Formulaire de Contact **/
#form-contact { max-width: 45rem; }
#form-contact .presentation {}
#form-contact H2 { text-align: center; margin: 1rem 0; }

/** FOOTER **/
FOOTER#footer-principal
{ min-height: 6rem; 
	margin-top: 4rem;
	display: grid;
  align-items: end; 
  justify-content: center;
  background-color: #000000;
}

FOOTER #copyright { font-size: 80%; margin-bottom: .2rem; }

/** ADAPTATION CLASS WP **/
.wp-block-image.aligncenter, .wp-block-image .aligncenter, .wp-block-image.alignleft, .wp-block-image .alignleft, .wp-block-image.alignright, .wp-block-image .alignright { display: block; }