
/* ---- Gallery Browser ---- */

#PhotoSide {
  float: right;
  position: relative;
  top: 90px;
  right: -1px;
  z-index: 10;
  padding: 0 0 0 5px;
  margin-left: 30px;
  background: white;
  position: relative;
  border-top: 1px solid black;
  border-bottom: 2px solid black;
  border-left: 1px solid black;
  width: 200px;
  color: #666;
}

#PhotoSide a {
  text-decoration: none;
  color: #666;
}

#PhotoSide h2 {
  padding: 20px 10px 10px 10px;
  margin: 0px;
  color: #666;
  font-size: 10px;
  text-transform: uppercase;
}

#PhotoSide ul {
  list-style: square;
  margin-left: 18px;
  padding-left: 0.5em;
  text-indent: 0;
  line-height: 18px;
}

#PhotoSide li {
  font-size: 13px;
  color: #666;
  padding-top: 5px;
}

#PhotoSide li a:hover {
  text-decoration: underline;
}



#PhotoGallery {
  background: #f4f4f6;
  border: 1px solid #999;
  width: 100%;
  display: block;
  position: relative;
  top: 10px;
}

#PhotoGallery h1 {
  margin: 20px 20px 10px 20px;
  padding: 0;
  clear: none;
  color: #666;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#PhotoGallery p {
  margin: 5px 20px;
}

#gallery {
  width: 600px;
  padding: 5px 20px;
  margin: 50px 0 20px 20px;
  background: white;
  border-top: 2px solid black;
  border-right: 1px solid black;
  border-bottom: 2px solid black;
  border-left: 1px solid black;
  float: left;
}

#gallery a {
  text-decoration: none;
}
#gallery a:hover {
  color: #505055;
}

#gallery img {
  float: left;
  padding: 5px;
  margin: 20px 20px 20px 0;
  border: 1px solid #b5b5b9;
}

#gallery img:hover {
  border: 1px solid black;
}

#gallery h1, #PhotoGalleryAlbum h1 {
  font-size: 2em;
  line-height: 2em;
  color: #222;
  margin: 0;
  text-transform: none;
}

#gallery .meta, #PhotoGalleryAlbum .meta {
  font-size: 12px;
  line-height: 18px;
}

#gallery p {
  margin: 20px 10px 0 0;
  padding: 0;
}




/* ---- Album Browser ---- */

#PhotoGalleryAlbum {
  margin-top: 10px;
  width: 900px;
  background: #f4f4f6;
  border: 1px solid #999;
}

#PhotoGalleryAlbum_container {
  width: 740px;
  margin: 40px auto;
  padding: 5px 20px;
  background: white;
  border-top: 2px solid black;
  border-right: 1px solid black;
  border-bottom: 2px solid black;
  border-left: 1px solid black;
}

#PhotoGalleryAlbum ul {
  width: 705px;
  margin: 20px auto;
  border-top: 1px solid #e4e4e8;
  border-left: 1px solid #e4e4e8;
}

#PhotoGalleryAlbum_outer {
  float: left;
  display: table;
  overflow: hidden;
  height: 135px;
  width: 175px;
  background: white;
  border-right: 1px solid #e4e4e8;
  border-bottom: 1px solid #e4e4e8;
}

#PhotoGalleryAlbum_middle {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
}

#PhotoGalleryAlbum_inner {
  width: 170px;
  height: 170px;
  text-align: center;
}

#PhotoGalleryAlbum_outer:hover {
  background: #f6f6ff;
}

#PhotoGalleryAlbum ul a {
  display: block;
  overflow: hidden;
  padding: 6px;
}

#PhotoGalleryAlbum_outer:hover {
  background: #e4e4e8;
}




/* ************************************************************************* */
/* Image Viewing */
/* ************************************************************************* */

.em {
  color: #999999;
  font-style: italic;
}

#img_icon {
  border: 0;
}

.preview_box {
  margin-top: 10px;
  width: 100%;
  padding: 20px 0;
  background: #f4f4f6;
  border: 1px solid #999;
  text-align: center;
  }

#previous_image {
  float: left;
  position: relative;
  z-index: 7;
  }

#main_image {
  position: relative;
  top: -80px;
  margin: 0 auto 0 auto;
  z-index: 1;
  border: 1px solid black;
  }

#next_image {
  float: right;
  position: relative;
  z-index: 9;
  }

#back_to_index {
  z-index: 8;
  position: relative;
  top: 30px;
  padding: 5px;
  width: 9em;
  background: #404042;
  border: 1px solid black;
  font-weight: bold;
  font-size: 125%;
  text-decoration: none;
  }

#image_preview_link_box {
  display: block;
  height: 120px;
  width: 780px;
  margin: 20px auto 0 auto;
  z-index: 12;
}


/* ************************************************************************* */
.highlightit img{
  border: 2px solid #dadadf;
  vertical-align: top;
  }

.highlightit:hover img{
  border: 2px solid navy;
  vertical-align: top;
  }

.highlightit {
  color: white;
  filter:alpha(opacity=30);-moz-opacity:.30;opacity:.30;
}
.highlightit:hover{
  filter:alpha(opacity=90);-moz-opacity:.90;opacity:.90;
  color: #e5e5e9; /* Dummy definition to overcome IE bug */
  vertical-align: top;
  }

