.ph-gallery * { zoom: normal !important;}
.ph-gallery { width: 600px; position: absolute; top: -9999px; left: -9999px; text-align: right; //position: absolute; zoom: normal; }
.ph-close { position: absolute; top: 10px; right: 10px;; z-index: 999; font-size: 0.8em; }
.ph-close a, .ph-close span:hover { color: #000; text-decoration: none; }
.ph-close span { padding-right: 6px; text-decoration: underline; }
.ph-close img { position: relative; top: 1px; }
.ph-gallery.visible { -moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px;
                      background: #FFF; font-size: .9em; left: 50%; margin-left: -300px !important; top: 100px; }
.ph-gallery-fade { background: #fff; opacity: 0.5; width: 100%; height: 100%; position: fixed; top: 0; left: 0; display: none; //position: absolute; filter: alpha(opacity='50'); }
.ph-gallery, .ph-gallery * { margin: 0; padding: 0; }
.ph-gallery .ph-image-wrapper { width: 100%; height: 400px; margin-bottom: 10px; position: relative; overflow: hidden; }
.ph-gallery .ph-image-wrapper .ph-loader { position: absolute; z-index: 10; top: 48%; left: 48%; border: 1px solid #CCC; }
.ph-gallery .ph-image-wrapper .ph-next { position: absolute; right: 0; top: 0; width: 25%; height: 100%; cursor: pointer; display: block; z-index: 100; }
.ph-gallery .ph-image-wrapper .ph-prev { position: absolute; left: 0; top: 0; width: 25%; height: 100%; cursor: pointer; display: block; z-index: 100; }
.ph-gallery .ph-image-wrapper .ph-prev, .ph-gallery .ph-image-wrapper .ph-next {  /* Or else IE will hide it */ background: url(non-existing.jpg)\9  }
.ph-gallery .ph-image-wrapper .ph-prev .ph-prev-image, .ph-gallery .ph-image-wrapper .ph-next .ph-next-image
  { background: url(/css/ph-gallery/ph_prev.png) no-repeat; width: 30px; height: 30px; display: none; position: absolute; top: 47%; left: 0; z-index: 101; }
.ph-gallery .ph-image-wrapper .ph-next .ph-next-image { background: url(/css/ph-gallery/ph_next.png); width: 30px; height: 30px; right: 0; left: auto; }
.ph-gallery .ph-image-wrapper .ph-image { position: absolute; overflow: hidden; top: 0; left: 0; z-index: 9; }
.ph-gallery .ph-image-wrapper .ph-image a img { border: 0; }
.ph-gallery .ph-image-wrapper .ph-image .ph-image-description { position: relative; top: 0px; left: 0px; padding: 7px; text-align: left; width: 100%;
  z-index: 2; background: #F5F5EA; color: #000; }
.ph-gallery .ph-image-wrapper .ph-image .ph-image-description .ph-description-title { display: block;  margin-right: 75px; }
.ph-description-title { font-size: 110%; font-weight: normal; }
.ph-gallery .ph-controls { display: none; height: 20px; }
.ph-gallery .ph-info { float: left; }
.ph-gallery .ph-slideshow-controls { float: right; }
.ph-gallery .ph-slideshow-controls .ph-slideshow-start, .ph-gallery .ph-slideshow-controls .ph-slideshow-stop { padding-left: 5px; cursor: pointer; }
.ph-gallery .ph-slideshow-controls .ph-slideshow-countdown { padding-left: 5px; font-size: 0.9em; }
.ph-gallery .ph-slideshow-running .ph-slideshow-start { cursor: default; font-style: italic; }
.ph-gallery .ph-nav { width: 100%; position: relative; }
.ph-gallery .ph-forward, .ph-gallery .ph-back { position: absolute; top: 0; min-height: 77px; height: 100%; z-index: 10; }

/* IE 6 doesn't like height: 100% */
* html .ph-gallery .ph-forward, .ph-gallery .ph-back { height: 77px; top: 6px; }
* html .ph-gallery .ph-forward, .ph-gallery .ph-back, .ph-gallery .ph-thumbs .ph-thumb-list img { opacity: 1 !important; filter: alpha(opacity='100'); }
.ph-gallery .ph-back { background: url(/css/ph-gallery/ph_scroll_back.png) -1px 50% no-repeat; cursor: pointer; left: 0; width: 66px; display: block; opacity: 1 !important; filter: alpha(opacity='100'); }
.ph-gallery .ph-forward { background: url(/css/ph-gallery/ph_scroll_forward.png) 1px 50% no-repeat; cursor: pointer; display: block; right: 4px; width: 66px; }
.ph-gallery .ph-nav .ph-thumbs { margin: 0 auto; overflow: hidden; width: 90%; }
.ph-gallery .ph-thumbs .ph-thumb-list { float: left; width: 9000px; list-style: none; max-height: 115px; }
.ph-gallery .ph-thumbs li { display: table-cell; padding-right: 5px; vertical-align: bottom; //display: inline; //zoom:1}
.img-thumbs {//float: left;//zoom:1; margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight) + "px"); }

/*.ph-gallery .ph-thumbs li a, .ph-gallery .ph-thumbs li a img { display: block; }*/
.ph-gallery .ph-thumbs li a.ph-active img { border: 6px solid #F5F5EA !important; }
.ph-gallery .ph-thumbs li a img { border: 6px solid #FFF !important; }
/* Can't do display none, since Opera won't load the images then */
.ph-preloads { position: absolute; left: -9999px; top: -9999px; }
