
:root {
    --noir: #000;
    --rouge: #FF0000;
    --blanc: #FFF;
    --gris-clair : #f2f4f7;

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
}






#page_agenda{
    display: block;
    width: 100% !important;
    /* border: 1px solid rgb(215, 234, 13); */
    background-color: var(--blanc);
    padding: 15px;
}

#page_agenda .titre{
    display: flex;
    flex-direction: column;
    padding: 15px;
    width: 100% !important;
    color: var(--blanc);
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: var(--orange);
    border-radius: 4px;
    border-bottom: 3px solid var(--vert-fonce);
}
#page_agenda .titre h2{
    font-size: 16px;
    font-weight: 600;
}

#page_agenda .liste {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
}

/* Timeline line */
#page_agenda .liste::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 2px;
    background: linear-gradient(to bottom, #cfd8dc, #eceff1); /* light gray line */
    z-index: 1;
}

/* Agenda item box */
#page_agenda .liste .item {
    position: relative;
    background: rgba(33, 150, 243, 0.08); /* Light blue */
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    width: 100%;
    z-index: 2;
    transition: background 0.3s;
}

#page_agenda .liste .item:nth-child(even) {
    background: rgba(158, 158, 158, 0.08); /* Light gray */
}

/* Hover effects */
#page_agenda .liste .item:hover {
    background: rgba(33, 150, 243, 0.12);
}

#page_agenda .liste .item:nth-child(even):hover {
    background: rgba(158, 158, 158, 0.12);
}

/* Timeline dot */
#page_agenda .liste .item::before {
    content: "";
    position: absolute;
    left: -23px;
    top: 20px;
    width: 14px;
    height: 14px;
    background-color: #2196F3; /* Blue */
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
    z-index: 3;
}

#page_agenda .liste .item:nth-child(even)::before {
    background-color: #9E9E9E; /* Gray */
    box-shadow: 0 0 0 3px rgba(158, 158, 158, 0.2);
}

/* Date with icon */
#page_agenda .liste .item .libelle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    padding-left: 10px;
    margin-bottom: 6px;
}

#page_agenda .liste .item .libelle svg {
    width: 18px;
    height: 18px;
    fill: #2196F3; /* Blue icon */
    flex-shrink: 0;
}

#page_agenda .liste .item:nth-child(even) .libelle svg {
    fill: #9E9E9E; /* Gray icon */
}

#page_agenda .liste .item .libelle .date {
    font-size: 13px;
    color: #444;
    font-weight: 700;
    margin: 0;
}


#page_agenda .liste .item .caption {
    font-size: 13px;
    padding-left: 10px;
    color: #555;
    margin-top: 8px;
    line-height: 1.5;
}



/******************************************* Responsive********************/

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

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

}
@media screen and (max-width: 1350px) {
    
}
@media screen and (max-width: 1250px) {

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

}

@media screen and (max-width: 768px) {
   
   
}
@media screen and (max-width: 640px) {
    
}
@media screen and (max-width: 480px) {
  
}


/**************       dark mode   ***********/
.dark-mode #page_agenda {
    background-color: rgba(126, 126, 126, 0.001);
}
.dark-mode #page_agenda .items .item{
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.01), 0 6px 20px 0 rgba(195, 148, 41, 0.081);
}
.dark-mode #page_agenda .titre,
.dark-mode #page_agenda .liste .item .libelle .date{
    color: yellow !important;
}
.dark-mode #page_agenda .items .item a .caption .foot .right,
.dark-mode #page_agenda .one_video .item a .caption .foot .right{
    border: 1px solid yellow !important;
}
.dark-mode #page_agenda .titre{
    border-bottom: 1px solid yellow !important;
}
.dark-mode #page_agenda .trait,
.dark-mode #page_agenda .one_video{
    border-color: yellow;
}


.dark-mode #page_agenda .titre{
   background-color: rgb(43, 43, 43) !important;
}

.dark-mode #page_agenda .liste .item{
   background-color: rgb(34, 34, 34) !important;
   background: rgb(44, 44, 44) !important;
}
.dark-mode #page_agenda .one_video .item a .inner .icon span,
.dark-mode #page_galerie .liste .item .inner .icon,
.dark-mode #page_agenda .one_video .item a .inner .icon{
    background-color: #000 !important;
    background: #000 !important;
}
