/*******************************************************************************
  Rules for images and photo albums.
*******************************************************************************/

.photo {
  -khtml-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  display: block;
}

.photo img {
  -khtml-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.main_photo {
  float: right;
  margin-bottom: 10px;
  margin-left: 25px;
  position: relative;
}

.main_photo img {
  -webkit-box-shadow: rgba(0,0,0,0.4) 0 0 8px;
}

.photo_corner {
  background: url(ui/corner_photo.png);
  height: 10px;
  position: absolute;
  width: 10px;
  z-index: 10;
}

.photo_corner.topright {
  background-position: top right;
  right: 0;
  top: 0;
}

.photo_corner.topleft {
  background-position: top left;
  left: 0;
  top: 0;
}

.photo_corner.bottomright {
  background-position: bottom right;
  bottom: 4px;
  right: 0;
}

.photo_corner.bottomleft {
  background-position: bottom left;
  bottom: 4px;
  left: 0;
}

.albums_list {
  margin: 2em -30px 0 -30px;
  padding: 0;
  text-align: center;
}

.albums_list a {
  background: white top left no-repeat;
  display: inline-block;
  margin-bottom: 2em;
  position: relative;
}

.photo_album {
  -khtml-border-radius: 0 10px 10px 0;
  -moz-border-radius: 0 10px 10px 0;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  border: 1px gray solid;
  border-left: none;
  border-radius: 0 10px 10px 0;
  margin: -10px;
  margin-bottom: 10px;
  margin-left: -30px;
  margin-top: 10px;
  padding: 15px;
  padding-top: 5px;
  position: relative;
  text-align: center;
}

.photo_album a, .photo_album_slider a {
  cursor: url('ui/zoom.cur'),pointer;
}

.photo_album img, .photo_album_slider img {
  background: #e0e0e0;
  border: 1px gray solid !important;
  display: inline-block;
  height: 140px;
  margin: 3px;
  padding: 3px;
  vertical-align: top;
  width: 140px;
}

.photo_album_slider img {
  border-bottom: none !important;
  border-top: none !important;
  margin: 0;
  padding: 4px 3px;
}

.photo_album_container {
  border: 1px solid #a9a9a9;
  border-left: none;
  border-right: none;
  height: 148px;
  margin-left: -30px;
  margin-right: -30px;
  overflow: hidden;
  position: relative;
  top: 10px;
}

.photo_album_slider {
  margin-left: 23px;
  position: relative;
  /* Pretty much infinite as far as we're concerned. */
  width: 32000px;
}

.photo_album_next, .photo_album_prev {
  background: white url('ui/slider.png') no-repeat;
  cursor: pointer;
  height: 150px;
  position: absolute;
  top: -1px;
  width: 19px;
  z-index: 1;
}

.photo_album_next {
  background-position: -57px 0;
  border-left: 1px solid #a9a9a9;
  right: -1px;
}

.photo_album_next:hover {
  background-position: -76px 0;
}

.photo_album_next.disabled {
  background-position: -95px 0;
  cursor: default;
}

.photo_album_prev {
  background-position: -38px 0;
  border-right: 1px solid #a9a9a9;
  left: -1px;
}

.photo_album_prev:hover {
  background-position: -19px 0;
}

.photo_album_prev.disabled {
  background-position: -0px 0;
  cursor: default;
}
