.gallery-photo.f {
  margin-left: -8px;
  margin-right: -8px;
}
.gallery-photo.f:before,
.gallery-photo.f:after {
  content: " ";
  display: table;
}
.gallery-photo.f:after {
  clear: both;
}
.gallery-photo.f #primary-content {
  position: relative;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 992px) {
  .gallery-photo.f #primary-content {
    float: left;
    width: 66.66666667%;
  }
}
@media only screen and (min-width: 992px) {
  .gallery-photo.f #primary-content {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.gallery-photo.f #primary-content:only-child {
  position: relative;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
}
@media (min-width: 992px) {
  .gallery-photo.f #primary-content:only-child {
    float: left;
    width: 100%;
  }
}
.gallery-photo.f #secondary-content {
  position: relative;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 8px;
}
@media (min-width: 992px) {
  .gallery-photo.f #secondary-content {
    float: left;
    width: 33.33333333%;
  }
}
@media only screen and (min-width: 992px) {
  .gallery-photo.f #secondary-content {
    margin-top: 0;
  }
}
.gallery-photo.f .operatorButtons {
  margin-left: -4px;
  margin-right: -4px;
}
.gallery-photo.f .operatorButtons:before,
.gallery-photo.f .operatorButtons:after {
  content: " ";
  display: table;
}
.gallery-photo.f .operatorButtons:after {
  clear: both;
}
.gallery-photo.f .operatorButtons form {
  margin: 8px 4px 0;
  float: left;
}
.gallery-photo.f .photoContainer {
  position: relative;
}
.gallery-photo.f .photoContainer:hover .tools-container {
  display: block;
}
.gallery-photo.f .photoContainer .tools-container {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  display: none;
  z-index: 10;
  width: 100%;
  padding: 8px;
}
.gallery-photo.f .photoContainer .tools-container:after {
  content: "";
  clear: both;
  display: block;
}
.gallery-photo.f .photoContainer .tools-container .update-description {
  float: left;
  margin: 0 8px 8px 0;
}
.gallery-photo.f .photoContainer .tools-container .rotate-photo-form {
  float: left;
  margin: 0 8px 8px 0;
}
.gallery-photo.f .photoContainer .tools-container .report-button {
  float: right;
  margin: 0 0 8px 8px;
  color: #ffffff;
}
.gallery-photo.f .photoContainer .tools-container .delete-photo-form {
  float: left;
  margin: 0 0 8px;
}
.gallery-photo.f .photoContainer .tools-container .delete-photo-form .button {
  padding: 4px 16px;
}
.gallery-photo.f .photoContainer .prev-photo,
.gallery-photo.f .photoContainer .next-photo {
  text-align: left;
  text-indent: -9999px;
  position: absolute;
  width: 48%;
  height: 100%;
  top: 0;
}
.gallery-photo.f .photoContainer .prev-photo:before,
.gallery-photo.f .photoContainer .next-photo:before {
  content: "";
  margin: -16px 0;
  position: absolute;
  top: 50%;
  width: 20px;
  height: 32px;
  background-image: url("../../../common/images/sprites-cursor-32.png");
  background-size: 64px 96px;
  background-repeat: no-repeat;
  display: none;
}
.gallery-photo.f .photoContainer .prev-photo {
  left: 0;
}
.gallery-photo.f .photoContainer .prev-photo:hover:before {
  display: block;
}
.gallery-photo.f .photoContainer .prev-photo:before {
  background-position: 0px -64px;
  left: 8px;
}
.gallery-photo.f .photoContainer .next-photo {
  right: 0;
}
.gallery-photo.f .photoContainer .next-photo:hover:before {
  display: block;
}
.gallery-photo.f .photoContainer .next-photo:before {
  background-position: -32px -64px;
  right: 8px;
}
.gallery-photo.f .statistic {
  margin-top: 8px;
  clear: both;
}
.gallery-photo.f .statistic .comment-button .icon:before,
.gallery-photo.f .statistic .votes .icon:before {
  content: "";
  display: block;
  float: left;
  margin: 4px 0;
  margin-right: 4px;
  width: 16px;
  height: 16px;
  background-image: url("../../../common/images/sprites-16.png");
  background-size: 480px 144px;
  background-repeat: no-repeat;
  background-position: -208px -64px;
}
.gallery-photo.f .statistic .comment-button {
  cursor: pointer;
  color: #a3a3a3;
  text-decoration: none;
  font-size: 12px;
  line-height: 20px;
}
.gallery-photo.f .statistic .comment-button .number-of-comments {
  display: none;
}
.gallery-photo.f .statistic .comment-button:hover {
  color: #101010;
  text-decoration: none;
}
.gallery-photo.f .statistic .votes {
  display: block;
  float: left;
  margin-right: 8px;
}
.gallery-photo.f .statistic .votes button {
  padding: 1px 0;
}
.gallery-photo.f .statistic .votes form {
  margin: 0;
  padding: 0;
}
.gallery-photo.f .statistic .votes form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #a3a3a3;
  font-size: 12px;
  line-height: 20px;
}
.gallery-photo.f .statistic .votes form button .icon:before {
  background-position: -224px -64px;
  margin-top: 0;
}
.gallery-photo.f .statistic .votes form button:hover {
  color: #101010;
}
.gallery-photo.f .statistic .votes form .number-of-votes {
  display: none;
}
.gallery-photo.f .statistic .votes.voted button {
  color: #0070a8;
}
.gallery-photo.f .statistic .votes.voted button:hover {
  color: #00aeef;
}
.gallery-photo.f .statistic .votes.voted button .icon:before {
  background-position: -224px -32px;
  margin-top: 0;
}
.gallery-photo.f .comments {
  position: relative;
  margin-top: 16px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.gallery-photo.f .comments li {
  border-bottom: 1px solid #e5e5e5;
  border-top: none;
  margin: 0;
  padding: 0;
}
.gallery-photo.f .comments textarea {
  margin: 0;
}
.gallery-photo.f .comments .comments .comment.b {
  padding: 8px;
}
.gallery-photo.f .comments:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
  position: absolute;
  top: -20px;
  left: 15px;
  border-color: transparent transparent #e5e5e5 transparent;
  border-style: solid;
  border-width: 10px;
}
.gallery-photo.f .comments:after {
  content: "";
  display: block;
  height: 0;
  width: 0;
  position: absolute;
  top: -18px;
  left: 16px;
  border-color: transparent transparent #f5f5f5 transparent;
  border-style: solid;
  border-width: 9px;
}
.gallery-photo.f .gallery-info {
  height: 24px;
  float: left;
}
.gallery-photo.f #primary-content .c {
  padding-left: 8px;
}
.gallery-photo.f #primary-content .c .photo-sequence {
  color: #888;
  padding-left: 24px;
  float: left;
  position: absolute;
  left: 8px;
  font-size: 12px;
}
.gallery-photo.f #primary-content .c .photo-sequence:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("../../../common/images/sprites-16.png");
  background-size: 480px 144px;
  background-repeat: no-repeat;
  background-position: -112px -64px;
  margin: 4px 0;
  position: absolute;
  left: 0;
}
.gallery-photo.f #primary-content .c .navigation {
  float: right;
  text-align: right;
  font-size: 12px;
}
.gallery-photo.f #primary-content .c .navigation #prev-photo {
  padding-right: 8px;
}
.gallery-photo.f #primary-content .c .navigation #next-photo {
  padding-right: 8px;
}
@media only screen and (min-width: 992px) {
  .gallery-photo.f #primary-content .c .navigation #next-photo {
    padding-right: 0;
  }
}
.gallery-photo.f .photo {
  display: block;
  text-align: center;
}
.gallery-photo.f .photo img {
  display: block;
  margin: auto;
  max-width: 100%;
}
.gallery-photo.f .uploader .profile-photo {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 8px 0 0;
  float: left;
}
.gallery-photo.f .uploader .name {
  display: block;
  line-height: 30px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-photo.f .photo-info {
  position: relative;
}
.gallery-photo.f .photo-description {
  font-size: 14px ! important;
  line-height: 24px ! important;
}
.gallery-photo.f .uploaded-date {
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 10px;
  line-height: 16px;
  width: 100%;
}
.gallery-photo.f .referrer {
  margin-top: 8px;
}
.gallery-photo.f .tag label {
  margin: 0 4px 0 0;
  font-weight: normal;
}
.gallery-photo.f .tag label:after {
  content: ":";
}
.gallery-photo.f .tag a,
.gallery-photo.f .tag span {
  color: #212121;
}
.gallery-photo.f .tag a {
  text-decoration: underline;
}
.gallery-photo.f .photo-description {
  margin: 8px 0 0;
  line-height: 24px;
}
.gallery-photo.f .photo-description.mobile {
  display: none;
}
.gallery-photo.f .operator-buttons {
  margin: 8px 0 0;
  overflow: hidden;
}
.gallery-photo.f .operator-buttons form {
  float: left;
  margin-right: 8px;
}
.sharing-tools {
  display: inline-block;
  margin: 16px 0 0;
}
