/*=== EVENEMENTS - liste ===*/
table.events-table {
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing: 0;
    width: 100%;    
}

/*----------------------*/

.events-table td, .events-table th {
    padding: 10px;
    border-bottom: 1px solid #f2f2f2;    
}

.events-table tbody tr:nth-child(even) {
    background: #f5f5f5;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
}

.events-table th {
    text-align: left;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    border-bottom: 1px solid #ccc;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);
    background-image:    -moz-linear-gradient(top, #f5f5f5, #eee);
    background-image:     -ms-linear-gradient(top, #f5f5f5, #eee);
    background-image:      -o-linear-gradient(top, #f5f5f5, #eee); 
    background-image:         linear-gradient(top, #f5f5f5, #eee);
}

.events-table th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;  
}

.events-table th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

.events-table th:only-child{
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}

.events-table tfoot td {
    border-bottom: 0;
    border-top: 1px solid #fff;
    background-color: #f1f1f1;  
}

.events-table tfoot td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

.events-table tfoot td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}

.events-table tfoot td:only-child{
    -moz-border-radius: 0 0 6px 6px;
    -webkit-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
}

/*------------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------            2023          -------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------------------------*/

.em.em-list .em-item .em-item-info h3.em-item-title a{
    font-weight: bold;
    font-size: 70%;
}

/* .em.pixelbones h3{
    line-height: 0.7!important;
} */

/*Copyright sur photo de block cover*/

.creditphoto {
    color: #f2f2f2;
    font-size: 70%;
    padding: 5px 15px;
    position: absolute;
    top: 0;
    right: 0;
    /* border: 1px solid red; */
    z-index: 1;
}


/******************************Page mensuelles dans le style du  programme des sorties***************/
.wp-block-cover.containerTitreMois{
    align-items: flex-end;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 70px !important;
    margin-top: -30px;
    overflow: visible;
}
.containerTitreMois img{
    border-radius: 0 0 150px 0 ;
}

.containerTitreMois .wp-block-cover__inner-container{
    margin-bottom:-60px;
}

h1.titremois{
    color:#FFF;
    font-family:"LPO Light";
    padding: 0.45em;
  font-size: 2em !important;
  display: inline-block;
}
.titremois strong{
        font-family:"LPO Black";
}
@media only screen and (max-width: 600px){
    .wp-block-cover.containerTitreMois{
        min-height: 60px !important;
        margin-bottom: 10px !important;
        padding:10px 0;
    }  
    .containerTitreMois img,
    .creditphoto{
        display:none;
    }
    h1.titremois{
        font-size: 1.4em !important;
    display: block;
        text-align:center;
    }
    .containerTitreMois .wp-block-cover__inner-container{
    margin-bottom:0;
    }
}
/*Fin test*/

/*Liste evenement dans l'esprit du programme des sorties papier
--------------------------------
.lito_event
.bandeau
   .date
   .titre
.event-desc
.event-infoComp
    .eventtime
  .event-rdv
    .col_label
    .col_info
     .locationname
.event-contact
    .col_label
    .col_info
      .contactname
      .contactinfo
-----------------------------------
*/
.lito_event{
    position:relative;
    margin-bottom:2em;
    padding-bottom:5px;
    transition-duration: 0.2s;
    border:1px solid #FFF;
    border-radius:5px;
}

.lito_event,
.lito_event a{
    font-size:1.3rem;
    line-height:normal;
}

.lito_event .over-link{
    position: absolute;
    display:block;
    width:100%;
    height:100%
}
.lito_event .bandeau{
    background-color:#5b5b5b;
    display: flex;
    color:#FFF;
    transition-duration: 0.4s;
}

.lito_event:hover .bandeau{
    background-color:#0074bd;
}
.lito_event:hover{
border:1px solid #0074bd;
}

.lito_event .bandeau > *{
    padding:5px 10px;
}

.lito_event .bandeau .date{
    font-weight:bold;
    text-transform:capitalize;
    border-right:2px solid #FFF;
    min-width:150px;
    text-align:center;
}
.lito_event .bandeau .titre a{
    color:#FFF;
}

.lito_event .event-desc,
.lito_event .event-rdv,
.lito_event .event-contact{
    padding: 0 10px;
    margin-bottom:10px;
}
.lito_event .event-desc{
    margin-top:5px;
    font-weight: lighter;
}

.lito_event .event-rdv,
.lito_event .event-contact{
 display:flex;	
}

.lito_event .event-rdv{
    color:#0074bd;
}

.lito_event .event-rdv .label{
    border-color:#0074bd;
}

.lito_event .event-contact .contactname{
    font-weight:bold;
}

.lito_event .label{
    width:6rem;
    text-align:center;
    display:inline-block;
    border:1px solid #777;
    padding:0 5px;
    margin-right:5px;
    border-radius:3px
}


@media only screen and (max-width: 767px){
    .lito_event .bandeau{
        display:block;
    }
    .lito_event .bandeau .date{
        border-right:0;
        border-bottom: 1px solid #FFF;
    }
        .lito_event .titre{text-align:center;}
}
@media only screen and (max-width: 600px){
    .lito_event .titre{text-align:center;}
    
    .lito_event .event-rdv,
    .lito_event .event-rdv span,
    .lito_event .event-contact,
    .lito_event .event-contact span,
    .lito_event .label{
        display:block;	
        text-align:center;
        width:100%;
    }
    .lito_event span.sep{
        display:none;
    }
}

/*Fin liste */

/*Event widget 2023*/
.em.em-event .em-item-image .em-item-image-placeholder div.date,
.em.em-events-list .em-item-image .em-item-image-placeholder div.date,
.em.em-events-widget .em-item-image .em-item-image-placeholder div.date {
    min-width: auto;
}

/*Event widget 2023 - affichage alternatif à proposer*/
.em.em-list .em-item .em-item-info .em-item-meta, .em.em-list-widget .em-item {
    flex-direction: column;
}
.em-item-image.has-placeholder{
  width:100%!important;
}