/* GENERAL */
::before,
::after {
	box-sizing: border-box;
}

::-moz-selection {
	/* Code for Firefox */
	color: white;
	background: var(--trueteal);
}

::selection {
	color: white;
	background: var(--trueteal);
}

body {
	min-height: 100vh;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	font-style: normal;
	font-weight: 400;
	color: var(--darkgrey);
}

strong {
	color: var(--midgrey);
}

.box {
	padding: 15px;
	border-radius: 4px;
	border: 1px solid rgb(159, 212, 201);
	border-image: none;
	background-color: rgb(248, 248, 248);
}
	
.box h3 {
	text-transform: uppercase;
	font-weight: bold;
	margin: 0px;
}

#calendar {
	line-height: 1.25em;
}

.full-height {
	display: flex;
	flex-direction: column;
}

#pageContent {
	flex-grow: 1;
}

a:not(.btn),
a:not(.btn) strong {
	color: var(--teal);
	text-decoration: none;
}

a:hover,
a:hover strong {
	color: var(--pinkred);
}

#pageContent a:not(.btn) {
	font-weight: 500;
}

h2, h3, h4 {
	font-weight: 300;
}

h3 {
	text-transform: uppercase;
	font-size: 24px;
}

dialog {
	border-radius: .5rem;
}

blockquote {
	margin: 1.25rem;
	padding: .625rem 1.25rem;
	border-left: solid .25rem var(--pinkred);
	font-style: italic;
}

blockquote strong {
	color: var(--teal);
}

blockquote small {
	color: var(--midgrey);
}

.teal,
.teal strong {
	color: var(--teal);
}

.trueteal,
.trueteal strong {
	color: var(--trueteal);
}

.lightteal,
.lightteal strong {
	color: var(--trueteal);
}

.grey,
.grey strong {
	color: var(--midgrey);
}

.limegreen,
.limegreen strong {
	color: var(--limegreen);
}

.pinkred,
.pinkred strong {
	color: var(--pinkred);
}

.white,
.white strong {
	color: white;
}

.badge:not(.text-bg-success):not(.text-bg-secondary) {
	border: solid 1px var(--teal);
	color: var(--teal);
	white-space: normal;
}

#user-profile .badge {
	white-space: nowrap;
}

#mes-factures {
	line-height: normal;
}

.badge.grey {
	border-color: var(--midlightgrey);
	color: var(--grey);
}

.bg-teal {
	background-color: var(--teal);
}

.bg-verylightgreen {
	background-color: var(--verylightgreen);
}

.bg-ultralightgreen {
	background-color: var(--ultralightgreen);
}

.lightgreen {
	color: var(--lightgreen);
}

.maxwidth-28 {
	max-width: 28rem;
}

/* BUTTONS */

.btn-primary {
	color: white;
	background-color: var(--trueteal) !important;
	text-transform: uppercase;
	font-weight: 700;
	/* font-size: 13px; */
	border: none;
}

.btn-primary:link {
	color: white;
	background-color: var(--trueteal) !important;
	text-transform: uppercase;
	font-weight: 700;
	/* font-size: 13px; */
	border: none;
}

.btn-primary:visited {
	color: white;
	background-color: var(--trueteal) !important;
}

.btn-primary:hover {
	color: white;
	background-color: var(--pinkred) !important;
}

.btn-primary:active {
	color: white;
	background-color: var(--pinkred) !important;
}

.btn-outline-primary {
	color: var(--teal);
	background-color: transparent;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 13px;
	border: 2px solid var(--teal);
}

.btn-outline-primary:link,
.btn-outline-primary:visited {
	color: var(--teal);
	background-color: transparent;
}

.btn-outline-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:active {
	background-color: transparent !important;
	border-color: var(--pinkred) !important;
	color: var(--pinkred) !important;
}

.btn-outline-primary:disabled {
    background-color: transparent;
    border-color: var(--lightgreen);
    color: var(--lightgreen);
}

.btn-secondary:link {
	color: var(--midgrey) !important;
	background-color: white !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	border: 2px solid var(--midgrey);
}

.btn-secondary:visited {
	color: var(--midgrey) !important;
	background-color: white !important;
}

.btn-secondary:hover {
	color: white !important;
	background-color: var(--midgrey) !important;
}

.btn-secondary:active {
	color: white !important;
	background-color: var(--midgrey) !important;
}

.btn-teal:link {
	color: white;
	background-color: var(--teal);
	font-size: 13px;
}

