@charset "utf-8";

/* 검색 */
.board-search {margin:0 15px 8px;}
.board-search .total-page {margin-top:20px; font-size:13px; line-height:18px; color:#6b6b6b;}
.board-search .select {width:80px;}
.board-search .input {width:calc(100% - 143px);}
.board-search .btn-pack {padding:0 8px; background:#555; border-color:#555; color:#fff;}

/* 리스트 */
.gallery-list {margin:0 15px; padding:20px 0; border-top:2px solid #868686; border-bottom:1px solid #cbcbcb; overflow:hidden;}
.gallery-list ul {margin:0 -5px; text-align:center;}
.gallery-list ul:after {content:" "; display:block; clear:both;} 
.gallery-list ul li {float:left; position:relative; width:50%; padding:0 5px; margin-bottom:10px;}
.gallery-list ul li:nth-child(2n+1) {clear:left;}
.gallery-list ul li a {display:block;}
.gallery-list ul li .thumb {position:relative;width:100%;height:0;padding-bottom:64.3%;overflow:hidden;margin-bottom:10px;}
.gallery-list ul li .thumb:after {content:" ";position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid rgba(0,0,0,.1);}
.gallery-list ul li .thumb img {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);width:auto !important;height:auto !important;max-width:100%;max-height:100%;} 
.gallery-list ul li .tit  {color:#454545; font-size:13px;font-weight:400;line-height:16px; padding:0 5px; vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.gallery-list ul li .date {color:#686868; font-size:11px;font-weight:200;}
.gallery-list ul li.none {float:none; width:100%; padding:50px 0 70px; text-align:center; color:#999;}

.news-list {margin:0 15px; border-top:2px solid #868686; overflow:hidden;}
.news-list ul li {*zoom:1; padding:20px 0; border-bottom:1px solid #ddd; position:relative;}
.news-list ul li:after {content:" "; display:block; clear:both;}
.news-list ul li .thumb {float:left; overflow:hidden; width:135px;}
.news-list ul li .thumb a {display:block;position:relative;width:100%;height:0;padding-bottom:74.07%;overflow:hidden;}
.news-list ul li .thumb a img {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);width:auto !important;height:auto !important;max-width:100%;max-height:100%;} 
.news-list ul li dl {margin-left:150px;}
.news-list ul li dl dt {color:#454545; font-size:15px; font-weight:500; line-height:18px; margin-bottom:10px;}
.news-list ul li dl dt a {line-height:18px; max-height:36px; word-wrap:break-word; text-overflow:ellipsis; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
.news-list ul li dl dd {color:#686868; font-size:13px; font-weight:200; line-height:18px; max-height:36px; word-wrap:break-word; text-overflow:ellipsis; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
.news-list ul li img {vertical-align:middle;}
.news-list ul li.none {padding:70px 0; text-align:center; color:#999; font-size:15px; line-height:22px;}
.news-list ul li .date {position:absolute; bottom:13px; left:150px; color:#878787; font-size:14px; font-weight:200;}

/* 글작성 */
.board-write {border-top:2px solid #7d7d7d; border-bottom:1px solid #aaa;}
.board-write .group {position:relative; padding:6px 0 6px 85px; font-size:14px; line-height:34px; border-top:1px solid #eee; overflow:hidden;}
.board-write .group.first {border-top:0;}
.board-write .group.content {padding:6px;}
.board-write .group img {vertical-align:middle;}
.board-write .title {position:absolute; left:15px; top:6px; width:75px; font-weight:500; color:#333;}
.board-write .files_table {width:100%; border-collapse:collapse; border-spacing:0px;}
.board-write .files_table td {padding:0 0 5px 0; border:0;}
.board-write .files_table input[type=file]{margin-right:10px;}

.board-write table {width:100%; border-collapse:collapse; border-spacing:0px; font-size:12px; letter-spacing:-.5px;}
.board-write th {padding:6px 10px; border-bottom:1px solid #ddd; background:#f4f4f4;}
.board-write td {padding:6px 10px; border-bottom:1px solid #ddd; color:#767676;}
.board-write .txt {padding:4px 0 0 0; font-size:11px; line-height:1.5;}

/* 상세보기 */
.board-view .head {border-top:2px solid #7d7d7d;}
.board-view .head .tit {color:#333; font-size:14px; line-height:1.3em; padding:10px 15px; background:#f7f7f7; border-bottom:1px solid #eee;}
.board-view .head .info {*zoom:1; padding:10px 18px; color:#767676; font-size:12px; line-height:normal; border-bottom:1px solid #ccc;}
.board-view .head .info:after {content:" "; display:block; clear:both;}
.board-view .head .info .name {float:left;}
.board-view .head .info .date {float:left; border-left:1px solid #dedede; padding-left:10px; margin-left:10px;}
.board-view .head .info .hit {float:right;}
.board-view .head .info .hit strong {margin-right:5px;}
.board-view .head .info strong {color:#333;}
.board-view .head .files {position:relative; text-align:right; font-size:12px; padding:10px 10px 0;}
.board-view .head .files > a {text-decoration:none;}
.board-view .head .files .ico-down {vertical-align:middle; margin-left:4px;}
.board-view .head .files img {vertical-align:middle;}
.board-view .head .files .num {color:#ff4e00;}
.board-view .head .files .fileLayer {display:none; position:absolute; top:32px; right:10px; text-align:left; font-size:12px; line-height:24px; border:1px solid #f0f0f0; background:#f7f7f7; padding:9px 29px 9px 11px; z-index:5;}
.board-view .head .files .fileLayer a {display:block; text-decoration:none;}
.board-view .head .files .fileLayer .divClose {position:absolute; display:inline-block; top:5px; right:5px; line-height:0;}
.board-view .body {padding:20px 15px; border-bottom:1px solid #d8d8d8;}
.board-view .body img {max-width:100% !important; height:auto !important;}

.board-view .body {display:block; width:100% !important; overflow-x:auto;-webkit-overflow-scrolling:touch; line-height:normal; text-align::-webkit-auto !important}
.board-view .body table {width:100% !important;}
.board-view .body table * {width:100% !important;}
.board-view .body table th {font-size:1em !important;}
.board-view .body table td {font-size:1em !important;}
.board-view .body div, .board-view .body h1 .board-view .body h2, .board-view .body h3, .board-view .body p, .board-view .body span {-ms-word-break:break-all;word-break:break-all;}
.board-view iframe {width:100% !important; height:auto;}

/* 이전글,다음글 */
.prev_next {padding:3px 0; border-top:1px solid #ddd; font-size:14px; border-bottom:1px solid #ddd;}
.prev_next dl {width:100%; padding:6px 0 6px 0; overflow:hidden; clear:both;}
.prev_next dt {float:left; color:#333; padding:0 15px;}
.prev_next dd {margin-left:70px;}
.prev_next .prev {border-bottom:1px solid #eee;}

/* 버튼 */
.buttons {*zoom:1; margin:15px auto;}
.buttons:after {content:" "; display:block; clear:both;}
.buttons .cen {text-align:center;}
.buttons .cen input[type=submit],.buttons .cen input[type=cancel],.buttons .cen button {*margin:0 2px;}
.buttons .fr {float:right;}
.buttons .fl {float:left;}
.buttons a {text-decoration:none;}
.buttons a,.buttons input {vertical-align:top;}

.btn-pack {display:inline-block;overflow:visible;position:relative;margin:0;padding:0 10px;background:#fff;color:#555;border:1px solid #ddd;text-align:center;text-decoration:none !important;vertical-align:top;white-space:nowrap;cursor:pointer;outline:0;box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;}
.btn-pack.focus {background:#0d81d1; border:1px solid #0d81d1; color:#fff;}
.btn-pack.dark {background:#868686; border:1px solid #868686;  color:#fff;}
.btn-pack.medium {height:32px;padding:0 12px;line-height:30px;font-size:14px;}
.btn-pack.large {height:40px;padding:0 20px;line-height:38px;font-size:15px;}
.btn-pack.xlarge {height:54px;padding:0 40px;line-height:54px;font-size:18px;font-weight:500;}
.btn-pack.small {height:28px;padding:0 10px;line-height:26px;font-size:13px;}
.btn-pack.comment {width:110px; height:62px;padding:0;line-height:60px;font-size:18px;font-weight:400;}
.btn-pack.submit {width:130px;height:42px;line-height:40px;border:1px solid #666;background:#666;color:#fff;font-size:16px;border-radius:4px;}
.btn-pack.block {width:100%; display:block;}


/* 페이지목록 */
.paginate {margin:20px 0;text-align:center;line-height:normal;}
.paginate a,  
.paginate strong{display:inline-block;zoom:1;*display:inline;position:relative;padding:0;margin:0 1px;width:29px;height:29px;line-height:27px;background-color:#fff;border:1px solid #ccc;font-size:14px;font-weight:400;color:#555;text-decoration:none;text-align:center;vertical-align:middle;}  
.paginate strong{color:#fff;border-color:#0d81d1;background-color:#0d81d1;}  
.paginate a.direction{background-position:50% 50%;background-repeat:no-repeat;}
.paginate a.direction span {font-size:0;line-height:0;text-indent:-999px;}
.paginate a.direction.first {background-image:url("/images/bbs/btn_first.png");}
.paginate a.direction.prev {background-image:url("/images/bbs/btn_prev.png");}
.paginate a.direction.next {background-image:url("/images/bbs/btn_next.png");}
.paginate a.direction.last {background-image:url("/images/bbs/btn_last.png");}
.paginate a.direction.disabled {cursor:not-allowed;opacity:.4;filter:alpha(opacity=40);}

/* 코멘트 */
.comment-area {max-width:1200px;margin:20px auto 0;padding:20px;background:#f7f7f7;box-sizing:border-box;}
.comment-list li {position:relative;padding:10px;border-bottom:1px dotted #ccc;}
.comment-list li .info .name {font-size:14px;font-weight:400;color:#333;}
.comment-list li .info .date {font-size:13px;font-family:Tahoma;color:#767676;margin:0 4px;}
.comment-list li .txt {color:#555;font-size:14px;line-height:22px;padding:4px 0 0 0;}
.comment-list li .controll {position:absolute;top:10px;right:10px;font-size:13px;color:#dddddd;}
.comment-list li .controll a {color:#767676;margin:0 4px;}
.comment-write .write {position:relative;height:70px;padding:0 120px 0 0;}
.comment-write .write textarea {width:100%;height:60px;background:#fff;border:1px solid #ccc;overflow-y:auto;}
.comment-write .btn {position:absolute;top:0;right:0;}

/* 비밀번호 */
.board-password {text-align:center; margin:0 15px; background-size:50px auto; padding:30px 10px; border:1px solid #ccc; border-radius:10px;}
.board-password dl dt {color:#333; font-size:14px; font-weight:500; padding-bottom:20px;}
.board-password dl dd label {color:#666; font-size:14px; font-weight:500; margin-right:10px;}

/*  youtube responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
