/*
Theme Name: Ergopix
Theme URI: https://www.ergopix.com
Update URI: https://www.ergopix.com
Author: ergopix sàrl
Version: 1.0
*/
:root {
	overscroll-behavior: none;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Barlow Condensed", sans-serif;
}

/* ---------------------------------------------- */
/* -------------- HEADER ET MENU ---------------- */
/* ---------------------------------------------- */

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
	border-bottom: solid 2px rgba(255,255,255, 0.2);
}


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

.main-menu li a {
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	font-weight: 600;
}

.main-menu li.program {
	padding: 16px 50px;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a {
	color: white;
	opacity: 1;
	display: inline-block;
	text-decoration: underline;	
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}

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

.hamburger span {
	background: #fff;
	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;
}

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


/* ---------------------------------- */
/* -------------- Hero -------------- */
/* ---------------------------------- */


.hero-home {
	height: 100vh;
	min-height: 1000px;
}

.hero-home .global-carousel {
	position: absolute;
	inset: 0;
	z-index: 0;	
}

.hero-home .global-carousel img {
	object-position: 50% 50%;
}

.hero-home .global-carousel .slick-list,
.hero-home .global-carousel .slick-track {
	height: 100%;
}

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

.hero-home .global-carousel .slick-dots {
	margin-top: -110px;
}

.global-carousel .slick-dots button {
	font-size: 0;
	padding: 0;
	width: 12px;
	height: 12px;
	line-height: 0;
	border-radius: 9999px;
	transition: background-color ease 0.4s;
	position: relative;
	border: 0;
}

section:not(.bg-white) .global-carousel .slick-dots button {
	background-color: rgba(255,255,255,0.4);
}

section.bg-white .global-carousel .slick-dots button {
	background-color: rgba(var(--bs-primary-rgb), 0.5);
}

section:not(.bg-white) .global-carousel .slick-dots .slick-active button {
	border: 2px solid white;
	background-color: transparent;
}

section.bg-white .global-carousel .slick-dots .slick-active button {
	border: 2px solid var(--bs-primary);
	background-color: transparent;
}

h1.title-home {
	color: white;
	font-size: 8rem;
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	line-height: 0.93;
}

h1.title-home sup {
	font-size: 0.6em;
}

.hero-home .subtitle,
.hero-home .info  {
	color: white;
	text-transform: uppercase;
	text-align: center;
	
}

.hero-home .subtitle {
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: 20%;
}

.hero-home .info {
	font-weight: 500;
	font-size: 1.35rem;
	letter-spacing: 12%;
}

.hero-home .logo-rotary {
	margin-bottom: -8px;
	position: relative;
}

.hero-home .info > i {
	color: var(--bs-secondary);
}

.hero-home .container {
	position: relative;
	z-index: 1;
}


/* -------------------------------------------- */
/* -------------- Styles globaux -------------- */
/* -------------------------------------------- */

body:not(.home) .container-page {
	padding-top: 160px;
}

.observe-element {
	opacity: 0;
}

.btn, .btn:hover {
	border: 0;
}

.card {
  --bs-card-spacer-y: 1rem;
  --bs-card-spacer-x: 1rem;
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-title-color: ;
  --bs-card-subtitle-color: ;
  --bs-card-border-width: var(--bs-border-width);
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: 0;
}


.animate-button.primary {
	background: var(--bs-primary);
	--color: #394391;
}

.animate-button.secondary {
	background: var(--bs-secondary);
	--color: #f6b82b;
}

.animate-button {
	position: relative;
	overflow: hidden;
}

.animate-button::after {
	background: linear-gradient(to top right, transparent 0, transparent 50%, var(--color) 50%, var(--color) 100%);
}

.animate-button::after {
	content:"";
	position: absolute;
	inset: 0;
	z-index: 0;
	transition: transform 0.2s ease;
	transform: translate(100%, -100%);
}

.animate-button > * {
	position: relative;
	z-index: 1;
}

.animate-button:hover::after {
	transform: translate(0%, 0%);
}


.gradiant-background {
	background: linear-gradient(to bottom left, #283388 0%, #151b49 100%);
	color: white;
}

.btn {
	border-radius: 0;
}

.btn a,
.btn a:hover {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}
.btn {
	padding: 16px 30px;
	font-weight: 600;
}


.color-secondary {
	color: var(--bs-secondary);
}

.color-primary {
	color: var(--bs-primary);
}

.color-white {
	color: #fff;
}

.half-gradiant {
	position: relative;
	overflow: hidden;
}

.half-gradiant.dark {
	--color: rgba(0,0,0,0.1);
}

.half-gradiant.light {
	--color: rgba(255,255,255,0.1);
}

.half-gradiant::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 50%, var(--color) 50%, var(--color) 100%);
	z-index: 0;
}