.btn-teal:visited {
	color: white;
	background-color: var(--teal);
}

.btn-teal:hover {
	color: white;
	background-color: var(--trueteal);
}

.btn-teal:active {
	color: white;
	background-color: var(--teal);
}

.btn-whiteborder:link {
	color: white !important;
	background-color: transparent !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	border: 2px solid white;
}

.btn-whiteborder:visited {
	color: white !important;
	background-color: transparent !important;
}

.btn-whiteborder:hover {
	color: var(--darkgrey) !important;
	background-color: white !important;
	border: 2px solid white;
}

/* tous les boutons */
.btn-whiteborder:active {
	color: var(--darkgrey) !important;
	background-color: white !important;
}

/* SITE NOTICES */
.site-notice {
	text-align: center;
	font-size: 1rem;
	padding: 0.4rem 0;
}

.site-notice.black {
	background-color: var(--darkgrey);
	color: white;
}

.site-notice a:hover, 
.site-notice a:focus, 
.site-notice a:active {
	color: var(--trueteal);
}

/* NAVBARS */
#top-navbar {
	border-bottom: 1px solid #ccc;
	/* margin-top: 1.2rem; */
}

#top-navbar .wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
}

#top-navbar .wrapper > a,
#top-navbar .wrapper > span {
	border-right: 1px solid #ccc;
	padding: 0.4rem .6rem;
	font-size: 12px;
}

@media (min-width: 400px) {
	#top-navbar .wrapper > a,
	#top-navbar .wrapper > span {
		font-size: 14px;
	}
}

#top-navbar .wrapper > a:first-child,
#top-navbar .wrapper > span:first-child {
	padding-left: 0;
}

#top-navbar .wrapper > a:last-child,
#top-navbar .wrapper > span:last-child {
	border-right: none;
	padding-right: 0;
}

#top-navbar a:link,
#top-navbar span:link,
#top-navbar a:visited,
#top-navbar span:visited {
	color: var(--darkgrey);
}

#top-navbar a:focus,
#top-navbar span:focus,
#top-navbar a:hover,
#top-navbar span:hover,
#top-navbar a:active,
#top-navbar span:active {
	background-color: var(--trueteal);
	color: var(--white);
}

nav.navbar button {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border: none;
	text-transform: uppercase;
	font-size: 1rem;
}

nav.navbar button > span:not(:last-child) {
	padding-right: 0.4rem;
}

.navbar-collapse {
	justify-content: end;
}

nav .nav-link {
	padding: 0 0.8rem !important;
	font-size: 16px;
}

.nav-link:link,
.mls-dropdown-menu li a {
	font-weight: 100;
	display: block;
}

.nav-link:link,
.mls-dropdown-menu li a:link,
.nav-link:visited,
.mls-dropdown-menu li a:visited {
	color: var(--darkgrey);
}

.nav-link:hover,
.mls-dropdown-menu li a:hover,
.nav-link:focus,
.mls-dropdown-menu li a:focus,
.nav-link:active,
.mls-dropdown-menu li a:active {
	color: var(--pinkred);
}


/* .nav-link:last-child {
	padding-right: 0 !important;
} */

@media (max-width: 1400px) {
	.nav-link {
		margin-bottom: 1rem;
	}

	.navbar-nav {
		align-items: center;
		background-color: var(--darkgrey);
		position: relative;
		padding-top: 1rem;
	}

	.navbar-nav.mobile-bg {
		box-shadow: 0 0 0 100vmax var(--darkgrey);
		clip-path: inset(0 -100vmax);
	}

	.nav-link:link,
	.mls-dropdown-menu li a:link,
	.nav-link:visited,
	.mls-dropdown-menu li a:visited {
		color: #ccc;
	}

	.nav-link:hover,
	.mls-dropdown-menu li a:hover,
	.nav-link:focus,
	.mls-dropdown-menu li a:focus,
	.nav-link:active,
	.mls-dropdown-menu li a:active {
		color: white;
	}
}

/* .nav-link.active {
	font-weight: 100;
} */

.nav-link.active {
	color: var(--pinkred) !important;
}

#mainNavbar .nav-link.active {
	color: white !important;
}

.navbar-icon {
	font-size: 12px;
	vertical-align: bottom;
}

/* MLS-DROPDOWN */
.mls-dropdown {
	position: relative;
}

.mls-dropdown-link {
	position: relative;
	margin-right: 0.8rem;
}

