.board {}

/* input 과 버튼종류, 헤더태그는 사이트전체에 공통으로 사용되는경우가 많으므로 모듈에서는 정의하지 않음 */



.captchaimg {
	height:34px;
	border: 1px #ccc solid;
	width:auto;
	vertical-align:middle;
}
.refreshimg {
	height:24px;
	width:auto;
	vertical-align:middle;
	cursor: pointer;
}


/* 말머리목록 */
.board .headwordlist {
	padding:10px 0 5px 0;
}
.board .headwordlist ul {
	margin:0;
	padding:0;
}
.board .headwordlist li {
	display:inline-block;
	padding:10px 15px;
	border:1px #a6a6a6 solid;
	background-color:#e3e3e3;
	margin:0 2px;
}
.board .headwordlist a:first-child li {
	border-left-width:1px;
}
.board .headwordlist li:hover,
.board .headwordlist .active {
	background-color:#3654c2;
	color:#fff;
}


/* 목록요약(글갯수등) */

.board .summarywrap{
	position:relative;
	margin-top:10px;
	padding:5px 0;
}

/* 목록요약 우측 버튼 (글쓰기버튼 등) */
.board .summarywrap {
	margin-bottom:10px;
}
.board .summarywrap .buttons {
	position:absolute;
	bottom:0;
	right:0;
}
.board .summary {
	width:100%;
	text-align:left;
}
.board .summary .rss {
	vertical-align:middle;
	cursor:pointer;
}

/* 목록하단 버튼, 검색 */
.listbuttons {
	position:relative;
	margin-top:10px;
}
.listbuttons .left {
	min-height: 40px;
}
.listbuttons .right {
	position:absolute;
	top:0;
	right:0;
}


/* 검색박스 */
.board .searchbox {
	text-align:right;
}

.board .searchbox form {margin:0;}

.board .searchbox input[type=text] {
	width:200px;
}
.board .searchbox input[type=submit] {
	width:80px;
}

/* 목록 하단 글이동 */
.movearticles {
	text-align:right;
}


/* 메인버튼 */
.board .main-buttons {
	position:relative;
	margin:4px 0;
	text-align:right;
}
.board .main-buttons .left-buttons {
	position:absolute;
	left:0;
	top:0;
	height:100%;
}



/* 목록상단 제목줄 */
.board .list {
	width:100%;
	border-spacing:0;
}
.board .list th {
	height:50px;
	font-weight:normal;
	color:#fff;
	background-color:#a6a8b1;
	border:0;
}


.board .no-articles {
	border-top:1px #d7d7d7 solid;
	border-bottom:1px #d7d7d7 solid;
	padding:40px 0;
	text-align:center;
}

/* 목록상단 공지글 */
.noticelist {
	margin:0;
	padding:10px 20px 0 20px;
	list-style:none;
	border:1px #ccc solid;
	border-bottom:0;
}
.noticelist li {
	position:relative;
	padding-bottom:10px;
}
.noticelist .notice-num {
	margin-right:20px;
}
.noticelist .notice-num .ico-notice {
	display:inline-block;
	padding:2px 3px;
	border:1px #ccc solid;
	border-radius:4px;
	vertical-align:middle;
}

.noticelist .notice-info {
	position:absolute;
	top:0;
	right:10px;
	color:#ccc;
}
.noticelist .notice-info .date {
	color:#777;
	font-weight:normal;
	margin-right:20px;
}
.noticelist .notice-info .viewnum {
	color:#777;
	font-weight:normal;
	margin-left:20px;
}


/* 목록형 페이지 */

.board .list {
	width:100%;
	border-collapse:collapse;
	border-top:1px #d7d7d7 solid;
}
.board .list tr {vertical-align:middle;}
.board .list td {
	padding:15px 3px;
	border-bottom:1px #d7d7d7 solid;
}
.board .list.notice tr:last-child td {
	border-bottom:none;
}

