                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                d(4n+1){margin:0 0 15px 0;}

.gallery_thumb a {
	display:block;
}
.gallery_thumb .thumbnail {

}
.thumbnail {
    display: block;
    background-color: #fff;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}
.thumbnail:hover .bg-thumb {position:relative;}
.thumbnail:hover .bg-thumb span {position:absolute; width:100%; height:100%; opacity:0.5;}
.thumbnail:hover .caption {background:#f0f0f0; color:#000;}
.bg-thumb {
    background-position: center center;
    background-repeat: no-repeat;
    width: 285px;
    height: 160px;
	border:1px solid #ccc;
	overflow:hidden;
}
.thumbnail .caption {
    padding: 20px 15px;
    color: #333;
	border-left:1px solid #e8e8e8;
	border-right:1px solid #e8e8e8;
	border-bottom:1px solid #666;
}
.thumbnail .caption p {font-size:15px; font-weight:400; color:#333; height:40px; width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.thumbnail .caption div span {display:inline-block; padding:0 0 0 15px; margin:0 0 0 50px; font-size:12px;}
.thumbnail .caption div span.datetime {background:url('../hoImage/sub/clock.png') 0 center no-repeat; margin-left:0;}
.thumbnail .caption div span.hits {background:url('../hoImage/sub/hits.png') 0 center no-repeat;}

/* gallery view */
table.board_Vtable{border-top:2px solid #18186b;}
table.board_Vtable thead tr th{ padding:13px 20px; font-size:16px; font-weight:600; color:#333; text-align:left; background:#f9f9f9; border-bottom:1px dotted #eee; /* font-family:'sans-serif'; */}
table.board_Vtable thead tr td{border-bottom:1px solid #eee; padding:10px 20px;}
table.board_Vtable thead tr td ul:after{content:" "; display:block; clear:both;}
table.board_Vtable thead tr td ul li{float:left; color:#999; padding-right:5px; font-size:13px; font-weight:400;}
table.board_Vtable thead tr td ul li.imbar{color:#ccc;}
table.board_Vtable thead tr td ul li img{vertical-align:text-top;}
table.board_Vtable tbody{border-top:2px solid #eee;}
table.board_Vtable tbody tr td{padding:20px;}
table.board_Vtable thead tr td li.download_li{position:relative;}
table.board_Vtable thead tr td li.download_li > a{display:block; color:#999;}
table.board_Vtable thead tr td li.download_li > a img{vertical-align:text-top;}
table.board_Vtable tfoot{border-top:2px solid #eee; border-bottom:2px solid #eee; }
table.board_Vtable tfoot tr td{padding:13px 20px; text-align:left; border-bottom:1px solid #eee; font-size:14px; font-weight:400; color:#555;}
table.board_Vtable tfoot tr td:first-child{background:#f9f9f9; font-weight:500;}
table.board_Vtable tbody tr td div.gallery_content {
	min-height:300px; 
	font-size:14px; 
	font-weight:400; 
	color:#555; 
}
table.board_Vtable tbody tr td div.gallery_content img {max-width:100%;}

/* 동영상 게시판 */
.youtube_table {display:flex; justify-content:flex-start; flex-wrap:wrap;}
.youtube_table > div {width:335px; margin:0 0 60px 27px; cursor:pointer;}
.youtube_table > div.first, .youtube_table > div:nth-child(3n+1) {margin-left:0;}
.youtube_table > div span {display:block;}
.youtube_table > div p {width:100%; height:188px; position:relative;}
.youtube_table > div p .thumb {background-position:center center; background-repeat:no-repeat; background-size:cover; width:100%; height:100%; padding:0; overflow:hidden;}
.youtube_table > div .tb_txt {
	width:100%; margin:17px 0 0;
	font-size:15px; font-weight:400; color:#181818; display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
#layer {
	display:none; position:absolute; top:50%; left:50%; 
	width:100%; max-width:1200px;  z-index:21;
	transform:translate(-50%,-50%);
}
#layer .inner {position:relative; width:100%;}
#layer .inner .close {position:absolute; top:-72px; left:50%; transform:translate(-50%,0);}
.video-container {
	position: relative;
	width: 100%;
	height: auto;
	padding-top: 50%;
}
.video-container iframe {
	z-index: 1;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 