/*!
Theme Name: aplli
Theme URI: https://them.es/starter
Author: Jérôme
Author URI: https://them.es/
Description: 
Version: 3.4.1
Requires at least: 5.0
Tested up to: 6.2
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: appli
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */
body {
	font-family: 'Montserrat', sans-serif !important;
	color: #586f01 !important;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.white {
	color: #fff !important;
}

.btn.white {
	border-radius: 50%;
	background: #9fc20c !important
}

.btn.white:hover {
	background: #fff !important;
	color: #9fc20c !important
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

.promo-container {
	display: flex;
	margin: 12px 0;
	border-bottom: solid 2px #9fc20c;
}

.promo-image {
	flex: 1;
	background-color: white;
}

.promo-text {
	flex: 2;
	padding: 5px;
	line-height: 1.1;
	font-family: "Noto Sans";
	color: #151515 !important;
	text-align: center;
}

.promo-text a {
	display: inline-block;
	background-color: #9ec00d;
	margin: 5px;
	color: #fcfcfc;
	border-radius: 8px;
	padding: 20px;
	text-transform: uppercase;
}

/* .promo-image img {} */

.promo-image {
	position: relative;
	overflow: hidden;
	/* Cela garantit que le bandeau ne dépassera pas de l'image */
}

.promo-banner {
	position: absolute;
	top: 57px;
	left: -25px;
	transform: rotate(-45deg);
	transform-origin: 0 0;
	width: 114px;
	text-align: center;
	padding-top: 3px;
	height: 31px;
}

.promo-banner.Promotion {
	background-color: #ec7333;
	/* Remplacez par la couleur de votre choix pour Promotion */
	color: white
}

.promo-banner.Cadeau {
	background-color: #4d854d;
	/* Remplacez par la couleur de votre choix pour Cadeau */
	color: #ffffff;
}

.promo-banner.promocadeau {
	background-color: #9472a6;
	/* Remplacez par la couleur de votre choix pour Promotion */
	color: white;
	font-size: 12px;
	padding-top: 5px;
	word-spacing: 2px;
}


.promo-text-detail {
	line-height: 1.3;
	padding: 8px;
	color: #020202;
	font-size: 22px;
	font-weight: 500;
	text-align: center
}

.promo-code,
.plaquette {
	text-align: center;
	padding: 6px 22px;
	font-size: 12px !important;
	font-weight: 500;
}

.promo-code p,
.bouton-plaquette {
	display: inline-block;
	padding: 8px;
	border: solid 1px #4c670d;
	border-radius: 6px;
	color: #4d6212
}

.bouton-contrat {
	background-color: #daddca;
	border: solid 1px #798b4f;
	color: #ff0519;
	text-transform: uppercase;
	padding: 6px 22px;
	font-size: 12px !important;
	font-weight: 500;
}

.les-promotions .even-line {
	background-color: #ffffff;
	/* Remplacez par la couleur de votre choix pour les lignes paires */
}

/* .les-promotions .odd-line {
	background-color: #d3ffbb;
	Remplacez par la couleur de votre choix pour les lignes impaires 
} */









.disabled-link {
	color: #999;
	pointer-events: none;
}

/*
questionnaires
*/
.questionnaires ul {
	list-style-type: none;
	padding: 5px 0;
}

.questionnaires li {
	border: solid 1px #1d2e3b;
	background-color: #c8e085;
	margin-bottom: 4px;
}

.questionnaires li a,
.questionnaires li span {
	width: 100%;
	display: block;
	padding: 10px;
}

.question-number {
	padding-left: 10px
}

#questionnaire-form h2 {
	padding: 8px;
	color: #252525;
}

.list-questions {
	padding: 10px;
	color: #181818
}

.list-questions h1 {
	text-align: center;
	color: #1e1e1e;
	background-color: #c8e085;
	padding-bottom: 8px;
}

.qst {
	display: block;
	font-size: 11px;
	color: #7d8854;
	text-align: center;
	padding-top: 8px;
}

.list-questions textarea {
	width: 100%;
	height: 150px;
	background-color: #f0f3e3;
	color: #464646;
	border: none;
	padding: 10px;
}

.list-questions input[type="text"] {
	width: 100%;
	background-color: #f0f3e3;
	color: #464646;
	border: none;
	padding: 10px;
	margin-bottom: 10px;
}

.list-questions select {
	margin-bottom: 10px;
}

.list-questions button,
a.button,
.next-question {
	background-color: #586f01;
	color: #fff;
	padding: 14px 10px;
	margin-top: 10px;
	border: none;
	border-radius: 8px;
	display: inline-block;
}

.wpmobile-widget-post-bottom {
	display: none !important;
}


/* Cachez l'input d'origine */
.radio-button {
	display: block;
	margin: 17px;
	font-size: 24px;
}

.radio-button input[type="radio"] {
	display: none;
}