.read-more {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 20%;
	color: var(--bs-secondary);
}

.read-more:hover {
	text-decoration: underline;
}

.small-title {
	font-size: 1.1rem;
	font-weight: 600;
	text-tansform: uppercase;
}

.maxbutton {
	margin-top: 1rem;
}

/* --------------------------------------------- */
/* -------------- Styles Sections -------------- */
/* --------------------------------------------- */


section.space {
	padding-top: 110px;
	padding-bottom: 110px;
}

section .subtitle {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 20%;
	font-weight: 700;
}

h2 {
	font-size: 3.5rem;
}

section p {
	font-weight: 500;
	line-height: 1.77;
}

section .surtitre {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 20%;
	font-weight: 700;
}

section.gradiant-background p,
section.bg-primary p,
section.bg-secondary p {
	color: #fff;
}
section.bg-secondary .surtitre {
	color: #fff;
}


section :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
}

section :is(h1, h2, h3) {
	text-transform: uppercase;
	font-weight: 700;
}

section.bg-white :is(h1, h2, h3, h4, h5, h6) {
	color: var(--bs-primary);
}

section:is(.bg-primary, .bg-secondary) :is(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

section:is(.grille_contenus, .cta-v2):is(.bg-primary, .gradiant-background) .card :is(h1, h2, h3, h4, h5, h6){
	color: var(--bs-primary);
}

section.grille_contenus:is(.bg-secondary) .card :is(h1, h2, h3, h4, h5, h6){
	color: var(--bs-secondary);
}

section.bg-secondary:is(.grille_contenus, .cta-v2) .card {
	--bs-card-border-color: var(--bs-secondary);
}

section.gradiant-background:is(.grille_contenus, .cta-v2) .card {
	--bs-card-border-color: transparent;
}

section.grille_contenus .card {
	--bs-card-spacer-y: 2rem;
	--bs-card-spacer-x: 2rem;
}

section:is(.grille_contenus) .card :is(p, span, div){
	color: var(--bs-card-color);
}

section:is(.bg-primary, .bg-secondary) :is(ol, ul) {
	color: #fff;
}

section.bg-white .surtitre,
section.gradiant-background .surtitre {
	color: var(--bs-secondary);
}


section.contenu_simple_deux_colonnes h2 {
	font-size: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

section.cta h3,
section.cta-v3 h3  {
	font-size: 1.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

 a.more {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 20%;
	font-weight: 700;
}

section.gradiant-background.cta-v3 h3.card-title {
	color: #fff;
} 

section.cta .card-body,
section.cta-v2 .card-body {
	padding-inline: 0;
}

section.cta-v2 h6.card-surtitle {
	text-transform: none;
	color: var(--bs-body-color)!important;
}

section.cta-v2 .card-body {
	padding-bottom: 0;
}

section.cta-v2 .half-gradiant::after,
section.cta-v3 .half-gradiant::after,
section.cta .half-gradiant::after,
section.galerie_photos .half-gradiant::after {
	transition: transform 0.2s ease;
	transform: translate(100%, -100%);
}

section.cta-v2 a:hover .half-gradiant::after,
section.cta-v3 a:hover .half-gradiant::after,
section.cta a:hover .half-gradiant::after,
section.galerie_photos a:hover .half-gradiant::after {
	transform: translate(0%, 0%);
}

section.cta-v2 h3 {
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
}

section.cta-v2:is(.bg-primary, .gradiant-background) h3 {
	color: var(--bs-primary);
}

section.cta-v2:is(.bg-secondary) h3 {
	color: var(--bs-secondary);
}

section.cta-v2 a:hover h3 {
	text-decoration: underline;
}

section.cta-v2:is(.bg-primary, .gradiant-background) a:hover h3 {
	color: var(--bs-secondary);
}

section.cta-v2:is(.bg-secondary) a:hover h3 {
	color: var(--bs-primary);
}

section.cta-v2 .card,
section.cta-v2 .card {
	border-radius: 0;
	border: 0;
	padding: 1.25rem;
}

section.cta-v3 .card {
	background: transparent;
}

section.cta-v2 .card-body > *,
section.cta-v3 .card-body > * {
	text-align: center;
}

section.cta-v3 .card {
	border-radius: 0;
	border: 0;
}

section.cta-v2 a,
section.cta-v3 a {
	text-decoration: none;
}

section.cta .card-surtitle {
	margin-bottom: 0.25rem;
	margin-top: 0.5rem
}

section.schedule .nav-tabs .nav-link:hover {
  isolation: isolate;
  border-color: unset;
}

section.schedule .nav-item {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

section.schedule .nav#days-tab {
	column-gap: 2px;
	background: #f4f2ee;
	border: 0;
}

section.schedule .nav-link {
	position: relative;
	width: 100%;
	padding-block: 25px;
	--color: rgba(255,255,255,0.1);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin-bottom: 0!important;
	border: 0!important;
}

section.schedule .nav-link:not(.active) {
	background: var(--bs-primary);
	overflow: hidden;
}

section.schedule .nav-tabs .nav-link.active {
	background-color: transparent;
	border: 0;
}

 section.schedule .nav-link > * {
	 flex-grow: 1;
 }

section.schedule .day-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 20%;
}

section.schedule .day-nb {
	font-size: 1.875rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 20%;
}

section.schedule .day-week {
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 20%;
	text-transform: uppercase;
	color: var(--bs-secondary);
}

section.schedule .date {
	font-size: 1.375rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--bs-primary);
}

section.schedule .nav-link:not(.active)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 50%, var(--color) 50%, var(--color) 100%);
  z-index: 0;
  transition: transform 0.2s ease;
  transform: translate(100%, -100%);
}

