/* Css de l'affichage des événements par mois dans le fichier event-upcoming.php */
.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.event-thumbnail {
    display: flex;
    align-items: center;
    margin: 2%;
  }
  
.event-thumbnail img {
    float: left;
    margin-right: 10px;
    width: 250px;
  }
  
.event-title {
    font-size: 24px;
    color: black;
    font-weight: bold;
    margin: 0;
    text-align: center;
  }
  
.event-date {
    display: block;
  }

.event-desc{
    display: block;
    color: black;
  }

.upcoming-events hr{
    height: 4px;
    background-color:gainsboro;
  }
.button-upcoming{
  margin:auto;
  position: absolute;
  bottom: 1;
  right: 0;
  font-size: 0.9em;
}
/* Css du carrousel du fichier event-slider.php */
/* Version 1 */
.slider {
  padding: 10px;
  position: relative;
  margin: 5px;
  background: linear-gradient(to bottom right, #326e86, #141f66);
  border-radius: 10px;
  overflow: hidden;
}

.slider h1 {
  text-align: center;
  font-size: 28px;
  margin: 10px 0 0 0;
}

.slider h2 {
  font-size: 18px;
  color: white;
  margin: 0;
}

.color-a {
  color: white;
}
.color-a:hover {
  color: #91bcee;
}

.read-more {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
}

.img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
  border-radius: 2%;
}

.img:hover img {
  transform: scale(1.1);
}

.date-box {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  overflow: hidden;
  border: 3px solid #326e86;
}
.date-box h3.date:nth-child(1) {
  position: absolute;
  font-size: 22px;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.date-box h3.date:nth-child(2) {
  position: absolute;
  font-size: 15px;
  bottom: 30%;
  right: 50%;
  transform: translate(50%, 50%);
}

.date-box:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  height: 2px;
  background-color: #326e86;
}
.date {
  letter-spacing: 1.1px;
  font-size: 19px;
  font-weight: bold;
  color: #143c66;
  margin: 0;
}
 h2.place{
  text-align: left;
  font-size: 15px;
  color: rgb(255, 255, 255);
}
h2.hour{
  text-align: left;
  font-size: 20px;
  color: rgb(255, 255, 255);
}
/* Version 2 */

.slider2{
  position: relative;
  text-align: left;
  margin: 5px;
  height: 400px;
  background-color:#f0f8ff;
  padding: 10px;
}

.h1slid2  {
  margin-top: 8px;
  font-size: 18px;
}

.h2slid2{
  font-size: 16px;
}

.slider2 p {
  margin: 0;
  color: #545454;
  font-size: 14px;
  line-height: 1.1;
}

.read-more2{
  margin:auto;
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 0.9em;
}

.img2{
  display: flex;
  justify-content: center;
  top: 50%;
  height: 180px;
}

.date2 {
  text-decoration: underline;
}
.settings td{
  margin-bottom: 9px;
  padding: 5px 10px;
  line-height: 1.3;
  vertical-align: middle;
}

.settings th {
  vertical-align: top;
  text-align: left;
  padding: 1px 10px 5px 0;
  width: 200px;
  line-height: 1.3;
  font-weight: 600;
}
.slider-cat {
  position: relative;
  margin: 5px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center; /* Centre horizontalement */
}

.content-cat,
.img-cat {
  display: inline-block; /* Utilisation de display inline-block */
  vertical-align: middle; /* Centre verticalement */
}

.content-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.img-cat {
  height: 150px;
  width: 150px; /* Ajuster la largeur selon vos besoins */
}

.img-cat a {
  display: block;
  width: 100%;
  height: 100%;
}

.img-cat img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.slider-cat h1 {
  margin: 0;
}