.gallery{
  position: relative;
}

.gallery .gallery-item{
  height: 180px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.gallery .gallery-item #delete-row{
  position: absolute;
  top: 14px;
  right: 20px;
  color: #fff;
  z-index: 10000;
}
.gallery .gallery-item #delete-row i{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.gallery .gallery-item #delete-row:hover{
  color: #f1f1f1;
}

.gallery .gallery-item #add-row{
  position: absolute;
  top: 14px;
  left: 20px;
  color: #fff;
  z-index: 10000;
}
.gallery .gallery-item #add-row i{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.gallery .gallery-item #add-row:hover{
  color: #f1f1f1;
}


.gallery .gallery-item #change-row{
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
}
.gallery .gallery-item #change-row i{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.gallery .gallery-item #change-row:hover{
  color: #f1f1f1;
}


input[type="file"]{
  position: relative;
  display: block;
  height: 100px;
  border: 2px dashed #367fa9;
}
input[type="file"]:before{
  content: 'Нажмите для выбора или перенесите файлы на это поле';
  text-align: center;
  font-size: 24px;
  line-height: 100px;
  font-weight: normal;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
  cursor: pointer;
}

#sortable,
#sortable_img,
#sortable2,
#sortable3{
  padding: 0 15px;
  list-style: none;
}
#sortable li,
#sortable_img li,
#sortable2 li,
#sortable3 li{
  padding: 0;
  cursor: move;
}

.slide_desc textarea
{
    height: 300px;
}

.slide_foto
{
    width: 500px;
}

.plan_foto
{
    width: 300px;
}

.f_logotype .thumbnail
{
    background: rgba(0,0,0,0.8);
}