/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.news.section::after {
    content: "";
    width: 100%;
    height: 20px;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    box-shadow: 0px -10px 10px -10px rgba(0,0,0,1) inset;
    -webkit-box-shadow: 0px -10px 10px -10px rgba(0,0,0,1) inset;
    -moz-box-shadow: 0px -10px 10px -10px rgba(0,0,0,1) inset;
    border-bottom: 1px solid var(--bs-gray-800);
}
@media (max-width: 991px) {
    .main .container.main {
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        min-width: 600px;
    }
}
@media (min-width: 992px) {
    .main .container.main {
        max-width: none;
    }
}
h3.title {
    font-weight: 500 !important;
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    text-wrap: balance;
}
h5 {
    font-weight: 500;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Page specific
--------------------------------------------------------------*/
.news .card:hover {
    background: linear-gradient(180deg, var(--contrast-color) 0%, rgba(228, 230, 240, 1) 100%) !important;
}
.news .card-header {
    background: url("../img/bg-page-nav.png") top left / cover no-repeat, linear-gradient(270deg, #115491 0%, #1977cc 60%) !important;
    color: white;
    text-shadow: 2px 2px 2px var(--bs-gray-600);
    font-size: 1.5rem;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    position: relative;
}
.news .card:hover .card-header {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.news .card-header p {
    position: relative;
    left: 1rem;
    display: inline-block;
    transform: translateX(0);
    transition: transform 1s, left 1s;
    font-size: 1.5rem;
}
.news .card:hover .card-header p {
    left: 50%;
    transform: translateX(-50%);
    transition: transform 1s, left 1s;
}

.news .card-body {
    font-size: 1.1rem;
}
.news .card-footer {
    background: transparent;
    border-top: none;
}
.news .card img {
    max-height: none;
    height: auto;
}

/* Accordion */
.licence .accordion {
    --bs-accordion-border-radius: 1rem;
}
.licence .accordion-item {
    margin-bottom: 2rem;
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important;
    position: relative;
}
.licence .accordion-item:hover .accordion-header.collapsed {
    background-color: rgba(7, 22, 89, 0.1);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}
.licence .accordion-item:has(.collapsed) {
    margin-bottom: .5rem !important;
}
.licence .accordion-item:has(.accordion-header:not(.collapsed)) {
    border-color: var(--accent-color) !important;
}
.licence .accordion-header {
    cursor: pointer;
    padding-top:1rem;
    padding-bottom:1rem;
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);

    background: url("../img/bg-page-nav.png") top left / cover no-repeat, linear-gradient(270deg, #1977cc 0%, #115491 60%) !important;
    color: white !important;
    text-shadow: 2px 2px 2px var(--bs-gray-600);
    font-size: 1.5rem;
    padding: 1rem;
    box-shadow: var(--box-shadow);
}
.licence .accordion-header:not(.collapsed) {
    color: var(--contrast-color);
    background: url("../img/bg-page-nav.png") top left / cover no-repeat, linear-gradient(270deg, #115491 0%, #1977cc 60%) !important;
}
.licence .accordion-header.collapsed .bubble::before {
    color: color-mix(in srgb, var(--contrast-color), var(--bs-primary-bg-subtle) 70%) !important
}
.licence .accordion-header:not(.collapsed) .bubble::before {
    color: color-mix(in srgb, var(--contrast-color), var(--bs-primary-bg-subtle) 70%) !important
}
.licence .accordion-header::after {
    content: "\F1C1";
    position: absolute;
    top: .5rem;
    right: .5rem;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    color: color-mix(in srgb, var(--contrast-color), transparent 50%);
    font-size: 1.25rem;
}
.licence .accordion-header.collapsed::after {
    content: "\F1B9";
}
.licence .accordion-collapse {
    background: linear-gradient(180deg, rgba(7, 22, 89, 0.1) 0%, rgba(7, 22, 89, 0) min(25rem, 100%));
}
.accordion-footer {
    background: transparent;
    border-top: none;
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    color: var(--bs-card-cap-color);
    box-sizing: border-box;
}

.licence .highlight {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--heading-color);
}
.licence .highlight .bubble {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    margin-right: 2rem;
    text-align: center;
    position: relative;
}
.licence .highlight .bubble::before {
    font-size: 6rem;
    height: 100% !important;
    top: -1.2rem;
    line-height: 1;
    position: absolute;
    display: inline-block;
    left: 0;
    padding-left: 1rem;
}
.licence .highlight .bubble.bubble-1::before {
    content: "1";
}
.licence .highlight .bubble.bubble-2::before {
    content: "2";
}
.licence .highlight .bubble.bubble-3::before {
    content: "3";
}
.licence .highlight .bubble.bubble-4::before {
    content: "4";
}
.licence .highlight .light {
    font-weight: 300;
    font-size: 1.2rem;
    display: block;
    margin-left: 5.25rem;
    line-height: 1rem;
    position: relative;
    top: -.25rem;
    font-style: italic;
}
.licence .highlight .bubble-img {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    margin-right: 2.5rem;
    text-align: center;
    position: relative;
}
.licence .highlight .bubble-img::before {
    content: "";
    background-size: 4rem 4rem;
    /* border: 1px solid red; */
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: .5rem;
    padding-left: 1rem;
}
.licence .highlight .bubble-loisir::before {
    background: url("../img/bubble-loisir.png") top left no-repeat;
}
.licence .highlight .bubble-competition::before {
    background: url("../img/bubble-competition.png") top left no-repeat;
}
.licence .highlight .bubble-jeune::before {
    background: url("../img/bubble-jeune.png") top left no-repeat;
}
.licence .highlight .bubble-parabadminton::before {
    background: url("../img/bubble-parabadminton.png") top left no-repeat;
}
.dossiers .section-info .sub-highlight {
    margin-left: 2rem;
    border-left: 1px solid var(--heading-color);
    padding-left: 1rem;
}

/* Blockquote */
.blockquote-wrapper {
    display: flex;
    /* height: 100vh; */
    padding: 0 20px;
}
.blockquote {
    position: relative;
    max-width: 620px;
    align-self: center;
}
.blockquote h1 {
    position: relative;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    border: solid 1px var(--accent-color);
    border-radius:20px;
    padding: .25rem 1rem 1rem 1rem;
    background: linear-gradient(180deg, rgba(228, 230, 240, 1) 0%, var(--contrast-color) 100%) !important;
    text-wrap: balance;
}
.blockquote h1 span {
    font-weight: 700;
    font-size: .8rem;
    display: block;
    padding-bottom: .5rem;
}
.blockquote h1:after {
    content:"";
    position: absolute;
    border: 1px solid var(--accent-color);
    border-radius: 0 100% 0 0;
    width: 2rem;
    height: 2rem;
    bottom: -2rem;
    left: 2rem;
    border-bottom: none;
    border-left: none;
    z-index: 3; 
}
@media all and (min-width: 600px) {
    .blockquote h1 {
        /* font-size: 3rem; */
        line-height: 1.5;
}
}
.blockquote h4 {
    position: relative;
    color: var(--bs-gray);
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: .5rem;
    z-index: 1;
    margin-left: 4rem;
    padding-left: 1rem;
}

/* Image overlay */
.img-overlay {
    position: absolute;
    top: .5rem;
    left: calc(var(--bs-gutter-x) * .5 + .5rem);
    width: calc(100% - var(--bs-gutter-x) - 1rem);
    height: calc(100% - 1rem);
}
.img-overlay p {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding-left: .5rem;
    padding-right: .5rem;
    text-shadow: 2px 2px 2px #000000;
}
.color-white {
    color: var(--contrast-color);
}
/* Responsive video */
.video-responsive { 
    overflow:hidden; 
    padding-bottom:56.25%; 
    position:relative; 
    height:0;
}
@media all and (min-width: 992px) {
    .video-responsive { 
        margin: 0 5rem 0 5rem;
    }
}
.video-responsive iframe {
    left:0; 
    top:0; 
    height:100%;
    width:100%;
    position:absolute;
}

/* Hero container */
.container.hero {
    height: 75vh;
    background: url("../img/pratiquants-licencies-01.jpg") 0 30% no-repeat;
    background-size: cover;
    width: 100%;
    max-width: unset;
    min-height: unset;
    display: block;
    position: relative;
}
.container.hero::after {
  content: "";
  width: 100%;
  height: 20%;
  padding: 0;

  margin: 0;

  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;
  -webkit-box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;

  -moz-box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;
}

.hero .overlay {
    text-align: left !important;
    padding: 1rem 1rem 1rem 2rem !important;
    margin: 0;
    display: block;
    min-height: unset;
    position: absolute;
    bottom: 0;
    left: 0;
    min-height: 190px;
    width: 100%;
    background: rgba(0, 0, 0, .5);
}
.hero .overlay .row {
    height: 100%;
}
.hero .overlay .col {
    position: relative;
}
.hero .overlay .col p.hero {
    color: var(--contrast-color);
    font-size: clamp(1.2rem, 0.986rem + 0.571vw, 1.5rem);
    font-weight: 700;
    font-family: var(--heading-font);
    text-shadow: 2px 2px 8px #000000;

    min-height: unset;
    padding: 0;
    display: block;
}

.hero .overlay .col p.hero span {
    font-size: clamp(2rem, 1.286rem + 1.905vw, 3rem);
}
.hero .overlay .col .sub-hero {
    color: var(--contrast-color);
    font-size: clamp(1.2rem, 0.986rem + 0.571vw, 1.5rem) !important;
    font-weight: 300;
    font-family: var(--heading-font);
    text-shadow: 2px 2px 8px #000000;
    text-align: left !important;
    padding: 0rem 1rem 1rem 0rem !important;
    display: block;
    margin-top: 1rem;
}
.hero .overlay .col .hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    row-gap: 1.5rem;
    height: 100%;
    z-index: 10;
    position: relative;
}


/* Arguments section */
.arguments.section {
    background: var(--contrast-color);
}
.arguments.section::after {
    content: "";
    width: 100%;
    height: 20%;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;
    -webkit-box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;
    -moz-box-shadow: 0px -12px 14px -6px rgba(0,0,0,0.31) inset;
}
.arguments i {
    color: var(--contrast-color);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    font-size: 3rem;
    border-radius: 50px;
    border: 2px solid var(--background-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 10;
    background: #0A0733;
    background: linear-gradient(0deg, rgba(10, 7, 51, 1) 0%, rgba(25, 119, 204, 1) 75%);
    padding-bottom: 1.5rem;
}
.arguments .texte {
    background-color: var(--background-color);
    width: 100%;
    position: relative;
    text-align: center;
    border-radius: 4px;
    margin-top: -30px;
    z-index: 20;
    padding: 0 .5rem .5rem .5rem;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent-color);
}
.arguments .texte h3 {
    font-size: 1.5rem;
    padding: .75rem .5rem;
    text-wrap: balance;
}
.arguments .texte p {
    font-size: 1.2rem;
}


.container.main {
    background: linear-gradient(180deg, rgba(7, 22, 89, 0) 90%, rgba(7, 22, 89, 0.1) 100%);
}

.news.section.collapsable {
    transition: all ease-in-out 0.4s;
    background: linear-gradient(180deg, 
        rgba(7, 22, 89, 0.1) 0%, 
        rgba(7, 22, 89, 0) min(50%), 
        rgba(7, 22, 89, 0.3) min(100%));
}
.news.section.collapsable h2.collapsable {
    cursor: pointer;
    text-wrap: balance;
}

.news.section.collapsable:not(:has(.container.licence.show)) {
    padding: 1rem 0;
    background: transparent;
}
.news.section.collapsable:not(:has(.container.licence.show))::after {
    box-shadow: none;
    -webkit-box-shadow: none;
    border-bottom: 1px solid var(--bs-gray-400);
}

.news.section.collapsable:not(:has(.container.licence.show)):has(h2.collapsable:hover) {
    background: linear-gradient(180deg, rgba(7, 22, 89, 0.1) 0%, rgba(7, 22, 89, 0) 100%);
}

.news.section.collapsable:not(:has(.container.licence.show)) h2.collapsable {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 0%);
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all ease-in-out 0.4s;
    border: 1px solid var(--accent-color);
    margin-bottom: 0;
    font-size: 1.2rem;
    text-wrap: balance;
}
.news.section.collapsable:not(:has(.container.licence.show)) h2.collapsable::before,
.news.section.collapsable:not(:has(.container.licence.show)) h2.collapsable::after {
    content: none;
}

.news.section.collapsable:not(:has(.container.licence.show)) h2.collapsable:hover {
    background: var(--contrast-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-5px);
}

.news.section.collapsable:not(:has(.container.licence.show)) .section-title:not(.notCollapsable) {
    padding-bottom: 0;
}
.news.section.collapsable:has(.container.licence.show) .section-title:not(.notCollapsable)::after {
    content: "\F1C1";
    position: absolute;
    top: .5rem;
    right: .5rem;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 2rem;
}

.card[data-bs-toggle="collapse"] {
    cursor:pointer;
}
.card[data-bs-toggle="collapse"]:hover {
    border: 1px solid var(--accent-color) !important;
}

.section.que-souhaitez-vous-faire {
    background: linear-gradient(180deg, rgba(7, 22, 89, 0.1) 0%, rgba(172, 39, 35, 0.1) 100%) !important;
}
.section.que-souhaitez-vous-faire .card:hover {
    transform: translateX(-5px);
}

#collapseLivretAccueil .card,
#collapseBadmintonSocial .card,
#collapseBadmintonEnvironnement .card {
    background: linear-gradient(180deg, var(--contrast-color) 0%, rgba(228, 230, 240, 1) 100%) !important;
}