.board .list td img {
	vertical-align:middle;
}
.board .list .headword {
	display:inline-block;
	padding:2px 3px;
	border:1px #ccc solid;
	border-radius:4px;
	vertical-align:middle;
	margin-right:10px;
}
.board .list-comment {
	display:inline-block;
	line-height:10px;
	font-size:10px;
	color:#f60;
	padding:1px 3px;
	border:1px #fa0 solid;
	border-radius:2px;
	vertical-align:middle;
}
.board .list .flag {
	vertical-align:text-top;
	margin-left:2px;
}


.board .col_no {
	width:70px;
}
.board .col_boardtitle {
	width:120px;
	text-align:left;
}
.board .col_subject {
	width:auto;
	text-align:left;
}
.board .col_subject.hd {
	text-align:center;
}
.board .col_writer {
	width:100px;
	text-align:center;
}
.board .col_recommend {
	width:80px;
	text-align:center;
}
.board .col_date {
	width:120px;
	text-align:center;
}
.board .col_view {
	width:80px;
	text-align:center;
}


/* 앨범형 페이지 */

.board .photolist {
	padding:20px 0;
	margin-right: -25px;
}
.board .photolist .article-wrap {
	display:inline-block;
	vertical-align:top;
	margin-bottom: 30px;
}
.board .photolist .article-wrap .innerwrap {
	margin-right: 25px;
	border: 1px #d7d7d7 solid;
}

.board .photolist .photo-wrap {
	position: relative;
	margin: 7px;
	height: 0;
	padding: 0 0 56.25% 0;
	cursor:pointer;
	overflow: hidden;
}
.board .photolist .photo-wrap img {
	position: absolute;
	width: 100%;
}
.board .photo-wrap .info-good {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: rgba(255,60,0,.5);
	color: #fff;
	font-size: 12px;
	padding: 4px 3px 2px 7px;
	border-radius: 10px 0 0 0;
}

.board .photolist .subject {
	background-color: #f1f1f1;
	padding: 15px 5px;
	text-align:center;
}
.board .photolist .info {
	padding: 7px 5px;
	line-height:140%;
	font-size:12px;
	text-align: right;
	color:#929292;
}
.board .photolist .info .writer {
	float: left;
}


/* 웹진형 */
.board .webzine {
	padding:10px;
	text-align:left;
	
}
.board .webzine .article-wrap {
	position:relative;
	padding:15px 0 5px 0;
	border-bottom:1px #d7d7d7 solid;
}
.board .webzine .photo-wrap {
	width:200px;
	max-height:200px;
	text-align:left;
	padding:2px;
	margin:0 10px 10px 0;
	vertical-align:top;
	float:left;
	overflow-y:hidden;
}
.board .webzine .photo-wrap img {
	max-width:100%;
	margin:0;
}
.board .webzine .content-wrap {
	display:inline;
}
.board .webzine .subject {
	padding-bottom:5px;
	font-weight:bold;
}
.board .webzine .content {
	color:#888;
}

.board .webzine .info {
	text-align:right;
	color:#929292;
	font-size:11px;
}
.board .webzine .info span {
	margin:0 5px;
}


/* 글쓰기, 수정, 응답글 페이지 */
.board .editor-wrap {
	position: relative;
	margin: 10px 0;
}
.board .editor-wrap .attach-buttons {
	position: absolute;
	top: 10px;
	right: 10px;
}
.board .editor-wrap .attach-buttons .attach-btn {
	display: inline-block;
	border: 1px #aaa solid;
	border-radius: 3px;
	background-color: #fff;
	color: #777;
	padding: 2px 7px;
	font-size: 12px;
	cursor: pointer;
}
.board .write {}

