.comm-date {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: #cb033d;
    color: white;
}

.comm-titre {
    font-weight: 700;
    margin-bottom: 2px;
    height: 80px;
    overflow: hidden;
    padding: 10px 0px 0px 0px;
}
.comm-titre a {
    color: #000;
    text-decoration: none;
}
.comm-titre a:hover {
    color: #cb033d;
    text-decoration: none;
}
.comm-lieu {
    font-weight: 700;
    height: 25px;
    overflow: hidden;
}

.comm-header {
    margin-bottom: 15px;
}

.comm-desc {
    height: 97px;
    max-height: 215px;
    overflow: hidden;
    margin-bottom: 10px;
}

.communiqe .bgwhite-actiivtes {
    padding: 16px 25px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}
.communiqe .boxactiivtes:hover:after {
    height: calc(100% - 40px);
}
.communiqe .boxactiivtes:after {
    bottom: 20px;
}

.communiqe .boxactiivtes:before {
    bottom: 20px;
}

.communiqe {
    margin-bottom: 50px;
    padding: 50px 0 0;
}

.comm-button a {
    text-decoration: none;
    color: black;
}
.comm-button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.communiqe .bgwhite-actiivtes:hover {
    cursor: pointer;
}
.boxactiivtes.boxshadow-activites.boxpublication-mediatheques .bgwhite-actiivtes {
    height: 87%;
}
@media screen and (max-width: 480px) {
    .comm-date {
        width: 100%;
        padding: 10px;
    }
}

.filter-media {

  position: relative;
  margin-bottom: 120px;

  .form-item-field-categorie-mediatheque-target-id {
    position: absolute;
    top: 70px;
    left: 0;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    justify-content: center;
    align-content: stretch;
  }

  li {
    /* flex: 0 0 calc(100% / 6); */
    text-align: center;
    box-sizing: border-box;
    width: 16.666666%;
  }



  ul li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 10px;
    margin: 10px;
    min-height: 100px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }




  ul li:first-child {
    display: none;
  }

  ul li a.bef-link--selected {
    background-color: #cb033d;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
  }

}
