/* ADH_V2_CALENDRIER.CSS : définitions de style pour le calendrier des manifestations (public et adhérents)
/* CSS 3
/* Auteur : Hugues Sturbois (85)
/* Dernière mise-à-jour : 23/03/2025
*/

.calendar-container {
   margin: 50px auto 40px auto;
   width: 900px; }

span.black {
   color: var(--gpx-black); }

/*------------- Critères de filtrage (rubrique, mois) -------------*/
.calendar-criteria {
   display: flex;
   flex-direction: row;
   font-size: 20px; }

.calendar-criteria select {
   font-size: 20px;
   color: var(--gpx-darkblue);
   background-color: white;
   border-top: 0px;
   border-left: 0px; }

.calendar-criteria select option {
   font-size: 14px; }

.calendar-criteria a {
   color: var(--gpx-darkblue);
   font-size: 32px;
   text-decoration: none;
   margin: 0px 30px; }
   
/*------------- Calendrier du mois -------------*/
.calendar {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
   margin-top: 30px; }
   
.cal-header {
   font-size: 24px;
   font-weight: bold; }

.cal-cell {
   position: relative;
   min-height: 120px;
   border: 1px solid var(--gpx-grey);
   padding: 0px 5px 5px 5px; }

.cal-cell p {
   font-size: 24px;
   font-weight: bold;
   margin: 0px; }

.cal-cell-today {
   color: var(--gpx-darkblue); }

.cal-cell-past {
   color: var(--gpx-grey); }

.cal-cell-content {
   color: var(--gpx-black);
   min-height: 0px;
   min-width: 0px; }

.cal-cell-content a {
   font-size: 14px;
   color: var(--gpx-darkblue);
   text-decoration: none; }

p.warn-deadline {
   color: red; }

a.warn-deadline {
   color: red; }

/*------------- affichage des annonces d'une date -------------*/
.cal-events-list {
   display: none;
   position: absolute;
   z-index: 1;
   min-width: 480px;
   background-color: white;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); }

.cal-shift-left {
   right: 20px; }

.cal-shift-up {
   bottom: 20px; }

.cal-events-list hr {
   width: 50%;
   border-top: 1px solid var(--gpx-grey);
   border-bottom: 0px;
   margin: 0px auto; }

.cal-cell-content:hover .cal-events-list {
   display: flex;
   flex-direction: column; }

.cal-event-teaser {
   display: flex;
   flex-direction: row; }

.cal-event-teaser img {
   display: block;
   height: 150px;
   margin: 10px;   }

.cal-event-shortdescr {
   display: flex;
   flex-direction: column;
   font-size: 14px;
   margin: auto 0px; }

.cal-event-shortdescr p {
   font-size: 14px;
   font-weight: normal;
   margin: 5px 15px 5px 0px;
   text-align: left; }
   
.cal-event-deadline {
   color: var(--gpx-darkblue);

