#pg {  height:100px; background:transparent; float:left; clear:both; }
#pg li { position: relative; list-style: none; width: 150px; height: 117px; overflow: hidden; float: left; z-index: 2; opacity: .3; }
#pg li.active { opacity: 1; }
#pg li.selected { opacity: 1; z-index: 99;  -moz-box-shadow: 0px 0px 10px #fff; -webkit-box-shadow: 0px 0px 10px #fff;  }
#pg li img { display: block;  border:1 px solid #000;  }
#pg li p { color: black; margin: 10px 0; font-size: 15px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; }