.content__gallery__desc,
.content__album__desc {
  margin: 0 0 3em;
}

.content__album,
.content__gallery {
  margin-bottom: 3em;
}
.content__album:before, .content__album:after,
.content__gallery:before,
.content__gallery:after {
  content: "";
  display: table;
}
.content__album:after,
.content__gallery:after {
  clear: both;
}
.lte-ie7 .content__album, .lte-ie7
.content__gallery {
  zoom: 1;
}

.content__gallery__list,
.content__album__list {
  margin: 0 -.5em;
  padding: 0;
  list-style: none;
  position: relative;
}

.content__gallery__list__item,
.content__album__list__item {
  padding: .5em;
  margin: 0;
  position: relative;
  overflow: hidden !important;
  outline: 0 !important;
  box-shadow: none !important;
}

@media all and (min-width: 401px) {
  .content__gallery__list__item,
  .content__album__list__item {
    width: 50%;
    float: left;
  }
}
.lte-ie8 .content__gallery__list__item,
.lte-ie8 .content__album__list__item {
  width: 50%;
  float: left;
}

@media all and (min-width: 769px) {
  .content__gallery__list__item,
  .content__album__list__item {
    width: 33.33%;
  }
}
.lte-ie8 .content__gallery__list__item,
.lte-ie8 .content__album__list__item {
  width: 33.33%;
}

.content__gallery__list__item__image a,
.content__album__list__item__image a {
  width: 100%;
  padding-bottom: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  background: #000;
}
.content__gallery__list__item__image img,
.content__album__list__item__image img {
  width: 102%;
  max-width: 102% !important;
  height: auto;
  position: absolute;
  top: 0;
  left: -1%;
  opacity: .5;
  -webkit-transition: opacity .8s, -webkit-transform 1s;
          transition: opacity .8s, transform 1s;
}
.content__gallery__list__item__image a:hover img,
.content__album__list__item__image a:hover img {
  opacity: 1;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.content__gallery__list__item__info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}
.content__gallery__list__item__info h3,
.content__gallery__list__item__info p {
  color: #FFF;
}

.content__gallery__list__item__info__table {
  width: 100%;
  height: 100%;
  display: table;
}

.content__gallery__list__item__info__cell {
  padding: 0 1em;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.content__gallery__list__item__info__title {
  padding: .2em 0;
  margin: .5em 0 0;
  display: inline;
}

.content__gallery__list__item__info__date {
  margin: 0;
  font-size: .8em;
  color: #FFF;
}

.content__album__uploader {
  min-height: 175px;
}

.content__album__list__item.ui-sortable-placeholder:after {
  content: '';
  display: block;
  width: 100%;
  padding-bottom: 100%;
}

.content__album__list__item__info {
  display: none;
}

.content__album__list__item__edit {
  display: none;
  position: relative;
  background: #FFF;
}

.content__album__list__item__edit__data {
  display: none;
}

.content__album__list__item__edit__fields {
  overflow: hidden;
  padding: 15px;
  text-align: left;
}
.content__album__list__item__edit__fields label {
  display: block;
}
.content__album__list__item__edit__fields input,
.content__album__list__item__edit__fields textarea {
  width: 100%;
  margin: 0 0 15px;
}

.content__album__list--editable .content__album__list__item {
  width: 98%;
  background: #FFF;
}
.content__album__list--editable .content__album__list__item__edit {
  display: block;
}
.content__album__list--editable .content__album__list__item__edit:before {
  content: '';
  display: block;
  margin-left: -15px;
  position: absolute;
  top: -30px;
  left: 50%;
  border: 15px solid transparent;
  border-bottom-color: #FFF;
}
@media all and (min-width: 401px) {
  .content__album__list--editable .content__album__list__item.ui-sortable-placeholder {
    width: 49%;
  }
  .content__album__list--editable .content__album__list__item__image,
  .content__album__list--editable .content__album__list__item__info {
    width: 50%;
    float: left;
  }
  .content__album__list--editable .content__album__list__item__edit {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .content__album__list--editable .content__album__list__item__edit:before {
    margin-left: 0;
    margin-top: -15px;
    position: absolute;
    top: 50%;
    left: -30px;
    border: 15px solid transparent;
    border-right-color: #FFF;
  }
}
.content__album__list--editable .lte-ie8 .content__album__list__item.ui-sortable-placeholder {
  width: 49%;
}
.content__album__list--editable .lte-ie8 .content__album__list__item__image,
.content__album__list--editable .lte-ie8 .content__album__list__item__info {
  width: 50%;
  float: left;
}
.content__album__list--editable .lte-ie8 .content__album__list__item__edit {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.content__album__list--editable .lte-ie8 .content__album__list__item__edit:before {
  margin-left: 0;
  margin-top: -15px;
  position: absolute;
  top: 50%;
  left: -30px;
  border: 15px solid transparent;
  border-right-color: #FFF;
}
@media all and (min-width: 769px) {
  .content__album__list--editable .content__album__list__item.ui-sortable-placeholder {
    width: 32.66666666666667%;
  }
  .content__album__list--editable .content__album__list__item__image,
  .content__album__list--editable .content__album__list__item__info {
    width: 33.33%;
  }
  .content__album__list--editable .content__album__list__item__edit {
    width: 66.66%;
  }
}
.content__album__list--editable .lte-ie8 .content__album__list__item.ui-sortable-placeholder {
  width: 32.66666666666667%;
}
.content__album__list--editable .lte-ie8 .content__album__list__item__image,
.content__album__list--editable .lte-ie8 .content__album__list__item__info {
  width: 33.33%;
}
.content__album__list--editable .lte-ie8 .content__album__list__item__edit {
  width: 66.66%;
}

.content__album__list__item__image img {
  opacity: 0.9;
}

.content__gallery__list__item__image img {
  opacity: 0.8;
}

@media all and (min-width: 769px) {
  .content__gallery__list__item, .content__album__list__item {
    width: 50%;
  }
}
