/*
Theme Name: amitie.tirage.ch
Theme URI: https://www.basic-web.ch
Update URI: https://www.basic-web.ch
Author: Basic web
Version: 1.0.26
*/
:root {
	overscroll-behavior: none;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hamburger {
	display: block;
	width: 42px;
	overflow: hidden;
	float: right;
}

.hamburger span {
	background: #333;
	display: block;
	height: 2px;
	margin: 9px 0;
	position: relative;
	transform: rotate(0);
	top: 0;
	left: 0;
	opacity: 1;
	transition: none .5s ease;
	transition-property: transform, top, left, opacity;
}

body.mm-wrapper--opened .hamburger span.top-bar {
	transform: rotate(45deg);
	top: 12px;
}

body.mm-wrapper--opened .hamburger span.middle-bar {
	opacity: 0;
}

body.mm-wrapper--opened .hamburger span.bottom-bar {
	transform: rotate(-45deg);
	top: -10px;
}

body.mm-wrapper--opened .hamburger span.middle-bar {
	left: -40px;
}

.mm-listview {
	margin-top: calc((var(--mm-listitem-size) - var(--mm-lineheight))/ 2);
}

.mm-listitem::after {
	display: none;
}

.mm-navbar__title img {
	padding: 15px 0;
}

.btn-search {
	font-size: 1.500rem;
	cursor: pointer;
}

.the-content ul {}

.the-content ol {}

.the-content ul li, .the-content ol li {}

.the-content *:last-child {
	margin-bottom: 0;
}

.list-inline li {
	display: inline-block;
}

.list-inline li:not(:last-child) {
	margin-right: .5rem;
}

.main-menu li a {
	display: inline-block;
	text-decoration: none;
}

.accordion-body .the-content p:last-child, .content-with-bg p:last-child {
	margin-bottom: 0;
}

body .gform_confirmation_wrapper {
	border-radius: 0;
	border: 1px solid var(--bs-success-border-subtle);
	box-shadow: none;
	padding: 16px;
	position: relative;
	background-color: var(--bs-success-bg-subtle);
	width: 100%;
	color: var(--bs-success-text-emphasis);
	text-align: center;
}

.space {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

/* Wrapper du form d'inscription /amitie/inscription/ - largeur cappée. */
.ta-inscription-wrapper {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.global-carousel .slick-track {
	display: flex !important;
}

.global-carousel .slick-slide {
	height: inherit !important;
	margin-left: .75rem;
	margin-right: .75rem;
}

.slick-dots {
	list-style-type: none;
	padding: 0;
	margin: 54px 0 0px 0;
	line-height: 0;
	text-align: center;
	height: max-content;
}

.slick-dots li {
	display: inline-block;
	margin-right: 12px;
}

.slick-dots li:last-child {
	margin-right: 0;
}

.slick-dots button {
	font-size: 0;
	padding: 0;
	width: 10px;
	height: 10px;
	line-height: 0;
	border-radius: 9999px;
	border: 1px solid var(--bs-primary);
	background-color: transparent;
	transition: all ease 0.4s;
	position: relative;
}

.slick-dots .slick-active button {
	background-color: var(--bs-primary);
}

.slick-arrow {
	--pos-x: -30px;
	display: inline-block;
	padding: 0;
	background-color: var(--bs-primary);
	color: var(--bs-white);
	position: absolute;
	top: 247px;
	border: none;
	border-radius: 50%;
	right: var(--pos-x, 58px);
	width: var(--icon-size, 80px);
	height: var(--icon-size, 80px);
	line-height: var(--icon-size, 80px);
	font-size: var(--icon-font-size, 18px);
	margin-top: calc(var(--icon-size, 80px) / -1);
	z-index: 2;
	opacity: 1;
	transition: .5s;
}

.slick-arrow.default {
	position: relative;
	--pos-x: 0;
	margin-top: 0;
}

.slick-arrow.slick-prev {
	right: auto;
	left: var(--pos-x, 58px);
}

.slick-arrow:hover {
	opacity: 1;
	background-color: var(--bs-btn-hover-border-color);
	color: var(--bs-btn-hover-color);
}

.arrow-margin .slick-arrow {
	top: calc(50% - 30px);
}

.logo-grid .logo-item {
	aspect-ratio: 2/1;
	background: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	border: 1px solid #e9ecef;
	position: relative;
	top: 0;
}

.logo-grid img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button{
	font-size: 1.25rem;
}

@media (max-width: 1200px) {
	.slick-arrow {
		--pos-x: 42px;
	}
}

@media (max-width: 1199px) {
	.slick-arrow {
		--icon-size: 60px;
		--pos-x: -20px;
		top: 176px;
	}
}

@media (max-width: 991px) {
	.slick-dots {
		margin: 1.5rem 0 0 0;
	}
	
	.icon-box .slick-arrow {
		margin-right: 0;
	}
}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
	.space {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {}

/* ─── Page Paiements ──────────────────────────────────────────────────────── */
/* Wrapper de la barre d'actions au-dessus de chaque table (filtres / bouton add).
 * DataTables détache cet élément et le réinjecte dans son layout topStart. */
.ta-paie-actions {
	display: flex;
	gap: .5rem;
	align-items: center;
}
/* Bouton "Marquer payé" : icône + libellé inline. */
.ta-btn-paye {
	white-space: nowrap;
}
.ta-btn-paye i {
	margin-right: .25rem;
}
/* Surligne les lignes payées pour repérage rapide. */
#ta-paie-groupes-table tr[data-paie-paye="1"],
#ta-paie-tireurs-table tr[data-paie-paye="1"] {
	background: rgba(25, 135, 84, 0.04);
}

/* Bouton "Marquer payé" : utilise --ta-red au lieu du bleu Bootstrap primary. */
.ta-btn-paye.btn-outline-primary {
	color: var(--ta-red, #dc2421);
	border-color: var(--ta-red, #dc2421);
}
.ta-btn-paye.btn-outline-primary:hover,
.ta-btn-paye.btn-outline-primary:focus {
	color: #fff;
	background-color: var(--ta-red, #dc2421);
	border-color: var(--ta-red, #dc2421);
}

/* Chips du type tireur - couleurs brand-neutres (gris + rouge discret). */
.ta-paie-chip {
	display: inline-block;
	padding: .15rem .55rem;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	vertical-align: middle;
}
.ta-paie-chip--indiv {
	background: var(--ta-bg-muted, #f3f4f6);
	color: var(--ta-text, #1f1f1f);
	border: 1px solid var(--ta-border, #e5e7eb);
}
.ta-paie-chip--grp {
	background: rgba(220, 36, 33, 0.08);
	color: var(--ta-red, #dc2421);
	border: 1px solid rgba(220, 36, 33, 0.25);
}
.ta-paie-chip-meta {
	color: var(--ta-text-muted, #5e5e5e);
	font-size: .85rem;
	margin-left: .25rem;
}

/* Card Munitions - breakdown par arme en pills (jamais coupées, gap propre). */
.ta-muni-breakdown {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-top: .35rem;
}
.ta-muni-pill {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	background: var(--ta-bg-muted, #f3f4f6);
	border: 1px solid var(--ta-border, #e5e7eb);
	border-radius: 999px;
	padding: 0 .15rem 0 .55rem;
	font-size: .75rem;
	line-height: 1.4;
	overflow: hidden;
}
.ta-muni-pill__lbl {
	color: var(--ta-text-muted, #5e5e5e);
	margin-right: .35rem;
}
.ta-muni-pill__n {
	background: #fff;
	border-radius: 999px;
	padding: 0 .55rem;
	font-weight: 700;
	color: var(--ta-text, #1f1f1f);
	margin: .12rem .12rem .12rem 0;
	box-shadow: inset 0 0 0 1px var(--ta-border, #e5e7eb);
}
.ta-muni-pill--stand {
	background: rgba(220, 36, 33, 0.06);
	border-color: rgba(220, 36, 33, 0.2);
}
.ta-muni-pill--stand .ta-muni-pill__lbl {
	color: var(--ta-red, #dc2421);
}
.ta-muni-pill.is-hidden { display: none; }