/* Testimonials */
.section.temoignages {
  background: linear-gradient(180deg, rgba(7, 22, 89, 0.1) 0%, rgba(172, 39, 35, 0.1) 100%) !important;
}

.testimonial {
    color: #fff;
    position: relative;    
    background: #9b9b9b;
    padding: 1.5rem;
    margin: 0 0 1rem 1rem;
    font-size: 1.1rem;
    line-height: 1.3rem;
    background: #fff;
    color: var(--default-color);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.testimonial::before, .testimonial::after {
	content: "";
	display: inline-block;
	position: absolute;
	left: 0;
	bottom: -1rem;
}
.testimonial::before {
    width: 1rem;
    height: 1rem;
    border-width: 1rem 0px 0px 1rem;
    border-color: #9b9b9b transparent transparent transparent;
    border-style: solid;
}
.testimonial::after {
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.testimonial p {
	text-indent: 40px;
    line-height: 21px;
	margin: 0;
}
.testimonial p::before {
	content: "\201D";
  	font-family: Arial,sans-serif;
    color: var(--bs-gray-400);
    font-weight: bold;
    font-size: 68px;
    line-height: 70px;
    position: absolute;
    left: -25px;
    top: 0;
}

.testimonial-media {
	position: relative;
	padding: 0 0 0 20px;
	margin-left: 20px;
    display: flex;
    align-items: flex-start;
}
.testimonial-media img {
	width: 75px;
	height: 75px;
	display: block;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    background: #fff;
}

.testimonial-media-body {
    flex: 1;
}
.testimonial-media-body .overview {
  padding: 3px 0 0 15px;
}
.testimonial-media-body .overview b {
  text-transform: uppercase;
  color: var(--heading-color); /* #ff5555; */
}

/* Flipbook */
.flipbook input {
    display: none;
}

.flipbook img {
    width: 100%;
    height: 100%;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.flipbook .book {
    display: flex;
}

.flipbook #cover {
    width: 250px;
    height: 400px;
}

.flipbook #back {
    width: 250px;
    height: 400px;
    background: var(--bs-gray-300);
    border: 2px solid #ffffff;
}

.flipbook .flip-book {
    width: 250px;
    height: 400px;
    position: relative;
    perspective: 1500px;
}

.flipbook .flip {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: .5s;
    color: #000;
}

.flipbook .front {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fafafa;
    box-sizing: border-box;
    padding: 0;
}

.flipbook .back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    background-color: #fafafa;
    padding: 0;
}

