/* Version 2 */
body .photo_album_widget .photo_box .overlay.linkthru:hover {
  cursor:pointer;
}
body.builder_page .photo_album_widget .photo_box .overlay.linkthru:hover {
  cursor:text;
}

.photo_album_slideshow .slideshow_frame {
  position: relative;
  display: block;
  overflow: hidden;
}

.photo_album_widget .photo_box {
  position:relative;
  width: 100%;
  height: 100%;
}
.photo_album_slideshow .slideshow_frame .photo_box {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-block;
}
.photo_album_slideshow .slideshow_frame .photo_box.placeholder {
  visibility:hidden;
  position: relative;
  z-index: 0;
}
.photo_album_slideshow .slideshow_frame .photo_box_1 {
  z-index: 100;
}
.photo_album_slideshow .slideshow_frame .photo_box_2 {
  z-index: 10;
}

.photo_album_widget .photo_box .photo_wrapper {
  vertical-align:middle;
  display: inline-block;
  width: 100%;
}

.photo_album_widget .photo_box .photo_wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.photo_album_widget .photo_box .caption {
  position: absolute;
  bottom: 0px;
  top: auto;
  left: 0px;
  padding: 10px;
  width: calc(100% - 20px);
  margin: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  text-align: center;
  display: block;
}
.photo_album_widget.selectors .photo_box .caption {
  padding-bottom: 15px;
}
.photo_album_widget .photo_box .overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  height: auto;
  width:100%;
  margin: 2%;
  font-size: 2em;
}

.photo_album_nav {
  text-align: right;
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 200;
}
.photo_album_nav a {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 10px;
  background-image: url('/images/photo_album_nav_dot.png');
  background-repeat: no-repeat;
  background-position: center;
	text-decoration: none;
}
* html .photo_album_nav a {
  background-image: none;
  border: 2px solid #FFF;
  background-color: #999;
}
.photo_album_nav a.activeSlide {
  background-image: url('/images/photo_album_nav_dot_checked.png');
}
* html .photo_album_nav a.activeSlide {
  background-image: none;
  background-color: #000;
}
.photo_album_nav a:first-child {
  margin-left: 0;
}

.photo_album_nav a.pause_play {
  width: 10px;
  height: 10px;
  border: none;
}
.photo_album_nav a.pause_play.pause {
  background: url(/images/pause.png) no-repeat transparent;
  background-size: 100% 100%;
}
.photo_album_nav a.pause_play.play {
  background: url(/images/play.png) no-repeat transparent;
  background-size: 100% 100%;
}

.photo_album_grid {
  postion: relative;
}
.photo_album_grid .cell {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}
.photo_album_grid .cell.grid_last_col {
  margin-right: 0px;
}
.photo_album_grid.grid2 .cell {
  width: calc((100% - 10px)/2.04);
  height: auto;
}
.photo_album_grid.grid3 .cell {
  width: calc((100% - 20px)/3.06);
  height: auto;
}
.photo_album_grid.grid4 .cell {
  width: calc((100% - 30px)/4.1);
  height: auto;
}
.photo_album_grid.grid5 .cell {
  width: calc((100% - 40px)/5.17);
  height: auto;
}
.photo_album_grid.grid6 .cell {
  width: calc((100% - 50px)/6.27);
  height: auto;
}
.photo_album_grid.grid7 .cell {
  width: calc((100% - 60px)/7.37);
  height: auto;
}
.photo_album_grid.grid8 .cell {
  width: calc((100% - 70px)/8.5);
  height: auto;
}
