.jqmWindow {
    position: fixed;
    top: 25px;
    left: 50%;
    
    margin-left: -382px;
    width: 764px;
    
    background-color: transparent;
    color: #333;
    border: 0;
    padding: 0px 16px 16px 16px;
}
#p_gal{
 background:transparent;
 border:0;
}
#p_gal .left, #p_gal .right{
 padding-top:200px;
 width:132px;
 float:left;
}
#p_gal .left a{
 background:url(../img/photo_modal_prev.png) 1px 0px no-repeat;
 display:block;
 height:94px;
 width:132px;
 text-align:left;
}
#p_gal .right a{
 background:url(../img/photo_modal_next.png) -2px 2px no-repeat;
 display:block;
 height:94px;
 width:132px;
 text-align:right;
}
#p_gal .left img, #p_gal .right img{
 border:6px solid white;
}
#p_gal .middle{
 width:480px;
 background:white;
 float:left;
 padding:10px;
 padding-top:25px;
 position:relative;
}
/* added to test expanding modal div */
#p_gal .middle .middle-head{
/*background:orange;*/
}
#p_gal .middle img{
 display:block;
 margin:5px auto;
 clear:both;
}
#p_gal .middle .img_caption{
 margin-top:10px;
 font-size:12px;
 border-bottom:1px solid #ddd;
 padding-bottom:10px;
}
#p_gal .middle .img_title{
/*
 position:absolute; 
 top:25px;
 left:10px;
*/
 color:#36457A;
 font-family:Georgia;
 font-size:29px;
 font-weight:bold;
 width:305px;
/*
  height:35px;
*/
 overflow:hidden;
 line-height:35px;
 word-wrap:break-word;
/*
the above makes long lines of text wrap to just below the display height of the element
 */
}
#p_gal .middle .img_credit{
/*
 position:absolute;
 top:65px;
 left:10px;
*/
margin-top:15px;

 text-transform:uppercase;
 color:#999;
 letter-spacing: .4em;
 font-size: .65em;
}
#p_gal .middle .gallery_count{
/*
 position:absolute;
 right:10px;
 top:65px;
*/
 text-transform:uppercase;
 color:#666;
	font-size: .65em;
	letter-spacing: .4em;
}
#p_gal .middle .gallery_title{
/*
 position:absolute;
 right:10px;
 top:45px;
*/
 text-transform:uppercase;
 color:#666;
 font-size: .65em;
 letter-spacing: .4em;
}
#p_gal .middle .close{
/*
 position:absolute;
 right:10px;
 top:10px;
*/
 text-transform:uppercase;
 color:#999;
 font-size: 9px;
 letter-spacing: 1px;
}
/* all the above that were absolute positioned on the right */
.gallery_count, .gallery_title, .close{
float:right;
clear:right;
}
/* all the above that were absolute positioned on the left */
.img_title, .img_credit{
float:left;
clear:left;
}

.close, .img_credit, .gallery_count, .gallery_title, .tags_et_al, .tags{
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Arial";
}
.img_credit b,
.img_credit span{
	font-weight:bold;
	color:#333;
}

.capn_link_wrap{
  border-bottom:1px solid #ddd;
}