.mls-dropdown-link::after {
	content: '\2304';
	font-size: 1rem;
	padding: 0 0.2rem;
	position: absolute;
	top: -3px;
}

.mls-dropdown-menu.left {
	position: absolute;
	left: 0;
	transform: translateY(-10px);
	top: calc(100% + 0.25rem);
	background-color: white;
	padding: 0.75rem;
	border-radius: 0.25rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
	pointer-events: none;
	z-index: 10;
}

@media (max-width: 1400px) {
	.navbar-nav {
		padding-bottom: 2rem;
	}

	.mls-dropdown-menu.left {
		position: relative;
		opacity: 1;
		pointer-events: auto;
		margin-top: 0;
		background-color: unset;
		box-shadow: unset;
		padding-bottom: 0;
	}

	/* .mls-dropdown-link {
		display: flex;
		justify-content: center;
	} */

	#mainNavbar .nav-link {
		display: block;
		font-weight: 600 !important;
		margin: 1.75rem .75rem 0;
		padding-bottom: .4rem !important;
		padding-left: 0 !important;
		border-bottom: 2px solid #ccc;
		width: calc(250px - 1.5rem);
	}

	.mls-dropdown-link::after {
		content: '';
	}
}

.mls-dropdown-menu.right {
	position: absolute;
	right: 0;
	transform: translateY(-10px);
	top: calc(100% + 0.25rem);
	background-color: white;
	padding: 0.75rem;
	border-radius: 0.25rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
	pointer-events: none;
}

.mls-dropdown-menu.centered {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -10px);
	top: calc(100% + 0.25rem);
	background-color: white;
	padding: 0.75rem;
	border-radius: 0.25rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
	pointer-events: none;
}

.mls-dropdown.active2 > .mls-dropdown-link + .mls-dropdown-menu.left,
.mls-dropdown.active2 > .mls-dropdown-link + .mls-dropdown-menu.right {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (max-width: 1400px) {
	.mls-dropdown.active2 > .mls-dropdown-link + .mls-dropdown-menu.left {
		transform: translateY(-10px);
	}
}

.mls-dropdown.active2 > .mls-dropdown-link + .mls-dropdown-menu.centered {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.mls-dropdown-menu ul {
	padding: 0;
	margin-bottom: 0;
	list-style: none;
}

.mls-dropdown-menu ul li {
	padding: 0.4rem 0;
}

.mls-dropdown-menu ul li:not(:last-child) {
	border-bottom: 1px solid #ccc;
}

/* HOME */

.home h2 {
	font-weight: 300;
} 

.home h3 {
	font-weight: 300;
} 

/* FOOTER */
#topFooter {
	background-color: var(--grey);
	color: white;
	padding-top: 48px;
	padding-bottom: 24px;
}

#topFooter strong {
	color: white;
}

#topFooter h4 {
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
}

#topFooter p {
	font-size: 13px;
	line-height: 1.65em;
}

#topFooter a:link {
	color: #ccc;
}

#topFooter a:visited {
	color: #ccc;
}

#topFooter a:hover {
	color: white;
}

#topFooter a:active {
	color: #ccc;
}

#bottomFooter {
	background-color: var(--darkgrey);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
	color: var(--midlightgrey);
}

#bottomFooter p {
	margin-bottom: 0;
	font-size: 12px;
}

/* SECTIONS */
#mainHeader {
	background-image: url(../../img/banner-teal.jpg);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	background-color: #179ca5;
	padding: 2.5rem 0;
	color: white;
	text-align: center;
	letter-spacing: 1.5px;
}

#mainHeader strong {
	color: white;
}

#mainHeader.banner-teal {
	background-image: url(../../img/banner-teal.jpg);
	background-color: #179ca5;
}

#mainHeader.banner-trueteal {
	background-image: url(../../img/banner-trueteal.png);
	background-color: #8bccd1;;
}

#mainHeader.banner-pinkred {
	background-image: url(../../img/banner-pinkred.jpg);
	background-color: #e61f4a;
}

#mainHeader.banner-limegreen {
	background-image: url(../../img/banner-limegreen.jpg);
	background-color: #81ba49;
}

#mainHeader h1 {
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(2rem, 1.652rem + 1.548vw, 2.813rem); /* provient du clamp calculator */
	margin-bottom: 0;
}

#mainHeader p {
	font-size: 16px;
	font-weight: 100;
}

