#gallery {
width:748px; 
height:418px; 
/*background: green; No background makes it transparant*/
float:right; }

#gallery b.default {
position:absolute; 
width:548px; 
height:300px; 
text-align:center; }

#gallery b.default img {
display:block; 
margin:0 auto 10px auto; 
border:1px solid #eee; 
border-color:#555 #ddd #eee #333;}

#gallery b.default span {
display:block; 
color:#fff; 
font-family:verdana, arial, sans-serif; 
font-weight:normal; 
font-size:11px; 
width:350px; 
margin:0 auto;}

#gallery ul {
list-style:none; 
padding:0; 
margin:0; 
width:220px; 
position:relative; 
float:right;}

#gallery ul li {
display:inline; 
width:60px; 
height:60px; 
float:left; 
margin:0 0 10px 10px;}

#gallery ul li a {
/* thumbnails */
display:block; 
width:60px; 
height:60px; 
text-decoration:none; 
border:1px solid #000; 
border-color:#eee #555 #333 #ddd;}

#gallery ul li a span {display:none;}

#gallery ul li a img {display:block; width:60px; height:60px; border:0;}

#gallery ul li a:hover {
white-space:normal; 
border-color:#555 #ddd #eee #333;
background:#777;}

#gallery ul li a:hover b {
/* Position of the roll-over image */
position:absolute; 
left:-505px; 
top:0; 
width:500px; 
height:300px; 
text-align:center; 
background:#000000; z-index:20;}

#gallery ul li a:hover span {display:block; color:#fff; font-family:verdana, arial, sans-serif; 
font-weight:normal; 
font-size:11px; width:350px; margin:0 auto;}

#gallery ul li a:hover img {margin:0 auto 10px auto; width:auto; height:auto; border:1px solid #eee; 
border-color:#555 #ddd #eee #333;}

#gallery ul li a:active, #gallery ul li a:focus {white-space:normal; border-color:#555 #ddd #eee #333; background:#777;}

#gallery ul li a:active b, #gallery ul li a:focus b {
/* Position and size of image once clicked */
position:absolute; 
left:-505px; 
top:0; 
width:500px; 
height:300px; 
text-align:center; 
background:#000; 
z-index:10;}

#gallery ul li a:active span, #gallery ul li a:focus span {display:block; color:#fff; 
font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}

#gallery ul li a:active img, #gallery ul li a:focus img{margin:0 auto 10px auto; width:auto; height:auto; 
border:1px solid #eee; border-color:#555 #ddd #eee #333;}