#gallerytitlebox{
    position:fixed;
		top:0.3125in; /*setting this just less than 2.0 to garauntee no gap after rounding.*/
		height:1.0in;
		width:2.0in;
		background:white;  /*note: have to set both height and width to use background*/
    margin:0px 5px 0px 0px;
		border-top:1px solid #777;
		border-right:1px solid #777;
		border-left:1px solid #777;
		z-index:3;
}
#gallerytitle{   /* the artist's name is placed using this h1*/
    position:fixed;
    font-weight : bold;
		font-size : 200%;
    text-align : left;
    position:fixed;  
    top:0.5in;       /* a little math here in ems: (1.5+1)*200%=5 */	
		height:0.5in;
    margin-left:.0625in; /*move gallery title away from edge (body margins were set=0 in main)*/
}

#gallerycontainer{
position:absolute; /*should start after title*/
top:1.3125in;
border-left:1px solid #777;
border-right:1px solid #777;
padding-left:.0625in;
padding-right:.0625in;
width: 1.875in;
height:4.0in;   /*just making it long enough to have a full border*/
}

#gbox{                 /* this is an attempt to set the display box location */
 position:fixed;  /**/
 top:0.3125in;
	left:2.0625in;
	width:4.9175in;
	height:4.0in;         /* being used by default image*/
	border:1px solid #777;
	z-index:0;
}
#gbox img{
height:3.5in;
width:auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#maskbase{
position:fixed;
left:0;
top:0.25in;
}
#maskbase2{
position:absolute;
top:4.0in;
}
#mask{
width:7.0in;
height:4.0in;
background:white;
z-index:5;
}
#gallerycontainerbottom{
display:block;
float:left;
width:2.0in;
border-top:1px solid #777;
}
#gallerdisplaybottom{
display:block;
float:left;
	width:4.9175in;
margin-left:.0625in;
border-top:1px solid #777;
}
.thumbnail {
display:inline-block;
width:.4in;
height:auto;
overflow:hidden;
}

.thumbnail img{         /* this defines the space for each thumbnail     */
/*so I'm letting them flow one after the other like normal               */
margin: 0 3px 5px 0;
width:100%;     /*problem arises here: can't set explicit hieght with sprite*/
height:100%;
}

.thumbnail.video img{
width:75px;
height:auto;
}

.thumbnail span{ /*CSS for enlarged image*/
display:none;
}

