@charset 'UTF-8';

.course-tile {
  display: block;
  width: 100%;
  margin-bottom: 1em;
  min-height: 7em;
  padding: 1em;
  padding-right: 30%;
  background-position: 100% 50%;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 0.9em;
  line-height: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px darken($gray-lighter, 5%);
  transition: 0.3s ease-in-out;

  &:hover {
    box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.4);
    background-position: 95% 48%;
  }

  &:active {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
    background-position: 95% 60%;
  }

  &.theme-strategie-digital { background-image: url('../img/tile-Strategie-Digitale.png'); }

  &.theme-brand-design-management { background-image: url('../img/tile-Brand-Design-Management.png'); }

  &.theme-marketing-operationnel { background-image: url('../img/tile-Marketing-Operationnel.png'); }

  &.theme-retail-merchandising { background-image: url('../img/tile-Retail-Merchandising.png'); }

  &.theme-media-planning { background-image: url('../img/tile-Media-planning.png'); }

  &.theme-communication { background-image: url('../img/tile-Specialiste-en-communication.png'); }

  &.theme-marketing { background-image: url('../img/tile-Specialiste-en-marketing.png'); }

  &.theme-vente { background-image: url('../img/tile-Specialiste-en-vente.png'); }
}