.board .board-items {
	boarder-spacing:0;
	border-collapse:collapse;
	border:0;
	border-top:1px #d0d0d0 solid;
}
.board .board-items tr {
	height:35px;
}
.board .board-items th,
.board .board-items td {
	font-weight:normal;
	border-bottom:1px #d0d0d0 solid;
	padding: 8px 0 8px 10px;
	text-align:left;
}
.board .board-items th {
	background-color: #eef4fb;
}
.board .board-items .subj-option {
	padding-bottom:5px;
}

.board .write .captcha {
	padding:3px 0;
	text-align:left;
}
.board .write .captcha .captchaimg {
	height:30px;
	width:auto;
	vertical-align:middle;
}
.board .write .captcha .refreshimg {
	width:20px; height:auto;
	vertical-align:middle;
	cursor:pointer;
}
.board .write .captcha input {
	vertical-align:middle;
	text-align:center;
}
.board .write .attach-btnwrap {
	margin-top:2px;
	margin-bottom:10px;
	text-align:right;
}
.board .write .attach-btnwrap input[type=button] {
	padding:0 25px;
	height:30px;
	background-color:#f80;
	border:0;
	color:#fff;
	font-size:13px;
	font-weight:bold;
	border-radius:15px;
}


/* 글보기 페이지 */
.board .view {
}
.board .view .subjectwrap {
	display: table;
	border-spacing: 0;
	width: 100%;
	border: 1px #ccc solid;
	background-color: #eee;
	font-size:20px;
}
.board .view .subjectwrap .subject {
	display: table-cell;
	text-align: left;
	font-size: 20px;
	line-height: 150%;
	padding: 15px 10px;
}
.board .view .subjectwrap .info {
	display: table-cell;
	width: 200px;
	text-align: right;
	font-size: 14px;
	line-height: 150%;
	vertical-align: middle;
	padding-right: 10px;
	color: #929292;
}
.board .view .subjectwrap .info .sep {
	margin: 0 5px;
	color: #ccc;
}

.board .view .subjectwrap .headword {
	display:inline-block;
	padding:2px 5px;
	border:1px #ccc solid;
	border-radius:2px;
	font-size:18px;
	
}
.board .view .view-extitems {
	width: 100%;
	border-spacing: 0;
	border-top: 1px #3654c2 solid;
	border-bottom: 1px #3654c2 solid;
}
.board .view .view-extitems th {
	width: 150px;
	padding: 20px 0;
	background-color: #dfe8f3;
	text-align: left;
	border-bottom: 1px #bbb solid;
}
.board .view .view-extitems th > div {
	padding-left: 30px;
}
.board .view .view-extitems td {
	padding: 20px;
	border-bottom: 1px #bbb solid;
}

.board .view .attachlist {
	margin:0;
	padding:0;
	list-style:none;
}
.board .view .attachlist li {
	margin-top: 10px;
}
.board .view .attachlist li:first-child {
	margin-top: 0;
}


.board .view .content > div {
	padding:10px 0;
	line-height:150%;
	border-bottom:1px #ccc solid;
	min-height:200px;
}

.board .view .content img {
	max-width:100%;
	height:auto;
}

.board .view .sibling-items {
	width:100%;
	margin-top: 30px;
	border-spacing:0;
	border-top:1px #d7d7d7 solid;
}
.board .view .sibling-items th {
	background-color:#777;
	padding:20px 10px;
	font-weight:normal;
	color:#fff;
	border-bottom:1px #fff solid;
}
.board .view .sibling-items td {
	padding:10px;
	font-weight:normal;
	color:inherit;
	border-bottom:1px #d7d7d7 solid;
}

.board .view .comments {
	margin-top:10px;
}
.board .view .comments-wrap {
	padding:10px 0;
}
.board .view .comments .write{
	border:1px #d7d7d7 solid;
	padding:5px;
	background-color:#fff;
	box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}

.addcomment-items {
	width: 100%;
	border-spacing: 0;
}
.addcomment-items td {
	padding: 15px 10px;
}
.addcomment-items td input[type=text],
.addcomment-items td input[type=password] {
	background-color: #eaeaea;
	padding: 8px 10px;
	width: 150px;
}
.btn-addcomment {
	padding: 5px 0;
	text-align: right;
}

