img[src$=".svg"].image-style-thumbnail {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
}

.field--type-entity-reference .sortable .item-container:before {
  content: "";
  display: inline-block;
  float: left;
  width: 5px;
  height: 17px;
  padding: 5px;
  margin-right: 5px;
  font-size: 14px;
  background: url('../images/arrows-alt.svg') no-repeat center center;
  background-size: 100%;
}

.field--type-entity-reference .item-container {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 10px;
  line-height: 28px;
  box-sizing: border-box;
  border-bottom: 1px dotted #ccc;
}

.field--type-entity-reference .item-container > input {
  display: inline-block;
  margin: 5px;
  float: right;
}
div.field--type-entity-reference .item-container {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 10px;
  line-height: 28px;
  box-sizing: border-box;
  border-bottom: 1px dotted #ccc;
}

div.field--type-entity-reference .item-container:last-child {
  border: none;
}
div.field--type-entity-reference .item-container:hover,
div.field--type-entity-reference .sortable .item-container:hover {
  opacity: 1;
  background: #efefef;
}
div.field--type-entity-reference .item-container > .media {
  float: left;
}
div.field--type-entity-reference .item-container > input {
  display: inline-block;
  margin: 5px;
  float: right;
}
div.field--type-entity-reference .sortable .item-container:before {
  content: "";
  display: inline-block;
  float: left;
  width: 5px;
  height: 17px;
  padding: 5px;
  margin-right: 5px;
  font-size: 14px;
  background: url('../images/arrows-alt.svg') no-repeat center center;
  background-size: 100%;
}