/* ST gallery */
#st-gal {margin:auto;padding:0;}
#st-gal .category {
	text-align: center;
	padding: 15px 0 35px;
}
#st-gal .category .btn-cat {
	color: #202020;
	font-size: 16px;
	background: none;
    border: 0;
	border-radius: 0;
	padding: 0 0 5px;
	margin: 6px 12px;
}
#st-gal .category .btn-cat:hover,
#st-gal .category .btn-cat.active {
	box-shadow: none;
	border-bottom: solid 2px #a8a8a8;
}
#st-gal .catbox {color:#999999; padding:0 0 5px 0; min-height:35px;}
#st-gal .catbox .info {min-height:30px; line-height:30px; vertical-align:middle;}
#st-gal .catbox .info img {position:relative; top:-2px;}
#st-gal .thumbs {
	padding-top: 20px;
	margin-bottom: 10px;
}
#st-gal .thumbs .none {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}
#st-gal .thumbs .row-tiny {
	margin-right: -5px;
	margin-left: -5px;
}
#st-gal .thumbs .col-tiny {
	padding-right: 5px;
	padding-left: 5px;
}
#st-gal .thumbnail {
	border: 0;
	border-radius: 0;
	overflow: hidden;
	padding: 0;
	margin-bottom: 50px;
}
/*
@media (min-width:992px){
	.col-md-4 { width:350px;}
}
*/

#st-gal .thumbnail .image-wrap {
	position: relative;
	/*padding: 5px 5px 0px;*/
}
#st-gal .thumbnail .image-wrap .label-wrap {
	position: absolute;
	left:2px; top:1px;
}
#st-gal .thumbnail .image-wrap .label-wrap .label {
	font-family: arial;
	padding: .2em .6em;
}
#st-gal .thumbnail .image {
	color: #999;
	text-align: center;
	overflow: hidden;
	padding-bottom: 75%;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;	
}
#st-gal .thumbnail .image:hover {
	opacity: 0.5;
}
#st-gal .thumbnail .image .no-image {
	position: absolute;
	top: 30px;
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
}
#st-gal .thumbnail a > img {
	width: auto;
	max-height: 200px;
}
#st-gal .thumbnail .caption {
	text-align: center;
	overflow: hidden;
	padding: 0 5px 5px;
}
#st-gal .thumbnail .caption img { 
	position: relative;
	top: -1px;
}
#st-gal .thumbnail .caption .title {
	font-size: 14px;
	font-weight: bold;
	border-top: 1px solid #ddd;
	padding: 25px 9px 0;
}
#st-gal .thumbnail .caption .title a {color:#222222;text-decoration:none;line-height:150%;}
#st-gal .thumbnail .caption .title a:hover {text-decoration:underline;}
#st-gal .thumbnail .caption .title .cat {
	color: #888;
	font-size: 90%;
}
#st-gal .thumbnail .caption .title .new {
	color: #ff0000;
	font-size: 85%;
}
#st-gal .thumbnail .caption .title .comment {
	color: #FC6138;
	font: normal 12px arial;
}
#st-gal .thumbnail .desc {
	text-align: center;
	padding: 0 5px 5px;
	min-height: 25px;
}
#st-gal .thumbnail .action {
	text-align: right;
	padding: 5px;
}
#st-gal .buttons {margin:0 0 20px; text-align: center;}
#st-gal .buttons .left-side {float:left; text-align:left;}
#st-gal .buttons .right-side {float:right; text-align:right;}
#st-gal .buttons .pagebox {margin: -30px 0 0 0; padding: 0 145px;}
#st-gal .buttons .pagebox .btn-skip { margin: 0 4px; border-radius: 0; }
#st-gal .buttons .pagebox .btn-page { margin: 0 2px; border-radius: 0; }
#st-gal .searchbox {text-align:center; padding: 20px 0;}
#st-gal .searchbox select {display:inline-block; max-width:110px; margin-bottom:5px;}
#st-gal .searchbox .input-group {margin-bottom:5px;}
#st-gal .searchbox .input-search {display:inline-block; min-width:190px;}

/** for getPageLinkClassicST() style **/
#st-list .buttons .pagebox.classic {margin: -22px 0 0 0;}
#st-list .buttons .pagebox.classic .selected, .pagebox.classic .notselected:hover {padding:0 4px 0 4px;font-family:arial;font-weight:bold;color:#FF5B01;}
#st-list .buttons .pagebox.classic .notselected {padding:0 4px 0 4px;text-decoration:none;font-family:arial;color:#222;font-weight:bold;}
#st-list .buttons .pagebox.classic img {padding:0 3px;}

@media (max-width: 991px) { 
	#st-gal .buttons {margin-bottom: 0;}
	#st-gal .buttons .pagebox {margin:0; padding: 20px 0;}
	#st-gal .buttons .pagebox.classic {margin:0; padding: 20px 0;}
	#st-gal .searchbox {padding-top: 10px;}
}
@media (max-width: 768px) { 
	#st-gal thead .side1-xs {border-left:#D5D5D5 solid 1px;}
}
@media (max-width: 480px) {
	#st-gal .hidden-xs-v {display: none;}
	#st-gal .col-xs-v12 { width: 100% !important; }	
}
