/* These style are specefic for the rightsidebar 'Liens Utiles' area */
.educat_cms_link a:hover {
    background-color: rgba(0, 0, 0, .1);
}

.sidebar-useful-links {
  padding: 1em;
  margin-top: 2em;
  border: 1px solid #eee;
  background-color: #fff;
  border-radius: 1em;
}

.sidebar-useful-links h2 {
  margin-bottom: 0em;
  color: var(--main-color);
  font-weight: bold;
}

.sidebar-useful-links .links {
  display: flex;
  flex-wrap: wrap;
}

.sidebar-useful-links .educat_cms_link {
  width: calc(50% - 6px);
  margin: 3px;
  border-radius: .2em;
}

.sidebar-useful-links .educat_cms_link.bg_img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sidebar-useful-links .educat_cms_link.flex-2 {
  width: 100%;
}

.sidebar-useful-links .educat_cms_link a {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 100%;
  min-height: 100%;
  padding: 15px 5px !important;
}