* {
  padding: 0;
  margin: 0;
}

body {
  background: url(../e2photo/rsrc/body.gif);
  margin-top: 10px;
}

#menu {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

#menu li {
  display: inline;
  font-size: 15px;
  margin-left: 10px;
}

#menu li a {
  color: #555;
  text-decoration: none;
}

#menu li a:hover {
  text-shadow: 2px 2px 2px #3f3f3f;
  color: #fff;
}

#main_image_wrapper {
  position:relative;
  border:1px solid #555;
  width:600px;
  height:399px;
  background: #FFF url(../e2photo/rsrc/loading_image.gif) no-repeat 50% 50%;
}

#imgloader {
  text-align:center;
  vertical-align:middle;
}

#thumbbox {
  border:solid 1px #555;
  text-align:center;
  width:590px;
  position:relative;
  padding:5px;
}

#thumb_container {
  position:relative;
  overflow:hidden;
  width:525px;
  height:127px;
  margin:0 0 0 32px;
}

#thumbs img {margin-right:4px;
  vertical-align:top;
}

#thumbs a img {
  border:1px solid #555;
}

#thumbs a:hover img {
  border:1px solid #CCC;
}

#thumbs a:hover {
  color:red;
}

#photocount{
  color:#777;
  font-size:10px;
  width: 48%;
  text-align: center;
  left:0;
}

#back { position:absolute;
  top:0;
  left:0;
  visibility:hidden;
  z-index:1001;
}

#more {
  position:absolute;
  top:0;
  left:568px;
  float:right;
  z-index:1001;
}

.morelink:hover {
  font-size:11px;
  color:#FFF;
  text-decoration:underline;
}

#thumbgall {
  position:absolute;
  left:0;
  top:0;
  white-space:nowrap;
  z-index:1000;
}

#widthbox {
  position:relative;
  display:inline;
  left:0;top:0;
  padding:1px;
}

#imgbox {
  width:80px;
  height:80px;
  display:inline;
  position:absolute;
  text-align:center;
}

#iptc_btn {
  width:100%;
  text-align:right;
  position:absolute;
  left:0;
  top:0;
  z-index:999;
}

#iptc_info {
  position:absolute;
  bottom:0;
  left:0;
  height:auto;
  width:100%;
  background-color:#000;
  color:#CCC;
  font-size:10px;
  line-height:140%;
  text-align:left;
  filter:alpha(opacity=0);
  -moz-opacity:0;
  opacity:0;
}

.iptc_left {
  float:left;
  text-align:right;
  width:18%;
  color:#FFF;
  padding:0 0 0 2%;
}

.iptc_right {
  float:right;
  text-align:left;
  width:79%;
}

#rightmore li a {
  background:url(../e2photo/rsrc/right_more.png);
  display:block;
  color:#fff;
  text-decoration:none;
  width:100%;
  height: 136px;
  padding:0;
}

#rightmore li a:hover {
  background:url(../e2photo/rsrc/right_more_over.png);
  color:#fff;
  height:136px;
}

#leftmore li a {
  background:url(../e2photo/rsrc/left_more.png);
  display:block;
  color:#fff;
  text-decoration:none;
  width:100%;
  height: 136px;
  padding:0;
}

#leftmore li a:hover {
  background:url(../e2photo/rsrc/left_more_over.png);
  color:#fff;
  height:136px;
}

.spacing {
  padding:1px;
}

.morelink:link,.morelink:visited {
  font-size:11px;
  color:#FFF;
  text-decoration:none;
}

#rightmore,#leftmore {
  color:#333;
  height:136px;
  width:32px;
  padding:0;
}

#rightmore ul,#leftmore ul {
  list-style:none;
  border:none;
  height:136px;
  margin:0;padding:0;
}

#rightmore li,#leftmore li {
  height:136px;
  margin:0;
}

#rightmore img, #leftmore img {
  border: none;
  height: 136px;
  width: 32px;
}

html>body #rightmore li a,html>body #leftmore li a {
  width:auto;
}

#pn_overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:998;
}

#prev, #next {
  width: 30%;
  height: 100%;
  background: transparent url(../e2photo/rsrc/blank.gif) no-repeat; /* Trick IE into showing hover */
  outline:none;
}

#prev {
  left: 0;
  float: left;
  outline: none;
  -moz-outline: none;
  visibility:hidden;
}

#next {
  right: 0;
  float: right;
  outline: none;
  -moz-outline: none;
}

#prev:hover, #prev:visited:hover {
  background: url(../e2photo/rsrc/prev.gif) left 50% no-repeat;
}

#next:hover, #next:visited:hover {
  background: url(../e2photo/rsrc/next.gif) right 50% no-repeat;
}

#imgtitle { 
  width:600px;
  font-size:.8em;
  text-align:center;
  color:#FFF;
  display:block
}

#imgtitle h2{
  font-size:1.3em;
  margin:0;
  padding:0
}

#thumbtoggler {
  text-align: right;
  float: right;
  width: 48%;
  right:0;
  z-index:1100;
}

#thumbdisplay {
  width: 600px;
}

.clear {
  clear:both;
}

#e2link {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  display: block;
  padding:5px 0;
  margin-left: 25px;
  color: #555;
  text-align:left;
  bottom: 0px;
}

#e2link a {
  color: #555;
  text-decoration:none
}

#e2link a:hover {
  color: #fff;
}

.tooltip {
  color: #fff;
  width: 150px;
  z-index: 15000;
  text-align:left;
}

.tooltip h4 {
  font-weight: bold;
  font-size: 12px;
  margin: 0px;
  padding: 8px 8px 2px;
  background:#000;
}

.tooltip p {
  font-size: 11px;
  padding: 1px 8px 8px;
  margin:0px;
  background: #000;
}

#thumbhide {
  position: relative;
  overflow:hidden;
}
