/* logo color #bc052d; */
html {
    scroll-behavior: smooth;
}

.nav-white {
    background-color: white !important;
}

.home-title {
    color: #1e2858;
}

.logo-navbar {
    width: 50%;
}

.nav-social {
    margin-right: 1rem;
}

.nav-social a {
    border: 0px !important;
}

.nav-social-list li a i:hover {
    color: white !important;
}

.wolf-scout-logo {
    color: #ffed26;
    border-color: #ffed26;
}

.wolf-scout-logo svg {
    fill: #ffed26;
}

.guide-scout-logo {
    color: #81c636;
    border-color: #81c636;
}

.guide-scout-logo svg {
    fill: #81c636;
}

.rover-scout-logo {
    color: #be0033;
    border-color: #be0033;
}

.rover-scout-logo svg {
    fill: #be0033;
}

.home-parralax {
    height: 60vh;
}

.scout-goal-div {
    background-color: #ffffffd1;
}

.scout-goal-description {
    color: white;
    width: fit-content;
    background-color: #0a4107 ;
    padding: 0.5rem;
    border-radius: 1rem !important;
}

.feature-icon {
    margin-bottom: 3rem;
}

.feature-icon svg {
    width: 100%;
    margin-bottom: 1rem;
}

.arrowBox-yellow {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #ffed26;
    color: #0a4107 ;
}

.arrow-right-yellow:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #ffed26;
}

.arrowBox-green {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #81c636;
    color: #0a4107 ;
}

.arrow-right-green:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #81c636;
}

.arrowBox-red {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #be0033;
    color: #0a4107 ;
}

.arrow-right-red:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #be0033;
}

.timeline {
    position: relative;
    margin: 50px auto;
    padding: 40px 0;
    width: 1000px;
    box-sizing: border-box;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #c5c5c5;
}

.timeline ul {
    padding: 0;
    margin: 0;
}

.timeline ul li {
    list-style: none;
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline ul li:nth-child(odd) {
    float: left;
    text-align: right;
    clear: both;
}

.timeline ul li:nth-child(even) {
    float: right;
    text-align: left;
    clear: both;
}

.content {
    padding-bottom: 20px;
}

.timeline ul li:nth-child(odd):before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 24px;
    right: -6px;
    background: #0a4107 ;
    border-radius: 50%;
}

.timeline ul li:nth-child(even):before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 24px;
    left: -4px;
    background: #0a4107 ;
    border-radius: 50%;
}

.timeline ul li h3 {
    padding: 0;
    margin: 0;
    color: #0a4107 ;
    font-weight: 600;
}

.timeline ul li p {
    margin: 10px 0 0;
    padding: 0;
}

.timeline ul li .time h4 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: white;
}

.timeline ul li:nth-child(odd) .time {
    position: absolute;
    top: 12px;
    right: -165px;
    margin: 0;
    padding: 8px 16px;
    background: #0a4107 ;
    color: #fff;
    border-radius: 18px;

}

.timeline ul li:nth-child(even) .time {
    position: absolute;
    top: 12px;
    left: -165px;
    margin: 0;
    padding: 8px 16px;
    background: #0a4107 ;
    color: #fff;
    border-radius: 18px;

}

@media(max-width:1000px) {
    .timeline {
        width: 100%;
    }
}

