/* ADH_V2_ACCUEIL.CSS : définitions de style pour la page d'accueil (public et adhérents) : éditorial, une, acctivités
/* CSS 3
/* Auteur : Hugues Sturbois (85)
/* Dernière mise-à-jour : 24/11/2024


/*-------------  Section éditorial -------------*/
.hp-edito-left {
   position: relative;
   min-width: 482px;
   height: 482px;
   padding: 0px;
   margin: auto 0px; }

.hp-edito-img {
   width: 482px;
   height: 482px; }

.hp-edito-img1 {
   position: absolute;
   z-index: 10; }

.hp-edito-img2 {
   position: absolute;
   z-index: 20; }

.hp-edito-right {
   position: static;
   margin: auto 10px auto 20px; }

.hp-edito-right hr {
   color: var(--gpx-grey);
   margin-bottom: 30px; }

/*------------- Section "à la une" et son acrroussel -------------*/
.homepage-une {
   display: flex;
   flex-direction: column;
   text-align: center;
   background-color: white;
   margin: 0px;
   padding: 10px 30px 20px 30px; }

.hp-une-slideshow {
   display: block;
   position: relative;
   margin: auto; }

.hp-une-slideshow a {
   display: block;
   text-decoration: none; }

.prev, .next {
   cursor: pointer;
   position: absolute;
   top: 50%;
   width: auto;
   margin-top: -22px;
   padding: 16px;
   color: white;
   font-weight: bold;
   font-size: 18px;
   transition: 0.6s ease;
   border-radius: 0 3px 3px 0;
   user-select: none;
   background-color: var(--gpx-black);
   opacity: 0.5;
   z-index: 1; }

.next {
   right: -10px;
   border-radius: 3px 0 0 3px; }

.prev:hover, .next:hover {
   background-color: var(--gpx-darkblue);
   opacity: 1.0; }

.slideshow-content {
   display: flex;
   flex-direction: row;
   position: relative;
   margin: auto;
   width: 1044px;  /* 3 x (10 + 328 + 10) */
   overflow: hidden;
   overscroll-behavior: none; }

.slideshow-img {
   display: block;
   filter: brightness(80%);
   width: 328px;
   height: 354px;
   margin: 10px; }

.slideshow-text {
   color: white;
   font-size: 20px;
   font-weight: bold;
   max-width: 310px;
   position: relative;
   left: 30px;
   bottom: 65px;
   text-align: left;
   z-index: 1; }

.hp-une-slideshow a:hover .slideshow-img {
   filter: brightness(100%);
   transition: all 0.5s 0.1s ease; }

.hp-une-slideshow a:hover .slideshow-text {
   bottom: 150px;
   transition: all 0.5s 0.1s ease; }

/*------------- Section Activités -------------*/
.homepage-activities {
   background-color: var(--gpx-lightblue);
   margin: 0px;
   padding: 5px 30px 20px 30px;
   text-align: center; }

.hp-activities-container {
   width: 1000px;
   margin: 0px auto;
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 5px; }

.hp-activities-container img {
   width: 328px;
   height: 354px;
   margin: 0px; }

.activity-link {
   display: block;
   color: var(--gpx-darkblue);
   background-color: white;
   border: 2px var(--gpx-darkblue) solid;
   font-size: 16px;
   font-weight: bold;
   margin: 0px auto;
   padding: 10px 20px;
   position: relative;
   bottom: 120px;
   width: 50%;
   text-align: center;
   text-decoration: none; }

.activity-link:hover {
   color: white;
   background-color: var(--gpx-darkblue);
   border: 2px white solid;
   transition: all 0.4s 0.0s ease; }

