@import url(https://fonts.googleapis.com/css?family=Raleway:500);

  :root {
      --corps-fonts: 1.3rem;
  }
body {
    font-family: 'Raleway', sans-serif;
    margin: 20px;
}

.wrapper {
    width: 100%;
    /* margin: 0 auto; */
}

a.login {
    background: #3887d8;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
}

h2.maintitle {
    font-size: 40px;
    width: 100%;
    text-align: center;
    display: inline-block;
    position: relative;
}

.maintitle::after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 26px;
    transform: translate(-15px, -5px);
    background-color: #ff6012;
    border-radius: 3rem;
    z-index: -1;
}

#calendar {
    max-width: 1100px;
    margin: 0 auto !important;
}

.fc-tooltip {
    position: absolute;
    background: #fff;
    color: #333;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: none;
    z-index: 9999;
    max-width: 260px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    line-height: 1.4;
}

.fc-tooltip strong {
    font-size: 15px;
    color: #111;
}
.inter-h2 {
    width: 100% !important;
    text-align: center;
    margin: 20px 0 20px 0 !important;
    font-weight: 800;
    font-size: 1.3rem;
}
/* Event-date */
.choix {
    width: 150px;
    display: inline-flex;
}

img.calendar {
    width: 20px;
}
.description {
    padding: 20px 0 20px 0;
    text-align: justify;
    margin-right: 10px;
    line-height: 1.3rem;
}

.eventid {
    margin-top: 20px;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    border: none;
    display: block;
    width: 100% !important;
    font-size: 28px;
    color: #000;
}
.lieu, .description, .dates-sticker, .file{
    margin-bottom: 20px;
}
  .select-box {
      width: 80%;
      margin: 0 auto 0 auto;
  }

  .pad-10 {
      padding: 10px;
  }
  .event-card {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
      border: 1px solid black;
      border-radius: 10px;
      display: flex;
      width: 80%;
      margin: 0 auto 20px auto;
      transition: transform 0.5s ease-in-out;
  }
  .event-card:hover{
    transform: scale(1.05);
  }
  .event-thumb {
/*       width: 300px; 
  height: 200px;
  overflow: hidden;  */
      max-width: 300px;
      border-radius: 6px;
      display: block;
  }
  .event-thumb img {
     width: 300px;
    height: 100%;
  object-fit: contain; /* or 'cover' depending on your needs */
      border-radius: 6px;
  }
  .lieu::before {
      content: url(../img/location.svg);
  }
   .lieu {
    font-size: var(--corps-fonts);
  }

  .itemInfo {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 0 20px;
  }
  @media (max-width: 800px) {
      .event-card {
          width: 60vw;
        flex-wrap: wrap;
      }
      event-thumb img {
        width: 100%;
    height: 10%;
    object-fit: cover;
    max-width: 200px;
    border-radius: 6px;
}
.event-thumb {
    margin: 0 auto 0 auto;
}
/* .wrapper{
    margin: 0 0 0 50px;
} */
  }

