/* ST gallery */

#st-gal .thumbnail .image-wrap .mask {display:flex; position:absolute; top:0; bottom:0; left:0; right:0; background:rgba(0,0,0,0.8); opacity:0;}
#st-gal .thumbnail .image-wrap .mask:hover {opacity:1;}

#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 {
	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: 0px;
}
#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: 66%;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
}

#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 .title {font-family: 'Noto Sans KR', sans-serif !important; margin:auto;}
#st-gal .thumbnail .title a {font-size:20px; color:#fff; text-decoration:none;}

#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; border:0; }
#st-gal .buttons .pagebox .btn-page { margin: 0 2px 4px; border-radius: 0; border:0; box-shadow:none; background:none;}
#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; }	
}



//custom css 추가 

h2 {font-size:38px; margin-top:20px;}

.p-category>a {padding:0px 5px;color:#acacac;}
.p-category>a:hover {color:#000;}
.p-category>a.on {color:#000; text-decoration:underline;}


@media (min-width:768px) {

h2 {font-size:48px; margin-bottom:50px;}

#st-gal .buttons .pagebox {margin-top:35px !important;}

.p-category {font-size:14px; margin-bottom:100px;}
.p-category>a {padding:0px 15px;color:#acacac;}
.p-category>a:hover {color:#000;}
.p-category>a.on {color:#000; text-decoration:underline;}

}