/*
 Theme Name:   Galisurf by Galisurf
 Description:  Thème créé en 2024 par Galisurf, sans additif
 Author:       galisurf
 Author URI:   https://galisurf.eu/
 Version:      1.1
 Text Domain:  g_2024
*/

* { margin: 0; padding: 0; }
 
BODY 
{ font-size: 1.2rem;
	line-height: 1.8;
 
	/** Personnalisation **/
	color: #0082A5; 
	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: #efe7f6; 
	padding: 5rem 1rem;
	margin: 2rem 0;
}
H2.titre { text-align: center; font-size: 100%; margin-top: .5rem; }

.content-center { text-align: center!important; }
@media screen and (max-width: 992px)
{ .content-center { text-align: justify!important; } }

.breadcrumbs 
{ padding: .5rem;
	margin: 0 .5rem;
  background-color: #efe7f6;
  border-radius: .5rem;
	text-align: left; 
} 
P { margin: 1.2rem 0; text-align: justify; line-height: 1.8; }  
A 
{ text-decoration: none;
	color: #0082A5;
}
UL { list-style: none; }
LI { font-family: 'Chakra Petch', sans-serif; }

MAIN { padding: .8rem 1rem; }
/** BARRE DE NAVIGATION **/
	/** nav#navigation-top personnalisation du top 
			nav.navbar commun à toutes les barres de navigation **/
	/*nav.navbar UL { margin: 0; padding: 0; } */

	nav.navbar LI	{ padding: 0.6rem 0.7rem; }

	nav.navbar LI A	{ font-size: 90% }
	 
	/** TOP **/
	#navigation-top
	{ position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
	}
	.admin-bar #navigation-top { top: 2rem; } 
	@media screen and (max-width: 782px)
	{ .admin-bar #navigation-top { top: 2.8rem; } }
	
	#navigation-top UL
	{ display: grid;
		grid-auto-flow: column;
		justify-content:center;
		justify-items:center;
 
		/** Personnalisation */
		background-color: #efe7f6; 
	}
	#navigation-top LI {}
	 
/** HEADER **/ 
#header-top { padding-top: 3rem; }
#top-logo { text-align: center; padding: 0; } 
#top-logo IMG { width: 100%; }

/*** BOUTON ***/
#galiForm INPUT[type="submit"], 
.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-center { width: 100%; max-width: 1240px; margin: 1rem auto; } 

/** PAGE D'ACCUEIL **/
.home SECTION { max-width: 1240px; margin: 2rem auto 0; padding: 0 1rem; }
.home .description P { text-align: center; max-width: 800px; margin: 1.2rem auto; }
@media screen and (max-width: 992px)
{ .home .description P { text-align: justify; max-width: 100%; } }

.home .post-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)
	{	.home .post-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: #efe7f6;
}

FOOTER #copyright { font-size: 1rem; margin-bottom: .5rem; }