.flipbook .next-btn {
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    cursor: pointer;
    color: var(--bs-gray-600);
}

.flipbook .back-btn {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    cursor: pointer;
    color: var(--bs-gray-600);
}

.flipbook #p1 {
    z-index: 9;
}
.flipbook #p2 {
    z-index: 8;
}
.flipbook #p3 {
    z-index: 7;
}
.flipbook #p4 {
    z-index: 6;
}
.flipbook #p5 {
    z-index: 5;
}
.flipbook #p6 {
    z-index: 4;
}
.flipbook #p7 {
    z-index: 3;
}
.flipbook #p8 {
    z-index: 2;
}
.flipbook #p9 {
    z-index: 1;
}


.flipbook #c1:checked ~ .flip-book #p1 {
    transform: rotateY(-180deg);
    z-index: 1;
}
.flipbook #c2:checked ~ .flip-book #p2 {
    transform: rotateY(-180deg);
    z-index: 2;
}
.flipbook #c3:checked ~ .flip-book #p3 {
    transform: rotateY(-180deg);
    z-index: 3;
}
.flipbook #c4:checked ~ .flip-book #p4 {
    transform: rotateY(-180deg);
    z-index: 4;
}
.flipbook #c5:checked ~ .flip-book #p5 {
    transform: rotateY(-180deg);
    z-index: 5;
}
.flipbook #c6:checked ~ .flip-book #p6 {
    transform: rotateY(-180deg);
    z-index: 6;
}
.flipbook #c7:checked ~ .flip-book #p7 {
    transform: rotateY(-180deg);
    z-index: 7;
}
.flipbook #c8:checked ~ .flip-book #p8 {
    transform: rotateY(-180deg);
    z-index: 8;
}
.flipbook #c9:checked ~ .flip-book #p9 {
    transform: rotateY(-180deg);
    z-index: 9;
}