@media(max-width:767px) {
    .timeline {
        width: 100%;
        padding-bottom: 0;
    }

    h1 {
        font-size: 40px;
        text-align: center;
    }

    .timeline:before {
        left: 20px;
        height: 100%;
    }

    .timeline ul li:nth-child(odd),
    .timeline ul li:nth-child(even) {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .timeline ul li:nth-child(odd):before,
    .timeline ul li:nth-child(even):before {
        top: -18px;
        left: 16px;
    }

    .timeline ul li:nth-child(odd) .time,
    .timeline ul li:nth-child(even) .time {
        top: -30px;
        left: 50px;
        right: inherit;
    }
}

.text-red {
    color: red !important;
}

.login-btns {
    min-width: 40%;
}

.fab-blue {
    color: #1e2858 !important;
}

/* Image gallery stlyling */
.container-pictures {
    max-width: 1200px;
    margin: 80px auto 0;
    text-align: center;
}

.gallery-title{
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.gallery img {
    box-shadow: -3px 5px 15px #0000006e;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; 
    margin-bottom: 4rem;
}

.gallery img {
    flex: 1 1 300px; /* Chaque image occupe au moins 300px de largeur, ajustable selon ton besoin */
    max-width: 300px;
    height: 200px; /* Hauteur fixe pour uniformiser l'apparence */
    object-fit: cover; /* Remplit le conteneur tout en respectant les proportions de l'image */
    object-position: center; /* Centre l'image dans son conteneur */
}

/* Pour les écrans de taille moyenne (tablettes) */
@media (max-width: 768px) {
    .gallery img {
        flex: 1 1 45%; /* Chaque image occupe environ 45% de la largeur du conteneur */
        max-width: 45%;
    }
}

/* Pour les petits écrans (mobiles) */
@media (max-width: 480px) {
    .gallery img {
        flex: 1 1 100%; /* Chaque image occupe 100% de la largeur du conteneur */
        max-width: 100%;
    }
}


.modal-img {
    width: 100%;
    height: auto;
}

.modal-body-image {
    padding: 0px;
}

.close-btn {
    width: 35px;
    height: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-btn .bar {
    height: 4px;
    background: #333;
}

.close-btn .bar:nth-child(1) {
    transform: rotate(45deg);
}

.close-btn .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.opened {
    display: flex;
}

.opened img {
    animation: animatepopup 1s ease-in-out .8s;
    -webkit-animation: animatepopup .3s ease-in-out forwards;
}


@keyframes animatepopup {

    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

}

@media screen and (max-width: 880px) {

    .container .container__img-holder:nth-child(3n+1) {
        margin-left: 16px;
    }

}

.container__img-holder .box.h {
    grid-column: span 1;
}

.container-planning {
    max-width: 1050px;
    width: auto;
    padding: 2em 20px;
    margin: 0 auto;
}
.spacer-toc {
    height: 1.8em;
    display: flex;
    align-items: center;
}
.spacer-toc .fa {
    font-size: 1.4em;
    color: #c2c2c2;
}

/* Upcoming-events 
-----------------------------------------------------------*/
/* outer & general */
.upcoming-events-wrap {margin-bottom: 30px;}
.upcoming-events {
	display: grid;
	grid-template-areas: "date" "content";
	max-width: 480px;
	background: #fff;
	margin: 0 auto 2em;
	box-shadow: 0 10px 8px -8px #b3b3b3;
	transition: 0.4s;
}
.upcoming-events:hover {
	box-shadow: 0 12px 8px -8px #999;
}
.event-date,
.event-date .dt-wrap,
.event-content,
.content-inner .ul-details,
.content-inner .ul-details li,
.content-media,
.content-img,
.content-img a,
.content-social,
.content-social a {
	display: flex;
}

	/* 0/1 | .event-date 
	---------------------------*/
.event-date {
    cursor: pointer;
    color : #575757;
	grid-area: date;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 24px;
	line-height: 1;
	text-transform: uppercase;
	transition: 0.4s ease;
}
.event-date:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 12px;
	z-index:2;
	background: #0a4107 ;
	transition: 0.4s ease;
}
.content-inner h2{
    cursor: pointer;
}
/* .upcoming-events:nth-child(even) .event-date:before {background: #be0033;} */
.upcoming-events:hover .event-date {color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,.23);}
.upcoming-events:hover .event-date:before {background: #0a4107 ; width: 100%;}
/* .upcoming-events:nth-child(even):hover .event-date:before {background: #be0033;} */

		/* 0/1/a */
.event-date .dt-wrap {
	z-index: 2;  
	flex-direction: row;
	align-items: center;
}
.event-date .day {font-weight: 600;}
.event-date .day,
.event-date .day.day-md {font-size: 36px;}
.event-date .day.day-sm {font-size: 32px;}

.event-date .month-year {
	font-weight: 600;
	padding: 0 10px;
}
		/* 0/1/b */
.event-date .dt-ven {
    z-index: 2;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .5px;
}
	/* 0/2 | .event-content 
	---------------------------*/
.event-content {
	grid-area: content;
	flex-direction: column;
	padding: 24px;
	border-top: 2px solid #9f982e;
}
		/* 0/2/a | .content-inner */
.content-inner {padding: 0;}
.content-inner a, .place-link{
    color: #575757
}
.place-link:hover{
    color: #0a4107 ;
}
.content-inner h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 12px;
}
.content-inner p {
	color: #2f4f4f;
	line-height: 1.25;
	margin: 0 0 12px;
}
.content-inner p.cnt-last {margin-bottom: 0;}

.content-inner .ul-details {
	flex-flow: row wrap;
	font-size: 16px;
	color: #999;
}
.content-inner .ul-details li {
	flex-direction: row;
	align-items: baseline;
	margin-right: 20px;
}
.content-inner .ul-details .fa {
	width: 16px;
	margin-right: 5px;
	text-align: center;
}
.content-inner .ul-details .fa {color: #0a4107 ;}
.content-inner .ul-details .fa-calendar-times-o {color: red;}

.content-inner .cnt-ensemble {
	padding-top: 12px;
	font-weight: 600;
}
.content-inner .cnt-details {font-size: 14px;}
.content-inner .cnt-details span {display: block;}

		/* 0/2/b | .content-media */
.content-media {
	flex-direction: column;
}
.content-img {order: 2;}
.content-social {order: 1;}

.content-img {
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 24px auto 0;
	border: 1px solid #2f4f4f;
	position: relative;
	transition: 0.4s;
}
.content-img a {
	justify-content: center;
	align-items: center;
}
.content-img .fa {
	position: absolute;
	color: rgba(0,0,0,.28);
	font-size: 2.5em;
	text-shadow: 1px 1px 2px rgba(255,255,255,.9);
	transition: 0.4s;
}
.content-img img {
	width: 100%;
	max-width: 100%;
	height: 170px;
	opacity:.3;
	object-fit: cover;
	transition: 0.4s;
}
.content-img img:hover {opacity: 1;}
.content-img:hover .fa {display: none;}
		
		/* 0/2/c | .content-social */
.content-social {
	min-height: 50px;
	margin: 24px 0 0 0;
	background: #f5f5f5;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}
.content-social a {
	width: 45px;
	height: 45px;
	justify-content: center;
	align-items: center;
}
/* media queries 
---------------------------------------------- */
@media (min-width: 768px) {
	.upcoming-events-wrap {
		box-shadow: 0 10px 8px -8px #b3b3b3;
	}
	.upcoming-events-wrap .upcoming-events:last-child {border-bottom:0;}
	.upcoming-events {
		grid-template-columns: 1fr 4fr;
		grid-template-areas: "date content";
		max-width: 100%;
		margin: 0 auto;
		box-shadow: none;
		border-bottom: 1px solid #575757;
	}
	.upcoming-events:hover {box-shadow: none;}
	.event-date {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 0 12px 18px;
		background: #f5f5f5;
	}
	.event-date .dt-wrap {
		flex-direction: column;
		align-items: flex-start;
		padding-left:12px;
	}
	.event-date .day {font-size: 60px;}
	.event-date .month-year {padding: 0;}
	.event-date .dt-ven {
		width: 100%;
		font-size: 12px;
		padding: 12px 12px 6px;
	}
	.event-content {
		justify-content: space-between;
		align-items: center;
		flex-direction: row;
		padding: 12px;
		border: 0;
	}
	.content-inner {padding: 12px;}
	.content-media {
		flex-direction: row;
		justify-content: flex-end;
		align-self: stretch;
	}
	.content-img {order: 1;}
	.content-social {order: 2;}
	
	.content-img {
		align-items: center;
		align-self: center;
		width: 86px;
		margin:0;
	}
	.content-img .fa {font-size: 1.7em;}
	.content-img img {
		width: 86px;
		max-width: 86px;
		height: 121px;
		object-fit: scale-down;
	}
	.content-social {
		flex-direction: column;
		width: 50px;
		margin: 0;
	}
}

.link-logo svg{
    width: 50px;
    height: 50px;
}

.logo-bg-grey{
    background: #f5f5f5;
}

.text-logo{
    color: black;
}

.logo-bg-grey-active{
    background-color: #0a4107 !important;
}

.logo-bg-grey-active .text-logo{
    color: white !important;
}

.badge-order:after{
    content: attr(value);
    font-size: 10px;
    color: #fff;
    background: red;
    border-radius: 50%;
    padding: 2px 3px;
    position: relative;
    left: -8px;
    top: -15px;
    opacity: 0.9;
}

.badge-order{
    font-size: 1rem;
    color: #0a4107 ;
}

.btn-modal-close{
    border-radius: 0.375rem!important;
    background-color: #0a4107 !important;
    border: none!important;
}

.btn-modal-close span{
    color: white!important;
}

.password-reset{
    color: #0a4107 ;
}

.password-reset:hover{
    color: black;
}

.no-planning{
    text-align: center;
}