.a, .a:visited {color:#000;}
#gallery_container {position:relative; width:560px; height:620px; background:#888; border:1px solid #000; margin:5px;}
#gallery_container b {font-weight:normal; width:595px; text-align:center; position:absolute; bottom:250px; left:0; color:#eee; font-family:tahoma, geneva, "lucida sans unicode", "lucida grande",verdana, sans-serif; letter-spacing:1px; line-height:1.7em; z-index:1;}

a.gallery, a.gallery:visited {display:inline; color:#000; text-decoration:none; border:1px solid #000; width:100px; height:75px; float:left; margin:3px 5px; position:relative; cursor:default;}

a.slidea {background:url(tour/entrance_thumb.jpg);}
a.slideb {background:url(tour/front_desk_thumb.jpg);}
a.slidec {background:url(tour/front_desk2_thumb.jpg);}
a.slided {background:url(tour/parent_room_thumb.jpg);}
a.slidee {background:url(tour/video_thumb.jpg);}
a.slidef {background:url(tour/bulletin_board_thumb.jpg);}
a.slideg {background:url(tour/reading_thumb.jpg);}
a.slideh {background:url(tour/reading2_thumb.jpg);}
a.slidei {background:url(tour/work_table_thumb.jpg);}
a.slidej {background:url(tour/worksheets_thumb.jpg);}

a.gallery span {visibility:hidden; display:block; position:absolute; width:540px; height:425px; top:185px; left:9px; color:#000; background:#ccc; text-align:center; border:1px solid #fff; font-family:tahoma, geneva, "lucida sans unicode", "lucida grande",verdana, sans-serif; letter-spacing:1px; cursor:default;}

a.slidea span {left:3px; top:170px;}
a.slideb span {left:-109px; top:170px;}
a.slidec span {left:-221px; top:170px;}
a.slided span {left:-333px; top:170px;}
a.slidee span {left:-445px; top:170px;}
a.slidef span {left:3px; top:87px;}
a.slideg span {left:-109px; top:87px;}
a.slideh span {left:-221px; top:87px;}
a.slidei span {left:-333px; top:87px;}
a.slidej span {left:-445px; top:87px;}

a.gallery:hover {white-space:normal; border:1px solid #fff; z-index:100;}

a.gallery:hover span {visibility:visible; z-index:100;}

a.gallery:hover span img {margin:10px; border:1px solid #000; position:relative; z-index:100;}

a.gallery:active, a.gallery:focus {border:1px solid #c00; z-index:10;}

a.gallery:active span, a.gallery:focus span {visibility:visible; z-index:10;}

a.gallery:active span img, a.gallery:focus span img {border:1px solid #000; position:relative; margin:10px; z-index:10;}

