.mh_remote_media_library_cards .card-item {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  display: inline-grid;
  width: 200px;
  border: 5px solid transparent;
}

.mh_remote_media_library_cards .card-item.selected {
  box-shadow: none;
  border-color: rgb(255, 232, 129);
}

.mh_remote_media_library_cards .card-item:not(.selected):hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

.mh_remote_media_library_cards .card-item img {
  object-fit: cover;
  height: 150px;
  width: 100%;
}

.mh_remote_media_library_cards .container {
  padding: 2px 16px;
}

.mh_remote_media_library_pagination {
  margin-top: 1em;
  display: flex;
  justify-content: center;
}

.mh_remote_media_library_pagination button {
  width: 60px;
  height: 30px;
  margin: 0;
  margin-right: 1em;
}

.mh_remote_media_library_pagination button:first-child {
  margin-right: 1em;
}

.mh_remote_media_library_pagination button.active {
  font-weight: bold;
  color: blue;
}

/* Don't limit dropdown width for mhMediaImageStyle CKEditor plugin */
.ck-media-image-style-form .ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label {
  width: inherit;
}

/*=============================
Bootstrap-Barrio Kompatibilität
=============================*/
.field--type-image img.align-center {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
