body {
height:100%;
}
#gallery { position: absolute; display: none; width: 100%; height: 100%; z-index: 10; }
#gallery .content { position: absolute; display: none; top: 50%; left: 50%; width:670px; height: 570px; padding:15px 30px 0 25px; margin: -283px 0 0 -363px; background: url(../images/gallery/gallery-back2.png) no-repeat; z-index: 11; }
#gallery .content .close { position: absolute; top:-5px;display: block; width: 35px; height: 35px; margin:0 0 0 665px; background: url(../images/gallery/close-1.png); _background-image: url(../images/gallery/close-1.gif);outline: none; text-indent: -9000px; z-index: 13; }
#gallery .content .image { height: 447px; margin: 10px 0 0 0; padding: 0px 0 0 0; cursor: pointer; }
#gallery .content .image .file { position: absolute; width: 666px; height: 443px; background: #FFFFFF; z-index: 2;border:2px solid #FFFFFF;}
#gallery .content .image .file img { position: absolute; display: block; }
#gallery .content .image .info { position: absolute; display: none; z-index: 20; }
#gallery .content .image .info .button1 { position: absolute; display: block; width: 39px; height: 74px; margin: 160px 0 0 0; background: url(../images/gallery/image-button-1.png); _background-image: url(../images/gallery/image-button-1.gif); }
#gallery .content .image .info .button2 { position: absolute; display: block; width: 40px; height: 74px; margin: 160px 0 0 631px; background: url(../images/gallery/image-button-2.png); _background-image: url(../images/gallery/image-button-2.gif); }
#gallery .content .image .info .description { position: absolute; width: 666px; margin: 385px 0 0 0; }
#gallery .content .image .info .description p { position: absolute; display: block; width: 616px; padding: 17px 25px 0 25px; font-size: 12px; line-height: 14px; color: #fff; font-family: Arial; }
#gallery .content .image .info .description div { position: absolute; width: 666px; height: 58px; background: #000; opacity: 0.75; filter: alpha(opacity=75); }
#gallery .content .thumbnails { padding: 12px 0 0 0; height: 57px;  }
#gallery .content .thumbnails .items { position: absolute; width: 666px; height: 57px; overflow: hidden; }
#gallery .content .thumbnails .items ul { position: absolute; }
#gallery .content .thumbnails .items ul li { float: left; margin: 0 13px 0 0; }
#gallery .content .thumbnails .items ul li.last { margin-right: 0; }
#gallery .content .thumbnails .items ul li a { display: block; width: 84px; height: 57px; }
#gallery .content .thumbnails .items ul li a:hover, #gallery .content .thumbnails .items ul li a.active { }
#gallery .content .thumbnails .items ul li a span { position: absolute; display: block; width: 84px; height: 57px; opacity: 0.5; filter: alpha(opacity=50); z-index: 1; }
#gallery .content .thumbnails .items ul li a span.over { opacity: 1; filter: alpha(opacity=100); }
#gallery .content .thumbnails .items ul li a em { position: absolute; display: none; width: 78px; height: 51px; border: 3px solid #fff; z-index: 1; }
#gallery .content .thumbnails .items ul li a.active em { display: block; }
#gallery .content .thumbnails .items ul li a img { position: absolute; display: block; height: 57px; }
#gallery .content .pagination { padding: 5px 10px 0 0; }
#gallery .content .pagination .pages { position: absolute; margin: 5px 0 0 300px; }
#gallery .content .pagination .pages .button1 { float: left; display: block; width: 5px; height: 11px; background: url(../images/gallery/pagination-button-1.gif) center center no-repeat; }
#gallery .content .pagination .pages .button2 { float: left; display: block; width: 5px; height: 11px; background: url(../images/gallery/pagination-button-2.gif) center center no-repeat; }
#gallery .content .pagination .pages ul { float: left; }
#gallery .content .pagination .pages ul li { float: left; }
#gallery .content .pagination .pages ul li a { display: block; width: 11px; height: 11px; background: url(../images/gallery/pagination-item.gif) center center no-repeat; opacity: 0.5; filter: alpha(opacity=50); }
#gallery .content .pagination .pages ul li a:hover, #gallery .content .pagination .pages ul li a.active { opacity: 1; filter: alpha(opacity=100); }
#gallery .content .pagination .status { display: block; font-size: 12px; color: #fff; text-align: right; font-family: Arial; }
#gallery .overlay { position: absolute; display: none; width: 100%; height: 100%; background: #ffffff url(../images/gallery/glow.png) center center no-repeat; _background-image: none; opacity: 0.85; filter: alpha(opacity=85); }