:local(.ElementTemplatesModalView) {
  .modal-body {
    padding: 0;

    min-height: 50vh;
  }

  .header {
    display: flex;
    position: sticky;
    top: 0;
    
    flex-direction: row;

    align-items: center;
    
    padding: 16px 20px 16px 20px;

    border-bottom: solid 1px transparent;

    background-color: var(--color-white);
  }

  .header--scroll {
    border-bottom: solid 1px var(--color-grey-225-10-85);
  }

  .header__title {
    flex-grow: 1;

    margin: 0;

    color: var(--color-grey-225-10-15);

    font-size: 14px;
  }

  .header__filter {
    display: flex;

    flex-direction: row;
  }

  .header__filter-item {
    margin-left: 10px;
  }

  .element-templates-list {
    margin: 0;
    padding: 0 20px 20px 20px;
  }

  .element-templates-list__group {
    padding: 0 0 0 20px;
    font-size: 14px;
  }
  
  .element-templates-list__item {
    margin-bottom: 10px;
    padding: 9px 12px;

    list-style: none;

    border: solid 1px var(--color-grey-225-10-90);
    border-radius: 3px;

    box-shadow: 0 1px 4px 0 var(--color-black-opacity-10);

    &:last-child {
      margin-bottom: 0;
    }
  }

  .element-templates-list__item--empty {
    border: solid 1px var(--color-grey-225-10-90);

    box-shadow: 0 1px 4px 0 var(--color-black-opacity-10);

    background-color: var(--color-white);

    color: var(--color-grey-225-10-15);

    font-size: 14px;
  }

  .element-templates-list__item--applied {
    border-color: var(--color-blue-205-100-95);

    background-color: var(--color-blue-205-100-95);
  }

  .element-templates-list__item--selectable:hover,
  .element-templates-list__item--selected {
    border: solid 1px var(--color-blue-205-100-50);

    background-color: var(--color-blue-205-100-95);
  }

  .element-templates-list__item-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
  }
  
  .element-templates-list__item-name {
    color: var(--color-grey-225-10-15);

    font-size: 14px;
    font-weight: bold;

    vertical-align: middle;
  }
  
  .element-templates-list__item-meta {
    float: right;

    font-size: 12px;
  }

  .element-templates-list__item-description {
    margin: 10px 0 0 0;

    font-size: 12px;
  }
  
  .element-templates-list__item-description-expand {
    color: var(--color-blue-205-100-50);

    text-decoration: underline;

    &:hover {
      color: var(--color-blue-205-100-45);
    }
  }
}