section.schedule .nav-link:not(.active):hover::after {
  transform: translate(0%, 0%);
}

section.schedule button.active .unselected-text {
	display: none;
}

section.schedule button.active .selected-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

section.schedule button:not(.active) .unselected-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
}

section.schedule button:not(.active) .selected-text {
	display: none;
}

section.schedule .tab-content {
	padding: 20px;
	background-color: #f4f2ee;
}

section.schedule .tab-pane {
	background: #fff;
	padding: 1rem 3rem;
}

section.schedule .list-event .row {
	row-gap: 2rem;
}

section.schedule .list-event .row:nth-child(even) {
	background-color: #f4f2ee;
}

section.schedule .title-event {
	text-transform: uppercase;
}

section.schedule .image-event {
	border-radius: 50%;
}

section.schedule .horaire-event {
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 20%;
	color: var(--bs-secondary);
}

section.schedule .author-event,
section.schedule .desc-event,
section.schedule .where  {
	font-weight: 500;
}

section.sponsor .global-carousel.multi .slide {
	background: #f7c34d;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

section.sponsor  .global-carousel.multi .slide a.card {
	width: 100%;
}
section.sponsor .global-carousel.multi .slide a.card img {
	padding: 2rem;
}
section.sponsor  .global-carousel.multi .slide .half-gradiant {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

section.sponsor .card-img-top {
	width: auto;
}


section.sponsor .card-body {
	display: none;
}

.grid-compteur {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 1.25rem;
}

.grid-compteur .item {
	border: solid 4px #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 0.6rem;
	padding-bottom: 1.75rem;
}

.grid-compteur .item .number {
	font-size: 3.25rem;
	font-weight: 400;
}

.grid-compteur .item .label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 20%;
	font-weight: 500;
}

.cta .card {
	border: 0;
	border-radius: 0;
}

.cta a {
	text-decoration: none;
	color: #8c8c9a;
}

.cta .card .card-img, 
.cta .card .card-img-top,
.cta-v2 .card-img-top,
.cta-v3 .card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ------------------------------------- */
/* -------------- MMENU ---------------- */
/* ------------------------------------- */

.mm-navbar {
	--mm-color-background: var(--bs-primary);
}

.mm-panels {
	--mm-color-background: var(--bs-primary);
	--mm-color-text: white;
}

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

.mm-listview .current-menu-item a {
	text-decoration: underline;
}

.mm-listview a {
	font-weight: 600;
	text-transform: uppercase;
}

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

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


/* -------------------------------------- */
/* -------------- FOOTER ---------------- */
/* -------------------------------------- */

footer {
	padding-block: 110px;
}

footer p,
footer a {
	line-height: 1.7;
	font-size: 1.2rem;
}
footer.gradiant-background p,
footer.gradiant-background a {
	color: #b2b2c5;
}


footer .label-footer {
	font-size: 1.33rem;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
}

footer .subtitle-footer {
	font-size: 1.2rem;
	color: var(--bs-secondary);
	font-weight: 400;
}

footer hr {
  opacity: .1;
}

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

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


.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;
}


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