/* Créez un nouveau bouton radio */
.radio-button span {
	display: inline-block;
	width: 16px;
	/* Taille du bouton */
	height: 16px;
	border-radius: 50%;
	/* Forme du bouton */
	background-color: #a29d9d;
	/* Couleur de fond du bouton non sélectionné */
	position: relative;
	margin-right: 14px;
}

/* Apparence du bouton radio lorsqu'il est sélectionné */
.radio-button input[type="radio"]:checked+span {
	background-color: #ec7333;
	/* Couleur de fond du bouton sélectionné */
}

/* Ajoutez un indicateur pour le bouton radio sélectionné */
.radio-button input[type="radio"]:checked+span::after {
	content: "";
	display: block;
	width: 10px;
	/* Taille de l'indicateur */
	height: 10px;
	border-radius: 50%;
	/* Forme de l'indicateur */
	background-color: #fff;
	/* Couleur de l'indicateur */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.confirmation {
	text-align: center;
	margin: 20px;
	color: white;
	font-size: 28px;

}

.navbar h2.wpmobile-title {
	color: black !important;

}

h3 {
	padding: 25px;
	color: #586f01 !important;
	font-weight: 300;
	word-spacing: 2px;
	font-size: 27px !important;
	text-align: center;
	margin: 0px !important;
	padding: 3px !important;
}

h1.entry-title {
	padding: 25px;
	color: #586f01 !important;
	font-weight: 300;
	word-spacing: 2px;
	font-size: 25px !important;
	text-align: center;
	text-transform: uppercase;
}

.contenant {
	display: flex;
	align-items: center;
	/* Centre verticalement */
	justify-content: center;
	/* Centre horizontalement, si tu le souhaites */
	height: 100px;
	/* Définis la hauteur du conteneur selon tes besoins */
}

.btn-retour {
	width: 120px
}

.bgvert {
	background-color: #586f01 !important;
	border: none !important;
}

.bgrouge {
	background-color: #dc011a !important;
	border: none !important;
}

.liste-questions {
	background-color: #daddca;
	border-radius: 10px;
	padding: 10px;
	margin-top: 25px;
}

.vertapprau {
	color: #9fc20c
}

.vert {
	color: #586f01 !important;
}

.vertclair {
	color: #daddca !important;
}

.rouge {
	color: #ff0519 !important;
}

.bvertclair {
	background-color: #daddca !important;
	border: none !important;
}

.btn.rouge {
	font-weight: bold
}

.card-title {
	color: #586f01 !important;
}

.text-challenge {
	color: black
}

.card {
	border: 0 !important;
	background-color: #f5f6f1 !important;
	box-shadow: none !important;
	border-radius: 0 !important;

}

.btn-inscription {
	background-color: #586f01 !important;
	border: none !important;
	color: white !important;
	border-radius: 2px;
	padding: 6px;
}

.contenante {
	padding: 0 25px;
	width: 100%;
}

.contenantedetail {
	padding: 5px 10px;
	width: 100%;
}

.lien-image {
	display: block;
	border: solid 1px #586f01;
	margin-bottom: 10px;
	width: 100%;
	padding: 37.5px 50px;
}

.image-responsive {
	width: 100% !important;
	/* Rend l'image responsive */
	height: auto;
	/* Maintient le ratio d'aspect */
}

.bouton-absolu {
	position: absolute;
	/* Positionnement absolu */
	right: 20px;
	/* Place le bouton à droite */
	top: 50%;
	/* Alignement vertical */
	transform: translateY(-50%);
	font-size: 13px !important;
	padding: 4px 6px !important
}

.les-promotions .bvertclair {
	margin-bottom: 32px
}

.separateur-vertical {
	height: 1px;
	/* Hauteur du séparateur */
	width: 75%;
	/* Largeur du séparateur */
	background-color: black;
	/* Couleur du séparateur */
	margin: 20px auto;
	/* Centrer le séparateur horizontalement */
}

.promo-image-detail {
	text-align: center
}

.relative {
	position: relative;
}

.bouton-absolu-haut {
	position: absolute;
	left: calc(50% - 33px);
	top: 9px;
	transform: translateY(-50%);
	font-size: 20px !important;
	padding: 4px 6px !important;
}

.bouton-absolu-bas {
	position: absolute;
	/* Positionnement absolu */
	left: calc(50% - 33px);
	/* Place le bouton à droite */
	bottom: -22px;
	/* Alignement vertical */
	transform: translateY(-50%);
	font-size: 20px !important;
	padding: 4px 6px !important
}

.bouton-absolu-haut:hover,
.bouton-absolu-bas:hover,
.bouton-absolu:hover {
	background-color: #9fc20c !important;
}

.club-vip h3 {
	text-transform: uppercase;
	color: #5c7402;
	text-align: center;
	font-weight: 500;
	font-size: 33px !important;
	margin: 10px 0 auto !important;
}

.club-vip img {
	margin: 10px
}

.vip-room {
	color: #595959
}

.vip-room h2 {
	text-transform: uppercase;
	color: #5c7402;
	text-align: center;
	font-weight: 500;
	font-size: 26px !important;
	margin: 20px 0 auto !important;
}

.les-promotions h3 {
	color: #424242 !important;
	font-size: 25px !important;
}

#premiere-partie h3,
#seconde-partie h3 {
	margin: 8px 0 !important;
}

