/*
Theme Name: ALLOS by Galisurf - g_galisurf
Text Domain: g_galisurf
Version: 1.0
Requires PHP: 7.3
Description: Thème créé en 2025 par Galisurf, sans additif 
Author: Magali alias Galisurf
Author URI: https://galisurf.eu/
Theme URI: https://galisurf.eu/themes/g_galisurf/
License: Utilisation réservé au site Galisurf.Eu
*/

* { margin: 0; padding: 0; }
 
BODY {
	font-size: 1rem;
	line-height: 1.8;
 
	/** Personnalisation **/
	color: #122F25; 
	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: #7bb2e2; 
	padding: 5rem 1rem;
	margin: 2rem 0;
}
H2 { text-align: center; font-size: 150%; margin: .8rem 0; padding: .8rem 0; } 

.content-center { text-align: justify!important; }

.breadcrumbs 
{ padding: .5rem;
	margin: 0 .5rem;
  background-color: #7bb2e2;
  border-radius: .5rem;
	text-align: left; 
} 
P { margin: 1.2rem 0; text-align: justify; line-height: 1.8; }  
A 
{ text-decoration: none;
	color: #122F25;
}
UL { list-style: none; }
LI { 
	font-family: 'Chakra Petch', sans-serif;	
}

main { padding: .8rem 1rem; }

main li {
	margin: 0 0 0 2rem; 
	font-style: italic;
}
main li::before {
  content: "\f2dc";
  font-family: "Font Awesome 5 Free";
	font-style: normal;
  font-weight: 900;
  margin-right: 1rem;
  color: #34866a;
}
main blockquote {
	margin: 0 0 0 2rem; 
}

/** 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%;
		background-color: #7bb2e2;
		border-radius: 3rem;
		padding: 12px 18px;
		color: #122f25;
	}
	 
	/** TOP **/
	#navigation-top { 
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		height: 90px;
		z-index: 1030;

		background-color: #ffffff;
	}
	#menu_haut {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.home #menu_haut {
		justify-content: center;
		align-items: center;
		margin-top: 1.4rem;		
	}
	.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: #7bb2e2; */
	}
	#navigation-top LI {}
	 
	#barre_top {
		border-top: .2rem solid #122f25;
		margin-top: -2.85rem;
	}
	.home #barre_top { margin-top: -1.55rem; }
	 
	/* Cache le bouton sur les grands écrans */
	#menu-toggle {
		display: none;
	}

/* --- MOBILE --- */
@media screen and (max-width: 768px) {

    /* Bouton toggle visible + bleu + à droite */
    #menu-toggle {
        display: block;
        font-size: 1.8rem;
        border: none;
        background: #7bb2e2;
        color: #122f25;
        padding: 0.6rem 1rem;
        border-radius: .6rem;
        margin-right: 1rem;
    }

    /* Le conteneur menu : SUPERPOSITION */
    .menu-menu-haut-container {
        display: none;
        position: fixed;
         /*top: 90px; se pose sous la barre */
        left: 0;
        right: 0;
        background: white;
        z-index: 2000;
        padding: 1rem 0;
		margin-top: 1rem;
       /* border-top: 2px solid #122f25;*/
    }

    .menu-menu-haut-container.active {
        display: block;
    }

    /* Style des éléments */
    .menu-menu-haut-container ul {
        display: block;
        padding: 0;
        margin: 0;
    }

    .menu-menu-haut-container li {
        display: block;
		width: 100%;
        padding: 1rem 0;
        text-align: center;
    }

	nav.navbar LI A	{ 
		display: block;
	}
	
    /* Supprimer le grid du menu en mobile */
    #navigation-top UL {
        display: block;
    }

}
	 
/** HEADER **/
#header-top { padding-top: 5.5rem; }
#top-logo { text-align: center; padding: 0 .5rem; } 
#top-logo IMG 
{ width: 100%;
	max-width: 800px; 
}

/** content **/
#content {
	margin-top: 5.5rem;
}

/*** BOUTON ***/
#galiForm INPUT[type="submit"], 
.btn
{ background-color: #612c89;
	color: #7bb2e2;
	border: 1px solid transparent;
	font-size: .875rem;
  border-radius: .25rem;
	padding: .25rem .5rem; 
	margin: 0;
	width: auto;
	line-height: normal;
} 
A.btn {	color: #7bb2e2; } 
.btn:hover { background-color: #7bb2e2; }
.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: 0 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, .page MAIN > .entry-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: #7bb2e2;
	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: #7bb2e2;
  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: #7bb2e2;
}

FOOTER #copyright { font-size: 1rem; margin-bottom: .5rem; }

