@import 'variables';

.list-group-item .resource-list-item {
  color: $text-primary;
  display: flex;
  flex-direction: row;
  height: 96px;
  padding: 24px 24px;
  text-decoration: none;

  img.icon.resource-icon,
  .sb-avatar {
    margin: auto 16px auto 0px;
  }

  .icon-right {
    margin: auto 0 auto auto;
    opacity: 0;
  }

  &:hover .icon-right,
  &:focus .icon-right {
    opacity: 1;
  }

  .resource-info {
    display: flex;
    flex: 7;
    min-width: 0px;

    .resource-info-text {
      overflow: hidden;
    }

    .resource-name {
      display: flex;
    }

    ul {
      display: flex;
      list-style-type: unset;
      padding: 0;
    }

    li {
      margin-right: 12px;
      margin-left: 12px;

      &:first-child {
        list-style-type: none;
        margin-left: 0;
      }
    }
  }

  .resource-type {
    flex: 2;
    margin: auto 24px;
  }

  .resource-badges {
    display: flex;
    flex: 3;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: auto;

    .flag {
      margin: 4px;
    }
  }

  .title-2 {
    color: $resource-title-color;
  }
}