.global-carousel.multi {
	overflow: hidden;
}

.global-carousel.multi .slick-list {
	margin-right: -1rem;
	margin-left: -1rem;
}


.global-carousel.multi .slide {
	margin-inline: 1rem;
	height: 100%;
}

.global-carousel.multi .slide a.card {
	height: 100%;
}

.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;
	}
	
	h1.title-home {
	  font-size: 6rem;
	}
	
	.hero-home .subtitle {
	  font-size: 1.33rem;
	}
}

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

@media (max-width: 992px) {
	.slick-dots {
		margin: 2.5rem 0 0 0;
	}
	
	.icon-box .slick-arrow {
		margin-right: 0;
	}
	
	h1.title-home {
	  font-size: 5rem;
	}
	
	.hero-home .subtitle {
	  font-size: 1.11rem;
	}
	
	.space {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
	
	.hero-home {
	  min-height: unset;
	}
	
	section .subtitle,
	section .surtitre {
	  font-size: 0.875rem;
	}
	
	section .surtitre {
		text-align: center;
	}
	
	h2 {
	  font-size: 2rem!important; 
	}
	
	h2.title-section {
	  text-align: center;
	}
	
	.btn {
		width: 100%;
	}
	
	section.space {
	  padding-bottom: 80px;
	}
	
	section.schedule .nav-link {
	  padding-block: 18px;
	}
	
	section.schedule .day-week {
	  font-size: 0.875rem;
	}
	
	section.schedule .date {
	  font-size: 1.1rem;
	}
	section.schedule .day-nb {
	  font-size: 1.5rem;
	}
	
	.desc-event {
		text-align: start;
	}
}


@media (max-width: 767.98px) {
	
	h1.title-home {
	  font-size: 4rem;
	}
	
	.hero-home .subtitle {
	  font-size: 1rem;
	}
	
	.hero-home .info {
	  font-size: 1rem;
	}
	
	.logo-rotary > img {
		width: 210px;
	}
	
	.badge-rotary > img {
		width: 275px;
	}
	
	.logo > img {
		width: 200px;
	}
	
	section.space,
	footer {
	  padding-top: 80px;
	  padding-bottom: 80px;
	}
	
	.grid-compteur {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr);
	  column-gap: 1.25rem;
	  row-gap: 1.25rem;
	}
	
	section.schedule .nav-item {
	  flex-basis: 22%;
	}
	
	section.schedule .nav#days-tab {
	  row-gap: 2px;
	}
	
	section.schedule .date {
		font-size: 0.875rem;
		line-height: 1.2;
	}
	
	section.schedule .day-week {
		font-size: 0.75rem;
	  }
}

@media (max-width: 575.98px) {
	
	h1.title-home {
	  font-size: 3rem;
	}
		
	.hero-home .subtitle,
	.hero-home .info {
	  font-size: 0.875rem;
	}
	
	.logo-rotary > img {
		width: 180px;
	}
	
	section.schedule .list-event .row {
		margin-left: 0;
		margin-right: 0;
	}
	
	section.schedule .tab-pane {
	  padding: 0;
	}
	
	section.schedule .tab-content {
	  padding: 0px;
	}
	
	section.schedule .nav-item {
	  flex-basis: 45%;
	}
	
	section.schedule .nav-link {
		padding-block: 10px;
	}
	
	section.schedule .day-nb {
		font-size: 1.1rem;
		line-height: 1.2;
	}
	
	section.schedule .list-event .row {
	  row-gap: 1.5rem;
	}
	
	section.space {
		padding-bottom: 40px;
	  }
	  
	 .card-body {
		padding-bottom: 0;
	}
	
	section.schedule.space {
		padding-bottom: 10px;
	 }
	 
	 .global-carousel.multi .slick-list {
	   margin-right: -0.5rem;
	   margin-left: -0.5rem;
	 }
	 
	 .global-carousel.multi .slide {
	   margin-inline: 0.5rem;
	 }
	 
	 footer {
	   padding-bottom: 40px;
	 }
}