#pourTouteLaFamille {
	background-color: var(--verylightgrey);
	padding-top: 50px;
}

#pourTouteLaFamille .img-wrapper {
	display: flex;
	justify-content: center;
}

#pourTouteLaFamille h2 {
	color: var(--teal);
	font-size: 2.1em;
	text-transform: uppercase;
	margin-bottom: 0;
}

#pourTouteLaFamille p {
	color: var(--midgrey);
	font-size: 1.2em;
	padding-bottom: 50px;
	font-weight: normal;
}

#pourTouteLaFamille p.teal {
	color: var(--teal);
}

#pourTouteLaFamille .icon-link {
	display: block;
	width: max-content;
	margin-right: auto;
}

#pourTouteLaFamille .icon-wrapper {
	display: flex;
	flex-wrap: wrap;
}

#pourTouteLaFamille .icon-text {
	display: flex;
	align-items: center;
	padding-left: 1rem;
}

#pourTouteLaFamille .icon-text h3 {
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0;
}

#pourTouteLaFamille a:link .icon-text {
	color: var(--lightgreen);
}

#pourTouteLaFamille a:visited .icon-text {
	color: var(--lightgreen);
}

#pourTouteLaFamille a:hover .icon-text {
	color: var(--lightgreen);
	text-decoration: underline;
}

#pourTouteLaFamille a:active .icon-text {
	color: var(--lightgreen);
}

@media (max-width: 992px) {
	#pourTouteLaFamille .icon-wrapper {
		margin-bottom: 1rem;
	}
}

#programmeCouchesCalins .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#programmeCouchesCalins .btn {
	width: 160px !important;
}

@media (max-width: 992px) {
	#programmeCouchesCalins .text {
		margin: 50px 0;
	}

	#programmeCouchesCalins .img {
		display: flex;
		justify-content: center;
	}
}

#devenirMembre {
	background-color: #f2f2f2;
}

#devenirMembre .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}

@media (max-width: 992px) {
	#devenirMembre .text {
		margin: 50px 0;
	}

	#devenirMembre .img {
		display: flex;
		justify-content: center;
	}
}

#aProposDeNous {
	padding-top: 40px;
	padding-bottom: 0;
	margin-bottom: 0;
}

#aProposDeNous .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}
/* 
#aProposDeNous .btn {
	width: 160px;
} */

#linfobedonboutchou {
	background-color: var(--pinkred);
	color: white;
	padding: 40px 0;
	text-align: center;
	background-image: url(../../img/bckg-rouge.jpg);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

@media (max-width: 768px) {
	#linfobedonboutchou {
		background-color: #84122b;
	}
}

#linfobedonboutchou h2 {
	font-size: 45px;
	font-weight: 700;
	text-transform: uppercase;
}

#linfobedonboutchou p {
	font-size: 16px;
	font-weight: 100;
	letter-spacing: 1.5px;
}

#linfobedonboutchou .btn {
	width: 220px;
}

#couchescalins2 {
	background-color: rgba(224, 224, 229, 0.5);
}

#couchescalins2 .text-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (max-width: 992px) {
	#couchescalins2 .text-col {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

#couchescalins2 h2 {
	font-size: 25px;
	font-weight: 300;
}

#couchescalins2 .btn {
	width: 128.95px;
}

#activityTop {
	padding-top: 2rem;
	font-weight: 400;
}

#activityTop h1 {
	font-size: 45px;
	text-transform: uppercase;
	background-color: var(--trueteal);
	background-image: url(../../img/bckg-bleu-3-k.png);
	color: white;
	padding: 15px;
	margin-bottom: 0;
}

#activityTop h4 {
	font-size: 18px;
	font-weight: 300;
}

#activityTop .separatorline {
	border-bottom: 1px dashed var(--midlightgrey);
	width: 100%;
}

#activityTop h3 {
	text-transform: none;
	font-size: 24px;
	font-weight: 300;
}

#activityTop h5 {
	font-weight: 300;
	font-size: 1.375rem;
	margin-top: 1.375rem;
}

#activityTop a:link {
	color: var(--teal);
}

#activityTop a:visited {
	color: var(--teal);
}

#activityTop a:hover {
	color: var(--teal);
	text-decoration: underline;
}

#activityTop a:active {
	color: var(--teal);
}

#activityInscriptions h2 {
	font-size: 36px;
	font-weight: 300;
	line-height: 36px;
}

/* #activityInscriptions .event-card {
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 1rem;
} */