.board .view .comments-wrap .summary {
	font-weight:bold;
	margin-top: 30px;
	padding-bottom: 15px;
	padding-left: 10px;
}
.board .view .comments-wrap .comment {
	padding:10px;
	border-bottom:1px #ccc solid;
	background-color:#fff;
	margin-bottom:15px;
	box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}
.board .view .comments-wrap .comment .cmt-emoticon {
	width:24px;
	height:auto;
	vertical-align:middle;
}
.board .view .comments-wrap .comment .cmt-info {
	text-align:left;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom:1px #d7d7d7 dashed;
}
.board .view .comments-wrap .comment .cmt-info .cmd {
	float:right;
	margin-right: 10px;
}
.board .view .comments-wrap .comment .cmt-info .cmd span {
	cursor:pointer;
	font-size: 12px;
	color: #929292;
	font-weight: bold;
}
.board .view .comments-wrap .comment .cmt-info .cmd span:hover {
	color: #000;
}
.board .view .comments-wrap .comment .cmt-info .writer {
	color:#000;
}
.board .view .comments-wrap .comment .cmt-info .writer .date {
	color: #929292;
}
.board .view .comments-wrap .comment .cmt-content {
	padding:10px;
	line-height: 150%;
}

.board .view .captchaimg {
	margin-left: 10px;
}

/* nogrant */
.board .nogrant {
	padding:30px 0;
	text-align:center;
}
.board .nogrant .welcome-img {
	text-align: center;
	margin-bottom: 20px;
}
.board .nogrant .welcome-img img {
	width: 300px;
}
.board .nogrant input[type=button] {
	border: 4px #999 double;
	border-radius: 40px;
	padding: 10px 30px;
	font-size: 14px;
	background-color: #fff;
	color: #777;
}
.board .nogrant input[type=button]:hover {
	background-color: #f3f3f3;
}


/* 게시판 이미지, 첨부파일 레이어 */
.attachlayerbox,
.imglayerbox {
	position: fixed;
	background-color: #fff;
	border: 1px #777 solid;
	box-shadow: 1px 1px 2px #333;
	box-shadow: 1px 1px 2px rgba(0,0,0,.3);
	padding-bottom: 5px;
}
.attachlayerbox .attachlayer-title,
.imglayerbox .imglayer-title {
	position: relative;
	background-color: #f1f1f1;
	height: 40px;
	padding-top: 3px;
	color: #333;
	text-align: left;
	border-bottom: 1px #ccc solid;
}
.attachlayerbox .attachlayer-title .title,
.imglayerbox .imglayer-title .title {
	display: inline-block;
	padding: 7px 0 0 12px;
	font-size: 13px;
	font-weight: bold;
}
.attachlayerbox .attachlayer-title input[type=checkbox],
.imglayerbox .imglayer-title input[type=checkbox] {
	vertical-align: middle;
	margin: 0;
}
.attachlayerbox .attachlayer-title .title span,
.imglayerbox .imglayer-title .title span {
	display: inline-block;
	vertical-align: middle;
}

.attachlayerbox .attachlayer-title .close,
.imglayerbox .imglayer-title .close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	background: url(../images/btn-close-gray.png) no-repeat 50% 50%;
	cursor: pointer;
}

.attachlayerbox .attachlayer-container,
.imglayerbox .imglayer-container {
	position: relative;
	overflow-y: scroll;
	overflow-x: visible;
}
.attachlayerbox .attachlayer-listwrap,
.imglayerbox .imglayer-listwrap {
	margin: 10px 5px;
}