.zone-h {
	width: 100%;
	text-align: left
}

.btn-retour2 {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #9fc20c !important;
	color: white !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	border-radius: 50% !important;
	cursor: pointer;
	margin: 4px;
	transition: all 0.3s ease;
	border: 2px solid #9fc20c !important;
	text-decoration: none !important;
	padding: 0 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
	line-height: 0 !important;
}

.btn-retour2 svg {
	width: 22px !important;
	height: 22px !important;
	flex-shrink: 0 !important;
	display: block !important;
}

.btn-retour2:hover {
	background-color: white !important;
	color: #9fc20c !important;
}

/*
MAJ octobre 2025

*/
.bonjour {
	margin: 35px 0;
	color: #000 !important;
	font-size: 1.3em !important;
	line-height: 1.2;
	font-weight: bold;
}

.post-item {
	border: 1px solid #ccc;
	padding: 14px;
	align-items: center;
	margin-bottom: 4px;
	line-height: 1;
	border-radius: 8px;
}

.post-item p {
	color: #000;
	font-size: 16px;
	margin-bottom: 5px;
	font-weight: 300;
}

.post-item h2 {
	color: #000;
	font-size: 1.3em;
	margin-bottom: 5px;
	font-weight: bold;
	line-height: 1;
}

.post-content {
	padding-left: 25px;
}

.mini-flex {
	display: flex;
}

.element-droite {
	display: flex;
	flex: 0 60px;
	align-items: center;
	/* fixe 60px de largeur (si c’est ce que tu veux) */
	padding: 0 15px;
}

.element-gauche {
	display: flex;
	flex: 1 auto;
	padding: 0px;
	align-items: center;
}

/* Harmoniser l’item dans la grille desktop */
.grille-categorie .post-item {
	margin: 10px 0!important;
	gap: 8px;
	background: #fff;
	border-radius: 40px;
	background-color: #dfebc8;
	border: 0px;
	/* mini grid dans chaque cellule */
	place-content: end start;
	/* bas + gauche ; ou: end center / end end */
	padding: 8px;
}

.btn.bvertclair.rouge {
	border-radius: 50%;
	background-color: white !important;
	border: solid 1px #2f2f2f;
	color: #2f2f2f !important;
	font-size: 16px;
	font-weight: 100;
}

.grille-categorie .post-item .post-content {
	padding: 20px;

}

/* Grille responsive — colonnes dynamiques selon nombre d'items */
.grille-categorie {
	display: grid;
	gap: 10px!important;
}

.titre-categorie {
	padding-top: 50px;
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 12px 0 14px;
	color: #232323;
	padding-left: 10px;
}

.attachment-thumbnail.size-thumbnail.wp-post-image {
	width: auto;
	height: 77px;
	margin-bottom: 10px;
}

.titre-categorie.home {
	display: none;
}

.post-type-archive-promo .grid-container.m-3,
.post-type-archive-equipementiers .grid-container.m-3 {
	display: grid;
	gap: 16px;
}

.box-equipementiers {
	width: 120px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/* évite les débordements */
	background: transparent;
	/* optionnel */
}

.equipementiers img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* entière visible, pas de recadrage */
	display: block;
}

/* Colonnes selon le nombre d'items détecté */
.grille-categorie.cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grille-categorie.cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grille-categorie.cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grille-categorie.cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grille-categorie.cols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grille-categorie.cols-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Breakpoints : on réduit proprement sur mobile */
@media (max-width: 1100px) {
	.grille-categorie.cols-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.grille-categorie.cols-5 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {

	.grille-categorie.cols-6,
	.grille-categorie.cols-5,
	.grille-categorie.cols-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {

	.grille-categorie.cols-6,
	.grille-categorie.cols-5,
	.grille-categorie.cols-4,
	.grille-categorie.cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.grille-categorie[class*="cols-"] {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

/* --- CUSTOM APP MOBILE MENU ([apprau_mobile_menu]) --- */

/* Custom Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #9cc025;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #9cc025;
    font-size: 14px;
}

.pagination-container .page-numbers.current {
    background-color: #fff;
    color: #9cc025 !important;
    cursor: default;
}

.pagination-container .page-numbers:hover:not(.current) {
    background-color: #8bb220;
    border-color: #8bb220;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pagination-container .prev,
.pagination-container .next {
    width: auto !important;
    padding: 0 15px;
    border-radius: 20px !important;
}