/* Surlignage animé */
 .animated-underline {
    position:relative;
    display: inline-block;
    isolation: isolate;
 }
 .animated-underline svg {
    height: calc(100% + 20px);
	left: 50%;
	overflow: visible;
	position: absolute;
	top: 0;
	transform: translate(-50%,-50%);
	width: calc(100% + 20px);
	transition: fill 120ms ease-in-out;
	fill: currentColor;
    z-index: -1;
}
.animated-underline svg path {
	stroke: yellow;
	stroke-width: 11;
	fill: none;
	opacity: 0;
	stroke-dasharray: 0 1500;
	transition: .3s;
	animation: elementor-headline-dash forwards;
	animation-duration: 1.2s; /* var(1s, 1.2s); */
    animation-delay: 1.2s;
	animation-iteration-count: infinite;
}

@keyframes elementor-headline-dash {
    0% {
	    stroke-dasharray: 0 1500;
	    opacity: 1;
    }
    100% {
	    stroke-dasharray: 1500 1500;
	    opacity: 1;
    }
}

/*--------------------------------------------------------------
# Parallax
--------------------------------------------------------------*/
.parallax-pratiquants {
    background-image: url("../img.parallax/parallax-pratiquants.jpg");
}

/*--------------------------------------------------------------
# Accordion title markers
--------------------------------------------------------------*/
.title-marker {
    position: relative;
}
.title-marker::before {
    content: "";
    background: url("../img/title-marker-icon.png") no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 39px;
    height: 39px;
}