#activityInscriptions .dateboxcol {
	display: flex;
	align-items: center;
}

#activityInscriptions .date-box {
	border: 1px solid var(--midlightgrey);
	border-radius: .375rem;
	width: 80px;
	height: 80px;
}

#activityInscriptions .month {
	height: 35px;
	border-bottom: 1px solid var(--midlightgrey);
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	color: var(--pinkred);
	text-transform: uppercase;
	font-size: 11px;
	flex-shrink: 0 !important;
}

#activityInscriptions .day {
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	font-weight: 400;
	flex-shrink: 0 !important;
}

#activityInscriptions .infocol {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (max-width: 768px) {
	#activityInscriptions .infocol {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	#activityInscriptions .dateboxcol {
		justify-content: center;
	}
}

#activityInscriptions .infocol p {
	margin-bottom: 0;
}

#activityInscriptions .btncol {
	display: flex;
	justify-content: center;
	align-items: center;
}

#activityInscriptions .noplacecol h3 {
	font-size: 24px;
	line-height: 36px;
	font-weight: 300;
	text-transform: none;
}

#activityInscriptions .noplacecol ol {
	padding-left: 16px;
}

#activityInscriptions #noplaceform .btn {
	margin-bottom: 2rem;
}

#customerFeedback {
	padding: 40px 0;
	background-color: var(--ultralightgreen);
	text-align: center;
	color: var(--darkgrey);
}

#customerFeedback h1 {
	font-size: 36px;
	font-weight: 300;
	text-transform: none;
	padding-bottom: 20px;
}

#customerFeedback h3 {
	font-size: 24px;
	font-weight: 300;
	text-transform: none;
}

#customerFeedback .mls-feedback-container {
	width: 100%;
	position: relative;
}

#customerFeedback .feedback-loop {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: 200ms opacity ease-in-out;
	z-index: 0;
}

#customerFeedback .feedback-loop[data-mls-carouselActive] {
	position: relative;
	opacity: 1;
	z-index: 1;
	transition-delay: 0ms;
}

/* --- ÉQUIPE --- */

.team .category-title {
	display: flex;
	align-items: center;
}

.team .category-title .separation-line {
	flex-grow: 1;
	border-bottom: solid var(--midlightgrey) 1px;
}

.team .category-title h2 {
	font-weight: 300;
	font-size: 1.5rem;
	padding: 0 1.25rem;
	text-transform: uppercase;
}

.teammate {
	text-align: center;
}

.teammate img {
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: .25rem;
}

.teammate h3 {
	font-weight: 300;
	font-size: 1.25rem;
	margin-top: 1.25rem;
}

.teammate h4 {
	font-weight: 600;
	font-size: 1rem;
}

.teammate .mailto {
	display: grid;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background-color: var(--midlightgrey);
	border-radius: .25rem;
}

.teammate .mailto a {
	display: block;
	color: white;
}

@media (min-width: 768px) {
	.teammate {
		text-align: unset;
	}
}

/* --- NEWS --- */

.news h3 {
	color: var(--teal);
	margin: 1.25rem 0 .5rem;
}

.news h4 {
	color: var(--teal);
	font-size: 1.25rem;
}

#account-events-tab .title,
#account-events-tab .title a:link,
#account-events-tab .title a:visited {
	color: var(--darkteal);
}

#account-events-tab .title a:hover,
#account-events-tab .title a:focus,
#account-events-tab .title a:active {
	color: var(--teal);
}

.article-content h3.accordion-header {
	margin-bottom: 0;
}

.article-content h3.accordion-header button {
	color: var(--teal);
	font-weight: 600;
	font-size: 1.5rem;
}

.article-content .accordion-item {
	background-color: transparent;
}

.article-content .accordion-button {
	background-color: transparent;
}

.category-btn-wrapper {
	overflow-y: auto;       /* scroll si nécessaire */
  scrollbar-width: none;  /* Firefox : cacher scrollbar */
	overflow-x: visible;
}

.category-btn-wrapper::-webkit-scrollbar {
  display: none;          /* Chrome/Safari : cacher scrollbar */
}


@media (min-width: 768px) {
  .category-btn-wrapper {
    justify-content: center;  /* centre les boutons */
    overflow-y: visible;      /* plus de scroll */
  }
}

.category-btn {
	transition: all ease 300ms;
	text-underline-offset: 4px;
}

.category-btn:hover {
	transform: translateY(-3px);
	scale: 1.05;
}
