/* vk images */
.media_preview_has_medias {
  padding: 0 0 0px;
  /*
  margin-bottom: 15px;
  border-bottom: 1px solid #e8eaed;
  */
}
.clear_fix {
  display: block;
}

.clear_fix_max{
  content: "";
  display: table;
  clear: both;
  width: 100%;
}

.clear_fix:after {
  content: '.';
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

div.media_preview {
  padding: 0;
  display: none;
}

div.editable_thumbs {
  position: relative;
  user-select: none;
  overflow: visible !important;
}

.editable_thumbs .thumb_wrap .draggable_thumb {
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.clear_fix {
  display: block;
}

div {
  display: block;
}

div.editable_thumbs {
  position: relative;
  user-select: none;
  overflow: visible !important;
}

.editable_thumbs .thumb_wrap .draggable_thumb .preview {
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: 50% center;
}

img {
  border: 0;
  color: transparent;
}
img[Attributes Style] {
  width: 370px;
  height: 340px;
}

.photo_thumb_btns_container {
  width: 100%;
  height: 54px;
  text-align: center;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  font-size: 0px;
  line-height: 0;
  vertical-align: top;
  opacity: 0;
  overflow: hidden;
  transition: opacity 100ms linear 0s;
}

.photo_thumb_btns_container::before {
  content: "";
  display: inline-block;
  height: inherit;
}

.editable_thumbs .thumb_wrap .draggable_thumb .overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.2);
}

.ui_thumb_pe_button, .ui_thumb_x_button {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(29,32,34,.6);
  border-radius: 0 0 0 2px;
  padding: 5px;
  cursor: pointer;
  outline: none;
}

div {
  display: block;
}

.tt_w.tt_black {
  background: #000;
  background: rgba(0,0,0,.7);
  border: none;
  border-radius: 3px;
}

.tt_w {
  font-family: -apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
  z-index: 1501;
  cursor: default;
  font-size: 12.5px;
  color: #222;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  position: relative;
  position: absolute;
}

.h4-text, .tt_w {
  font-weight: 400;
}

.tt_w.tt_down:after, .tt_w.tt_down:before {
  top: 100%;
}

.tt_w:after, .tt_w:before {
  position: absolute;
  pointer-events: none;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
}

.tt_w.tt_black.tt_down:after {
  left: 20px;
  border-width: 5px;
  margin: 0 -5px;
  border-top-color: rgba(0,0,0,.7);
}

.tt_w.tt_down:after, .tt_w.tt_down:before {
  top: 100%;
}
.tt_w:after, .tt_w:before {
  position: absolute;
  pointer-events: none;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
}

.editable_thumbs .thumb_wrap .draggable_thumb.unsized {
  position: relative;
  background: 50% 50% / cover no-repeat;
  overflow: hidden;
}

.editable_thumbs .thumb_wrap.last_column {
  margin-right: 0px;
}

.editable_thumbs .thumb_wrap {
  position: relative;
  top: 0px;
  left: 0px;
  margin: 0px 5px 5px 0px;
  transition: all 0.15s ease 0s;
}

.fl_l {
  float: left;
}

.ui_thumb_pe_button .ui_thumb_pe, .ui_thumb_pe_button .ui_thumb_x, .ui_thumb_x_button .ui_thumb_pe, .ui_thumb_x_button .ui_thumb_x {
  display: block;
  opacity: 0.85;
  width: 8px;
  height: 8px;
  background: url(/public/img/attach_icons.png) 0px -40px no-repeat;
}

.uploadifive-queue {
  padding-top: 40px;
}