
a img, :link img, :visited img { border: 0; }
table { border-collapse: collapse; border-spacing: 0; }
ol, ul { list-style: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; }
button { width: auto; overflow: visible; }

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  padding: 0;
  border: none;
}

.clear { clear: both; }

#gallery { position: absolute; display: none; width: 100%; height: 100%; z-index: 10; top:0;left:0;}
#gallery .content { position: absolute; display: none; top: 50%; left: 50%; width: 766px; height: 565px; padding: 3px 20px 0 20px; margin: -283px 0 0 -343px; background: #030303; z-index: 11; }
#gallery .content .close {background: url(../images/gallery/close.png) repeat scroll 0 0 transparent; display: block; height: 24px; outline: medium none; position: absolute; right: 5px; text-indent: -9000px; width: 58px; z-index: 1;}
#gallery .content .image {cursor: pointer; height: 523px; margin: 10px 0 0; padding: 12px 0 0;}
#gallery .content .image .file {background: none repeat scroll 0 0 #000000; height: 523px; position: absolute; width: 766px; z-index: 2;}
#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: 40px; height: 74px; margin: 160px 0 0 0; background: url(../images/gallery/image-button1.png); _background-image: url(../images/gallery/image-button1.gif); }
#gallery .content .image .info .button2 { position: absolute; display: block; width: 40px; height: 74px; margin: 160px 0 0 726px; background: url(../images/gallery/image-button2.png); _background-image: url(../images/gallery/image-button2.gif); }
#gallery .content .image .info .description { position: absolute; width: 766px; margin: 0 0 0 0; display:none;visibility:hidden; }
#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: 766px; height: 58px; background: #000; opacity: 0.75; filter: alpha(opacity=75); }
#gallery .content .thumbnails {background-color:rgba(0, 0, 0, 0.40); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#28505150, endColorstr=#28505150); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#28505150, endColorstr=#28505150)"; height: 64px; left: 20px; padding: 9px 0 0; position: absolute; top: 476px; width: 766px; z-index: 5;}
#gallery .content .thumbnails .items { position: absolute; width: 766px; 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:0 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-button1.gif) center center no-repeat; }
#gallery .content .pagination .pages .button2 { float: left; display: block; width: 5px; height: 11px; background: url(../images/gallery/pagination-button2.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: #000 url(../images/gallery/glow.png) center center no-repeat; _background-image: none; opacity: 0.75; filter: alpha(opacity=75); }

.gallery-block { display: none; }