#gallery {
    float: left;
    width: 100%;
	columns:auto 3;
}
#gallery img {
	margin-bottom: 4%;
}
#gallery a {
    display: block;
}
#gallery ul li a:hover, #gallery ul li a:focus {
    opacity: 0.7;
    -moz-opacity: 0.7;
    khtml-opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
#overlay {
    z-index: 999;
    background-color: #000;
}
#jb-window {
    z-index: 1000;
}
#jb-loading { /* For semantic value, not to be seen */
    display: block;
    overflow: hidden;
    position: absolute;
}
#jb-window.reactive {
    background: url(../images/reactive-overlay.png) right top no-repeat;
}
#jb-window-inner {
    color: #ccc;
    background: none;
}
#jb-window.loading #jb-window-inner {
    background: url(../images/loading-black-on-white.gif) center center no-repeat;
}
.type-ajax #jb-window-content, .type-fragment #jb-window-content {}
.type-media #jb-window-content {}
#jb-window-content:focus {
    outline: none;
}
#jb-window-content .caption {
    color: #fff;
    clear: both;
    padding: 10px;
    display: block;
    font-size: 1em;
    min-height: 50px;
    background-color: #3877ba;
}
#jb-close-button img {
    border: none;
}
#jb-window.error-no-content #jb-window-content {
    padding-left: 70px;
    background: url(../images/alert-64.png) left center no-repeat;
}
#prev, #next { /* Image replacement on gallery controls */
    height: 0;
    width: 49px;
    padding-top: 85px;
    background: url(../images/gallery-controls-sprite.png) left top no-repeat;
}
#next {
    background-position: -49px top;
}
#prev:hover, #prev:focus {
    background-position: left -85px;
}
#next:hover, #next:focus {
    background-position: -49px -85px;
}
#prev.disabled, #next.disabled {
    cursor: default;
    background: none;
}