.bzgallery {
    font-size: 13px;
}

.bzgallery a {
    font-weight: 700;
}

.bzgallery .bzgallery-content {
    background: #fff;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
}

.box {
    float: left;
    width: 100%;
}

.text-shadow {
    text-shadow: 1px 1px 1px #fff;
}

.bzgallery .bzgallery-content .gallery-item {
    margin-top: 15px;
    float: left;
    width: 20%;
    overflow: hidden;
    margin: 20px 0;
}

.bzgallery .gallery-item .img {
    width: 100%;
    text-align: center;
    float: left;
    font-size: 0;
    margin: 0;
    min-height: 180px;
    height: 100%;
}

.bzgallery .gallery-item .img:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.bzgallery .gallery-item .img a {
    width: 100%;
    height: 100%;
    display: inline-block;
}


.bzgallery .bzgallery-content .img img {
    max-width: 90%;
    border-radius: 3px;
}

img {
    border: 0;
}

.bzgallery .gallery-item .block {
    width: 100%;
    display: block;
    text-align: center;
    float: right;
    margin-right: 1%;
    position: relative;
    top: -10px;
}

.bzgallery .gallery-item .block p {
    padding: .3em 0 0 0;
    margin: 0;
}


.bzgallery-panel button {
    float: left;
    height: 30px;
    box-shadow: 0 0 1px #fff;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #fff;
    color: #27252a;
    background: #fff;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#efefef));
    background: -webkit-linear-gradient(top,#fff 0,#efefef 100%);
    background: linear-gradient(to bottom,#fff 0,#efefef 100%);
    margin: 10px 10px 0 0;
}

.bzgallery-panel bzgallery-reset-btn {
    width: 75px;
} 

.bzgallery-panel .text-filter-box {
    height: 30px;
    float: left;
    margin: 10px 10px 0 0;
}

.bzgallery-panel input[type=text] {
    float: left;
    height: 30px;
    box-shadow: 0 0 1px #fff;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #fff;
    color: #27252a;
    width: 150px;
    text-indent: 5px;
    background: #fff;
}

.bzgallery-panel .text-filter-box .bzgallery-icon {
    background: #E8EFF9;
}
.bzgallery-icon {
    float: left;
    height: 30px;
    box-shadow: 0 0 1px #fff;
    background: #fff;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #fff;
    color: #27252a;
    display: inline-block;
    line-height: 30px;
    padding: 0 10px;
    border-right: 0;
}

.bzgallery-label {
    float: left;
    height: 30px;
    box-shadow: 0 0 1px #fff;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #fff;
    color: #27252a;
    line-height: 30px;
    padding: 0 10px;
    margin: 10px 10px 0 0;
    background: #fff;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#efefef));
    background: -webkit-linear-gradient(top,#fff 0,#efefef 100%);
    background: linear-gradient(to bottom,#fff 0,#efefef 100%);
}

.bzgallery-panel .bzgallery-pagination {
    cursor: pointer;
    float: left;
    line-height: 30px;
}

.bzgallery-panel .bzgallery-pagination .bzgallery-pagingprev, .bzgallery-panel .bzgallery-pagination .bzgallery-pagingmid, .bzgallery-panel .bzgallery-pagination .bzgallery-pagingnext {
    float: left;
}
.bzgallery-hidden {
    display: none;
}

.bzgallery-panel .bzgallery-pagination .bzgallery-pagingprev button, .bzgallery-panel .bzgallery-pagination .bzgallery-pagingnext button {
    font-size: 20px;
    font-family: "Courier New",Courier,monospace;
}

.bzgallery-panel .bzgallery-pagination button {
    display: inline-block;
    color: #0381bb;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.bzgallery-panel .bzgallery-pagination .bzgallery-current {
    font-weight: bold;
    color: #f03800;
}

.bzgallery-drop-down {
    float: left;
    height: 30px;
    box-shadow: 0 0 1px #fff;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #fff;
    color: #27252a;
    width: 150px;
    background: #fff;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#efefef));
    background: -webkit-linear-gradient(top,#fff 0,#efefef 100%);
    background: linear-gradient(to bottom,#fff 0,#efefef 100%);
    margin: 10px 10px 0 0;
    position: relative;
}

.bzgallery-drop-down .bzgallery-dd-panel {
    float: left;
    width: 150px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-indent: 10px;
    cursor: pointer;
}

.bzgallery-drop-down .bzgallery-dd-panel:after {
    content: '\25BC';
    color: #111;
    display: inline-block;
    position: absolute;
    right: 10px;
    z-index: 1000;
}

.bzgallery-drop-down ul {
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 0 0 3px 3px;
    position: relative;
    top: 0;
    z-index: 1000;
    width: 148px;
    display: none;
    overflow: hidden;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 3px 6px #bbb;
}

.bzgallery-drop-down ul li {
    width: 100%;
    float: left;
    height: 30px;
    line-height: 30px;
    text-indent: 10px;
    cursor: pointer;
}


.bzgallery-drop-down.forum-filter {
    
    width: 200px;
}

.bzgallery-drop-down.forum-filter .bzgallery-dd-panel {
    width: 200px;
}

.bzgallery-drop-down.forum-filter ul {
    width: 198px;
}



.bzgallery-hide-preloader{
    display: none;
}

.bzgallery-preloader{
    height: 30px;
    line-height: 30px;
    margin: 10px 10px 0 0;
    float: right;
}

@media only screen and (min-width: 1200px) {
    .bzgallery .bzgallery-content .gallery-item {
        width: 14.26%;   
        max-width: 14.26%;  
    }
}

@media only screen and (max-width: 768px) {
    .bzgallery .bzgallery-content .gallery-item {
        width: 33.3%;   
        max-width: 33.3%;
    }
}

@media only screen and (max-width: 600px) {
    .bzgallery .bzgallery-content .gallery-item {
        width: 50%;   
        max-width: 50%;

    }

    .bzgallery .gallery-item .block {
        top: -10px;
    } 
    .bzgallery .gallery-item .img {
        min-height: 0;
    }
}




.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }


