.main_content { padding:10px 30px 30px; min-height:400px; margin-top: 40px;}
#galleryULDiv { background: #900; color: #fff; left:0;display: inline-block;  position: absolute; text-align: center; bottom:-36px; width: 100%; z-index: 8; height: 33px; padding-left:0 }
#galleryUL { display: inline-block; margin: 0; width: auto; }
#galleryUL li { float: left; font-size: 15px; line-height: 10px; padding: 12px 14px; text-align: left; font-weight: bold; text-shadow: 0 0 3px #000; opacity: .7 }
#galleryUL li a { color: #eee }
#galleryUL li:last-of-type { border-right: none }
.filtr-container { margin-top: 5px;; min-height:370px; margin-bottom:50px }
.imgBlock { width: 350px; text-align: center; float: left; position: relative; margin: 0 }
.imgBlock img { width: 100%;} 
.imgBlockContent { display:block; width:100%; height:100%; padding:10px 20px 5px }
#contain-body .panel-body { min-height: 500px }
.content_info { padding: 0 0 10px; margin:0; background:#fff}
.filtr-item { padding: 4px ; height:  350px}
.item-comment { border:1px solid #ccc; border-top:none; position:relative; left:0; width:100%; color:#444; font-size:13px; padding:4px; margin:0; color:#444; min-height:60px; text-align:left; line-height:1.2 }
.item-desc { background-color: #000; color: white; position: relative; text-transform: uppercase; text-align: center; padding: 1px 0 ; z-index: 1; bottom: 0; font-size: 12px; }
/* Filter controls */
.simplefilter li, .multifilter li, .sortandshuffle li { color: white; cursor: pointer; }
#galleryUL li.active { background-color:rgba(0, 0, 0, 0.3); border-right: 1px solid #eee; border-left: 1px solid #eee; opacity: 1; padding: 12px 16px; }
#galleryUL li:hover { opacity: 1; background-color: rgba(20, 21, 65, 0.1); }
.multifilter li { background-color: #4b9eff; }
.multifilter li.active { background-color:#333; }
/* Shuffle and sort controls */
select { padding: 1rem 1rem; text-transform: uppercase; }
.sortandshuffle .shuffle-btn { background-color: #dec800; }
.sortandshuffle .sort-btn { background-color: #de0000; }
.sortandshuffle .sort-btn.active { background-color: #9d0000; }
/* Search control */
.search-row { margin-left: 2.5rem; }
.filtr-search { padding: 0.5rem; text-transform: uppercase; }
#cboxContent { background: none }
#cboxClose { top: 0 }
#cboxTitle { font-size: 22px; top: 0; height: 20px; padding: 5px 0 7px; color: #fff }
#galleryULDiv.sticky { position: fixed; width: 1200px; left: 50%; margin-left: -600px; top: 200px; z-index: 1000; background: rgba(0,0,0,.9) }
#galleryULDiv.sticky li.active { background: #333 }
@media screen and (max-width:400px) {
.main_content { margin-top:0; padding:10px 2px }
#sliderDiv { min-height:80px }	
#galleryULDiv { height: auto; position:relative; bottom: -140px; }
#galleryUL { width:100% }
#galleryUL li { border: medium none; padding: 10px; text-align: center; width: auto; }
#galleryUL li.active { padding: 10px;}
.content_info { padding:0 }
.filtr-container { margin-top: 40px; width: 100%; min-height: 200px }
.filtr-item {height:140px }
.filtr-item img { height:100%; width:auto }
.item-desc { font-size:9px }
.imgBlock { width: 150px; height: 120px; margin: 0 2px }
}
