/*
 * Theme Name: GeneratePress Child
 * Description: Theme Enfant de GeneratePress - Peut contenir des personnalisations pour votre site internt - Ne pas supprimer le thème GeneratePress !
 * Version: 2.0.3
 * 
 * Author: Agent 3W
 * Author URI: https://agent3w.com
 *
 * Template: generatepress
 */


::selection{
	background-color: var(--contrast-2);
	color: var(--base-3);
}

/* BEGIN SIDE MENU */
#gb-overlay-663 > .gb-overlay__content {
	margin-right: auto;
}
/* END SIDE MENU */

/* BEGIN WSFORM */
.wsf-form button.wsf-button.wsf-button-primary {
	position: relative;
}
.wsf-field-wrapper.fs-xs .wsf-label {
	font-size: 10px;
}
input, textarea, select {
	box-shadow: 0px 1px 6px #00000019;
}
/*turnstile*/
.wsf-field-wrapper[data-type="turnstile"].show-over-content {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

.wsf-field-wrapper[data-type="turnstile"].show-over-content .wsf-field {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1;
}

.wsf-field-wrapper[data-type="turnstile"].show-over-content .wsf-field.wsf-valid {
  z-index: -1000;
	opacity: 0;
	display: none;
	visibility: hidden;
	max-height: 0;
	overflow: clip;
}

.wsf-field-wrapper[data-type="turnstile"].show-over-content .wsf-invalid-feedback {
	width: 100%;
	max-width: 150px;
	margin: 0 auto var(--wsf-form-grid-gap) auto;
}
/* END WSFORM */


/* BEGIN POPUPS */
.gb-overlay:not(.gb-overlay--width-full) .gb-overlay__content {
	width: 100%;
	max-width: min(var(--width-d), 80%);
}
.gb-overlay:not(.gb-overlay--width-full) .gb-overlay__content .popup-d {
	max-width: 100%;
}
/* END POPUPS */

/* BEGIN SCROLLBAR */
.popup-d, .thin-scrollbar, .thin-scrollbar > * {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent; /* invisible par défaut */
}

/* Firefox → visible au hover/focus */
.popup-d:is(:hover, :focus, :focus-within),
.thin-scrollbar:is(:hover, :focus, :focus-within),
.thin-scrollbar:is(:hover, :focus, :focus-within) > * {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Webkit */
.popup-d::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar,
.thin-scrollbar > *::-webkit-scrollbar{
  width: 5px;
  height: 5px;
}

.popup-d::-webkit-scrollbar-track,
.thin-scrollbar::-webkit-scrollbar-track,
.thin-scrollbar > *::-webkit-scrollbar-track {
  background: transparent;
}

/* invisible par défaut */
.popup-d::-webkit-scrollbar-thumb,
.thin-scrollbar::-webkit-scrollbar-thumb,
.thin-scrollbar > *::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0); /* transparent */
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

/* visible au hover/focus */
.popup-d:is(:hover, :focus, :focus-within)::-webkit-scrollbar-thumb,
.thin-scrollbar:is(:hover, :focus, :focus-within)::-webkit-scrollbar-thumb,
.thin-scrollbar:is(:hover, :focus, :focus-within) > *::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
}

/* actif */
.popup-d::-webkit-scrollbar-thumb:active,
.thin-scrollbar::-webkit-scrollbar-thumb:active,
.thin-scrollbar > *::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.35);
}
/* END SCROLLBAR */


/* BEGIN LANGUAGE SWITCHER */
.trp-shortcode-switcher__wrapper { display: inline-flex; }
/* END LANGUAGE SWITCHER */