.sfd-contribution .title {
  text-align: left;
}

#field-videotextklasse_add_edit-text,
#field-videotextklasse_add_edit-video {
  display: none;
}

video {
  max-width: 100%;
}

.course_imgs div.img_wrapper {
  position: relative;
  cursor: pointer;
  float: left;
  width: 16.6%;
  height: auto;
}
@media screen and (max-width: 739px) {
  .course_imgs div.img_wrapper {
    width: 25%;
  }
}
@media screen and (max-width: 599px) {
  .course_imgs div.img_wrapper {
    width: 33.3%;
  }
}
@media screen and (max-width: 399px) {
  .course_imgs div.img_wrapper {
    width: 50%;
  }
}

.course_imgs div.img_wrapper img {
  width: 100%;
  height: 100%;
}
.course_imgs div.img_wrapper:hover img {
  filter: brightness(70%);
}
.course_imgs:after {
  content: "";
  display: block;
  clear: both;
}
select.selected_img_input {
  display: none;
}
.course_imgs div.img_wrapper .img_title {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 4px;
  color: white;
  font-weight: bold;
  word-break: break-all;
  background: black;
  opacity: 0.6;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
  word-break: keep-all;
}
.course_imgs div.img_wrapper:hover .img_title {
  display: flex;
}
.selected_img_wrapper {
  background-color: #fff2ce;
}
.selected_img_wrapper img {
  max-width: 340px;
  height: auto;
  animation: fadein 2s;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
