﻿#lightbox_modal {
  position: fixed;
  z-index: 9999999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #141414;
  background-color: rgba(20, 20, 20, 0.8);
  overflow-x: hidden;
  overflow-y: hidden;
}

#lightbox_modal.fullscreen {
  padding: 0;
}

#lightbox_outer {
  box-shadow: 0 0 18px 0 black;
  background-color: black;
  position: absolute;
}

#lightbox_photo_container {
  background: black;
  width: 80%;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  position: relative;
}

#lightbox_controls_container {
  opacity: 0;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: opacity 0.2s linear;
}

#lightbox_controls_container:hover {
  opacity: 1;
}

#lightbox_prev,
#lightbox_next {
  overflow: hidden;
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  display: block;
  opacity: 0.1;
  transition: opacity 0.2s linear;
}

#lightbox_footer {
  position: absolute;
  height: 20px;
  width: 100%;
  bottom: 0;
  color: #868686;
  text-align: left;
  padding: 10px 20px;
  display: none;
  background: rgba(0, 0, 0, 0.8);
  zoom: 1;
  font: normal 14px Lato, sans-serif;
}

#lightbox_footer:nth-child(n) {
  filter: none;
}

#lightbox_footer .total_number {
  margin-left: 5px;
  margin-right: 5px;
}

#lightbox_footer .current_number {
  margin-left: 5px;
  margin-right: 5px;
}

#lightbox_footer .lightbox_image_title {
  color: #fff;
}

#lightbox_prev {
  width: 20%;
  left: 0;
}

#lightbox_next {
  width: 80%;
  right: 0;
}

#lightbox_prev i,
#lightbox_next i {
  position: absolute;
  top: 50%;
  margin-top: -23px;
  display: block;
  height: 45px;
  width: 27px;
  background-image: url('../images/lightboxsprite.png');
  background-repeat: no-repeat;
  background-size: auto;
}

#lightbox_prev i {
  left: 20px;
  background-position: -56px -628px;
}

#lightbox_next i {
  right: 20px;
  background-position: 0 -628px;
}

#lightbox_next:hover,
#lightbox_prev:hover {
  opacity: 0.8;
}

#lightbox_sidebar_container {
  position: absolute;
  width: 350px;
  background-color: white;
  top: 0;
  right: 0;
  bottom: 0;
}

#lightbox_photo {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

img#lightbox_photo {
  display: none;
}

#lightbox_sidebar {
  margin-top: 30px;
  overflow-y: auto;
  overflow-x: hidden;
}

#lightbox_close_container {
  height: 30px;
  position: absolute;
  width: 100%;
  z-index: 30;
}

#lightbox_close_container.accent {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

#lightbox_close {
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  top: 5px;
  right: 8px;
  opacity: 0.6;
}

#lightbox_close:hover {
  opacity: 0.8;
}

#lightbox_sidebar_content {
  padding: 0 20px;
}

#lightbox_sidebar .photo-description-header {
  padding: 0 10px;
}

#lightbox_sidebar .photo-description-header .profile-picture-wrap {
  margin-right: 20px;
  width: 70px;
  height: 70px;
}

#lightbox_sidebar .photo-description-header .profile-picture-wrap img {
  width: 70px;
}

#lightbox_sidebar .photo-description-header .photo-details {
  font-size: 11px;
}

#lightbox_sidebar .photo-description-header .photo-details i {
  margin-top: 0;
  margin-right: 5px;
}

#lightbox_sidebar .photo-description-header .photo-tags .tag {
  margin-right: 2px;
}

#lightbox_sidebar .photo-description-header .toolbar-container {
  margin: 20px -30px;
  padding: 5px 15px;
}

#lightbox_sidebar .comments-container .comment {
  background-color: #f8f8f8;
  margin: -10px -10px 13px -10px;
  padding: 10px;
  position: relative;
}

#lightbox_sidebar .comments-container .comment:hover {
  background-color: #f4f4f4;
}

#lightbox_sidebar .comments-container .comment .delete {
  opacity: 0;
  position: absolute;
  right: 3px;
  top: 0;
}

#lightbox_sidebar .comments-container .comment:hover .delete {
  opacity: 0.7;
}

#lightbox_sidebar .comments-container .comment .delete:hover {
  opacity: 1;
}

#lightbox_sidebar .comments-container .comment .profile-picture-wrap {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

#lightbox_sidebar .comments-container .comment .comment-content {
  width: 250px;
}

#lightbox_sidebar .comments-container .comment .comment-time {
  font-size: 11px;
  margin-top: 5px;
  color: #777;
}

#lightbox_photo_loading_container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  background-image: url("/Content/images/lightboxloading.gif");
}

#lightbox_sidebar_loading_indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 10;
  display: none;
}

.icon-remove {
  display: inline-block;
  height: 12px;
  width: 10px;
  background-image: url('../images/icon-cross.png');
  background-repeat: no-repeat;
}

.lightbox-tmp {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

/* ----------- PRELOADER ------------ */

.fountainG-wrap {
  position: relative;
  width: 83px;
  height: 10px;
  margin: 10px auto;
}

.fountainG {
  position: absolute;
  top: 0;
  background-color: #fff;
  width: 11px;
  height: 11px;
  -webkit-animation-name: bounce_fountainG;
  -webkit-animation-duration: 1.1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: linear;
  animation-name: bounce_fountainG;
  animation-duration: 1.1s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  transform: scale(0.3);
  border-radius: 7px;
}

.fountainG_1 {
  left: 0;
  -webkit-animation-delay: 0.44s;
  animation-delay: 0.44s;
}

.fountainG_2 {
  left: 10px;
  -webkit-animation-delay: 0.55s;
  animation-delay: 0.55s;
}

.fountainG_3 {
  left: 21px;
  -webkit-animation-delay: 0.66s;
  animation-delay: 0.66s;
}

.fountainG_4 {
  left: 31px;
  -webkit-animation-delay: 0.77s;
  animation-delay: 0.77s;
}

.fountainG_5 {
  left: 42px;
  -webkit-animation-delay: 0.88s;
  animation-delay: 0.88s;
}

.fountainG_6 {
  left: 52px;
  -webkit-animation-delay: 0.99s;
  animation-delay: 0.99s;
}

.fountainG_7 {
  left: 62px;
  -webkit-animation-delay: 1.1s;
  animation-delay: 1.1s;
}

.fountainG_8 {
  left: 73px;
  -webkit-animation-delay: 1.21s;
  animation-delay: 1.21s;
}

@keyframes bounce_fountainG {
  0% {
    transform: scale(0.6);
    background-color: #fff;
  }

  100% {
    transform: scale(0.3);
    background-color: #000000;
  }
}
