.gallery2{list-style-type:none;float:left;background:#ffffff;padding:20px 20px 10px 20px;margin:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.25);box-shadow:0 1px 3px rgba(0,0,0,0.25);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;}
.gallery2 li{float:left;padding:0 10px 10px 0;}
.gallery2 li:nth-child(6n){padding-right:0;}
.gallery2 li a,.gallery2 li img{float:left;}

#zoom2 {
    z-index: 99990;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
#zoom2 .content {
    z-index: 99991;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: #ffffff no-repeat 50% 50%;
    padding: 0;
    margin: -100px 0 0 -100px;
    box-shadow: -20px 20px 20px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
#zoom2 .content.loading {
    background-image: url('../images/loading.gif');
}
#zoom2 img {
    display: block;
    max-width: none;
    background: #ececec;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    border-radius: 4px;
}
#zoom2 .close {
    z-index: 99993;
    position: absolute;
    top: 0;
    right: 0;
    width: 49px;
    height: 49px;
    cursor: pointer;
    background: transparent url('../images/close.png') no-repeat 50% 50%;
    opacity: 1;
    filter: alpha(opacity=100);
    border-radius: 0 0 0 4px;
}
#zoom2 .previous,
#zoom2 .next {
    z-index: 99992;
    position: absolute;
    top: 50%;
    overflow: hidden;
    display: block;
    width: 49px;
    height: 49px;
    margin-top: -25px;
}
#zoom2 .previous {
    left: 0;
    background: url('../images/arrows.png') no-repeat 0 0;
    border-radius: 0 4px 4px 0;
}
#zoom2 .next {
    right: 0;
    background: url('../images/arrows.png') no-repeat 100% 0;
    border-radius: 4px 0 0 4px;
}
#zoom2 .close:hover {
    background-color: #da4f49;
}
#zoom2 .previous:hover,
#zoom2 .next:hover {
    background-color: #0088cc;
}
