.albums {
  margin-left: -15px;
  margin-right: -15px;
}
.album {
  margin-bottom: 25px;
}
.album > a {
  display: block;
  position: relative;
}
.album > a:hover {
  text-decoration: none;
  color: black;
  cursor: pointer;
  background-color: #e8e8e8;
}
.album .thumb {
  width: 100%;
  border: 1px solid #666;
}
.album .zoom {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding-top: 4px;
  padding-left: 4px;
  position: absolute;
  bottom: 8px;
  right: 8px;
}
.album .zoom img {
  width: 24px;
  height: 24px;
}
.album .name {
  position: absolute;
  bottom: 3px;
  left: 0;
  display: block;
  padding-top: 5px;
  padding-left: 8px;
  color: white;
  text-shadow: 0 0 6px #000;
  font-size: 1.2em;
  height: 32px;
  width: 80%;
}
#gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: black;
  font-family: 'Open Sans', sans-serif;
}
#gallery .name {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 100;
  width: 100%;
}
#gallery .name span {
  display: inline-block;
  font-size: 1.4em;
  color: white;
  text-shadow: 0 0 6px #000;
  padding: 4px 12px 8px 12px;
  border-radius: 0 0 6px 6px;
  background-color: rgba(0, 0, 0, 0.35);
}
#gallery .dots {
  position: absolute;
  bottom: 75px;
  width: 100%;
  height: 30px;
  z-index: 91;
  text-align: center;
}
#gallery .dots ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#gallery .dots ul li {
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 0;
  border: 1px solid white;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  opacity: 0.6;
  cursor: pointer;
}
#gallery .dots ul li:first-child {
  margin-left: 0;
}
#gallery .dots ul li.active {
  background-color: white;
  opacity: 1;
  box-shadow: 0 0 5px #333;
}
#gallery .thumbs {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  z-index: 90;
}
#gallery .thumbs .loading {
  position: absolute;
  z-index: 10;
  display: none;
  background-image: url(/_rsc/site/img/gallery/loading.gif);
  background-repeat: no-repeat;
  background-size: 32px 32px;
  background-position: 6px 6px;
  background-color: black;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  margin-left: 36px;
  margin-top: 18px;
}
#gallery .thumbs ul {
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 5;
}
#gallery .thumbs ul li {
  position: absolute;
  margin: 0;
  padding: 0;
  z-index: 1;
  width: 126px;
  height: 86px;
  overflow: hidden;
}
#gallery .thumbs ul li img {
  cursor: pointer;
}
#gallery .thumbs ul li.active {
  z-index: 110;
  border: 3px solid white;
  margin-top: -3px;
  margin-left: -3px;
  box-shadow: 0 0 12px #000;
}
#gallery .prev {
  position: absolute;
  z-index: 80;
  left: 0;
  top: 0;
  bottom: 60px;
  width: 80px;
  text-align: center;
  cursor: pointer;
}
#gallery .prev:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
#gallery.touch .prev:hover {
  background-color: rgba(0, 0, 0, 0) !important;
}
#gallery .prev span {
  position: absolute;
  top: 50%;
  left: 35px;
  color: white;
  text-shadow: 0 0 5px #000;
  opacity: 0.7;
  margin-top: -15px;
  font-size: 1.2em;
}
#gallery.touch .prev span {
  display: inline-block;
  text-align: center;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 26px 8px 7px;
  width: 20px;
  margin-left: 0;
  margin-right: 0;
}
#gallery .prev:hover span {
  opacity: 1;
}
#gallery.touch .prev:hover span {
  opacity: 0.7 !important;
}
#gallery .next {
  position: absolute;
  z-index: 70;
  right: 0;
  top: 0;
  bottom: 60px;
  width: 80px;
  text-align: center;
  cursor: pointer;
}
#gallery .next:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
#gallery.touch .next:hover {
  background-color: rgba(0, 0, 0, 0) !important;
}
#gallery .next span {
  position: absolute;
  top: 50%;
  left: 35px;
  color: white;
  text-shadow: 0 0 5px #000;
  opacity: 0.7;
  margin-top: -15px;
  font-size: 1.2em;
}
#gallery.touch .next span {
  display: inline-block;
  text-align: center;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 25px 8px 8px;
  width: 20px;
  margin-left: 0;
  margin-right: 0;
}
#gallery .next:hover span {
  opacity: 1;
}
#gallery.touch .next:hover span {
  opacity: 0.7;
}
#gallery .full-photo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 80px;
  right: 0;
  z-index: 10;
}
#gallery .full-photo img {
  position: absolute;
}
#gallery .close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.5em;
  color: white;
  text-shadow: 0 0 5px #111;
  font-weight: bold;
  z-index: 5000;
  opacity: 1;
}
#gallery .close:hover {
  color: red;
}
.videos {
  margin-left: -15px;
  margin-right: -15px;
}
.video {
  margin-bottom: 25px;
}
.video > a {
  display: block;
  position: relative;
}
.video > a:hover {
  text-decoration: none;
  color: black;
  cursor: pointer;
  background-color: #e8e8e8;
}
.video .thumb {
  width: 100%;
  border: 1px solid #666;
}
.video .play {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding-top: 4px;
  padding-left: 4px;
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: black;
  font-size: 1.4em;
}
.video .title {
  position: absolute;
  bottom: 3px;
  left: 0;
  display: block;
  padding-top: 5px;
  padding-left: 8px;
  padding-bottom: 5px;
  color: white;
  text-shadow: 0 0 6px #000;
  font-size: 1.2em;
  width: 80%;
}
#video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: black;
  font-family: 'Open Sans', sans-serif;
}
#video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}
#video .close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.5em;
  color: white;
  text-shadow: 0 0 5px #111;
  font-weight: bold;
  z-index: 5000;
  opacity: 1;
}
#video.vimeo .close {
  top: 135px;
  right: 20px;
}
#video .close:hover {
  color: red;
}

