// Profil
.profil, .profil-big {
  background: $white;
  border: 1px solid $gray-light;
  overflow: hidden;
  @include border-radius(3px);
}
.profile-image-overlay {
  // Hide image above page by default
  opacity: 0;
  top: -100%;
  transition: opacity 0.5s ease, top 0.5s ease;
  left: 0;

  // Gray overlay over whole page
  position: fixed;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  z-index: 200;
  background-color: rgba($color: $black, $alpha: 0.5);
  cursor: pointer;
  &.active {
    opacity: 1;
    top: 0;
  }
  .img {
    width: 522px;
    height: 522px;
    max-width: 98vw;
    margin: 50px auto;
    padding: 5px;
    background: $white;
    border: 1px solid $gray-light;
    overflow: hidden;
    @include border-radius(3px);
  }
}
.profil {
  width: 36px;
  height: 36px;
  padding: 1px;
  .table-striped & {
    margin-left: -8px;
  }
}
.profil-big {
  width: 78px;
  height: 78px;
  padding: 2px;
  cursor: pointer;
}
.crop-to-square {
  overflow: hidden;
  height: 100%;
  width: 100%;
  img {
    object-fit: cover;
  }
}
