/* 게시판*/
a:visited {text-decoration:none; color:#333;}
a:link {text-decoration:none;color:#333;}
a:active {text-decoration:none;color:#333;}
a:hover{text-decoration:none;color:#333;}

#board {width:100%; position:relative;}
#board .board_top {padding-bottom: 10px;}
#board .board_top .search {padding:8px 0;}
#board .board_top .search ul {float:right; display:inline-block; padding-bottom:25px;}
#board .board_top .search li {float:left; padding:0 3px;}
#board .board_top .search li select {border:1px solid #ccc; height:30px; width:65px; padding-left:8px;}
#board .board_top .search li input {border:1px solid #ccc; height:28px; padding:0 10px; max-width:300px;}
#board .board_top .search li button {border:1px solid #494949; height:30px; padding:0 10px; background-color:#494949;color:#fff;}
#board .board_top .search ul:after {clear:both; display:block; content:"";}

#board .board_top .result {padding:5px 0; font-size:13px; font-weight:bold; display:inline-block;}
#board .board_top .result li {float:left; padding:0 3px;}
#board .board_top .result li span {color:#ff6600; padding:0 2px;}
#board .board_top .result:after {clear:both; display:block; content:"";}

#board .gallery_top {/*border-bottom:2px solid #dcdcdc;*/}
#board .gallery_top .search {margin:15px 0;}
#board .gallery_top .search ul {float:right; display:inline-block;}
#board .gallery_top .search li {float:left; padding:0 3px;}
#board .gallery_top .search li select {border:1px solid #ccc; height:30px; width:65px; padding-left:8px;}
#board .gallery_top .search li input {border:1px solid #ccc; height:28px; padding:0 10px;}
#board .gallery_top .search li button {border:1px solid #494949; height:30px; padding:0 10px; background-color:#494949;color:#fff;}
#board .gallery_top .search ul:after {clear:both; display:block; content:"";}

#board .gallery_top .result {padding:8px 0; font-size:13px; font-weight:bold; display:inline-block;}
#board .gallery_top .result li {float:left; padding:0 3px;}
#board .gallery_top .result li span {color:#ff6600; padding:0 2px;}
#board .gallery_top .result:after {clear:both; display:block; content:"";}

/* 게시판 페이지 */
#board .page {padding:20px 0 40px 0;}
#board .page ul {float:right; position:relative; left:-50%;}
#board .page li {float:left; position:relative; left:50%; margin:0 4px;}
#board .page li a {display:inline-block; padding:3px;}
#board .page li.on a {color:#ed6d06; font-weight:bold;  text-decoration:none;}
#board .page li.arrow a {margin:0;}
#board .page:after {clear:both; display:block; content:"";}
#board .btn {width:100%; height:55px; padding:0; margin:20px 0 0 0; box-sizing:border-box;}
#board .btn span {float:right; margin-left:5px;}
@media (max-width:500px){
#board .page li a {display:inline-block; padding:2px;}
}

/*버튼 */
a.btn01 {background-color:#42596d; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit; text-decoration:none;}
a.btn01:hover {background-color:#32485a; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit;}
a.btn02 {background-color:var(--main-color); color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit; text-decoration:none;}
a.btn02:hover {background-color:#1f49d2; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit;}
a.btn03 {background-color:var(--primary-color); color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit; text-decoration:none;}
a.btn03:hover {background-color:#859def; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit;}
a.btn04 {background-color:#2269a5; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit; text-decoration:none;}
a.btn04:hover {background-color:#13538a; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit;}
a.btn06 {background-color:#efefef; color:#6a6b6c; border:1px solid #cfcfcf; display:inline-block; text-align:center; width:100px; padding:7px 0; font-size:inherit; text-decoration:none;}
a.btn06:hover {background-color:#e4e4e4; color:#6a6b6c; display:inline-block; text-align:center; width:100px; padding:7px 0; font-size:inherit;}
a.btn07 {background-color:var(--main-color); color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit; text-decoration:none;}
a.btn07:hover {background-color:#1f49d2; color:#fff; display:inline-block; text-align:center; width:100px; padding:8px 0; font-size:inherit;}
a.btn08 {background-color:#42596d; color:#fff; display:inline-block; text-align:center; width:100px; padding:32px 0; font-size:inherit; text-decoration:none;}
a.btn08:hover {background-color:#32485a; color:#fff; display:inline-block; text-align:center; width:100px; padding:32px 0; font-size:inherit;}

.btn01 {background-color:#04335c; color:#fff; display:inline-block; text-align:center; width:126px; padding:10px 0 10px 0; font-size:inherit;}
.btn01:hover {background-color:#002444; color:#fff; display:inline-block; text-align:center; width:126px; padding:10px 0 10px 0; font-size:inherit;}
.btn02 {background-color:#2269a5; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn02:hover {background-color:#13538a; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn03 {background-color:#26b7ca; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn03:hover {background-color:#0ba0b4; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn04 {background-color:#4c4a5e; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn04:hover {background-color:#3c3a4e; color:#fff; display:inline-block; text-align:center; width:126px; padding:6px 0 6px 0; font-size:inherit;}
.btn05 {background-color:#4c4a5e; color:#fff; display:inline-block; text-align:center; width:100px; height:32px; font-size:inherit;}
.btn05:hover {background-color:#3c3a4e; color:#fff; display:inline-block; text-align:center; width:100px; height:32px; font-size:inherit;}
.btn06 {background-color:#4c4a5e; color:#fff; display:inline-block; text-align:center; width:100px; padding:4px 0 4px 0; font-size:inherit;}
.btn06:hover {background-color:#3c3a4e; color:#fff; display:inline-block; text-align:center; width:100px; padding:4px 0 4px 0; font-size:inherit;}
.btn08 {background-color:#42596d; color:#fff; display:inline-block; text-align:center; width:100px; padding:32px 0; font-size:inherit;}
.btn08:hover {background-color:#32485a; color:#fff; display:inline-block; text-align:center; width:100px; padding:32px 0; font-size:inherit;}

/* 게시판 목록 */
#contents .Clause {margin:30px 0 15px 0; color:#9145bf; text-align:center; font-weight:bold; background:#f9f9f9; line-height:200%;}
#board .board_list {border-top:2px solid var(--primary-color); }

#board .board_list .list_title {position:relative; border-bottom:1px solid #bebebe;font-size:15px;}
#board .board_list .list_title li {padding:10px 120px 10px 80px; max-width:710px; font-weight:bold; text-align:center;background:#f1f1f1;}
#board .board_list .list_title li.numb {position:absolute; left:0; top:0; width:80px; text-align:center; padding:8px 0; font-size:15px;}
#board .board_list .list_title li.name {position:absolute; right:200px; top:0; width:120px; text-align:center; padding:10px 0; font-size:15px;}
#board .board_list .list_title li.date {position:absolute; right:85px; top:0; width:120px; text-align:center; padding:10px 0; font-size:15px;}
#board .board_list .list_title li.current {position:absolute; right:20px; top:0; width:120px; text-align:center; padding:10px 0; font-size:15px;}

#board .board_list .list_title li.hit {position:absolute; right:0; top:0; width:80px; text-align:center; padding:10px 0; font-size:15px;}

#board .board_list .list_view dl {border-bottom:1px solid #d8d8d8; position:relative;}
#board .board_list .list_view dl.lien {border-bottom:1px solid #ccc;}
#board .board_list .list_view dl dt a{text-decoration:none; color:#333;}
#board .board_list .list_view dl dt {padding:0 120px 0 80px; max-width:710px; overflow:hidden; height:48px; line-height:48px; color:#252525; font-size:15px;}
#board .board_list .list_view dl dt .icon_new_sub {vertical-align:middle; margin:0 5px;}
#board .board_list .list_view dl dt span.reple_icon {position:relative; display:inline-block; line-height:48px; height:48px; width:35px; background:url('/img/common/reple_bl.png') 3px center no-repeat; color:#fff;font-size:10px; text-align:center;}
#board .board_list .list_view dl dd li {line-height:100%;position:absolute; top:0; line-height:48px; text-align:center;  font-size:14px;}
#board .board_list .list_view dl dd li.numb {left:0; width:80px; color:#6b6b6b;}
#board .board_list .list_view dl dd li.numb img {vertical-align:middle;}
#board .board_list .list_view dl dd li.name {right:200px; width:120px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; color:#6b6b6b;}
#board .board_list .list_view dl dd li.date {right:85px; width:120px; color:#6b6b6b;}
#board .board_list .list_view dl dd li.current {right:20px; width:120px; color:#6b6b6b;}
#board .board_list .list_view dl dd li.hit {right:0; width:80px; color:#6b6b6b;}
@media (max-width:900px){
#board .board_list .list_title li.name {position:absolute; right:0; top:0; width:120px; text-align:center; padding:10px 0;}
#board .board_list .list_title li.date {display:none;}
#board .board_list .list_title li.hit {display:none;}
#board .board_list .list_view dl dd li.name {right:0;}
#board .board_list .list_view dl dd li.date {display:none;}
#board .board_list .list_view dl dd li.hit {display:none;}
}
@media (max-width:900px){
#board .board_list .list_title li.name {display:none;}
#board .board_list .list_view dl dd li.name {display:none;}
#board .board_list .list_view dl dt {padding:0 20px 0 80px;}
}

/* 게시판 뷰 */
#board .board_view {margin:10px 0;}
#board .board_view .title {font-weight:bold; padding:10px 5px 30px 5px; position:relative; border:1px solid #ddd; background-color:#efefef;}
#board .board_view .title p {font-weight:bold; padding:5px 200px 10px 10px; color:#0c7ecb; border-bottom:1px solid #ccc;}
#board .board_view .title span {font-weight:normal; font-size:13px; position:absolute; bottom:8px;}
#board .board_view .title span.name {left:15px; font-weight:bold; color:#666;}
#board .board_view .title span.date {right:20px; color:#666; top:15px;}
#board .board_view .title span.hit {right:20px; color:#999;}
#board .board_view .body {min-height:250px; padding:5px; position:relative; width:100%; box-sizing:border-box;line-height:initial !important;}
#board .board_view .body img{width:100%;}
#board .board_view .body .text {padding:10px; width:100%; box-sizing:border-box; overflow:hidden;}
#board .board_view .body .text p {line-height:2.2em;}
#board .board_view .body .text img { width:100% !important; height:auto !important; }
@media (max-width:1098px){
	#board .board_view .body .text img {width:100%;}
}
#board .board_view .body .file {min-height:20px; margin-top:10px; border:1px solid #efefef; padding:5px; margin-bottom:10px; width:98%;}
#board .board_view .body .file li {background:url('/img/common/file_bl.png') 15px center no-repeat; padding:7px 50px; text-align:left; border-bottom:1px dashed #efefef;}
#board .board_view .body .file li:last-child {border-bottom:0;}
#board .board_view .body .file li a{text-decoration:none;}
#board .board_view .bottom {padding:10px 5px; position:relative; border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;}
#board .board_view .bottom p {padding:5px 0;}
#board .board_view .bottom p a{color:#999; text-decoration:none;}
#board .board_view .bottom p a:hover {color:#252525;}
#board .board_view .bottom p span {font-weight:bold; padding:10px; color:#6b6b6b;}
#board .board_view .bottom p img {vertical-align:middle; margin-left:5px;}

/* 댓글작성 */
#board .board_reple .reple_write {background-color:#f8f8f8; padding:15px 25px; margin:20px 0; position:relative;}
#board .board_reple .reple_write p.title {font-weight:bold; padding:5px 5px 15px 5px;}
#board .board_reple .reple_write p.title span {float:right; display:inline-block; font-size:0.9em; color:#999; font-weight:normal;}
#board .board_reple .reple_write p.title:after {clear:both; display:block; content:"";}
#board .board_reple .reple_write p.info {margin:0 0 10px 0;}
#board .board_reple .reple_write p.info span {display:inline-block; margin-left:5px;}
#board .board_reple .reple_write p.info span.pw {display:inline-block; margin-left:20px;}
#board .board_reple .reple_write p.info span input {width:100px;}
#board .board_reple .reple_write p.input {text-align:center;}
#board .board_reple .reple_write p.input textarea { width:85%;border:1px solid #ccc; padding:1%; resize:none; color:#999; float:left; }
@media (min-width:320px) and (max-width:866px){
#board .board_reple .reple_write p.input textarea { width:78%;border:1px solid #ccc; padding:1%; resize:none; color:#999; float:left; }
a.btn08 {padding: 28px 0;}
}
#board .board_reple .reple_write p.input span.btn {margin-top:8px;}
#board .board_reple .reple_write p.input span.btn a {display:inline-block; }
#board .board_reple .reple_write p.input:after {clear:both; display:block; content:"";}
#board .board_reple .reple_write p.total {padding:10px;}
#board .board_reple .reple_write p.nonmember {padding:10px;}
#board .board_reple .reple_write p.nonmember input {border:1px solid #ccc;}
#board .board_reple .reple_write p.nonmember input#name {width:100px; height:20px; margin-right:20px;}
#board .board_reple .reple_write p.nonmember input#password {width:150px; height:20px; margin-right:10px;}
#board .board_reple .reple_write span.secret {padding:10px;}
#board .board_reple .reple_list {margin:10px 15px;}
#board .board_reple .reple_list li {border-bottom:1px solid #ccc; padding:10px 10px; position:relative;}
#board .board_reple .reple_list li p.name {font-weight:bold; padding:3px 0 10px 3px; color:#428BCA;}
#board .board_reple .reple_list li p.text {padding:5px 0; line-height:initial;}
#board .board_reple .reple_list li p.date {text-align:right; font-size:0.8em; color:#999;}
#board .board_reple .reple_list li span.delet {position:absolute; top:10px; right:5px; font-size:0.8em; padding:4px 0;}
#board .board_reple .reple_list li span.delet a {padding:3px 10px; border:1px solid #ccc; background-color:#f8f8f8; position:relative; top:0;}
#board .board_reple .reple_list p.confirm {position:absolute; top:10px; right:90px; font-size:0.8em;}
#board .board_reple .reple_list p.confirm input {width:100px; height:20px; margin:0 7px; border:1px solid #ccc;}
#board .board_reple:after {clear:both; display:block; content:"";}
@media screen and (max-width: 487px){
	#board .board_reple .reple_write p.nonmember input#name{margin-right: 60%;}
}

/* 게시판 작성 */
#board .board_write {border-top:2px solid #3598db;}
#board .board_write dt {height:27px; font-size:15px; font-weight:bold; color:#333; padding:7px 20px 0 17px; position:relative;}
#board .board_write dt span {font-size:0.9em;}
#board .board_write dt span input[type=checkbox] {position:relative; top:3px; margin-right:5px;}
#board .board_write dt span.bold {position:absolute; right:110px; top:7px;}
#board .board_write dt span.bold label {width:auto; height:50px;}
#board .board_write dt span.notice {position:absolute; right:20px; top:7px;}
#board .board_write dt span.notice label {width:auto;}
#board .board_write dt span.secret {position:absolute; right:20px; top:7px;}
#board .board_write dt span.secret label {width:auto;}
#board .board_write dd {padding:2px 3px 7px 0; text-align:center;}
#board .board_write dd input {width:97%; height:25px; border:1px solid #ccc; background-color:#fff; padding:3px 1%;}
#board .board_write dd textarea {width:97%; border:1px solid #ccc; padding:1%; resize:none;}
#board .board_write dd span.file input {width:95%; height:25px; border:1px solid #ccc; background-color:#fff; padding:0 1% 5px 1%;}
#board .board_write dd .button-container input {width:99%; height:25px; border:1px solid #ccc; background-color:#eee; padding:0 1% 5px 1%; cursor:pointer;}
#board .board_write dd .button-container input:hover {background-color:#e8e8e8;}
#board .board_write dd ul.file_list {width:97%; border:1px solid #ccc; background-color:#fff; padding:10px 2%; margin:0 auto 10px auto;}
#board .board_write dd ul.file_list li {padding:10px; text-align:left; border-bottom:1px dashed #ccc;}
#board .board_write dd ul.file_list li:last-child {border-bottom:0;}

/* 갤러리 리스트 */
#board .gallery_list {margin:10px; padding-bottom:20px; /*border-bottom:1px solid #dcdcdc;*/}
#board .gallery_list ul li {position:relative; float:left; width:22.5%; margin:1%; border:1px solid #ccc;}
#board .gallery_list ul li p.image {border-bottom:1px solid #ccc; width:100%; padding-bottom:80%; position:relative; background-color:#000000;}
#board .gallery_list ul li p.image a {position:absolute; top:0; left:0; width:100%; height:100%; overflow:hidden;}
#board .gallery_list ul li p.image a img {height:100%; vertical-align:top;}
#board .gallery_list ul li p.image a img.play_bg {opacity:0.6;}
#board .gallery_list ul li p.image .play_btn {position:relative; top:40%; left:0; width:40px; height:40px;}
#board .gallery_list ul li p.text {margin-top:3px; padding:8px; white-space:nowrap; text-overflow:ellipsis; height:30px; overflow:hidden;}
#board .gallery_list ul li p.text a {color:#555; text-decoration:none; width:100%}
#board .gallery_list ul li p.text a:hover {color:#101010;}
#board .gallery_list ul li p.text .icon_new_sub {vertical-align:middle; margin-left:5px;}
#board .gallery_list ul li p.info {font-size:12px; padding:7px 3px;}
#board .gallery_list ul li p.info span {display:inline-block; padding:4px 8px; border:1px solid #efefef; border-radius:3px; float:right; margin:0 4px;}
#board .gallery_list ul li p.info span.name {float:left; border:none; padding:5px 9px; font-weight:bold; width:100%; box-sizing:border-box; display:none;}
#board .gallery_list ul li p.info span.hit {color:#8c8c8c;}
#board .gallery_list ul li p.info span.date {color:#8c8c8c;}
#board .gallery_list ul li p span.reple_icon {background:url('/img/common/reple_bl.png') no-repeat;  padding:0; color:#fff; font-size:10px; display:none;}
#board .gallery_list ul li p.info:after {clear:both; display:block; content:"";}
#board .gallery_list ul:after {clear:both; display:block; content:"";}
#board .gallery_list .btn {padding:20px 1%; text-align:right;}
#board .gallery_list .btn span {padding:0 2px;}
@media (max-width:900px){
#board .gallery_list ul li {position:relative; float:left; width:45%; margin:1%; border:1px solid #ccc;}
}

/* 게시판 삭제 or 보기 */ 
#board .pop {width:75%; height:100%; margin:35px auto; background:url('/img/common/bg_black50.png') 0 0 repeat; left:10%; top: 10%; position:absolute; } 
#board .pop .form {background-color:#fff; padding:10px 0;position:relative;top:-200px;}
#board .pop .form p.title {font-weight:bold; padding:10px 20px; color:#185c94; background-color:#e1effb; font-size:18px;}
#board .pop .form p.name {font-weight:bold; padding:10px 20px; color:#243f91; border-bottom:1px solid #efefef;}
#board .pop .form p.text {padding:10px 20px; font-size:0.9em; line-height:140%; border-bottom:1px solid #efefef;}
#board .pop .form p.text span {padding-top:10px; display:block; font-size:12px; color:#ff0000; position:relative; padding-left:15px;}
#board .pop .form p.input {text-align:center; padding:0 10px;}
#board .pop .form p.input input[type=password] {width:97%; border:1px solid #ccc; border-radius:5px; padding:10px 1%;}
#board .pop .form p.btn {padding:10px 10px 20px 10px; text-align:center;}
#board:after {clear:both; display:block; content:"";}

@media screen and (max-width: 700px) {
  #board {width:98%; position:relative;}
}