.imglayerbox .imglayer-listwrap ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.imglayerbox .imglayer-listwrap li {
	display: inline-block;
	width: 100px;
	height: 100px;
	margin: 0 7px 10px;
	vertical-align: top;
}
.imglayerbox .imgwrap {
	position: relative;
	-webkit-display: flex;
	display: flex;
	border: 1px #ccc solid;
	width: 100px;
	height: 74px;
	padding: 2px;
	align-items: center;
	justify-content: center;
}
.imglayerbox .imgwrap img {
	max-width: 96px;
	max-height: 70px;
}
.imglayerbox .imgbtnbox {
	position: absolute;
	left: -1px;
	bottom: -26px;
	width: 100%;
	height: 20px;
	padding: 2px 0;
	border: 1px #ccc solid;
	border-top: 0;
}
.imgbtnbox .imgbtn {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: top;
	cursor: pointer;
}
.imgbtnbox .imgbtn-addtodoc {
	background: url(../images/imgbtn-addtodoc.png) no-repeat 50% 50%;
}
.imgbtnbox .imgbtn-setdefault {
	background: url(../images/imgbtn-setdefault.png) no-repeat 50% 50%;
	margin: 0 15px;
}
.imgbtnbox .imgbtn-trash {
	background: url(../images/imgbtn-trash.png) no-repeat 50% 50%;
}


.imglayerbox .adder {
	position: relative;
	width: 100px;
	height: 100px;
	background-color: #f9f9f9;
	border: 1px #ccc solid;
	cursor: pointer;
}
.imglayerbox .adder:hover {
	background-color: #f1f1f1;
}
.imglayerbox .adder input[type=file] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.imglayerbox .adder .addmark {
	display: table;
	width: 100%;
	height: 100%;
	border-spacing: 0;
}
.imglayerbox .adder .addmark div {
	display: table-cell;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	font-size: 30px;
	line-height: 50%;
}

.attachlayerbox .attachlayer-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 40px;
	background-color: #fff;
	border-top: 1px #999 solid;
	font-size: 11px;
}
.attachlayerbox .attachlayer-footer > div {
	position: relative;
	padding: 8px 0 0 5px;
}
.attachlayerbox .attachlayer-footer .uploadwrap {
	position: absolute;
	top: 8px;
	right: 25px;
}
.attachlayerbox .attachlayer-footer .uploadwrap label {
	position: absolute;
	top: 0px;
	right: 0px;
	display: block;
	width: 100px;
	text-align: center;
	padding: 4px 0;
	background-color: #fff;
	border: 1px #ccc solid;
	color: #777;
	font-weight: bold;
	border-radius: 3px;
	cursor: pointer;
}
.attachlayerbox .attachlayer-footer .uploadwrap label:hover {
	background-color: #777;
	color: #fff;
}
.attachlayerbox .attachlayer-footer .uploadwrap .btn-upload {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100px;
	height: 25px;
	opacity: 0;
	cursor: pointer;
}

.attachlayerbox .attachlist {
	width: 100%;
	border-spacing: 1px;
	font-size: 12px;
}
.attachlayerbox .attachlist th {
	background-color: #ccc;
	color: #333;
	font-weight: normal;
	padding: 3px 0;
}
.attachlayerbox .attachlist td {
	padding: 7px 0;
	border-bottom: 1px #ccc dotted;
}
.attachlayerbox .attachlist .attach-del {
	background: url(../images/imgbtn-trash.png) no-repeat 50% 50%;
	cursor: pointer;
}


.attachlayerbox iframe, .imglayerbox iframe {
	display: none;
}

/* dialogs */

#dlgCheckPw {
	width: 500px;
}
#dlgCheckPw .dlg-input {
	text-align: center;
	padding: 30px 0;
}
#dlgCheckPw .dlg-input input {
	width: 300px;
}

#dlgCommentCheck {
	width: 500px;
}
#dlgCommentCheck .dlg-input {
	text-align: center;
	padding: 30px 0;
}
#dlgCommentCheck .dlg-input input {
	width: 300px;
}

#dlgCommentEdit,
#dlgCommentReply  {
	width: 800px;
}

